1 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9 for explicit high bit of mantissa when testing for argument equal
11 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12 * sysdeps/i386/fpu/libm-test-ulps: Update.
13 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17 (__erf): Scale by 16 instead of 8 in potentially underflowing
18 case. Ensure exception if result actually underflows.
19 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20 (__erff): Scale by 16 instead of 8 in potentially underflowing
21 case. Ensure exception if result actually underflows.
22 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
23 (efx8): Remove variable.
24 (__erfl): Scale by 16 instead of 8 in potentially underflowing
25 case. Ensure exception if result actually underflows.
26 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27 (efx8): Remove variable.
28 (__erfl): Scale by 16 instead of 8 in potentially underflowing
29 case. Ensure exception if result actually underflows.
30 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31 (efx8): Remove variable.
32 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33 case. Ensure exception if result actually underflows.
34 * math/auto-libm-test-in: Add more tests of erf.
35 * math/auto-libm-test-out: Regenerated.
37 2014-05-14 Andreas Schwab <schwab@suse.de>
39 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
40 Remove code conditionalized on USE___THREAD.
42 * config.h.in (HAVE_PT_CHOWN): Define as 0.
43 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46 2014-05-14 Joseph Myers <joseph@codesourcery.com>
48 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
49 Define unconditionally.
50 (__ASSUME_O_CLOEXEC): Likewise.
51 (__ASSUME_SOCK_CLOEXEC): Likewise.
52 (__ASSUME_IN_NONBLOCK): Likewise.
53 (__ASSUME_PIPE2): Likewise.
54 (__ASSUME_EVENTFD2): Likewise.
55 (__ASSUME_SIGNALFD4): Likewise.
56 (__ASSUME_DUP3): Likewise.
57 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
58 (__ASSUME_DUP3): Do not define.
59 (__ASSUME_EVENTFD2): Likewise.
60 (__ASSUME_IN_NONBLOCK): Likewise.
61 (__ASSUME_O_CLOEXEC): Likewise.
62 (__ASSUME_PIPE2): Likewise.
63 (__ASSUME_SIGNALFD4): Likewise.
64 (__ASSUME_SOCK_CLOEXEC): Likewise.
65 (__ASSUME_UTIMES): Undefine.
66 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
67 (__ASSUME_UTIMES): Do not define.
68 (__ASSUME_O_CLOEXEC): Likewise.
69 (__ASSUME_SOCK_CLOEXEC): Likewise.
70 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
71 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
73 (__ASSUME_PIPE2): Likewise.
74 (__ASSUME_EVENTFD2): Likewise.
75 (__ASSUME_SIGNALFD4): Likewise.
76 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
77 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
79 (__ASSUME_EVENTFD2): Likewise.
80 (__ASSUME_SIGNALFD4): Likewise.
81 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
82 (__ASSUME_32BITUIDS): Likewise.
83 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
84 (__ASSUME_IPC64): Likewise.
85 (__ASSUME_ST_INO_64_BIT): Likewise.
86 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
87 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
88 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
89 (__ASSUME_UTIMES): Do not define.
90 (__ASSUME_PSELECT): Likewise.
91 (__ASSUME_PPOLL): Likewise.
92 (__ASSUME_O_CLOEXEC): Likewise.
93 (__ASSUME_SOCK_CLOEXEC): Likewise.
94 (__ASSUME_IN_NONBLOCK): Likewise.
95 (__ASSUME_PIPE2): Likewise.
96 (__ASSUME_EVENTFD2): Likewise.
97 (__ASSUME_SIGNALFD4): Likewise.
98 (__ASSUME_DUP3): Likewise.
99 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
100 (__ASSUME_UTIMES): Likewise.
101 (__ASSUME_O_CLOEXEC): Likewise.
102 (__ASSUME_SOCK_CLOEXEC): Likewise.
103 (__ASSUME_IN_NONBLOCK): Likewise.
104 (__ASSUME_PIPE2): Likewise.
105 (__ASSUME_EVENTFD2): Likewise.
106 (__ASSUME_SIGNALFD4): Likewise.
107 (__ASSUME_DUP3): Likewise.
108 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
109 (__ASSUME_UTIMES): Likewise.
110 (__ASSUME_O_CLOEXEC): Likewise.
111 (__ASSUME_SOCK_CLOEXEC): Likewise.
112 (__ASSUME_IN_NONBLOCK): Likewise.
113 (__ASSUME_PIPE2): Likewise.
114 (__ASSUME_EVENTFD2): Likewise.
115 (__ASSUME_SIGNALFD4): Likewise.
116 (__ASSUME_DUP3): Likewise.
117 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
119 (__ASSUME_UTIMES): Likewise.
120 (__ASSUME_EVENTFD2): Likewise.
121 (__ASSUME_SIGNALFD4): Likewise.
122 * sysdeps/unix/sysv/linux/tile/kernel-features.h
123 (__ASSUME_O_CLOEXEC): Likewise.
124 (__ASSUME_SOCK_CLOEXEC): Likewise.
125 (__ASSUME_IN_NONBLOCK): Likewise.
126 (__ASSUME_PIPE2): Likewise.
127 (__ASSUME_EVENTFD2): Likewise.
128 (__ASSUME_SIGNALFD4): Likewise.
129 (__ASSUME_DUP3): Likewise.
130 (__ASSUME_UTIMES): Undefine.
132 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
133 feclearexcept. Remove symbol versioning code.
134 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
135 symbol versioning code.
136 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
137 symbol versioning code.
138 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
139 feupdateenv. Remove symbol versioning code.
140 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
141 fegetexceptflag. Remove symbol versioning code.
142 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
143 fesetexceptflag. Remove symbol versioning code.
144 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
145 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
146 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
147 (__posix_fadvise64_l32): Remove prototype.
148 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
151 2014-05-13 Roland McGrath <roland@hack.frob.com>
153 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
154 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
155 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
156 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
158 2014-05-13 Sami Kerola <kerolasa@iki.fi>
160 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
161 current working directory
163 2014-05-13 Roland McGrath <roland@hack.frob.com>
165 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
166 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
167 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
168 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
169 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
170 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
171 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
173 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
174 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
175 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
176 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
177 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
179 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
180 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
181 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
182 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
183 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
184 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
185 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
186 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
187 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
189 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
190 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
191 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
192 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
193 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
194 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
195 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
196 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
197 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
198 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
199 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
200 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
201 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
202 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
203 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
204 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
205 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
206 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
208 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
209 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
211 * sysdeps/unix/sysv/linux/arm/Makefile
212 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
213 Add rt-aeabi_unwind_cpp_pr1.
214 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
215 Add nptl-aeabi_unwind_cpp_pr1.
216 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
217 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
218 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
219 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
220 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
221 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
223 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
224 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
225 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
226 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
228 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
229 Deconditionalize the code that was previously under [RESET_PID].
230 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
232 * sysdeps/generic/exit-thread.h: New file.
233 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
234 * include/unistd.h (__exit_thread): Remove declaration.
235 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
236 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
237 * csu/libc-start.c: Include <exit-thread.h>.
238 (LIBC_START_MAIN): Pass no argument to __exit_thread.
239 * nptl/pthread_create.c: Include <exit-thread.h>.
240 (start_thread): Call __exit_thread in place of __exit_thread_inline.
241 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
242 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
243 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
244 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
245 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
246 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
247 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
248 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
249 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
250 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
251 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
252 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
253 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
254 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
255 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
256 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
258 2014-05-13 Andreas Schwab <schwab@suse.de>
260 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
262 2014-05-12 Joseph Myers <joseph@codesourcery.com>
264 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
265 (__ASSUME_UTIMES): Do not condition on kernel version.
266 (__ASSUME_PSELECT): Define unconditionally.
267 (__ASSUME_PPOLL): Likewise.
268 (__ASSUME_ATFCTS): Likewise.
269 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
270 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
271 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
272 (__ASSUME_UTIMENSAT): Define unconditionally.
273 (__ASSUME_PRIVATE_FUTEX): Likewise.
274 (__ASSUME_FALLOCATE): Likewise.
275 (__ASSUME_O_CLOEXEC): Likewise.
276 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
277 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
278 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
279 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
280 (__ASSUME_IN_NONBLOCK): Likewise.
281 (__ASSUME_PIPE2): Likewise.
282 (__ASSUME_EVENTFD2): Likewise.
283 (__ASSUME_SIGNALFD4): Likewise.
284 (__ASSUME_DUP3): Likewise.
285 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
286 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
287 (__ASSUME_AT_RANDOM): Likewise.
288 (__ASSUME_PREADV): Likewise.
289 (__ASSUME_PWRITEV): Likewise.
290 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
291 (__ASSUME_F_GETOWN_EX): Define unconditionally.
292 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
293 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
294 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
295 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
296 (__ASSUME_O_CLOEXEC): Define unconditionally.
297 (__ASSUME_PSELECT): Do not undefine conditionally.
298 (__ASSUME_PPOLL): Likewise.
299 (__ASSUME_ATFCTS): Likewise.
300 (__ASSUME_SET_ROBUST_LIST): Likewise.
301 (__ASSUME_UTIMENSAT): Likewise.
302 (__ASSUME_FDATASYNC): Define unconditionally.
303 * sysdeps/unix/sysv/linux/arm/kernel-features.h
304 (__ASSUME_SIGFRAME_V2): Likewise.
305 )__ASSUME_EVENTFD2): Likewise.
306 (__ASSUME_SIGNALFD4): Likewise.
307 (__ASSUME_PSELECT): Do not undefine conditionally.
308 (__ASSUME_PPOLL): Likewise.
309 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
310 (__ASSUME_PSELECT): Define unconditionally.
311 (__ASSUME_PPOLL): Likewise.
312 (__ASSUME_O_CLOEXEC): Likewise.
313 (__ASSUME_SOCK_CLOEXEC): Likewise.
314 (__ASSUME_IN_NONBLOCK): Likewise.
315 (__ASSUME_PIPE2): Likewise.
316 (__ASSUME_EVENTFD2): Likewise.
317 (__ASSUME_SIGNALFD4): Likewise.
318 (__ASSUME_DUP3): Likewise.
319 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
320 (__ASSUME_O_CLOEXEC): Likewise.
321 (__ASSUME_SOCK_CLOEXEC): Likewise.
322 (__ASSUME_IN_NONBLOCK): Likewise.
323 (__ASSUME_PIPE2): Likewise.
324 (__ASSUME_EVENTFD2): Likewise.
325 (__ASSUME_SIGNALFD4): Likewise.
326 (__ASSUME_DUP3): Likewise.
327 * sysdeps/unix/sysv/linux/mips/kernel-features.h
328 (__ASSUME_EVENTFD2): Likewise.
329 (__ASSUME_SIGNALFD4): Likewise.
330 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
332 2014-05-12 Andreas Schwab <schwab@suse.de>
335 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
336 (_nss_nis_gethostbyname4_r): Return error if item length is larger
337 than maximum RPC packet size.
338 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
339 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
340 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
341 (_nss_nis_getservbyport_r): Likewise.
343 2014-05-12 Will Newton <will.newton@linaro.org>
345 * malloc/Makefile (tests): Add tst-mallopt.
346 * malloc/tst-mallopt.c: New file.
348 2014-05-09 Roland McGrath <roland@hack.frob.com>
350 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
351 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
353 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
355 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
356 (tst-tlsmod6.so): Likewise.
358 2014-05-09 Roland McGrath <roland@hack.frob.com>
360 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
362 2014-05-09 Joseph Myers <joseph@codesourcery.com>
365 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
367 (__fegetenv): Save SSE state in envp->__eip if supported.
368 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
369 envp->__eip if supported.
370 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
372 (__fesetenv): Always set __eip, __cs_selector, __opcode,
373 __data_offset and __data_selector in environment to 0. Set SSE
375 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
377 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
379 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
381 2014-05-09 Will Newton <will.newton@linaro.org>
383 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
384 and libc_relro_required for ARM.
385 * sysdeps/arm/preconfigure: Regenerate.
387 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
388 Stefan Liebler <stli@linux.vnet.ibm.com>
390 * config.make.in (enable-lock-elision): New Makefile variable.
391 * configure.ac: Likewise.
392 * configure: Regenerate.
393 * sysdeps/s390/configure.ac:
394 Add check for gcc transactions support.
395 * sysdeps/s390/configure: Regenerate.
396 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
397 Build elision files if enabled.
398 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
399 Add lock elision support for s390.
400 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
401 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
402 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
403 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
404 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
405 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
406 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
408 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
410 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
412 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
414 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
415 (__lll_timedlock_elision, __lll_lock_elision)
416 (__lll_unlock_elision, __lll_trylock_elision)
417 (lll_timedlock_elision, lll_lock_elision)
418 (lll_unlock_elision, lll_trylock_elision): Add.
419 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
420 (pthread_mutex_t): Add lock elision support for s390.
422 2014-05-09 Will Newton <will.newton@linaro.org>
424 * sysdeps/arm/armv7/strcmp.S: New file.
425 * NEWS: Mention addition of ARMv7 optimized strcmp.
427 2014-05-08 Roland McGrath <roland@hack.frob.com>
429 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
430 look for %.ac rather than %.in.
432 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
433 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
434 * sysdeps/mach/hurd/configure: Regenerated.
435 * sysdeps/unix/sysv/linux/configure: Regenerated.
437 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
439 2014-05-07 Steve Ellcey <sellcey@mips.com>
442 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
446 2014-05-07 Andreas Schwab <schwab@suse.de>
448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
449 when skipping over non-matching result from nscd.
451 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
454 * nptl/sockperf.c (client): Check socket return value.
457 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
460 2014-05-06 Roland McGrath <roland@hack.frob.com>
462 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
463 * sysdeps/arm/unwind.h: ... here.
465 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
468 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
471 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
473 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
474 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
475 multiarch strncpy for PPC64.
476 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
477 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
479 multiarch optimizations.
480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
481 (__libc_ifunc_impl_list): Likewise.
482 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
483 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
484 multiarch stpncpy for PPC64.
485 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
486 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
488 2014-05-06 Andreas Schwab <schwab@suse.de>
491 * gmon/mcount.c (_MCOUNT_DECL): Use
492 atomic_compare_and_exchange_bool_acq instead of
493 catomic_compare_and_exchange_bool_acq.
495 2014-05-05 Roland McGrath <roland@hack.frob.com>
497 * elf/Makefile (others, install-bin): Remove pldd.
498 (pldd-modules): Variable removed.
499 ($(objpfx)pldd): Target removed.
500 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
501 (others, install-bin): Append pldd here.
502 ($(objpfx)pldd): New target.
504 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
505 to 0, so the first #if test emitted later doesn't see it undefined.
506 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
507 * sysdeps/gnu/errlist.c: Regenerated.
509 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
511 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
512 [libc_hidden_builtin_def]: Define to empty value.
513 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
514 [libc_hidden_builtin_def]: Likewise.
515 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
516 [libc_hidden_builtin_def]: Likewise.
517 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
518 [libc_hidden_builtin_def]: Likewise.
519 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
520 __redirect_memcpy and define ifunc as default hidden symbol.
521 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
522 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
524 2014-05-04 Adam Conrad <adconrad@0c3.net>
526 * locale/iso-4217.def: Reintroduce XDR currency.
528 2014-05-04 Allan McRae <allan@archlinux.org>
530 * po/eo.po: Update Esperanto translation from translation project.
532 2014-05-02 Carlos O'Donell <carlos@redhat.com>
534 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
535 and FEATURE_INDEX_MAX to 1.
536 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
538 2014-05-01 Steve Ellcey <sellcey@mips.com>
540 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
541 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
542 * iconvdata/big5.c (ONE_DIRECTION): Define.
543 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
544 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
545 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
546 * iconvdata/cp932.c (ONE_DIRECTION): Define.
547 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
548 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
549 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
550 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
551 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
552 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
553 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
554 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
555 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
556 * iconvdata/gbk.c (ONE_DIRECTION): Define.
557 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
558 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
559 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
560 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
561 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
562 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
563 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
564 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
565 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
566 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
567 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
568 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
569 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
570 * iconvdata/iso646.c (ONE_DIRECTION): Define.
571 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
572 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
573 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
574 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
575 * iconvdata/johab.c (ONE_DIRECTION): Define.
576 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
577 * iconvdata/sjis.c (ONE_DIRECTION): Define.
578 * iconvdata/t.61.c (ONE_DIRECTION): Define.
579 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
580 * iconvdata/tscii.c (ONE_DIRECTION): Define.
581 * iconvdata/uhc.c (ONE_DIRECTION): Define.
582 * iconvdata/unicode.c (ONE_DIRECTION): Define.
583 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
584 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
585 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
587 2014-05-01 Roland McGrath <roland@hack.frob.com>
589 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
590 (_IO_JUMPS_OFFSET): Define to 0.
592 * nptl/sysdeps/pthread/bits/libc-lock.h
593 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
594 (__libc_lock_define_initialized_recursive): Always define using
595 initializer. Modern compilers treat uninitialized (implicit zero) and
596 explicit zero initializers the same (i.e. put the datum in bss).
598 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
600 * nscd/nscd-client.h: Include <string.h>.
602 2014-05-01 David S. Miller <davem@davemloft.net>
605 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
606 multiple zero bytes exist at the end of a string.
607 Reported by Aurelien Jarno <aurelien@aurel32.net>
609 * string/test-strcmp.c (check): Add explicit test for situations where
610 there are multiple zero bytes after the first.
612 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
615 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
616 when compiling wprintf.
617 * stdio-common/tstdiomisc.c (t3): New function.
620 2014-05-01 Steve Ellcey <sellcey@mips.com>
622 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
623 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
624 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
625 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
627 2014-05-01 Steve Ellcey <sellcey@mips.com>
629 * stdlib/longlong.h: Updated from GCC.
631 2014-05-01 Will Newton <will.newton@linaro.org>
632 Bernard Ogden <bernie.ogden@linaro.org>
634 * NEWS: Update fixed bug list.
637 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
639 2014-04-30 David S. Miller <davem@davemloft.net>
641 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
642 (libc_feholdexcept_setround_sparc_ctx): New function.
643 (libc_fesetenv_sparc_ctx): Likewise.
644 (libc_feupdateenv_sparc_ctx): Likewise.
645 (libc_feholdsetround_sparc_ctx): Likewise.
646 (libc_feholdexcept_setround_ctx): Define.
647 (libc_feholdexcept_setroundf_ctx): Likewise.
648 (libc_feholdexcept_setroundl_ctx): Likewise.
649 (libc_fesetenv_ctx): Likewise.
650 (libc_fesetenvf_ctx): Likewise.
651 (libc_fesetenvl_ctx): Likewise.
652 (libc_feupdateenv_ctx): Likewise.
653 (libc_feupdateenvf_ctx): Likewise.
654 (libc_feupdateenvl_ctx): Likewise.
655 (libc_feresetround_ctx): Likewise.
656 (libc_feresetroundf_ctx): Likewise.
657 (libc_feresetroundl_ctx): Likewise.
658 (libc_feholdsetround_ctx): Likewise.
659 (libc_feholdsetroundf_ctx): Likewise.
660 (libc_feholdsetroundl_ctx): Likewise.
662 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
663 with __USE_GNU instead of XOPEN cpp guards.
665 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
669 with XOPEN cpp guards.
671 2014-04-30 Julian Brown <julian@codesourcery.com>
674 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
677 2014-04-30 Joseph Myers <joseph@codesourcery.com>
680 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
682 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
683 * sysdeps/unix/sysv/linux/configure: Regenerated.
684 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
685 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
686 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
687 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
688 * README: Update reference to required Linux kernel version.
689 * manual/install.texi (Linux): Update reference to required Linux
690 kernel headers version.
691 * INSTALL: Regenerated.
693 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
695 [POSIX] (limits.h): Likewise.
696 [POSIX] (math.h): Likewise.
697 [POSIX] (sys/wait.h): Likewise.
698 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
700 [POSIX] (stddef.h): Do not allow header inclusion.
702 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
704 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
706 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
708 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
709 Return immediately after lll_futex_wake.
711 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
714 * nscd/nscd-client.h (datahead_init_common): Initialize entire
716 (datahead_init_pos): Call datahead_init_common early.
717 (datahead_init_neg): Likewise.
719 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
720 datahead_init_neg): New functions.
721 * nscd/aicache.c (addhstaiX): Use them.
722 * nscd/grpcache.c (cache_addgr): Likewise.
723 * nscd/hstcache.c (cache_addhst): Likewise.
724 * nscd/initgrcache.c (addinitgroupsX): Likewise.
725 * nscd/netgroupcache.c (do_notfound): Likewise.
726 (addgetnetgrentX): Likewise.
727 (addinnetgrX): Likewise.
728 * nscd/pwdcache.c (cache_addpw): Likewise.
729 * nscd/servicescache.c (cache_addserv): Likewise.
731 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
732 Atsushi Onoe <atsushi@onoe.org>
737 * resolv/res_query.c (__libc_res_nsearch): Return if at least
738 one response is valid.
739 * resolv/res_send.c (send_dg): Check for validity of other
740 response if the current response is a referral.
742 2014-04-29 Steve Ellcey <sellcey@mips.com>
744 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
746 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
749 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
750 Always divide by positive zero when computing -Inf result.
751 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
752 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
754 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
756 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
757 FPSCR if value do not change.
758 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
759 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
760 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
761 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
762 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
763 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
766 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
768 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
769 * sysdeps/unix/sysv/linux/hppa: Move directory from
770 ports/systeps/unix/sysv/linux/hppa.
771 * README: Update listing for hppa-*-linux-gnu.
773 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
776 * manual/stdio.texi (Hook functions): Fix types of stream hook
779 * socket/sys/socket.h: Fix typo in comment.
781 2014-04-28 Wilco <wdijkstr@arm.com>
783 * sysdeps/arm/fenv_private.h: New file.
784 * sysdeps/arm/math_private.h: New file.
785 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
787 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
789 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
791 (La_x86_64_retval): Likewise.
793 2014-04-24 Ian Bolton <ian.bolton@arm.com>
795 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
796 fpsr if value didn't change.
797 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
798 to fpcr if value didn't change.
799 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
800 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
801 fpsr or fpcr if value didn't change.
802 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
803 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
804 fpcr if value didn't change.
805 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
806 to fpsr if value didn't change.
808 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
810 * nptl/tst-sem3.c: Use test-skeleton.c
811 (main): Rename to do_test. Use return instead of
813 * nptl/tst-sem4.c: Use test-skeleton.c
814 (main): Rename to do_test.
816 2014-04-22 David S. Miller <davem@davemloft.net>
818 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
819 (struct sigaction): New struct member __glibc_reserved0, change
820 type of sa_flags to int.
822 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
824 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
825 (COUNT_LEADING_ZEROS_0): Define for AArch64.
827 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
829 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
830 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
832 2014-04-22 Will Newton <will.newton@linaro.org>
833 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
835 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
836 (__longjmp): Add longjmp and longjmp_target SystemTap
838 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
839 (__sigsetjmp): Add setjmp SystemTap probe.
841 2014-04-17 Carlos O'Donell <carlos@redhat.com>
843 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
846 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
848 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
850 * sysdeps/powerpc/fpu/fenv_private.h
851 (libc_feholdexcept_setroundl_ctx): Define to
852 libc_feholdexcept_setround_ppc_ctx.
853 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
854 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
855 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
856 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
858 2014-04-17 Ian Bolton <ian.bolton@arm.com>
860 * sysdeps/aarch64/math-tests.h: New file.
862 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
864 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
867 Check and set bit_AVX2_Usable.
868 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
870 (bit_AVX2): Likewise.
871 (index_AVX2_Usable): Likewise.
872 (CPUID_AVX2): Likewise.
873 (HAS_AVX2): Likewise.
875 2014-04-17 Will Newton <will.newton@linaro.org>
877 * manual/setjmp.texi (System V contexts): Add note that
878 calling setcontext on a context created by a call to a
879 signal handler is undefined. Update text to note that
880 setcontext from a signal handler is possible but not
884 * stdlib/tst-setcontext.c: Include signal.h.
885 (main): Check that the signal stack before and
886 after swapcontext is the same.
888 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
889 Re-implement to restore registers in user code and avoid
890 rt_sigreturn system call.
892 2014-04-17 Wilco <wdijkstr@arm.com>
894 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
895 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
896 * math/test-fenv.c: Skip exception trap tests on targets which only
897 support non-stop mode.
899 2014-04-17 Ian Bolton <ian.bolton@arm.com>
900 Wilco Dijkstra <wilco.dijkstra@arm.com>
902 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
903 (libc_feholdsetround_aarch64_ctx)
904 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
905 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
906 (libc_feresetround_ctx, libc_feresetroundf_ctx)
907 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
908 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
909 (libc_feresetround_noexl_ctx): Define.
911 2014-04-16 Richard Henderson <rth@redhat.com>
913 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
915 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
918 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
919 const from the non-libc, non-ldso copy.
921 * sysdeps/alpha/libm-test-ulps: Regenerate.
923 2014-04-16 Ian Bolton <ian.bolton@arm.com>
924 Wilco Dijkstra <wilco.dijkstra@arm.com>
926 * sysdeps/aarch64/fpu/math_private.h: New file.
928 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
930 * sysdeps/aarch64/libm-test-ulps: Regenerate.
932 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
934 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
935 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
936 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
937 Intel MPX bound registers before _dl_profile_fixup.
938 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
939 registers after _dl_profile_fixup. Save and restore bound
940 registers bnd0/bnd1 when calling _dl_call_pltexit.
941 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
942 (LR_BND_OFFSET): Likewise.
943 (LRV_BND0_OFFSET): Likewise.
944 (LRV_BND1_OFFSET): Likewise.
946 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
948 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
950 * sysdeps/mach/hurd/i386/tls.h: ... here.
951 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
952 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
955 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
957 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
959 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
961 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
963 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
966 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
967 * sysdeps/s390/configure: Regenerate.
970 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
971 Set round-to-nearest internally to reduce error accumulation.
973 2014-04-16 Alan Modra <amodra@gmail.com>
977 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
978 * math/libm-test.inc (frexp_test_data): Add tests.
979 * NEWS: Update fixed bug list.
981 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
983 * benchtests/Makefile: Depend on libraries in build directory.
984 (bench-math): Separate out math tests.
985 (bench-pthread): Separate out pthread tests.
986 (bench): Include math and pthread tests.
988 2014-04-14 Carlos O'Donell <carlos@redhat.com>
991 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
992 _dl_debug_initialize.
994 * configure.ac: Remove SELinux header check.
995 * configure: Regenerate.
996 * nscd/selinux.c (perms): Array of const char* to permission names.
997 (nscd_request_avc_has_perm): Call security_deny_unknown to find
998 default policy. Call string_to_security_class and string_to_av_perm to
999 translate strings. Enforce default policy and call avs_has_perm with
1000 results of translated strings.
1002 2014-04-13 David S. Miller <davem@davemloft.net>
1004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1006 2014-04-12 Allan McRae <allan@archlinux.org>
1009 * manual/string.texi (Collation Functions): Fix qsort argument
1011 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1013 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1015 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1016 Make the test a no-op if there are no exceptions defined.
1018 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1020 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1021 enable-hardcoded-path-in-tests
1023 2014-04-11 Will Newton <will.newton@linaro.org>
1025 * benchtests/Makefile (extra-objs): Add json-lib.o.
1026 (bench-func): Tidy up JSON output.
1027 * benchtests/bench-skeleton.c: Include json-lib.h.
1028 (main): Use JSON library functions to do output of
1030 * benchtests/bench-timing-type.c (main): Output the
1031 timing type simply, leaving formatting to the user.
1032 * benchtests/json-lib.c: New file.
1033 * benchtests/json-lib.h: Likewise.
1035 2014-04-11 Torvald Riegel <triegel@redhat.com>
1038 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1039 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1040 memory barriers. Add comments.
1041 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1042 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1043 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1044 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1045 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1046 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1048 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1050 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1051 * sysdeps/s390/s390-64/configure.ac: ... this ...
1052 * sysdeps/s390/configure.ac: ... to here.
1053 * sysdeps/s390/s390-32/configure: Delete file.
1054 * sysdeps/s390/s390-64/configure: Delete file.
1055 * sysdeps/s390/configure: Regenerate.
1057 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1059 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1061 2014-04-11 Will Newton <will.newton@linaro.org>
1063 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1064 to zero if it is not defined elsewhere. (mtrim): Test
1065 the value of MALLOC_DEBUG with #if rather than #ifdef.
1067 2014-04-10 Torvald Riegel <triegel@redhat.com>
1069 * benchtests/pthread_once-inputs: New file.
1070 * benchtests/pthread_once-source.c: New file.
1071 * benchtests/README: Update documentation.
1073 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1074 H.J. Lu <hongjiu.lu@intel.com>
1076 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1077 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1078 * sysdeps/x86_64/configure: Regenerated.
1079 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1081 (REGISTER_SAVE_RAX): Likewise.
1082 (REGISTER_SAVE_RCX): Likewise.
1083 (REGISTER_SAVE_RDX): Likewise.
1084 (REGISTER_SAVE_RSI): Likewise.
1085 (REGISTER_SAVE_RDI): Likewise.
1086 (REGISTER_SAVE_R8): Likewise.
1087 (REGISTER_SAVE_R9): Likewise.
1088 (REGISTER_SAVE_BND0): Likewise.
1089 (REGISTER_SAVE_BND1): Likewise.
1090 (REGISTER_SAVE_BND2): Likewise.
1091 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1092 bound registers when calling _dl_fixup.
1094 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1096 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1097 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1099 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1100 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1101 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1102 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1103 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1104 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1105 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1107 2014-04-09 Peter Brett <peter@peter-b.co.uk>
1110 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1111 pathconf(_PC_NAME_MAX).
1113 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1115 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1117 (__PTHREAD_SPINS): Move definition to ...
1118 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1119 (__PTHREAD_SPINS): ... here.
1120 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1121 (__PTHREAD_SPIN): Likewise.
1122 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1123 (__PTHREAD_SPIN): Likewise.
1124 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1125 (__PTHREAD_SPIN): Likewise.
1126 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1127 (__PTHREAD_SPIN): Likewise.
1128 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1129 (__PTHREAD_SPIN): Likewise.
1130 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1131 (__PTHREAD_SPIN): Likewise.
1132 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1133 (__PTHREAD_SPIN): Likewise.
1134 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1135 (__PTHREAD_SPIN): Likewise.
1136 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1137 (__PTHREAD_SPIN): Likewise.
1138 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1139 (__PTHREAD_SPIN): Likewise.
1140 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1141 (__PTHREAD_SPIN): Likewise.
1142 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1143 (__PTHREAD_SPIN): Likewise.
1145 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1146 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1147 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1148 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1150 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1151 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1152 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1153 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1155 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1156 strlen symbol for non multi-arch builds.
1157 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1158 missing hidden_def and weak_alias.
1160 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1162 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1164 2014-04-07 Will Newton <will.newton@linaro.org>
1166 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1167 and contents. [!_LIBC] Remove #ifndef and contents.
1168 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1169 * string/memccpy.c (__memccpy): Use ANSI prototype.
1170 * string/memfrob.c (memfrob): Likewise.
1171 * string/strcoll.c (STRCOLL): Likewise.
1172 * string/strlen.c (strlen): Likewise.
1173 * string/strtok.c (STRTOK): Likewise.
1174 * string/strcat.c: Remove unused #include of memcopy.h.
1175 (strcat): Use ANSI prototype.
1176 * string/strchr.c: Remove unused #include of memcopy.h.
1177 (strchr): Use ANSI prototype.
1178 * string/strcmp.c: Remove unused #include of memcopy.h.
1179 (strcmp): Use ANSI prototype.
1180 * string/strcpy.c: Remove unused #include of memcopy.h.
1181 (strcpy): Use ANSI prototype.
1183 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1185 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1186 * config.make.in (config-extra-cppflags): Set it from
1187 libc_extra_cppflags.
1188 * configure.ac (libc_extra_cflags): Make it accumulate over
1189 configure fragments.
1190 (libc_extra_cppflags): New flag.
1191 * configure. Regenerate.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1193 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1194 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1199 result for FE_DOWNWARD rounding mode.
1200 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1204 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1206 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1207 in function argument name.
1209 2014-04-03 David Svoboda <svoboda@cert.org>
1212 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1215 2014-04-03 Roland McGrath <roland@hack.frob.com>
1217 * elf/dl-unmap-segments.h: New file.
1218 * sysdeps/generic/ldsodefs.h
1219 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1220 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1221 * elf/dl-fptr.c: Likewise.
1222 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1223 * sysdeps/aarch64/tlsdesc.c: Likewise.
1224 * sysdeps/arm/tlsdesc.c: Likewise.
1225 * sysdeps/i386/tlsdesc.c: Likewise.
1226 * sysdeps/tile/dl-runtime.c: Likewise.
1227 * sysdeps/x86_64/tlsdesc.c: Likewise.
1228 * elf/dl-load.h: New file.
1229 * elf/dl-load.c: Include it.
1230 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1231 Macros moved to dl-load.h.
1232 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1233 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1234 Use _dl_unmap_segments in place of __munmap.
1235 Break out segment-mapping loop into ...
1236 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1238 2014-04-03 Will Newton <will.newton@linaro.org>
1240 * elf/dl-lookup.c (do_lookup_x): Remove comment
1241 referring to nested function and move variable
1242 declarations down to before first use.
1244 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1248 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1250 * math/s_catanf.c (__catanf): Likewise.
1251 * math/s_catanh.c (__catanh): Likewise.
1252 * math/s_catanhf.c (__catanhf): Likewise.
1253 * math/s_catanhl.c (__catanhl): Likewise.
1254 * math/s_catanl.c (__catanl): Likewise.
1255 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1256 by positive zero when computing -Inf result.
1257 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1258 (catanh_test): Likewise.
1259 * sysdeps/i386/fpu/libm-test-ulps: Update.
1260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1263 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1264 instead of using underflowing value in computing result.
1265 * math/s_clog10.c (__clog10): Likewise.
1266 * math/s_clog10f.c (__clog10f): Likewise.
1267 * math/s_clog10l.c (__clog10l): Likewise.
1268 * math/s_clogf.c (__clogf): Likewise.
1269 * math/s_clogl.c (__clogl): Likewise.
1270 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1271 (clog10_test): Likewise.
1272 * sysdeps/i386/fpu/libm-test-ulps: Update.
1273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1275 2014-04-02 Alan Modra <amodra@gmail.com>
1278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1279 output when value is near a power of two. Use int64_t for lx and
1280 remove casts. Use decimal rather than hex exponent constants.
1281 Don't use long double multiplication when double will suffice.
1282 * math/libm-test.inc (nextafter_test_data): Add tests.
1283 * NEWS: Add 16739 and 16786 to bug list.
1285 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1287 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1289 2014-04-01 Will Newton <will.newton@linaro.org>
1291 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1292 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1294 2014-04-01 Florian Weimer <fweimer@redhat.com>
1297 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1298 * nptl/tst-setuid2.c: New file.
1299 * nptl/Makefile (xtests): Add tst-setuid2.
1301 2014-04-01 Alan Modra <amodra@gmail.com>
1304 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1306 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1310 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1311 set errno as appropriate.
1312 * math/w_scalbf.c (__scalbf): Likewise.
1313 * math/w_scalbl.c (__scalbl): Likewise.
1314 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1315 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1316 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1320 * math/w_atan2.c: Include <errno.h>.
1321 (__atan2): Set errno for result underflowing to zero.
1322 * math/w_atan2f.c: Include <errno.h>.
1323 (__atan2f): Set errno for result underflowing to zero.
1324 * math/w_atan2l.c: Include <errno.h>.
1325 (__atan2l): Set errno for result underflowing to zero.
1326 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1328 * math/auto-libm-test-out: Regenerated.
1330 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1332 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1333 Encode instruction correctly in little endian.
1334 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1336 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1338 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1340 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1343 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1346 * sysdeps/unix/sysv/linux/kernel-features.h
1347 [__sparc__ && !__arch64__ && !__sparc_v9__]
1348 (__ASSUME_SET_ROBUST_LIST): Do not define.
1349 [__sparc__ && !__arch64__ && !__sparc_v9__]
1350 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1351 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1353 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1354 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1355 (__ASSUME_REQUEUE_PI): Likewise.
1356 (__ASSUME_SET_ROBUST_LIST): Likewise.
1357 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1358 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1360 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1361 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1363 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1365 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1367 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1368 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1370 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1371 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1375 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1376 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1377 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1379 2014-03-31 Will Newton <will.newton@linaro.org>
1381 * benchtests/Makefile (bench): Add ffs and ffsll to list
1383 * benchtests/ffs-inputs: New file.
1384 * benchtests/ffsll-inputs: Likewise.
1386 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1389 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1390 too large before casting to int.
1391 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1392 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1393 * math/libm-test.inc (scalb_test_data): Add more tests.
1395 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1397 * benchtests/Makefile (DETAILED_OPT): New make option.
1398 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1400 * benchtests/bench-skeleton.c: Include stdbool.h.
1401 (main): Store and print timings per input.
1402 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1403 member to each argument value.
1404 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1405 (_print_arg_data): Initialize per-input timing to 0.
1407 * benchtests/Makefile (timing-type): New binary.
1408 (bench-clean): Also remove bench-timing-type.
1409 (bench): New target for timing-type.
1410 (bench-func): Print output in JSON format.
1411 * benchtests/bench-skeleton.c (main): Print output in JSON
1413 * benchtests/bench-timing-type.c: New file.
1414 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1415 (TIMING_PRINT_STATS): Remove.
1416 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1419 * benchtests/bench-modf.c: Remove.
1420 * benchtests/modf-inputs: New inputs file.
1422 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1425 * math/s_clog10.c (M_PI_LOG10E): New macro.
1426 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1427 imaginary parts are 0.
1428 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1429 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1430 imaginary parts are 0.
1431 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1432 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1433 imaginary parts are 0.
1434 * math/libm-test.inc (clog10_test_data): Update expected results
1435 for when real and imaginary parts are 0.
1437 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1439 * elf/dl-load.c: Finish conversion of __builtin_expect into
1442 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1445 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1446 1+x for argument with exponent below -67.
1447 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1449 * math/auto-libm-test-in: Add more tests of exp.
1450 * math/auto-libm-test-out: Regenerated.
1452 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1455 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1456 (nscd_getnetgrent): Use it.
1459 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1462 2014-03-27 Andi Kleen <ak@linux.intel.com>
1464 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1465 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1466 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1467 (lll_robust_unlock): Remove out of line section. Use cfi
1469 (LLL_STUB_UNWIND_INFO*): Remove.
1470 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1471 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1472 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1473 (lll_robust_unlock): Remove out of line section. Use cfi
1475 (LLL_STUB_UNWIND_INFO*): Remove.
1477 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1480 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1483 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1485 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1487 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1490 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1492 * math/test-fenv-preserve.c: New file.
1493 * math/Makefile (tests): Add test-fenv-preserve.
1495 2014-03-26 Will Newton <will.newton@linaro.org>
1497 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1499 2014-03-25 Roland McGrath <roland@hack.frob.com>
1501 * scripts/versionlist.awk: Partition the version sets and emit all
1502 GLIBC_* (sorted) before all others (sorted).
1504 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1506 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1507 GLIBC_2.2.5 version.
1509 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1511 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1514 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1519 2014-03-25 Andreas Schwab <schwab@suse.de>
1521 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1522 label to be used after in6ailist is initialized.
1524 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1526 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1527 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1529 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1533 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1535 (fp_formats): Update initializers.
1536 (init_fp_formats): Initialize new field.
1537 (output_for_one_input_case): Allow underflow for results up to
1539 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1540 * math/auto-libm-test-in: Don't mark some underflows from asin and
1542 * math/auto-libm-test-out: Regenerated.
1543 * sysdeps/i386/fpu/libm-test-ulps: Update.
1544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1546 2014-03-25 Andreas Schwab <schwab@suse.de>
1548 * libio/Makefile (tst-ftell-partial-wide-ENV)
1549 (tst-ftell-active-handler-ENV): Define.
1551 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1553 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1555 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1557 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1559 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1561 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1562 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1563 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1565 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1568 * elf/dl-load.c (open_verify): Add mode parameter.
1569 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1570 (open_path): Change from boolean 'secure' to complete flag 'mode'
1571 (_dl_map_object): Adjust.
1572 * elf/Makefile (tests): Add tst-dlopen-aout.
1573 * elf/tst-dlopen-aout.c: New test.
1575 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1578 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1579 (struct stat): Rename member pad0 to __glibc_reserved0.
1582 * sysdeps/s390/s390-32/bits/wordsize.h
1583 (__WORDSIZE32_SIZE_ULONG): New define.
1584 * sysdeps/s390/s390-64/bits/wordsize.h
1585 (__WORDSIZE32_SIZE_ULONG): Likewise.
1586 * sysdeps/generic/stdint.h (SIZE_MAX):
1587 Define as UL if __WORDSIZE32_SIZE_ULONG.
1590 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1591 (__glibc_reserved0): New variable.
1592 (sa_flags): Change type to int.
1594 * posix/Makefile (before-compile): Use += before-compile instead
1597 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1598 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1600 2014-03-20 Andreas Schwab <schwab@suse.de>
1603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1604 non-matching result from nscd.
1606 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1608 * scripts/bench.py: Moved to ...
1609 * benchtests/scripts/bench.py: ... here.
1610 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1612 2014-03-24 Andreas Schwab <schwab@suse.de>
1615 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1616 alloca_account and account alloca use for struct in6ailist.
1618 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1621 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1622 rounding mode to recompute results that overflow to infinity or
1624 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1626 * math/auto-libm-test-out: Regenerated.
1627 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1628 (ccosh_test): Likewise.
1629 (csin_test_data): Use plus_oflow.
1630 (csin_test): Use ALL_RM_TEST.
1631 (csinh_test_data): Use plus_oflow.
1632 (csinh_test): Use ALL_RM_TEST.
1633 * sysdeps/i386/fpu/libm-test-ulps: Update.
1634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1636 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1638 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1639 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1640 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1643 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1645 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1646 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1647 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1648 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1650 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1651 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1653 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1654 * sysdeps/i386/fpu/libm-test-ulps: Update.
1655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1657 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1659 * scripts/bench.pl: Remove file.
1660 * scripts/bench.py: New benchmark script.
1661 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1662 * benchtests/README: Mention python dependency.
1663 * scripts/pylintrc: New file.
1664 * scripts/pylint: New file.
1666 * bits/mathdef.h: Use #ifdef instead of #if.
1667 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1668 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1669 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1670 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1671 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1672 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1674 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1675 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1677 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1679 and strpbrk-ppc64 objects.
1680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1681 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1682 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1683 multiarch strpbrk for POWER7.
1684 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1685 multiarch strpbrk for PPC64.
1686 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1688 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1691 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1693 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1694 (atan_test): Likewise.
1695 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1696 (atanh_test): Use ALL_RM_TEST.
1697 (atan2_test_data): Likewise.
1698 (cabs_test): Likewise.
1699 (cacosh_test): Likewise.
1700 (carg_test): Likewise.
1701 (casin_test): Likewise.
1702 (casinh_test): Likewise.
1703 (cbrt_test): Likewise.
1704 (csqrt_test): Likewise.
1705 (erf_test): Likewise.
1706 (erfc_test): Likewise.
1707 (pow10_test): Likewise.
1708 (exp2_test): Likewise.
1709 (hypot_test): Likewise.
1710 (j0_test): Likewise.
1711 (j1_test): Likewise.
1712 (lgamma_test): Likewise.
1713 (gamma_test): Likewise.
1714 (sincos_test): Likewise.
1715 (tanh_test): Likewise.
1716 (y0_test): Likewise.
1717 (y1_test): Likewise.
1718 * sysdeps/i386/fpu/libm-test-ulps: Update.
1719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1721 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1723 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1725 and strcspn-ppc64 objects.
1726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1727 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1728 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1729 multiarch strcspn for POWER7.
1730 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1731 multiarch strcspn for PPC64.
1732 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1734 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1737 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1739 * math/gen-libm-test.pl (generate_testfile): Expect only function
1740 name as argument to AUTO_TESTS_* and pass results for all rounding
1741 modes to parse_args.
1742 (parse_auto_input): Separate inputs of automatic tests from
1743 outputs before storing in %auto_tests.
1744 * math/libm-test.inc (acos_test_data): Update call to
1746 (acos_test): Use ALL_RM_TEST.
1747 (acos_tonearest_test_data): Remove.
1748 (acos_test_tonearest): Likewise.
1749 (acos_towardzero_test_data): Likewise.
1750 (acos_test_towardzero): Likewise.
1751 (acos_downward_test_data): Likewise.
1752 (acos_test_downward): Likewise.
1753 (acos_upward_test_data): Likewise.
1754 (acos_test_upward): Likewise.
1755 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1756 (asin_test_data): Likewise.
1757 (asin_test): Use ALL_RM_TEST.
1758 (asin_tonearest_test_data): Remove.
1759 (asin_test_tonearest): Likewise.
1760 (asin_towardzero_test_data): Likewise.
1761 (asin_test_towardzero): Likewise.
1762 (asin_downward_test_data): Likewise.
1763 (asin_test_downward): Likewise.
1764 (asin_upward_test_data): Likewise.
1765 (asin_test_upward): Likewise.
1766 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1767 (atan_test_data): Likewise.
1768 (atanh_test_data): Likewise.
1769 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1770 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1771 (carg_test_data): Likewise.
1772 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1773 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1774 (ccosh_test_data): Likewise.
1775 (cexp_test_data): Likewise.
1776 (clog_test_data): Likewise.
1777 (clog10_test_data): Likewise.
1778 (cos_test_data): Update call to AUTO_TESTS_f_f.
1779 (cos_test): Use ALL_RM_TEST.
1780 (cos_tonearest_test_data): Remove.
1781 (cos_test_tonearest): Likewise.
1782 (cos_towardzero_test_data): Likewise.
1783 (cos_test_towardzero): Likewise.
1784 (cos_downward_test_data): Likewise.
1785 (cos_test_downward): Likewise.
1786 (cos_upward_test_data): Likewise.
1787 (cos_test_upward): Likewise.
1788 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1789 (cosh_test): Use ALL_RM_TEST.
1790 (cosh_tonearest_test_data): Remove.
1791 (cosh_test_tonearest): Likewise.
1792 (cosh_towardzero_test_data): Likewise.
1793 (cosh_test_towardzero): Likewise.
1794 (cosh_downward_test_data): Likewise.
1795 (cosh_test_downward): Likewise.
1796 (cosh_upward_test_data): Likewise.
1797 (cosh_test_upward): Likewise.
1798 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1799 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1800 (ctan_test_data): Likewise.
1801 (ctan_test): Use ALL_RM_TEST.
1802 (ctan_tonearest_test_data): Remove.
1803 (ctan_test_tonearest): Likewise.
1804 (ctan_towardzero_test_data): Likewise.
1805 (ctan_test_towardzero): Likewise.
1806 (ctan_downward_test_data): Likewise.
1807 (ctan_test_downward): Likewise.
1808 (ctan_upward_test_data): Likewise.
1809 (ctan_test_upward): Likewise.
1810 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1811 (ctanh_test): Use ALL_RM_TEST.
1812 (ctanh_tonearest_test_data): Remove.
1813 (ctanh_test_tonearest): Likewise.
1814 (ctanh_towardzero_test_data): Likewise.
1815 (ctanh_test_towardzero): Likewise.
1816 (ctanh_downward_test_data): Likewise.
1817 (ctanh_test_downward): Likewise.
1818 (ctanh_upward_test_data): Likewise.
1819 (ctanh_test_upward): Likewise.
1820 (erf_test_data): Update call to AUTO_TESTS_f_f.
1821 (erfc_test_data): Likewise.
1822 (exp_test_data): Likewise.
1823 (exp_test): Use ALL_RM_TEST.
1824 (exp_tonearest_test_data): Remove.
1825 (exp_test_tonearest): Likewise.
1826 (exp_towardzero_test_data): Likewise.
1827 (exp_test_towardzero): Likewise.
1828 (exp_downward_test_data): Likewise.
1829 (exp_test_downward): Likewise.
1830 (exp_upward_test_data): Likewise.
1831 (exp_test_upward): Likewise.
1832 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1833 (exp10_test): Use ALL_RM_TEST.
1834 (exp10_tonearest_test_data): Remove.
1835 (exp10_test_tonearest): Likewise.
1836 (exp10_towardzero_test_data): Likewise.
1837 (exp10_test_towardzero): Likewise.
1838 (exp10_downward_test_data): Likewise.
1839 (exp10_test_downward): Likewise.
1840 (exp10_upward_test_data): Likewise.
1841 (exp10_test_upward): Likewise.
1842 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1843 (expm1_test_data): Likewise.
1844 (expm1_test): Use ALL_RM_TEST.
1845 (expm1_tonearest_test_data): Remove.
1846 (expm1_test_tonearest): Likewise.
1847 (expm1_towardzero_test_data): Likewise.
1848 (expm1_test_towardzero): Likewise.
1849 (expm1_downward_test_data): Likewise.
1850 (expm1_test_downward): Likewise.
1851 (expm1_upward_test_data): Likewise.
1852 (expm1_test_upward): Likewise.
1853 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1854 (fma_test): Use ALL_RM_TEST.
1855 (fma_towardzero_test_data): Remove.
1856 (fma_test_towardzero): Likewise.
1857 (fma_downward_test_data): Likewise.
1858 (fma_test_downward): Likewise.
1859 (fma_upward_test_data): Likewise.
1860 (fma_test_upward): Likewise.
1861 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1862 (j0_test_data): Update call to AUTO_TESTS_f_f.
1863 (j1_test_data): Likewise.
1864 (jn_test_data): Update call to AUTO_TESTS_if_f.
1865 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1866 (log_test_data): Update call to AUTO_TESTS_f_f.
1867 (log10_test_data): Likewise.
1868 (log1p_test_data): Likewise.
1869 (log2_test_data): Likewise.
1870 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1871 (pow_tonearest_test_data): Likewise.
1872 (sin_test_data): Update call to AUTO_TESTS_f_f.
1873 (sin_test): Use ALL_RM_TEST.
1874 (sin_tonearest_test_data): Remove.
1875 (sin_test_tonearest): Likewise.
1876 (sin_towardzero_test_data): Likewise.
1877 (sin_test_towardzero): Likewise.
1878 (sin_downward_test_data): Likewise.
1879 (sin_test_downward): Likewise.
1880 (sin_upward_test_data): Likewise.
1881 (sin_test_upward): Likewise.
1882 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1883 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1884 (sinh_test): Use ALL_RM_TEST.
1885 (sinh_tonearest_test_data): Remove.
1886 (sinh_test_tonearest): Likewise.
1887 (sinh_towardzero_test_data): Likewise.
1888 (sinh_test_towardzero): Likewise.
1889 (sinh_downward_test_data): Likewise.
1890 (sinh_test_downward): Likewise.
1891 (sinh_upward_test_data): Likewise.
1892 (sinh_test_upward): Likewise.
1893 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1894 (sqrt_test): Use ALL_RM_TEST.
1895 (sqrt_tonearest_test_data): Remove.
1896 (sqrt_test_tonearest): Likewise.
1897 (sqrt_towardzero_test_data): Likewise.
1898 (sqrt_test_towardzero): Likewise.
1899 (sqrt_downward_test_data): Likewise.
1900 (sqrt_test_downward): Likewise.
1901 (sqrt_upward_test_data): Likewise.
1902 (sqrt_test_upward): Likewise.
1903 (tan_test_data): Update call to AUTO_TESTS_f_f.
1904 (tan_test): Use ALL_RM_TEST.
1905 (tan_tonearest_test_data): Remove.
1906 (tan_test_tonearest): Likewise.
1907 (tan_towardzero_test_data): Likewise.
1908 (tan_test_towardzero): Likewise.
1909 (tan_downward_test_data): Likewise.
1910 (tan_test_downward): Likewise.
1911 (tan_upward_test_data): Likewise.
1912 (tan_test_upward): Likewise.
1913 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1914 (tgamma_test_data): Likewise.
1915 (y0_test_data): Likewise.
1916 (y1_test_data): Likewise.
1917 (yn_test_data): Update call to AUTO_TESTS_if_f.
1918 (main): Do not call removed functions.
1920 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1922 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1923 (ldexp_test_data): Remove.
1924 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1926 (scalb_test): Use ALL_RM_TEST.
1928 2014-03-19 Andreas Schwab <schwab@suse.de>
1930 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1932 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1935 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1936 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1937 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1938 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1939 (__ASSUME_PREADV): Undefine.
1940 (__ASSUME_PWRITEV): Likewise.
1942 2014-03-18 Roland McGrath <roland@hack.frob.com>
1944 * bits/mman-linux.h: Add comment about non-Linux use.
1945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1946 bits/mman-linux.h resting place.
1948 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1949 * bits/mman-linux.h: ... here.
1951 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1953 * conform/conformtest.pl: Add standard definition when calling C
1954 preprocessor on data files.
1955 (checknamespace): Remove unused variable.
1957 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1959 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1960 minus_oflow, plus_uflow and minus_uflow in expected results.
1961 * math/libm-test.inc (scalbn_test_data): Add more tests of
1962 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1964 (scalbn_test): Use ALL_RM_TEST.
1965 (scalbln_test_data): Add more tests of negative arguments. Use
1966 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1967 (scalbln_test): Use ALL_RM_TEST.
1969 2014-03-18 Roland McGrath <roland@hack.frob.com>
1971 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1973 2014-03-18 Will Newton <will.newton@linaro.org>
1975 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1978 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1980 * Makerules [!subdir] (check-abi): Exit with error status if a
1983 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1985 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1986 for rint. Include results for all rounding modes.
1987 (nearbyint_test): Use ALL_RM_TEST.
1988 (rint_test_data): Include all tests used for nearbyint.
1990 2014-03-17 Will Newton <will.newton@linaro.org>
1992 * nptl/sysdeps/pthread/pthread.h: Revert previous
1995 * sysdeps/generic/ldsodefs.h: Revert previous
1998 * libio/genops.c: Revert previous change.
1999 * libio/libioP.h: Likewise.
2000 * stdio-common/vfprintf.c: Likewise.
2002 * sysdeps/generic/math_private.h: Revert previous
2005 * sysdeps/generic/math_private.h: Check whether
2006 HAVE_RM_CTX is defined with #ifdef rather
2009 * argp/argp-fmtstream.h: Check whether
2010 __STRICT_ANSI__ is defined with #ifdef rather
2012 * argp/argp.h: Likewise.
2014 * libio/genops.c: Check whether
2015 _IO_JUMPS_OFFSET is defined with #ifdef rather
2017 * libio/libioP.h: Likewise.
2018 * stdio-common/vfprintf.c: Likewise.
2020 * sysdeps/generic/ldsodefs.h: Check whether
2021 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2024 * nptl/sysdeps/pthread/pthread.h: Check
2025 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2028 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2030 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2032 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2036 * libio/fileops.c (_IO_file_open): Seek to end of file but
2037 don't cache the offset.
2038 (get_file_offset): Remove function.
2039 (do_ftell): Use cached offset when available.
2040 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2041 don't cache the offset.
2042 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2044 (do_one_test): Call it.
2045 (do_ftell_test): Fix up expected old offset for a+ mode.
2046 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2049 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2050 up test status with function return status.
2051 (do_write_test): Likewise.
2052 (do_append_test): Likewise.
2054 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2055 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2058 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2060 * math/gen-libm-test.pl (parse_args): Handle results specified for
2061 each rounding mode separately.
2062 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2063 tests and results from lrint_tonearest_test_data,
2064 lrint_towardzero_test_data, lrint_downward_test_data and
2065 lrint_upward_test_data.
2066 (lrint_test): Use ALL_RM_TEST.
2067 (lrint_tonearest_test_data): Remove.
2068 (lrint_test_tonearest): Likewise.
2069 (lrint_towardzero_test_data): Likewise.
2070 (lrint_test_towardzero): Likewise.
2071 (lrint_downward_test_data): Likewise.
2072 (lrint_test_downward): Likewise.
2073 (lrint_upward_test_data): Likewise.
2074 (lrint_test_upward): Likewise.
2075 (llrint_test_data): Merge in per-rounding-mode tests and results
2076 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2077 llrint_downward_test_data and llrint_upward_test_data.
2078 (llrint_test): Use ALL_RM_TEST.
2079 (llrint_tonearest_test_data): Remove.
2080 (llrint_test_tonearest): Likewise.
2081 (llrint_towardzero_test_data): Likewise.
2082 (llrint_test_towardzero): Likewise.
2083 (llrint_downward_test_data): Likewise.
2084 (llrint_test_downward): Likewise.
2085 (llrint_upward_test_data): Likewise.
2086 (llrint_test_upward): Likewise.
2087 (rint_test_data): Merge in per-rounding-mode tests and results
2088 from rint_tonearest_test_data, rint_towardzero_test_data,
2089 rint_downward_test_data and rint_upward_test_data. Add
2090 per-rounding-mode results for tests not in those arrays.
2091 (rint_test): Use ALL_RM_TEST.
2092 (rint_tonearest_test_data): Remove.
2093 (rint_test_tonearest): Likewise.
2094 (rint_towardzero_test_data): Likewise.
2095 (rint_test_towardzero): Likewise.
2096 (rint_downward_test_data): Likewise.
2097 (rint_test_downward): Likewise.
2098 (rint_upward_test_data): Likewise.
2099 (rint_test_upward): Likewise.
2100 (main): Don't call removed functions.
2102 2014-03-14 Roland McGrath <roland@hack.frob.com>
2104 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2105 "Compiled on ..." crapola. It is anti-useful.
2107 2014-03-14 Joseph Myers <joseph@codesourcery.com>
2109 * scripts/evaluate-test.sh: Handle fourth argument to determine
2110 whether test run should stop on failure.
2111 * Makeconfig (stop-on-test-failure): New variable.
2112 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2113 $(stop-on-test-failure).
2114 * Makefile (tests): Give a summary of results from testing and
2115 exit with failure status if they include an ERROR or FAIL.
2117 * manual/install.texi (Configuring and compiling): Mention
2118 stop-on-test-failure=y.
2119 * INSTALL: Regenerated.
2121 2014-03-14 Roland McGrath <roland@hack.frob.com>
2123 * scripts/versionlist.awk: New file.
2124 * Makerules [$(build-shared) = yes]
2125 (postclean-generated): Add Versions.def, not Versions.def.v and
2127 ($(common-objpfx)Versions.def.v.i): Target removed.
2128 ($(common-objpfx)Versions.def): New target.
2129 ($(common-objpfx)Versions.all): Depend on that rather that
2130 $(common-objpfx)Versions.def.v.
2131 * Versions.def: File removed.
2133 * Makeconfig (+gccwarn): Add -Wundef.
2134 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2135 a dl-sysdep.h breaking its contract.
2136 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2137 * include/stackinfo.h: New file.
2138 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2139 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2140 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2141 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2142 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2143 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2144 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2145 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2146 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2147 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2148 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2149 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2150 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2151 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2152 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2154 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2157 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2159 * math/libm-test.inc (round_test_data): Add more tests.
2162 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2164 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2167 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2169 * math/libm-test.inc (ceil_test_data): Add more tests.
2171 * math/libm-test.inc (trunc_test_data): Add more tests related to
2174 2014-03-14 Roland McGrath <roland@hack.frob.com>
2176 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2177 with #if rather than #ifdef.
2178 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2180 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2182 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2183 first. Disable AVX-512 GCC support if assembler doesn't support
2185 * sysdeps/x86_64/configure: Regenerated.
2187 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2189 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2190 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2191 (__old_pthread_attr_setstack): Likewise.
2192 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2193 [!_STACK_GROWS_DOWN]: Likewise.
2195 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2197 * config.make.in (have-bash2): Delete.
2198 * configure.ac (libc_cv_have_bash2): Delete.
2199 * configure: Regenerate.
2200 * elf/Makefile (common-ldd-rewrite): Rename to ...
2201 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2202 (sh-ldd-rewrite): Delete.
2203 (bash-ldd-rewrite): Delete.
2204 (have-bash2): Delete checks.
2205 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2208 * config.make.in (have-ksh): Delete.
2210 * configure.ac (libc_cv_have_ksh): Delete.
2211 * configure: Regenerate.
2213 * elf/Makefile: Delete $(have-ksh) check.
2214 ($(objpfx)sotruss): Change KSH to BASH.
2215 * elf/sotruss.ksh: Rename to ...
2216 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2217 function style to match POSIX. Drop ksh vim mode setting.
2219 * manual/time.texi (Specifying the Time Zone with TZ): Change
2220 Tuesday to Thursday.
2222 * debug/tst-longjmp_chk2.c: Update header comment.
2223 (stackoverflow_handler): Add comment. Call assert on pass value.
2225 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2227 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2228 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2229 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2230 (La_x86_64_vector): Add zmm.
2231 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2232 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2233 ($(objpfx)tst-audit10): New target.
2234 ($(objpfx)tst-audit10.out): Likewise.
2235 (tst-audit10-ENV): New.
2236 (AVX512-CFLAGS): Likewise.
2237 (CFLAGS-tst-audit10.c): Likewise.
2238 (CFLAGS-tst-auditmod10a.c): Likewise.
2239 (CFLAGS-tst-auditmod10b.c): Likewise.
2240 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2241 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2242 * sysdeps/x86_64/configure: Regenerated.
2243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2244 AVX-512 zmm register support.
2245 (_dl_x86_64_save_sse): Likewise.
2246 (_dl_x86_64_restore_sse): Likewise.
2247 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2248 size vector registers.
2249 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2250 (ZMM_SIZE): Likewise.
2251 * sysdeps/x86_64/tst-audit10.c: New file.
2252 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2253 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2255 2014-03-13 Roland McGrath <roland@hack.frob.com>
2257 * configure.ac (HAVE_EHDR_START): New check.
2258 * configure: Regenerated.
2259 * config.h.in (HAVE_EHDR_START): New #undef.
2260 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2261 assuming the lowest-addressed segment maps the start of the file.
2263 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2265 * INSTALL: Regenerated.
2267 2014-03-13 Will Newton <will.newton@linaro.org>
2269 * manual/setjmp.texi (System V contexts): Improve
2270 clarity and grammar of documentation.
2272 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2275 * elf/Makefile (tests): Add tst-pie2.
2276 (tests-pie): Add tst-pie2.
2277 * elf/tst-pie2.c: New file.
2278 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2280 * elf/rtld.c (map_doit): Load executable as lt_executable.
2281 (dl_main): Likewise.
2283 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2286 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2287 (__ASSUME_PSELECT): Undefine.
2289 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2292 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2293 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2295 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2296 selector for static builds.
2298 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2301 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2304 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2306 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2307 IFUNC selector for static builds.
2309 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2311 * sysdeps/mips/math_private.h [__mips_hard_float]
2312 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2313 libc_feresetround_mips_ctx.
2314 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2315 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2316 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2319 * math/s_nextafter.c (__nextafter): Do not return value from
2320 overflowing computation.
2321 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2322 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2323 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2325 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2327 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2328 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2330 2014-03-11 Roland McGrath <roland@hack.frob.com>
2332 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2333 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2334 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2335 the new mov targetting sp.
2337 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2340 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2341 Define it for static builds as well.
2342 (NO_BZERO_IMPL): Likewise.
2344 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2346 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2347 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2348 multiarch strspn for PPC64.
2349 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2350 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2352 (__libc_ifunc_impl_list): Likewise.
2353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2354 multiarch optimizations
2355 * string/strspn.c (strspn): Using macro to redefine symbol name.
2357 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2358 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2360 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2361 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2362 multiarch strncat for PPC64.
2363 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2364 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2366 (__libc_ifunc_impl_list): Likewise.
2367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2368 multiarch optimizations
2370 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2373 * nscd/nscd.service: Make service type forking.
2375 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2377 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2378 sign in non default rounding modes.
2379 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2381 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2383 * math/libm-test.inc (ALL_RM_TEST): New macro.
2384 (ceil_test): Use ALL_RM_TEST.
2385 (cimag_test): Likewise.
2386 (conj_test): Likewise.
2387 (copysign_test): Likewise.
2388 (cproj_test): Likewise.
2389 (creal_test): Likewise.
2390 (fabs_test): Likewise.
2391 (floor_test): Likewise.
2392 (fmax_test): Likewise.
2393 (fmin_test): Likewise.
2394 (fmod_test): Likewise.
2395 (fpclassify_test): Likewise.
2396 (frexp_test): Likewise.
2397 (ilogb_test): Likewise.
2398 (isfinite_test): Likewise.
2399 (finite_test): Likewise.
2400 (isgreater_test): Likewise.
2401 (isgreaterequal_test): Likewise.
2402 (isinf_test): Likewise.
2403 (isless_test): Likewise.
2404 (islessequal_test): Likewise.
2405 (islessgreater_test): Likewise.
2406 (isnan_test): Likewise.
2407 (isnormal_test): Likewise.
2408 (issignaling_test): Likewise.
2409 (isunordered_test): Likewise.
2410 (logb_test): Likewise.
2411 (logb_downward_test_data): Remove.
2412 (logb_test_downward): Likewise.
2413 (lround_test): Use ALL_RM_TEST.
2414 (llround_test): Likewise.
2415 (modf_test): Likewise.
2416 (nexttoward_test): Likewise.
2417 (remainder_test): Likewise.
2418 (drem_test): Likewise.
2419 (remainder_tonearest_test_data): Likewise.
2420 (remainder_test_tonearest): Likewise.
2421 (drem_test_tonearest): Likewise.
2422 (remainder_towardzero_test_data): Likewise.
2423 (remainder_test_towardzero): Likewise.
2424 (drem_test_towardzero): Likewise.
2425 (remainder_downward_test_data): Likewise.
2426 (remainder_test_downward): Likewise.
2427 (drem_test_downward): Likewise.
2428 (remainder_upward_test_data): Likewise.
2429 (remainder_test_upward): Likewise.
2430 (drem_test_upward): Likewise.
2431 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2432 (round_test): Use ALL_RM_TEST.
2433 (signbit_test): Likewise.
2434 (trunc_test): Likewise.
2435 (significand_test): Likewise.
2436 (main): Don't call removed functions.
2438 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2441 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2443 (ILL_ILLOPN): Likewise.
2444 (ILL_ILLADR): Likewise.
2445 (ILL_ILLTRP): Likewise.
2446 (ILL_PRVOPC): Likewise.
2447 (ILL_PRVREG): Likewise.
2448 (ILL_COPROC): Likewise.
2449 (ILL_BADSTK): Likewise.
2450 (FPE_INTDIV): Likewise.
2451 (FPE_INTOVF): Likewise.
2452 (FPE_FLTDIV): Likewise.
2453 (FPE_FLTOVF): Likewise.
2454 (FPE_FLTUND): Likewise.
2455 (FPE_FLTRES): Likewise.
2456 (FPE_FLTINV): Likewise.
2457 (FPE_FLTSUB): Likewise.
2458 (SEGV_MAPERR): Likewise.
2459 (SEGV_ACCERR): Likewise.
2460 (BUS_ADRALN): Likewise.
2461 (BUS_ADRERR): Likewise.
2462 (BUS_OBJERR): Likewise.
2463 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2464 (TRAP_TRACE): Likewise.
2465 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2467 (CLD_KILLED): Likewise.
2468 (CLD_DUMPED): Likewise.
2469 (CLD_TRAPPED): Likewise.
2470 (CLD_STOPPED): Likewise.
2471 (CLD_CONTINUED): Likewise.
2472 (POLL_IN): Likewise.
2473 (POLL_OUT): Likewise.
2474 (POLL_MSG): Likewise.
2475 (POLL_ERR): Likewise.
2476 (POLL_PRI): Likewise.
2477 (POLL_HUP): Likewise.
2478 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2480 (ILL_ILLOPN): Likewise.
2481 (ILL_ILLADR): Likewise.
2482 (ILL_ILLTRP): Likewise.
2483 (ILL_PRVOPC): Likewise.
2484 (ILL_PRVREG): Likewise.
2485 (ILL_COPROC): Likewise.
2486 (ILL_BADSTK): Likewise.
2487 (FPE_INTDIV): Likewise.
2488 (FPE_INTOVF): Likewise.
2489 (FPE_FLTDIV): Likewise.
2490 (FPE_FLTOVF): Likewise.
2491 (FPE_FLTUND): Likewise.
2492 (FPE_FLTRES): Likewise.
2493 (FPE_FLTINV): Likewise.
2494 (FPE_FLTSUB): Likewise.
2495 (SEGV_MAPERR): Likewise.
2496 (SEGV_ACCERR): Likewise.
2497 (BUS_ADRALN): Likewise.
2498 (BUS_ADRERR): Likewise.
2499 (BUS_OBJERR): Likewise.
2500 (BUS_MCEERR_AR): Likewise.
2501 (BUS_MCEERR_AO): Likewise.
2502 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2503 (TRAP_TRACE): Likewise.
2504 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2506 (CLD_KILLED): Likewise.
2507 (CLD_DUMPED): Likewise.
2508 (CLD_TRAPPED): Likewise.
2509 (CLD_STOPPED): Likewise.
2510 (CLD_CONTINUED): Likewise.
2511 (POLL_IN): Likewise.
2512 (POLL_OUT): Likewise.
2513 (POLL_MSG): Likewise.
2514 (POLL_ERR): Likewise.
2515 (POLL_PRI): Likewise.
2516 (POLL_HUP): Likewise.
2517 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2518 (ILL_ILLOPN): Likewise.
2519 (ILL_ILLADR): Likewise.
2520 (ILL_ILLTRP): Likewise.
2521 (ILL_PRVOPC): Likewise.
2522 (ILL_PRVREG): Likewise.
2523 (ILL_COPROC): Likewise.
2524 (ILL_BADSTK): Likewise.
2525 (FPE_INTDIV): Likewise.
2526 (FPE_INTOVF): Likewise.
2527 (FPE_FLTDIV): Likewise.
2528 (FPE_FLTOVF): Likewise.
2529 (FPE_FLTUND): Likewise.
2530 (FPE_FLTRES): Likewise.
2531 (FPE_FLTINV): Likewise.
2532 (FPE_FLTSUB): Likewise.
2533 (SEGV_MAPERR): Likewise.
2534 (SEGV_ACCERR): Likewise.
2535 (BUS_ADRALN): Likewise.
2536 (BUS_ADRERR): Likewise.
2537 (BUS_OBJERR): Likewise.
2538 (BUS_MCEERR_AR): Likewise.
2539 (BUS_MCEERR_AO): Likewise.
2540 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2541 (TRAP_TRACE): Likewise.
2542 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2544 (CLD_KILLED): Likewise.
2545 (CLD_DUMPED): Likewise.
2546 (CLD_TRAPPED): Likewise.
2547 (CLD_STOPPED): Likewise.
2548 (CLD_CONTINUED): Likewise.
2549 (POLL_IN): Likewise.
2550 (POLL_OUT): Likewise.
2551 (POLL_MSG): Likewise.
2552 (POLL_ERR): Likewise.
2553 (POLL_PRI): Likewise.
2554 (POLL_HUP): Likewise.
2555 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2557 (ILL_ILLOPN): Likewise.
2558 (ILL_ILLADR): Likewise.
2559 (ILL_ILLTRP): Likewise.
2560 (ILL_PRVOPC): Likewise.
2561 (ILL_PRVREG): Likewise.
2562 (ILL_COPROC): Likewise.
2563 (ILL_BADSTK): Likewise.
2564 (ILL_BADIADDR): Likewise.
2565 (ILL_BREAK): Likewise.
2566 (FPE_INTDIV): Likewise.
2567 (FPE_INTOVF): Likewise.
2568 (FPE_FLTDIV): Likewise.
2569 (FPE_FLTOVF): Likewise.
2570 (FPE_FLTUND): Likewise.
2571 (FPE_FLTRES): Likewise.
2572 (FPE_FLTINV): Likewise.
2573 (FPE_FLTSUB): Likewise.
2574 (FPE_DECOVF): Likewise.
2575 (FPE_DECDIV): Likewise.
2576 (FPE_DECERR): Likewise.
2577 (FPE_INVASC): Likewise.
2578 (FPE_INVDEC): Likewise.
2579 (SEGV_MAPERR): Likewise.
2580 (SEGV_ACCERR): Likewise.
2581 (SEGV_PSTKOVF): Likewise.
2582 (BUS_ADRALN): Likewise.
2583 (BUS_ADRERR): Likewise.
2584 (BUS_OBJERR): Likewise.
2585 (BUS_MCEERR_AR): Likewise.
2586 (BUS_MCEERR_AO): Likewise.
2587 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2588 (TRAP_TRACE): Likewise.
2589 (TRAP_BRANCH): Likewise.
2590 (TRAP_HWBKPT): Likewise.
2591 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2593 (CLD_KILLED): Likewise.
2594 (CLD_DUMPED): Likewise.
2595 (CLD_TRAPPED): Likewise.
2596 (CLD_STOPPED): Likewise.
2597 (CLD_CONTINUED): Likewise.
2598 (POLL_IN): Likewise.
2599 (POLL_OUT): Likewise.
2600 (POLL_MSG): Likewise.
2601 (POLL_ERR): Likewise.
2602 (POLL_PRI): Likewise.
2603 (POLL_HUP): Likewise.
2604 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2605 (ILL_ILLOPN): Likewise.
2606 (ILL_ILLADR): Likewise.
2607 (ILL_ILLTRP): Likewise.
2608 (ILL_PRVOPC): Likewise.
2609 (ILL_PRVREG): Likewise.
2610 (ILL_COPROC): Likewise.
2611 (ILL_BADSTK): Likewise.
2612 (FPE_INTDIV): Likewise.
2613 (FPE_INTOVF): Likewise.
2614 (FPE_FLTDIV): Likewise.
2615 (FPE_FLTOVF): Likewise.
2616 (FPE_FLTUND): Likewise.
2617 (FPE_FLTRES): Likewise.
2618 (FPE_FLTINV): Likewise.
2619 (FPE_FLTSUB): Likewise.
2620 (SEGV_MAPERR): Likewise.
2621 (SEGV_ACCERR): Likewise.
2622 (BUS_ADRALN): Likewise.
2623 (BUS_ADRERR): Likewise.
2624 (BUS_OBJERR): Likewise.
2625 (BUS_MCEERR_AR): Likewise.
2626 (BUS_MCEERR_AO): Likewise.
2627 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2628 (TRAP_TRACE): Likewise.
2629 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2631 (CLD_KILLED): Likewise.
2632 (CLD_DUMPED): Likewise.
2633 (CLD_TRAPPED): Likewise.
2634 (CLD_STOPPED): Likewise.
2635 (CLD_CONTINUED): Likewise.
2636 (POLL_IN): Likewise.
2637 (POLL_OUT): Likewise.
2638 (POLL_MSG): Likewise.
2639 (POLL_ERR): Likewise.
2640 (POLL_PRI): Likewise.
2641 (POLL_HUP): Likewise.
2642 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2643 (ILL_ILLOPN): Likewise.
2644 (ILL_ILLADR): Likewise.
2645 (ILL_ILLTRP): Likewise.
2646 (ILL_PRVOPC): Likewise.
2647 (ILL_PRVREG): Likewise.
2648 (ILL_COPROC): Likewise.
2649 (ILL_BADSTK): Likewise.
2650 (FPE_INTDIV): Likewise.
2651 (FPE_INTOVF): Likewise.
2652 (FPE_FLTDIV): Likewise.
2653 (FPE_FLTOVF): Likewise.
2654 (FPE_FLTUND): Likewise.
2655 (FPE_FLTRES): Likewise.
2656 (FPE_FLTINV): Likewise.
2657 (FPE_FLTSUB): Likewise.
2658 (SEGV_MAPERR): Likewise.
2659 (SEGV_ACCERR): Likewise.
2660 (BUS_ADRALN): Likewise.
2661 (BUS_ADRERR): Likewise.
2662 (BUS_OBJERR): Likewise.
2663 (BUS_MCEERR_AR): Likewise.
2664 (BUS_MCEERR_AO): Likewise.
2665 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2666 (TRAP_TRACE): Likewise.
2667 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2669 (CLD_KILLED): Likewise.
2670 (CLD_DUMPED): Likewise.
2671 (CLD_TRAPPED): Likewise.
2672 (CLD_STOPPED): Likewise.
2673 (CLD_CONTINUED): Likewise.
2674 (POLL_IN): Likewise.
2675 (POLL_OUT): Likewise.
2676 (POLL_MSG): Likewise.
2677 (POLL_ERR): Likewise.
2678 (POLL_PRI): Likewise.
2679 (POLL_HUP): Likewise.
2680 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2681 (ILL_ILLOPN): Likewise.
2682 (ILL_ILLADR): Likewise.
2683 (ILL_ILLTRP): Likewise.
2684 (ILL_PRVOPC): Likewise.
2685 (ILL_PRVREG): Likewise.
2686 (ILL_COPROC): Likewise.
2687 (ILL_BADSTK): Likewise.
2688 (FPE_INTDIV): Likewise.
2689 (FPE_INTOVF): Likewise.
2690 (FPE_FLTDIV): Likewise.
2691 (FPE_FLTOVF): Likewise.
2692 (FPE_FLTUND): Likewise.
2693 (FPE_FLTRES): Likewise.
2694 (FPE_FLTINV): Likewise.
2695 (FPE_FLTSUB): Likewise.
2696 (SEGV_MAPERR): Likewise.
2697 (SEGV_ACCERR): Likewise.
2698 (BUS_ADRALN): Likewise.
2699 (BUS_ADRERR): Likewise.
2700 (BUS_OBJERR): Likewise.
2701 (BUS_MCEERR_AR): Likewise.
2702 (BUS_MCEERR_AO): Likewise.
2703 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2704 (TRAP_TRACE): Likewise.
2705 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2707 (CLD_KILLED): Likewise.
2708 (CLD_DUMPED): Likewise.
2709 (CLD_TRAPPED): Likewise.
2710 (CLD_STOPPED): Likewise.
2711 (CLD_CONTINUED): Likewise.
2712 (POLL_IN): Likewise.
2713 (POLL_OUT): Likewise.
2714 (POLL_MSG): Likewise.
2715 (POLL_ERR): Likewise.
2716 (POLL_PRI): Likewise.
2717 (POLL_HUP): Likewise.
2718 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2719 (ILL_ILLOPN): Likewise.
2720 (ILL_ILLADR): Likewise.
2721 (ILL_ILLTRP): Likewise.
2722 (ILL_PRVOPC): Likewise.
2723 (ILL_PRVREG): Likewise.
2724 (ILL_COPROC): Likewise.
2725 (ILL_BADSTK): Likewise.
2726 (ILL_DBLFLT): Likewise.
2727 (ILL_HARDWALL): Likewise.
2728 (FPE_INTDIV): Likewise.
2729 (FPE_INTOVF): Likewise.
2730 (FPE_FLTDIV): Likewise.
2731 (FPE_FLTOVF): Likewise.
2732 (FPE_FLTUND): Likewise.
2733 (FPE_FLTRES): Likewise.
2734 (FPE_FLTINV): Likewise.
2735 (FPE_FLTSUB): Likewise.
2736 (SEGV_MAPERR): Likewise.
2737 (SEGV_ACCERR): Likewise.
2738 (BUS_ADRALN): Likewise.
2739 (BUS_ADRERR): Likewise.
2740 (BUS_OBJERR): Likewise.
2741 (BUS_MCEERR_AR): Likewise.
2742 (BUS_MCEERR_AO): Likewise.
2743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2744 (TRAP_TRACE): Likewise.
2745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2747 (CLD_KILLED): Likewise.
2748 (CLD_DUMPED): Likewise.
2749 (CLD_TRAPPED): Likewise.
2750 (CLD_STOPPED): Likewise.
2751 (CLD_CONTINUED): Likewise.
2752 (POLL_IN): Likewise.
2753 (POLL_OUT): Likewise.
2754 (POLL_MSG): Likewise.
2755 (POLL_ERR): Likewise.
2756 (POLL_PRI): Likewise.
2757 (POLL_HUP): Likewise.
2758 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2759 (ILL_ILLOPN): Likewise.
2760 (ILL_ILLADR): Likewise.
2761 (ILL_ILLTRP): Likewise.
2762 (ILL_PRVOPC): Likewise.
2763 (ILL_PRVREG): Likewise.
2764 (ILL_COPROC): Likewise.
2765 (ILL_BADSTK): Likewise.
2766 (FPE_INTDIV): Likewise.
2767 (FPE_INTOVF): Likewise.
2768 (FPE_FLTDIV): Likewise.
2769 (FPE_FLTOVF): Likewise.
2770 (FPE_FLTUND): Likewise.
2771 (FPE_FLTRES): Likewise.
2772 (FPE_FLTINV): Likewise.
2773 (FPE_FLTSUB): Likewise.
2774 (SEGV_MAPERR): Likewise.
2775 (SEGV_ACCERR): Likewise.
2776 (BUS_ADRALN): Likewise.
2777 (BUS_ADRERR): Likewise.
2778 (BUS_OBJERR): Likewise.
2779 (BUS_MCEERR_AR): Likewise.
2780 (BUS_MCEERR_AO): Likewise.
2781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2782 (TRAP_TRACE): Likewise.
2783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2785 (CLD_KILLED): Likewise.
2786 (CLD_DUMPED): Likewise.
2787 (CLD_TRAPPED): Likewise.
2788 (CLD_STOPPED): Likewise.
2789 (CLD_CONTINUED): Likewise.
2790 (POLL_IN): Likewise.
2791 (POLL_OUT): Likewise.
2792 (POLL_MSG): Likewise.
2793 (POLL_ERR): Likewise.
2794 (POLL_PRI): Likewise.
2795 (POLL_HUP): Likewise.
2796 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2797 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2800 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2801 before #include of <time.h>.
2802 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2803 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2804 (test-xfail-UNIX98/sched.h/conform): Likewise.
2806 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2808 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2809 error absence of trapping exception support.
2810 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2812 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2814 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2815 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2816 * timezone/Makefile (testdata): Move definition above include of
2818 (test-zones): New variable.
2819 (tests-special): Add zone files.
2820 (build-testdata): Use $(evaluate-test).
2822 * elf/Makefile (tests-special): Rename tests to end with .out.
2823 ($(objpfx)noload-mem): Likewise.
2824 ($(objpfx)tst-leaks1-mem): Likewise.
2825 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2826 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2827 $(objpfx)test-iconvconfig.out.
2828 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2829 set -e inside subshell and redirect output to file.
2830 * iconvdata/Makefile (generated): Rename tests to end with .out.
2832 (tests-special): Rename tests to end with .out.
2833 ($(objpfx)mtrace-tst-loading): Likewise.
2834 * intl/Makefile (generated): Likewise.
2835 (tests-special): Likewise.
2836 ($(objpfx)mtrace-tst-gettext): Likewise.
2837 * misc/Makefile (generated): Likewise.
2838 (tests-special): Likewise.
2839 ($(objpfx)tst-error1-mem): Likewise.
2840 * nptl/Makefile (tests-special): Likewise.
2841 ($(objpfx)tst-stack3-mem): Likewise.
2842 (generated): Likewise.
2843 * posix/Makefile (generated): Likewise.
2844 (tests-special): Likewise.
2845 (xtests-special): Likewise.
2846 ($(objpfx)tst-fnmatch-mem): Likewise.
2847 ($(objpfx)bug-regex2-mem): Likewise.
2848 ($(objpfx)bug-regex14-mem): Likewise.
2849 ($(objpfx)bug-regex21-mem): Likewise.
2850 ($(objpfx)bug-regex31-mem): Likewise.
2851 ($(objpfx)tst-vfork3-mem): Likewise.
2852 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2853 ($(objpfx)tst-pcre-mem): Likewise.
2854 ($(objpfx)tst-boost-mem): Likewise.
2855 ($(objpfx)bug-ga2-mem): Likewise.
2856 ($(objpfx)bug-glob2-mem): Likewise.
2857 * resolv/Makefile (generate): Likewise.
2858 (tests-special): Likewise.
2859 (xtests-special): Likewise.
2860 (generated): Likewise.
2861 ($(objpfx)mtrace-tst-leaks): Likewise.
2862 ($(objpfx)mtrace-tst-leaks2): Likewise.
2864 * scripts/merge-test-results.sh: New file.
2865 * Makefile (tests-special-notdir): New variable.
2866 (tests): Run merge-test-results.sh.
2868 * Rules (tests-special-notdir): New variable.
2869 (xtests-special-notdir): Likewise.
2870 (tests): Run merge-test-results.sh
2873 * Makeconfig (test-xfail-name): New variable.
2874 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2875 compute variable name for expected failures.
2876 * conform/Makefile (conformtest-headers-data): New variable.
2877 (conformtest-standards): Likewise.
2878 (conformtest-headers-ISO): Likewise.
2879 (conformtest-headers-ISO99): Likewise.
2880 (conformtest-headers-ISO11): Likewise.
2881 (conformtest-headers-POSIX): Likewise.
2882 (conformtest-headers-XPG3): Likewise.
2883 (conformtest-headers-XPG4): Likewise.
2884 (conformtest-headers-UNIX98): Likewise.
2885 (conformtest-headers-XOPEN2K): Likewise.
2886 (conformtest-headers-POSIX2008): Likewise.
2887 (conformtest-headers-XOPEN2K8): Likewise.
2888 (conformtest-header-list-base): Likewise.
2889 (conformtest-header-list-tests): Likewise.
2890 (conformtest-header-base): Likewise.
2891 (conformtest-header-tests): Likewise.
2892 (tests-special): Add $(conformtest-header-list-tests). If
2893 [$(fast-check) && !$(cross-compiling)], add
2894 $(conformtest-header-tests) instead of
2895 $(objpfx)run-conformtest.out.
2896 (generated): Add $(conformtest-header-list-base). If
2897 [$(fast-check) && !$(cross-compiling)], add
2898 $(conformtest-header-base). Remove previous setting.
2899 ($(conformtest-header-list-tests)): New target.
2900 (test-xfail-run-conformtest): Remove variable.
2901 ($(objpfx)run-conformtest.out): Remove target.
2902 (test-xfail-ISO11/complex.h/conform): New variable.
2903 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2904 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2905 (test-xfail-XPG3/varargs.h/conform): Likewise.
2906 (test-xfail-XPG4/varargs.h/conform): Likewise.
2907 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2908 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2909 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2910 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2911 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2912 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2913 (test-xfail-XPG3/ftw.h/conform): Likewise.
2914 (test-xfail-XPG3/grp.h/conform): Likewise.
2915 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2916 (test-xfail-XPG3/limits.h/conform): Likewise.
2917 (test-xfail-XPG3/pwd.h/conform): Likewise.
2918 (test-xfail-XPG3/search.h/conform): Likewise.
2919 (test-xfail-XPG3/signal.h/conform): Likewise.
2920 (test-xfail-XPG3/stdio.h/conform): Likewise.
2921 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2922 (test-xfail-XPG3/string.h/conform): Likewise.
2923 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2924 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2925 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2926 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2927 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2928 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2929 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2930 (test-xfail-XPG3/termios.h/conform): Likewise.
2931 (test-xfail-XPG3/time.h/conform): Likewise.
2932 (test-xfail-XPG3/unistd.h/conform): Likewise.
2933 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2934 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2935 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2936 (test-xfail-XPG4/netdb.h/conform): Likewise.
2937 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2938 (test-xfail-XPG4/signal.h/conform): Likewise.
2939 (test-xfail-XPG4/stdio.h/conform): Likewise.
2940 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2941 (test-xfail-XPG4/stropts.h/conform): Likewise.
2942 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2943 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2944 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2945 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2946 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2947 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2948 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2949 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2950 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2951 (test-xfail-XPG4/termios.h/conform): Likewise.
2952 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2953 (test-xfail-XPG4/unistd.h/conform): Likewise.
2954 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2955 (test-xfail-POSIX/sched.h/conform): Likewise.
2956 (test-xfail-POSIX/signal.h/conform): Likewise.
2957 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2958 (test-xfail-POSIX/tar.h/conform): Likewise.
2959 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2960 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2961 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2962 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2963 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2964 (test-xfail-UNIX98/sched.h/conform): Likewise.
2965 (test-xfail-UNIX98/signal.h/conform): Likewise.
2966 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2967 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2968 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2969 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2970 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2971 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2972 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2973 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2974 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2975 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2976 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2977 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2978 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2979 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2980 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2981 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2982 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2983 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2984 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2985 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2986 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2987 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2988 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2989 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2990 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2991 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2992 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2993 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2994 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2995 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2996 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2997 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2998 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2999 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3000 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3001 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3002 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3003 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3004 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3005 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3006 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3007 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3008 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3009 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3010 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3011 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3012 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3013 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3014 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3015 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3016 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3017 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3018 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3019 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3020 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3021 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3022 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3023 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3024 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3025 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3026 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3027 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3028 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3029 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3030 (conformtest-cc-flags): Likewise.
3031 ($(conformtest-header-tests): New target.
3032 * conform/check-header-lists.sh: New file.
3033 * conform/run-conformtest.sh: Remove.
3035 * conform/conformtest.pl: Allow ' and \ in values given for
3037 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3039 [POSIX] (sys/types.h): Likewise.
3040 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3042 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3044 * conform/data/signal.h-data (SIGIO): Remove expectation.
3045 [XPG3] (SIGBUS): Do not expect.
3046 [POSIX || XPG3] (SIGPOLL): Likewise.
3047 [POSIX || XPG3] (SIGPROF): Likewise.
3048 [POSIX || XPG3] (SIGSYS): Likewise.
3049 [XPG3] (SIGTRAP): Likewise.
3050 [POSIX || XPG3] (SIGURG): Likewise.
3051 [POSIX || XPG3] (SIGVTALRM): Likewise.
3052 [POSIX || XPG3] (SIGXCPU): Likewise.
3053 [POSIX || XPG3] (SIGXFSZ): Likewise.
3054 [POSIX] (SA_SIGINFO): Expect.
3055 [XPG3] (siginfo_t): Do not expect type or contents.
3056 [POSIX] (si_pid): Do not expect element.
3057 [POSIX] (si_uid): Likewise.
3058 [POSIX] (si_addr): Likewise.
3059 [POSIX] (si_status): Likewise.
3060 [POSIX] (si_band): Likewise.
3061 [XPG4] (si_value): Likewise.
3062 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3063 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3064 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3065 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3066 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3067 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3068 [POSIX || XPG3] (ILL_COPROC): Likewise.
3069 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3070 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3071 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3072 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3073 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3074 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3075 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3076 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3077 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3078 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3079 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3080 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3081 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3082 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3083 [POSIX || XPG3] (CLD_EXITED): Likewise.
3084 [POSIX || XPG3] (CLD_KILLED): Likewise.
3085 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3086 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3087 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3088 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3089 [POSIX || XPG3] (POLL_IN): Likewise.
3090 [POSIX || XPG3] (POLL_OUT): Likewise.
3091 [POSIX || XPG3] (POLL_MSG): Likewise.
3092 [POSIX || XPG3] (POLL_ERR): Likewise.
3093 [POSIX || XPG3] (POLL_PRI): Likewise.
3094 [POSIX || XPG3] (POLL_HUP): Likewise.
3095 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3096 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3097 (SIG*): Do not allow.
3098 [XPG3] (si_*): Likewise.
3099 [XPG3] (SI_*): Likewise.
3100 [XPG3 || XPG4] (sigev_*): Likewise.
3101 [XPG3 || XPG4] (SIGEV_*): Likewise.
3102 [XPG3 || XPG4] (sival_*): Likewise.
3103 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3104 [POSIX || XPG3] (BUS_*): Likewise.
3105 [POSIX || XPG3] (CLD_*): Likewise.
3106 [POSIX || XPG3] (FPE_*): Likewise.
3107 [POSIX || XPG3] (ILL_*): Likewise.
3108 [POSIX || XPG3] (POLL_*): Likewise.
3109 [POSIX || XPG3] (SEGV_*): Likewise.
3110 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3111 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3112 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3113 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3114 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3115 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3116 Specify type and value.
3117 (TVERSLEN): Likewise.
3118 (REGTYPE): Likewise.
3119 (AREGTYPE): Likewise.
3120 (LNKTYPE): Likewise.
3121 (SYMTYPE): Likewise.
3122 (CHRTYPE): Likewise.
3123 (BLKTYPE): Likewise.
3124 (DIRTYPE): Likewise.
3125 (FIFOTYPE): Likewise.
3126 (CONTTYPE): Likewise.
3131 (TUWRITE): Likewise.
3134 (TGWRITE): Likewise.
3137 (TOWRITE): Likewise.
3139 [POSIX] (TSVTX): Expect constant.
3141 2014-03-06 Joseph Myers <joseph@codesourcery.com>
3143 * Makefile (tests): Change dependencies to ....
3144 (tests-special): ... additions to this variable.
3145 (tests): Depend on $(tests-special).
3146 * Makerules (check-abi-list): New variable.
3147 (check-abi): Depend on $(check-abi-list).
3148 [$(subdir) = elf] (tests-special): Add
3149 $(objpfx)check-abi-libc.out.
3150 [$(build-shared) = yes && subdir] (tests-special): Add
3152 [$(build-shared) = yes && subdir] (tests): Do not depend on
3154 * Rules (tests): Depend on $(tests-special).
3155 (xtests): Depend on $(xtests-special).
3156 * catgets/Makefile (tests): Change dependencies to ....
3157 (tests-special): ... additions to this variable.
3158 * conform/Makefile (tests): Change dependencies to ....
3159 (tests-special): ... additions to this variable.
3160 * elf/Makefile (tests): Change dependencies to ....
3161 (tests-special): ... additions to this variable.
3162 * grp/Makefile (tests): Change dependencies to ....
3163 (tests-special): ... additions to this variable.
3164 * iconv/Makefile (xtests): Change dependencies to ....
3165 (xtests-special): ... additions to this variable.
3166 * iconvdata/Makefile (tests): Change dependencies to ....
3167 (tests-special): ... additions to this variable.
3168 * intl/Makefile (tests): Change dependencies to ....
3169 (tests-special): ... additions to this variable. Also add
3170 $(objpfx)tst-gettext.out.
3171 * io/Makefile (tests): Change dependencies to ....
3172 (tests-special): ... additions to this variable.
3173 * libio/Makefile (tests): Change dependencies to ....
3174 (tests-special): ... additions to this variable.
3175 * malloc/Makefile (tests): Change dependencies to ....
3176 (tests-special): ... additions to this variable.
3177 * misc/Makefile (tests): Change dependencies to ....
3178 (tests-special): ... additions to this variable.
3179 * nptl/Makefile (tests): Change dependencies to ....
3180 (tests-special): ... additions to this variable.
3181 * nptl_db/Makefile (tests): Change dependencies to ....
3182 (tests-special): ... additions to this variable.
3183 * posix/Makefile (tests): Change dependencies to ....
3184 (tests-special): ... additions to this variable.
3185 (xtests): Change dependencies to ....
3186 (xtests-special): ... additions to this variable.
3187 * resolv/Makefile (tests): Change dependencies to ....
3188 (tests-special): ... additions to this variable.
3189 (xtests): Change dependencies to ....
3190 (xtests-special): ... additions to this variable.
3191 * stdio-common/Makefile (tests): Change dependencies to ....
3192 (tests-special): ... additions to this variable.
3193 (do-tst-unbputc): Remove target.
3194 (do-tst-printf): Likewise.
3195 * stdlib/Makefile (tests): Change dependencies to ....
3196 (tests-special): ... additions to this variable.
3197 * string/Makefile (tests): Change dependencies to ....
3198 (tests-special): ... additions to this variable.
3199 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3200 (tests-special): ... additions to this variable.
3202 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3204 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3206 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3207 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3209 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3210 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3211 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3212 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3213 * conform/data/libgen.h-data [XPG3]: Likewise.
3214 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3215 * conform/data/ndbm.h-data [XPG3]: Likewise.
3216 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3217 * conform/data/netdb.h-data [XPG3]: Likewise.
3218 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3219 * conform/data/poll.h-data [XPG3]: Likewise.
3220 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3221 * conform/data/strings.h-data [XPG3]: Likewise.
3222 * conform/data/stropts.h-data [XPG3]: Likewise.
3223 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3224 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3225 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3227 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3228 * conform/data/sys/time.h-data [XPG3]: Likewise.
3229 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3230 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3231 * conform/data/sys/un.h-data [XPG3]: Likewise.
3232 * conform/data/syslog.h-data [XPG3]: Likewise.
3233 * conform/data/ucontext.h-data [XPG3]: Likewise.
3234 * conform/data/utmpx.h-data [XPG3]: Likewise.
3235 * conform/data/varargs.h-data [UNIX98]: Enable file.
3237 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3239 * math/libm-test.inc (struct test_f_f_data): Move expected results
3240 into structure for each rounding mode.
3241 (struct test_ff_f_data): Likewise.
3242 (struct test_ff_f_data_nexttoward): Likewise.
3243 (struct test_fi_f_data): Likewise.
3244 (struct test_fl_f_data): Likewise.
3245 (struct test_if_f_data): Likewise.
3246 (struct test_fff_f_data): Likewise.
3247 (struct test_c_f_data): Likewise.
3248 (struct test_f_f1_data): Likewise.
3249 (struct test_fF_f1_data): Likewise.
3250 (struct test_ffI_f1_data): Likewise.
3251 (struct test_c_c_data): Likewise.
3252 (struct test_cc_c_data): Likewise.
3253 (struct test_f_i_data): Likewise.
3254 (struct test_ff_i_data): Likewise.
3255 (struct test_f_l_data): Likewise.
3256 (struct test_f_L_data): Likewise.
3257 (struct test_fFF_11_data): Likewise.
3259 (RM_FE_DOWNWARD): Likewise.
3260 (RM_FE_TONEAREST): Likewise.
3261 (RM_FE_TOWARDZERO): Likewise.
3262 (RM_FE_UPWARD): Likewise.
3263 (RUN_TEST_LOOP_f_f): Update references to expected results.
3264 (RUN_TEST_LOOP_2_f): Likewise.
3265 (RUN_TEST_LOOP_fff_f): Likewise.
3266 (RUN_TEST_LOOP_c_f): Likewise.
3267 (RUN_TEST_LOOP_f_f1): Likewise.
3268 (RUN_TEST_LOOP_fF_f1): Likewise.
3269 (RUN_TEST_LOOP_fI_f1): Likewise.
3270 (RUN_TEST_LOOP_ffI_f1): Likewise.
3271 (RUN_TEST_LOOP_c_c): Likewise.
3272 (RUN_TEST_LOOP_cc_c): Likewise.
3273 (RUN_TEST_LOOP_f_i): Likewise.
3274 (RUN_TEST_LOOP_f_i_tg): Likewise.
3275 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3276 (RUN_TEST_LOOP_f_b): Likewise.
3277 (RUN_TEST_LOOP_f_b_tg): Likewise.
3278 (RUN_TEST_LOOP_f_l): Likewise.
3279 (RUN_TEST_LOOP_f_L): Likewise.
3280 (RUN_TEST_LOOP_fFF_11): Likewise.
3281 * math/gen-libm-test.pl (parse_args): Output four copies of
3282 expected results for each test.
3284 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3285 (__ASSUME_UTIMES): Remove.
3286 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3287 (__ASSUME_UTIMES): Likewise.
3289 * math/gen-auto-libm-tests.c: Update comment on output format.
3290 (output_for_one_input_case): Generate before-rounding and
3291 after-rounding information as conditions on output flags not
3292 floating-point format.
3293 * math/auto-libm-test-out: Regenerated.
3294 * math/gen-libm-test.pl (cond_value): New function.
3295 (or_cond_value): Use cond_value.
3296 (generate_testfile): Handle conditional exceptions.
3298 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3300 * math/libm-test.inc (max_valid_error): New variable.
3301 (init_max_error): Take new argument specifying whether function
3302 results are exactly determined. Set max_valid_error and bound
3303 other variables for errors based on this argument.
3304 (set_max_error): Do not record results above max_valid_error.
3305 (check_float_internal): Only accept errors of up to 0.5ulps if
3306 also at most max_valid_error.
3307 (START): Take new argument EXACT and pass it to init_max_error.
3308 (acos_test): Update call to START.
3309 (acos_test_tonearest): Likewise.
3310 (acos_test_towardzero): Likewise.
3311 (acos_test_downward): Likewise.
3312 (acos_test_upward): Likewise.
3313 (acosh_test): Likewise.
3314 (asin_test): Likewise.
3315 (asin_test_tonearest): Likewise.
3316 (asin_test_towardzero): Likewise.
3317 (asin_test_downward): Likewise.
3318 (asin_test_upward): Likewise.
3319 (asinh_test): Likewise.
3320 (atan_test): Likewise.
3321 (atanh_test): Likewise.
3322 (atan2_test): Likewise.
3323 (cabs_test): Likewise.
3324 (cacos_test): Likewise.
3325 (cacosh_test): Likewise.
3326 (carg_test): Likewise.
3327 (casin_test): Likewise.
3328 (casinh_test): Likewise.
3329 (catan_test): Likewise.
3330 (catanh_test): Likewise.
3331 (cbrt_test): Likewise.
3332 (ccos_test): Likewise.
3333 (ccosh_test): Likewise.
3334 (ceil_test): Likewise.
3335 (cexp_test): Likewise.
3336 (cimag_test): Likewise.
3337 (clog_test): Likewise.
3338 (clog10_test): Likewise.
3339 (conj_test): Likewise.
3340 (copysign_test): Likewise.
3341 (cos_test): Likewise.
3342 (cos_test_tonearest): Likewise.
3343 (cos_test_towardzero): Likewise.
3344 (cos_test_downward): Likewise.
3345 (cos_test_upward): Likewise.
3346 (cosh_test): Likewise.
3347 (cosh_test_tonearest): Likewise.
3348 (cosh_test_towardzero): Likewise.
3349 (cosh_test_downward): Likewise.
3350 (cosh_test_upward): Likewise.
3351 (cpow_test): Likewise.
3352 (cproj_test): Likewise.
3353 (creal_test): Likewise.
3354 (csin_test): Likewise.
3355 (csinh_test): Likewise.
3356 (csqrt_test): Likewise.
3357 (ctan_test): Likewise.
3358 (ctan_test_tonearest): Likewise.
3359 (ctan_test_towardzero): Likewise.
3360 (ctan_test_downward): Likewise.
3361 (ctan_test_upward): Likewise.
3362 (ctanh_test): Likewise.
3363 (ctanh_test_tonearest): Likewise.
3364 (ctanh_test_towardzero): Likewise.
3365 (ctanh_test_downward): Likewise.
3366 (ctanh_test_upward): Likewise.
3367 (erf_test): Likewise.
3368 (erfc_test): Likewise.
3369 (exp_test): Likewise.
3370 (exp_test_tonearest): Likewise.
3371 (exp_test_towardzero): Likewise.
3372 (exp_test_downward): Likewise.
3373 (exp_test_upward): Likewise.
3374 (exp10_test): Likewise.
3375 (exp10_test_tonearest): Likewise.
3376 (exp10_test_towardzero): Likewise.
3377 (exp10_test_downward): Likewise.
3378 (exp10_test_upward): Likewise.
3379 (pow10_test): Likewise.
3380 (exp2_test): Likewise.
3381 (expm1_test): Likewise.
3382 (expm1_test_tonearest): Likewise.
3383 (expm1_test_towardzero): Likewise.
3384 (expm1_test_downward): Likewise.
3385 (expm1_test_upward): Likewise.
3386 (fabs_test): Likewise.
3387 (fdim_test): Likewise.
3388 (floor_test): Likewise.
3389 (fma_test): Likewise.
3390 (fma_test_towardzero): Likewise.
3391 (fma_test_downward): Likewise.
3392 (fma_test_upward): Likewise.
3393 (fmax_test): Likewise.
3394 (fmin_test): Likewise.
3395 (fmod_test): Likewise.
3396 (fpclassify_test): Likewise.
3397 (frexp_test): Likewise.
3398 (hypot_test): Likewise.
3399 (ilogb_test): Likewise.
3400 (isfinite_test): Likewise.
3401 (finite_test): Likewise.
3402 (isgreater_test): Likewise.
3403 (isgreaterequal_test): Likewise.
3404 (isinf_test): Likewise.
3405 (isless_test): Likewise.
3406 (islessequal_test): Likewise.
3407 (islessgreater_test): Likewise.
3408 (isnan_test): Likewise.
3409 (isnormal_test): Likewise.
3410 (issignaling_test): Likewise.
3411 (isunordered_test): Likewise.
3412 (j0_test): Likewise.
3413 (j1_test): Likewise.
3414 (jn_test): Likewise.
3415 (ldexp_test): Likewise.
3416 (lgamma_test): Likewise.
3417 (gamma_test): Likewise.
3418 (lrint_test): Likewise.
3419 (lrint_test_tonearest): Likewise.
3420 (lrint_test_towardzero): Likewise.
3421 (lrint_test_downward): Likewise.
3422 (lrint_test_upward): Likewise.
3423 (llrint_test): Likewise.
3424 (llrint_test_tonearest): Likewise.
3425 (llrint_test_towardzero): Likewise.
3426 (llrint_test_downward): Likewise.
3427 (llrint_test_upward): Likewise.
3428 (log_test): Likewise.
3429 (log10_test): Likewise.
3430 (log1p_test): Likewise.
3431 (log2_test): Likewise.
3432 (logb_test): Likewise.
3433 (logb_test_downward): Likewise.
3434 (lround_test): Likewise.
3435 (llround_test): Likewise.
3436 (modf_test): Likewise.
3437 (nearbyint_test): Likewise.
3438 (nextafter_test): Likewise.
3439 (nexttoward_test): Likewise.
3440 (pow_test): Likewise.
3441 (pow_test_tonearest): Likewise.
3442 (pow_test_towardzero): Likewise.
3443 (pow_test_downward): Likewise.
3444 (pow_test_upward): Likewise.
3445 (remainder_test): Likewise.
3446 (drem_test): Likewise.
3447 (remainder_test_tonearest): Likewise.
3448 (drem_test_tonearest): Likewise.
3449 (remainder_test_towardzero): Likewise.
3450 (drem_test_towardzero): Likewise.
3451 (remainder_test_downward): Likewise.
3452 (drem_test_downward): Likewise.
3453 (remainder_test_upward): Likewise.
3454 (drem_test_upward): Likewise.
3455 (remquo_test): Likewise.
3456 (rint_test): Likewise.
3457 (rint_test_tonearest): Likewise.
3458 (rint_test_towardzero): Likewise.
3459 (rint_test_downward): Likewise.
3460 (rint_test_upward): Likewise.
3461 (round_test): Likewise.
3462 (scalb_test): Likewise.
3463 (scalbn_test): Likewise.
3464 (scalbln_test): Likewise.
3465 (signbit_test): Likewise.
3466 (sin_test): Likewise.
3467 (sin_test_tonearest): Likewise.
3468 (sin_test_towardzero): Likewise.
3469 (sin_test_downward): Likewise.
3470 (sin_test_upward): Likewise.
3471 (sincos_test): Likewise.
3472 (sinh_test): Likewise.
3473 (sinh_test_tonearest): Likewise.
3474 (sinh_test_towardzero): Likewise.
3475 (sinh_test_downward): Likewise.
3476 (sinh_test_upward): Likewise.
3477 (sqrt_test): Likewise.
3478 (sqrt_test_tonearest): Likewise.
3479 (sqrt_test_towardzero): Likewise.
3480 (sqrt_test_downward): Likewise.
3481 (sqrt_test_upward): Likewise.
3482 (tan_test): Likewise.
3483 (tan_test_tonearest): Likewise.
3484 (tan_test_towardzero): Likewise.
3485 (tan_test_downward): Likewise.
3486 (tan_test_upward): Likewise.
3487 (tanh_test): Likewise.
3488 (tgamma_test): Likewise.
3489 (trunc_test): Likewise.
3490 (y0_test): Likewise.
3491 (y1_test): Likewise.
3492 (yn_test): Likewise.
3493 (significand_test): Likewise.
3495 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3496 individual tests in comment.
3497 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3498 (prev_max_error): New variable.
3499 (prev_real_max_error): Likewise.
3500 (prev_imag_max_error): Likewise.
3501 (compare_ulp_data): Don't refer to test names in comment.
3502 (find_test_ulps): Remove function.
3503 (find_function_ulps): Likewise.
3504 (find_complex_function_ulps): Likewise.
3505 (init_max_error): Take function name as argument. Look up ulps
3507 (print_ulps): Remove function.
3508 (print_max_error): Use prev_max_error instead of calling
3510 (print_complex_max_error): Use prev_real_max_error and
3511 prev_imag_max_error instead of calling find_complex_function_ulps.
3512 (check_float_internal): Take max_ulp parameter instead of calling
3513 find_test_ulps. Don't call print_ulps.
3514 (check_float): Update call to check_float_internal.
3515 (check_complex): Update calls to check_float_internal.
3516 (START): Pass argument to init_max_error.
3517 * math/gen-libm-test.pl (%results): Don't include "kind"
3519 (parse_ulps): Don't handle ulps of individual tests.
3520 (print_ulps_file): Likewise.
3521 (output_ulps): Likewise.
3522 * math/README.libm-test: Update.
3523 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3525 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3526 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3527 * sysdeps/arm/libm-test-ulps: Likewise.
3528 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3529 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3530 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3531 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3532 * sysdeps/microblaze/libm-test-ulps: Likewise.
3533 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3534 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3535 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3536 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3537 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3538 * sysdeps/sh/libm-test-ulps: Likewise.
3539 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3540 * sysdeps/tile/libm-test-ulps: Likewise.
3541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3543 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3545 * math/libm-test.inc (print_complex_max_error): Check separately
3546 whether real and imaginary errors are within allowed range and
3547 pass 0 to print_complex_function_ulps instead of value within
3550 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3552 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3554 (get_handles_fopen): Likewise.
3555 (do_write_test): Likewise.
3557 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3559 * libio/fileops.c (do_ftell): Use cached offset when
3561 * libio/iofwide.c (do_ftell_wide): Likewise.
3562 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3564 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3567 * libio/libioP.h (get_file_offset): New function.
3568 * libio/fileops.c (get_file_offset): Likewise.
3569 (do_ftell): Likewise.
3570 (_IO_new_file_seekoff): Split out ftell logic.
3571 * libio/wfileops.c (do_ftell_wide): Likewise.
3572 (_IO_wfile_seekoff): Split out ftell logic.
3573 * libio/tst-ftell-active-handler.c: New test case.
3574 * libio/Makefile (tests): Add it.
3576 2014-03-03 Roland McGrath <roland@hack.frob.com>
3578 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3579 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3581 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3584 * nscd/connections.c (nscd_init): Call do_exit.
3585 (start_threads): Call do_exit and notify_parent.
3586 (begin_drop_privileges): Call do_exit.
3587 (finish_drop_privileges): Likewise.
3588 * nscd/selinux.c (preserve_capabilities): Likewise.
3589 (install_real_capabilities): Likewise.
3590 (nscd_selinux_enabled): Likewise.
3591 (avc_create_thread): Likewise.
3592 (avc_alloc_lock): Likewise.
3593 (nscd_avc_init): Likewise.
3594 * nscd/nscd.c (parent_fd): New static variable.
3595 (main): Create a pipe between parent and child processes.
3596 Skip closing parent_fd.
3597 (monitor_child): New function.
3598 (do_exit): Likewise.
3599 (notify_parent): Likewise.
3600 * nscd/nscd.h (notify_parent): Likewise.
3601 (do_exit): Likewise.
3603 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3605 * malloc/malloc.c (__libc_calloc): Revert last change.
3607 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3611 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3613 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3617 (__libc_ifunc_impl_list): Likewise.
3618 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3619 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3620 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3621 * string/strrchr.c: Define STRRCHR.
3623 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3625 * benchtest/bench-strtok.c (simple_strtok): Delete.
3626 (strtok_string): Use as benchmark.
3627 * string/strtok (STRTOK): New macro.
3629 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3631 * manual/threads.texi: Add header and standard comments to all
3634 * elf/dl-lookup.c (check_match): New function.
3635 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3636 (do_lookup_x): Remove nested function check_match. Use non-nested
3637 function check_match.
3639 2014-02-28 Roland McGrath <roland@hack.frob.com>
3641 * csu/Makefile (generated, before-compile): Use += rather than =.
3642 * catgets/Makefile (generated, generated-dirs): Likewise.
3643 * debug/Makefile (generated): Likewise.
3644 * dlfcn/Makefile (generated): Likewise.
3645 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3646 * iconvdata/Makefile (before-compile, generated): Likewise.
3647 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3648 * libio/Makefile (generated): Likewise.
3649 * malloc/Makefile (generated): Likewise.
3650 * manual/Makefile (generated, generated-dirs): Likewise.
3651 * misc/Makefile (generated): Likewise.
3652 * posix/Makefile (generated): Likewise.
3653 * resolv/Makefile (generated): Likewise.
3654 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3655 * timezone/Makefile (generated, generated-dirs): Likewise.
3657 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3659 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3661 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3662 power8 implementation.
3663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3664 file: POWER8 llround ifunc implementation.
3665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3666 (__lllround): Add POWER8 implementation.
3667 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3668 POWER8 llround implementation.
3670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3671 power8 implementation.
3672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3673 file: POWER8 llrint ifunc implementation.
3674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3675 Add POWER8 implementation.
3676 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3677 POWER8 llrint implementation.
3679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3680 power8 implementation.
3681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3682 file: POWER8 finite ifunc implementation.
3683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3684 Add POWER8 implementation.
3685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3687 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3688 POWER8 finite implementation.
3689 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3692 power8 implementation.
3693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3694 file: POWER8 isinf ifunc implementation.
3695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3696 POWER8 implementation.
3697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3699 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3700 isinf implementation.
3701 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3703 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3704 (INIT_ARCH): Add hwcap2 initialization.
3705 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3706 power8 implementation.
3707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3708 file: POWER8 isnan ifunc implementation.
3709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3710 POWER8 implementation.
3711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3713 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3714 isnan implementation.
3715 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3717 2014-02-27 Joey Ye <joey.ye@arm.com>
3719 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3720 (_FP_NANFRAC_Q): Set to zero.
3722 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3725 * math/auto-libm-test-in: New test inputs.
3726 * math/auto-libm-test-out: Regenerate.
3727 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3730 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3732 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3734 * scripts/evaluate-test.sh: Take new argument indicating whether
3735 failure is expected.
3736 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3737 indicating whether failure is expected.
3738 * conform/Makefile (test-xfail-run-conformtest): New variable.
3739 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3741 * posix/Makefile (test-xfail-annexc): New variable.
3742 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3744 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3746 * argp/Makefile: Include Makeconfig immediately after defining
3748 * assert/Makefile: Likewise.
3749 * benchtests/Makefile: Likewise.
3750 * catgets/Makefile: Likewise.
3751 * conform/Makefile: Likewise.
3752 * crypt/Makefile: Likewise.
3753 * csu/Makefile: Likewise.
3754 (all): Remove target.
3755 * ctype/Makefile: Include Makeconfig immediately after defining
3757 * debug/Makefile: Likewise.
3758 * dirent/Makefile: Likewise.
3759 * dlfcn/Makefile: Likewise.
3760 * gmon/Makefile: Likewise.
3761 * gnulib/Makefile: Likewise.
3762 * grp/Makefile: Likewise.
3763 * gshadow/Makefile: Likewise.
3764 * hesiod/Makefile: Likewise.
3765 * hurd/Makefile: Likewise.
3766 (all): Remove target.
3767 * iconvdata/Makefile: Include Makeconfig immediately after
3769 * inet/Makefile: Likewise.
3770 * intl/Makefile: Likewise.
3771 * io/Makefile: Likewise.
3772 * libio/Makefile: Likewise.
3773 (all): Remove target.
3774 * locale/Makefile: Include Makeconfig immediately after defining
3776 * login/Makefile: Likewise.
3777 * mach/Makefile: Likewise.
3778 (all): Remove target.
3779 * malloc/Makefile: Include Makeconfig immediately after defining
3781 (all): Remove target.
3782 * manual/Makefile: Include Makeconfig immediately after defining
3784 * math/Makefile: Likewise.
3785 * misc/Makefile: Likewise.
3786 * nis/Makefile: Likewise.
3787 * nss/Makefile: Likewise.
3788 * po/Makefile: Likewise.
3789 (all): Remove target.
3790 * posix/Makefile: Include Makeconfig immediately after defining
3792 * pwd/Makefile: Likewise.
3793 * resolv/Makefile: Likewise.
3794 * resource/Makefile: Likewise.
3795 * rt/Makefile: Likewise.
3796 * setjmp/Makefile: Likewise.
3797 * shadow/Makefile: Likewise.
3798 * signal/Makefile: Likewise.
3799 * socket/Makefile: Likewise.
3800 * soft-fp/Makefile: Likewise.
3801 * stdio-common/Makefile: Likewise.
3802 * stdlib/Makefile: Likewise.
3803 * streams/Makefile: Likewise.
3804 * string/Makefile: Likewise.
3805 * sunrpc/Makefile: Likewise.
3806 (all): Remove target.
3807 * sysvipc/Makefile: Include Makeconfig immediately after defining
3809 * termios/Makefile: Likewise.
3810 * time/Makefile: Likewise.
3811 * timezone/Makefile: Likewise.
3812 (all): Remove target.
3813 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3815 * wctype/Makefile: Likewise.
3817 2014-02-26 Steve Ellcey <sellcey@mips.com>
3819 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3820 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3821 (libc_feholdexcept_setround_mips): Ditto.
3822 (libc_feholdsetround): New.
3823 (libc_feholdsetroundf): New.
3824 (libc_feholdsetroundl): New.
3825 (libc_feupdateenv_test_mips): New.
3826 (libc_feupdateenv_test): New.
3827 (libc_feupdateenv_testf): New.
3828 (libc_feupdateenv_testl): New.
3829 (libc_feresetround): New.
3830 (libc_feresetroundf): New.
3831 (libc_feresetroundl): New.
3832 (libc_fetestexcept_mips): New.
3833 (libc_fetestexcept): New.
3834 (libc_fetestexceptf): New.
3835 (libc_fetestexceptl): New.
3837 (libc_feholdexcept_setround_mips_ctx): New.
3838 (libc_feholdexcept_setround_ctx): New.
3839 (libc_feholdexcept_setroundf_ctx): New.
3840 (libc_feholdexcept_setroundl_ctx): New.
3841 (libc_fesetenv_mips_ctx): New.
3842 (libc_fesetenv_ctx): New.
3843 (libc_fesetenv_ctxf): New.
3844 (libc_fesetenv_ctxl): New.
3845 (libc_feupdateenv_mips_ctx): New.
3846 (libc_feupdateenv_ctx): New.
3847 (libc_feupdateenvf_ctx): New.
3848 (libc_feupdateenvl_ctx): New.
3849 (libc_feholdsetround_mips_ctx): New.
3850 (libc_feholdsetround_ctx): New.
3851 (libc_feholdsetroundf_ctx): New.
3852 (libc_feholdsetroundl_ctx): New.
3853 (libc_feresetround_mips_ctx): New.
3854 (libc_feresetround_ctx): New.
3855 (libc_feresetroundf_ctx): New.
3856 (libc_feresetroundl_ctx): New.
3858 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3860 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3862 * manual/ipc.texi: New file.
3863 * manual/Makefile (chapters): Add ipc.
3864 * manual/job.texi: Add "Inter-Process Communication" to next.
3865 * manual/process.texi: Add "Inter-Process Communication" to prev.
3867 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3871 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3873 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3875 * manual/arith.texi: Fix spaces after sentences.
3876 * manual/charset.texi: Likewise.
3877 * manual/errno.texi: Likewise.
3878 * manual/install.texi: Likewise.
3879 * manual/llio.texi: Likewise.
3880 * manual/locale.texi: Likewise.
3881 * manual/maint.texi: Likewise.
3882 * manual/math.texi: Likewise.
3883 * manual/memory.texi: Likewise.
3884 * manual/message.texi: Likewise.
3885 * manual/probes.texi: Likewise.
3886 * manual/resource.texi: Likewise.
3887 * manual/signal.texi: Likewise.
3888 * manual/socket.texi: Likewise.
3889 * manual/stdio.texi: Likewise.
3890 * manual/string.texi: Likewise.
3891 * manual/time.texi: Likewise.
3892 * manual/users.texi: Likewise.
3894 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3897 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3898 _DEFAULT_SOURCE is defined.
3900 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3901 Carlos O'Donell <carlos@redhat.com>
3904 * elf/dl-tls.c (_dl_count_modids): New function.
3905 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3906 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3907 audit library and increment generation counter.
3908 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3909 * elf/tst-audit9.c: New file.
3910 * elf/tst-auditmod9a.c: New file.
3911 * elf/tst-auditmod9b.c: New file.
3912 * elf/Makefile: Add rules to build and run tst-audit9.
3914 2014-02-25 Florian Weimer <fweimer@redhat.com>
3917 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3919 2014-02-25 Will Newton <will.newton@linaro.org>
3921 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3922 (__longjmp): Restore sp and lr before restoring callee
3923 saved registers. Add longjmp and longjmp_target
3924 SystemTap probe point.
3925 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3926 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3927 Define to zero to match jmpbuf layout.
3928 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3929 (__sigsetjmp): Save sp and lr before saving callee
3930 saved registers. Add setjmp SystemTap probe point.
3932 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3934 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3936 2014-02-24 Andreas Schwab <schwab@suse.de>
3939 * elf/pldd.c (wait_for_ptrace_stop): New function.
3940 (main): Call it after attaching.
3942 2014-02-22 Roland McGrath <roland@hack.frob.com>
3944 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3945 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3946 Versions files is now verboten.
3947 * hurd/Versions (libc: GLIBC_2.0):
3948 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3949 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3950 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3951 * mach/Versions: Likewise.
3953 * csu/Versions: Remove unused %include.
3954 * resolv/Versions: Likewise.
3956 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3958 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3959 ($(objpfx)check-local-headers.out): Likewise.
3960 ($(objpfx)begin-end-check.out): Likewise.
3961 * Makerules (check-abi-%.out): Likewise.
3962 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3963 ($(objpfx)test2.cat): Likewise.
3964 ($(objpfx)de/libc.cat): Likewise.
3965 ($(objpfx)test-gencat.out): Likewise.
3966 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3967 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3968 ($(objpfx)noload-mem): Likewise.
3969 ($(objpfx)tst-pathopt.out): Likewise.
3970 ($(objpfx)tst-rtld-load-self.out): Likewise.
3971 ($(objpfx)tst-array1-cmp.out): Likewise.
3972 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3973 ($(objpfx)tst-array2-cmp.out): Likewise.
3974 ($(objpfx)tst-array3-cmp.out): Likewise.
3975 ($(objpfx)tst-array4-cmp.out): Likewise.
3976 ($(objpfx)tst-array5-cmp.out): Likewise.
3977 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3978 ($(objpfx)check-textrel.out): Likewise.
3979 ($(objpfx)check-execstack.out): Likewise.
3980 ($(objpfx)check-localplt.out): Likewise.
3981 ($(objpfx)order2-cmp.out): Likewise.
3982 ($(objpfx)tst-leaks1-mem): Likewise.
3983 ($(objpfx)tst-leaks1-static-mem): Likewise.
3984 ($(objpfx)tst-initorder-cmp.out): Likewise.
3985 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3986 ($(objpfx)tst-unused-dep.out): Likewise.
3987 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3988 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3989 * iconv/Makefile (test-iconvconfig): Likewise.
3990 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3991 ($(objpfx)iconv-test.out): Likewise.
3992 ($(objpfx)tst-tables.out): Likewise.
3993 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3994 ($(objpfx)tst-gettext.out): Likewise.
3995 ($(objpfx)tst-translit.out): Likewise.
3996 ($(objpfx)tst-gettext2.out): Likewise.
3997 ($(objpfx)tst-gettext4.out): Likewise.
3998 ($(objpfx)tst-gettext6.out): Likewise.
3999 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4000 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4001 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4002 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4003 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4004 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4005 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4006 ($(objpfx)wordexp-tst.out): Likewise.
4007 ($(objpfx)annexc.out): Likewise.
4008 ($(objpfx)tst-fnmatch-mem): Likewise.
4009 ($(objpfx)bug-regex2-mem): Likewise.
4010 ($(objpfx)bug-regex14-mem): Likewise.
4011 ($(objpfx)bug-regex21-mem): Likewise.
4012 ($(objpfx)bug-regex31-mem): Likewise.
4013 ($(objpfx)tst-vfork3-mem): Likewise.
4014 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4015 ($(objpfx)tst-pcre-mem): Likewise.
4016 ($(objpfx)tst-boost-mem): Likewise.
4017 ($(objpfx)tst-getconf.out): Likewise.
4018 ($(objpfx)bug-ga2-mem): Likewise.
4019 ($(objpfx)bug-glob2-mem): Likewise.
4020 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4021 ($(objpfx)mtrace-tst-leaks2): Likewise.
4022 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4023 ($(objpfx)tst-printf.out): Likewise.
4024 ($(objpfx)tst-setvbuf1.out): Likewise.
4025 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4026 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4027 ($(objpfx)tst-fmtmsg.out): Likewise.
4028 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4029 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4031 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4032 * bits/sigaction.h [__USE_MISC]: Likewise.
4033 * bits/waitstatus.h: Update #endif comments.
4034 * ctype/ctype.h: Likewise.
4035 * dirent/dirent.h: Likewise.
4036 [__USE_MISC]: Remove redundant conditionals.
4037 * grp/grp.h: Update #endif comments.
4038 [__USE_GNU]: Remove redundant conditionals.
4039 [__USE_MISC]: Likewise.
4040 * inet/netinet/in.h [__USE_GNU]: Likewise.
4041 * io/sys/stat.h [__USE_MISC]: Likewise.
4042 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4043 * libio/bits/stdio.h: Update #endif comments.
4044 [__USE_MISC]: Remove redundant conditionals.
4045 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4046 * libio/stdio.h: Update #endif comments.
4047 [__USE_MISC]: Remove redundant conditionals.
4048 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4049 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4050 * math/math.h: Update #else and #endif comments.
4051 [__USE_MISC]: Remove redundant conditionals.
4052 * misc/sys/uio.h: Update #endif comments.
4053 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4054 * posix/glob.h [__USE_MISC]: Likewise.
4055 * posix/sys/types.h: Update #endif comments.
4056 [__USE_MISC]: Remove redundant conditionals.
4057 * posix/sys/wait.h: Update #endif comments.
4058 [__USE_MISC]: Remove redundant conditionals.
4059 * posix/unistd.h: Update #endif comments.
4060 [__USE_MISC]: Remove redundant conditionals.
4061 * pwd/pwd.h [__USE_GNU]: Likewise.
4062 [__USE_MISC]: Likewise.
4063 * resolv/netdb.h [__USE_GNU]: Likewise.
4064 * signal/signal.h: Update #endif comments.
4065 [__USE_MISC]: Remove redundant conditionals.
4066 * stdlib/stdlib.h: Update #else and #endif comments.
4067 [__USE_MISC]: Remove redundant conditionals.
4068 [__USE_GNU]: Likewise.
4069 * string/bits/string2.h [__USE_MISC]: Likewise.
4070 * string/string.h: Update #endif comments.
4071 [__USE_MISC]: Remove redundant conditionals.
4072 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4074 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4075 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4076 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4078 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4080 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4082 [__USE_MISC]: Remove redundant conditionals.
4083 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4084 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4085 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4086 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4087 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4089 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4090 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4092 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4093 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4095 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4097 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4098 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4100 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4102 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4103 * sysdeps/x86/bits/string.h: Update #endif comments.
4104 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4106 * time/sys/time.h: Update #endif comments.
4107 * time/time.h: Likewise.
4108 [__USE_MISC]: Remove redundant conditionals.
4110 2014-02-21 Yury Gribov <y.gribov@samsung.com>
4113 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4115 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4117 * Versions.def (librt): Add GLIBC_2.17.
4119 2014-02-21 Adam Conrad <adconrad@0c3.net>
4121 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4122 synonym for _SYS_AUXV_H to allow direct inclusion.
4123 * sysdeps/sparc/bits/hwcap.h: Likewise.
4124 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4125 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4126 * sysdeps/sparc/sysdep.h: Likewise.
4128 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4130 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4132 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4134 * benchtests/bench-strrchr.c: Print length instead of position.
4136 2014-02-20 Joseph Myers <joseph@codesourcery.com>
4139 * sysdeps/unix/sysv/linux/kernel-features.h
4140 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4141 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4142 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4143 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4145 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4146 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4147 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4148 (__ASSUME_SENDMMSG): Define instead of using previous
4149 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4150 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4151 (__ASSUME_SENDMMSG_SYSCALL): Define.
4152 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4153 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4155 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4156 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4158 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4159 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4161 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4162 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4163 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4164 [__ASSUME_SENDMMSG]: Change conditionals to
4165 [__ASSUME_SENDMMSG_SOCKETCALL].
4166 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4167 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4169 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4170 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4172 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4173 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4174 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4175 [!__ASSUME_SENDMMSG]: Change conditional to
4176 [!__ASSUME_SENDMMSG_SOCKETCALL].
4177 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4178 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4182 * sysdeps/unix/sysv/linux/kernel-features.h
4183 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4184 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4185 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4186 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4187 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4188 [__i386__ || __sparc__]
4189 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4190 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4191 (__ASSUME_RECVMMSG): Define instead of using previous
4192 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4193 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4194 (__ASSUME_RECVMMSG_SYSCALL): Define.
4195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4196 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4198 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4199 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4201 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4202 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4204 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4205 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4206 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4207 [__ASSUME_RECVMMSG]: Change condition to
4208 [__ASSUME_RECVMMSG_SOCKETCALL].
4209 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4210 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4212 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4213 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4214 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4216 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4217 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4218 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4219 [!__ASSUME_RECVMMSG]: Change condition to
4220 [!__ASSUME_RECVMMSG_SOCKETCALL].
4221 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4222 (__ASSUME_RECVMMSG_SYSCALL): Define.
4225 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4226 __powerpc__ || __s390__ || __sh__ || __sparc__]
4227 (__ASSUME_SOCKETCALL): Define.
4228 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4229 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4230 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4231 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4232 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4233 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4234 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4235 (__ASSUME_ACCEPT4): Define instead of using previous
4236 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4237 __powerpc__ || __sparc__ || __s390__)] condition.
4238 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4239 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4240 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4241 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4242 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4243 [!__ASSUME_ACCEPT4]: Change condition to
4244 [!__ASSUME_ACCEPT4_SOCKETCALL].
4245 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4246 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4247 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4248 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4249 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4250 __ASSUME_ACCEPT4_SYSCALL.
4251 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4252 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4253 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4254 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4255 __ASSUME_ACCEPT4_SYSCALL.
4256 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4257 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4258 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4259 [__ASSUME_ACCEPT4]: Change condition to
4260 [__ASSUME_ACCEPT4_SOCKETCALL].
4261 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4262 (__ASSUME_SOCKETCALL): Define.
4263 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4264 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4265 (__ASSUME_SOCKETCALL): Define.
4266 (__ASSUME_ACCEPT4): Remove.
4267 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4269 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4270 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4272 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4273 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4275 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4277 (HWCAP_ARM_LPAE): Likewise.
4278 (HWCAP_ARM_EVTSTRM): Likewise.
4279 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4280 Add vpfd32, lpae and evtstrm.
4281 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4284 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4286 * math/auto-libm-test-in: Add tests of clog10.
4287 * math/auto-libm-test-out: Regenerated.
4288 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4289 * sysdeps/i386/fpu/libm-test-ulps: Update.
4290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4292 2014-02-18 Andreas Schwab <schwab@suse.de>
4295 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4296 Store non-zero if the second buffer was newly allocated.
4297 (send_dg): Likewise.
4298 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4299 to send_vc and send_dg.
4300 (res_nsend): Pass NULL for ansp2_malloced.
4301 * resolv/res_query.c (__libc_res_nquery): Add parameter
4302 answerp2_malloced and pass it down to __libc_res_nsend.
4303 (res_nquery): Pass additional NULL to __libc_res_nquery.
4304 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4305 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4306 second answer buffer if answerp2_malloced was set.
4307 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4308 (__libc_res_nquerydomain): Add parameter
4309 answerp2_malloced and pass it down to __libc_res_nquery.
4310 (res_nquerydomain): Pass additional NULL to
4311 __libc_res_nquerydomain.
4312 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4313 additional NULL to __libc_res_nsend and __libc_res_nquery.
4314 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4315 additional NULL to __libc_res_nsearch.
4316 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4317 parameter of __libc_res_nsearch to check for separately allocated
4319 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4321 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4322 additional NULL to __libc_res_nquery.
4323 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4325 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4326 * include/resolv.h: Update prototypes of __libc_res_nquery,
4327 __libc_res_nsearch, __libc_res_nsend.
4329 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4331 * math/auto-libm-test-in: Add tests of fma.
4332 * math/auto-libm-test-out: Regenerated.
4333 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4334 (fma_towardzero_test_data): Likewise.
4335 (fma_downward_test_data): Likewise.
4336 (fma_upward_test_data): Likewise.
4337 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4339 (rounding_modes): Add values for new field.
4340 (func_calc_method): Add value mpfr_fff_f.
4341 (func_calc_desc): Add mpfr_fff_f union field.
4342 (test_function): Add field exact_args.
4343 (FUNC): Add macro argument EXACT_ARGS.
4344 (FUNC_mpfr_f_f): Update call to FUNC.
4345 (FUNC_mpfr_f_f): Likewise.
4346 (FUNC_mpfr_ff_f): Likewise.
4347 (FUNC_mpfr_if_f): Likewise.
4348 (FUNC_mpc_c_f): Likewise.
4349 (FUNC_mpc_c_c): Likewise.
4350 (test_functions): Add fma. Update calls to FUNC.
4351 (handle_input_arg): Add argument exact_args.
4352 (add_test): Update call to handle_input_arg.
4353 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4354 (output_for_one_input_case): Update call to calc_generic_results.
4355 Recalculate exact zero results in each rounding mode.
4357 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4358 non-negative before setting low bit.
4359 * math/auto-libm-test-in: Mark one asin test possibly having
4361 * math/auto-libm-test-out: Regenerated.
4362 * sysdeps/i386/fpu/libm-test-ulps: Update.
4363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4365 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4367 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4368 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4369 ports/sysdeps/unix/sysv/linux/microblaze.
4370 * README: Add missing listing for microblaze*-*-linux-gnu.
4372 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4374 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4375 * sysdeps/unix/sysv/linux/ia64: Move directory from
4376 ports/sysdeps/unix/sysv/linux/ia64.
4377 * README: Update listing for ia64-*-linux-gnu.
4379 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4380 Joseph Myers <joseph@codesourcery.com>
4382 * Makeconfig (test-name): New variable.
4383 (evaluate-test): Likewise.
4384 * Makerules (do-test-clean): Remove .test-result files.
4385 (common-mostlyclean): Likewise.
4386 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4387 * scripts/evaluate-test.sh: New file.
4389 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4391 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4392 separate $(objpfx)tst-fopenloc-cmp.out and
4393 $(objpfx)tst-fopenloc-mem.out targets.
4394 (tests): Update dependencies.
4395 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4396 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4397 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4398 (tst-rxspencer-no-utf8-ARGS): New variable.
4399 (tst-rxspencer-no-utf8-ENV): Likewise.
4400 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4401 instead of $(objpfx)tst-rxspencer-mem.
4402 ($(objpfx)tst-rxspencer-mem): Change target to
4403 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4404 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4405 * posix/tst-rxspencer-no-utf8.c: New file.
4407 * elf/Makefile ($(objpfx)order.out): Remove rule.
4408 [$(run-built-tests) = yes] (tests): Depend on
4409 $(objpfx)order-cmp.out.
4410 ($(objpfx)order-cmp.out): New rule.
4411 [$(run-built-tests) = yes] (tests): Depend on
4412 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4413 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4414 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4415 $(objpfx)tst-array5-static-cmp.out.
4416 ($(objpfx)tst-array1.out): Remove rule.
4417 ($(objpfx)tst-array1-cmp.out): New rule.
4418 ($(objpfx)tst-array1-static.out): Remove rule.
4419 ($(objpfx)tst-array1-static-cmp.out): New rule.
4420 ($(objpfx)tst-array2.out): Remove rule.
4421 ($(objpfx)tst-array2-cmp.out): New rule.
4422 ($(objpfx)tst-array3.out): Remove rule.
4423 ($(objpfx)tst-array3-cmp.out): New rule.
4424 ($(objpfx)tst-array4.out): Remove rule.
4425 ($(objpfx)tst-array4-cmp.out): New rule.
4426 ($(objpfx)tst-array5.out): Remove rule.
4427 ($(objpfx)tst-array5-cmp.out): New rule.
4428 ($(objpfx)tst-array5-static.out): Remove rule.
4429 ($(objpfx)tst-array5-static-cmp.out): New rule.
4430 [$(run-built-tests) = yes] (tests): Depend on
4431 $(objpfx)order2-cmp.out.
4432 ($(objpfx)order2.out): Remove rule.
4433 ($(objpfx)order2-cmp.out): New rule.
4434 ($(objpfx)tst-initorder.out): Remove rule.
4435 [$(run-built-tests) = yes] (tests): Depend on
4436 $(objpfx)tst-initorder-cmp.out.
4437 ($(objpfx)tst-initorder-cmp.out): New rule.
4438 ($(objpfx)tst-initorder2.out): Remove rule.
4439 [$(run-built-tests) = yes] (tests): Depend on
4440 $(objpfx)tst-initorder2-cmp.out.
4441 ($(objpfx)tst-initorder2-cmp.out): New rule.
4442 [$(run-built-tests) = yes] (tests): Depend on
4443 $(objpfx)tst-unused-dep-cmp.out.
4444 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4445 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4446 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4447 on $(objpfx)tst-setvbuf1-cmp.out.
4448 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4449 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4450 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4451 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4452 ($(objpfx)tst-svc.out): Remove rule.
4453 ($(objpfx)tst-svc-cmp.out): New rule.
4455 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4457 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4458 * ctype/ctype.h [__USE_MISC]: Likewise.
4459 * dirent/dirent.h [__USE_MISC]: Likewise.
4460 * grp/grp.h [__USE_MISC]: Likewise.
4461 * io/fcntl.h [__USE_MISC]: Likewise.
4462 * io/sys/stat.h [__USE_MISC]: Likewise.
4463 * libio/stdio.h [__USE_MISC]: Likewise.
4464 * posix/unistd.h [__USE_MISC]: Likewise.
4465 * pwd/pwd.h [__USE_MISC]: Likewise.
4466 * stdlib.h [__USE_MISC]: Likewise.
4467 * string/bits/string2.h [__USE_MISC]: Likewise.
4468 * string/string.h [__USE_MISC]: Likewise.
4469 * time/time.h [__USE_MISC]: Likewise.
4471 2014-02-13 Andreas Schwab <schwab@suse.de>
4474 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4475 second answer buffer if it was separately allocated.
4477 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4479 * sysdeps/mips/math-tests.h: Include <features.h>.
4480 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4481 (ROUNDING_TESTS_long_double): Do not define.
4482 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4483 (EXCEPTION_TESTS_long_double): Likewise.
4484 * sysdeps/mips/mips64/libm-test-ulps: Update.
4486 * include/features.h (__USE_BSD): Remove macro definitions.
4487 (__USE_SVID): Likewise.
4488 (_BSD_SOURCE): Likewise.
4489 (_SVID_SOURCE): Likewise.
4490 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4491 from definition of _DEFAULT_SOURCE.
4492 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4494 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4495 * bits/mman.h [__USE_BSD]: Likewise.
4496 * bits/termios.h [__USE_BSD]: Likewise.
4497 * bits/waitstatus.h [__USE_BSD]: Likewise.
4498 * ctype/ctype.h [__USE_SVID]: Likewise.
4499 * dirent/dirent.h [__USE_BSD]: Likewise.
4500 * grp/grp.h [__USE_SVID]: Likewise.
4501 [__USE_BSD]: Likewise.
4502 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4503 * io/fcntl.h [__USE_BSD]: Likewise.
4504 * io/ftw.h [__USE_BSD]: Likewise.
4505 * io/sys/stat.h [__USE_BSD]: Likewise.
4506 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4507 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4508 * libio/stdio.h [__USE_SVID]: Likewise.
4509 [__USE_BSD]: Likewise.
4510 * math/math.h [__USE_SVID]: Likewise.
4511 [__USE_BSD]: Likewise.
4512 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4513 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4514 * misc/search.h [__USE_SVID]: Likewise.
4515 * misc/sys/mman.h [__USE_BSD]: Likewise.
4516 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4517 * misc/sys/uio.h [__USE_BSD]: Likewise.
4518 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4519 * posix/glob.h [__USE_BSD]: Likewise.
4520 * posix/regex.h [__USE_BSD]: Likewise.
4521 * posix/sys/types.h [__USE_BSD]: Likewise.
4522 [__USE_SVID]: Likewise.
4523 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4524 * posix/sys/wait.h [__USE_BSD]: Likewise.
4525 [__USE_SVID]: Likewise.
4526 * posix/unistd.h [__USE_BSD]: Likewise.
4527 [__USE_SVID]: Likewise.
4528 * pwd/pwd.h [__USE_SVID]: Likewise.
4529 * resolv/netdb.h [__USE_BSD]: Likewise.
4530 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4531 * signal/signal.h [__USE_BSD]: Likewise.
4532 [__USE_SVID]: Likewise.
4533 * socket/sys/socket.h [__USE_BSD]: Likewise.
4534 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4535 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4536 [__USE_SVID]: Likewise.
4537 * string/bits/string2.h [__USE_BSD]: Likewise.
4538 [__USE_SVID]: Likewise.
4539 * string/bits/string3.h [__USE_BSD]: Likewise.
4540 * string/endian.h [__USE_BSD]: Likewise.
4541 * string/string.h [__USE_SVID]: Likewise.
4542 [__USE_BSD]: Likewise.
4543 * string/strings.h [__USE_BSD]: Likewise.
4544 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4545 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4546 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4547 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4548 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4549 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4553 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4554 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4556 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4557 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4559 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4561 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4562 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4563 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4565 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4567 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4568 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4569 * termios/termios.h [__USE_BSD]: Likewise.
4570 * time/sys/time.h [__USE_BSD]: Likewise.
4571 * time/time.h [__USE_BSD]: Likewise.
4572 [__USE_SVID]: Likewise.
4574 * Makefile (subdir_targets): Remove subdir_lint.out.
4576 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4577 (do-tst-printf): Likewise.
4578 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4579 $(objpfx)tst-printf.out.
4581 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4583 * Makerules (check-abi-%): Change target to
4584 $(objpfx)check-abi-%.out.
4585 (check-abi target): Update dependencies.
4586 (check-abi-pattern variable): Redirect output of diff to $@.
4587 (check-abi variable): Likewise.
4588 * elf/Makefile (check-abi): Update dependencies.
4590 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4592 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4593 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4595 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4596 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4597 value has largest subnormal exponent.
4598 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4599 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4600 * sysdeps/aarch64/soft-fp/sfp-machine.h
4601 (_FP_TININESS_AFTER_ROUNDING): New macro.
4602 * sysdeps/alpha/soft-fp/sfp-machine.h
4603 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4604 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4606 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4607 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4608 * sysdeps/mips/soft-fp/sfp-machine.h
4609 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4610 * sysdeps/powerpc/soft-fp/sfp-machine.h
4611 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4612 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4614 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4615 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4616 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4617 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4618 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4621 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4624 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4627 2014-02-12 Richard Henderson <rth@redhat.com>
4629 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4630 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4631 * sysdeps/unix/sysv/linux/alpha: Move directory from
4632 ports/sysdeps/unix/sysv/linux/alpha.
4633 * README: Update listing for alpha-*-linux-gnu.
4635 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4637 * include/features.h: Update comment documenting feature test
4639 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4641 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4642 (_SVID_SOURCE): Likewise.
4643 (_DEFAULT_SOURCE): Update description of default features.
4644 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4646 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4647 (S_ISVTX): Likewise.
4648 * manual/math.texi (Mathematical Constants): Likewise.
4649 * manual/signal.texi (Interrupted Primitives): Likewise.
4650 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4651 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4652 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4653 Don't refer to _SVID_SOURCE in warning text.
4655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4657 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4659 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4660 * sysdeps/mips/dl-lookup.c: Remove.
4661 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4663 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4666 * math/auto-libm-test-in: Add testcase for expl.
4667 * math/auto-libm-test-out: Regenerate.
4668 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4669 calculation of unsafe.
4670 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4672 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4674 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4675 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4676 ports/sysdeps/unix/sysv/linux/aarch64.
4677 * README: Update listing for aarch64*-*-linux-gnu.
4679 2014-02-11 Will Newton <will.newton@linaro.org>
4681 * manual/probes.texi (Mathematical Function Probes): Use
4682 "triggered" instead of "hit".
4684 * manual/probes.texi (Internal Probes): Add documentation
4685 of setjmp, longjmp and longjmp_target probes.
4687 * include/stap-probe.h: Add comment about probe argument
4690 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4691 definition. (tr_where, tr_freehook, tr_mallochook,
4692 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4694 2014-02-11 David S. Miller <davem@davemloft.net>
4696 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4697 processing int_tests.
4699 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4701 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4702 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4703 * sysdeps/unix/sysv/linux/mips: Move directory from
4704 ports/sysdeps/unix/sysv/linux/mips.
4705 * README: Update listing for mips-*-linux-gnu and
4708 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4710 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4711 * sysdeps/unix/sysv/linux/m68k: Move directory from
4712 ports/sysdeps/unix/sysv/linux/m68k.
4713 * README: Update listing for m68k-*-linux-gnu.
4715 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4717 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4718 * sysdeps/unix/sysv/linux/generic: Move directory from
4719 ports/sysdeps/unix/sysv/linux/generic.
4720 * sysdeps/unix/sysv/linux/tile: Move directory from
4721 ports/sysdeps/unix/sysv/linux/tile.
4722 * README: Update listing for tile*-*-linux-gnu.
4724 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4726 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4728 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4729 * catgets/open_catalog.c (__open_catalog): Likewise.
4730 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4731 * debug/confstr_chk.c: Likewise.
4732 * debug/fread_chk.c (__fread_chk): Likewise.
4733 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4734 * debug/getgroups_chk.c: Likewise.
4735 * debug/mbsnrtowcs_chk.c: Likewise.
4736 * debug/mbsrtowcs_chk.c: Likewise.
4737 * debug/mbstowcs_chk.c: Likewise.
4738 * debug/memcpy_chk.c: Likewise.
4739 * debug/memmove_chk.c: Likewise.
4740 * debug/mempcpy_chk.c: Likewise.
4741 * debug/memset_chk.c: Likewise.
4742 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4743 * debug/strcat_chk.c (__strcat_chk): Likewise.
4744 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4745 * debug/strncat_chk.c (__strncat_chk): Likewise.
4746 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4747 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4748 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4749 * debug/wcpncpy_chk.c: Likewise.
4750 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4751 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4752 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4753 * debug/wcsncpy_chk.c: Likewise.
4754 * debug/wcsnrtombs_chk.c: Likewise.
4755 * debug/wcsrtombs_chk.c: Likewise.
4756 * debug/wcstombs_chk.c: Likewise.
4757 * debug/wmemcpy_chk.c: Likewise.
4758 * debug/wmemmove_chk.c: Likewise.
4759 * debug/wmempcpy_chk.c: Likewise.
4760 * debug/wmemset_chk.c: Likewise.
4761 * dirent/scandirat.c (SCANDIRAT): Likewise.
4762 * dlfcn/dladdr1.c (dladdr1): Likewise.
4763 * dlfcn/dladdr.c (dladdr): Likewise.
4764 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4765 * dlfcn/dlerror.c (__dlerror): Likewise.
4766 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4767 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4768 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4769 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4770 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4771 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4772 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4773 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4775 * elf/dl-conflict.c: Likewise.
4776 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4777 * elf/dl-dst.h: Likewise.
4778 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4779 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4780 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4781 * elf/dl-init.c (call_init, _dl_init): Likewise.
4782 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4783 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4784 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4786 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4788 * elf/dl-minimal.c (__libc_memalign): Likewise.
4789 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4790 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4791 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4792 * elf/dl-sym.c (do_sym): Likewise.
4793 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4794 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4795 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4796 * elf/dl-writev.h (_dl_writev): Likewise.
4797 * elf/ldconfig.c (search_dir): Likewise.
4798 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4799 (dl_main): Likewise.
4800 * elf/setup-vdso.h (setup_vdso): Likewise.
4801 * grp/compat-initgroups.c (compat_call): Likewise.
4802 * grp/fgetgrent.c (fgetgrent): Likewise.
4803 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4804 * grp/putgrent.c (putgrent): Likewise.
4805 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4807 * hurd/hurdinit.c: Likewise.
4808 * iconvdata/8bit-gap.c (struct): Likewise.
4809 * iconvdata/ansi_x3.110.c : Likewise.
4810 * iconvdata/big5.c : Likewise.
4811 * iconvdata/big5hkscs.c : Likewise.
4812 * iconvdata/cp1255.c: Likewise.
4813 * iconvdata/cp1258.c : Likewise.
4814 * iconvdata/cp932.c : Likewise.
4815 * iconvdata/euc-cn.c: Likewise.
4816 * iconvdata/euc-jisx0213.c : Likewise.
4817 * iconvdata/euc-jp.c: Likewise.
4818 * iconvdata/euc-jp-ms.c : Likewise.
4819 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4820 * iconvdata/gb18030.c : Likewise.
4821 * iconvdata/gbbig5.c (const): Likewise.
4822 * iconvdata/gbgbk.c: Likewise.
4823 * iconvdata/gbk.c : Likewise.
4824 * iconvdata/ibm1364.c : Likewise.
4825 * iconvdata/ibm930.c : Likewise.
4826 * iconvdata/ibm932.c: Likewise.
4827 * iconvdata/ibm933.c : Likewise.
4828 * iconvdata/ibm935.c : Likewise.
4829 * iconvdata/ibm937.c : Likewise.
4830 * iconvdata/ibm939.c : Likewise.
4831 * iconvdata/ibm943.c: Likewise.
4832 * iconvdata/iso_11548-1.c: Likewise.
4833 * iconvdata/iso-2022-cn.c : Likewise.
4834 * iconvdata/iso-2022-cn-ext.c : Likewise.
4835 * iconvdata/iso-2022-jp-3.c: Likewise.
4836 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4837 * iconvdata/iso-2022-kr.c : Likewise.
4838 * iconvdata/iso646.c (gconv_end): Likewise.
4839 * iconvdata/iso_6937-2.c : Likewise.
4840 * iconvdata/iso_6937.c : Likewise.
4841 * iconvdata/iso8859-1.c: Likewise.
4842 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4843 * iconvdata/shift_jisx0213.c : Likewise.
4844 * iconvdata/sjis.c : Likewise.
4845 * iconvdata/t.61.c : Likewise.
4846 * iconvdata/tcvn5712-1.c : Likewise.
4847 * iconvdata/tscii.c: Likewise.
4848 * iconvdata/uhc.c : Likewise.
4849 * iconvdata/unicode.c (gconv_end): Likewise.
4850 * iconvdata/utf-16.c (gconv_end): Likewise.
4851 * iconvdata/utf-32.c (gconv_end): Likewise.
4852 * iconvdata/utf-7.c (base64): Likewise.
4853 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4854 * iconv/gconv_close.c (__gconv_close): Likewise.
4855 * iconv/gconv_open.c (__gconv_open): Likewise.
4856 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4857 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4858 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4859 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4860 (ucs4le_internal_loop_single): Likewise.
4861 * iconv/iconv.c (iconv): Likewise.
4862 * iconv/iconv_close.c: Likewise.
4863 * iconv/loop.c (SINGLE): Likewise.
4864 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4865 * include/atomic.h: Likewise.
4866 * inet/inet6_option.c (option_alloc): Likewise.
4867 * intl/bindtextdom.c (set_binding_values): Likewise.
4868 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4869 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4870 * intl/localealias.c (read_alias_file): Likewise.
4871 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4872 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4873 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4874 * libio/fmemopen.c (fmemopen): Likewise.
4875 * libio/iofgets.c (_IO_fgets): Likewise.
4876 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4877 * libio/iofgetws.c (fgetws): Likewise.
4878 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4879 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4880 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4881 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4882 * locale/findlocale.c (_nl_find_locale): Likewise.
4883 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4884 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4886 * locale/setlocale.c (setlocale): Likewise.
4887 * login/programs/pt_chown.c (main): Likewise.
4888 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4889 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4890 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4891 (mmap, mmap64, mremap, munmap): Likewise.
4892 * math/e_exp2l.c: Likewise.
4893 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4894 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4895 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4896 * math/s_catan.c (__catan): Likewise.
4897 * math/s_catanf.c (__catanf): Likewise.
4898 * math/s_catanh.c (__catanh): Likewise.
4899 * math/s_catanhf.c (__catanhf): Likewise.
4900 * math/s_catanhl.c (__catanhl): Likewise.
4901 * math/s_catanl.c (__catanl): Likewise.
4902 * math/s_ccosh.c (__ccosh): Likewise.
4903 * math/s_ccoshf.c (__ccoshf): Likewise.
4904 * math/s_ccoshl.c (__ccoshl): Likewise.
4905 * math/s_cexp.c (__cexp): Likewise.
4906 * math/s_cexpf.c (__cexpf): Likewise.
4907 * math/s_cexpl.c (__cexpl): Likewise.
4908 * math/s_clog10.c (__clog10): Likewise.
4909 * math/s_clog10f.c (__clog10f): Likewise.
4910 * math/s_clog10l.c (__clog10l): Likewise.
4911 * math/s_clog.c (__clog): Likewise.
4912 * math/s_clogf.c (__clogf): Likewise.
4913 * math/s_clogl.c (__clogl): Likewise.
4914 * math/s_csin.c (__csin): Likewise.
4915 * math/s_csinf.c (__csinf): Likewise.
4916 * math/s_csinh.c (__csinh): Likewise.
4917 * math/s_csinhf.c (__csinhf): Likewise.
4918 * math/s_csinhl.c (__csinhl): Likewise.
4919 * math/s_csinl.c (__csinl): Likewise.
4920 * math/s_csqrt.c (__csqrt): Likewise.
4921 * math/s_csqrtf.c (__csqrtf): Likewise.
4922 * math/s_csqrtl.c (__csqrtl): Likewise.
4923 * math/s_ctan.c (__ctan): Likewise.
4924 * math/s_ctanf.c (__ctanf): Likewise.
4925 * math/s_ctanh.c (__ctanh): Likewise.
4926 * math/s_ctanhf.c (__ctanhf): Likewise.
4927 * math/s_ctanhl.c (__ctanhl): Likewise.
4928 * math/s_ctanl.c (__ctanl): Likewise.
4929 * math/w_pow.c: Likewise.
4930 * math/w_powf.c: Likewise.
4931 * math/w_powl.c: Likewise.
4932 * math/w_scalb.c (sysv_scalb): Likewise.
4933 * math/w_scalbf.c (sysv_scalbf): Likewise.
4934 * math/w_scalbl.c (sysv_scalbl): Likewise.
4935 * misc/error.c (error_tail): Likewise.
4936 * misc/pselect.c (__pselect): Likewise.
4937 * nis/nis_callback.c (__nis_create_callback): Likewise.
4938 * nis/nis_call.c (__nisfind_server): Likewise.
4939 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4940 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4941 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4942 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4943 * nis/nis_lookup.c (nis_lookup): Likewise.
4944 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4945 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4946 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4947 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4948 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4949 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4950 * nis/nss_compat/compat-initgroups.c (add_group)
4951 (internal_getgrent_r): Likewise.
4952 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4953 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4954 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4955 (internal_getspnam_r): Likewise.
4956 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4957 (_nss_nis_getaliasbyname_r): Likewise.
4958 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4959 (_nss_nis_getntohost_r): Likewise.
4960 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4961 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4962 (_nss_nis_getgrgid_r): Likewise.
4963 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4964 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4965 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4966 (_nss_nis_gethostbyname4_r): Likewise.
4967 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4968 (initgroups_netid): Likewise.
4969 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4970 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4971 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4972 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4973 (_nss_nis_getprotobynumber_r): Likewise.
4974 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4975 (_nss_nis_getsecretkey): Likewise.
4976 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4977 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4978 (_nss_nis_getpwuid_r): Likewise.
4979 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4980 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4981 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4982 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4983 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4984 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4985 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4987 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4988 (_nss_nisplus_getntohost_r): Likewise.
4989 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4990 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4991 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4992 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4994 * nis/nss_nisplus/nisplus-initgroups.c
4995 (_nss_nisplus_initgroups_dyn): Likewise.
4996 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4997 (_nss_nisplus_getnetbyaddr_r): Likewise.
4998 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4999 (_nss_nisplus_getprotobynumber_r): Likewise.
5000 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5001 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5002 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5004 * nis/nss_nisplus/nisplus-service.c
5005 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5006 (_nss_nisplus_getservbyport_r): Likewise.
5007 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5008 (_nss_nisplus_getspnam_r): Likewise.
5009 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5011 * nscd/aicache.c (addhstaiX): Likewise.
5012 * nscd/cache.c (cache_search, prune_cache): Likewise.
5013 * nscd/connections.c (register_traced_file, send_ro_fd)
5014 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5015 (main_loop_epoll): Likewise.
5016 * nscd/grpcache.c (addgrbyX): Likewise.
5017 * nscd/hstcache.c (addhstbyX): Likewise.
5018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5019 * nscd/mem.c (gc, mempool_alloc): Likewise.
5020 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5021 (addinnetgrX): Likewise.
5022 * nscd/nscd-client.h (__nscd_acquire_maplock)
5023 (__nscd_drop_map_ref): Likewise.
5024 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5025 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5026 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5028 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5030 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5031 (__nscd_get_map_ref): Likewise.
5032 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5033 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5035 * nscd/pwdcache.c (addpwbyX): Likewise.
5036 * nscd/selinux.c (preserve_capabilities): Likewise.
5037 * nscd/servicescache.c (addservbyX): Likewise.
5038 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5039 * posix/fnmatch.c (fnmatch): Likewise.
5040 * posix/getopt.c (_getopt_internal_r): Likewise.
5041 * posix/glob.c (glob, glob_in_dir): Likewise.
5042 * posix/wordexp.c (exec_comm_child): Likewise.
5043 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5044 (getanswer_r, gaih_getanswer_slice): Likewise.
5045 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5046 * resolv/res_init.c: Likewise.
5047 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5048 * resolv/res_query.c (__libc_res_nquery): Likewise.
5049 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5051 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5052 * stdio-common/perror.c (perror): Likewise.
5053 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5054 * stdio-common/tmpnam.c (tmpnam): Likewise.
5055 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5056 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5057 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5059 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5060 * stdlib/putenv.c (putenv): Likewise.
5061 * stdlib/setenv.c (__add_to_environ): Likewise.
5062 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5063 * stdlib/strtol_l.c (INTERNAL): Likewise.
5064 * string/memmem.c (memmem): Likewise.
5065 * string/strerror.c (strerror): Likewise.
5066 * string/strnlen.c (__strnlen): Likewise.
5067 * string/test-memmem.c (simple_memmem): Likewise.
5068 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5069 * sunrpc/pm_getport.c (__get_socket): Likewise.
5070 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5071 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5072 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5073 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5075 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5076 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5077 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5078 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5079 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5080 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5082 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5084 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5085 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5086 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5087 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5088 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5090 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5091 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5092 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5093 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5094 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5095 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5097 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5099 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5101 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5103 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5104 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5105 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5106 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5107 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5108 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5109 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5110 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5111 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5113 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5114 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5116 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5118 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5120 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5122 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5125 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5126 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5128 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5129 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5130 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5131 * sysdeps/posix/sleep.c: Likewise.
5132 * sysdeps/posix/tempname.c: Likewise.
5133 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5134 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5136 * sysdeps/powerpc/powerpc32/dl-machine.h
5137 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5138 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5140 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5141 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5143 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5144 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5145 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5146 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5147 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5148 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5149 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5150 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5151 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5152 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5153 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5154 (elf_machine_lazy_rel): Likewise.
5155 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5157 (elf_machine_lazy_rel): Likewise.
5158 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5159 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5160 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5161 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5162 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5163 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5164 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5165 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5167 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5168 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5169 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5170 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5171 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5172 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5173 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5174 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5175 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5176 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5177 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5179 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5180 (__posix_fallocate64_l64): Likewise.
5181 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5182 (posix_fallocate): Likewise.
5183 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5185 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5186 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5187 (getifaddrs_internal): Likewise.
5188 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5189 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5190 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5191 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5192 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5193 (__posix_fallocate64_l64): Likewise.
5194 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5196 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5197 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5198 (__get_clockfreq): Likewise.
5199 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5200 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5201 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5204 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5205 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5206 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5208 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5209 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5210 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5211 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5212 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5213 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5214 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5216 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5217 (posix_fallocate): Likewise.
5218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5219 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5220 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5221 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5222 (elf_machine_rela, elf_machine_rela_relative)
5223 (elf_machine_lazy_rel): Likewise.
5224 * time/asctime.c (asctime_internal): Likewise.
5225 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5226 * time/tzset.c (__tzset_parse_tz): Likewise.
5227 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5228 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5229 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5230 * wcsmbs/wcsmbsload.h: Likewise.
5233 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5235 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5236 (arena_get2): Remove THREAD_STATS conditionals.
5237 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5238 (__malloc_stats, int): Likewise.
5240 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5242 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5243 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5245 * manual/setjmp.texi: Fix typos/grammar errors.
5247 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5248 Only return early when n is <= 0. Delete unused return statement.
5250 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5251 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5252 * debug/tst-longjmp_chk3.c: New file.
5254 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5255 (test_main): Replace code with set_fortify_handler call.
5256 * debug/test-strcpy_chk.c: Likewise.
5257 * debug/tst-chk1.c: Likewise.
5258 * debug/tst-longjmp_chk.c: Likewise.
5259 * test-skeleton.c: Include fcntl.h & paths.h
5260 (set_fortify_handler): Define.
5262 * debug/tst-longjmp_chk.c: Add header comment and include
5264 (do_test): Mark static.
5265 (TEST_FUNCTION): Define.
5267 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5268 (IP_PMTUDISC_INTERFACE): Likewise.
5269 (IP_MULTICAST_IF): Likewise.
5270 (IP_MULTICAST_TTL): Likewise.
5271 (IP_MULTICAST_LOOP): Likewise.
5272 (IP_ADD_MEMBERSHIP): Likewise.
5273 (IP_DROP_MEMBERSHIP): Likewise.
5274 (IP_UNBLOCK_SOURCE): Likewise.
5275 (IP_BLOCK_SOURCE): Likewise.
5276 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5277 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5278 (IP_MSFILTER): Likewise.
5279 (MCAST_JOIN_GROUP): Likewise.
5280 (MCAST_BLOCK_SOURCE): Likewise.
5281 (MCAST_UNBLOCK_SOURCE): Likewise.
5282 (MCAST_LEAVE_GROUP): Likewise.
5283 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5284 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5285 (MCAST_MSFILTER): Likewise.
5286 (IP_MULTICAST_ALL): Likewise.
5287 (IP_UNICAST_IF): Likewise.
5289 * timezone/Makefile: Delete $(have-ksh) check.
5290 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5291 * timezone/tzselect.ksh: Add +x mode bits.
5293 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5294 (ANON_INODE_FS_MAGIC): Likewise.
5295 (BDEVFS_MAGIC): Likewise.
5296 (BINFMTFS_MAGIC): Likewise.
5297 (BTRFS_TEST_MAGIC): Likewise.
5298 (CRAMFS_MAGIC_WEND): Likewise.
5299 (DEBUGFS_MAGIC): Likewise.
5300 (ECRYPTFS_SUPER_MAGIC): Likewise.
5301 (EXT3_SUPER_MAGIC): Likewise.
5302 (EXT4_SUPER_MAGIC): Likewise.
5303 (FUTEXFS_SUPER_MAGIC): Likewise.
5304 (HOSTFS_SUPER_MAGIC): Likewise.
5305 (HUGETLBFS_MAGIC): Likewise.
5306 (MINIX3_SUPER_MAGIC): Likewise.
5307 (MTD_INODE_FS_MAGIC): Likewise.
5308 (NILFS_SUPER_MAGIC): Likewise.
5309 (OPENPROM_SUPER_MAGIC): Likewise.
5310 (PIPEFS_MAGIC): Likewise.
5311 (PSTOREFS_MAGIC): Likewise.
5312 (QNX6_SUPER_MAGIC): Likewise.
5313 (RAMFS_MAGIC): Likewise.
5314 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5315 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5316 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5317 (SECURITYFS_MAGIC): Likewise.
5318 (SELINUX_MAGIC): Likewise.
5319 (SMACK_MAGIC): Likewise.
5320 (SOCKFS_MAGIC): Likewise.
5321 (SQUASHFS_MAGIC): Likewise.
5322 (STACK_END_MAGIC): Likewise.
5323 (TMPFS_MAGIC): Likewise.
5324 (USBDEVICE_SUPER_MAGIC): Likewise.
5325 (V9FS_MAGIC): Likewise.
5326 (XENFS_SUPER_MAGIC): Likewise.
5327 (CRAMFS_MAGIC): Fix typo in comment.
5328 (EXT2_SUPER_MAGIC): Update comment.
5329 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5331 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5333 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5334 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5335 * sysdeps/unix/sysv/linux/arm: Move directory from
5336 ports/sysdeps/unix/sysv/linux/arm.
5337 * README: Update listing for arm-*-linux-gnueabi.
5339 * README: Remove mention of am33.
5341 2014-02-07 Roland McGrath <roland@hack.frob.com>
5343 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5344 than the comma operator, to avoid "rhs of comma has no effect"
5346 (__sigfillset, __sigandset, __sigorset): Likewise.
5347 * include/signal.h (__sigemptyset): Likewise.
5348 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5350 2014-02-07 Allan McRae <allan@archlinux.org>
5352 * version.h (RELEASE): Set to "development".
5353 (VERSION): Set to "2.19.90"
5354 * NEWS: Add 2.20 section.
5356 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5359 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5361 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5363 * manual/contrib.texi: Update entry for Carlos O'Donell,
5364 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5366 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5368 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5370 * sysdeps/unix/sysv/linux/kernel-features.h
5371 [__LINUX_KERNEL_VERSION >= 0x020621]
5372 (__ASSUME_PROC_PID_TASK_COMM): Define.
5374 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5377 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5378 conversion when destination buffer does not have enough space.
5379 * libio/tst-ftell-partial-wide.c: New test case.
5380 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5382 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5383 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5384 Leonard and Allan McRae.
5386 2014-02-04 David S. Miller <davem@davemloft.net>
5388 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5391 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5420 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5422 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5423 * shlib-versions: Likewise.
5425 2014-02-04 Roland McGrath <roland@hack.frob.com>
5426 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5428 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5429 (abilist-pattern): New variable, set to %-le.abilist.
5431 * Makerules (abilist-pattern): New variable.
5432 (vpath): Use $(abilist-pattern) in place of %.abilist.
5433 (check-abi-% pattern rule): Likewise.
5434 (check-abi, update-abi): Likewise.
5436 2014-02-04 Eric Wong <normalperson@yhbt.net>
5438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5440 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5442 * manual/startup.texi: Add next, previous, and top entries for
5443 the `Program Arguments' and `Environment Variables' nodes.
5445 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5447 * manual/macros.texi: Add comments before MTASC-safety macros.
5449 * manual/users.texi: Document MTASC-safety properties.
5451 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5452 (pthread_getspecific, pthread_setspecific): Format with
5453 @deftypefun, and add @safety note.
5454 * manual/signal.texi: Move comments that analyze the above
5455 functions to their home place.
5457 2014-02-03 Allan McRae <allan@archlinux.org>
5459 * po/sl.po: Update Slovenian translation from translation project.
5461 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5463 * manual/time.texi (timegm): Add missing blank after @c.
5464 Reported by Joseph Myers <joseph@codesourcery.com>.
5466 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5468 * manual/check-safety.sh: New.
5469 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5471 * manual/terminal.texi: Document MTASC-safety properties.
5473 * manual/filesys.texi: Document MTASC-safety properties.
5475 * manual/errno.texi: Document MTASC-safety properties.
5477 * manual/intro.texi: Document safety identifiers and
5480 * manual/string.texi (wcstok): Fix prototype.
5481 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5483 * manual/time.texi: Document MTASC-safety properties.
5485 * manual/string.texi: Document MTASC-safety properties.
5487 * manual/threads.texi: Document MTASC-safety properties.
5489 * manual/stdio.texi: Document MTASC-safety properties.
5491 * manual/syslog.texi: Document MTASC-safety properties.
5493 * manual/sysinfo.texi: Document MTASC-safety properties.
5495 * manual/startup.texi: Document MTASC-safety properties.
5497 * manual/socket.texi: Document MTASC-safety properties.
5499 * manual/signal.texi: Document MTASC-safety properties.
5501 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5503 * manual/setjmp.texi: Document MTASC-safety properties.
5505 * manual/search.texi: Document MTASC-safety properties.
5507 * manual/resource.texi: Document MTASC-safety properties.
5509 * manual/process.texi: Document MTASC-safety properties.
5511 * manual/platform.texi: Document MTASC-safety properties.
5513 * manual/pipe.texi: Document MTASC-safety properties.
5515 * manual/pattern.texi: Document MTASC-safety properties.
5517 * manual/message.texi: Document MTASC-safety properties.
5520 * manual/memory.texi: Document MTASC-safety properties.
5522 * manual/math.texi: Document MTASC-safety properties.
5524 * manual/locale.texi: Document MTASC-safety properties.
5526 * manual/llio.texi: Document MTASC-safety properties.
5528 * manual/libdl.texi: New.
5530 * manual/lang.texi: Document MTASC-safety properties.
5532 * manual/job.texi: Document MTASC-safety properties.
5534 * manual/getopt.texi: Document MTASC-safety properties.
5536 * manual/ctype.texi: Document MTASC-safety properties.
5538 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5541 * csu/libc-tls.c (static_map): Remove variable.
5542 (__libc_setup_tls): Use main executable's link map for TLS data.
5543 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5544 casing for LM_ID_BASE and GL(dl_nns).
5545 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5546 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5547 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5548 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5549 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5551 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5554 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5556 * manual/debug.texi: Document MTASC-safety properties.
5558 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5561 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5562 of __x86_64__ when disabling x87 inline functions.
5564 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5566 * manual/charset.texi: Document MTASC-safety properties.
5568 * manual/crypt.texi: Document MTASC-safety properties.
5570 * manual/conf.texi: Document MTASC-safety properties.
5572 * manual/arith.texi: Document MTASC-safety properties.
5574 * manual/argp.texi: Document MTASC-safety properties.
5576 * manual/macros.texi: Introduce macros to document multi
5577 thread, asynchronous signal and asynchronous cancellation
5579 * manual/intro.texi: Introduce the properties themselves.
5581 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5583 * sysdeps/sh/sh4/Makefile: New file.
5585 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5587 * math/gen-libm-test.pl ($srcdir): New variable.
5588 ($auto_input): Use it.
5590 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5593 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5594 access beyond array bounds when parsing netgroups file.
5596 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5597 the old buffer before realloc.
5599 2014-01-27 Allan McRae <allan@archlinux.org>
5601 * po/fr.po: Update French translation from translation project.
5603 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5605 * sysdeps/sh/libm-test-ulps: Regenerate.
5607 2014-01-24 David S. Miller <davem@davemloft.net>
5609 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5611 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5613 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5614 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5616 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5619 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5620 string pointers after reallocation.
5622 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5624 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5625 __SH4A__ instead of __SH_FPU_ANY__.
5627 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5629 * sysdeps/sh/fpu_control.h: New file.
5630 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5631 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5632 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5633 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5634 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5635 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5636 * sysdeps/sh/sys/ucontext.h: Remove.
5637 * sysdeps/sh/sys: Remove directory.
5639 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5641 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5642 s390/sys/ucontext.h.
5643 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5644 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5646 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5649 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5651 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5654 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5655 Adjust the vDSO correctly for internal calls.
5656 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5658 2014-01-20 Allan McRae <allan@archlinux.org>
5660 * po/ca.po: Update Catalan translation from translation project.
5662 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5664 * sysdeps/s390/sotruss-lib.c: New file.
5666 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5669 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5670 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5671 local calls issues by not having a PLT stub required for IFUNC calls.
5672 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5674 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5676 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5677 * math/test-fpucw-static.c: Likewise.
5679 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5682 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5684 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5686 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5687 implementation for powerpc.
5689 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5692 * sysdeps/posix/system.c (__libc_system): Do not enable
5693 asynchronous cancellation.
5695 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5698 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5699 handling only for numbers special also in the IEEE case.
5701 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5703 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5705 2014-01-11 Allan McRae <allan@archlinux.org>
5707 * po/bg.po: Update Bulgarian translation from translation project.
5709 * po/de.po: Update German translation from translation project.
5711 2014-01-10 Roland McGrath <roland@hack.frob.com>
5713 * sysdeps/generic/gcc-compat.h: New file.
5715 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5717 * benchtests/asin-inputs: Correct slow inputs.
5718 * benchtests/acos-inputs: Likewise.
5720 2014-01-10 Allan McRae <allan@archlinux.org>
5722 * po:sv.po: Update Swedish translation from translation project.
5724 * po/vi.po: Update Vietnamese translation from translation project.
5726 * po/eo.po: Update Esperanto translation from translation project.
5728 * po/cs.po: Update Czech translation from translation project.
5730 * po/nl.po: Update Dutch translation from translation project.
5732 * po/pl.po: Update Polish translation from translation project.
5734 * po/ru.po: Update Russian translation from translation project.
5736 * po/uk.po: Update Ukrainian translation from translation project.
5738 2014-01-08 Brooks Moses <bmoses@google.com>
5740 * elf/dl-load.c: Fix comment typo.
5742 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5744 * po/header.pot: Rename to...
5745 * po/pot.header: ... this.
5746 * po/Makefile: Use pot.header.
5748 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5749 Maxim Kuvyrkov <maxim@kugelworks.com>
5752 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5753 SRC and DEST against LEN.
5755 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5758 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5760 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5762 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5766 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5769 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5770 for large positive arguments.
5772 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5774 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5776 * math/auto-libm-test-in: Mark various tests with
5777 xfail-rounding:ldbl-128ibm.
5778 * math/auto-libm-test-out: Regenerated.
5781 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5782 Increase overflow threshold.
5784 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5787 * stdio-common/vfprintf.c: Check for integer overflow.
5789 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5791 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5792 the first argument and return value of __tls_get_addr_internal.
5794 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5796 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5797 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5799 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5801 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5802 * sysdeps/s390/rtld-global-offsets.sym: New file.
5803 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5805 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5806 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5807 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5809 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5810 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5816 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5817 halfs of GPRs for high_gprs contexts.
5818 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5819 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5821 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5823 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5825 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5826 for high GPRs (uc_high_gprs) and for future extensions
5828 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5829 for future extensions (__reserved).
5830 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5832 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5833 SC_HIGHGPRS offset definition.
5834 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5835 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5837 * Versions.def: Add GLIBC_2.19 for libpthread.
5838 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5839 siglongjmp for libpthread with GLIBC_2.19 symver.
5840 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5841 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5842 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5843 * sysdeps/s390/__longjmp.c: New file.
5844 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5845 * sysdeps/s390/longjmp.c: New file.
5846 * sysdeps/s390/setjmp.S: New file.
5847 * sysdeps/s390/sigjmp.S: New file.
5848 * sysdeps/s390/v1-longjmp.c: New file.
5849 * sysdeps/s390/v1-setjmp.h: New file.
5850 * sysdeps/s390/v1-sigjmp.c: New file.
5851 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5852 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5854 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5855 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5856 versioned symbols for ____longjmp_chk.
5857 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5867 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5868 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5869 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5870 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5871 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5872 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5873 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5874 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5875 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5876 * sysdeps/s390/rtld-__longjmp.c: New file.
5877 * sysdeps/s390/rtld-setjmp.S: New file.
5879 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5882 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5883 Return -__logl (x) for small positive arguments without evaluating
5886 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5888 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5890 (__ptrace_peeksiginfo_args): ... this.
5891 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5892 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5893 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5895 2014-01-06 Allan McRae <allan@archlinux.org>
5897 * inet/netinet/in.h: Fix typo in comment.
5899 2014-01-05 Andreas Jaeger <aj@suse.de>
5901 * sysdeps/i386/fpu/libm-test-ulps: Update.
5903 2014-01-05 Allan McRae <allan@archlinux.org>
5905 * po/libc.pot: Regenerated.
5907 * malloc/memusagestat.c: Fix gettext call formatting.
5909 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5911 * nscd/nscd.c: Improve usage() output.
5913 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5915 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5916 * sysdeps/unix/sysv/linux/configure: Regenerated.
5917 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5918 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5920 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5923 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5924 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5926 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5928 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5929 extra tokens at end of #undef directive.
5930 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5931 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5932 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5934 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5936 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5938 * math/auto-libm-test-in: Mark various tests with
5939 xfail-rounding:ldbl-128ibm.
5940 * math/auto-libm-test-out: Regenerated.
5942 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5945 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5946 numbers with subnormal high part when calculating exponent.
5949 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5953 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5955 (__ieee754_acoshl): Use __log1pl not __log1p.
5957 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5959 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5960 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5961 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5962 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5963 (reused_arena, arena_get2): Convert to GNU style.
5964 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5965 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5966 (memalign_check, __malloc_set_state): Likewise.
5967 * malloc/mallocbug.c (main): Likewise.
5968 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5969 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5970 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5971 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5972 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5973 (__posix_memalign, malloc_info): Likewise.
5974 * malloc/malloc.h: Likewise.
5975 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5976 (mallochook, memalignhook, reallochook, mabort): Likewise.
5977 * malloc/mcheck.h: Likewise.
5978 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5979 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5980 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5981 * malloc/morecore.c (__default_morecore): Likewise.
5982 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5983 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5984 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5985 (print_and_abort): Likewise.
5986 * malloc/obstack.h: Likewise.
5987 * malloc/set-freeres.c (__libc_freeres): Likewise.
5988 * malloc/tst-mallocstate.c (main): Likewise.
5989 * malloc/tst-mtrace.c (main): Likewise.
5990 * malloc/tst-realloc.c (do_test): Likewise.
5992 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5995 * nscd/netgroupcache.c (do_notfound): New function.
5996 (addgetnetgrentX): Use it.
5999 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6000 NSS_STATUS_NOTFOUND.
6002 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6004 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6007 2014-01-01 Allan McRae <allan@archlinux.org>
6009 * scripts/update-copyrights: Update configure input file suffix.
6011 * NEWS: Update copyright year.
6012 * catgets/gencat.c: Likewise.
6013 * csu/version.c: Likewise.
6014 * debug/catchsegv.sh: Likewise.
6015 * debug/pcprofiledump.c: Likewise.
6016 * debug/xtrace.sh: Likewise.
6017 * elf/ldconfig.c: Likewise.
6018 * elf/ldd.bash.in: Likewise.
6019 * elf/pldd.c: Likewise.
6020 * elf/sotruss.ksh: Likewise.
6021 * elf/sprof.c: Likewise.
6022 * iconv/iconv_prog.c: Likewise.
6023 * iconv/iconvconfig.c: Likewise.
6024 * locale/programs/locale.c: Likewise.
6025 * locale/programs/localedef.c: Likewise.
6026 * login/programs/pt_chown.c: Likewise.
6027 * malloc/memusage.sh: Likewise.
6028 * malloc/memusagestat.c: Likewise.
6029 * malloc/mtrace.pl: Likewise.
6030 * manual/libc.texinfo: Likewise.
6031 * nscd/nscd.c: Likewise.
6032 * nss/getent.c: Likewise.
6033 * nss/makedb.c: Likewise.
6034 * posix/getconf.c: Likewise.
6035 * scripts/test-installation.pl: Likewise.
6037 * All files with FSF copyright notices: Update copyright dates
6038 using scripts/update-copyrights.
6039 * intl/plural.c: Regenerated.
6040 * locale/programs/charmap-kw.h: Likewise.
6041 * locale/programs/locfile-kw.h: Likewise.
6043 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6045 * sysdeps/unix/sysv/linux/configure: Regenerated.
6046 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6047 the linux/fanotify.h header.
6048 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6049 HAVE_LINUX_FANOTIFY_H is defined.
6051 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6053 * benchtests/cos-inputs: New inputs.
6054 * benchtests/sin-inputs: Likewise.
6056 * benchtests/atan-inputs: New inputs. Fix name of multiple
6057 precision fallback inputs.
6059 * benchtests/atanh-inputs: New inputs.
6060 * benchtests/tanh-inputs: Likewise.
6062 * benchtests/acosh-inputs: New inputs.
6063 * benchtests/asinh-inputs: Likewise.
6065 * benchtests/cosh-inputs: New inputs.
6066 * benchtests/sinh-inputs: Likewise.
6068 * benchtests/acos-inputs: Add more inputs.
6069 * benchtests/asin-inputs: Likewise.
6071 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6074 * manual/arith.texi: Fix spelling.
6075 * manual/charset.texi: Likewise.
6076 * manual/errno.texi: Likewise.
6077 * manual/filesys.texi: Likewise.
6078 * manual/lang.texi: Likewise.
6079 * manual/llio.texi: Likewise.
6080 * manual/locale.texi: Likewise.
6081 * manual/message.texi: Likewise.
6082 * manual/resource.texi: Likewise.
6083 * manual/search.texi: Likewise.
6084 * manual/setjmp.texi: Likewise.
6085 * manual/stdio.texi: Likewise.
6086 * manual/string.texi: Likewise.
6087 * manual/sysinfo.texi: Likewise.
6088 * manual/time.texi: Likewise.
6090 2013-12-27 Carlos O'Donell <carlos@redhat.com>
6092 * po/sl.po: New file.
6094 2013-12-27 Mike Frysinger <vapier@gentoo.org>
6096 * .gitignore: Add core/.gdbinit/.gdb_history.
6098 2013-12-27 Allan McRae <allan@archlinux.org>
6101 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6102 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6104 2013-12-24 Brooks Moses <bmoses@google.com>
6106 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6107 all compilers that claim C++98 compliance, not just GCC.
6108 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6111 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6113 * NEWS: Restore accidentally deleted bug-fix entries.
6115 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6116 Ondřej Bílka <neleai@seznam.cz>
6119 * malloc/malloc.c (_int_free): Perform sanity check only if we
6122 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
6125 * manual/stdio.texi (String Input Conversions): Clarify that character
6126 classes are not supported.
6128 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6132 2013-12-22 Joseph Myers <joseph@codesourcery.com>
6135 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6136 Calculate results for small negative arguments directly rather
6137 than using reflection formula with special underflow handling.
6139 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6140 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6141 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6142 (fchflags): Likewise.
6144 (setlogin): Likewise.
6145 (sigaltstack): Likewise.
6148 (sigsetmask): Likewise.
6150 (waitpid): Likewise.
6151 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6152 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6154 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6155 * sysdeps/unix/bsd/Makefile: ... here.
6156 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6157 * sysdeps/unix/bsd/Versions: ... here.
6158 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6159 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6160 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6161 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6162 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6163 * sysdeps/unix/bsd/sigblock.c: ... here.
6164 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6165 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6166 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6167 * sysdeps/unix/bsd/sigvec.c: ... here.
6168 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6169 * sysdeps/unix/bsd/tcdrain.c: ... here.
6170 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6171 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6172 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6173 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6174 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6175 * sysdeps/unix/bsd/wait.c: ... here.
6176 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6177 * sysdeps/unix/bsd/wait3.c: ... here.
6178 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6179 * sysdeps/unix/bsd/waitpid.c: ... here.
6181 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6184 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6185 round-to-nearest for [!USE_AS_EXPM1L].
6186 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6187 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6188 more tests of exp and exp10. Expect some exp10 tests to miss
6189 exceptions or fail in directed rounding modes.
6190 * math/auto-libm-test-out: Regenerated.
6191 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6192 (exp10_test_tonearest): New function.
6193 (exp10_towardzero_test_data): New array.
6194 (exp10_test_towardzero): New function.
6195 (exp10_downward_test_data): New array.
6196 (exp10_test_downward): New function.
6197 (exp10_upward_test_data): New array.
6198 (exp10_test_upward): New function.
6199 (main): Call the new functions.
6200 * sysdeps/i386/fpu/libm-test-ulps: Update.
6201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6203 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6205 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6206 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6207 * math/auto-libm-test-out: Regenerated.
6208 * math/libm-test.inc (acosh_test_data): Add more tests.
6209 (atanh_test_data): Likewise.
6210 (ceil_test_data): Likewise.
6211 (copysign_test_data): Likewise.
6212 * sysdeps/i386/fpu/libm-test-ulps: Update.
6213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6215 * timezone/checktab.awk: Update from tzcode 2013i.
6216 * timezone/private.h: Likewise.
6217 * timezone/scheck.c: Likewise.
6218 * timezone/tzfile.h: Likewise.
6219 * timezone/tzselect.ksh: Likewise.
6220 * timezone/zdump.c: Likewise.
6221 * timezone/zic.c: Likewise.
6223 * math/auto-libm-test-in: Add tests of cpow.
6224 * math/auto-libm-test-out: Regenerated.
6225 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6226 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6228 (func_calc_desc): Add mpc_cc_c union field.
6229 (test_functions): Add cpow.
6230 (special_fill_2pi): New function.
6231 (special_real_inputs): Add 2pi.
6232 (calc_generic_results): Handle mpc_cc_c.
6233 * sysdeps/i386/fpu/libm-test-ulps: Update.
6234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6236 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6237 csqrt, ctan and ctanh.
6238 * math/auto-libm-test-out: Regenerated.
6239 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6240 (TEST_COND_x86): Likewise.
6241 (ccos_test_data): Use AUTO_TESTS_c_c.
6242 (ccosh_test_data): Likewise.
6243 (cexp_test_data): Likewise.
6244 (clog_test_data): Likewise.
6245 (csqrt_test_data): Likewise.
6246 (ctan_test_data): Likewise.
6247 (ctan_tonearest_test_data): Likewise.
6248 (ctan_towardzero_test_data): Likewise.
6249 (ctan_downward_test_data): Likewise.
6250 (ctan_upward_test_data): Likewise.
6251 (ctanh_test_data): Likewise.
6252 (ctanh_tonearest_test_data): Likewise.
6253 (ctanh_towardzero_test_data): Likewise.
6254 (ctanh_downward_test_data): Likewise.
6255 (ctanh_upward_test_data): Likewise.
6256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6258 (func_calc_desc): Add mpc_c_c union field.
6259 (FUNC_mpc_c_c): New macro.
6260 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6261 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6263 (special_fill_min_subnorm_p120): New function.
6264 (special_real_inputs): Add min_subnorm_p120.
6265 (calc_generic_results): Handle mpc_c_c.
6266 * sysdeps/i386/fpu/libm-test-ulps: Update.
6267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6269 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6271 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6272 (do_sin_slow): New functions.
6273 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6274 (cslow2, csloww1, csloww2): Use the new functions.
6276 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6277 Use M to change sign of result instead of X. Assume X is
6279 (csloww1): Likewise.
6283 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6288 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6290 (sloww1): Don't adjust sign of DX.
6291 (csloww1): Likewise.
6292 (sloww2): Use X directly and don't adjust sign of DX.
6293 (csloww2): Likewise.
6295 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6297 * math/auto-libm-test-in: Add tests of cabs and carg.
6298 * math/auto-libm-test-out: Regenerated.
6299 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6300 (carg_test_data): Likewise.
6301 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6303 (func_calc_desc): Add mpc_c_f union field.
6304 (test_functions): Add cabs and carg.
6305 (calc_generic_results): Handle mpc_c_f.
6307 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6308 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6309 as a macro and a compat symbol.
6310 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6311 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6312 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6313 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6314 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6315 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6317 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6319 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6321 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6323 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6325 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6327 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6328 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6331 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6335 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6337 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6338 trailing whitespace removed.
6339 * scripts/config.guess: Update to version 2013-11-29.
6340 * scripts/config.sub: Update to version 2013-10-01.
6342 * math/auto-libm-test-in: Add tests of sincos.
6343 * math/auto-libm-test-out: Regenerated.
6344 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6345 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6347 (func_calc_desc): Add mpfr_f_11 union field.
6348 (test_functions): Add sincos.
6349 (calc_generic_results): Handle mpfr_f_11.
6350 * sysdeps/i386/fpu/libm-test-ulps: Update.
6351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6353 2013-12-19 Andreas Schwab <schwab@suse.de>
6355 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6357 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6358 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6359 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6361 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6363 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6364 * sysdeps/i386/fpu/libm-test-ulps: Update.
6365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6368 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6369 round-to-nearest mode when using frndint.
6370 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6371 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6372 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6374 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6376 * math/auto-libm-test-out: Regenerated.
6377 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6378 (TEST_COND_x86): Likewise.
6379 (expm1_tonearest_test_data): New array.
6380 (expm1_test_tonearest): New function.
6381 (expm1_towardzero_test_data): New array.
6382 (expm1_test_towardzero): New function.
6383 (expm1_downward_test_data): New array.
6384 (expm1_test_downward): New function.
6385 (expm1_upward_test_data): New array.
6386 (expm1_test_upward): New function.
6387 (main): Run the new test functions.
6388 * sysdeps/i386/fpu/libm-test-ulps: Update.
6389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6391 * include/features.h: Update comment documenting feature test
6392 macros. Mention _DEFAULT_SOURCE in comment.
6393 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6394 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6395 _BSD_SOURCE and _SVID_SOURCE.
6396 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6397 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6398 !_SVID_SOURCE]: Likewise.
6399 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6400 (__USE_POSIX_IMPLICITLY): Define.
6401 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6402 (_POSIX_SOURCE): Undefine and redefine.
6403 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6404 (_POSIX_C_SOURCE): Likewise.
6405 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6406 (Feature Test Macros): Update documentation of default features.
6408 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6410 * benchtests/Makefile: Add bench-strtok.
6411 * benchtests/bench-strtok.c: New file: strtok benchtest.
6413 2013-12-19 Allan McRae <allan@archlinux.org>
6415 * manual/install.texi: Suppress menu for plain text output.
6416 * INSTALL: Regenerated.
6418 2013-12-18 Brooks Moses <bmoses@google.com>
6421 * misc/getauxval.c: Include errno.h.
6422 (__getauxval): Set errno to ENOENT if the requested type is not
6424 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6425 don't declare with __attribute_const__.
6426 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6427 * manual/startup.texi: Document that getauxval sets errno.
6429 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6431 * math/auto-libm-test-in: Add tests of jn and yn.
6432 * math/auto-libm-test-out: Regenerated.
6433 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6434 (yn_test_data): Likewise.
6435 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6437 (func_calc_desc): Add mpfr_if_f union field.
6438 (FUNC_mpfr_if_f): New macro.
6439 (test_functions): Add jn and yn.
6440 (calc_generic_results): Assert type of second input for
6441 mpfr_ff_f. Handle mpfr_if_f.
6442 (output_for_one_input_case): Disable all checking for arguments
6443 fitting floating-point types in case of an integer argument.
6444 * sysdeps/i386/fpu/libm-test-ulps: Update.
6445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6448 Don't expect fegetround reference in libm.so.
6450 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6452 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6453 $(config-cflags-nofma).
6455 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6457 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6458 * math/auto-libm-test-out: Regenerated.
6461 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6462 to determine exponent and adjust argument to have exponent of -1.
6463 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6465 * math/auto-libm-test-out: Regenerated.
6466 * sysdeps/i386/fpu/libm-test-ulps: Update.
6467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6469 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6471 * manual/probes.texi: Remove cases when per-thread arenas are
6474 2013-12-18 Andreas Schwab <schwab@suse.de>
6476 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6477 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6478 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6479 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6480 * sysdeps/i386/i686/multiarch/Makefile: Update.
6481 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6483 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6485 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6486 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6488 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6491 Support TZ transition times < 00:00:00.
6492 This is needed for version-3 tz-format files; it supports time
6493 stamps past 2037 for America/Godthab (the only entry in the tz
6494 database for which this change is relevant).
6495 * manual/time.texi (TZ Variable): Document transition times
6496 from -167:59:59 through -00:00:01.
6497 * time/tzset.c (tz_rule): Time of day is now signed.
6498 (__tzset_parse_tz): Parse negative time of day.
6500 Document TZ transition times >= 25:00:00.
6501 * manual/time.texi (TZ Variable): Document transition times from
6502 25:00:00 through 167:59:59. These are already supported, and this
6503 support will help with version-3 tz-format files.
6505 * manual/time.texi (TZ Variable): Modernize North America example
6506 to reflect current (i.e., 2007-and-later) daylight saving rules.
6508 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6510 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6512 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6513 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6514 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6515 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6516 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6517 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6518 * sysdeps/unix/bsd/clock.c: Likewise.
6519 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6520 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6521 * sysdeps/unix/bsd/init-posix.c: Likewise.
6522 * sysdeps/unix/bsd/poll.c: Likewise.
6523 * sysdeps/unix/bsd/ptsname.c: Likewise.
6524 * sysdeps/unix/bsd/seekdir.c: Likewise.
6525 * sysdeps/unix/bsd/setegid.c: Likewise.
6526 * sysdeps/unix/bsd/seteuid.c: Likewise.
6527 * sysdeps/unix/bsd/setgid.c: Likewise.
6528 * sysdeps/unix/bsd/setrgid.c: Likewise.
6529 * sysdeps/unix/bsd/setruid.c: Likewise.
6530 * sysdeps/unix/bsd/setsid.c: Likewise.
6531 * sysdeps/unix/bsd/setuid.c: Likewise.
6532 * sysdeps/unix/bsd/sigaction.c: Likewise.
6533 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6534 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6535 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6536 * sysdeps/unix/bsd/telldir.c: Likewise.
6537 * sysdeps/unix/bsd/times.c: Likewise.
6538 * sysdeps/unix/bsd/usleep.c: Likewise.
6540 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6541 ($(objpfx)libbsd-compat.a): Remove rule.
6543 * include/features.h (__FAVOR_BSD): Do not define.
6544 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6545 features conflicting with POSIX.
6546 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6547 (_BSD_SOURCE): Remove description of not being a subset of other
6548 feature test macros.
6549 * manual/job.texi (getpgrp): Do not document BSD version.
6550 (getpgid): Do not document by reference to BSD getpgrp.
6551 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6552 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6553 * signal/signal.h [__FAVOR_BSD]: Likewise.
6554 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6555 instead of making contents conditional on [__FAVOR_BSD].
6556 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6558 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6562 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6565 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6566 values below 2**-450, not 2**-500.
6567 * math/auto-libm-test-in: Don't allow spurious underflow from
6569 * math/auto-libm-test-out: Regenerated.
6573 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6574 values of ha and hb and sort them after adjusting subnormal
6576 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6578 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6579 values of ea and eb and sort them after adjusting subnormal
6581 * math/auto-libm-test-in: Do not expect some hypot tests of
6582 subnormals to fail. Add more hypot tests.
6583 * math/auto-libm-test-out: Regenerated.
6585 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6588 * sysdeps/sh/s_fma.c: New file.
6589 * sysdeps/sh/s_fmaf.c: New file.
6590 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6592 * sysdeps/sh/Implies: Add sh/soft-fp.
6594 2013-12-16 Roland McGrath <roland@hack.frob.com>
6596 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6597 level of indirection to members `objname', `errstring', `malloced'.
6598 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6599 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6600 it as the __longjmp argument (just pass 1 instead).
6601 (_dl_catch_error): Initialize C with argument pointers and address of
6602 volatile local ERRCODE rather than copying values out of C at return.
6604 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6606 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6607 * math/auto-libm-test-out: Regenerated.
6608 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6609 (hypot_test_data): Likewise.
6610 (pow_test_data): Likewise.
6611 (pow_tonearest_test_data): Likewise.
6612 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6614 (func_calc_desc): Add mpfr_ff_f union field.
6615 (FUNC_mpfr_ff_f): New macro.
6616 (test_functions): Add atan2, hypot and pow.
6617 (special_fill_min): New function.
6618 (special_fill_minus_min): Likewise.
6619 (special_fill_min_subnorm): Likewise.
6620 (special_fill_minus_min_subnorm): Likewise.
6621 (special_real_inputs): Add min, -min, min_subnorm and
6623 (calc_generic_results): Handle mpfr_ff_f.
6624 * sysdeps/i386/fpu/libm-test-ulps: Update.
6625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6627 2013-12-16 Will Newton <will.newton@linaro.org>
6629 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6630 (Aligned Memory Blocks): Add documentation for aligned_alloc
6631 and suggest it as an alternative to posix_memalign.
6632 (Hooks for Malloc): Document __memalign_hook is also called
6633 for aligned_alloc. (Summary of Malloc): Add summary for
6634 aligned alloc. Document __memalign_hook is also called
6637 2013-12-16 Will Newton <will.newton@linaro.org>
6639 * manual/memory.texi (Malloc Examples): Clarify default
6640 alignment documentation. Suggest posix_memalign rather
6641 than memalign or valloc.
6642 (Aligned Memory Blocks): Remove suggestion to use memalign
6643 or valloc. Remove obsolete comment about BSD.
6644 Document memalign errno values and mark the function obsolete.
6645 Document posix_memalign returned error codes. Mark valloc
6646 as obsolete. (Hooks for Malloc): __memalign_hook is also
6647 called for posix_memalign and valloc.
6648 (Summary of Malloc): Add posix_memalign to function summary.
6649 __memalign_hook is also called for posix_memalign and valloc.
6651 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6653 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6657 (sloww): Use mynumber union. Expand ternary operator into
6659 (cslow): use mynumber union.
6661 2013-12-16 Allan McRae <allan@archlinux.org>
6663 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6664 * configure: Regenerated.
6666 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6669 * configure.ac: Added --enable-maintainer-mode. Check for
6670 autoconf when enabled.
6671 * configure: Regenerated.
6673 * nscd/nscd.service: New file.
6674 * nscd/nscd.tmpfiles: New file.
6676 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6679 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6680 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6681 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6682 (strstr): Add __strstr_sse2_unaligned ifunc.
6683 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6684 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6685 (strcasestr): Remove __strcasestr_sse42 ifunc.
6686 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6687 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6690 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6692 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6693 * sysdeps/sh/bits/fenv.h: ... here.
6694 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6696 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6698 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6700 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6701 hypotf multiarch implementations.
6702 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6703 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6704 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6705 multiarch hypot for PPC64.
6706 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6707 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6708 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6709 multiarch hypotf for PPC64.
6711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6712 modff multiarch implementations.
6713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6716 multiarch modf for PPC64.
6717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6720 multiarch modff for PPC64.
6722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6723 and logl multiarch implementations.
6724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6727 multiarch logb for PPC64.
6728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6731 multiarch logb for PPC64.
6732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6735 multiarch logb for PPC64.
6737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6738 isinff multiarch implementation.
6739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6743 multiarch isinf for PPC64.
6744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6747 multiarch isinff for PPC64.
6749 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6750 finitef multiarch implementation.
6751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6755 multiarch finite for PPC64.
6756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6759 multiarch finitef for PPC64.
6761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6762 lrint multiarch implementation.
6763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6767 multiarch llrint for PPC64.
6768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6769 multiarch lrint for PPC64.
6771 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6772 copysignf multiarch implementation.
6773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6778 multiarch copysign for PPC64.
6779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6780 multiarch copysignf for PPC64.
6782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6783 multiarch implementation.
6784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6792 multiarch llround for PPC64.
6793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6794 multiarch trunc for PPC64.
6795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6796 multiarch truncf for PPC64.
6798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6799 multiarch implementation.
6800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6808 multiarch llround for PPC64.
6809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6810 multiarch round for PPC64.
6811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6812 multiarch roundf for PPC64.
6814 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6815 multiarch implementation.
6816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6824 multiarch llround for PPC64.
6825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6826 multiarch floor for PPC64.
6827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6828 multiarch floorf for PPC64.
6830 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6831 multiarch implementation.
6832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6840 multiarch llround for PPC64.
6841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6842 multiarch ceil for PPC64.
6843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6844 multiarch ceilf for PPC64.
6846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6847 multiarch implementation.
6848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6855 multiarch llround for PPC64.
6856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6857 multiarch lround for PPC64.
6859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6860 multiarch implementation.
6861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6868 multiarch isnan for PPC64.
6869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6870 multiarch isnanf for PPC64.
6872 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6873 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6874 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6875 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6876 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6879 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6880 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6881 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6882 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6885 multiarch implementations.
6886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6887 (__libc_ifunc_impl_list): Likewise.
6888 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6889 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6890 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6891 multiarch stpcpy for PPC64.
6893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6894 multiarch implementations.
6895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6896 (__libc_ifunc_impl_list): Likewise.
6897 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6898 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6899 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6900 multiarch strcpy for PPC64.
6902 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6903 redefine function name.
6904 (_wordcopy_fwd_dest_aligned): Likewise.
6905 (_wordcopy_bwd_aligned): Likewise.
6906 (_wordcopy_bwd_dest_aligned): Likewise.
6907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6908 multiarch implementations.
6909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6910 (__libc_ifunc_impl_list): Likewise.
6911 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6912 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6913 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6914 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6915 multiarch wcscpy for PPC64.
6917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6918 multiarch implementations.
6919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6920 (__libc_ifunc_impl_list): Likewise.
6921 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6922 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6923 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6924 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6925 multiarch wcscpy for PPC64.
6927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6928 multiarch implementations.
6929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6930 (__libc_ifunc_impl_list): Likewise.
6931 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6932 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6933 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6934 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6935 multiarch wcsrchr for PPC64.
6937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6938 multiarch implementations.
6939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6940 (__libc_ifunc_impl_list): Likewise.
6941 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6942 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6943 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6944 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6945 multiarch wcschr for PPC64.
6947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6948 multiarch implementations.
6949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6950 (__libc_ifunc_impl_list): Likewise.
6951 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6952 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6953 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6954 multiarch strchrnul for PPC64.
6956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6959 (__libc_ifunc_impl_list): Likewise.
6960 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6961 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6962 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6963 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6969 (__libc_ifunc_impl_list): Likewise.
6970 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6971 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6972 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6973 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6977 multiarch implementations.
6978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6979 (__libc_ifunc_impl_list): Likewise.
6980 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6981 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6982 strncasecmp for PPC64.
6983 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6984 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6985 multiarch strncasecmp_l for PPC64.
6987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6988 multiarch implementations.
6989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6990 (__libc_ifunc_impl_list): Likewise.
6991 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6992 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6993 multiarch strcasecmp for PPC64.
6994 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6996 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6997 multiarch strcasecmp_l for PPC64.
6999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7002 (__libc_ifunc_impl_list): Likewise.
7003 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7004 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7005 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7011 (__libc_ifunc_impl_list): Likewise.
7012 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7013 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7014 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7020 (__libc_ifunc_impl_list): Likewise.
7021 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7022 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7023 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7024 rawmemrchr for PPC64.
7026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7029 (__libc_ifunc_impl_list): Likewise.
7030 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7031 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7032 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7038 (__libc_ifunc_impl_list): Likewise.
7039 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7040 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7041 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7047 (__libc_ifunc_impl_list): Likewise.
7048 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7049 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7050 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7053 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7054 avoid cretion of __bzero symbol.
7055 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7057 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7059 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7062 multiarch implementations.
7063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7064 (__libc_ifunc_impl_list): Likewise.
7065 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7066 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7067 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7068 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7070 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7071 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7072 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7073 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7074 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7076 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7078 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7082 (__libc_ifunc_impl_list): Likewise.
7083 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7084 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7085 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7086 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7090 multiarch for POWER/PPC64.
7091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7092 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7093 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7094 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7095 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7096 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7097 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7098 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7099 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7102 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7103 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7104 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7105 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7106 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7107 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7108 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7109 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7110 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7111 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7112 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7113 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7114 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7115 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7116 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7125 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7127 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7129 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7131 * benchtests/Makefile (bench): Add exp2 and log2.
7132 (LDLIBS-bench-exp2): Add -lm.
7133 (LDLIBS-bench-log2): Likewise.
7134 * benchtests/exp2-inputs: New inputs file.
7135 * benchtests/log2-inputs: New inputs file.
7136 * benchtests/log-inputs: Add new inputs.
7137 * benchtests/tan-inputs: Likewise.
7139 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7141 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7143 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7144 (csloww2): ... from here.
7146 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7147 instead of structures.
7148 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7149 (POLYNOMIAL): Likewise.
7150 (TAYLOR_SLOW): Likewise.
7158 (bsloww1): Likewise.
7159 (bsloww2): Likewise.
7162 (csloww1): Likewise.
7163 (csloww2): Likewise.
7165 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7167 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7168 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7169 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7170 * malloc/hooks.c (realloc_check): Likewise.
7172 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7173 * malloc/arena.c: Remove PER_THREAD conditional.
7174 [!PER_THREAD]: Remove code.
7175 (ptmalloc_unlock_all2): Likewise.
7176 (ptmalloc_init): Likewise.
7177 (_int_new_arena): Likewise.
7178 (arena_get2): Likewise.
7179 * malloc/hooks.c (__malloc_get_state): Likewise.
7180 (__malloc_set_state): Likewise.
7181 * malloc/malloc.c: Likewise.
7182 (struct malloc_state): Likewise.
7183 (struct malloc_par): Likewise.
7184 (__libc_realloc): Likewise.
7185 (__libc_mallopt): Likewise.
7187 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7189 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7191 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7193 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7194 macro to a function. Check for zero perturb_byte.
7195 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7197 * malloc/malloc.c: (force_reg): Remove.
7198 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7199 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7200 force_reg by atomic_forced_read.
7201 * malloc/arena.c (ptmalloc_init): Likewise.
7202 * malloc/hooks.c (top_check): Likewise.
7204 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7208 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7212 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7214 * math/auto-libm-test-in: Add tests of lgamma.
7215 * math/auto-libm-test-out: Regenerated.
7216 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7217 (M_LOG_2_SQRT_PIl): Likewise.
7218 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7219 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7221 (func_calc_desc): Add mpfr_f_f1 union field.
7230 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7231 (test_functions): Add lgamma.
7232 (calc_generic_results): Handle mpfr_f_f1.
7233 * sysdeps/i386/fpu/libm-test-ulps: Update.
7234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7236 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7238 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7239 __mpn_add_n for PowerPC64/POWER7.
7240 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7241 __mpn_sub_n for PowerPC64/POWER7.
7243 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7244 __mpn_addmul_1 for PowerPC64.
7245 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7246 __mpn_submul_1 for PowerPC64.
7247 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7249 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7252 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7255 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7257 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7259 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7261 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7262 add multiarch folders.
7263 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7264 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7265 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7266 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7267 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7268 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7269 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7270 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7271 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7272 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7273 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7282 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7288 multiarch __ieee754_hypot for PowerPC32.
7289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7294 multiarch __ieee754_hypotf for PowerPC32.
7296 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7297 long_double_symbol only if __logbl is defined.
7298 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7299 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7300 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7301 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7303 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7304 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7305 path for implementation.
7306 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7307 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7309 logb, and logbl multiarch implementations for PowerPC32.
7310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7315 multiarch logb for PowerPC32.
7316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7321 multiarch logbf for PowerPC32.
7322 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7326 multiarch logbl implementation for PowerPC32.
7328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7329 and modff multiarch implementations.
7330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7335 multiarch modf for PowerPC32.
7336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7341 multiarch modff for PowerPC32.
7343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7344 and lrintf multiarch implementations.
7345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7350 multiarch lrint for PowerPC32.
7351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7352 file: multiarch lrintf for PowerPC32.
7354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7355 and lroundf multiarch implementations.
7356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7363 multiarch lround for PowerPC32.
7364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7365 file: multiarch lroundf for PowerPC32.
7367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7368 copysign and copysignf multiarch implementations.
7369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7374 file: multiarch copysign for PowerPC32.
7375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7376 file: multiarch copysignf for PowerPC32.
7378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7379 and truncf multiarch implementations.
7380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7385 multiarch trunc for PowerPC32.
7386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7391 multiarch truncf for PowerPC32.
7393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7394 and roundf multiarch implementations.
7395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7400 multiarch round for PowerPC32.
7401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7406 multiarch roundf for PowerPC32.
7408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7409 and floorf multiarch implementations.
7410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7415 multiarch floor for PowerPC32.
7416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7421 multiarch floorf for PowerPC32.
7423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7424 and ceilf multiarch implementations.
7425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7430 multiarch ceil for PowerPC32.
7431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7436 multiarch ceilf for PowerPC32.
7438 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7440 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7443 and finitef multiarch implementations.
7444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7449 multiarch finite for PowerPC32.
7450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7453 file: multiarch finitef for PowerPC32.
7455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7456 and isinff multiarch implementations.
7457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7462 multiarch isinf for PowerPC32.
7463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7466 multiarch isinff for PowerPC32.
7468 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7469 alias when __isnan is defined.
7470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7471 and isnanf multiarch implementations.
7472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7481 multiarch isnan for PowerPC32.
7482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7487 multiarch isnanf for PowerPC32.
7489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7490 and sqrtf multiarch implementations.
7491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7496 multiarch sqrt for PowerPC32.
7497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7502 multiarch sqrtf for PowerPC32.
7504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7505 and llroundf multiarch implementations.
7506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7513 file: multiarch llround for PowerPC32.
7514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7515 file: multiarch llroundf for PowerPC32.
7517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7518 multiarch PowerPC32 fpu implementations.
7519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7524 multiarch llrint for PowerPC32.
7525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7534 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7536 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7538 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7540 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7541 multiarch wordcopy for PPC32.
7542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7545 (__libc_ifunc_impl_list): Likewise.
7546 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7547 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7548 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7549 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7550 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7551 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7553 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7556 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7558 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7561 multiarch wcscpy for PPC32.
7562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7565 (__libc_ifunc_impl_list): Likewise.
7566 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7567 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7568 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7569 sysdeps/powerpc/power6/wcscpy.c.
7571 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7579 multiarch wcsrchr for PPC32.
7580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7582 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7583 (__libc_ifunc_impl_list): Likewise.
7584 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7585 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7586 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7587 sysdeps/powerpc/power6/wcsrchr.c.
7589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7595 multiarch wcschr for PPc32.
7596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7599 (__libc_ifunc_impl_list): Likewise.
7600 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7601 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7602 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7603 sysdeps/powerpc/power6/wcschr.c.
7605 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7606 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7608 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7609 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7610 file: multiarch strchr for PPC32.
7611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7614 (__libc_ifunc_impl_list): Likewise.
7616 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7618 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7620 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7622 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7623 multiarch strchrnul for PPC32.
7624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7627 (__libc_ifunc_impl_list): Likewise.
7629 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7631 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7632 multiarch strncasecmp for PPC32.
7633 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7635 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7636 multiarch strncasecmp_l for PPC32.
7637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7638 strncasecmp multiarch objects.
7639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7640 (__libc_ifunc_impl_list): Likewise.
7642 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7644 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7645 multiarch strncasecmp for PPC32.
7646 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7648 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7649 multiarch strcasecmp_l for PPC32.
7650 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7652 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7653 (__libc_ifunc_impl_list): Likewise.
7655 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7657 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7659 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7660 multiarch strncmp for PPC32.
7661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7664 (__libc_ifunc_impl_list): Likewise.
7666 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7667 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7669 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7670 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7674 (__libc_ifunc_impl_list): Likewise.
7676 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7678 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7680 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7684 (__libc_ifunc_impl_list): Likewise.
7686 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7688 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7690 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7691 multiarch rawmemchr for PPC32.
7692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7695 (__libc_ifunc_impl_list): Likewise.
7697 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7699 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7701 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7702 file: memrchr multiarch for PPC32.
7703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7706 (__libc_ifunc_impl_list): Likewise.
7708 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7709 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7711 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7712 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7713 multiarch memchr for PPC32.
7714 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7716 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7717 (__libc_ifunc_impl_list): Likewise.
7719 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7720 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7722 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7724 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7725 file: multiarch mempcpy for PPC32.
7726 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7728 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7729 (__libc_ifunc_impl_list): Likewise.
7731 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7732 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7733 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7734 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7735 multiarch bzero for PPC32.
7736 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7738 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7740 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7741 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7742 file: multiarch memset for PPC32.
7743 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7745 memset multiarch objects.
7746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7747 (__libc_ifunc_impl_list): Likewise.
7749 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7751 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7752 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7754 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7758 (__libc_ifunc_impl_list): Likewise.
7760 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7761 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7762 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7764 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7766 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7768 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7769 multiarch memcpy for PPC32.
7770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7773 (__libc_ifunc_impl_list): Likewise.
7775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7776 support multiarch for POWER/PPC32.
7777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7779 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7781 Implies file to make multiarch folder appers before the fpu and
7782 default folder for power4 configuration.
7784 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7786 * scripts/bench.pl: Append volatile keyword to type.
7788 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7790 * sysdeps/sh/sotruss-lib.c: New file.
7791 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7793 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7797 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7800 * math/w_tgamma.c: Include <errno.h>.
7801 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7802 * math/w_tgammaf.c: Include <errno.h>.
7803 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7804 * math/w_tgammal.c: Include <errno.h>.
7805 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7806 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7807 underflow. Add more tgamma tests.
7808 * math/auto-libm-test-out: Regenerated.
7809 * sysdeps/i386/fpu/libm-test-ulps: Update.
7810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7812 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7813 sin, sinh, tan, tanh, tgamma, y0 and y1.
7814 * math/auto-libm-test-out: Regenerated.
7815 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7816 (TEST_COND_x86): Likewise.
7817 (M_E2l): Remove macro.
7819 (M_2_SQRT_PIl): Likewise.
7820 (M_SQRT_PIl): Likewise.
7821 (M_1_DIV_El): Likewise.
7822 (log_test_data): Use AUTO_TESTS_f_f.
7823 (log10_test_data): Likewise.
7824 (log1p_test_data): Likewise.
7825 (log2_test_data): Likewise.
7826 (sin_test_data): Likewise.
7827 (sin_tonearest_test_data): Likewise.
7828 (sin_towardzero_test_data): Likewise.
7829 (sin_downward_test_data): Likewise.
7830 (sin_upward_test_data): Likewise.
7831 (sinh_test_data): Likewise.
7832 (sinh_tonearest_test_data): Likewise.
7833 (sinh_towardzero_test_data): Likewise.
7834 (sinh_downward_test_data): Likewise.
7835 (sinh_upward_test_data): Likewise.
7836 (tan_test_data): Likewise.
7837 (tan_tonearest_test_data): Likewise.
7838 (tan_towardzero_test_data): Likewise.
7839 (tan_downward_test_data): Likewise.
7840 (tan_upward_test_data): Likewise.
7841 (tanh_test_data): Likewise.
7842 (tgamma_test_data): Likewise.
7843 (y0_test_data): Likewise.
7844 (y1_test_data): Likewise.
7845 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7846 (special_real_inputs): Add pi/4.
7847 * sysdeps/i386/fpu/libm-test-ulps: Update.
7848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7850 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7852 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7853 "longjmp_target" static probes.
7854 (__longjmp): Rename to __longjmp_symbol.
7855 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7856 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7857 on which longjmp to generate.
7858 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7859 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7861 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7862 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7863 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7864 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7865 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7866 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7868 __longjmp_symbol based on which __longjmp to generate.
7869 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7871 (setjmp): Rename to setjmp_symbol.
7872 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7873 (_setjmp): Rename to _setjmp_symbol.
7874 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7875 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7876 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7877 which setjmp to generate.
7878 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7879 "longjmp_target" static probes.
7881 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7883 * benchtests/README: Add note about output arguments.
7884 * benchtests/bench-sincos.c: Remove file.
7885 * benchtests/sincos-inputs: New file.
7886 * scripts/bench.pl: Identify output arguments and define
7887 static variables for them.
7889 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7892 * Makefile (INSTALL): Add install-plain.texi as the primary
7894 * manual/install-plain.texi: New file.
7895 * manual/install.texi: Include node directive only for
7896 non-plaintext output.
7898 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7900 * stdlib/longlong.h: Update from GCC.
7904 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7905 * math/w_j0f.c (y0f): Likewise.
7906 * math/w_j0l.c (__y0l): Likewise.
7907 * math/w_j1.c (y1): Likewise.
7908 * math/w_j1f.c (y1f): Likewise.
7909 * math/w_j1l.c (__y1l): Likewise
7910 * math/w_jn.c (yn): Likewise.
7911 * math/w_jnf.c (ynf): Likewise.
7912 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7913 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7914 value for Bessel function domain errors outside _SVID_ mode.
7915 Adjust sign of return value for yn (negative integer, 0).
7916 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7917 by zero in return for negative x and set sign appropriately for
7919 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7920 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7921 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7922 expectations in error cases.
7923 (y1_test_data): Likewise.
7924 (yn_test_data): Likewise.
7925 * sysdeps/i386/fpu/libm-test-ulps: Update.
7926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7928 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7930 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7931 "64" to "64-v1". Add "64-v2".
7932 (abi-64-options): Rename to ...
7933 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7934 (abi-64-condition): Rename to ...
7935 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7936 (abi-64-ld-soname): Rename to ...
7937 (abi-64-v1-ld-soname): ... this.
7938 (abi-64-v2-options): Define.
7939 (abi-64-v2-condition): Likewise.
7940 (abi-64-v2-ld-soname): Likewise.
7941 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7942 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7947 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7948 Alan Modra <amodra@gmail.com>
7950 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7951 New versions for use with the ELFv2 ABI.
7952 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7953 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7955 (struct La_ppc64v2_retval): Likewise.
7956 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7957 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7958 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7959 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7960 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7961 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7962 Do not save or restore CR.
7963 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7964 (_dl_profile_resolve): Do no save or restore CR. Support extended
7965 return values for ELFv2 ABI. Fix location of FPR return registers.
7966 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7967 updated values for _CALL_ELF == 2.
7968 (La_regs, La_retval, int_retval): Likewise.
7970 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7972 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7973 (FRAME_MIN_SIZE_PARM): Likewise.
7974 (FRAME_BACKCHAIN): Likewise.
7975 (FRAME_CR_SAVE): Likewise.
7976 (FRAME_LR_SAVE): Likewise.
7977 (FRAME_TOC_SAVE): Likewise.
7978 (FRAME_PARM_SAVE): Likewise.
7979 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7980 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7981 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7982 (call_mcount_parm_offset): New macro.
7983 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7984 (PROF): Use symbolic stack frame offsets.
7985 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7986 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7987 Redefine in terms of FRAME_MIN_SIZE.
7988 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7989 (_dl_profile_resolve): Likewise. Update comment.
7990 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7991 symbols stack frame offsets.
7992 (__sigsetjmp): Likewise.
7993 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7994 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7995 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7996 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7999 (FRAME_BACKCHAIN): Remove.
8000 (FRAME_CR_SAVE): Likewise.
8001 (FRAME_LR_SAVE): Likewise.
8002 (FRAME_COMPILER_DW): Likewise.
8003 (FRAME_LINKER_DW): Likewise.
8004 (FRAME_TOC_SAVE): Likewise.
8005 (FRAME_PARM_SAVE): Likewise.
8006 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8007 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8008 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8010 (CHECK_SP): Use symbolic stack frame offsets.
8011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8012 zone" instead of caller's parameter save area for temp storage.
8013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8014 Likewise. Also, use symbolic stack frame offsets.
8015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8016 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8017 our own stack frame instead of the caller's.
8018 (__socket): Use symbolic stack frame offsets.
8020 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8021 Alan Modra <amodra@gmail.com>
8023 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8025 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8026 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8027 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8029 (elf_machine_fixup_plt): Call it.
8030 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8032 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8033 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8034 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8035 r2 before calling target.
8037 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8038 Alan Modra <amodra@gmail.com>
8040 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8041 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8042 versions of macros to support ELFv2 ABI.
8043 (LOCALENTRY): New macro.
8044 (ENTRY, EALIGN): Use it.
8045 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8046 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8047 fall through into ENTRY entry point.
8048 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8049 Only define if _CALL_ELF != 2.
8051 (elf_machine_matches_host): Verify ABI version matches.
8052 (RTLD_START): Use LOCALENTRY.
8053 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8054 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8055 (PLT_ENTRY_WORDS): New macro.
8056 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8057 (elf_machine_runtime_setup): Support ELFv2 ABI.
8058 (elf_machine_fixup_plt): Likewise.
8059 (elf_machine_plt_conflict): Likewise.
8060 (resolve_ifunc): Likewise.
8061 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8062 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8065 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8067 (makecontext): Support ELFv2 ABI.
8068 * elf/elf.h (EF_PPC64_ABI): Define.
8070 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8072 * sysdeps/powerpc/powerpc64/sysdep.h
8073 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8074 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8075 (ENTRY) [ASSEMBLER]: ... but instead here ...
8076 (EALIGN) [ASSEMBLER]: ... and here.
8077 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8078 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8079 (ENTRY_2) [!ASSEMBLER]: Use it.
8080 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8081 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8082 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8083 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8084 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8086 Use PPC64_LOAD_FUNCPTR.
8088 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8090 2013-12-04 Alan Modra <amodra@gmail.com>
8092 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8093 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8094 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8095 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8097 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8098 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8099 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8100 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8101 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8102 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8104 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8107 (__makecontext): Fix incorrect CFI when backtracing out of
8108 context created via makecontext.
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8110 (__setcontext): Fix incorrect CFI during switch to new context.
8111 (__novec_setcontext): Likewise.
8113 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8116 * time/strptime_l.c (__strptime_internal): Allow modifiers
8118 * time/tst-strptime.c (day_tests): Add testcase.
8120 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8122 * scripts/bench.pl: Skip over blank lines.
8124 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8127 * manual/time.texi (Calendar Time): Clarify what timezone functions
8130 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8134 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8136 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8138 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8139 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8140 * debug/memset_chk.c (__memset_chk): Likewise.
8141 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8142 * debug/strncpy_chk.c: Likewise.
8144 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8148 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8149 (__ieee754_exp): For possibly underflowing results, check size of
8150 result and force underflow exception if required.
8151 * math/auto-libm-test-in: Add more tests of exp.
8152 * math/auto-libm-test-out: Regenerated.
8153 * sysdeps/i386/fpu/libm-test-ulps: Update.
8154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8157 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8158 * math/w_exp2f.c (__exp2f): Likewise.
8159 * math/w_exp2l.c (__exp2l): Likewise.
8160 * math/auto-libm-test-in: Do not allow missing errno on exp2
8162 * math/auto-libm-test-out: Regenerated.
8164 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8167 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8168 handle filename validation.
8169 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8172 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8175 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8176 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8177 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8179 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8180 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8181 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8182 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8183 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8184 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8185 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8186 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8187 Add more erfc tests.
8188 * math/auto-libm-test-out: Regenerated.
8189 * sysdeps/i386/fpu/libm-test-ulps: Update.
8190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8192 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8193 exp2, expm1, j0 and j1.
8194 * math/auto-libm-test-out: Regenerated.
8195 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8196 (erfc_test_data): Likewise.
8197 (exp_test_data): Likewise.
8198 (exp_tonearest_test_data): Likewise.
8199 (exp_towardzero_test_data): Likewise.
8200 (exp_downward_test_data): Likewise.
8201 (exp_upward_test_data): Likewise.
8202 (exp10_test_data): Likewise.
8203 (exp2_test_data): Likewise.
8204 (expm1_test_data): Likewise.
8205 (j0_test_data): Likewise.
8206 (j1_test_data): Likewise.
8207 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8208 (input_flag_type): Add flag_xfail_rounding.
8209 (input_flags): Add xfail-rounding.
8210 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8211 (output_for_one_input_case): Handle flag_xfail_rounding.
8212 * sysdeps/i386/fpu/libm-test-ulps: Update.
8213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8215 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8218 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8221 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8224 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8225 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8226 (STAP_PROBE0): New macro.
8227 (STAP_PROBE1): Likewise.
8228 (STAP_PROBE2): Likewise.
8229 (STAP_PROBE3): Likewise.
8230 (STAP_PROBE4): Likewise.
8232 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8234 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8236 2013-12-02 Steve Ellcey <sellcey@mips.com>
8238 * benchtests/Makefile (bench): Add sqrt.
8239 (LDLIBS-bench-sqrt): New.
8240 * benchtests/sqrt-input: New.
8242 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8244 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8245 (GAIH_EAI): Likewise.
8246 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8247 (gaih_inet): Likewise.
8248 (getaddrinfo): Don't use GAIH_EAI.
8250 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8251 (struct gaih): Remove definition.
8253 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8255 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8256 Use HERRNOP directly.
8258 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8262 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8264 * math/gen-auto-libm-tests.c (test_functions): Add more
8265 single-argument functions.
8266 (special_fill_pi_2): New function.
8267 (special_fill_minus_pi_2): Likewise.
8268 (special_fill_pi_6): Likewise.
8269 (special_fill_minus_pi_6): Likewise.
8270 (special_fill_pi_3): Likewise.
8271 (special_fill_2pi_3): Likewise.
8272 (special_fill_e): Likewise.
8273 (special_fill_1_e): Likewise.
8274 (special_fill_e_minus_1): Likewise.
8275 (special_real_inputs): Add more special inputs.
8276 (output_for_one_input_case): Do not require ERANGE on underflow to
8277 zero if round-to-nearest result does not underflow to zero, unless
8278 exact results required.
8279 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8280 atan, atanh, cbrt, cos and cosh.
8281 * math/auto-libm-test-out: Regenerated.
8282 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8283 (acos_tonearest_test_data): Likewise.
8284 (acos_towardzero_test_data): Likewise.
8285 (acos_downward_test_data): Likewise.
8286 (acos_upward_test_data): Likewise.
8287 (acosh_test_data): Likewise.
8288 (asin_test_data): Likewise.
8289 (asin_tonearest_test_data): Likewise.
8290 (asin_towardzero_test_data): Likewise.
8291 (asin_upward_test_data): Likewise.
8292 (asinh_test_data): Likewise.
8293 (atan_test_data): Likewise.
8294 (atanh_test_data): Likewise.
8295 (cbrt_test_data): Likewise.
8296 (cos_test_data): Likewise.
8297 (cos_tonearest_test_data): Likewise.
8298 (cos_towardzero_test_data): Likewise.
8299 (cos_downward_test_data): Likewise.
8300 (cos_upward_test_data): Likewise.
8301 (cosh_test_data): Likewise.
8302 (cosh_tonearest_test_data): Likewise.
8303 (cosh_towardzero_test_data): Likewise.
8304 (cosh_downward_test_data): Likewise.
8305 (cosh_upward_test_data): Likewise.
8306 * sysdeps/i386/fpu/libm-test-ulps: Update.
8307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8309 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8312 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8313 * math/w_exp10f.c (__exp10f): Likewise.
8314 * math/w_exp10l.c (__exp10l): Likewise.
8315 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8316 errno settings in existing tests.
8319 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8320 precision control set to double precision.
8321 * sysdeps/i386/fpu/w_sqrt.c: New file.
8322 * math/auto-libm-test-in: Add more tests.
8323 * math/auto-libm-test-out: Update.
8325 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8326 (sqrt_test_tonearest): New function.
8327 (sqrt_towardzero_test_data): New variable.
8328 (sqrt_test_towardzero): New function.
8329 (sqrt_downward_test_data): New variable.
8330 (sqrt_test_downward): New function.
8331 (sqrt_upward_test_data): New variable.
8332 (sqrt_test_upward): New function.
8333 (main): Call the new functions.
8335 * math/gen-auto-libm-tests.c: New file.
8336 * math/auto-libm-test-in: Likewise.
8337 * math/auto-libm-test-out: New generated file.
8338 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8340 (%beautify): Add generated representations of zero.
8341 (top level): Set $auto_input and call parse_auto_input.
8342 (beautify): Remove trailing "f" from hex float constants.
8343 (parse_args): Handle XFAIL_TEST.
8344 (convert_condition): New function.
8345 (or_value): Likewise.
8346 (or_cond_value): Likewise.
8347 (generate_testfile): Handle AUTO_TESTS_* lines.
8348 (parse_auto_input): New function.
8349 * math/libm-test.inc (XFAIL_TEST): New macro.
8350 (ERRNO_UNCHANGED): Update value.
8351 (ERRNO_EDOM): Likewise.
8352 (ERRNO_ERANGE): Likewise.
8353 (IGNORE_RESULT): Likewise.
8354 (TEST_COND_flt_32): New macro.
8355 (TEST_COND_dbl_64): Likewise.
8356 (TEST_COND_ldbl_96_intel): Likewise.
8357 (TEST_COND_ldbl_96_m68k): Likewise.
8358 (TEST_COND_ldbl_128): Likewise.
8359 (TEST_COND_ldbl_128ibm): Likewise.
8360 (TEST_COND_long32): Likewise.
8361 (TEST_COND_long64): Likewise.
8362 (TEST_COND_before_rounding): Likewise.
8363 (TEST_COND_after_rounding): Likewise.
8364 (enable_test): Handle XFAIL_TEST flag.
8365 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8366 with finite results.
8367 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8370 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8371 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8374 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8375 __tls_get_addr_internal instead of __tls_get_offset in order to
8376 avoid GOT pointer dependency. Make rtld export
8377 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8378 __tls_get_addr since we are a __tls_get_offset platform.
8379 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8380 GOT pointer being set up before.
8381 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8383 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8385 * manual/math.texi (Errors in Math Functions): Document accuracy
8389 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8390 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8393 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8395 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8402 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8406 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8407 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8408 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8409 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8410 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8412 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8414 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8416 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8417 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8418 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8419 atomic-feupdateenv and flt-rounds.
8420 * sysdeps/powerpc/nofpu/Versions (libc): Add
8421 __atomic_feholdexcept, __atomic_feclearexcept,
8422 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8423 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8424 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8425 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8426 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8431 * manual/arith.texi (FP Exceptions): Document that exceptions may
8432 not be raised when matherr is used.
8433 (Math Error Reporting): Document overflow in directed rounding
8434 modes. Document that errno may not be set when finite values are
8435 returned on overflow. Document intent to set errno on underflow
8436 only for underflow to zero.
8439 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8440 round-to-nearest then adjust result for other rounding modes.
8441 * include/fenv.h (fegetround): Use libm_hidden_proto.
8442 * math/fegetround.c (fegetround): Use libm_hidden_def.
8443 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8444 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8445 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8446 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8448 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8449 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8450 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8451 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8453 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8456 * nss/Versions (libnss_files): Add
8457 _nss_files_gethostbyname3_r.
8458 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8460 (HOST_DB_LOOKUP): Remove macro.
8461 (_nss_files_gethostbyname_r): Implement function without the
8462 HOST_DB_LOOKUP macro.
8463 (_nss_files_gethostbyname2_r): Likewise.
8465 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8467 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8469 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8471 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8472 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8475 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8477 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8478 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8479 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8480 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8481 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8482 __fe_nomask_env_priv and attribute_hidden.
8483 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8484 (libc_feupdateenv_test_ppc): Likewise.
8485 (libc_feresetround_ppc): Likewise.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8487 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8488 compat_symbol macro.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8490 (__fe_nomask_env): Likewise.
8491 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8493 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8495 * string/Makefile: Remove ifunc tests.
8496 * string/test-string.h: Define TEST_IFUNC.
8497 * string/test-bcopy-ifunc.c: Remove.
8498 * string/test-bzero-ifunc.c: Likewise.
8499 * string/test-memccpy-ifunc.c: Likewise.
8500 * string/test-memchr-ifunc.c: Likewise.
8501 * string/test-memcmp-ifunc.c: Likewise.
8502 * string/test-memcpy-ifunc.c: Likewise.
8503 * string/test-memmem-ifunc.c: Likewise.
8504 * string/test-memmove-ifunc.c: Likewise.
8505 * string/test-mempcpy-ifunc.c: Likewise.
8506 * string/test-memrchr-ifunc.c: Likewise.
8507 * string/test-memset-ifunc.c: Likewise.
8508 * string/test-rawmemchr-ifunc.c: Likewise.
8509 * string/test-stpcpy-ifunc.c: Likewise.
8510 * string/test-stpncpy-ifunc.c: Likewise.
8511 * string/test-strcasecmp-ifunc.c: Likewise.
8512 * string/test-strcasestr-ifunc.c: Likewise.
8513 * string/test-strcat-ifunc.c: Likewise.
8514 * string/test-strchr-ifunc.c: Likewise.
8515 * string/test-strchrnul-ifunc.c: Likewise.
8516 * string/test-strcmp-ifunc.c: Likewise.
8517 * string/test-strcpy-ifunc.c: Likewise.
8518 * string/test-strcspn-ifunc.c: Likewise.
8519 * string/test-strlen-ifunc.c: Likewise.
8520 * string/test-strncasecmp-ifunc.c: Likewise.
8521 * string/test-strncat-ifunc.c: Likewise.
8522 * string/test-strncmp-ifunc.c: Likewise.
8523 * string/test-strncpy-ifunc.c: Likewise.
8524 * string/test-strnlen-ifunc.c: Likewise.
8525 * string/test-strpbrk-ifunc.c: Likewise.
8526 * string/test-strrchr-ifunc.c: Likewise.
8527 * string/test-strspn-ifunc.c: Likewise.
8528 * string/test-strstr-ifunc.c: Likewise.
8530 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8532 * benchtests/Makefile: Remove ifunc tests.
8533 * benchtests/bench-string.h: Define TEST_IFUNC.
8534 * benchtests/bench-bcopy-ifunc.c: Remove.
8535 * benchtests/bench-bzero-ifunc.c: Likewise.
8536 * benchtests/bench-memccpy-ifunc.c: Likewise.
8537 * benchtests/bench-memchr-ifunc.c: Likewise.
8538 * benchtests/bench-memcmp-ifunc.c: Likewise.
8539 * benchtests/bench-memcpy-ifunc.c: Likewise.
8540 * benchtests/bench-memmem-ifunc.c: Likewise.
8541 * benchtests/bench-memmove-ifunc.c: Likewise.
8542 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8543 * benchtests/bench-memrchr-ifunc.c: Likewise.
8544 * benchtests/bench-memset-ifunc.c: Likewise.
8545 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8546 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8547 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8548 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8549 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8550 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8551 * benchtests/bench-strcat-ifunc.c: Likewise.
8552 * benchtests/bench-strchr-ifunc.c: Likewise.
8553 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8554 * benchtests/bench-strcmp-ifunc.c: Likewise.
8555 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8556 * benchtests/bench-strcpy-ifunc.c: Likewise.
8557 * benchtests/bench-strcspn-ifunc.c: Likewise.
8558 * benchtests/bench-strlen-ifunc.c: Likewise.
8559 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8560 * benchtests/bench-strncat-ifunc.c: Likewise.
8561 * benchtests/bench-strncmp-ifunc.c: Likewise.
8562 * benchtests/bench-strncpy-ifunc.c: Likewise.
8563 * benchtests/bench-strnlen-ifunc.c: Likewise.
8564 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8565 * benchtests/bench-strrchr-ifunc.c: Likewise.
8566 * benchtests/bench-strsep-ifunc.c: Likewise.
8567 * benchtests/bench-strspn-ifunc.c: Likewise.
8568 * benchtests/bench-strstr-ifunc.c: Likewise.
8570 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8572 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8574 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8576 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8577 * rt/aio.h: Likewise.
8578 * sysdeps/gnu/bits/utmp.h: Likewise.
8579 * sysdeps/gnu/bits/utmpx.h: Likewise.
8580 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8581 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8582 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8583 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8584 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8585 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8586 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8587 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8588 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8589 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8590 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8591 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8592 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8594 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8595 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8596 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8597 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8598 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8599 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8600 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8601 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8602 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8603 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8604 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8606 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8607 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8608 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8609 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8610 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8611 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8612 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8613 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8614 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8615 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8616 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8617 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8618 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8619 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8620 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8621 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8623 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8626 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8627 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8629 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8631 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8632 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8635 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8637 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8638 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8639 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8640 (__fesetround): Remove define.
8641 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8642 rounding and exceptions handling.
8643 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8644 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8645 (__fe_nomask_env): Likewise.
8646 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8647 __fegetround instead of fegetround.
8648 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8649 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8651 2013-11-21 Roland McGrath <roland@hack.frob.com>
8653 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8656 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8658 2013-11-21 Meador Inge <meadori@codesourcery.com>
8661 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8662 (encrypt_r): Likewise.
8663 * malloc/obstack.h (obstack_free): Likewise.
8664 * posix/unistd.h (encrypt): Likewise.
8666 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8668 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8669 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8670 DL_CALL_DT_FINI() that call the functions directly.
8671 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8672 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8673 * elf/dl-fini.c: Likewise.
8675 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8677 * malloc/hooks.c (memalign_check): Add alignment rounding.
8678 * malloc/malloc.c (_mid_memalign): New function.
8679 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8680 Implement by calling _mid_memalign.
8681 * manual/probes.texi (Memory Allocation Probes): Remove
8682 memory_valloc_retry and memory_pvalloc_retry.
8684 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8686 * locale/programs/locarchive.c (open_archive): Add const
8687 qualifier to ARCHIVEFNAME and copy default fname to
8691 * libio/tst-widetext.input: Rename Oriya to Odia.
8692 * locale/iso-639.def: Likewise.
8694 * manual/probes.texi (Mathematical Function Probes): Add
8695 documentation for sin, cos, asin and acos probes.
8696 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8697 (__sin32): Add slowasin probe.
8698 (__cos32): Add slowacos probe.
8699 (__mpsin): Add slowsin probe.
8700 (__mpcos): Add slowcos probe.
8702 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8705 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8706 thread-local __sim_exceptions_thread and global
8707 __sim_exceptions_global.
8708 (__sim_disabled_exceptions): Change to thread-local
8709 __sim_disabled_exceptions_thread and global
8710 __sim_disabled_exceptions_global.
8711 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8712 and global __sim_round_mode_global.
8713 (__simulate_exceptions): Use thread-local floating-point state and
8714 set global state from it as needed.
8715 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8716 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8717 __sim_round_mode_thread.
8718 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8719 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8720 and global __sim_exceptions_global.
8721 (__sim_disabled_exceptions): Change to thread-local
8722 __sim_disabled_exceptions_thread and global
8723 __sim_disabled_exceptions_global.
8724 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8725 and global __sim_round_mode_global.
8726 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8727 (SIM_SET_GLOBAL): Likewise.
8728 * sysdeps/powerpc/soft-fp/sfp-machine.h
8729 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8730 __sim_round_mode_thread.
8731 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8732 __sim_disabled_exceptions_thread.
8733 (__sim_exceptions): Change to __sim_exceptions_thread.
8734 (__sim_disabled_exceptions): Change to
8735 __sim_disabled_exceptions_thread.
8736 (__sim_round_mode): Change to __sim_round_mode_thread.
8737 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8738 thread-local floating-point state and set global state from it as
8740 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8741 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8742 (__sim_disabled_exceptions): Remove extern declaration.
8743 (feenableexcept): Use thread-local floating-point state and set
8744 global state from it as needed.
8745 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8747 (__sim_disabled_exceptions): Likewise.
8748 (__sim_round_mode): Likewise.
8749 (__fegetenv): Use thread-local floating-point state.
8750 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8751 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8752 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8753 floating-point state and set global state from it as needed.
8754 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8755 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8756 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8758 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8759 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8761 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8762 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8763 Use __sim_round_mode_thread.
8764 * math/test-fenv-tls.c: New file.
8765 * math/Makefile (tests): Add test-fenv-tls.
8766 ($(objpfx)test-fenv-tls): Depend on
8767 $(common-objpfx)nptl/libpthread.so.
8769 2013-11-19 Andreas Schwab <schwab@suse.de>
8771 * locale/programs/locale.c (show_info): Decode wordarray elements.
8772 * locale/categories.def (LC_MONETARY): Add element for
8773 _NL_MONETARY_CRNCYSTR.
8774 * locale/C-monetary.c (conversion_rate): New variable.
8775 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8778 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8780 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8781 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8783 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8785 * elf/Makefile (tst-auxv): New test.
8786 * elf/tst-auxv.c: New
8787 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8789 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8791 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8792 (hidden_proto): Caller changed.
8793 (hidden_tls_proto): New macro.
8794 (libc_hidden_tls_proto): Likewise.
8795 (rtld_hidden_tls_proto): Likewise.
8796 (libm_hidden_tls_proto): Likewise.
8797 (libresolv_hidden_tls_proto): Likewise.
8798 (librt_hidden_tls_proto): Likewise.
8799 (libdl_hidden_tls_proto): Likewise.
8800 (libnss_files_hidden_tls_proto): Likewise.
8801 (libnsl_hidden_tls_proto): Likewise.
8802 (libnss_nisplus_hidden_tls_proto): Likewise.
8803 (libutil_hidden_tls_proto): Likewise.
8805 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8808 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8809 (decompose_rpath): Defer expansion to fillin_rpath.
8810 (_dl_init_paths): Pass linkmap to fillin_rpath.
8812 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8814 * benchtests/Makefile: Add strsep.
8815 * benchtests/bench-strsep.c: New file: strsep benchtest.
8816 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8818 2013-11-18 Andreas Schwab <schwab@suse.de>
8820 * locale/programs/locale.c (show_info) [case byte]: Check for
8821 '\377' instead of '\177'.
8822 * locale/C-monetary.c (not_available): Always use "\377".
8823 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8824 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8825 detect unavailable sign_posn locale elements.
8826 * locale/localeconv.c (__localeconv): For grouping and
8827 mon_grouping handle "\177" and "\377" like no grouping.
8828 (INT_ELEM): New macro. Use it to set all numeric members.
8829 * locale/programs/ld-monetary.c (monetary_read)
8830 <tok_mon_grouping>: Normalize single -1 to the empty string.
8831 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8834 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8837 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8838 when we match (nil).
8839 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8841 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8843 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8844 (NO_TEST_INLINE): Update value.
8845 (ERRNO_UNCHANGED): Likewise.
8846 (ERRNO_EDOM): Likewise.
8847 (ERRNO_ERANGE): Likewise.
8848 (IGNORE_RESULT): Likewise.
8849 (check_float_internal): Check signs of NaN results if
8851 (check_complex): Pass TEST_NAN_SIGN flag through to second
8852 check_float_internal call.
8853 (copysign_test_data): Add tests with quiet NaNs as second
8854 argument. Use TEST_NAN_SIGN.
8855 (fabs_test_data): Add test of negative quiet NaN argument. Use
8857 (signbit_test_data): Add tests of quiet NaN argument.
8858 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8860 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8862 (parse_args): Handle function results specified as IGNORE.
8863 * math/libm-test.inc (IGNORE_RESULT): New macro.
8864 (check_float_internal): Do not check numerical result if flag
8866 (check_complex): Pass through IGNORE_RESULT to second
8867 check_float_internal call.
8868 (check_int): Do not check numerical result if flag IGNORE_RESULT
8870 (check_long): Likewise.
8871 (check_bool): Likewise.
8872 (check_longlong): Likewise.
8873 (lrint_test_data): Add tests of infinite and NaN arguments.
8874 (lrint_tonearest_test_data): Likewise.
8875 (lrint_towardzero_test_data): Likewise.
8876 (lrint_downward_test_data): Likewise.
8877 (lrint_upward_test_data): Likewise.
8878 (llrint_test_data): Likewise.
8879 (llrint_tonearest_test_data): Likewise.
8880 (llrint_towardzero_test_data): Likewise.
8881 (llrint_downward_test_data): Likewise.
8882 (llrint_upward_test_data): Likewise.
8883 (lround_test_data): Likewise.
8884 (llround_test_data): Likewise.
8886 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8887 (ERRNO_UNCHANGED): Update value.
8888 (ERRNO_EDOM): Likewise.
8889 (ERRNO_ERANGE): Likewise.
8890 (NO_TEST_INLINE_FLOAT): New macro.
8891 (NO_TEST_INLINE_DOUBLE): Likewise.
8892 (enable_test): New function.
8893 (RUN_TEST_f_f): Check enable_test before running test.
8894 (RUN_TEST_2_f): Likewise.
8895 (RUN_TEST_fff_f): Likewise.
8896 (RUN_TEST_c_f): Likewise.
8897 (RUN_TEST_f_f1): Likewise.
8898 (RUN_TEST_fF_f1): Likewise.
8899 (RUN_TEST_fI_f1): Likewise.
8900 (RUN_TEST_ffI_f1): Likewise.
8901 (RUN_TEST_c_c): Likewise.
8902 (RUN_TEST_cc_c): Likewise.
8903 (RUN_TEST_f_i): Likewise.
8904 (RUN_TEST_f_i_tg): Likewise.
8905 (RUN_TEST_ff_i_tg): Likewise.
8906 (RUN_TEST_f_b): Likewise.
8907 (RUN_TEST_f_b_tg): Likewise.
8908 (RUN_TEST_f_l): Likewise.
8909 (RUN_TEST_f_L): Likewise.
8910 (RUN_TEST_fFF_11): Likewise.
8911 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8913 (cosh_test_data): Likewise.
8914 (exp_test_data): Likewise.
8915 (expm1_test_data): Likewise.
8916 (hypot_test_data): Likewise.
8917 (pow_test_data): Likewise.
8918 (sinh_test_data): Likewise.
8919 (tanh_test_data): Likewise.
8920 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8923 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8924 tests with quiet NaN input and output.
8925 (acosh_test_data): Likewise.
8926 (asin_test_data): Likewise.
8927 (asinh_test_data): Likewise.
8928 (atan_test_data): Likewise.
8929 (atanh_test_data): Likewise.
8930 (atan2_test_data): Likewise.
8931 (cbrt_test_data): Likewise.
8932 (cos_test_data): Likewise.
8933 (cosh_test_data): Likewise.
8934 (erf_test_data): Likewise.
8935 (erfc_test_data): Likewise.
8936 (exp_test_data): Likewise.
8937 (exp10_test_data): Likewise.
8938 (exp2_test_data): Likewise.
8939 (expm1_test_data): Likewise.
8940 (hypot_test_data): Likewise.
8941 (j0_test_data): Likewise.
8942 (j1_test_data): Likewise.
8943 (jn_test_data): Likewise.
8944 (lgamma_test_data): Likewise.
8945 (log_test_data): Likewise.
8946 (log10_test_data): Likewise.
8947 (log1p_test_data): Likewise.
8948 (log2_test_data): Likewise.
8949 (pow_test_data): Likewise.
8950 (scalb_test_data): Likewise.
8951 (sin_test_data): Likewise.
8952 (sincos_test_data): Likewise.
8953 (sinh_test_data): Likewise.
8954 (tan_test_data): Likewise.
8955 (tanh_test_data): Likewise.
8956 (tgamma_test_data): Likewise.
8957 (y0_test_data): Likewise.
8958 (y1_test_data): Likewise.
8959 (yn_test_data): Likewise.
8962 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8963 argument being NaN and avoid computations with second argument in
8965 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8966 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8967 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8969 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8971 * locale/iso-639.def: Add Chitwani Tharu (the).
8973 2013-11-14 Andreas Schwab <schwab@suse.de>
8975 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8976 word instead of empty string.
8978 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8981 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8983 (__fe_nomask_env): Likewise.
8985 2013-11-13 Steve Ellcey <sellcey@mips.com>
8987 * benchtests/bench-timing.h: Include time.h.
8989 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8992 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8994 * sysdeps/unix/sysv/linux/configure: Regenerated.
8996 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8999 * stdlib/strtod_l.c (round_and_return): Do not consider
9000 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9001 exponent one less than half the least subnormal exponent.
9002 * stdlib/test-strtod-round-data: Add more tests.
9003 * stdlib/tst-strtod-round.c (tests): Regenerated.
9005 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9008 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9009 (__fe_mask_env): Likewise.
9010 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9011 libm_hidden_proto and add function prototype.
9012 (__fe_mask_env): Add function prototype.
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9014 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9016 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9018 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9020 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9022 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9023 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9025 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9027 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9028 of htab_find_slot().
9030 2013-11-11 David S. Miller <davem@davemloft.net>
9033 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9034 symbol in the non-vis3 case in static builds.
9035 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9036 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9037 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9038 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9040 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9043 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9046 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9048 * benchtests/Makefile: Add bench-strtod.
9049 * benchtests/bench-strtod.c: New file: strtod benchtest
9051 2013-11-11 Andreas Schwab <schwab@suse.de>
9054 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9055 terminating NUL in key length.
9057 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9060 Add artificial ODP entry for vDSO symbol for PPC64.
9061 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9062 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9064 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9067 * nss/getent.c (services_keys): Recognize services starting with digit.
9069 2013-11-06 David S. Miller <davem@davemloft.net>
9072 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9073 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9075 2013-11-06 Will Newton <will.newton@linaro.org>
9077 * manual/memory.texi (Malloc Examples): Remove register
9078 keyword from examples.
9080 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
9082 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9084 2013-11-04 Joseph Myers <joseph@codesourcery.com>
9087 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9088 depending on [__GCC_IEC_559 > 0].
9089 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9090 depending on [__GCC_IEC_559_COMPLEX > 0].
9092 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
9094 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9097 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
9099 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9101 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
9104 * malloc/malloc (malloc_info): Do not handle first bin as
9107 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
9109 * locale/iso-639.def: Add Central Nahuatl (nhn).
9111 2013-11-01 Bruno Haible <bruno@clisp.org>
9114 * manual/math.texi (BSD Random): Specify range upper bound as
9117 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
9119 * locale/iso-639.def: Add Meadow Mari (mhr).
9121 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
9123 [BZ #14752], [BZ #15763]
9124 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9126 * rt/tst_shm.c: Add test for escaping directory.
9128 2013-10-31 Andreas Schwab <schwab@suse.de>
9131 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9132 followed by 'x' as part of digit sequence.
9133 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9135 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9138 * configure.ac: allow GNU Make 4.0 and greater.
9139 * configure: Regenerated.
9141 2013-10-30 Will Newton <will.newton@linaro.org>
9144 * malloc/hooks.c (memalign_check): Limit alignment to the
9145 maximum representable power of two.
9146 * malloc/malloc.c (__libc_memalign): Likewise.
9147 * malloc/tst-memalign.c (do_test): Add test for very
9148 large alignment values.
9149 * malloc/tst-posix_memalign.c (do_test): Likewise.
9151 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9154 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9155 (munmap_chunk): Likewise.
9156 (mremap_chunk): Likewise.
9158 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9161 * stdlib/div.c (div): Remove obsolete code.
9162 * stdlib/ldiv.c (ldiv): Likewise.
9163 * stdlib/lldiv.c (lldiv): Likewise.
9165 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9168 * nss/nss_files/files-XXX.c (get_contents_ret): New
9170 (get_contents): New function.
9171 (internal_getent): Use it. Expand size of LINEBUFLEN.
9173 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9175 * configure.in: Moved to ...
9176 * configure.ac: ... here. Change reference to configure.in
9178 * sysdeps/arm/preconfigure.ac: ... here.
9179 configure.in to configure.ac.
9180 * sysdeps/gnu/configure.in: Moved to ...
9181 * sysdeps/gnu/configure.ac: ... here.
9182 * sysdeps/i386/configure.in: Moved to ...
9183 * sysdeps/i386/configure.ac: ... here.
9184 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9185 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9186 * sysdeps/mach/configure.in: Moved to ...
9187 * sysdeps/mach/configure.ac: ... here.
9188 * sysdeps/mach/hurd/configure.in: Moved to ...
9189 * sysdeps/mach/hurd/configure.ac: ... here.
9190 * sysdeps/powerpc/configure.in: Moved to ...
9191 * sysdeps/powerpc/configure.ac: ... here.
9192 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9193 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9194 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9195 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9196 * sysdeps/s390/s390-32/configure.in: Moved to ...
9197 * sysdeps/s390/s390-32/configure.ac: ... here.
9198 * sysdeps/s390/s390-64/configure.in: Moved to ...
9199 * sysdeps/s390/s390-64/configure.ac: ... here.
9200 * sysdeps/sh/configure.in: Moved to ...
9201 * sysdeps/sh/configure.ac: ... here.
9202 * sysdeps/sparc/configure.in: Moved to ...
9203 * sysdeps/sparc/configure.ac: ... here.
9204 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9205 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9206 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9207 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9208 * sysdeps/x86_64/configure.in: Moved to ...
9209 * sysdeps/x86_64/configure.ac: ... here.
9210 * sysdeps/x86_64/preconfigure.in: Moved to ...
9211 * sysdeps/x86_64/preconfigure.ac: ... here.
9212 * aclocal.m4: Change reference to configure.in to configure.ac.
9213 * config.h.in: Likewise.
9214 * manual/install.texi: Likewise.
9215 * manual/maint.texi: Likewise.
9216 * Makefile: Likewise.
9217 * malloc/Makefile: Likewise.
9218 * nscd/Makefile: Likewise.
9219 * Makeconfig: Change reference to configure.in and
9220 preconfigure.in to configure.ac and preconfigure.ac
9222 * INSTALL: Regenerated.
9223 * configure: Likewise.
9224 * sysdeps/gnu/configure: Likewise.
9225 * sysdeps/i386/configure: Likewise.
9226 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9227 * sysdeps/mach/configure: Likewise.
9228 * sysdeps/mach/hurd/configure: Likewise.
9229 * sysdeps/powerpc/configure: Likewise.
9230 * sysdeps/powerpc/powerpc32/configure: Likewise.
9231 * sysdeps/powerpc/powerpc64/configure: Likewise.
9232 * sysdeps/s390/s390-32/configure: Likewise.
9233 * sysdeps/s390/s390-64/configure: Likewise.
9234 * sysdeps/sh/configure: Likewise.
9235 * sysdeps/sparc/configure: Likewise.
9236 * sysdeps/unix/sysv/linux/configure: Likewise.
9237 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9238 * sysdeps/x86_64/configure: Likewise.
9239 * sysdeps/x86_64/preconfigure: Likewise.
9241 2013-10-29 Andreas Schwab <schwab@suse.de>
9243 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9245 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9247 * benchtests/pow-inputs: Add new inputs.
9249 * benchtests/exp-inputs: Add new inputs.
9251 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9252 conditional check for return value.
9253 (__cos32): Likewise.
9255 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9257 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9258 to provide a boost for large inputs with word alignment.
9259 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9260 implementation based on optimized PPC64 strcpy.
9261 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9262 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9263 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9264 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9266 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9269 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9271 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9274 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9275 * time/tst-strptime.c (day_tests): Add testcase.
9277 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9280 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9282 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9285 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9286 MAP_FAILED on error.
9288 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9291 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9292 heap for large requests.
9294 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9297 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9298 result if the result has no associated interface.
9299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9300 interface for all 127.X.Y.Z addresses.
9302 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9304 * locale/iso-639.def: Add Ligurian (lij)
9306 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9309 * sunrpc/rpc_main.c: Document rpcgen -5.
9311 2013-10-19 Michael Stahl <mstahl@redhat.com>
9313 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9315 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9318 * posix/glob.c: Match only directories when trailing slash is present.
9319 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9320 (main): Add testcase.
9322 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9325 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9327 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9329 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9330 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9331 AUTH_DES and cindex for FIPS 140-2.
9332 (DES Encryption): Add cindex FIPS 46-3.
9334 * locale/locarchive.h (struct locarhandle): Add fname.
9335 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9336 if an optional argument was specified to --list-archive,
9338 * locale/programs/locarchive.c (show_archive_content): Take new
9339 argument fname and pass it via ah.fname to open_archive.
9340 * locale/programs/localedef.h: Update decl.
9341 (open_archive): If AH->fname is non-null, open that file
9342 rather than the default file name, and don't ignore ENOENT.
9343 (create_archive): Set AH.fname to NULL.
9344 (delete_locales_from_archive): Likewise.
9345 (add_locales_to_archive): Likewise.
9346 * locale/programs/locfile.c (write_all_categories): Likewise.
9348 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9349 Aldy Hernandez <aldyh@redhat.com>
9351 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9352 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9353 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9354 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9355 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9356 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9357 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9358 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9359 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9360 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9361 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9362 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9363 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9364 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9365 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9367 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9369 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9371 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9373 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9374 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9376 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9377 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9378 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9379 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9381 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9382 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9383 * sysdeps/powerpc/preconfigure: Likewise.
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9386 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9387 Replace contents of file by #include of <fenv_libc.h>.
9388 * sysdeps/powerpc/soft-fp/sfp-machine.h
9389 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9391 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9392 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9393 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9394 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9395 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9396 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9398 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9399 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9400 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9401 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9402 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9404 Allow copysignl PLT reference to be missing.
9406 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9407 Joseph Myers <joseph@codesourcery.com
9410 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9412 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9414 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9416 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9417 * elf/tst-tls1.c: Likewise.
9418 * elf/tst-tls10.h: Likewise.
9419 * elf/tst-tls14.c: Likewise.
9420 * elf/tst-tls2.c: Likewise.
9421 * elf/tst-tls3.c: Likewise.
9422 * elf/tst-tls4.c: Likewise.
9423 * elf/tst-tls5.c: Likewise.
9424 * elf/tst-tls6.c: Likewise.
9425 * elf/tst-tls7.c: Likewise.
9426 * elf/tst-tls8.c: Likewise.
9427 * elf/tst-tls9.c: Likewise.
9428 * elf/tst-tlsmod1.c: Likewise.
9429 * elf/tst-tlsmod13.c: Likewise.
9430 * elf/tst-tlsmod13a.c: Likewise.
9431 * elf/tst-tlsmod14a.c: Likewise.
9432 * elf/tst-tlsmod16a.c: Likewise.
9433 * elf/tst-tlsmod16b.c: Likewise.
9434 * elf/tst-tlsmod2.c: Likewise.
9435 * elf/tst-tlsmod3.c: Likewise.
9436 * elf/tst-tlsmod4.c: Likewise.
9437 * elf/tst-tlsmod5.c: Likewise.
9438 * elf/tst-tlsmod6.c: Likewise.
9440 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9443 * malloc/malloc.c: remove checks for statistics.
9445 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9448 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9449 * inet/tst-network.c: Add testcase.
9451 2013-10-17 Andreas Schwab <schwab@suse.de>
9454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9455 to determine canonical name.
9457 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9459 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9460 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9483 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9484 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9489 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9491 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9492 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9493 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9496 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9501 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9502 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9503 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9504 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9505 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9506 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9507 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9508 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9509 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9510 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9512 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9518 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9521 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9522 make result into a quiet NaN.
9524 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9526 * soft-fp/adddf3.c: Fix horizontal whitespace.
9527 * soft-fp/addsf3.c: Likewise.
9528 * soft-fp/addtf3.c: Likewise.
9529 * soft-fp/divdf3.c: Likewise.
9530 * soft-fp/divsf3.c: Likewise.
9531 * soft-fp/divtf3.c: Likewise.
9532 * soft-fp/double.h: Likewise.
9533 * soft-fp/eqdf2.c: Likewise.
9534 * soft-fp/eqsf2.c: Likewise.
9535 * soft-fp/eqtf2.c: Likewise.
9536 * soft-fp/extenddftf2.c: Likewise.
9537 * soft-fp/extended.h: Likewise.
9538 * soft-fp/extendsfdf2.c: Likewise.
9539 * soft-fp/extendsftf2.c: Likewise.
9540 * soft-fp/extendxftf2.c: Likewise.
9541 * soft-fp/fixdfdi.c: Likewise.
9542 * soft-fp/fixdfsi.c: Likewise.
9543 * soft-fp/fixdfti.c: Likewise.
9544 * soft-fp/fixsfdi.c: Likewise.
9545 * soft-fp/fixsfsi.c: Likewise.
9546 * soft-fp/fixsfti.c: Likewise.
9547 * soft-fp/fixtfdi.c: Likewise.
9548 * soft-fp/fixtfsi.c: Likewise.
9549 * soft-fp/fixtfti.c: Likewise.
9550 * soft-fp/fixunsdfdi.c: Likewise.
9551 * soft-fp/fixunsdfsi.c: Likewise.
9552 * soft-fp/fixunsdfti.c: Likewise.
9553 * soft-fp/fixunssfdi.c: Likewise.
9554 * soft-fp/fixunssfsi.c: Likewise.
9555 * soft-fp/fixunssfti.c: Likewise.
9556 * soft-fp/fixunstfdi.c: Likewise.
9557 * soft-fp/fixunstfsi.c: Likewise.
9558 * soft-fp/fixunstfti.c: Likewise.
9559 * soft-fp/floatdidf.c: Likewise.
9560 * soft-fp/floatdisf.c: Likewise.
9561 * soft-fp/floatditf.c: Likewise.
9562 * soft-fp/floatsidf.c: Likewise.
9563 * soft-fp/floatsisf.c: Likewise.
9564 * soft-fp/floatsitf.c: Likewise.
9565 * soft-fp/floattidf.c: Likewise.
9566 * soft-fp/floattisf.c: Likewise.
9567 * soft-fp/floattitf.c: Likewise.
9568 * soft-fp/floatundidf.c: Likewise.
9569 * soft-fp/floatundisf.c: Likewise.
9570 * soft-fp/floatunditf.c: Likewise.
9571 * soft-fp/floatunsidf.c: Likewise.
9572 * soft-fp/floatunsisf.c: Likewise.
9573 * soft-fp/floatunsitf.c: Likewise.
9574 * soft-fp/floatuntidf.c: Likewise.
9575 * soft-fp/floatuntisf.c: Likewise.
9576 * soft-fp/floatuntitf.c: Likewise.
9577 * soft-fp/fmadf4.c: Likewise.
9578 * soft-fp/fmasf4.c: Likewise.
9579 * soft-fp/fmatf4.c: Likewise.
9580 * soft-fp/gedf2.c: Likewise.
9581 * soft-fp/gesf2.c: Likewise.
9582 * soft-fp/getf2.c: Likewise.
9583 * soft-fp/ledf2.c: Likewise.
9584 * soft-fp/lesf2.c: Likewise.
9585 * soft-fp/letf2.c: Likewise.
9586 * soft-fp/muldf3.c: Likewise.
9587 * soft-fp/mulsf3.c: Likewise.
9588 * soft-fp/multf3.c: Likewise.
9589 * soft-fp/negdf2.c: Likewise.
9590 * soft-fp/negsf2.c: Likewise.
9591 * soft-fp/negtf2.c: Likewise.
9592 * soft-fp/op-1.h: Likewise.
9593 * soft-fp/op-2.h: Likewise.
9594 * soft-fp/op-4.h: Likewise.
9595 * soft-fp/op-8.h: Likewise.
9596 * soft-fp/op-common.h: Likewise.
9597 * soft-fp/quad.h: Likewise.
9598 * soft-fp/single.h: Likewise.
9599 * soft-fp/soft-fp.h: Likewise.
9600 * soft-fp/sqrtdf2.c: Likewise.
9601 * soft-fp/sqrtsf2.c: Likewise.
9602 * soft-fp/sqrttf2.c: Likewise.
9603 * soft-fp/subdf3.c: Likewise.
9604 * soft-fp/subsf3.c: Likewise.
9605 * soft-fp/subtf3.c: Likewise.
9606 * soft-fp/truncdfsf2.c: Likewise.
9607 * soft-fp/trunctfdf2.c: Likewise.
9608 * soft-fp/trunctfsf2.c: Likewise.
9609 * soft-fp/trunctfxf2.c: Likewise.
9610 * soft-fp/unorddf2.c: Likewise.
9611 * soft-fp/unordsf2.c: Likewise.
9612 * soft-fp/unordtf2.c: Likewise.
9614 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9616 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9617 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9619 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9621 * elf/dl-libc.c: Clear initfini list after freeing.
9623 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9625 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9626 * soft-fp/addsf3.c: Likewise.
9627 * soft-fp/addtf3.c: Likewise.
9628 * soft-fp/divdf3.c: Likewise.
9629 * soft-fp/divsf3.c: Likewise.
9630 * soft-fp/divtf3.c: Likewise.
9631 * soft-fp/double.h: Likewise.
9632 * soft-fp/eqdf2.c: Likewise.
9633 * soft-fp/eqsf2.c: Likewise.
9634 * soft-fp/eqtf2.c: Likewise.
9635 * soft-fp/extenddftf2.c: Likewise.
9636 * soft-fp/extended.h: Likewise.
9637 * soft-fp/extendsfdf2.c: Likewise.
9638 * soft-fp/extendsftf2.c: Likewise.
9639 * soft-fp/extendxftf2.c: Likewise.
9640 * soft-fp/fixdfdi.c: Likewise.
9641 * soft-fp/fixdfsi.c: Likewise.
9642 * soft-fp/fixdfti.c: Likewise.
9643 * soft-fp/fixsfdi.c: Likewise.
9644 * soft-fp/fixsfsi.c: Likewise.
9645 * soft-fp/fixsfti.c: Likewise.
9646 * soft-fp/fixtfdi.c: Likewise.
9647 * soft-fp/fixtfsi.c: Likewise.
9648 * soft-fp/fixtfti.c: Likewise.
9649 * soft-fp/fixunsdfdi.c: Likewise.
9650 * soft-fp/fixunsdfsi.c: Likewise.
9651 * soft-fp/fixunsdfti.c: Likewise.
9652 * soft-fp/fixunssfdi.c: Likewise.
9653 * soft-fp/fixunssfsi.c: Likewise.
9654 * soft-fp/fixunssfti.c: Likewise.
9655 * soft-fp/fixunstfdi.c: Likewise.
9656 * soft-fp/fixunstfsi.c: Likewise.
9657 * soft-fp/fixunstfti.c: Likewise.
9658 * soft-fp/floatdidf.c: Likewise.
9659 * soft-fp/floatdisf.c: Likewise.
9660 * soft-fp/floatditf.c: Likewise.
9661 * soft-fp/floatsidf.c: Likewise.
9662 * soft-fp/floatsisf.c: Likewise.
9663 * soft-fp/floatsitf.c: Likewise.
9664 * soft-fp/floattidf.c: Likewise.
9665 * soft-fp/floattisf.c: Likewise.
9666 * soft-fp/floattitf.c: Likewise.
9667 * soft-fp/floatundidf.c: Likewise.
9668 * soft-fp/floatundisf.c: Likewise.
9669 * soft-fp/floatunsidf.c: Likewise.
9670 * soft-fp/floatunsisf.c: Likewise.
9671 * soft-fp/floatuntidf.c: Likewise.
9672 * soft-fp/floatuntisf.c: Likewise.
9673 * soft-fp/floatuntitf.c: Likewise.
9674 * soft-fp/fmadf4.c: Likewise.
9675 * soft-fp/fmasf4.c: Likewise.
9676 * soft-fp/fmatf4.c: Likewise.
9677 * soft-fp/gedf2.c: Likewise.
9678 * soft-fp/gesf2.c: Likewise.
9679 * soft-fp/getf2.c: Likewise.
9680 * soft-fp/ledf2.c: Likewise.
9681 * soft-fp/lesf2.c: Likewise.
9682 * soft-fp/letf2.c: Likewise.
9683 * soft-fp/muldf3.c: Likewise.
9684 * soft-fp/mulsf3.c: Likewise.
9685 * soft-fp/multf3.c: Likewise.
9686 * soft-fp/negdf2.c: Likewise.
9687 * soft-fp/negsf2.c: Likewise.
9688 * soft-fp/negtf2.c: Likewise.
9689 * soft-fp/op-1.h: Likewise.
9690 * soft-fp/op-2.h: Likewise.
9691 * soft-fp/op-4.h: Likewise.
9692 * soft-fp/op-8.h: Likewise.
9693 * soft-fp/op-common.h: Likewise.
9694 * soft-fp/quad.h: Likewise.
9695 * soft-fp/single.h: Likewise.
9696 * soft-fp/soft-fp.h: Likewise.
9697 * soft-fp/sqrtdf2.c: Likewise.
9698 * soft-fp/sqrtsf2.c: Likewise.
9699 * soft-fp/sqrttf2.c: Likewise.
9700 * soft-fp/subdf3.c: Likewise.
9701 * soft-fp/subsf3.c: Likewise.
9702 * soft-fp/subtf3.c: Likewise.
9703 * soft-fp/truncdfsf2.c: Likewise.
9704 * soft-fp/trunctfdf2.c: Likewise.
9705 * soft-fp/trunctfsf2.c: Likewise.
9706 * soft-fp/trunctfxf2.c: Likewise.
9707 * soft-fp/unorddf2.c: Likewise.
9708 * soft-fp/unordsf2.c: Likewise.
9709 * soft-fp/unordtf2.c: Likewise.
9711 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9714 * misc/error.c (error_tail): Fix possible buffer overflow.
9716 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9719 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9722 2013-10-14 P. J. McDermott <pj@pehjota.net>
9725 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9726 testing pipefail option.
9728 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9730 * soft-fp/double.h: Indent preprocessor directives inside #if.
9731 * soft-fp/extended.h: Likewise.
9732 * soft-fp/op-2.h: Likewise.
9733 * soft-fp/op-4.h: Likewise.
9734 * soft-fp/op-common.h: Likewise.
9735 * soft-fp/quad.h: Likewise.
9736 * soft-fp/single.h: Likewise.
9737 * soft-fp/soft-fp.h: Likewise.
9739 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9741 * iconv/iconv_prog.c: Fix typos.
9742 * stdio-common/psiginfo-data.h: Likewise.
9744 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9747 * locale/setlocale.c: Fix typo.
9749 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9752 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9753 signaling NaN arguments.
9754 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9755 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9758 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9760 * soft-fp/gesf2.c (__gesf2): Likewise.
9761 * soft-fp/getf2.c (__getf2): Likewise.
9762 * soft-fp/ledf2.c (__ledf2): Likewise.
9763 * soft-fp/lesf2.c (__lesf2): Likewise.
9764 * soft-fp/letf2.c (__letf2): Likewise.
9766 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9767 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9768 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9769 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9770 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9771 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9772 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9773 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9774 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9775 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9776 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9777 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9778 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9779 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9780 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9781 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9782 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9783 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9784 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9785 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9786 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9787 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9788 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9789 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9790 * soft-fp/floattidf.c (__floattidf): Likewise.
9791 * soft-fp/floattisf.c (__floattisf): Likewise.
9792 * soft-fp/floattitf.c (__floattitf): Likewise.
9793 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9794 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9795 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9796 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9797 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9798 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9799 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9800 * soft-fp/gesf2.c (__gesf2): Likewise.
9801 * soft-fp/getf2.c (__getf2): Likewise.
9802 * soft-fp/ledf2.c (__ledf2): Likewise.
9803 * soft-fp/lesf2.c (__lesf2): Likewise.
9804 * soft-fp/letf2.c (__letf2): Likewise.
9806 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9807 Undefine and redefine.
9808 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9809 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9810 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9811 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9812 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9813 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9814 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9815 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9816 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9817 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9818 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9819 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9820 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9821 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9822 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9825 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9826 without decrementing exponent if mantissa >= that for the
9828 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9829 denominator, not >. Decrement exponent in < case instead of
9830 incrementing in >= case.
9831 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9832 without decrementing exponent if mantissa >= that for the
9835 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9836 computing saturated result for unsigned overflow.
9838 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9839 Jeff Law <law@redhat.com>
9841 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9842 (atan2Mp): Add systemtap probe marker.
9843 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9844 (__ieee754_log): Add systemtap probe marker.
9845 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9846 (atanMp): Add systemtap probe marker.
9847 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9848 (tanMp): Add systemtap probe marker.
9849 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9850 (__slowexp): Add systemtap probe marker.
9851 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9852 (__slowpow): Add systemtap probe marker.
9853 * manual/probes.texi: Document probes.
9855 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9858 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9860 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9862 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9863 written to buffer but not flushed.
9864 * libio/iofwrite_u.c: Likewise.
9865 * libio/iopadn.c: Return bytes returned even if EOF was
9867 * libio/iowpadn.c: Likewise.
9868 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9869 if _IO_padn does not write the whole buffer.
9870 [!COMPILE_WPRINTF] (PAD): Likewise.
9872 2013-10-10 David S. Miller <davem@davemloft.net>
9874 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9877 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9879 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9880 instead of FSF address.
9881 * soft-fp/fixdfti.c: Likewise.
9882 * soft-fp/fixsfti.c: Likewise.
9883 * soft-fp/fixtfti.c: Likewise.
9884 * soft-fp/fixunsdfti.c: Likewise.
9885 * soft-fp/fixunssfti.c: Likewise.
9886 * soft-fp/fixunstfti.c: Likewise.
9887 * soft-fp/floattidf.c: Likewise.
9888 * soft-fp/floattisf.c: Likewise.
9889 * soft-fp/floattitf.c: Likewise.
9890 * soft-fp/floatuntidf.c: Likewise.
9891 * soft-fp/floatuntisf.c: Likewise.
9892 * soft-fp/floatuntitf.c: Likewise.
9893 * soft-fp/trunctfxf2.c: Likewise.
9895 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9896 * soft-fp/fixdfti.c: Likewise.
9897 * soft-fp/fixsfti.c: Likewise.
9898 * soft-fp/fixtfti.c: Likewise.
9899 * soft-fp/fixunsdfti.c: Likewise.
9900 * soft-fp/fixunssfti.c: Likewise.
9901 * soft-fp/fixunstfti.c: Likewise.
9902 * soft-fp/floattidf.c: Likewise.
9903 * soft-fp/floattisf.c: Likewise.
9904 * soft-fp/floattitf.c: Likewise.
9905 * soft-fp/floatuntidf.c: Likewise.
9906 * soft-fp/floatuntisf.c: Likewise.
9907 * soft-fp/floatuntitf.c: Likewise.
9908 * soft-fp/trunctfxf2.c: Likewise.
9910 2013-10-10 David S. Miller <davem@davemloft.net>
9912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9914 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9916 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9917 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9918 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9919 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9920 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9921 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9922 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9925 for NaNs before doing comparisons on argument.
9926 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9929 2013-10-10 Will Newton <will.newton@linaro.org>
9931 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9932 passed to _int_memalign does not overflow.
9934 2013-10-10 Torvald Riegel <triegel@redhat.com>
9936 * scripts/bench.pl: Add include-sources directive.
9937 * benchtests/README: Update documentation.
9939 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9941 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9942 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9943 instead of FP_INIT_ROUNDMODE.
9944 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9945 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9948 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9949 copy class of input value.
9950 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9951 not handle exceptions.
9952 * soft-fp/negsf2.c (__negsf2): Likewise.
9953 * soft-fp/negtf2.c (__negtf2): Likewise.
9954 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9956 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9958 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9959 semicolon. From Linux kernel.
9961 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9963 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9965 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9968 * manual/socket.texi: Added statement about buffer
9969 for gethostbyname2_r.
9971 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9973 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9974 Use .p2align directive instead, throughout.
9975 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9976 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9977 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9978 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9979 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9980 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9981 * sysdeps/x86_64/strchr.S: Likewise.
9982 * sysdeps/x86_64/strrchr.S: Likewise.
9984 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9986 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9988 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9990 * sysdeps/generic/math_private.h (__mpsin1): Remove
9992 (__mpcos1): Likewise.
9993 (__mpsin): New argument __range_reduce.
9994 (__mpcos): Likewise.
9995 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9996 (slow): Use __mpsin and __mpcos.
10000 (sloww1): Likewise.
10001 (sloww2): Likewise.
10002 (bsloww): Likewise.
10003 (bsloww1): Likewise.
10004 (bsloww2): Likewise.
10005 (cslow2): Likewise.
10006 (csloww): Likewise.
10007 (csloww1): Likewise.
10008 (csloww2): Likewise.
10009 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10010 range_reduce. Merge in __mpsin1.
10011 (__mpcos): Likewise.
10012 (__mpsin1): Remove.
10013 (__mpcos1): Likewise.
10015 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10017 * locale/loadlocale.c (_nl_intern_locale_data): Use
10019 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10020 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10021 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10022 obstack data is appropriately aligned.
10023 (obstack_int32_grow_fast): Likewise.
10024 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10025 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10026 (add_locale_uint32_array): Likewise.
10028 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10030 * benchtests/Makefile: Remove ARGLIST and RET variables.
10031 ($(objpfx)bench-%.c): Pass only function name to the script.
10032 * benchtests/README: Update documentation.
10033 * benchtests/acos-inputs: Add new directives.
10034 * benchtests/acosh-inputs: Likewise.
10035 * benchtests/asin-inputs: Likewise.
10036 * benchtests/asinh-inputs: Likewise.
10037 * benchtests/atan-inputs: Likewise.
10038 * benchtests/atanh-inputs: Likewise.
10039 * benchtests/cos-inputs: Likewise.
10040 * benchtests/cosh-inputs: Likewise.
10041 * benchtests/exp-inputs: Likewise.
10042 * benchtests/log-inputs: Likewise.
10043 * benchtests/pow-inputs: Likewise.
10044 * benchtests/rint-inputs: Likewise.
10045 * benchtests/sin-inputs: Likewise.
10046 * benchtests/sinh-inputs: Likewise.
10047 * benchtests/tan-inputs: Likewise.
10048 * benchtests/tanh-inputs: Likewise.
10049 * scripts/bench.pl: Add support for new directives.
10051 2013-10-07 Alan Modra <amodra@gmail.com>
10053 * README: Fix careless merge.
10055 2013-10-05 Alan Modra <amodra@gmail.com>
10057 * NEWS: Mention powerpc64le support and bugs fixed.
10058 * README: Both big-endian and little-endian powerpc64 supported.
10060 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10062 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10063 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10064 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10065 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10067 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10069 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10072 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10074 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10075 Move -mhard-float appending from
10076 ports/sysdeps/powerpc/powerpc32/Makefile.
10077 [$(with-fp) = yes] (ASFLAGS): Likewise.
10078 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10079 * sysdeps/powerpc/nofpu: Move directory from
10080 ports/sysdeps/powerpc/nofpu.
10081 * sysdeps/powerpc/soft-fp: Move directory from
10082 ports/sysdeps/powerpc/soft-fp.
10083 * sysdeps/powerpc/powerpc32/405: Move directory from
10084 ports/sysdeps/powerpc/powerpc32/405.
10085 * sysdeps/powerpc/powerpc32/440: Move directory from
10086 ports/sysdeps/powerpc/powerpc32/440.
10087 * sysdeps/powerpc/powerpc32/464: Move directory from
10088 ports/sysdeps/powerpc/powerpc32/464.
10089 * sysdeps/powerpc/powerpc32/476: Move directory from
10090 ports/sysdeps/powerpc/powerpc32/476.
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10092 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10094 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10096 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10098 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10100 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10101 * README: Update for powerpc-*-linux-gnu software floating point
10104 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10105 case to powerpc/powerpc32*.
10106 * sysdeps/unix/sysv/linux/configure: Regenerated.
10108 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10109 (_FPU_MASK_OM): Define as 0x04.
10110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10111 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10113 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10118 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10121 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10124 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10125 and setcontext_e500.
10127 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10129 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10131 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10133 * manual/threads.texi (Default Thread Attributes): Fix typo.
10135 2013-10-04 Will Newton <will.newton@linaro.org>
10137 * malloc/Makefile: Add tst-memalign.
10138 * malloc/tst-memalign.c: New file.
10140 * malloc/tst-posix_memalign.c: Add comments.
10141 (do_test): Add comments and call free on all potentially
10142 allocated pointers. Add space after cast.
10144 * malloc/tst-pvalloc.c: Add comments.
10145 (do_test): Add comments and call free on all potentially
10146 allocated pointers. Remove duplicate check for NULL pointer.
10147 Add space after cast.
10149 * malloc/tst-valloc.c: Add comments.
10150 (do_test): Add comments and call free on all potentially
10151 allocated pointers. Remove duplicate check for NULL pointer.
10152 Add space after cast.
10154 2013-10-04 Alan Modra <amodra@gmail.com>
10156 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10157 Use stdint types in rather than __attribute__((mode())).
10158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10160 2013-10-04 Alan Modra <amodra@gmail.com>
10162 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10163 Correct handling of unaligned relocs for little-endian.
10164 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10166 2013-10-04 Alan Modra <amodra@gmail.com>
10168 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10169 * configure: Regenerate.
10170 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10171 * shlib-versions: Likewise.
10173 2013-10-04 Alan Modra <amodra@gmail.com>
10175 * string/tester.c (test_memrchr): Increment reported test cycle.
10177 2013-10-04 Alan Modra <amodra@gmail.com>
10179 * string/test-memcpy.c (do_one_test): When reporting errors, print
10180 string address and don't overrun end of string.
10182 2013-10-04 Alan Modra <amodra@gmail.com>
10184 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10185 insrdi. Make better use of reg selection to speed exit slightly.
10186 Schedule entry path a little better. Remove useless "are we done"
10187 checks on entry to main loop. Handle wrapping around zero address.
10188 Correct main loop count. Handle single left-over word from main
10189 loop inline rather than by using loop_small. Remove extra word
10190 case in loop_small caused by wrong loop count. Add little-endian
10192 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10193 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10195 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10196 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10197 support. Avoid rlwimi.
10198 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10200 2013-10-04 Alan Modra <amodra@gmail.com>
10202 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10203 insrdi. Formatting.
10204 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10205 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10206 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10207 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10208 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10209 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10211 2013-10-04 Alan Modra <amodra@gmail.com>
10213 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10214 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10215 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10216 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10217 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10218 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10219 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10220 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10221 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10222 use of regs. Use power7 mtocrf. Tidy function tails.
10224 2013-10-04 Alan Modra <amodra@gmail.com>
10226 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10227 Formatting. Consistently use rXXX register defines or rN defines.
10228 Use early exit labels that avoid restoring unused non-volatile regs.
10229 Make cr field use more consistent with rWORDn compares. Rename
10230 regs used as shift registers for unaligned loop, using rN defines
10231 for short lifetime/multiple use regs.
10232 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10233 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10234 addi 1,1,64 to pop stack frame. Simplify return value code.
10235 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10237 2013-10-04 Alan Modra <amodra@gmail.com>
10239 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10240 support. Correct typos, formatting. Optimize tail. Use insrdi
10241 rather than rlwimi.
10242 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10243 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10244 little-endian support. Correct typos.
10245 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10246 rather than rlwimi.
10247 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10248 in loop and entry code to keep "and." results.
10249 (strchr): Add little-endian support. Comment. Move cntlzd
10251 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10253 2013-10-04 Alan Modra <amodra@gmail.com>
10255 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10256 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10257 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10258 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10260 2013-10-04 Alan Modra <amodra@gmail.com>
10262 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10263 (rTMP): Define as r11.
10264 (strcmp): Add little-endian support. Optimise tail.
10265 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10266 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10267 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10268 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10269 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10270 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10271 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10273 2013-10-04 Alan Modra <amodra@gmail.com>
10275 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10276 little-endian support. Remove unnecessary "are we done" tests.
10277 Handle "s" wrapping around zero and extremely large "size".
10278 Correct main loop count. Handle single left-over word from main
10279 loop inline rather than by using small_loop. Correct comments.
10280 Delete "zero" tail, use "end_max" instead.
10281 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10283 2013-10-04 Alan Modra <amodra@gmail.com>
10285 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10286 support. Don't branch over align.
10287 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10288 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10289 support. Rearrange tmp reg use to suit. Comment.
10290 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10292 2013-10-04 Alan Modra <amodra@gmail.com>
10294 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10296 2013-10-04 Alan Modra <amodra@gmail.com>
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10299 conditional form of branch and link when obtaining pc.
10300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10302 2013-10-04 Alan Modra <amodra@gmail.com>
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10309 2013-10-04 Alan Modra <amodra@gmail.com>
10311 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10312 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10313 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10314 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10315 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10316 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10317 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10318 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10319 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10320 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10322 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10323 Alistair Popple <alistair@ozlabs.au.ibm.com>
10324 Alan Modra <amodra@gmail.com>
10327 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10328 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10329 _dl_hwcap access for little-endian.
10330 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10331 destroy vmx regs when saving unaligned.
10332 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10333 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10334 destroy vmx regs when saving unaligned.
10336 2013-10-04 Alan Modra <amodra@gmail.com>
10338 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10339 Don't use a union to pack hi/low value.
10341 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10343 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10345 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10347 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10348 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10349 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10351 2013-10-04 Alan Modra <amodra@gmail.com>
10353 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10354 constants to usual value for .cst8 section, and remove redundant
10356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10357 constant for 0x1p52. Load little-endian words of double from
10358 correct stack offsets.
10360 2013-10-04 Alan Modra <amodra@gmail.com>
10362 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10363 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10364 words of double from correct stack offsets.
10365 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10366 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10367 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10368 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10369 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10370 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10371 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10372 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10373 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10374 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10375 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10376 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10377 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10378 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10379 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10380 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10381 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10383 2013-10-04 Alan Modra <amodra@gmail.com>
10385 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10386 64-bit int/double union.
10387 (_FPU_SETCW): Likewise.
10388 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10389 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10391 2013-10-04 Alan Modra <amodra@gmail.com>
10393 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10394 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10396 2013-10-04 Alan Modra <amodra@gmail.com>
10398 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10399 use vector int constants.
10400 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10402 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10404 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10405 array with long long.
10406 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10407 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10408 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10409 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10410 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10411 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10412 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10413 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10414 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10415 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10416 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10417 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10418 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10420 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10422 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10423 (__signbit): Likewise. Correct for little-endian.
10424 (__signbitl): Call __signbit.
10425 (lrint): Correct for little-endian.
10426 (lrintf): Call lrint.
10428 2013-10-04 Alan Modra <amodra@gmail.com>
10430 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10431 union 32-bit int array member with 64-bit int array.
10432 (t515, tm256): Double rather than long double.
10433 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10435 2013-10-04 Alan Modra <amodra@gmail.com>
10437 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10439 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10441 version of math_ldbl.h.
10443 2013-10-04 Alan Modra <amodra@gmail.com>
10445 [BZ #15734], [BZ #15735]
10446 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10447 all uses of ieee875 long double macros and unions. Simplify test
10448 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10449 ldbl_extract_mantissa value for ix,iy exponents. Properly
10450 normalize after ldbl_extract_mantissa, and don't add hidden bit
10451 already handled. Don't treat low word of ieee854 mantissa like
10452 low word of IBM long double and mask off bit when testing for
10454 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10455 all uses of ieee875 long double macros and unions. Simplify tests
10456 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10457 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10458 two1022, instead use their values. Recognise that tests for large
10459 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10460 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10461 Rewrite all uses of ieee875 long double macros and unions. Simplify
10462 test for 0.0L and nan. Correct negation.
10463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10464 ieee875 long double macros and unions. Correct output for large
10465 magnitude x. Correct absolute value calculation.
10466 (__erfcl): Likewise.
10467 * math/libm-test.inc: Add tests for errors discovered in IBM long
10468 double versions of fmodl, remainderl, erfl and erfcl.
10470 2013-10-04 Alan Modra <amodra@gmail.com>
10472 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10473 all uses of ieee854 long double macros and unions. Simplify tests
10474 for long doubles that are fully specified by the high double.
10475 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10477 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10478 Remove dead code too.
10479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10480 (__ieee754_ynl): Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10482 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10483 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10484 Remove dead code too.
10485 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10486 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10488 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10490 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10492 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10493 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10494 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10495 Comment on variable precision.
10496 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10497 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10499 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10500 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10501 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10502 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10503 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10505 2013-10-04 Alan Modra <amodra@gmail.com>
10507 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10508 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10509 all uses of ieee854 long double macros and unions.
10510 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10512 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10514 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10515 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10517 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10518 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10519 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10520 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10521 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10522 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10523 Simplify sign and nan test too.
10524 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10525 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10526 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10527 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10529 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10530 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10532 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10533 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10534 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10535 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10536 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10537 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10539 2013-10-04 Alan Modra <amodra@gmail.com>
10541 * stdio-common/printf_size.c (__printf_size): Don't use
10542 union ieee854_long_double in fpnum union.
10543 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10544 signbit macro to retrieve sign from long double.
10545 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10546 retrieve sign from long double.
10547 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10548 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10549 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10550 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10551 * math/test-misc.c (main): Don't use union ieee854_long_double.
10553 2013-10-04 Alan Modra <amodra@gmail.com>
10556 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10557 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10558 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10559 calculation. Remove unnecessary test for denormal exponent.
10560 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10561 Correct handling of denormals. Avoid undefined shift behaviour.
10562 Correct normalisation of low mantissa when low double is denormal.
10563 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10564 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10565 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10566 Correct normalisation of low mantissa. Test for overflow of high
10567 mantissa and normalise.
10568 (ldbl_nearbyint): Use more readable constant for two52.
10569 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10570 (__mpn_construct_long_double): Fix test for overflow of high
10571 mantissa and correct normalisation. Avoid undefined shift.
10573 2013-10-04 Alan Modra <amodra@gmail.com>
10575 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10576 (union ibm_extended_long_double): Define as an array of ieee754_double.
10577 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10578 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10579 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10580 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10581 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10582 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10584 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10585 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10586 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10587 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10589 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10591 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10592 page size instead of calling getpagesize.
10594 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10595 (LOCFILE_ALIGN_MASK): Likewise.
10596 (LOCFILE_ALIGN_UP): Likewise.
10597 (LOCFILE_ALIGNED_P): Likewise.
10598 * locale/programs/ld-collate.c (collate_output): Use the new
10599 macros instead of __alignof__ (int32_t).
10600 * locale/weight.h (findidx): Likewise.
10602 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10605 * manual/string.texi: Fix strncat and wcsncat.
10607 2013-10-03 Brooks Moses <bmoses@google.com>
10610 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10611 * Makerules: ...here, and adjust associated comments.
10613 2013-10-02 Will Newton <will.newton@linaro.org>
10615 * malloc/Makefile: Add tst-pvalloc.
10616 * malloc/tst-pvalloc.c: New file.
10618 2013-10-02 Will Newton <will.newton@linaro.org>
10620 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10621 improve test coverage.
10623 2013-10-02 Will Newton <will.newton@linaro.org>
10625 * malloc/Makefile: Add tst-posix_memalign.
10626 * malloc/tst-posix_memalign.c: New file.
10628 2013-10-01 Eric Blake <eblake@redhat.com>
10630 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10631 Use __THROWNL rather than __THROW on static functions.
10633 2013-09-30 Petr Machata <pmachata@redhat.com>
10635 * elf/elf.h (R_AARCH64_ABS16): New macro.
10636 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10637 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10638 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10639 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10640 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10641 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10642 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10643 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10644 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10645 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10646 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10647 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10648 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10649 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10650 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10651 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10652 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10653 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10654 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10655 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10656 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10657 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10658 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10659 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10660 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10661 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10662 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10663 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10664 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10665 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10666 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10667 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10668 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10669 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10670 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10671 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10672 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10673 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10674 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10675 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10676 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10677 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10678 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10679 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10680 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10681 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10682 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10683 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10684 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10685 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10686 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10687 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10688 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10689 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10690 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10691 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10692 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10693 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10694 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10695 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10696 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10697 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10698 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10699 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10700 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10701 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10702 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10703 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10704 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10705 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10706 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10707 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10708 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10709 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10710 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10711 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10712 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10713 (R_AARCH64_TLSDESC_LDR): Likewise.
10714 (R_AARCH64_TLSDESC_ADD): Likewise.
10715 (R_AARCH64_TLSDESC_CALL): Likewise.
10717 2013-09-30 Andreas Schwab <schwab@suse.de>
10720 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10721 the nss database lookup.
10722 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10725 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10727 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10729 2013-09-28 P. J. McDermott <pj@pehjota.net>
10731 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10732 ${Bash-specific parameter/pattern/string} parameter expansion.
10733 * sysdeps/unix/make-syscalls.sh: Likewise.
10735 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10737 * sysdeps/sh/stackguard-macros.h: New file.
10739 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10743 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10744 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10745 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10746 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10748 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10750 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10751 Fix thread ID register.
10753 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10755 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10756 [POSIX || UNIX98]: Require rather than permitting all symbols from
10758 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10759 element of struct sched_param.
10760 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10761 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10762 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10763 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10766 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10768 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10769 argument calculation.
10771 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10773 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10775 [POSIX] (pthread_attr_t): Do not require type.
10776 [POSIX] (pthread_cond_t): Likewise.
10777 [POSIX] (pthread_condattr_t): Likewise.
10778 [POSIX] (pthread_key_t): Likewise.
10779 [POSIX] (pthread_mutex_t): Likewise.
10780 [POSIX] (pthread_mutexattr_t): Likewise.
10781 [POSIX] (pthread_once_t): Likewise.
10782 [POSIX] (pthread_t): Likewise.
10783 [POSIX-based standards] (pthread_atfork): Expect function.
10785 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10786 Richard Sandiford <richard@codesourcery.com>
10788 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10789 (swap_endianness_p): New extern variable.
10790 (set_big_endian): New inline function.
10791 (maybe_swap_uint32): Likewise.
10792 (maybe_swap_uint32_array): Likewise.
10793 (maybe_swap_uint32_obstack): Likewise.
10794 * locale/programs/locfile.c: Include <stdbool.h>.
10795 (swap_endianness_p): New variable.
10796 (add_locale_uint32): Call maybe_swap_uint32.
10797 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10798 (write_locale_data): Call maybe_swap_uint32_array.
10799 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10801 (obstack_int32_grow_fast): Likewise.
10802 (output_weightwc): Call maybe_swap_uint32_obstack.
10803 (collate_output): Likewise.
10804 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10805 (OPT_LITTLE_ENDIAN): Likewise.
10806 (options): Add --little-endian and --big-endian options.
10807 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10808 * locale/programs/locarchive.c: Include "locfile.h".
10812 (create_archive): Use the new macros to access fields of
10813 structures directly mapped from or written to locale archives.
10814 (oldlocrecentcmp): Likewise.
10815 (enlarge_archive): Likewise.
10816 (insert_name): Likewise.
10817 (add_alias): Likewise.
10818 (add_locale): Likewise.
10819 (delete_locales_from_archive): Likewise.
10820 (show_archive_content): Likewise.
10821 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10824 2013-09-24 Roland McGrath <roland@hack.frob.com>
10826 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10827 http://www.gnu.org/doc/freemanuals.texi.
10828 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10830 2013-09-24 Will Newton <will.newton@linaro.org>
10832 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10835 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10837 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10840 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10842 * manual/threads.texi (POSIX Threads): Fix a typo.
10844 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10847 * string/tst-strcoll-overflow.c: New test case.
10848 * string/Makefile (xtests): Add tst-strcoll-overflow.
10849 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10850 cache if string sizes may cause integer overflow.
10853 * string/strcoll_l.c (coll_seq): New members rule, idx,
10854 save_idx and back_us.
10855 (get_next_seq_nocache): New function.
10856 (do_compare_nocache): New function.
10857 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10860 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10863 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10864 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10865 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10868 * elf/Makefile (tests): Add tst-ptrguard1.
10869 (tests-static): Add tst-ptrguard1-static.
10870 (tst-ptrguard1-ARGS): Define.
10871 (tst-ptrguard1-static-ARGS): Define.
10872 * elf/tst-ptrguard1.c: New file.
10873 * elf/tst-ptrguard1-static.c: New file.
10874 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10875 * sysdeps/i386/stackguard-macros.h: Likewise.
10876 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10877 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10878 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10879 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10880 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10881 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10883 2013-09-23 Hector Marco <hecmargi@upv.es>
10884 Ismael Ripoll <iripoll@disca.upv.es>
10885 Carlos O'Donell <carlos@redhat.com>
10888 * sysdeps/generic/stackguard-macros.h: Define
10889 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10890 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10891 Define __pointer_chk_guard_local.
10892 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10893 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10895 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10898 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10900 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10902 * include/string.h (__ffs): Declare as hidden.
10903 * string/ffs.c (__ffs): Define as hidden.
10904 * sysdeps/i386/ffs.c (__ffs): Likewise.
10905 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10906 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10907 * sysdeps/s390/ffs.c (__ffs): Likewise.
10908 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10910 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10912 * NEWS: Mention malloc probes.
10914 * malloc/arena.c (new_heap): New memory_heap_new probe.
10915 (grow_heap): New memory_heap_more probe.
10916 (shrink_heap): New memory_heap_less probe.
10917 (heap_trim): New memory_heap_free probe.
10918 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10919 (systrim): New memory_sbrk_less probe.
10920 * manual/probes.texi: Document them.
10922 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10923 * manual/probes.texi: Document it.
10925 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10926 (__libc_realloc): Add memory_realloc_retry probe.
10927 (__libc_memalign): Add memory_memalign_retry probe.
10928 (__libc_valloc): Add memory_valloc_retry probe.
10929 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10930 (__libc_calloc): Add memory_calloc_retry probe.
10931 * manual/probes.texi: Document them.
10933 * malloc/arena.c (get_free_list): Add probe
10934 memory_arena_reuse_free_list.
10935 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10936 and memory_arena_reuse.
10937 (arena_get2) [!PER_THREAD]: Likewise.
10938 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10939 memory_arena_reuse_realloc.
10940 * manual/probes.texi: Document them.
10942 * malloc/malloc.c (__libc_free): Add
10943 memory_mallopt_free_dyn_thresholds probe.
10944 (__libc_mallopt): Add multiple memory_mallopt probes.
10945 * manual/probes.texi: Document them.
10947 * malloc/malloc.c: Include stap-probe.h.
10948 (__libc_mallopt): Add memory_mallopt probe.
10949 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10950 * manual/probes.texi: New.
10951 * manual/Makefile (chapters): Add probes.
10952 * manual/threads.texi: Set next node.
10954 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10956 [BZ #15963, #13985]
10957 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10958 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10959 Add `Chinese' to `nan' entry name.
10961 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10963 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10964 (POLYNOMIAL): Likewise.
10965 (TAYLOR_SINCOS): Likewise.
10966 (TAYLOR_SLOW): Likewise.
10967 (__sin): Use TAYLOR_SINCOS.
10969 (slow): Use TAYLOR_SLOW.
10971 (bsloww): Likewise.
10972 (csloww): Likewise.
10974 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10976 * stdlib/strtod_l.c: Fix buffer overrun.
10978 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10980 * benchtests/Makefile (bench): Add sincos.
10981 * benchtests/bench-sincos.c: New file.
10983 * math/libm-test.inc (cos_test_data): New test inputs.
10984 (sin_test_data): Likewise.
10986 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10992 (sloww1): Likewise.
10993 (sloww2): Likewise.
10994 (bsloww1): Likewise.
10995 (bsloww2): Likewise.
10996 (cslow2): Likewise.
10997 (csloww1): Likewise.
10998 (csloww2): Likewise.
11000 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11005 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11009 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11011 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11012 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11013 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11014 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11015 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11016 * elf/cache.c (print_entry): Handle the new cache flags.
11018 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11019 Aldy Hernandez <aldyh@redhat.com>
11021 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11022 Change condition to [_SOFT_FLOAT].
11023 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11024 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11025 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11026 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11027 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11028 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11029 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11030 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11033 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11034 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11035 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11037 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11038 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11041 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11043 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11044 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11045 (__longjmp): Use LOAD_GP to load saved GPRs.
11046 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11047 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11048 (__sigsetjmp): Use SAVE_GP to save GPRs.
11050 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11051 Do not append -msoft-float.
11052 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11054 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11056 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11058 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11061 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11062 (_FPU_GETCW): Use initial "__" on variable and field names but not
11063 on macro parameter name.
11064 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11065 parentheses around reference to macro parameter.
11067 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11069 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11071 (ctype_startup): Use uint32_t in cast and sizeof for
11074 2013-09-11 Jia Liu <proljc@gmail.com>
11076 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11078 [__FreeBSD__]: Likewise.
11080 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
11082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11083 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11084 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11085 (strchr): Remove __strchr_sse42 ifunc selection.
11086 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11087 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11089 2013-09-11 Will Newton <will.newton@linaro.org>
11091 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11092 parameter to RES. Remove hardcoded 1000 value.
11093 * benchtests/bench-skeleton.c (main): Pass RES parameter
11094 to TIMING_INIT and multiply result by 1000.
11096 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11100 2013-09-11 Andreas Schwab <schwab@suse.de>
11102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11104 (O_TMPFILE) [__USE_GNU]: Define.
11105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11108 2013-09-11 Will Newton <will.newton@linaro.org>
11111 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11114 2013-09-11 Will Newton <will.newton@linaro.org>
11117 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11120 2013-09-11 Will Newton <will.newton@linaro.org>
11123 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11126 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
11128 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11129 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11130 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11131 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11132 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11134 2013-09-10 Allan McRae <allan@archlinux.org>
11137 * manual/arith.texi (Parsing of Floats): Clarify
11141 * manual/install.texi (Running make install): Mention
11143 * INSTALL: Regenerated.
11145 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11147 * csu/init-first.c (_init): Remove the !SHARED condition around
11148 FPU control word initialization.
11149 * elf/dl-support.c (_dl_fpu_control): New variable.
11150 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11151 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11152 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11153 * math/test-fpucw-static.c: New file.
11154 * math/test-fpucw-ieee.c: New file.
11155 * math/test-fpucw-ieee-static.c: New file.
11156 * math/Makefile (tests): Add `test-fpucw-ieee' and
11158 (tests-static): New variable.
11159 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11161 [($(build-shared),yes)]
11162 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11164 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11167 2013-09-09 Allan McRae <allan@archlinux.org>
11170 * manual/string.texi (Collation Functions): Fix typo in
11172 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11175 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11178 * libio/memstream.c (open_memstream): Fix memory leak.
11179 * libio/wmemstream.c (open_wmemstream): Likewise.
11182 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11184 2013-09-09 Will Newton <will.newton@linaro.org>
11186 * malloc/Makefile: Add tst-realloc to tests.
11187 * malloc/tst-realloc.c: New file.
11189 2013-09-09 Allan McRae <allan@archlinux.org>
11192 * COPYING: Update from GNU website to fix FSF address.
11193 * COPYING.LIB: Likewise.
11195 2013-09-06 David S. Miller <davem@davemloft.net>
11197 * po/zh_TW.po: Update Chinese (traditional) translation from
11198 translation project.
11200 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11201 Joseph Myers <joseph@codesourcery.com>
11203 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11205 (obstack_chunk_alloc): New macro.
11206 (obstack_chunk_free): Likewise.
11207 (record_offset): New function.
11208 (init_locale_data): Likewise.
11209 (align_locale_data): Likewise.
11210 (add_locale_empty): Likewise.
11211 (add_locale_raw_data): Likewise.
11212 (add_locale_raw_obstack): Likewise.
11213 (add_locale_string): Likewise.
11214 (add_locale_wstring): Likewise.
11215 (add_locale_uint32): Likewise.
11216 (add_locale_uint32_array): Likewise.
11217 (add_locale_char): Likewise.
11218 (start_locale_structure): Likewise.
11219 (end_locale_structure): Likewise.
11220 (start_locale_prelude): Likewise.
11221 (end_locale_prelude): Likewise.
11222 (write_locale_data): Take locale_file structure rather than an
11224 * locale/programs/locfile.h: Include "obstack.h".
11225 (struct locale_file): Change to store locale file contents instead
11227 (init_locale_data): New prototype.
11228 (align_locale_data): Likewise.
11229 (add_locale_empty): Likewise.
11230 (add_locale_raw_data): Likewise.
11231 (add_locale_raw_obstack): Likewise.
11232 (add_locale_string): Likewise.
11233 (add_locale_wstring): Likewise.
11234 (add_locale_uint32): Likewise.
11235 (add_locale_uint32_array): Likewise.
11236 (add_locale_char): Likewise.
11237 (start_locale_structure): Likewise.
11238 (end_locale_structure): Likewise.
11239 (start_locale_prelude): Likewise.
11240 (end_locale_prelude): Likewise.
11241 (write_locale_data): Update prototype.
11242 * locale/programs/3level.h (struct TABLE): Remove result field.
11243 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11244 Use new locale_file interface.
11245 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11246 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11247 * locale/programs/ld-address.c (address_output): Use new
11248 locale_file interface.
11249 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11251 (collate_finish): Don't call collseq_table_finalize.
11252 (collate_output): Use new locale_file interface.
11253 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11255 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11256 (TABLE): Move defines earlier in file.
11257 (ELEMENT): Likewise.
11258 (DEFAULT): Likewise.
11259 (wctrans_table_add): Move macro and inline function earlier in
11261 (struct wctype_table): Move type earlier in file.
11262 (add_locale_wctype_table): New static prototype.
11263 (struct locale_ctype_t): Use logical types instead of struct iovec
11264 pointers for members.
11265 (ctype_output): Use new locale_file interface.
11266 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11267 new locale_file interface.
11268 (allocate_arrays): Update for use of new locale_file interface.
11269 * locale/programs/ld-identification.c (identification_output): Use
11270 new locale_file interface.
11271 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11272 * locale/programs/ld-messages.c (messages_output): Likewise.
11273 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11274 * locale/programs/ld-name.c (name_output): Likewise.
11275 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11276 * locale/programs/ld-paper.c (paper_output): Likewise.
11277 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11278 * locale/programs/ld-time.c (time_output): Likewise.
11280 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11282 * benchtests/Makefile: Add memrchr benchmark.
11283 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11284 benchmark as memrchr.
11285 * benchtests/bench-memrchr-ifunc.c: New file.
11286 * benchtests/bench-memrchr.c: New file.
11288 2013-09-06 Will Newton <will.newton@linaro.org>
11290 * benchtests/Makefile (string-bench): Add memcpy.
11292 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11293 Cong Wang <amwang@redhat.com>
11296 * sysdeps/unix/sysv/linux/bits/in.h
11297 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11298 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11299 before __USE_KERNEL_IPV6_DEFS uses.
11300 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11302 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11303 sockaddr_in6, or ipv6_mreq.
11305 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11307 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11308 memory access for final bytes in some large inputs.
11309 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11311 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11313 * string/test-memrchr.c: New file.
11314 * string/test-memrchr-ifunc.c: New file.
11315 * string/Makefile: Add new memrchr testcase.
11317 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11319 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11320 fanotify_init returns EPERM.
11322 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11324 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11326 (top level): Treat second token from macro or constant entries for
11327 allowed headers as allowed.
11328 * include/complex.h: Condition internal declarations on
11330 * include/fenv.h: Condition include of <stdbool.h> and internal
11331 declarations on [!_ISOMAC].
11333 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11336 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11338 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11340 * configure.in (--enable-versioning): Remove configure option.
11341 (libc_cv_asm_symver_directive): Remove configure test.
11342 (libc_cv_ld_version_script_option): Likewise.
11343 (VERSIONING): Remove variable and AC_SUBST.
11344 (DO_VERSIONING): Remove AC_DEFINE.
11345 * configure: Regenerated.
11346 * config.h.in (DO_VERSIONING): Remove macro.
11347 * Makerules [$(versioning) = yes]: Change conditionals to
11348 [$(build-shared) = yes].
11349 * config.make.in (versioning): Remove variable.
11350 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11351 [$(build-shared) = yes].
11352 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11353 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11354 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11355 [$(build-shared) = yes].
11356 * extra-lib.mk [$(versioning) = yes]: Likewise.
11357 * hurd/Makefile [$(versioning) = yes]: Likewise.
11358 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11360 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11362 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11363 [SHARED && !NO_HIDDEN].
11364 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11366 [SHARED && DO_VERSIONING]: Likewise..
11367 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11368 [$(build-shared) = yes].
11369 * manual/install.texi (--disable-versioning): Remove
11371 * INSTALL: Regenerated.
11372 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11374 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11375 [$(build-shared) = yes].
11376 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11377 * sysdeps/i386/i686/multiarch/strstr-c.c
11378 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11379 [SHARED && !NO_HIDDEN].
11380 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11381 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11382 * sysdeps/powerpc/powerpc32/dl-machine.c
11383 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11384 * sysdeps/powerpc/powerpc32/sysdep.h
11385 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11386 to [SHARED && PIC && !NO_HIDDEN].
11387 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11388 conditional to [SHARED].
11390 2013-09-04 Will Newton <will.newton@linaro.org>
11392 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11393 * benchtests/bench-string.h: Include bench-timing.h instead
11394 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11395 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11396 call to HP_TIMING_DIFF_INIT.
11397 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11398 instead of hp-timing.h macros.
11399 * benchtests/bench-memchr.c: Likewise.
11400 * benchtests/bench-memcmp.c: Likewise.
11401 * benchtests/bench-memcpy.c: Likewise.
11402 * benchtests/bench-memmem.c: Likewise.
11403 * benchtests/bench-memmove.c: Likewise.
11404 * benchtests/bench-memset.c: Likewise.
11405 * benchtests/bench-rawmemchr.c: Likewise.
11406 * benchtests/bench-strcasecmp.c: Likewise.
11407 * benchtests/bench-strcasestr.c: Likewise.
11408 * benchtests/bench-strcat.c: Likewise.
11409 * benchtests/bench-strchr.c: Likewise.
11410 * benchtests/bench-strcmp.c: Likewise.
11411 * benchtests/bench-strcpy.c: Likewise.
11412 * benchtests/bench-strcpy_chk.c: Likewise.
11413 * benchtests/bench-strlen.c: Likewise.
11414 * benchtests/bench-strncasecmp.c: Likewise.
11415 * benchtests/bench-strncat.c: Likewise.
11416 * benchtests/bench-strncmp.c: Likewise.
11417 * benchtests/bench-strncpy.c: Likewise.
11418 * benchtests/bench-strnlen.c: Likewise.
11419 * benchtests/bench-strpbrk.c: Likewise.
11420 * benchtests/bench-strrchr.c: Likewise.
11421 * benchtests/bench-strspn.c: Likewise.
11422 * benchtests/bench-strstr.c: Likewise.
11424 2013-09-04 Will Newton <will.newton@linaro.org>
11426 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11428 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11431 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11432 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11433 * math/libm-test.inc (lgamma_test_data): Add more tests.
11434 * sysdeps/i386/fpu/libm-test-ulps: Update.
11435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11437 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11439 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11443 Add strcmp-sse2-unaligned
11444 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11446 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11448 * Versions.def (libc): Add GLIBC_2.19.
11450 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11452 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11453 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11455 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11458 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11459 intermediate calculations in recurrence.
11460 (__ieee754_ynf): Likewise.
11461 * math/libm-test.inc (jn_test_data): Do not allow spurious
11462 underflow exception. Add more tests.
11463 (yn_test_data): Add more tests.
11464 * sysdeps/i386/fpu/libm-test-ulps: Update.
11465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11467 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11469 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11471 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11473 * csu/init-first.c: Fix then/than typos.
11474 * locale/programs/ld-collate.c: Likewise.
11475 * locale/programs/linereader.h: Likewise.
11476 * manual/charset.texi: Likewise.
11477 * manual/filesys.texi: Likewise.
11478 * manual/stdio.texi: Likewise.
11479 * manual/string.texi: Likewise.
11480 * stdlib/fmtmsg.c: Likewise.
11481 * sysdeps/i386/stpncpy.S: Likewise.
11482 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11483 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11484 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11485 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11487 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11489 * elf/dl-open.c: Fix typos.
11490 * iconvdata/gbbig5.c: Likewise.
11491 * iconvdata/iso-2022-jp.c: Likewise.
11492 * iconv/gconv_int.h: Likewise.
11493 * iconv/loop.c: Likewise.
11494 * nis/rpcsvc/nis.h: Likewise.
11495 * resolv/ns_name.c: Likewise.
11496 * stdio-common/vfscanf.c: Likewise.
11497 * streams/stropts.h: Likewise.
11498 * sunrpc/rpc_thread.c: Likewise.
11499 * sysdeps/i386/strpbrk.S: Likewise.
11500 * sysdeps/ieee754/k_standard.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11503 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11504 * sysdeps/mach/hurd/profil.c: Likewise.
11505 * sysdeps/s390/dl-procinfo.h: Likewise.
11506 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11507 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11508 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11509 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11512 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11514 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11517 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11519 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11520 aix specific files.
11521 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11522 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11523 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11524 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11525 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11526 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11527 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11530 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11531 Roland McGrath <roland@hack.frob.com>
11533 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11534 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11536 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11538 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11539 __executable_start symbol instead of _start.
11541 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11543 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11544 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11546 * sysdeps/gnu/ldsodefs.h: ... this new file.
11548 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11549 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11550 instead of ELFOSABI_LINUX.
11552 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11553 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11554 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11555 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11557 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11558 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11559 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11561 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11562 (ibm_extended_long_double): Add ieee_nan member.
11563 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11564 (do_test): New function.
11566 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11568 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11569 functions, renamed from truncdfsf_test, trunctfsf_test,
11571 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11573 (do_test): Run all these.
11575 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11577 * argp/argp-help.c: Fix typos.
11578 * argp/argp-parse.c: Likewise.
11579 * debug/backtracesyms.c: Likewise.
11580 * elf/elf.h: Likewise.
11581 * malloc/malloc.c: Likewise.
11582 * nis/nis_print.c: Likewise.
11583 * resolv/res_comp.c: Likewise.
11584 * stdlib/stdlib.h: Likewise.
11585 * sunrpc/clnt_tcp.c: Likewise.
11586 * sunrpc/clnt_udp.c: Likewise.
11587 * sunrpc/clnt_unix.c: Likewise.
11588 * sysdeps/unix/bsd/ptsname.c: Likewise.
11589 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11590 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11597 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11599 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11601 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11604 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11607 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11608 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11609 ($(objpfx)bug-dl-leaf): New rule.
11610 ($(objpfx)bug-dl-leaf.so): Likewise.
11611 ($(objpfx)bug-dl-leaf.out): Likewise.
11612 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11613 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11614 * dlfcn/bug-dl-leaf.c: New test.
11615 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11616 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11617 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11618 (dlclose): Likewise.
11619 (dlmopen): Likewise.
11621 2013-08-27 Roland McGrath <roland@hack.frob.com>
11623 * include/netdb.h [!_ISOMAC]:
11624 Don't include <tls.h>.
11625 (h_errno, __libc_h_errno): Move declaration and macros out of
11628 * include/resolv.h [_RESOLV_H_]:
11629 Don't include <tls.h>.
11630 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11631 * resolv/res_libc.c: Don't include <tls.h>.
11632 (_res): Use __attribute__ ((nocommon)) in place of
11633 __attribute__ ((section (".bss"))).
11635 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11636 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11638 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11640 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11641 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11643 * resolv/res_mkquery.c: Include <sys/time.h>.
11645 * inet/ifreq.c: Moved to ...
11646 * sysdeps/unix/ifreq.c: ... here.
11647 * inet/ifreq.c: New file, true stub version.
11649 * socket/sa_len.c: New file.
11650 * socket/Makefile (aux): Add it.
11651 * sysdeps/unix/sysv/linux/Makefile
11652 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11653 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11654 and #include <socket/sa_len.c>.
11655 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11656 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11658 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11659 * bits/socket.h: ... here.
11661 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11662 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11663 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11665 2013-08-27 Andreas Schwab <schwab@suse.de>
11668 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11669 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11670 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11671 * string/test-strcasecmp.c (test_main): Run tests in several
11673 * string/test-strncasecmp.c (test_main): Likewise.
11675 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11676 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11677 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11679 (__strncasecmp_ssse3) [PIC]: Likewise.
11681 2013-08-26 Roland McGrath <roland@hack.frob.com>
11683 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11685 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11686 instead of explicitly declaring xdecrypt.
11687 * nis/nss_nis/nis-publickey.c: Likewise.
11689 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11692 * nscd/aicache.c: Include res_hconf.h.
11693 (addhstaiX): Initialize res_hconf.
11695 2013-08-26 Andreas Schwab <schwab@suse.de>
11697 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11698 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11700 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11702 * nscd/aicache.c (addhstaiX): Fix indentation.
11704 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11706 * configure.ac: Quote $build_pt_chown test.
11707 * configure: Regenerated.
11709 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11712 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11713 * math/s_cexpf.c (__cexpf): Likewise.
11714 * math/s_cexpl.c (__cexpl): Likewise.
11715 * math/libm-test.inc (cexp_test_data): Correct expected return
11716 value for NaN + i0. Add another test.
11718 2013-08-22 David S. Miller <davem@davemloft.net>
11720 * po/ca.po: Update Catalan translation from translation project.
11721 * po/uk.po: Add Ukrainian translations from translation project.
11723 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11726 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11727 is infinite, not alongside NaN test.
11728 * math/s_fdimf.c (__fdimf): Likewise.
11729 * math/s_fdiml.c (__fdiml): Likewise.
11730 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11731 errno is unchanged.
11733 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11735 * argp/argp-help.c: Fix typos.
11736 * crypt/speeds.c: Likewise.
11737 * csu/check_fds.c: Likewise.
11738 * elf/dl-load.c: Likewise.
11739 * elf/dl-open.c: Likewise.
11740 * elf/reldep3.c: Likewise.
11741 * elf/reldep.c: Likewise.
11742 * elf/sprof.c: Likewise.
11743 * iconv/iconv_charmap.c: Likewise.
11744 * iconv/skeleton.c: Likewise.
11745 * iconv/strtab.c: Likewise.
11746 * io/lockf64.c: Likewise.
11747 * libio/libioP.h: Likewise.
11748 * resolv/gai_notify.c: Likewise.
11749 * resolv/ns_name.c: Likewise.
11750 * resolv/ns_samedomain.c: Likewise.
11751 * resolv/res_send.c: Likewise.
11752 * stdlib/random.c: Likewise.
11753 * sunrpc/rpc/xdr.h: Likewise.
11754 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11755 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11756 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11757 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11758 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11759 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11760 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11761 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11762 * sysdeps/mach/hurd/check_fds.c: Likewise.
11763 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11764 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11765 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11766 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11767 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11768 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11769 * sysdeps/pthread/aio_notify.c: Likewise.
11770 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11771 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11772 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11773 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11774 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11776 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11778 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11779 version if bit_Slow_SSE4_2 is set.
11780 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11781 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11783 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11786 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11787 trampoline stack frame information.
11788 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11789 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11790 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11791 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11792 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11793 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11794 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11795 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11797 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11798 interrupting a syscall and set with option SA_SIGINFO.
11800 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11803 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11804 argument is infinite.
11805 * math/s_cprojf.c (__cprojf): Likewise.
11806 * math/s_cprojl.c (__cprojl): Likewise.
11807 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11808 * math/libm-test.inc (cproj_test_data): Add more tests.
11810 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11812 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11813 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11814 size. Use __ffs to determine corresponding shift.
11816 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11817 Roland McGrath <roland@hack.frob.com>
11819 * Makefile (INSTALL): Remove trailing blank lines from output of
11822 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11824 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11825 Align 32 bit compat elf_greg to 8 bytes.
11827 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11829 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11831 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11833 * string/strcoll_l.c (coll_seq): New structure.
11834 (get_next_seq_cached): New function.
11835 (get_next_seq): New function.
11836 (do_compare): New function.
11837 (STRCOLL): Use GNU style definition. Simplify implementation
11838 by using get_next_seq, get_next_seq_cached and do_compare.
11840 2013-08-16 Florian Weimer <fweimer@redhat.com>
11844 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11846 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11848 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11849 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11850 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11852 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11853 GETDENTS_64BIT_ALIGNED.
11854 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11855 * manual/filesys.texi (Reading/Closing Directory): Document
11856 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11858 * manual/conf.texi (Limits for Files): Add portability note to
11859 NAME_MAX, PATH_MAX.
11860 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11862 2013-08-13 Andreas Schwab <schwab@suse.de>
11865 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11867 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11868 LDBL_MAX_EXP >= 16384]: Add tests for it.
11870 2013-08-12 David S. Miller <davem@davemloft.net>
11872 * version.h (RELEASE): Set to "development".
11873 (VERSION): Set to "2.18.90".
11874 * NEWS: Add 2.19 section.
11876 2013-08-03 David S. Miller <davem@davemloft.net>
11878 * po/ko.po: Update Korean translation from translation project.
11880 2013-08-01 David S. Miller <davem@davemloft.net>
11882 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11883 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11886 2013-07-30 David S. Miller <davem@davemloft.net>
11888 * po/fr.po: Update French translation from translation project.
11890 2013-07-28 David S. Miller <davem@davemloft.net>
11892 * po/cs.po: Update Czech translation from translation project.
11894 * po/sv.po: Update Swedish translation from translation project.
11896 2013-07-27 David S. Miller <davem@davemloft.net>
11898 * po/eo.po: Update Esperanto translation from translation project.
11900 * po/vi.po: Update Vietnamese translation from translation project.
11902 * po/de.po: Update German translation from translation project.
11904 2013-07-26 David S. Miller <davem@davemloft.net>
11906 * po/bg.po: Update Bulgarian translation from translation project.
11908 * po/nl.po: Update Dutch translation from translation project.
11909 * po/pl.po: Update Polish translation from translation project.
11910 * po/ru.po: Update Russian translation from translation project.
11912 2013-07-24 David S. Miller <davem@davemloft.net>
11914 * po/libc.pot: Update.
11916 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11918 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11919 variable page size.
11920 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11921 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11922 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11924 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11926 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11928 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11929 Andreas Schwab <schwab@suse.de>
11930 Roland McGrath <roland@hack.frob.com>
11931 Joseph Myers <joseph@codesourcery.com>
11932 Carlos O'Donell <carlos@redhat.com>
11935 * config.h.in: Define HAVE_PT_CHOWN.
11936 * config.make.in (build-pt-chown): New variable.
11937 * configure.in (--enable-pt_chown): New configure option.
11938 * configure: Regenerate.
11939 * login/Makefile: Include Makeconfig. Build pt_chown only if
11940 build-pt-chown is enabled.
11941 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11942 pt_chown to fix pty ownership.
11943 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11945 * manual/install.texi (Configuring and compiling): Mention
11946 --enable-pt_chown. Add @findex for grantpt.
11947 * INSTALL: Regenerate.
11949 2013-07-20 David S. Miller <davem@davemloft.net>
11951 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11952 difference between 32-bit and 64-bit.
11954 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11957 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11958 Avoid system header dependency with -ffreestanding.
11959 ($(objpfx)bits/syscall%d): Likewise.
11961 2013-07-13 David S. Miller <davem@davemloft.net>
11963 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11964 underflows from atanl/atan2l due to bug 15319.
11965 (casinh_test_data): Likewise.
11967 2013-07-07 David S. Miller <davem@davemloft.net>
11969 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11971 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11973 * sysdeps/i386/fpu/libm-test-ulps: Update.
11974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11976 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11978 * configure.in (--enable-lock-elision): Fix message text.
11979 * INSTALL: Regenerate.
11980 * configure: Regenerate.
11982 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11986 2013-07-03 Andreas Jaeger <aj@suse.de>
11988 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11990 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11991 (ptrace_peeksiginfo_args): Add.
11992 (__ptrace_peeksiginfo_flags): Add.
11993 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11995 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11997 2013-07-03 Allan McRae <allan@archlinux.org>
11999 * sysdeps/i386/fpu/libm-test-ulps: Update.
12001 2013-07-02 David S. Miller <davem@davemloft.net>
12003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12005 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12009 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12011 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12014 2013-07-02 Andi Kleen <ak@linux.intel.com>
12016 * config.h.in (ENABLE_LOCK_ELISION): Add.
12017 * configure.in (--enable-lock-elision): Add option.
12018 * manual/install.texi: Document --enable lock elision.
12019 * configure: Regenerate
12020 * INSTALL: Regenerate.
12022 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12024 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12025 SSE4.2 strcasecmp for libc.a.
12026 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12028 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12031 * soft-fp/op-common.h (_FP_FMA): New macro.
12032 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12033 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12034 (_FP_MUL_MEAT_1_imm): ... here.
12035 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12036 (_FP_MUL_MEAT_1_wide): ... here.
12037 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12038 (_FP_MUL_MEAT_1_hard): ... here.
12039 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12040 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12041 (_FP_MUL_MEAT_2_wide): ... here.
12042 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12043 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12044 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12045 (_FP_MUL_MEAT_2_gmp): ... here.
12046 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12047 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12048 (_FP_MUL_MEAT_4_wide): ... here.
12049 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12050 (_FP_MUL_MEAT_4_gmp): ... here.
12051 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12052 (_FP_WFRACBITS_DW_S): Likewise.
12053 (_FP_WFRACXBITS_DW_S): Likewise.
12054 (_FP_HIGHBIT_DW_S): Likewise.
12055 (FP_FMA_S): Likewise.
12056 (_FP_FRAC_HIGH_DW_S): Likewise.
12057 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12058 (_FP_WFRACBITS_DW_D): Likewise.
12059 (_FP_WFRACXBITS_DW_D): Likewise.
12060 (_FP_HIGHBIT_DW_D): Likewise.
12061 (FP_FMA_D): Likewise.
12062 (_FP_FRAC_HIGH_DW_D): Likewise.
12063 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12064 (_FP_WFRACBITS_DW_E): Likewise.
12065 (_FP_WFRACXBITS_DW_E): Likewise.
12066 (_FP_HIGHBIT_DW_E): Likewise.
12067 (FP_FMA_E): Likewise.
12068 (_FP_FRAC_HIGH_DW_E): Likewise.
12069 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12070 (_FP_WFRACBITS_DW_Q): Likewise.
12071 (_FP_WFRACXBITS_DW_Q): Likewise.
12072 (_FP_HIGHBIT_DW_Q): Likewise.
12073 (FP_FMA_Q): Likewise.
12074 (_FP_FRAC_HIGH_DW_Q): Likewise.
12075 * soft-fp/fmasf4.c: New file.
12076 * soft-fp/fmadf4.c: Likewise.
12077 * soft-fp/fmatf4.c: Likewise.
12079 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12082 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12084 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12086 (index_Slow_SSE4_2): Likewise.
12087 (index_Prefer_PMINUB_for_stringop): Likewise.
12088 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12089 bit_Slow_SSE4_2 is set.
12090 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12091 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12093 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12095 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12096 rtld_global._dl_hwcap2.
12097 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12099 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12100 POWER8 feature descriptions defined in _dl_hwcap2.
12101 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12102 string handling for POWER8 feature bits.
12103 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12104 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12105 _dl_powerpc_cap_flags.
12106 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12107 * sysdeps/powerpc/rtld-global-offsets.sym
12108 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12109 _dl_hwcap2 in the rtld_global_ro structure.
12111 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12113 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12114 hardware capabilities in support of AT_HWCAP2.
12115 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12116 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12118 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12119 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12120 explicitly the unknown a_type display mechanism is used.
12121 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12122 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12124 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12125 to macro prototype for AT_HWCAP2 support.
12126 * sysdeps/i386/dl-procinfo.h: Likewise.
12127 * sysdeps/s390/dl-procinfo.h: Likewise.
12128 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12129 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12130 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12131 return -1 for unknown a_type display fallback.
12132 * sysdeps/sparc/dl-procinfo.h: Likewise.
12133 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12134 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12136 2013-06-28 Joseph Myers <joseph@codesourcery.com>
12138 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12139 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12141 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12144 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12145 mprotect making __stack_prot writable.
12147 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12148 Joseph Myers <joseph@codesourcery.com>
12150 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12151 as being properly aligned.
12153 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12155 * dlfcn/modstatic5.c: New file.
12156 * dlfcn/tststatic5.c: New file.
12157 * dlfcn/Makefile (tests): Add tststatic5.
12158 (tests-static): Likewise.
12159 (modules-names): Add modstatic5.
12160 (tststatic5-ENV): New variable.
12161 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12164 * elf/dl-support.c (_dl_main_map): New variable.
12165 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12166 (_dl_nns, _dl_load_adds): Set to 1.
12167 (_dl_initial_searchlist): Refer to _dl_main_map.
12168 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12169 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12170 call to _dl_get_origin.
12171 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12173 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12174 * dlfcn/modstatic3.c: New file.
12175 * dlfcn/tststatic3.c: New file.
12176 * dlfcn/tststatic4.c: New file.
12177 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12178 (tests-static): Likewise.
12179 (modules-names): Add modstatic3.
12180 (tststatic3-ENV, tststatic4-ENV): New variables.
12181 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12182 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12184 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12186 * configure.in (CC): Require GCC version 4.4 or later.
12187 * configure: Regenerated.
12188 * manual/install.texi (Tools for Compilation): Update GCC version
12190 * INSTALL: Regenerated.
12192 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12195 * string/test-memcmp.c (check2): New.
12196 (main): Call check2.
12198 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12200 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12203 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12205 (dl_open_worker) [!SHARED]: ... here.
12207 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12209 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12211 2013-06-25 Richard Henderson <rth@redhat.com>
12213 * locale/programs/locarchive.c: Include <libc-internal.h>
12215 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12217 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12218 trailing whitespace removed.
12220 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12223 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12224 * locale/programs/locarchive.c: Include libc-mmap.h.
12225 (prepare_address_space): Take two new outputs (the mmap base and len).
12226 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12228 (create_archive): Declare new mmap base and len values for
12229 prepare_address_space, and store the result in ah.
12230 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12231 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12232 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12233 Declare new mmap base and len values for
12234 prepare_address_space, and store the result in new_ah.
12235 (open_archive): Declare new mmap base and len values for
12236 prepare_address_space, and store the result in ah.
12237 (close_archive): If ah->mmap_base is not NULL, use that and
12238 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12239 * sysdeps/generic/libc-mmap.h: New file.
12241 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12243 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12244 (ALIGN_UP): Likewise.
12245 (PTR_ALIGN_DOWN): Likewise.
12246 (PTR_ALIGN_UP): Likewise.
12248 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12250 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12251 entry mapped to PPC_PLATFORM_POWER8.
12252 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12254 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12255 (_dl_string_platform): Add case for exporting platform position for
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12258 search path to sysdeps/powerpc/powerpc32/power8 directory.
12259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12260 search path to sysdeps/powerpc/powerpc64/power8 directory.
12261 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12262 power7 directories.
12263 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12264 power7 directories.
12266 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12268 * INSTALL: Regenerate.
12270 * nscd/connections.c (nscd_init): Fix comment.
12272 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12274 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12277 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12278 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12280 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12282 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12284 (DL_DST_REQ_STATIC): Remove macro.
12286 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12289 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12290 with a shift of 0 bits.
12292 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12294 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12297 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12300 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12302 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12304 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12305 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12306 accepts -fno-tree-loop-distribute-patterns.
12307 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12308 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12310 * string/memset.c (memset): Likewise.
12311 * string/test-memmove.c (simple_memmove): Disable loop transformation
12313 * string/test-memset.c (simple_memset): Likewise.
12314 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12315 * benchtests/bench-memset.c (simple_memset): Likewise.
12316 * configure: Regenerated.
12318 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12320 * math/test-misc.c (main): Ignore fesetround failure when failures
12321 of subsequent rounding tests would be ignored.
12324 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12325 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12326 * math/fegetenv.c (__fegetenv): Return 0.
12327 * math/fegetexcept.c (fegetexcept): Return 0.
12328 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12330 * math/feholdexcpt.c (feholdexcept): Return 0.
12331 * math/fesetenv.c (__fesetenv): Return 0.
12332 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12333 argument FE_TONEAREST.
12334 * math/feupdateenv.c (__feupdateenv): Return 0.
12335 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12337 2013-06-18 Roland McGrath <roland@hack.frob.com>
12339 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12340 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12341 ($(objpfx)rtld-%.os rules): Use them.
12343 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12345 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12348 2013-06-17 Roland McGrath <roland@hack.frob.com>
12350 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12351 length of target pattern, then descending length of dependency pattern.
12352 * configure.in (AWK): Require gawk 3.1.2 or newer.
12353 * manual/install.texi (Tools for Compilation): Say that we do.
12354 * configure: Regenerated.
12356 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12357 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12358 * scripts/sysd-rules.awk: ... this new script.
12359 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12360 than a glob-style pattern.
12362 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12364 * math/test-misc.c (main): Do not treat incorrectly rounded
12365 conversions as failure unless ROUNDING_TESTS passes.
12367 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12370 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12371 restore exception state around main square root computation, then
12372 check for inexactness explicitly.
12374 * math/libm-test.inc (fma_test_data): Add another test.
12376 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12378 * manual/threads.texi (Non-POSIX Extensions): New document
12379 node. Document pthread_getattr_default_np and
12380 pthread_setattr_default_np.
12382 * Versions.def (libpthread): Add GLIBC_2.18.
12383 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12392 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12403 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12406 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12408 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12409 H.J. Lu <hjl.tools@gmail.com>
12412 * sysdeps/x86_64/rtld-memset.c: Remove file.
12413 * sysdeps/x86_64/rtld-memset.S: New file.
12415 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12417 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12418 (test_in_one_mode): Take arguments for whether the rounding mode
12419 is supported for each floating-point type.
12420 (do_test): Pass new arguments to test_in_one_mode using
12423 2013-06-13 Roland McGrath <roland@hack.frob.com>
12425 * posix/tst-waitid.c (do_test): Distinguish different instances of
12426 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12427 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12428 before entering the kernel for waitpid.
12430 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12432 * NEWS: Fix note on clock function precision. Text by Roland
12435 2013-06-13 Roland McGrath <roland@hack.frob.com>
12437 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12438 it into place only when and if the sanity check passes.
12440 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12442 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12443 output for whether conversion result is exact. Take argument
12444 indicating whether type is IBM long double.
12445 (round_for_all): Change need_exact field to ibm_ld.
12446 * stdlib/tst-strtod-round.c (struct exactness): New type.
12447 (struct test): Change bool ld_ok field to struct exactness exact.
12448 (TEST): Update all definitions for change to field.
12449 (tests): Regenerate array contents.
12450 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12451 field value. Check for IBM long double here.
12452 (do_test): Update calls to test_in_one_mode.
12454 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12457 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12458 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12460 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12463 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12464 generated by the compiler on loop optimizations.
12465 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12466 general definitions.
12468 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12470 * math/bug-nextafter.c: Include <math-tests.h>.
12471 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12473 * math/bug-nexttoward.c: Include <math-tests.h>.
12474 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12476 * math/test-misc.c: Include <math-tests.h>.
12477 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12480 2013-06-12 Andreas Jaeger <aj@suse.de>
12482 * po/ia.po: Update Interlingua translation from translation
12485 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12487 * include/fenv.h: Include stdbool.h.
12488 (struct rm_ctx): New structure.
12489 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12491 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12492 (SET_RESTORE_ROUNDF): Likewise.
12493 (SET_RESTORE_ROUNDL): Likewise.
12494 (SET_RESTORE_ROUND_NOEX): Likewise.
12495 (SET_RESTORE_ROUND_NOEXF): Likewise.
12496 (SET_RESTORE_ROUND_NOEXL): Likewise.
12497 (SET_RESTORE_ROUND_53BIT): Likewise.
12498 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12499 (libc_feresetround_noexf_ctx): Likewise.
12500 (libc_feresetround_noexl_ctx): Likewise.
12501 (libc_feholdsetround_53bit_ctx): Likewise.
12502 (libc_feresetround_53bit_ctx): Likewise.
12503 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12504 (libc_feholdexcept_setround_sse_ctx): New function.
12505 (libc_fesetenv_sse_ctx): Likewise.
12506 (libc_feupdateenv_sse_ctx): Likewise.
12507 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12508 (libc_feholdexcept_setround_387_ctx): Likewise.
12509 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12510 (libc_feholdsetround_387_prec_ctx): Likewise.
12511 (libc_feholdsetround_387_ctx): Likewise.
12512 (libc_feholdsetround_387_53bit_ctx): Likewise.
12513 (libc_feholdsetround_sse_ctx): Likewise.
12514 (libc_feresetround_sse_ctx): Likewise.
12515 (libc_feresetround_387_ctx): Likewise.
12516 (libc_feupdateenv_387_ctx): Likewise.
12517 (libc_feholdexcept_setroundf_ctx): Define macro.
12518 (libc_fesetenvf_ctx): Likewise.
12519 (libc_feupdateenvf_ctx): Likewise.
12520 (libc_feholdsetroundf_ctx): Likewise.
12521 (libc_feresetroundf_ctx): Likewise.
12522 (libc_feholdexcept_setround_ctx): Likewise.
12523 (libc_fesetenv_ctx): Likewise.
12524 (libc_feupdateenv_ctx): Likewise.
12525 (libc_feholdsetround_ctx): Likewise.
12526 (libc_feresetround_ctx): Likewise.
12527 (libc_feholdexcept_setroundl_ctx): Likewise.
12528 (libc_feupdateenvl_ctx): Likewise.
12529 (libc_feholdsetroundl_ctx): Likewise.
12530 (libc_feresetroundl_ctx): Likewise.
12531 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12532 (libc_feresetround_53bit_ctx): Likewise.
12534 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12536 * locale/iso-639.def: Convert to UTF-8.
12538 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12540 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12541 (EXCEPTION_TESTS_double): Likewise.
12542 (EXCEPTION_TESTS_long_double): Likewise.
12543 (EXCEPTION_TESTS): Likewise.
12544 * math/libm-test.inc (test_exceptions): Only test exceptions if
12545 EXCEPTION_TESTS (FLOAT).
12547 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12549 * benchtests/Makefile (string-bench): Add strcpy_chk and
12551 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12552 * benchtests/bench-stpcpy_chk.c: New file.
12553 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12554 * benchtests/bench-strcpy_chk.c: New file.
12555 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12557 (do_test): Likewise.
12559 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12561 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12562 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12563 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12564 with tabs where appropriate.
12565 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12567 [PPC_PLATFORM_PPC440]: Likewise.
12568 [PPC_PLATFORM_PPC464]: Likewise.
12569 [PPC_PLATFORM_PPC476]: Likewise.
12570 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12571 ppc464, and ppc476 platform strings merging from ports/
12574 2013-06-11 Andreas Schwab <schwab@suse.de>
12577 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12578 (from_ucs4_idx): Regenerate.
12579 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12580 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12581 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12582 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12583 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12584 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12585 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12586 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12587 from FROM_LOOP and TO_LOOP specific macros.
12588 (BODY): Handle combining characters.
12589 * iconvdata/BIG5HKSCS.irreversible: Update.
12590 * iconvdata/BIG5HKSCS.precomposed: New file.
12591 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12593 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12595 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12597 * include/sys/time.h: Fix indentation and add copyright header.
12599 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12600 (do_test): Likewise.
12601 * string/test-memchr.c (do_one_test): Likewise.
12602 (do_test): Likewise.
12603 * string/test-memcmp.c (do_one_test): Likewise.
12604 (do_test): Likewise.
12605 * string/test-memcpy.c (do_one_test): Likewise.
12606 (do_test): Likewise.
12607 * string/test-memmem.c (do_one_test): Likewise.
12608 (do_test): Likewise.
12609 (do_random_tests): Likewise.
12610 * string/test-memmove.c (do_one_test): Likewise.
12611 (do_test): Likewise.
12612 * string/test-memset.c (do_one_test): Likewise.
12613 (do_test): Likewise.
12614 * string/test-rawmemchr.c (do_one_test): Likewise.
12615 (do_test): Likewise.
12616 * string/test-strcasecmp.c (do_one_test): Likewise.
12617 (do_test): Likewise.
12618 * string/test-strcasestr.c (do_one_test): Likewise.
12619 (do_test): Likewise.
12620 * string/test-strcat.c (do_one_test): Likewise.
12621 (do_test): Likewise.
12622 * string/test-strchr.c (do_one_test): Likewise.
12623 (do_test): Likewise.
12624 * string/test-strcmp.c (do_one_test): Likewise.
12625 (do_test): Likewise.
12626 * string/test-strcpy.c (do_one_test): Likewise.
12627 (do_test): Likewise.
12628 * string/test-string.h: Likewise.
12629 (test_init): Likewise.
12630 * string/test-strlen.c (do_one_test): Likewise.
12631 (do_test): Likewise.
12632 * string/test-strncasecmp.c (do_one_test): Likewise.
12633 (do_test): Likewise.
12634 * string/test-strncat.c (do_one_test): Likewise.
12635 (do_test): Likewise.
12636 * string/test-strncmp.c (do_one_test): Likewise.
12637 (do_test_limit): Likewise.
12638 (do_test): Likewise.
12639 * string/test-strncpy.c (do_one_test): Likewise.
12640 (do_test): Likewise.
12641 * string/test-strnlen.c (do_one_test): Likewise.
12642 (do_test): Likewise.
12643 * string/test-strpbrk.c (do_one_test): Likewise.
12644 (do_test): Likewise.
12645 * string/test-strrchr.c (do_one_test): Likewise.
12646 (do_test): Likewise.
12647 * string/test-strspn.c (do_one_test): Likewise.
12648 (do_test): Likewise.
12649 * string/test-strstr.c (do_one_test): Likewise.
12650 (do_test): Likewise.
12652 * benchtests/Makefile (string-bench): Add string benchmarks.
12653 * benchtests/bench-bcopy-ifunc.c: New file.
12654 * benchtests/bench-bcopy.c: New file.
12655 * benchtests/bench-bzero-ifunc.c: New file.
12656 * benchtests/bench-bzero.c: New file.
12657 * benchtests/bench-memccpy-ifunc.c: New file.
12658 * benchtests/bench-memccpy.c: New file.
12659 * benchtests/bench-memchr-ifunc.c: New file.
12660 * benchtests/bench-memchr.c: New file.
12661 * benchtests/bench-memcmp-ifunc.c: New file.
12662 * benchtests/bench-memcmp.c: New file.
12663 * benchtests/bench-memmem-ifunc.c: New file.
12664 * benchtests/bench-memmem.c: New file.
12665 * benchtests/bench-memmove-ifunc.c: New file.
12666 * benchtests/bench-memmove.c: New file.
12667 * benchtests/bench-mempcpy-ifunc.c: New file.
12668 * benchtests/bench-mempcpy.c: New file.
12669 * benchtests/bench-memset-ifunc.c: New file.
12670 * benchtests/bench-memset.c: New file.
12671 * benchtests/bench-rawmemchr-ifunc.c: New file.
12672 * benchtests/bench-rawmemchr.c: New file.
12673 * benchtests/bench-stpcpy-ifunc.c: New file.
12674 * benchtests/bench-stpcpy.c: New file.
12675 * benchtests/bench-stpncpy-ifunc.c: New file.
12676 * benchtests/bench-stpncpy.c: New file.
12677 * benchtests/bench-strcasecmp-ifunc.c: New file.
12678 * benchtests/bench-strcasecmp.c: New file.
12679 * benchtests/bench-strcasestr-ifunc.c: New file.
12680 * benchtests/bench-strcasestr.c: New file.
12681 * benchtests/bench-strcat-ifunc.c: New file.
12682 * benchtests/bench-strcat.c: New file.
12683 * benchtests/bench-strchr-ifunc.c: New file.
12684 * benchtests/bench-strchr.c: New file.
12685 * benchtests/bench-strchrnul-ifunc.c: New file.
12686 * benchtests/bench-strchrnul.c: New file.
12687 * benchtests/bench-strcmp-ifunc.c: New file.
12688 * benchtests/bench-strcmp.c: New file.
12689 * benchtests/bench-strcpy-ifunc.c: New file.
12690 * benchtests/bench-strcpy.c: New file.
12691 * benchtests/bench-strcspn-ifunc.c: New file.
12692 * benchtests/bench-strcspn.c: New file.
12693 * benchtests/bench-strlen-ifunc.c: New file.
12694 * benchtests/bench-strlen.c: New file.
12695 * benchtests/bench-strncasecmp-ifunc.c: New file.
12696 * benchtests/bench-strncasecmp.c: New file.
12697 * benchtests/bench-strncat-ifunc.c: New file.
12698 * benchtests/bench-strncat.c: New file.
12699 * benchtests/bench-strncmp-ifunc.c: New file.
12700 * benchtests/bench-strncmp.c: New file.
12701 * benchtests/bench-strncpy-ifunc.c: New file.
12702 * benchtests/bench-strncpy.c: New file.
12703 * benchtests/bench-strnlen-ifunc.c: New file.
12704 * benchtests/bench-strnlen.c: New file.
12705 * benchtests/bench-strpbrk-ifunc.c: New file.
12706 * benchtests/bench-strpbrk.c: New file.
12707 * benchtests/bench-strrchr-ifunc.c: New file.
12708 * benchtests/bench-strrchr.c: New file.
12709 * benchtests/bench-strspn-ifunc.c: New file.
12710 * benchtests/bench-strspn.c: New file.
12711 * benchtests/bench-strstr-ifunc.c: New file.
12712 * benchtests/bench-strstr.c: New file.
12714 * benchtests/Makefile: Disable parallel execution of targets.
12715 (string-bench): Add memcpy.
12716 (benchset): New variable to store a list of benchmark sets.
12717 (bench-func): Renamed from bench.
12718 (bench-set): New target.
12719 (bench): Depend on bench-func and bench-set.
12720 * benchtests/README: Add section on benchmark sets.
12721 * benchtests/bench-memcpy-ifunc.c: New file.
12722 * benchtests/bench-memcpy.c: New file.
12723 * benchtests/bench-string.h: New file.
12725 2013-06-11 Andreas Schwab <schwab@suse.de>
12728 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12729 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12730 values in the triple.
12731 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12732 terminator in the group key.
12734 2013-06-11 Andreas Jaeger <aj@suse.de>
12736 * po/zh_TW.po: Update Chinese (traditional) translation from
12737 translation project.
12739 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12741 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12742 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12743 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12744 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12745 (clock_getcpuclockid): Likewise.
12746 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12747 Add weak_alias and libc_hidden_def.
12748 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12749 * rt/clock_gettime.c (clock_gettime): Rename to
12750 __clock_gettime. Add weak_alias and libc_hidden_def.
12751 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12752 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12753 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12754 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12755 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12757 * rt/clock_settime.c (clock_settime): Rename to
12758 __clock_settime. Add weak_alias and libc_hidden_def.
12759 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12761 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12763 * mach/err_boot.sub: Remove trailing whitespace.
12764 * mach/err_ipc.sub: Likewise.
12765 * mach/err_mach.sub: Likewise.
12767 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12768 (ROUNDING_TESTS_double): Likewise.
12769 (ROUNDING_TESTS_long_double): Likewise.
12770 (ROUNDING_TESTS): Likewise.
12771 * math/libm-test.inc: Include <math-tests.h>.
12772 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12773 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12774 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12775 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12777 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12779 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12782 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12784 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12785 otherwise empty TRANS lines.
12786 * sysdeps/gnu/errlist.c: Regenerated.
12788 * catgets/gencat.c (error_print): Use (void) in function
12790 * crypt/crypt_util.c (__init_des): Likewise.
12791 * crypt/speeds.c (Stop): Likewise.
12793 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12794 * inet/ruserpass.c (token): Likewise.
12795 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12796 * intl/localealias.c (extend_alias_table): Likewise.
12797 * intl/plural-exp.c (init_germanic_plural): Likewise.
12798 * libio/fcloseall.c (__fcloseall): Likewise.
12799 * libio/genops.c (_IO_flush_all): Likewise.
12800 (_IO_flush_all_linebuffered): Likewise.
12801 (_IO_cleanup): Likewise.
12802 (_IO_iter_begin): Likewise.
12803 (_IO_iter_end): Likewise.
12804 (_IO_list_lock): Likewise.
12805 (_IO_list_unlock): Likewise.
12806 (_IO_list_resetlock): Likewise.
12807 * libio/getchar.c (getchar): Likewise.
12808 * libio/getchar_u.c (getchar_unlocked): Likewise.
12809 * libio/getwchar.c (getwchar): Likewise.
12810 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12811 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12812 * login/getpt.c (__getpt): Likewise.
12813 * login/tst-utmp.c (main): Likewise.
12814 * malloc/hooks.c (__malloc_check_init): Likewise.
12815 * malloc/malloc.c (__malloc_stats): Likewise.
12816 * malloc/mtrace.c (tr_break): Likewise.
12817 (mtrace): Likewise.
12818 (muntrace): Likewise.
12819 * misc/fstab.c (endfsent): Likewise.
12820 * misc/getclktck.c (__getclktck): Likewise.
12821 * misc/getdtsz.c (__getdtablesize): Likewise.
12822 * misc/gethostid.c (gethostid): Likewise.
12823 * misc/getpagesize.c (__getpagesize): Likewise.
12824 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12825 (__get_nprocs): Likewise.
12826 (__get_phys_pages): Likewise.
12827 (__get_avphys_pages): Likewise.
12828 * misc/getttyent.c (getttyent): Likewise.
12829 (setttyent): Likewise.
12830 (endttyent): Likewise.
12831 * misc/getusershell.c (getusershell): Likewise.
12832 (endusershell): Likewise.
12833 (setusershell): Likewise.
12834 (initshells): Likewise.
12835 * misc/hsearch.c (__hdestroy): Likewise.
12836 * misc/sync.c (sync): Likewise.
12837 * misc/syslog.c (closelog_internal): Likewise.
12838 (closelog): Likewise.
12839 * misc/ttyslot.c (ttyslot): Likewise.
12840 * misc/vhangup.c (vhangup): Likewise.
12841 * posix/fork.c (__fork): Likewise.
12842 * posix/getegid.c (__getegid): Likewise.
12843 * posix/geteuid.c (__geteuid): Likewise.
12844 * posix/getgid.c (__getgid): Likewise.
12845 * posix/getpid.c (__getpid): Likewise.
12846 * posix/getppid.c (__getppid): Likewise.
12847 * posix/getuid.c (__getuid): Likewise.
12848 * posix/pause.c (pause): Likewise.
12849 * posix/setpgrp.c (setpgrp): Likewise.
12850 * posix/setsid.c (__setsid): Likewise.
12851 * posix/test-vfork.c (noop): Likewise.
12852 * resolv/gethnamaddr.c (_endhtent): Likewise.
12853 (_gethtent): Likewise.
12854 (ht_endhostent): Likewise.
12855 (gethostent): Likewise.
12856 (dns_service): Likewise.
12857 * stdlib/drand48.c (drand48): Likewise.
12858 * stdlib/lrand48.c (lrand48): Likewise.
12859 * stdlib/mrand48.c (mrand48): Likewise.
12860 * stdlib/rand.c (rand): Likewise.
12861 * stdlib/random.c (__random): Likewise.
12862 * stdlib/setenv.c (clearenv): Likewise.
12863 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12864 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12865 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12866 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12867 (__get_nprocs): Likewise.
12868 (__get_phys_pages): Likewise.
12869 (__get_avphys_pages): Likewise.
12870 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12871 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12872 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12873 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12874 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12875 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12876 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12877 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12878 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12879 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12880 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12881 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12882 * sysdeps/posix/clock.c (clock): Likewise.
12883 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12884 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12885 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12886 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12887 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12888 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12889 (__get_nprocs_conf): Likewise.
12890 (__get_phys_pages): Likewise.
12891 (__get_avphys_pages): Likewise.
12892 * time/clock.c (clock): Likewise.
12893 * time/tzset.c (__tzname_max): Likewise.
12895 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12897 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12898 (__bswap_32): Do not use "register".
12899 * crypt/crypt.c (_ufc_doit_r): Likewise.
12900 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12901 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12902 * gmon/gmon.c (__monstartup): Likewise.
12903 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12904 * hurd/hurdmalloc.c (more_memory): Likewise.
12905 (malloc): Likewise.
12907 (realloc): Likewise.
12908 (malloc_fork_prepare): Likewise.
12909 (malloc_fork_parent): Likewise.
12910 (malloc_fork_child): Likewise.
12911 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12912 (_svcauth_des): Likewise.
12913 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12914 * inet/inet_net.c (inet_network): Likewise.
12915 * inet/inet_netof.c (inet_netof): Likewise.
12916 * inet/rcmd.c (__validuser2_sa): Likewise.
12917 * io/fts.c (fts_open): Likewise.
12918 (fts_load): Likewise.
12919 (fts_close): Likewise.
12920 (fts_read): Likewise.
12921 (fts_children): Likewise.
12922 (fts_build): Likewise.
12923 (fts_stat): Likewise.
12924 (fts_sort): Likewise.
12925 (fts_alloc): Likewise.
12926 (fts_lfree): Likewise.
12927 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12928 (_IO_file_xsgetn): Likewise.
12929 (_IO_file_xsgetn_mmap): Likewise.
12930 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12931 (_IO_cookie_write): Likewise.
12932 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12933 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12934 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12935 * malloc/obstack.c (_obstack_begin): Likewise.
12936 (_obstack_begin_1): Likewise.
12937 (_obstack_newchunk): Likewise.
12938 (_obstack_allocated_p): Likewise.
12939 (obstack_free): Likewise.
12940 (_obstack_memory_used): Likewise.
12941 * misc/getttyent.c (getttynam): Likewise.
12942 (getttyent): Likewise.
12945 * misc/getusershell.c (initshells): Likewise.
12946 * misc/syslog.c (__vsyslog_chk): Likewise.
12947 * misc/ttyslot.c (ttyslot): Likewise.
12948 * nis/nis_hash.c (__nis_hash): Likewise.
12949 * posix/fnmatch_loop.c (FCT): Likewise.
12950 * posix/getconf.c (print_all): Likewise.
12952 * posix/getopt.c (exchange): Likewise.
12953 * posix/glob.c (globfree): Likewise.
12954 (prefix_array): Likewise.
12955 (__glob_pattern_type): Likewise.
12956 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12957 (NS_GET32): Likewise.
12958 (NS_PUT16): Likewise.
12959 (NS_PUT32): Likewise.
12960 * resolv/gethnamaddr.c (getanswer): Likewise.
12961 (gethostbyname2): Likewise.
12962 (gethostbyaddr): Likewise.
12963 (_gethtent): Likewise.
12964 (_gethtbyname2): Likewise.
12965 (_gethtbyaddr): Likewise.
12966 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12967 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12968 * resolv/res_init.c (__res_vinit): Likewise.
12969 (net_mask): Likewise.
12970 * resolv/res_mkquery.c (outchar): Likewise.
12972 * stdio-common/printf_fp.c (outchar): Likewise.
12974 * stdio-common/printf_fphex.c (outchar): Likewise.
12976 * stdio-common/printf_size.c (outchar): Likewise.
12978 * stdio-common/test_rdwr.c (main): Likewise.
12979 * stdio-common/tfformat.c (matches): Likewise.
12980 * stdio-common/vfprintf.c (outchar): Likewise.
12981 (printf_unknown): Likewise.
12982 (buffered_vfprintf): Likewise.
12983 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12984 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12985 (ReadFile): Likewise.
12986 * stdlib/qsort.c (SWAP): Likewise.
12987 (_quicksort): Likewise.
12988 * stdlib/setenv.c (__add_to_environ): Likewise.
12989 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12990 * stdlib/strtol_l.c (__strtol_l): Likewise.
12991 * stdlib/tst-strtod.c (main): Likewise.
12992 * stdlib/tst-strtol.c (main): Likewise.
12993 * stdlib/tst-strtoll.c (main): Likewise.
12994 * string/bits/string2.h (__strcmp_cc): Likewise.
12995 (__strcmp_cg): Likewise.
12996 (__strcspn_c1): Likewise.
12997 (__strcspn_c2): Likewise.
12998 (__strcspn_c3): Likewise.
12999 (__strspn_c1): Likewise.
13000 (__strspn_c2): Likewise.
13001 (__strspn_c3): Likewise.
13002 (__strsep_1c): Likewise.
13003 (__strsep_2c): Likewise.
13004 (__strsep_3c): Likewise.
13005 * string/memccpy.c (__memccpy): Likewise.
13006 * string/stpcpy.c (__stpcpy): Likewise.
13007 * string/strcmp.c (strcmp): Likewise.
13008 * string/strrchr.c (strrchr): Likewise.
13009 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13011 * sysdeps/mach/hurd/getcwd.c
13012 (_hurd_canonicalize_directory_name_internal): Likewise.
13013 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13014 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13015 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13016 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13017 Likewise, in both definitions.
13018 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13020 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13021 64] (__bswap_64): Likewise.
13022 * time/test_time.c (main): Likewise.
13023 * time/tzfile.c (__tzfile_read): Likewise.
13024 (__tzfile_compute): Likewise.
13025 * time/tzset.c (__tzset_parse_tz): Likewise.
13026 (tzset_internal): Likewise.
13027 (compute_change): Likewise.
13028 * wcsmbs/wcscat.c (__wcscat): Likewise.
13029 * wcsmbs/wcschr.c (wcschr): Likewise.
13030 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13031 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13032 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13033 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13034 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13035 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13036 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13037 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13038 * wcsmbs/wmemset.c (wmemset): Likewise.
13040 2013-06-06 Joseph Myers <joseph@codesourcery.com>
13042 * scripts/config.guess: Update to version 2013-05-16.
13043 * scripts/config.sub: Update to version 2013-04-24.
13044 * scripts/install-sh: Update to version 2011-11-20.07.
13045 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13046 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13048 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13050 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13051 * elf/sln.c: Likewise.
13052 * hurd/hurd/ioctl.h: Likewise.
13053 * hurd/hurdmalloc.c: Likewise.
13054 * hurd/xattr.c: Likewise.
13055 * include/shlib-compat.h: Likewise.
13056 * inet/ruserpass.c: Likewise.
13057 * libio/iofgets_u.c: Likewise.
13058 * libio/iofgetws_u.c: Likewise.
13059 * locale/programs/ld-identification.c: Likewise.
13060 * locale/programs/ld-time.c: Likewise.
13061 * mach/msg-destroy.c: Likewise.
13062 * nss/nss_files/files-netgrp.c: Likewise.
13063 * resolv/res_data.c: Likewise.
13064 * soft-fp/op-1.h: Likewise.
13065 * soft-fp/op-2.h: Likewise.
13066 * soft-fp/op-4.h: Likewise.
13067 * soft-fp/op-common.h: Likewise.
13068 * stdio-common/printf_fphex.c: Likewise.
13069 * stdlib/strtod_l.c: Likewise.
13070 * sunrpc/rpc/clnt.h: Likewise.
13071 * sysdeps/generic/framestate.c: Likewise.
13072 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13073 * sysdeps/i386/bsd-setjmp.S: Likewise.
13074 * sysdeps/i386/__longjmp.S: Likewise.
13075 * sysdeps/i386/setjmp.S: Likewise.
13076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13077 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13078 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13079 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13083 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13086 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13093 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13094 * sysdeps/ieee754/support.c: Likewise.
13095 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13096 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13097 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13098 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13099 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13100 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13101 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13102 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13103 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13104 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13105 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13106 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13107 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13108 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13109 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13110 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13111 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13114 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
13116 * posix/transbug.c: Remove executable mode.
13118 2013-06-05 Joseph Myers <joseph@codesourcery.com>
13120 * crypt/speeds.c: Remove trailing whitespace.
13121 * dlfcn/default.c: Likewise.
13122 * elf/ifuncdep2.c: Likewise.
13123 * elf/ifuncmain1.c: Likewise.
13124 * elf/ifuncmain1vis.c: Likewise.
13125 * elf/testobj.h: Likewise.
13126 * elf/tst-stackguard1.c: Likewise.
13127 * gmon/sys/gmon.h: Likewise.
13128 * hurd/hurdmsg.c: Likewise.
13129 * hurd/new-fd.c: Likewise.
13130 * hurd/ports-get.c: Likewise.
13131 * iconvdata/ibm1008_420.c: Likewise.
13132 * inet/tst-getni1.c: Likewise.
13133 * inet/tst-getni2.c: Likewise.
13134 * libio/ioungetc.c: Likewise.
13135 * libio/wfiledoalloc.c: Likewise.
13136 * manual/libm-err-tab.pl: Likewise.
13137 * math/w_dremf.c: Likewise.
13138 * misc/ftruncate.c: Likewise.
13139 * posix/bug-glob2.c: Likewise.
13140 * posix/tst-pcre.c: Likewise.
13141 * posix/wait4.c: Likewise.
13142 * resolv/README: Likewise.
13143 * resolv/res_debug.h: Likewise.
13144 * resolv/tst-inet_ntop.c: Likewise.
13145 * setjmp/bug269-setjmp.c: Likewise.
13146 * soft-fp/extended.h: Likewise.
13147 * soft-fp/op-1.h: Likewise.
13148 * soft-fp/op-2.h: Likewise.
13149 * soft-fp/op-4.h: Likewise.
13150 * soft-fp/op-8.h: Likewise.
13151 * soft-fp/testit.c: Likewise.
13152 * stdio-common/bug16.c: Likewise.
13153 * stdlib/random.c: Likewise.
13154 * sunrpc/rpcsvc/rquota.x: Likewise.
13155 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13156 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13157 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13158 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13159 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13160 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13161 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13162 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13163 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13164 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13165 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13182 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13183 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13184 * sysdeps/ieee754/s_lib_version.c: Likewise.
13185 * sysdeps/mach/hurd/check_fds.c: Likewise.
13186 * sysdeps/mach/hurd/getsockname.c: Likewise.
13187 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13188 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13189 * sysdeps/powerpc/bits/link.h: Likewise.
13190 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13191 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13192 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13193 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13194 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13195 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13196 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13197 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13198 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13199 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13200 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13201 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13202 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13203 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13204 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13205 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13206 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13207 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13208 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13209 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13210 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13211 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13212 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13213 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13214 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13215 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13216 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13217 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13218 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13219 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13220 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13221 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13222 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13223 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13224 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13225 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13226 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13227 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13228 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13229 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13230 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13231 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13232 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13233 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13234 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13235 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13236 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13237 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13238 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13239 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13240 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13241 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13242 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13243 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13244 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13245 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13246 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13247 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13248 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13249 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13250 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13251 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13252 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13253 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13254 * sysdeps/powerpc/sysdep.h: Likewise.
13255 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13256 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13257 * sysdeps/sh/dl-trampoline.S: Likewise.
13258 * sysdeps/sh/memset.S: Likewise.
13259 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13260 * sysdeps/sh/strlen.S: Likewise.
13261 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13262 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13263 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13264 * sysdeps/sparc/sparc32/rem.S: Likewise.
13265 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13266 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13267 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13268 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13269 * sysdeps/sparc/sparc32/urem.S: Likewise.
13270 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13271 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13272 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13273 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13274 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13275 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13276 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13277 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13278 * sysdeps/unix/bsd/times.c: Likewise.
13279 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13280 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13284 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13285 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13286 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13287 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13288 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13289 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13290 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13291 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13292 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13293 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13294 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13295 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13296 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13297 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13298 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13299 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13300 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13301 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13302 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13303 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13304 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13305 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13306 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13307 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13308 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13309 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13310 * sysdeps/x86_64/strcspn.S: Likewise.
13312 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13314 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13315 generated file. Regenerate properly from gen-translit.pl.
13316 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13317 locale/C-translit.h.
13319 2013-06-05 Andreas Schwab <schwab@suse.de>
13322 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13323 week as 6 instead of -1.
13324 * time/tst-strptime.c (day_tests): Add test case.
13326 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13328 * sysdeps/generic/math_private.h
13329 (libc_feholdexcept_setround_53bit): Replace with
13330 libc_feholdsetround_53bit.
13331 (libc_feupdateenv_53bit): Replace with
13332 libc_feresetround_53bit.
13333 (SET_RESTORE_ROUND_53BIT): Adjust.
13335 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13337 * string/test-strchrnul.c: Add copyright header.
13339 * posix/tst-getaddrinfo4.c: Increase test timeout.
13341 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13344 * math/libm-test.inc (MAX_EXP): Remove
13346 (ulp): Use MIN_EXP - MANT_DIG.
13347 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13349 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13351 * po/be.po: Revert last change.
13352 * po/zh_CN.po: Likewise.
13353 * po/header.pot: Likewise.
13355 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13357 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13358 link-libc-deps to empty as target-specific variable.
13359 * Makerules (link-libc-args): New variable.
13360 (libc-for-link): Likewise.
13361 (link-libc-deps): Likewise.
13362 (lib%.so): Depend on $(link-libc-deps). Link with
13364 (build-module): Link with $(link-libc-args).
13365 (build-module-asneeded): Likewise.
13366 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13368 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13369 target-specific variable.
13370 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13371 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13372 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13374 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13376 ($(objpfx)libpcprofile.so): Likewise.
13377 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13379 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13380 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13381 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13383 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13384 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13385 * login/Makefile ($(objpfx)libutil.so): Likewise.
13386 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13387 * math/Makefile ($(objpfx)libm.so): Likewise.
13388 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13389 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13390 variable instead of depending directly on libc.
13391 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13392 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13394 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13396 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13397 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13398 ($(objpfx)libanl.so): Likewise.
13399 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13401 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13403 * sysdeps/i386/fpu/Makefile: Remove file.
13404 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13405 ($(objpfx)libm.so): Remove dependency on ld.so.
13407 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13410 * nis/yp_xdr.c (XDRMAXNAME): Define.
13411 (XDRMAXRECORD): Define.
13412 (xdr_domainname): Use XDRMAXNAME.
13413 (xdr_mapname): Likewise.
13414 (xdr_peername): Likewise.
13415 (xdr_keydat): Use XDRMAXRECORD.
13416 (xdr_valdat): Likewise.
13418 2013-05-30 Jeff Law <law@redhat.com>
13421 * manual/errno.texi (ESTALE): Update to account for more than
13422 just NFS file systems.
13423 * sysdeps/gnu/errlist.c: Regenerated.
13425 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13428 * elf/Makefile (tests): Add tst-null-argv.
13429 (modules-names): Add tst-null-argv-lib.
13430 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13431 (tst-null-argv-ENV): Set environment for tst-null-argv.
13432 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13433 (RTLD_PROGNAME): New macro.
13434 * elf/tst-null-argv.c: New test case.
13435 * elf/tst-null-argv-lib.c: Library for test case.
13436 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13437 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13438 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13439 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13440 * elf/dl-init.c (call_init): Likewise.
13441 (_dl_init): Likewise.
13442 * elf/dl-load.c (print_search_path): Likewise.
13443 (_dl_map_object): Likewise.
13444 * elf/dl-lookup.c (do_lookup_x): Likewise.
13445 (add_dependency): Likewise.
13446 (_dl_lookup_symbol_x): Likewise.
13447 (_dl_debug_bindings): Likewise.
13448 * elf/dl-open.c (_dl_show_scope): Likewise.
13449 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13450 * elf/dl-version.c (match_symbol): Likewise.
13451 (_dl_check_map_versions): Likewise.
13452 * elf/rtld.c (dl_main): Likewise.
13453 (print_unresolved): Use RTLD_PROGNAME.
13454 (print_missing_version): Likewise.
13455 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13456 (elf_machine_rela): Likewise.
13457 * sysdeps/powerpc/powerpc32/dl-machine.c
13458 (__process_machine_rela): Likewise.
13459 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13461 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13463 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13465 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13466 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13468 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13470 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13472 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13474 * po/be.po: Add descriptive title.
13475 * po/zh_CN.po: Likewise.
13476 * po/header.pot: Likewise.
13478 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13480 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13482 (enlarge_archive): Likewise.
13484 2013-05-28 Ben North <ben@redfrontdoor.org>
13486 * manual/arith.texi (frexp): It is the magnitude of the return
13487 value which lies in [0.5, 1), not the return value itself.
13489 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13493 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13495 * stdio-common/bug26.c (main): Correct fscanf template.
13497 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13498 declare _dl_skip_args.
13500 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13503 * manual/platform.texi: Add missing @end deftypefun.
13505 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13508 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13509 bit of mantissa of 2^16382.
13510 * math/libm-test.inc (hypot_test_data): Add more tests.
13512 * math/libm-test.inc: Add drem and pow10 to list of tested
13514 (pow10_test): New function.
13515 (drem_test): Likewise.
13516 (drem_test_tonearest): Likewise.
13517 (drem_test_towardzero): Likewise.
13518 (drem_test_downward): Likewise.
13519 (drem_test_upward): Likewise.
13520 (main): Call the new functions.
13522 * math/libm-test.inc (finite_test_data): Remove.
13523 (finite_test): Run tests from isfinite_test_data.
13524 (gamma_test_data): Remove.
13525 (gamma_test): Run tests from lgamma_test_data.
13526 * sysdeps/i386/fpu/libm-test-ulps: Update.
13527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13529 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13531 * manual/platform.texi: Add PowerPC PPR function set documentation.
13532 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13535 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13537 * math/libm-test.inc (MAX_EXP): Define.
13539 (ulp): New function.
13540 (check_float_internal): Use ULPDIFF.
13541 (cpow_test): Disable failing test.
13542 (check_ulp): Test ulp() implemetnation.
13543 (main): Call check_ulp before starting tests.
13545 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13547 * math/gen-libm-test.pl (generate_testfile): Do not handle
13548 START_DATA and END_DATA.
13549 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13551 (acos_tonearest_test_data): Likewise.
13552 (acos_towardzero_test_data): Likewise.
13553 (acos_downward_test_data): Likewise.
13554 (acos_upward_test_data): Likewise.
13555 (acosh_test_data): Likewise.
13556 (asin_test_data): Likewise.
13557 (asin_tonearest_test_data): Likewise.
13558 (asin_towardzero_test_data): Likewise.
13559 (asin_downward_test_data): Likewise.
13560 (asin_upward_test_data): Likewise.
13561 (asinh_test_data): Likewise.
13562 (atan_test_data): Likewise.
13563 (atanh_test_data): Likewise.
13564 (atan2_test_data): Likewise.
13565 (cabs_test_data): Likewise.
13566 (cacos_test_data): Likewise.
13567 (cacosh_test_data): Likewise.
13568 (carg_test_data): Likewise.
13569 (casin_test_data): Likewise.
13570 (casinh_test_data): Likewise.
13571 (catan_test_data): Likewise.
13572 (catanh_test_data): Likewise.
13573 (cbrt_test_data): Likewise.
13574 (ccos_test_data): Likewise.
13575 (ccosh_test_data): Likewise.
13576 (ceil_test_data): Likewise.
13577 (cexp_test_data): Likewise.
13578 (cimag_test_data): Likewise.
13579 (clog_test_data): Likewise.
13580 (clog10_test_data): Likewise.
13581 (conj_test_data): Likewise.
13582 (copysign_test_data): Likewise.
13583 (cos_test_data): Likewise.
13584 (cos_tonearest_test_data): Likewise.
13585 (cos_towardzero_test_data): Likewise.
13586 (cos_downward_test_data): Likewise.
13587 (cos_upward_test_data): Likewise.
13588 (cosh_test_data): Likewise.
13589 (cosh_tonearest_test_data): Likewise.
13590 (cosh_towardzero_test_data): Likewise.
13591 (cosh_downward_test_data): Likewise.
13592 (cosh_upward_test_data): Likewise.
13593 (cpow_test_data): Likewise.
13594 (cproj_test_data): Likewise.
13595 (creal_test_data): Likewise.
13596 (csin_test_data): Likewise.
13597 (csinh_test_data): Likewise.
13598 (csqrt_test_data): Likewise.
13599 (ctan_test_data): Likewise.
13600 (ctan_tonearest_test_data): Likewise.
13601 (ctan_towardzero_test_data): Likewise.
13602 (ctan_downward_test_data): Likewise.
13603 (ctan_upward_test_data): Likewise.
13604 (ctanh_test_data): Likewise.
13605 (ctanh_tonearest_test_data): Likewise.
13606 (ctanh_towardzero_test_data): Likewise.
13607 (ctanh_downward_test_data): Likewise.
13608 (ctanh_upward_test_data): Likewise.
13609 (erf_test_data): Likewise.
13610 (erfc_test_data): Likewise.
13611 (exp_test_data): Likewise.
13612 (exp_tonearest_test_data): Likewise.
13613 (exp_towardzero_test_data): Likewise.
13614 (exp_downward_test_data): Likewise.
13615 (exp_upward_test_data): Likewise.
13616 (exp10_test_data): Likewise.
13617 (exp2_test_data): Likewise.
13618 (expm1_test_data): Likewise.
13619 (fabs_test_data): Likewise.
13620 (fdim_test_data): Likewise.
13621 (finite_test_data): Likewise.
13622 (floor_test_data): Likewise.
13623 (fma_test_data): Likewise.
13624 (fma_towardzero_test_data): Likewise.
13625 (fma_downward_test_data): Likewise.
13626 (fma_upward_test_data): Likewise.
13627 (fmax_test_data): Likewise.
13628 (fmin_test_data): Likewise.
13629 (fmod_test_data): Likewise.
13630 (fpclassify_test_data): Likewise.
13631 (frexp_test_data): Likewise.
13632 (gamma_test_data): Likewise.
13633 (hypot_test_data): Likewise.
13634 (ilogb_test_data): Likewise.
13635 (isfinite_test_data): Likewise.
13636 (isgreater_test_data): Likewise.
13637 (isgreaterequal_test_data): Likewise.
13638 (isinf_test_data): Likewise.
13639 (isless_test_data): Likewise.
13640 (islessequal_test_data): Likewise.
13641 (islessgreater_test_data): Likewise.
13642 (isnan_test_data): Likewise.
13643 (isnormal_test_data): Likewise.
13644 (issignaling_test_data): Likewise.
13645 (isunordered_test_data): Likewise.
13646 (j0_test_data): Likewise.
13647 (j1_test_data): Likewise.
13648 (jn_test_data): Likewise.
13649 (ldexp_test_data): Likewise.
13650 (lgamma_test_data): Likewise.
13651 (lrint_test_data): Likewise.
13652 (lrint_tonearest_test_data): Likewise.
13653 (lrint_towardzero_test_data): Likewise.
13654 (lrint_downward_test_data): Likewise.
13655 (lrint_upward_test_data): Likewise.
13656 (llrint_test_data): Likewise.
13657 (llrint_tonearest_test_data): Likewise.
13658 (llrint_towardzero_test_data): Likewise.
13659 (llrint_downward_test_data): Likewise.
13660 (llrint_upward_test_data): Likewise.
13661 (log_test_data): Likewise.
13662 (log10_test_data): Likewise.
13663 (log1p_test_data): Likewise.
13664 (log2_test_data): Likewise.
13665 (logb_test_data): Likewise.
13666 (logb_downward_test_data): Likewise.
13667 (lround_test_data): Likewise.
13668 (llround_test_data): Likewise.
13669 (modf_test_data): Likewise.
13670 (nearbyint_test_data): Likewise.
13671 (nextafter_test_data): Likewise.
13672 (nexttoward_test_data): Likewise.
13673 (pow_test_data): Likewise.
13674 (pow_tonearest_test_data): Likewise.
13675 (pow_towardzero_test_data): Likewise.
13676 (pow_downward_test_data): Likewise.
13677 (pow_upward_test_data): Likewise.
13678 (remainder_test_data): Likewise.
13679 (remainder_tonearest_test_data): Likewise.
13680 (remainder_towardzero_test_data): Likewise.
13681 (remainder_downward_test_data): Likewise.
13682 (remainder_upward_test_data): Likewise.
13683 (remquo_test_data): Likewise.
13684 (rint_test_data): Likewise.
13685 (rint_tonearest_test_data): Likewise.
13686 (rint_towardzero_test_data): Likewise.
13687 (rint_downward_test_data): Likewise.
13688 (rint_upward_test_data): Likewise.
13689 (round_test_data): Likewise.
13690 (scalb_test_data): Likewise.
13691 (scalbn_test_data): Likewise.
13692 (scalbln_test_data): Likewise.
13693 (signbit_test_data): Likewise.
13694 (sin_test_data): Likewise.
13695 (sin_tonearest_test_data): Likewise.
13696 (sin_towardzero_test_data): Likewise.
13697 (sin_downward_test_data): Likewise.
13698 (sin_upward_test_data): Likewise.
13699 (sincos_test_data): Likewise.
13700 (sinh_test_data): Likewise.
13701 (sinh_tonearest_test_data): Likewise.
13702 (sinh_towardzero_test_data): Likewise.
13703 (sinh_downward_test_data): Likewise.
13704 (sinh_upward_test_data): Likewise.
13705 (sqrt_test_data): Likewise.
13706 (tan_test_data): Likewise.
13707 (tan_tonearest_test_data): Likewise.
13708 (tan_towardzero_test_data): Likewise.
13709 (tan_downward_test_data): Likewise.
13710 (tan_upward_test_data): Likewise.
13711 (tanh_test_data): Likewise.
13712 (tgamma_test_data): Likewise.
13713 (trunc_test_data): Likewise.
13714 (y0_test_data): Likewise.
13715 (y1_test_data): Likewise.
13716 (yn_test_data): Likewise.
13717 (significand_test_data): Likewise.
13719 * math/gen-libm-test.pl (@functions): Remove variable.
13720 (generate_testfile): Don't handle START and END lines.
13721 * math/libm-test.inc (START): New macro.
13723 (END_COMPLEX): Likewise.
13724 (acos_test): Use END macro without arguments.
13725 (acos_test_tonearest): Likewise.
13726 (acos_test_towardzero): Likewise.
13727 (acos_test_downward): Likewise.
13728 (acos_test_upward): Likewise.
13729 (acosh_test): Likewise.
13730 (asin_test): Likewise.
13731 (asin_test_tonearest): Likewise.
13732 (asin_test_towardzero): Likewise.
13733 (asin_test_downward): Likewise.
13734 (asin_test_upward): Likewise.
13735 (asinh_test): Likewise.
13736 (atan_test): Likewise.
13737 (atanh_test): Likewise.
13738 (atan2_test): Likewise.
13739 (cabs_test): Likewise.
13740 (cacos_test): Use END_COMPLEX macro without arguments.
13741 (cacosh_test): Likewise.
13742 (carg_test): Use END macro without arguments.
13743 (casin_test): Use END_COMPLEX macro without arguments.
13744 (casinh_test): Likewise.
13745 (catan_test): Likewise.
13746 (catanh_test): Likewise.
13747 (cbrt_test): Use END macro without arguments.
13748 (ccos_test): Use END_COMPLEX macro without arguments.
13749 (ccosh_test): Likewise.
13750 (ceil_test): Use END macro without arguments.
13751 (cexp_test): Use END_COMPLEX macro without arguments.
13752 (cimag_test): Use END macro without arguments.
13753 (clog_test): Use END_COMPLEX macro without arguments.
13754 (clog10_test): Likewise.
13755 (conj_test): Likewise.
13756 (copysign_test): Use END macro without arguments.
13757 (cos_test): Likewise.
13758 (cos_test_tonearest): Likewise.
13759 (cos_test_towardzero): Likewise.
13760 (cos_test_downward): Likewise.
13761 (cos_test_upward): Likewise.
13762 (cosh_test): Likewise.
13763 (cosh_test_tonearest): Likewise.
13764 (cosh_test_towardzero): Likewise.
13765 (cosh_test_downward): Likewise.
13766 (cosh_test_upward): Likewise.
13767 (cpow_test): Use END_COMPLEX macro without arguments.
13768 (cproj_test): Likewise.
13769 (creal_test): Use END macro without arguments.
13770 (csin_test): Use END_COMPLEX macro without arguments.
13771 (csinh_test): Likewise.
13772 (csqrt_test): Likewise.
13773 (ctan_test): Likewise.
13774 (ctan_test_tonearest): Likewise.
13775 (ctan_test_towardzero): Likewise.
13776 (ctan_test_downward): Likewise.
13777 (ctan_test_upward): Likewise.
13778 (ctanh_test): Likewise.
13779 (ctanh_test_tonearest): Likewise.
13780 (ctanh_test_towardzero): Likewise.
13781 (ctanh_test_downward): Likewise.
13782 (ctanh_test_upward): Likewise.
13783 (erf_test): Use END macro without arguments.
13784 (erfc_test): Likewise.
13785 (exp_test): Likewise.
13786 (exp_test_tonearest): Likewise.
13787 (exp_test_towardzero): Likewise.
13788 (exp_test_downward): Likewise.
13789 (exp_test_upward): Likewise.
13790 (exp10_test): Likewise.
13791 (exp2_test): Likewise.
13792 (expm1_test): Likewise.
13793 (fabs_test): Likewise.
13794 (fdim_test): Likewise.
13795 (finite_test): Likewise.
13796 (floor_test): Likewise.
13797 (fma_test): Likewise.
13798 (fma_test_towardzero): Likewise.
13799 (fma_test_downward): Likewise.
13800 (fma_test_upward): Likewise.
13801 (fmax_test): Likewise.
13802 (fmin_test): Likewise.
13803 (fmod_test): Likewise.
13804 (fpclassify_test): Likewise.
13805 (frexp_test): Likewise.
13806 (gamma_test): Likewise.
13807 (hypot_test): Likewise.
13808 (ilogb_test): Likewise.
13809 (isfinite_test): Likewise.
13810 (isgreater_test): Likewise.
13811 (isgreaterequal_test): Likewise.
13812 (isinf_test): Likewise.
13813 (isless_test): Likewise.
13814 (islessequal_test): Likewise.
13815 (islessgreater_test): Likewise.
13816 (isnan_test): Likewise.
13817 (isnormal_test): Likewise.
13818 (issignaling_test): Likewise.
13819 (isunordered_test): Likewise.
13820 (j0_test): Likewise.
13821 (j1_test): Likewise.
13822 (jn_test): Likewise.
13823 (ldexp_test): Likewise.
13824 (lgamma_test): Likewise.
13825 (lrint_test): Likewise.
13826 (lrint_test_tonearest): Likewise.
13827 (lrint_test_towardzero): Likewise.
13828 (lrint_test_downward): Likewise.
13829 (lrint_test_upward): Likewise.
13830 (llrint_test): Likewise.
13831 (llrint_test_tonearest): Likewise.
13832 (llrint_test_towardzero): Likewise.
13833 (llrint_test_downward): Likewise.
13834 (llrint_test_upward): Likewise.
13835 (log_test): Likewise.
13836 (log10_test): Likewise.
13837 (log1p_test): Likewise.
13838 (log2_test): Likewise.
13839 (logb_test): Likewise.
13840 (logb_test_downward): Likewise.
13841 (lround_test): Likewise.
13842 (llround_test): Likewise.
13843 (modf_test): Likewise.
13844 (nearbyint_test): Likewise.
13845 (nextafter_test): Likewise.
13846 (nexttoward_test): Likewise.
13847 (pow_test): Likewise.
13848 (pow_test_tonearest): Likewise.
13849 (pow_test_towardzero): Likewise.
13850 (pow_test_downward): Likewise.
13851 (pow_test_upward): Likewise.
13852 (remainder_test): Likewise.
13853 (remainder_test_tonearest): Likewise.
13854 (remainder_test_towardzero): Likewise.
13855 (remainder_test_downward): Likewise.
13856 (remainder_test_upward): Likewise.
13857 (remquo_test): Likewise.
13858 (rint_test): Likewise.
13859 (rint_test_tonearest): Likewise.
13860 (rint_test_towardzero): Likewise.
13861 (rint_test_downward): Likewise.
13862 (rint_test_upward): Likewise.
13863 (round_test): Likewise.
13864 (scalb_test): Likewise.
13865 (scalbn_test): Likewise.
13866 (scalbln_test): Likewise.
13867 (signbit_test): Likewise.
13868 (sin_test): Likewise.
13869 (sin_test_tonearest): Likewise.
13870 (sin_test_towardzero): Likewise.
13871 (sin_test_downward): Likewise.
13872 (sin_test_upward): Likewise.
13873 (sincos_test): Likewise.
13874 (sinh_test): Likewise.
13875 (sinh_test_tonearest): Likewise.
13876 (sinh_test_towardzero): Likewise.
13877 (sinh_test_downward): Likewise.
13878 (sinh_test_upward): Likewise.
13879 (sqrt_test): Likewise.
13880 (tan_test): Likewise.
13881 (tan_test_tonearest): Likewise.
13882 (tan_test_towardzero): Likewise.
13883 (tan_test_downward): Likewise.
13884 (tan_test_upward): Likewise.
13885 (tanh_test): Likewise.
13886 (tgamma_test): Likewise.
13887 (trunc_test): Likewise.
13888 (y0_test): Likewise.
13889 (y1_test): Likewise.
13890 (yn_test): Likewise.
13891 (significand_test): Likewise.
13893 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13896 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13898 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13901 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13902 __ppc_mdoio and __ppc_mdoom.
13903 * manual/platform.texi: Document new functions __ppc_yield,
13904 __ppc_mdoio and __ppc_mdoom.
13906 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13908 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13909 (main): Mention "tls" pseudo-hwcap is legacy.
13910 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13912 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13914 * math/gen-libm-test.pl (parse_args): Output only string of
13915 arguments as text for test name, not full call or descriptions of
13916 tests for extra outputs.
13917 (generate_testfile): Do not pass function name to parse_args.
13918 Generate this_func variable from START.
13919 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13921 (struct test_ff_f_data): Likewise.
13922 (test_ff_f_data_nexttoward): Likewise.
13923 (struct test_fi_f_data): Likewise.
13924 (struct test_fl_f_data): Likewise.
13925 (struct test_if_f_data): Likewise.
13926 (struct test_fff_f_data): Likewise.
13927 (struct test_c_f_data): Likewise.
13928 (struct test_f_f1_data): Likewise. Remove field extra_name.
13929 (struct test_fF_f1_data): Likewise.
13930 (struct test_ffI_f1_data): Likewise.
13931 (struct test_c_c_data): Rename test_name field to arg_str.
13932 (struct test_cc_c_data): Likewise.
13933 (struct test_f_i_data): Likewise.
13934 (struct test_ff_i_data): Likewise.
13935 (struct test_f_l_data): Likewise.
13936 (struct test_f_L_data): Likewise.
13937 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13939 (COMMON_TEST_SETUP): New macro.
13940 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13941 (COMMON_TEST_CLEANUP): Likewise.
13942 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13943 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13945 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13946 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13948 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13949 (RUN_TEST_fff_f): Take argument string. Call new setup and
13951 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13952 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13954 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13955 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13957 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13958 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13960 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13961 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13963 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13964 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13966 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13967 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13969 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13970 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13972 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13973 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13975 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13976 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13978 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13979 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13981 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13982 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13984 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13985 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13987 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13988 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13990 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13991 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13993 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13994 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13996 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13998 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14000 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14001 to _sifields.sigfault.
14002 (si_addr_lsb): Define new macro.
14003 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14004 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14005 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14007 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14010 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14012 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14014 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14015 loading the domain.
14017 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14019 * math/gen-libm-test.pl (parse_args): Do not include expected
14020 result in test name.
14021 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14022 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14023 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14024 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14025 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14028 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14030 * benchtests/Makefile: Sort function entries.
14032 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14033 tanh, asinh, acosh, atanh.
14034 * benchtests/acos-inputs: New file.
14035 * benchtests/acosh-inputs: New file.
14036 * benchtests/asin-inputs: New file.
14037 * benchtests/asinh-inputs: New file.
14038 * benchtests/atanh-inputs: New file.
14039 * benchtests/cosh-inputs: New file.
14040 * benchtests/log-inputs: New file.
14041 * benchtests/sinh-inputs: New file.
14042 * benchtests/tanh-inputs: New file.
14044 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14047 * posix/tst-getaddrinfo4.c: New test.
14048 * posix/Makefile (tests): Add it.
14050 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14053 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14054 when no services were used.
14055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14056 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14058 2013-05-21 Andreas Schwab <schwab@suse.de>
14061 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14062 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14064 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14065 redundant variable declarations and reallocation of buffer when
14066 parsing as IPv6 address. Always set NSS status when called from
14067 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14068 buffer too small. Correct computation of needed size.
14069 * nss/Makefile (tests): Add test-digits-dots.
14070 * nss/test-digits-dots.c: New test.
14072 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14074 * benchtests/Makefile: Remove instructions for adding
14076 * benchtests/README: New file to explain how to execute and
14077 enhance the benchmark tests.
14079 2013-05-21 Andreas Schwab <schwab@suse.de>
14082 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14083 * setjmp/tst-sigsetjmp.c: New test.
14085 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14087 * sysdeps/x86_64/memset.S (memset): New implementation.
14088 (__bzero): Likewise.
14089 (__memset_tail): New function.
14091 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14093 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14094 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14095 __memcpy_sse2_unaligned ifunc selection.
14096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14097 Add memcpy-sse2-unaligned.S.
14098 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14099 Add: __memcpy_sse2_unaligned.
14101 2013-05-19 Joseph Myers <joseph@codesourcery.com>
14104 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14105 math_force_eval before restoring floating-point envrionment.
14106 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14107 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14109 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14111 (__nearbyintl): Use math_force_eval before restoring
14112 floating-point environment.
14113 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14115 * math/gen-libm-test.pl (special_functions): Remove.
14116 (parse_args): Don't handle TEST_extra. Handle functions with no
14118 * math/libm-test.inc (struct test_sincos_data): Replace with
14119 struct test_fFF_11_data.
14120 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14121 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14122 (sincos_test_data): Change element type to struct
14123 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14124 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14125 RUN_TEST_LOOP_sincos.
14126 * math/README.libm-test: Don't mention special handling of
14127 individual functions.
14128 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14131 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14132 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14135 * math/gen-libm-test.pl (get_variable): Remove function.
14136 (parse_args): Don't show pointer parameters to call in test
14137 names. Use "extra output N" in test names for extra outputs
14138 rather than naming variables.
14140 2013-05-18 Joseph Myers <joseph@codesourcery.com>
14143 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14144 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14145 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14147 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14149 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14152 * math/gen-libm-test.pl (@tests): Remove variable.
14153 ($count): Likewise.
14154 (new_test): Remove function.
14155 (show_exceptions): New function.
14156 (special_functions): Use show_exceptions instead of new_test.
14157 (parse_args): Likewise.
14158 (generate_testfile): Pass only function name in generated call to
14159 print_max_error or print_complex_max_error.
14160 (get_ulps): Do not handle complex tests specially.
14161 (output_test): Rename to ...
14162 (get_all_ulps_for_test): ... this. Return a string rather than
14163 printing to a file. Require ulps to be present.
14164 (output_ulps): Generate arrays rather than #defines.
14165 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14166 (struct ulp_data): New type.
14167 (BUILD_COMPLEX_ULP): Remove macro.
14168 (compare_ulp_data): New function.
14169 (find_ulps): Likewise.
14170 (find_test_ulps): Likewise.
14171 (find_function_ulps): Likewise.
14172 (find_complex_function_ulps): Likewise.
14173 (print_max_error): Determine allowed ulps using
14174 find_function_ulps.
14175 (print_complex_max_error): Determine allowed ulps using
14176 find_complex_function_ulps.
14177 (check_float_internal): Determine max ulps using find_test_ulps.
14178 (check_float): Do not take max_ulp parameter. Update call to
14179 check_float_internal.
14180 (check_complex): Likewise.
14181 (check_int): Do not take max_ulp parameter.
14182 (check_long): Likewise.
14183 (check_bool): Likewise.
14184 (check_longlong): Likewise.
14185 (struct test_f_f_data): Remove max_ulp field.
14186 (struct test_ff_f_data): Likewise.
14187 (struct test_ff_f_data_nexttoward): Likewise.
14188 (struct test_fi_f_data): Likewise.
14189 (struct test_fl_f_data): Likewise.
14190 (struct test_if_f_data): Likewise.
14191 (struct test_fff_f_data): Likewise.
14192 (struct test_c_f_data): Likewise.
14193 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14194 (struct test_fF_f1_data): Likewise.
14195 (struct test_ffI_f1_data): Likewise.
14196 (struct test_c_c_data): Remove max_ulp field.
14197 (struct test_cc_c_data): Likewise.
14198 (struct test_f_i_data): Likewise.
14199 (struct test_ff_i_data): Likewise.
14200 (struct test_f_l_data): Likewise.
14201 (struct test_f_L_data): Likewise.
14202 (struct test_sincos_data): Likewise.
14203 (RUN_TEST_f_f): Do not handle ulps.
14204 (RUN_TEST_LOOP_f_f): Likewise.
14205 (RUN_TEST_2_f): Likewise.
14206 (RUN_TEST_LOOP_2_f): Likewise.
14207 (RUN_TEST_fff_f): Likewise.
14208 (RUN_TEST_LOOP_fff_f): Likewise.
14209 (RUN_TEST_c_f): Likewise.
14210 (RUN_TEST_LOOP_c_f): Likewise.
14211 (RUN_TEST_f_f1): Likewise.
14212 (RUN_TEST_LOOP_f_f1): Likewise.
14213 (RUN_TEST_fF_f1): Likewise.
14214 (RUN_TEST_LOOP_fF_f1): Likewise.
14215 (RUN_TEST_fI_f1): Likewise.
14216 (RUN_TEST_LOOP_fI_f1): Likewise.
14217 (RUN_TEST_ffI_f1): Likewise.
14218 (RUN_TEST_LOOP_ffI_f1): Likewise.
14219 (RUN_TEST_c_c): Likewise.
14220 (RUN_TEST_LOOP_c_c): Likewise.
14221 (RUN_TEST_cc_c): Likewise.
14222 (RUN_TEST_LOOP_cc_c): Likewise.
14223 (RUN_TEST_f_i): Likewise.
14224 (RUN_TEST_LOOP_f_i): Likewise.
14225 (RUN_TEST_f_i_tg): Likewise.
14226 (RUN_TEST_LOOP_f_i_tg): Likewise.
14227 (RUN_TEST_ff_i_tg): Likewise.
14228 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14229 (RUN_TEST_f_b): Likewise.
14230 (RUN_TEST_LOOP_f_b): Likewise.
14231 (RUN_TEST_f_b_tg): Likewise.
14232 (RUN_TEST_LOOP_f_b_tg): Likewise.
14233 (RUN_TEST_f_l): Likewise.
14234 (RUN_TEST_LOOP_f_l): Likewise.
14235 (RUN_TEST_f_L): Likewise.
14236 (RUN_TEST_LOOP_f_L): Likewise.
14237 (RUN_TEST_sincos): Likewise.
14238 (RUN_TEST_LOOP_sincos): Likewise.
14240 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14244 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14245 main case of finite arguments, set rounding mode to FE_TONEAREST
14246 and discard exceptions.
14247 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14249 (remainder_tonearest_test_data): New variable.
14250 (remainder_test_tonearest): New function.
14251 (remainder_towardzero_test_data): New variable.
14252 (remainder_test_towardzero): New function.
14253 (remainder_downward_test_data): New variable.
14254 (remainder_test_downward): New function.
14255 (remainder_upward_test_data): New variable.
14256 (remainder_test_upward): New function.
14257 (main): Call the new test functions.
14259 * math/libm-test.inc (struct test_f_f1_data): Remove field
14261 (struct test_fF_f1_data): Likewise.
14262 (struct test_ffI_f1_data): Likewise.
14263 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14264 based on value of EXTRA_EXPECTED.
14265 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14266 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14267 EXTRA_VAR based on value of EXTRA_EXPECTED.
14268 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14269 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14270 EXTRA_VAR based on value of EXTRA_EXPECTED.
14271 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14272 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14273 EXTRA_VAR based on value of EXTRA_EXPECTED.
14274 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14275 * math/gen-libm-test.pl (parse_args): Don't output initializers
14276 for extra output values.
14278 * math/libm-test.inc (check_int): Expect result to be exactly
14279 equal to expected value and do not handle ulps.
14280 (check_long): Likewise.
14281 (check_longlong): Likewise.
14283 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14285 (cimag_test_data): Likewise.
14286 (conj_test_data): Likewise.
14287 (copysign_test_data): Likewise.
14288 (cproj_test_data): Likewise.
14289 (creal_test_data): Likewise.
14290 (fabs_test_data): Likewise.
14291 (fdim_test_data): Likewise.
14292 (finite_test_data): Likewise.
14293 (floor_test_data): Likewise.
14294 (fmax_test_data): Likewise.
14295 (fmin_test_data): Likewise.
14296 (fmod_test_data): Likewise.
14297 (fpclassify_test_data): Likewise.
14298 (frexp_test_data): Likewise.
14299 (ilogb_test_data): Likewise.
14300 (isfinite_test_data): Likewise.
14301 (isgreater_test_data): Likewise.
14302 (isgreaterequal_test_data): Likewise.
14303 (isinf_test_data): Likewise.
14304 (isless_test_data): Likewise.
14305 (islessequal_test_data): Likewise.
14306 (islessgreater_test_data): Likewise.
14307 (isnan_test_data): Likewise.
14308 (isnormal_test_data): Likewise.
14309 (issignaling_test_data): Likewise.
14310 (isunordered_test_data): Likewise.
14311 (ldexp_test_data): Likewise.
14312 (lrint_test_data): Likewise.
14313 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14314 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14315 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14316 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14317 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14318 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14320 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14321 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14322 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14323 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14325 (lrint_downward_test_data): Test for "inexact" exceptions.
14326 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14327 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14328 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14330 (lrint_upward_test_data): Test for "inexact" exceptions.
14331 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14333 (llrint_test_data): Test for "inexact" exceptions.
14334 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14335 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14336 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14337 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14338 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14339 (llrint_downward_test_data): Test for "inexact" exceptions.
14340 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14341 (llrint_upward_test_data): Test for "inexact" exceptions.
14342 (logb_test_data): Likewise.
14343 (logb_downward_test_data): Likewise.
14344 (nextafter_test_data): Likewise.
14345 (nexttoward_test_data): Likewise.
14346 (remainder_test_data): Likewise.
14347 (remquo_test_data): Likewise.
14348 (scalbn_test_data): Likewise.
14349 (scalbln_test_data): Likewise.
14350 (signbit_test_data): Likewise.
14351 (sqrt_test_data): Likewise.
14352 (significand_test_data): Likewise.
14354 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14357 * benchtests/bench-modf.c (struct args): Mark arg0 as
14359 * scripts/bench.pl: Mark members of struct args as volatile.
14361 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14364 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14365 negative infinity on POWER6 or lower.
14366 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14368 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14371 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14372 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14373 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14374 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14375 (_FP_SETQNAN): New macro.
14376 (_FP_SETQNAN_SEMIRAW): Likewise.
14377 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14378 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14379 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14380 (FP_EXTEND): Use _FP_FRAC_SNANP.
14381 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14382 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14384 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14386 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14389 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14391 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14392 with DIVIDE_BY_ZERO_EXCEPTION.
14393 (gamma_test_data): Likewise.
14394 (lgamma_test_data): Likewise.
14395 (log_test_data): Likewise.
14396 (log10_test_data): Likewise.
14397 (log2_test_data): Likewise.
14398 (tgamma_test_data): Likewise.
14400 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14401 (acos_test_tonearest): Likewise.
14402 (acos_test_towardzero): Likewise.
14403 (acos_test_downward): Likewise.
14404 (acos_test_upward): Likewise.
14405 (acosh_test): Likewise.
14406 (asin_test): Likewise.
14407 (asin_test_tonearest): Likewise.
14408 (asin_test_towardzero): Likewise.
14409 (asin_test_downward): Likewise.
14410 (asin_test_upward): Likewise.
14411 (asinh_test): Likewise.
14412 (atan_test): Likewise.
14413 (atanh_test): Likewise.
14414 (atan2_test): Likewise.
14415 (cabs_test): Likewise.
14416 (cacos_test): Likewise.
14417 (cacosh_test): Likewise.
14418 (casin_test): Likewise.
14419 (casinh_test): Likewise.
14420 (catan_test): Likewise.
14421 (catanh_test): Likewise.
14422 (cbrt_test): Likewise.
14423 (ccos_test): Likewise.
14424 (ccosh_test): Likewise.
14425 (cexp_test): Likewise.
14426 (clog_test): Likewise.
14427 (clog10_test): Likewise.
14428 (cos_test): Likewise.
14429 (cos_test_tonearest): Likewise.
14430 (cos_test_towardzero): Likewise.
14431 (cos_test_downward): Likewise.
14432 (cos_test_upward): Likewise.
14433 (cosh_test): Likewise.
14434 (cosh_test_tonearest): Likewise.
14435 (cosh_test_towardzero): Likewise.
14436 (cosh_test_downward): Likewise.
14437 (cosh_test_upward): Likewise.
14438 (cpow_test): Likewise.
14439 (csin_test): Likewise.
14440 (csinh_test): Likewise.
14441 (csqrt_test): Likewise.
14442 (ctan_test): Likewise.
14443 (ctan_test_tonearest): Likewise.
14444 (ctan_test_towardzero): Likewise.
14445 (ctan_test_downward): Likewise.
14446 (ctan_test_upward): Likewise.
14447 (ctanh_test): Likewise.
14448 (ctanh_test_tonearest): Likewise.
14449 (ctanh_test_towardzero): Likewise.
14450 (ctanh_test_downward): Likewise.
14451 (ctanh_test_upward): Likewise.
14452 (erf_test): Likewise.
14453 (erfc_test): Likewise.
14454 (exp_test): Likewise.
14455 (exp_test_tonearest): Likewise.
14456 (exp_test_towardzero): Likewise.
14457 (exp_test_downward): Likewise.
14458 (exp_test_upward): Likewise.
14459 (exp10_test): Likewise.
14460 (exp2_test): Likewise.
14461 (expm1_test): Likewise.
14462 (fmod_test): Likewise.
14463 (gamma_test): Likewise.
14464 (hypot_test): Likewise.
14465 (j0_test): Likewise.
14466 (j1_test): Likewise.
14467 (jn_test): Likewise.
14468 (lgamma_test): Likewise.
14469 (log_test): Likewise.
14470 (log10_test): Likewise.
14471 (log1p_test): Likewise.
14472 (log2_test): Likewise.
14473 (logb_test_downward): Likewise.
14474 (pow_test): Likewise.
14475 (pow_test_tonearest): Likewise.
14476 (pow_test_towardzero): Likewise.
14477 (pow_test_downward): Likewise.
14478 (pow_test_upward): Likewise.
14479 (remainder_test): Likewise.
14480 (remquo_test): Likewise.
14481 (sin_test): Likewise.
14482 (sin_test_tonearest): Likewise.
14483 (sin_test_towardzero): Likewise.
14484 (sin_test_downward): Likewise.
14485 (sin_test_upward): Likewise.
14486 (sincos_test): Likewise.
14487 (sinh_test): Likewise.
14488 (sinh_test_tonearest): Likewise.
14489 (sinh_test_towardzero): Likewise.
14490 (sinh_test_downward): Likewise.
14491 (sinh_test_upward): Likewise.
14492 (sqrt_test): Likewise.
14493 (tan_test): Likewise.
14494 (tan_test_tonearest): Likewise.
14495 (tan_test_towardzero): Likewise.
14496 (tan_test_downward): Likewise.
14497 (tan_test_upward): Likewise.
14498 (tanh_test): Likewise.
14499 (tgamma_test): Likewise.
14500 (y0_test): Likewise.
14501 (y1_test): Likewise.
14502 (yn_test): Likewise.
14504 * math/gen-libm-test.pl (adjust_arg): Remove function.
14505 (special_function): Remove argument $in_func. Only handle
14506 generating output for tables of tests, not inside functions.
14507 (parse_args): Likewise.
14508 (generate_testfile): Remove variable $in_func. Update call to
14510 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14511 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14512 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14513 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14514 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14515 (MAX_VALUE_INIT): Rename macro to max_value.
14516 (MIN_VALUE_INIT): Rename macro to min_value.
14517 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14518 (plus_zero): Remove variable.
14519 (minus_zero): Likewise.
14520 (plus_infty): Likewise.
14521 (minus_infty): Likewise.
14522 (qnan_value): Likewise.
14523 (max_value): Likewise.
14524 (min_value): Likewise.
14525 (min_subnorm_value): Likewise.
14527 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14529 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14530 uint64_t or uint32_t usage.
14531 * crypt/sha256-block.c: Likewise.
14532 * crypt/sha256-crypt.c: Likewise.
14533 * crypt/sha256.c: Likewise.
14534 * crypt/sha512-block.c: Likewise.
14535 * crypt/sha512-crypt.c: Likewise.
14536 * crypt/sha512.c: Likewise.
14537 * debug/backtrace-tst.c: Likewise.
14538 * debug/pcprofiledump.c: Likewise.
14539 * elf/cache.c: Likewise.
14540 * elf/dl-cache.c: Likewise.
14541 * elf/dl-misc.c: Likewise.
14542 * elf/dl-profile.c: Likewise.
14543 * elf/dl-support.c: Likewise.
14544 * elf/ldconfig.c: Likewise.
14545 * elf/sprof.c: Likewise.
14546 * iconv/dummy-repertoire.c: Likewise.
14547 * iconv/iconv_charmap.c: Likewise.
14548 * iconv/skeleton.c: Likewise.
14549 * iconvdata/8bit-generic.c: Likewise.
14550 * iconvdata/cp737.h: Likewise.
14551 * iconvdata/cp775.h: Likewise.
14552 * iconvdata/ibm1008.h: Likewise.
14553 * iconvdata/ibm1025.h: Likewise.
14554 * iconvdata/ibm1046.h: Likewise.
14555 * iconvdata/ibm1097.h: Likewise.
14556 * iconvdata/ibm1112.h: Likewise.
14557 * iconvdata/ibm1122.h: Likewise.
14558 * iconvdata/ibm1123.h: Likewise.
14559 * iconvdata/ibm1124.h: Likewise.
14560 * iconvdata/ibm1129.h: Likewise.
14561 * iconvdata/ibm1130.h: Likewise.
14562 * iconvdata/ibm1132.h: Likewise.
14563 * iconvdata/ibm1133.h: Likewise.
14564 * iconvdata/ibm1137.h: Likewise.
14565 * iconvdata/ibm1140.h: Likewise.
14566 * iconvdata/ibm1141.h: Likewise.
14567 * iconvdata/ibm1142.h: Likewise.
14568 * iconvdata/ibm1143.h: Likewise.
14569 * iconvdata/ibm1144.h: Likewise.
14570 * iconvdata/ibm1145.h: Likewise.
14571 * iconvdata/ibm1146.h: Likewise.
14572 * iconvdata/ibm1147.h: Likewise.
14573 * iconvdata/ibm1148.h: Likewise.
14574 * iconvdata/ibm1149.h: Likewise.
14575 * iconvdata/ibm1153.h: Likewise.
14576 * iconvdata/ibm1154.h: Likewise.
14577 * iconvdata/ibm1155.h: Likewise.
14578 * iconvdata/ibm1156.h: Likewise.
14579 * iconvdata/ibm1157.h: Likewise.
14580 * iconvdata/ibm1158.h: Likewise.
14581 * iconvdata/ibm1160.h: Likewise.
14582 * iconvdata/ibm1161.h: Likewise.
14583 * iconvdata/ibm1162.h: Likewise.
14584 * iconvdata/ibm1163.h: Likewise.
14585 * iconvdata/ibm1164.h: Likewise.
14586 * iconvdata/ibm1166.h: Likewise.
14587 * iconvdata/ibm1167.h: Likewise.
14588 * iconvdata/ibm12712.h: Likewise.
14589 * iconvdata/ibm1390.h: Likewise.
14590 * iconvdata/ibm1399.h: Likewise.
14591 * iconvdata/ibm16804.h: Likewise.
14592 * iconvdata/ibm4517.h: Likewise.
14593 * iconvdata/ibm4899.h: Likewise.
14594 * iconvdata/ibm4909.h: Likewise.
14595 * iconvdata/ibm4971.h: Likewise.
14596 * iconvdata/ibm5347.h: Likewise.
14597 * iconvdata/ibm803.h: Likewise.
14598 * iconvdata/ibm856.h: Likewise.
14599 * iconvdata/ibm901.h: Likewise.
14600 * iconvdata/ibm902.h: Likewise.
14601 * iconvdata/ibm9030.h: Likewise.
14602 * iconvdata/ibm9066.h: Likewise.
14603 * iconvdata/ibm921.h: Likewise.
14604 * iconvdata/ibm922.h: Likewise.
14605 * iconvdata/ibm9448.h: Likewise.
14606 * iconvdata/isiri-3342.h: Likewise.
14607 * iconvdata/jis0201.h: Likewise.
14608 * include/link.h: Likewise.
14609 * include/netdb.h: Likewise.
14610 * inet/check_native.c: Likewise.
14611 * inet/check_pf.c: Likewise.
14612 * inet/getipv4sourcefilter.c: Likewise.
14613 * inet/getnameinfo.c: Likewise.
14614 * inet/getsourcefilter.c: Likewise.
14615 * inet/htonl.c: Likewise.
14616 * inet/setipv4sourcefilter.c: Likewise.
14617 * inet/setsourcefilter.c: Likewise.
14618 * inet/test-inet6_opt.c: Likewise.
14619 * inet/tst-network.c: Likewise.
14620 * locale/C-collate.c: Likewise.
14621 * locale/C-ctype.c: Likewise.
14622 * locale/C-time.c: Likewise.
14623 * locale/C-translit.h: Likewise.
14624 * locale/loadarchive.c: Likewise.
14625 * locale/programs/3level.h: Likewise.
14626 * locale/programs/charmap.c: Likewise.
14627 * locale/programs/charmap.h: Likewise.
14628 * locale/programs/ld-address.c: Likewise.
14629 * locale/programs/ld-collate.c: Likewise.
14630 * locale/programs/ld-ctype.c: Likewise.
14631 * locale/programs/ld-identification.c: Likewise.
14632 * locale/programs/ld-measurement.c: Likewise.
14633 * locale/programs/ld-messages.c: Likewise.
14634 * locale/programs/ld-monetary.c: Likewise.
14635 * locale/programs/ld-name.c: Likewise.
14636 * locale/programs/ld-numeric.c: Likewise.
14637 * locale/programs/ld-paper.c: Likewise.
14638 * locale/programs/ld-telephone.c: Likewise.
14639 * locale/programs/ld-time.c: Likewise.
14640 * locale/programs/linereader.c: Likewise.
14641 * locale/programs/locale.c: Likewise.
14642 * locale/programs/locarchive.c: Likewise.
14643 * locale/programs/locfile.h: Likewise.
14644 * locale/programs/repertoire.c: Likewise.
14645 * locale/programs/simple-hash.c: Likewise.
14646 * locale/programs/simple-hash.h: Likewise.
14647 * malloc/memusage.c: Likewise.
14648 * malloc/memusagestat.c: Likewise.
14649 * nis/nis_defaults.c: Likewise.
14650 * nis/nis_hash.c: Likewise.
14651 * nis/nis_print.c: Likewise.
14652 * nis/nis_xdr.c: Likewise.
14653 * nscd/connections.c: Likewise.
14654 * nscd/hstcache.c: Likewise.
14655 * nscd/nscd_gethst_r.c: Likewise.
14656 * nscd/nscd_getserv_r.c: Likewise.
14657 * nscd/nscd_helper.c: Likewise.
14658 * nscd/servicescache.c: Likewise.
14659 * nss/makedb.c: Likewise.
14660 * nss/nss_db/db-XXX.c: Likewise.
14661 * nss/nss_db/db-initgroups.c: Likewise.
14662 * nss/nss_db/db-netgrp.c: Likewise.
14663 * nss/nss_files/files-network.c: Likewise.
14664 * nss/nss_files/files-parse.c: Likewise.
14665 * posix/bug-regex5.c: Likewise.
14666 * posix/fnmatch_loop.c: Likewise.
14667 * posix/regcomp.c: Likewise.
14668 * posix/regexec.c: Likewise.
14669 * posix/tst-rfc3484-2.c: Likewise.
14670 * posix/tst-rfc3484-3.c: Likewise.
14671 * posix/tst-rfc3484.c: Likewise.
14672 * resolv/nss_dns/dns-canon.c: Likewise.
14673 * resolv/nss_dns/dns-network.c: Likewise.
14674 * resolv/res_init.c: Likewise.
14675 * resolv/res_mkquery.c: Likewise.
14676 * resolv/tst-aton.c: Likewise.
14677 * stdlib/cxa_atexit.c: Likewise.
14678 * stdlib/cxa_finalize.c: Likewise.
14679 * stdlib/gen-fpioconst.c: Likewise.
14680 * stdlib/strtol_l.c: Likewise.
14681 * string/tst-endian.c: Likewise.
14682 * sunrpc/auth_des.c: Likewise.
14683 * sunrpc/clnt_udp.c: Likewise.
14684 * sunrpc/rtime.c: Likewise.
14685 * sunrpc/svcauth_des.c: Likewise.
14686 * sunrpc/xdr.c: Likewise.
14687 * sunrpc/xdr_intXX_t.c: Likewise.
14688 * sunrpc/xdr_rec.c: Likewise.
14689 * sysdeps/generic/ldconfig.h: Likewise.
14690 * sysdeps/generic/ldsodefs.h: Likewise.
14691 * sysdeps/generic/memusage.h: Likewise.
14692 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14701 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14702 * sysdeps/posix/getaddrinfo.c: Likewise.
14703 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14704 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14705 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14706 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14707 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14708 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14709 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14710 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14711 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14712 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14713 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14714 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14715 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14716 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14717 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14718 * sysdeps/x86_64/dl-tls.h: Likewise.
14719 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14720 * time/alt_digit.c: Likewise.
14721 * time/era.c: Likewise.
14722 * wcsmbs/tst-c16c32-1.c: Likewise.
14724 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14726 * math/libm-test.inc (struct test_sincos_data): New type.
14727 (RUN_TEST_LOOP_sincos): New macro.
14728 (sincos_test_data): New variable.
14729 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14731 2013-05-16 Richard Henderson <rth@redhat.com>
14733 * math/atest-exp2.c (LIMB64): New macro.
14734 (CONSTSZ): New macro.
14735 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14737 (print_mpn_fp): ... to function scope.
14738 (read_mpn_hex): Remove.
14739 (get_log2): Remove.
14740 (exp2_mpn): Use mp_log2.
14741 (main): Use mp_exp1.
14743 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14745 * math/libm-test.inc: Remove comment about not testing "inexact"
14747 (INEXACT_EXCEPTION): New macro.
14748 (NO_INEXACT_EXCEPTION): Likewise.
14749 (INVALID_EXCEPTION_OK): Update value.
14750 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14751 (OVERFLOW_EXCEPTION_OK): Likewise.
14752 (UNDERFLOW_EXCEPTION_OK): Likewise.
14753 (IGNORE_ZERO_INF_SIGN): Likewise.
14754 (ERRNO_UNCHANGED): Likewise.
14755 (ERRNO_EDOM): Likewise.
14756 (ERRNO_ERANGE): Likewise.
14757 (test_exceptions): Handle testing "inexact" exceptions.
14758 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14759 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14760 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14761 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14763 (rint_towardzero_test_data): Likewise.
14764 (rint_downward_test_data): Likewise.
14765 (rint_upward_test_data): Likewise.
14767 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14768 with OVERFLOW_EXCEPTION.
14769 (exp10_test_data): Likewise.
14770 (exp2_test_data): Likewise.
14771 (expm1_test_data): Likewise.
14772 (lgamma_test_data): Likewise.
14773 (pow_test_data): Likewise.
14774 (tgamma_test_data): Likewise.
14775 (yn_test_data): Remove duplicate test of overflow.
14777 * math/libm-test.inc (struct test_cc_c_data): New type.
14778 (RUN_TEST_LOOP_cc_c): New macro.
14779 (cpow_test_data): New variable.
14780 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14782 * math/libm-test.inc (struct test_f_L_data): New type.
14783 (RUN_TEST_LOOP_f_L): New macro.
14784 (llrint_test_data): New variable.
14785 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14786 (llrint_tonearest_test_data): New variable.
14787 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14788 (llrint_towardzero_test_data): New variable.
14789 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14790 (llrint_downward_test_data): New variable.
14791 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14792 (llrint_upward_test_data): New variable.
14793 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14794 (llround_test_data): New variable.
14795 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14797 2013-05-13 Peter Collingbourne <pcc@google.com>
14799 * math/atest-exp2.c (get_log2): Remove const attribute.
14801 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14803 * math/libm-test.inc (struct test_f_l_data): New type.
14804 (RUN_TEST_LOOP_f_l): New macro.
14805 (lrint_test_data): New variable.
14806 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14807 (lrint_tonearest_test_data): New variable.
14808 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14809 (lrint_towardzero_test_data): New variable.
14810 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14811 (lrint_downward_test_data): New variable.
14812 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14813 (lrint_upward_test_data): New variable.
14814 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14815 (lround_test_data): New variable.
14816 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14818 2013-05-15 Peter Collingbourne <pcc@google.com>
14820 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14821 (EXTRACT_WORDS64) Use where appropriate.
14822 (INSERT_WORDS64) Likewise.
14824 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14825 constraints with x constraints.
14826 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14828 * malloc/obstack.c (_obstack_compat): Add initializer.
14830 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14832 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14833 si_trapno and add si_addr_lsb to _sifields.sigfault.
14834 (si_trapno): Remove macro.
14835 (si_addr_lsb): Define new macro.
14836 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14838 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14840 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14841 instead of TEST_f_l.
14842 (llrint_test_tonearest): Likewise.
14843 (llrint_test_towardzero): Likewise.
14844 (llrint_test_downward): Likewise.
14845 (llrint_test_upward): Likewise.
14846 (llround_test): Likewise.
14848 * math/libm-test.inc (struct test_f_i_data): Add comment.
14849 (RUN_TEST_LOOP_f_b): New macro.
14850 (RUN_TEST_LOOP_f_b_tg): Likewise.
14851 (finite_test_data): New variable.
14852 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14853 (isfinite_test_data): New variable.
14854 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14855 (isinf_test_data): New variable.
14856 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14857 (isnan_test_data): New variable.
14858 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14859 (isnormal_test_data): New variable.
14860 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14861 (issignaling_test_data): New variable.
14862 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14863 (signbit_test_data): New variable.
14864 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14866 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14867 with INVALID_EXCEPTION.
14868 (acosh_test_data): Likewise.
14869 (asin_test_data): Likewise.
14870 (atanh_test_data): Likewise.
14871 (fmod_test_data): Likewise.
14872 (log_test_data): Likewise.
14873 (log10_test_data): Likewise.
14874 (log2_test_data): Likewise.
14875 (pow_test_data): Likewise.
14876 (sqrt_test_data): Likewise.
14877 (y0_test_data): Likewise.
14878 (y1_test_data): Likewise.
14879 (yn_test_data): Likewise.
14881 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14884 * math/libm-test.inc (struct test_ff_i_data): New type.
14885 (RUN_TEST_LOOP_ff_i_tg): New macro.
14886 (isgreater_test_data): New variable.
14887 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14888 (isgreaterequal_test_data): New variable.
14889 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14890 (isless_test_data): New variable.
14891 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14892 (islessequal_test_data): New variable.
14893 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14894 (islessgreater_test_data): New variable.
14895 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14896 (isunordered_test_data): New variable.
14897 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14899 2013-05-14 David S. Miller <davem@davemloft.net>
14901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14903 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14905 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14907 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14909 (struct test_f_i_data): Change type of max_ulp to int.
14911 * math/libm-test.inc (test_ffI_f1_data): New type.
14912 (RUN_TEST_LOOP_ffI_f1): New macro.
14913 (remquo_test_data): New variable.
14914 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14916 * setjmp/tst-setjmp-fp.c: New file.
14917 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14918 (link-libm): New variable.
14919 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14921 * math/libm-test.inc (struct test_f_i_data): New type.
14922 (RUN_TEST_LOOP_f_i): New macro.
14923 (RUN_TEST_LOOP_f_i_tg): Likewise.
14924 (fpclassify_test_data): New variable.
14925 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14926 (ilogb_test_data): New variable.
14927 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14929 * math/libm-test.inc (scalbln_test): Correct function name in END
14932 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14933 (RUN_TEST_LOOP_fI_f1): New macro.
14934 (frexp_test_data): New variable.
14935 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14937 * math/libm-test.inc (struct test_fF_f1_data): New type.
14938 (RUN_TEST_LOOP_fF_f1): New macro.
14939 (modf_test_data): New variable.
14940 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14942 * math/libm-test.inc (struct test_f_f1_data): New type.
14943 (RUN_TEST_LOOP_f_f1): New macro.
14944 (gamma_test_data): New variable.
14945 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14946 (lgamma_test_data): New variable.
14947 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14949 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14951 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14952 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14953 (main): Comment "tls" pseudo-hwcap.
14955 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14957 * math/libm-test.inc (struct test_fl_f_data): New type.
14958 (RUN_TEST_LOOP_fl_f): New variable.
14959 (scalbln_test_data): New variable.
14960 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14962 * math/libm-test.inc (struct test_fi_f_data): New type.
14963 (RUN_TEST_LOOP_fi_f): New macro.
14964 (ldexp_test_data): New variable.
14965 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14966 (scalbn_test_data): New variable.
14967 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14969 * math/libm-test.inc (struct test_c_f_data): New type.
14970 (RUN_TEST_LOOP_c_f): New macro.
14971 (cabs_test_data): New variable.
14972 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14973 (carg_test_data): New variable.
14974 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14975 (cimag_test_data): New variable.
14976 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14977 (creal_test_data): New variable.
14978 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14980 * math/libm-test.inc (struct test_if_f_data): New type.
14981 (RUN_TEST_LOOP_if_f): New macro.
14982 (jn_test_data): New variable.
14983 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14984 (yn_test_data): New variable.
14985 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14987 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14989 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14991 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14992 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14994 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14996 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14997 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14998 (bench-deps): Add bench-timing.h.
14999 * benchtests-bench-skeleton.c: Include bench-timing.h.
15000 (main): Use TIMING_* macros instead of clock_gettime.
15001 * benchtests/bench-timing.h: New file.
15004 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15005 Renamed from _LIB_VERSION.
15006 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15008 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15010 * math/libm-test.inc (struct test_fff_f_data): New type.
15011 (RUN_TEST_LOOP_fff_f): New macro.
15012 (fma_test_data): New variable.
15013 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15014 (fma_towardzero_test_data): New variable.
15015 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15016 (fma_downward_test_data): New variable.
15017 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15018 (fma_upward_test_data): New variable.
15019 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15021 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15022 (struct test_c_c_data): New type.
15023 (RUN_TEST_LOOP_c_c): New macro.
15024 (cacos_test_data): New variable.
15025 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15026 (cacosh_test_data): New variable.
15027 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15028 (casin_test_data): New variable.
15029 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15030 (casinh_test_data): New variable.
15031 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15032 (catan_test_data): New variable.
15033 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15034 (catanh_test_data): New variable.
15035 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15036 (ccos_test_data): New variable.
15037 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15038 (ccosh_test_data): New variable.
15039 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15040 (cexp_test_data): New variable.
15041 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15042 (clog_test_data): New variable.
15043 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15044 (clog10_test_data): New variable.
15045 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15046 (conj_test_data): New variable.
15047 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15048 (cproj_test_data): New variable.
15049 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15050 (csin_test_data): New variable.
15051 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15052 (csinh_test_data): New variable.
15053 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15054 (csqrt_test_data): New variable.
15055 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15056 (ctan_test_data): New variable.
15057 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15058 (ctan_tonearest_test_data): New variable.
15059 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15060 (ctan_towardzero_test_data): New variable.
15061 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15062 (ctan_downward_test_data): New variable.
15063 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15064 (ctan_upward_test_data): New variable.
15065 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15066 (ctanh_test_data): New variable.
15067 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15068 (ctanh_tonearest_test_data): New variable.
15069 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15070 (ctanh_towardzero_test_data): New variable.
15071 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15072 (ctanh_downward_test_data): New variable.
15073 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15074 (ctanh_upward_test_data): New variable.
15075 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15076 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15079 * math/libm-test.inc (struct test_ff_f_data): New type.
15080 (struct test_ff_f_data_nexttoward): Likewise.
15081 (RUN_TEST_LOOP_2_f): New macro.
15082 (RUN_TEST_LOOP_ff_f): Likewise.
15083 (atan2_test_data): New variable.
15084 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15085 (copysign_test_data): New variable.
15086 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15087 (fdim_test_data): New variable.
15088 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15089 (fmax_test_data): New variable.
15090 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15091 (fmin_test_data): New variable.
15092 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15093 (fmod_test_data): New variable.
15094 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15095 (hypot_test_data): New variable.
15096 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15097 (nextafter_test_data): New variable.
15098 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15099 (nexttoward_test_data): New variable.
15100 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15101 (pow_test_data): New variable.
15102 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15103 (pow_tonearest_test_data): New variable.
15104 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15105 (pow_towardzero_test_data): New variable.
15106 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15107 (pow_downward_test_data): New variable.
15108 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15109 (pow_upward_test_data): New variable.
15110 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15111 (remainder_test_data): New variable.
15112 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15113 (scalb_test_data): New variable.
15114 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15115 * sysdeps/i386/fpu/libm-test-ulps: Update.
15117 2013-05-11 Joseph Myers <joseph@codesourcery.com>
15119 * math/libm-test.inc (fma_test): Use max_value instead of local
15121 (nextafter_test): Likewise.
15123 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15124 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15125 (acos_downward_test_data): New variable.
15126 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15127 (acos_upward_test_data): New variable.
15128 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15129 (acosh_test_data): New variable.
15130 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15131 (asin_test_data): New variable.
15132 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15133 (asin_tonearest_test_data): New variable.
15134 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15135 (asin_towardzero_test_data): New variable.
15136 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15137 (asin_downward_test_data): New variable.
15138 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15139 (asin_upward_test_data): New variable.
15140 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15141 (asinh_test_data): New variable.
15142 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15143 (atan_test_data): New variable.
15144 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15145 (atanh_test_data): New variable.
15146 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15147 (cbrt_test_data): New variable.
15148 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15149 (ceil_test_data): New variable.
15150 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15151 (cos_test_data): New variable.
15152 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15153 (cos_tonearest_test_data): New variable.
15154 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15155 (cos_towardzero_test_data): New variable.
15156 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15157 (cos_downward_test_data): New variable.
15158 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15159 (cos_upward_test_data): New variable.
15160 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15161 (cosh_test_data): New variable.
15162 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15163 (cosh_tonearest_test_data): New variable.
15164 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15165 (cosh_towardzero_test_data): New variable.
15166 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15167 (cosh_downward_test_data): New variable.
15168 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15169 (cosh_upward_test_data): New variable.
15170 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15171 (erf_test_data): New variable.
15172 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15173 (erfc_test_data): New variable.
15174 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15175 (exp_test_data): New variable.
15176 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15177 (exp_tonearest_test_data): New variable.
15178 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15179 (exp_towardzero_test_data): New variable.
15180 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15181 (exp_downward_test_data): New variable.
15182 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15183 (exp_upward_test_data): New variable.
15184 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15185 (exp10_test_data): New variable.
15186 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15187 (exp2_test_data): New variable.
15188 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15189 (expm1_test_data): New variable.
15190 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15191 (fabs_test_data): New variable.
15192 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15193 (floor_test_data): New variable.
15194 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15195 (j0_test_data): New variable.
15196 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15197 (j1_test_data): New variable.
15198 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15199 (log_test_data): New variable.
15200 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15201 (log10_test_data): New variable.
15202 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15203 (log1p_test_data): New variable.
15204 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15205 (log2_test_data): New variable.
15206 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15207 (logb_test_data): New variable.
15208 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15209 (logb_downward_test_data): New variable.
15210 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15211 (nearbyint_test_data): New variable.
15212 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15213 (rint_test_data): New variable.
15214 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15215 (rint_tonearest_test_data): New variable.
15216 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15217 (rint_towardzero_test_data): New variable.
15218 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15219 (rint_downward_test_data): New variable.
15220 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15221 (rint_upward_test_data): New variable.
15222 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15223 (round_test_data): New variable.
15224 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15225 (sin_test_data): New variable.
15226 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15227 (sin_tonearest_test_data): New variable.
15228 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15229 (sin_towardzero_test_data): New variable.
15230 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15231 (sin_downward_test_data): New variable.
15232 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15233 (sin_upward_test_data): New variable.
15234 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15235 (sinh_test_data): New variable.
15236 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15237 (sinh_tonearest_test_data): New variable.
15238 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15239 (sinh_towardzero_test_data): New variable.
15240 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15241 (sinh_downward_test_data): New variable.
15242 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15243 (sinh_upward_test_data): New variable.
15244 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15245 (sqrt_test_data): New variable.
15246 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15247 (tan_test_data): New variable.
15248 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15249 (tan_tonearest_test_data): New variable.
15250 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15251 (tan_towardzero_test_data): New variable.
15252 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15253 (tan_downward_test_data): New variable.
15254 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15255 (tan_upward_test_data): New variable.
15256 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15257 (tanh_test_data): New variable.
15258 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15259 (tgamma_test_data): New variable.
15260 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15261 (trunc_test_data): New variable.
15262 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15263 (y0_test_data): New variable.
15264 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15265 (y1_test_data): New variable.
15266 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15267 (significand_test_data): New variable.
15268 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15270 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15273 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15275 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15277 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15279 2013-05-10 Andreas Jaeger <aj@suse.de>
15282 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15283 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15285 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15287 * math/gen-libm-test.pl (adjust_arg): New function.
15288 (special_functions): Handle generating output in both functions
15290 (parse_args): Likewise.
15291 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15292 $in_func argument to parse_args.
15293 * math/libm-test.inc (struct test_f_f_data): New type.
15294 (IF_ROUND_INIT_): New macro.
15295 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15296 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15297 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15298 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15299 (ROUND_RESTORE_): Likewise.
15300 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15301 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15302 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15303 (ROUND_RESTORE_FE_UPWARD): Likewise.
15304 (RUN_TEST_LOOP_f_f): New macro.
15305 (acos_test_data): New variable.
15306 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15307 (acos_tonearest_test_data): New variable.
15308 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15310 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15312 * benchtests/bench-skeleton.c (startup): Fix coding style.
15314 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15317 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15318 negative infinity argument.
15319 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15320 negative infinity argument.
15321 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15322 negative infinity argument.
15323 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15326 2013-05-10 Florian Weimer <fweimer@redhat.com>
15328 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15329 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15330 * iconv/iconv_prog.c (main): Likewise.
15331 * locale/programs/charmap-dir.c (charmap_readdir)
15332 (fopen_uncompressed): Likewise.
15333 * locale/programs/locfile.c (siblings_uncached)
15334 (write_locale_data): Use lstat64 instead of lstat.
15335 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15338 2013-05-10 Andreas Jaeger <aj@suse.de>
15341 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15343 Include <locale.h>.
15345 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15347 * elf/dl-close.c (_dl_close_worker): Add comments.
15349 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15352 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15354 (__ieee754_rem_pio2l): Update comments.
15357 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15359 (__ieee754_rem_pio2l): Update comments.
15361 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15362 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15364 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15367 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15368 (M_PI_34_LOG10El): Likewise.
15369 (M_PI2_LOG10El): Likewise.
15370 (M_PI4_LOG10El): Likewise.
15371 (M_PI_LOG10El): Likewise.
15373 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15377 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15379 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15380 (MINUS_ZERO_INIT): Likewise.
15381 (PLUS_INFTY_INIT): Likewise.
15382 (MINUS_INFTY_INIT): Likewise.
15383 (QNAN_VALUE_INIT): Likewise.
15384 (MAX_VALUE_INIT): Likewise.
15385 (MIN_VALUE_INIT): Likewise.
15386 (MIN_SUBNORM_VALUE_INIT): Likewise.
15387 (plus_zero): Initialize with PLUS_ZERO_INIT.
15388 (minus_zero): Initialize with MINUS_ZERO_INIT.
15389 (plus_infty): Initialize with PLUS_INFTY_INIT.
15390 (minus_infty): Initialize with MINUS_INFTY_INIT.
15391 (qnan_value): Initialize with QNAN_VALUE_INIT.
15392 (max_value): Initialize with MAX_VALUE_INIT.
15393 (min_value): Initialize with MIN_VALUE_INIT.
15394 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15396 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15397 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15398 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15399 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15401 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15402 (RUN_TEST_2_f): Likewise.
15403 (RUN_TEST_ff_f): Likewise.
15404 (RUN_TEST_fi_f): Likewise.
15405 (RUN_TEST_fl_f): Likewise.
15406 (RUN_TEST_fff_f): Likewise.
15407 (RUN_TEST_c_f): Likewise.
15408 (RUN_TEST_f_f1): Likewise.
15409 (RUN_TEST_fF_f1): Likewise.
15410 (RUN_TEST_fI_f1): Likewise.
15411 (RUN_TEST_ffI_f1): Likewise.
15412 (RUN_TEST_c_c): Likewise.
15413 (RUN_TEST_cc_c): Likewise.
15414 (RUN_TEST_f_i): Likewise.
15415 (RUN_TEST_f_i_tg): Likewise.
15416 (RUN_TEST_ff_i_tg): Likewise.
15417 (RUN_TEST_f_b): Likewise.
15418 (RUN_TEST_f_b_tg): Likewise.
15419 (RUN_TEST_f_l): Likewise.
15420 (RUN_TEST_f_L): Likewise.
15421 (RUN_TEST_sincos): Likewise.
15422 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15423 whether to show exceptions. Do not include ");\n" in return
15425 (special_functions): Output call to RUN_TEST_sincos instead of
15426 check_float calls. Update calls to new_test.
15427 (parse_args): Output call to single RUN_TEST_* macro instead of
15428 check_* calls and other assignments. Update calls to new_test.
15434 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15435 input to result for tgamma overflow.
15436 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15437 (gamma_coeff): New variable.
15438 (NCOEFF): New macro.
15439 (gamma_positive): New function.
15440 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15441 underflow here. Use gamma_positive instead of exp (lgamma) for
15443 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15444 (gamma_coeff): New variable.
15445 (NCOEFF): New macro.
15446 (gammaf_positive): New function.
15447 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15448 underflow here. Use gamma_positive instead of exp (lgamma) for
15450 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15451 (gamma_coeff): New variable.
15452 (NCOEFF): New macro.
15453 (gammal_positive): New function.
15454 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15455 underflow here. Use gamma_positive instead of exp (lgamma) for
15457 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15458 (gamma_coeff): New variable.
15459 (NCOEFF): New macro.
15460 (gammal_positive): New function.
15461 (__ieee754_gammal_r): Handle positive infinity, overflow and
15462 underflow here. Handle NaN the same as positive infinity. Remove
15463 check x < 0xffffffff for negative integers. Use gamma_positive
15464 instead of exp (lgamma) for other arguments.
15465 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15466 (gamma_coeff): New variable.
15467 (NCOEFF): New macro.
15468 (gammal_positive): New function.
15469 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15470 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15471 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15472 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15473 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15474 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15475 * sysdeps/generic/math_private.h (__gamma_productf): New
15477 (__gamma_product): Likewise.
15478 (__gamma_productl): Likewise.
15479 * math/Makefile (libm-calls): Add gamma_product.
15480 * math/libm-test.inc (tgamma_test): Add more tests.
15481 * sysdeps/i386/fpu/libm-test-ulps: Update.
15482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15484 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15486 * benchtests/bench-skeleton.c (main): Preheat CPU.
15488 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15490 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15492 2013-05-07 Roland McGrath <roland@hack.frob.com>
15494 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15495 and _dl_skip_args_internal.
15497 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15499 * manual/message.texi (Message Translation): Talk about users.
15500 Message to key mapping impacts design.
15502 2013-05-06 Roland McGrath <roland@hack.frob.com>
15504 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15506 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15508 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15509 * sysdeps/wordsize-64/glob64.c: ... here.
15511 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15512 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15515 * debug/getlogin_r_chk.c: Moved to ...
15516 * login/getlogin_r_chk.c: ... here.
15517 * debug/Makefile (routines): Move getlogin_r_chk to ...
15518 * login/Makefile (routines): ... here.
15519 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15520 * login/Versions (libc: GLIBC_2.4): ... here.
15522 * io/poll.c (__poll): Renamed from poll.
15523 Add libc_hidden_def.
15524 (poll): Define as weak alias.
15526 * debug/ptsname_r_chk.c: Moved to ...
15527 * login/ptsname_r_chk.c: ... here.
15528 * debug/Makefile (routines): Move ptsname_r_chk to ...
15529 * login/Makefile (routines): ... here.
15530 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15531 * login/Versions (libc: GLIBC_2.4): ... here.
15533 * posix/getlogin.c: Moved to ...
15534 * login/getlogin.c: ... here.
15535 * posix/getlogin_r.c: Moved to ...
15536 * login/getlogin_r.c: ... here.
15537 * posix/getlogin_r.c: Moved to ...
15538 * login/getlogin_r.c: ... here.
15539 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15540 * login/Makefile (routines): ... here.
15541 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15542 * login/Versions (libc: GLIBC_2.0): ... here.
15544 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15545 (setrlimit): Define as weak alias.
15547 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15548 Call __ names for open, ftruncate, and close.
15549 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15550 (truncate): Define as weak alias.
15552 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15554 * math/gen-libm-test.pl (parse_args): Initialize x before each
15555 test of frexp, modf and remquo.
15557 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15558 test signgam value.
15560 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15564 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15566 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15568 2013-05-06 Roland McGrath <roland@hack.frob.com>
15570 * elf/dl-writev.h: New file.
15571 * elf/dl-misc.c: Include it.
15572 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15573 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15575 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15577 * math/libm-test.inc (noXFails): Remove variable.
15578 (noXPasses): Likewise.
15579 (BUILD_COMPLEX_INT): Remove macro.
15580 (print_screen): Remove xfail argument.
15581 (print_screen_max_error): Likewise.
15582 (update_stats): Likewise.
15583 (print_max_error): Likewise. Update calls to other affected
15585 (print_complex_max_error): Likewise.
15586 (test_single_exception): Update calls to print_screen.
15587 (test_single_errno): Likewise.
15588 (check_float_internal): Remove xfail argument. Update calls to
15589 other affected functions.
15590 (check_float): Likewise.
15591 (check_complex): Likewise.
15592 (check_int): Likewise.
15593 (check_long): Likewise.
15594 (check_bool): Likewise.
15595 (check_longlong): Likewise.
15596 (main): Don't print noXFails and noXPasses.
15597 * math/gen-libm-test.pl (top level): Don't mention expected
15598 failure handling in comment.
15599 (new_test): Don't handle expected failures.
15600 (parse_args): Don't mention expected failure handling in comment.
15601 (generate_testfile): Don't handle expected failures.
15602 (parse_ulps): Likewise.
15603 (print_ulps_file): Likewise.
15604 (get_failure): Remove function.
15605 (output_test): Don't handle expected failures.
15606 * make/README.libm-test: Don't mention expected failure handling.
15608 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15609 (minus_zero): Likewise.
15610 (plus_infty): Likewise.
15611 (minus_infty): Likewise.
15612 (qnan_value): Likewise.
15613 (max_value): Likewise.
15614 (min_value): Likewise.
15615 (min_subnorm_value): Likewise.
15616 (initialize): Do not initialize those variables dynamically.
15618 2013-05-03 Roland McGrath <roland@hack.frob.com>
15620 * io/open.c (__open_2): Moved to ...
15621 * io/open_2.c: ... this new file.
15622 * io/open64.c (__open64_2): Moved to ...
15623 * io/open64_2.c: ... this new file.
15624 * io/openat.c (__openat_2): Moved to ...
15625 * io/openat_2.c: ... this new file.
15626 * io/openat64.c (__openat64_2): Moved to ...
15627 * io/openat64_2.c: ... this new file.
15628 * io/Makefile (routines): Add them.
15629 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15630 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15631 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15632 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15633 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15634 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15635 (__openat64): Add hidden_ver.
15636 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15637 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15639 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15640 Separately conditionalize setting of GLRO(dl_sysinfo) so
15641 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15642 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15644 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15646 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15647 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15649 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15650 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15651 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15652 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15653 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15655 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15657 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15658 test signgam value.
15660 * math/libm-test.inc (hypot_test): Do not use
15661 IGNORE_ZERO_INF_SIGN.
15663 2013-05-03 Andreas Jaeger <aj@suse.de>
15665 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15667 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15668 (PF_MAX): Adjust for VSOCK change.
15670 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15674 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15677 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15678 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15679 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15681 2013-05-02 David S. Miller <davem@davemloft.net>
15683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15685 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15687 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15689 2013-05-01 Roland McGrath <roland@hack.frob.com>
15691 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15693 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15696 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15697 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15698 Use __attribute__ ((__gnu_inline__)).
15699 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15700 Don't use __attribute__ ((__gnu_inline__)).
15702 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15705 * math/s_catan.c (__catan): Handle small real or imaginary part of
15706 input specially to avoid spurious underflow.
15707 * math/s_catanf.c (__catanf): Likewise.
15708 * math/s_catanh.c (__catanh): Likewise.
15709 * math/s_catanhf.c (__catanhf): Likewise.
15710 * math/s_catanhl.c (__catanhl): Likewise.
15711 * math/s_catanl.c (__catanl): Likewise.
15712 * math/libm-test.inc (catan_test): Add more tests.
15713 (catanh_test): Likewise.
15714 * sysdeps/i386/fpu/libm-test-ulps: Update.
15715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15717 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15721 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15724 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15725 accurately for denominator in atan2.
15726 * math/s_catanf.c (__catanf): Likewise.
15727 * math/s_catanh.c (__catanh): Likewise.
15728 * math/s_catanhf.c (__catanhf): Likewise.
15729 * math/s_catanhl.c (__catanhl): Likewise.
15730 * math/s_catanl.c (__catanl): Likewise.
15731 * math/libm-test.inc (catan_test): Add more tests.
15732 (catanh_test): Likewise.
15733 * sysdeps/i386/fpu/libm-test-ulps: Update.
15734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15736 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15738 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15740 * benchtests/Makefile (bench): Remove slow benchmarks.
15741 * benchtests/atan-inputs: Add slow benchmark inputs.
15742 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15743 (BENCH_FUNC): Accept variant offset.
15745 * benchtests/bench-skeleton.c (main): Run benchmark for each
15747 * benchtests/cos-inputs: Add slow benchmark inputs.
15748 * benchtests/exp-inputs: Likewise.
15749 * benchtests/pow-inputs: Likewise.
15750 * benchtests/sin-inputs: Likewise.
15751 * benchtests/slowatan-inputs: Remove.
15752 * benchtests/slowatan.c: Remove.
15753 * benchtests/slowcos-inputs: Remove.
15754 * benchtests/slowcos.c: Remove.
15755 * benchtests/slowexp-inputs: Remove.
15756 * benchtests/slowexp.c: Remove.
15757 * benchtests/slowpow-inputs: Remove.
15758 * benchtests/slowpow.c: Remove.
15759 * benchtests/slowsin-inputs: Remove.
15760 * benchtests/slowsin.c: Remove.
15761 * benchtests/slowtan-inputs: Remove.
15762 * benchtests/slowtan.c: Remove.
15763 * benchtests/tan-inputs: Add slow benchmark inputs.
15764 * scripts/bench.pl: Parse comments and directives.
15766 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15768 ($(objpfx)bench-%.c): Remove *-ITER.
15769 * benchtests/bench-modf.c: Remove definition of ITER.
15770 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15771 (main): Loop for DURATION seconds instead of fixed number of
15773 * scripts/bench.pl: Don't expect iterations in parameters.
15775 2013-04-29 Roland McGrath <roland@hack.frob.com>
15777 * io/fchdir.c (__fchdir): Renamed from fchdir.
15778 (fchdir): Define as weak alias.
15780 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15782 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15783 (ERRNO_EDOM): Likewise.
15784 (ERRNO_ERANGE): Likewise.
15785 (noErrnoTests): New variable.
15786 (init_max_error): Set errno to 0.
15787 (test_single_errno): New function.
15788 (test_errno): Likewise.
15789 (check_float_internal): Call test_errno. Set errno to 0.
15790 (check_complex): Refer to errno tests in comment.
15791 (check_int): Call test_errno. Set errno to 0.
15792 (check_long): Likewise.
15793 (check_bool): Likewise.
15794 (check_longlong): Likewise.
15795 (cos_test): Use ERRNO_* flags for errno tests instead of
15797 (expm1_test): Likewise.
15798 (fmod_test): Likewise.
15799 (ilogb_test): Likewise.
15800 (lgamma_test): Likewise.
15801 (pow_test): Likewise.
15802 (remainder_test): Likewise.
15803 (sin_test): Likewise.
15804 (tan_test): Likewise.
15805 (yn_test): Likewise.
15806 (initialize): Set errno to 0.
15807 (main): Print number of errno tests.
15808 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15810 2013-04-29 Andreas Jaeger <aj@suse.de>
15813 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15817 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15818 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15822 * stdlib/random.c (__initstate): Return NULL if
15826 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15827 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15830 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15834 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15836 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15837 of individual tests.
15838 (casin_test): Likewise.
15839 (casinh_test): Likewise.
15841 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15844 * math/s_catan.c (__catan): Handle arguments with large real or
15845 imaginary part separately without squaring.
15846 * math/s_catanf.c (__catanf): Likewise.
15847 * math/s_catanh.c (__catanh): Likewise.
15848 * math/s_catanhf.c (__catanhf): Likewise.
15849 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15851 (__catanhl): Handle arguments with large real or imaginary part
15852 separately without squaring.
15853 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15855 (__catanl): Handle arguments with large real or imaginary part
15856 separately without squaring.
15857 * math/libm-test.inc (catan_test): Add more tests.
15858 (catanh_test): Likewise.
15859 * sysdeps/i386/fpu/libm-test-ulps: Update.
15860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15862 2013-04-27 Andreas Jaeger <aj@suse.de>
15865 * stdlib/stdlib.h: Update guards for qecvt.
15866 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15869 2013-04-27 Allan McRae <allan@archlinux.org>
15871 * sysdeps/i386/fpu/libm-test-ulps: Update.
15873 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15876 * math/s_catan.c: Include <float.h>.
15877 (__catan): Ensure underflow exception occurs for underflowed
15879 * math/s_catanf.c: Include <float.h>.
15880 (__catanf): Ensure underflow exception occurs for underflowed
15882 * math/s_catanh.c: Include <float.h>.
15883 (__catanh): Ensure underflow exception occurs for underflowed
15885 * math/s_catanhf.c: Include <float.h>.
15886 (__catanhf): Ensure underflow exception occurs for underflowed
15888 * math/s_catanhl.c: Include <float.h>.
15889 (__catanhl): Ensure underflow exception occurs for underflowed
15891 * math/s_catanl.c: Include <float.h>.
15892 (__catanl): Ensure underflow exception occurs for underflowed
15894 * math/libm-test.inc (catan_test): Add more tests.
15895 (catanh_test): Likewise.
15898 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15899 underflowed result.
15900 * math/s_ccoshf.c (__ccoshf): Likewise.
15901 * math/s_ccoshl.c (__ccoshl): Likewise.
15902 * math/s_csin.c (__csin): Likewise.
15903 * math/s_csinf.c (__csinf): Likewise.
15904 * math/s_csinh.c (__csinh): Likewise.
15905 * math/s_csinhf.c (__csinhf): Likewise.
15906 * math/s_csinhl.c (__csinhl): Likewise.
15907 * math/s_csinl.c (__csinl): Likewise.
15908 * math/libm-test.inc (ccos_test): Add more tests.
15909 (ccosh_test): Likewise.
15910 (csin_test): Likewise.
15911 (csinh_test): Likewise.
15913 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15915 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15916 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15917 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15918 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15919 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15920 powerpc/power5+/fpu folders.
15921 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15924 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15928 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15930 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15931 additions to variable.
15932 [$(config-machine) = x86_64] (modules-names): Likewise.
15933 ($(objpfx)tst-audit3): Remove dependency.
15934 ($(objpfx)tst-audit3.out): Likewise.
15935 ($(objpfx)tst-audit4): Likewise.
15936 ($(objpfx)tst-audit4.out): Likewise.
15937 ($(objpfx)tst-audit5): Likewise.
15938 ($(objpfx)tst-audit5.out): Likewise.
15939 ($(objpfx)tst-audit6): Likewise.
15940 ($(objpfx)tst-audit6.out): Likewise.
15941 ($(objpfx)tst-audit7): Likewise.
15942 ($(objpfx)tst-audit7.out): Likewise.
15943 (tst-audit3-ENV): Remove variable.
15944 (tst-audit4-ENV): Likewise.
15945 (tst-audit5-ENV): Likewise.
15946 (tst-audit6-ENV): Likewise.
15947 (tst-audit7-ENV): Likewise.
15948 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15949 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15950 addition to variable.
15951 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15952 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15953 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15954 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15955 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15956 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15957 tst-audit3, tst-audit4 and tst-audit5.
15958 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15959 tst-audit6 and tst-audit7.
15960 [$(subdir) = elf] (modules-names): Add audit modules for those
15962 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15963 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15964 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15965 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15966 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15967 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15968 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15969 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15970 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15971 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15972 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15973 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15974 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15975 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15976 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15977 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15979 [$(subdir) = elf && $(config-cflags-avx) = yes]
15980 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15981 [$(subdir) = elf && $(config-cflags-avx) = yes]
15982 (CFLAGS-tst-auditmod4a.c): Likewise.
15983 [$(subdir) = elf && $(config-cflags-avx) = yes]
15984 (CFLAGS-tst-auditmod4b.c): Likewise.
15985 [$(subdir) = elf && $(config-cflags-avx) = yes]
15986 (CFLAGS-tst-auditmod6b.c): Likewise.
15987 [$(subdir) = elf && $(config-cflags-avx) = yes]
15988 (CFLAGS-tst-auditmod6c.c): Likewise.
15989 [$(subdir) = elf && $(config-cflags-avx) = yes]
15990 (CFLAGS-tst-auditmod7b.c): Likewise.
15991 * elf/tst-audit3.c: Move to ...
15992 * sysdeps/x86_64/tst-audit3.c: ... here.
15993 * elf/tst-audit4.c: Move to ...
15994 * sysdeps/x86_64/tst-audit4.c: ... here.
15995 * elf/tst-audit5.c: Move to ...
15996 * sysdeps/x86_64/tst-audit5.c: ... here.
15997 * elf/tst-audit6.c: Move to ...
15998 * sysdeps/x86_64/tst-audit6.c: ... here.
15999 * elf/tst-audit7.c: Move to ...
16000 * sysdeps/x86_64/tst-audit7.c: ... here.
16001 * elf/tst-auditmod3a.c: Move to ...
16002 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16003 * elf/tst-auditmod3b.c: Move to ...
16004 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16005 * elf/tst-auditmod4a.c: Move to ...
16006 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16007 * elf/tst-auditmod4b.c: Move to ...
16008 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16009 * elf/tst-auditmod5a.c: Move to ...
16010 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16011 * elf/tst-auditmod5b.c: Move to ...
16012 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16013 * elf/tst-auditmod6a.c: Move to ...
16014 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16015 * elf/tst-auditmod6b.c: Move to ...
16016 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16017 * elf/tst-auditmod6c.c: Move to ...
16018 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16019 * elf/tst-auditmod7a.c: Move to ...
16020 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16021 * elf/tst-auditmod7b.c: Move to ...
16022 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16024 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16027 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16028 define unconditionally.
16029 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16030 define unconditionally.
16031 (INT8_C, INT16_C, etc.): Likewise.
16033 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16035 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16036 __ehdr_start with hidden visibility.
16038 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16040 2013-04-24 Carlos O'Donell <carlos@redhat.com>
16042 * math/libm-test.inc (cos_test): Use accurate hex constants.
16043 (sincost_test): Likewise.
16045 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16047 * math/libm-test.inc (catan_test): Add more tests.
16048 (catanh_test): Likewise.
16050 * math/s_catanf.c (__catanf): Use suffixed floating-point
16052 * math/s_catanhf.c (__catanhf): Likewise.
16053 * math/s_catanhl.c (__catanhl): Likewise.
16054 * math/s_catanl.c (__catanl): Likewise.
16057 * math/s_catan.c (__catan): Calculate imaginary part of result
16058 with log1p not log unless computing log of number close to 0.
16059 * math/s_catanf.c (__catanf): Likewise.
16060 * math/s_catanl.c (__catanl): Likewise.
16061 * math/s_catanh.c (__catanh): Calculate real part of result with
16062 log1p not log unless computing log of number close to 0.
16063 * math/s_catanhf.c (__catanhf): Likewise.
16064 * math/s_catanhl.c (__catanhl): Likewise.
16065 * math/libm-test.inc (catan_test): Add more tests.
16066 (catanh_test): Likewise.
16067 * sysdeps/i386/fpu/libm-test-ulps: Update.
16068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16070 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16072 * benchtests/Makefile: Mention files in which fast and slow
16073 paths of math functions are implemented.
16075 2013-04-23 Roland McGrath <roland@hack.frob.com>
16077 * sysdeps/posix/timespec_get.c: New file.
16079 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16081 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16083 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16085 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16086 powerpc/power5/fpu folders.
16087 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16088 * benchtests/Makefile: Add modf testcase.
16089 * benchtests/bench-modf.c: New file: Benchmark test for mo
16091 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16094 * time/Makefile (tests): Add tst-strptime-whitespace.
16095 * time/strptime_l.c (get_number): Use ISSPACE.
16096 (__strptime_internal): Likewise.
16097 * time/tst-strptime-whitespace.c: New test case.
16099 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16101 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16103 (_nss_files_init): Set it here.
16105 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16107 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16108 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16111 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16113 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16115 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16120 2013-04-21 David S. Miller <davem@davemloft.net>
16122 * po/ru.po: Update Russion translation from translation project.
16124 2013-04-17 Adam Conrad <adconrad@0c3.net>
16126 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16129 2013-04-17 Carlos O'Donell <carlos@redhat.com>
16131 * configure.in: Remove i386 configure warning. Remove i386 case.
16132 * configure: Regenerate.
16133 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16134 Add example to error message.
16135 * sysdeps/i386/configure: Regenerate.
16137 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16139 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16141 * benchtests/cos-inputs: New file.
16142 * benchtests/slowcos-inputs: New file.
16143 * benchtests/slowcos.c: New file.
16144 * benchtests/slowtan-inputs: New file.
16145 * benchtests/slowtan.c: New file.
16146 * benchtests/tan-inputs: New file.
16148 2013-04-16 Roland McGrath <roland@hack.frob.com>
16150 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16153 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16155 * benchtests/Makefile: Include cppflags-iterator.mk to add
16156 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16158 * Makefile.in (bench-clean): New target.
16159 * benchtests/Makefile (bench-clean): Likewise.
16161 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16163 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16165 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16167 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16169 2013-04-15 Andreas Schwab <schwab@suse.de>
16171 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16172 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16173 * nscd/pwdcache.c (cache_addpw): Likewise.
16174 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16177 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16179 * benchtests/Makefile (bench): Write all output to
16180 bench-out.tmp together.
16182 2013-04-15 Andreas Schwab <schwab@suse.de>
16184 * nscd/nscd.c (main): Don't fork again after closing files.
16186 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16188 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16190 * benchtests/Rules (bench-deps): Collect dependencies into a
16191 single variable. Add Makefile to dependencies.
16192 ($(objpfx)bench-%.c): Depend on bench-deps.
16194 2013-04-12 Roland McGrath <roland@hack.frob.com>
16195 Xavier Roche <roche+kml2@exalead.com>
16198 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16199 just that it's a file descriptor.
16200 * manual/llio.texi (Synchronizing AIO Operations): Update description
16201 for EBADF error from aio_fsync.
16203 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16205 * Rules (bench): Move target definition...
16206 * benchtests/Makefile: ... here.
16208 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16210 * math/libm-test.inc (cos_test): Fix PI/2 test.
16211 (sincos_test): Likewise.
16212 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16213 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16215 2013-04-11 Andreas Schwab <schwab@suse.de>
16218 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16219 accept exponent character only when digits were seen.
16220 * stdio-common/Makefile (tests): Add bug26.
16221 * stdio-common/bug26.c: New file.
16224 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16227 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16229 * Makeconfig (rtld-prefix): Define built linker prefix.
16230 * Rules (run-bench): Use it.
16231 * math/Makefile (run-regen-ulps): Likewise.
16233 * Rules (bench): Remove eval.
16235 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16236 Roland McGrath <roland@hack.frob.com>
16237 Ondrej Bilka <neleai@seznam.cz>
16240 * time/getdate.c: Include ctype.h and alloca.h.
16241 (__getdate_r): Trim leading and trailing spaces of input.
16242 * time/tst-getdate.c (tests): Add tests with leading and
16245 2013-04-08 Roland McGrath <roland@hack.frob.com>
16248 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16249 when computing value.
16251 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16253 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16254 Use testrun.sh to run libm tests.
16257 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16259 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16262 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16264 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16266 * Makefile.in (regen-ulps): New target.
16267 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16268 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16269 [ifneq (no,$(PERL)] (regen-ulps): New target.
16270 [ifeq (no,$(PERL)] (regen-ulps): New target.
16271 * math/libm-test.inc (ulps_file_name): Define.
16272 (output_dir): New variable.
16273 (options): Add "output-dir" option.
16274 (parse_opt): Handle 'o' case.
16275 (main): If output_dir is non-NULL use it as a prefix
16277 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16279 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16281 [BZ #10060, #10062]
16282 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16283 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16284 fail configure if __sync_val_compare_and_swap is not inlined.
16285 * sysdeps/i386/configure: Regenerate.
16286 * configure.in: Build for i686 when configured for i386.
16287 * configure: Regenerate.
16288 * README: Remove i386 reference.
16290 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16292 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16293 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16295 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16297 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16298 (lmsnanval): New variables.
16299 (F): Add conversion tests.
16300 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16301 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16303 * stdio-common/tstdiomisc.c (F): Properly collect individual
16306 [BZ #14686, #15336]
16307 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16308 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16309 Instead, use input NaN values or generate a qNaN by arithmetic
16310 operation. Also fix bugs to comply with the standard.
16311 * math/libm-test.inc (remainder_test): Add more tests.
16313 [BZ #15335, #15342]
16314 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16316 input NaN values or generate a qNaN by arithmetic operation.
16318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16321 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16324 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16327 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16328 underflowed result.
16329 * math/s_cexpf.c (__cexpf): Likewise.
16330 * math/s_cexpl.c (__cexpl): Likewise.
16331 * math/libm-test.inc (cexp_test): Add more tests.
16333 2013-04-03 Andreas Schwab <schwab@suse.de>
16336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16337 order arrays from heap if bigger than alloca cutoff.
16339 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16341 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16342 (SNAN_TESTS_double): Refer to GCC PR56831.
16343 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16346 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16348 * Rules (bench): Move bench.out after the run is complete.
16350 * Rules (bench): Echo currently running benchmark.
16352 * benchtests/Makefile (bench): Add atan and slowatan.
16353 * benchtests/atan-inputs: New file.
16354 * benchtests/slowatan-inputs: New file.
16355 * benchtests/slowatan.c: New file.
16357 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16358 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16362 * sysdeps/unix/sysv/linux/kernel-features.h
16363 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16364 __ASSUME_XFS_RESTRICTED_CHOWN.
16365 * sysdeps/unix/sysv/linux/pathconf.c
16366 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16367 Save and restore errno.
16369 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16372 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16373 arguments using __kernel_casinh.
16374 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16375 arguments using __kernel_casinhf.
16376 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16377 arguments using __kernel_casinhl.
16378 * math/libm-test.inc (cacosh_test): Add more tests.
16379 * sysdeps/i386/fpu/libm-test-ulps: Update.
16380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16382 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16384 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16387 * bench/Makefile (bench): Add sin and slowsin.
16388 * benchtests/sin-inputs: New file.
16389 * benchtests/slowsin-inputs: New file.
16390 * benchtests/slowsin.c: New file.
16392 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16393 (bench): Add slowexp and slowpow.
16394 (exp-ITER): Increase iterations.
16395 (pow-ITER): Likewise.
16396 * benchtests/exp-inputs: Change input.
16397 * benchtests/pow-inputs: Likewise.
16398 * benchtests/slowexp-inputs: New file.
16399 * benchtests/slowexp.c: New file.
16400 * benchtests/slowpow-inputs: New file.
16401 * benchtests/slowpow.c: New file.
16403 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16405 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16407 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16408 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16409 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16410 * benchtests/Makefile: Add rint benchtest.
16411 * benchtests/rint-inputs: Input for rint benchtest.
16413 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16415 * Versions.def (libm): Add GLIBC_2.18.
16416 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16417 hidden libm prototypes.
16418 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16419 * math/Makefile (libm-calls): Add s_issignaling.
16420 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16421 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16422 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16424 * math/math.h [__USE_GNU] (issignaling): New macro.
16425 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16426 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16427 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16428 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16429 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16430 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16431 * manual/arith.texi (issignaling): New section.
16432 * manual/libm-err-tab.pl (@all_functions): Update comment.
16433 * math/gen-libm-test.pl (parse_args): Apply special handling for
16435 * math/libm-test.inc (print_float, issignaling_test): New
16437 (check_float_internal): Add issignaling checks.
16438 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16439 default definition.
16440 * sysdeps/powerpc/math-tests.h: New file.
16441 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16443 * math/test-snan.c (TEST_FUNC): Likewise.
16445 2013-03-30 David S. Miller <davem@davemloft.net>
16447 * po/de.po: Update from translation team.
16449 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16452 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16453 imaginary part less than 1.0 and real part less than 0.5
16455 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16456 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16457 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16458 (cacos_test): Add more tests.
16459 (casin_test): Likewise.
16460 (casinh_test): Likewise.
16461 * sysdeps/i386/fpu/libm-test-ulps: Update.
16462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16464 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16466 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16467 ONE with its value.
16469 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16470 (__pow_mp): Replace ONE and MONE with their values.
16471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16472 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16473 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16474 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16475 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16476 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16478 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16480 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16481 (__pow_mp): Replace ZERO and MZERO with their values.
16482 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16483 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16484 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16486 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16487 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16490 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16492 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16494 2013-03-28 Roland McGrath <roland@hack.frob.com>
16496 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16497 Declare with __attribute__ ((weak)).
16498 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16499 Call __call_tls_dtors only if it's not NULL.
16501 2013-03-28 Roland McGrath <roland@hack.frob.com>
16503 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16504 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16505 magic __ehdr_start linker symbol if it's defined.
16506 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16507 them up here if it was already done.
16509 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16510 (_dl_aux_init): Use const in cast when setting it.
16511 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16512 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16513 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16515 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16517 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16518 * csu/libc-tls.c: Nor here.
16519 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16521 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16522 (__libc_message): Never call vsyslog.
16524 2013-03-28 Alan Modra <amodra@gmail.com>
16526 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16528 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16531 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16534 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16538 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16541 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16542 Don't add gid passed as argument.
16544 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16546 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16549 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16550 imaginary part between 1.0 and 1.5 and real part less than 0.5
16552 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16553 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16554 * math/libm-test.inc (cacos_test): Add more tests.
16555 (casin_test): Likewise.
16556 (casinh_test): Likewise.
16557 * sysdeps/i386/fpu/libm-test-ulps: Update.
16558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16560 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16562 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16565 (denorm): Likewise.
16566 (__dbl_mp): Likewise.
16567 (add_magnitudes): Likewise.
16568 (sub_magnitudes): Likewise.
16576 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16578 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16579 (__dubcos): Likewise.
16580 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16581 (__ieee754_acos): Likewise.
16582 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16583 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16584 (__exp1): Likewise.
16585 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16588 (my_log2): Likewise.
16589 (checkint): Likewise.
16590 * sysdeps/ieee754/dbl-64/e_remainder.c
16591 (__ieee754_remainder): Likewise.
16592 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16593 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16594 (bsloww): Likewise.
16595 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16597 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16598 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16599 MANTISSA_STORE_T to store computations on mantissa. Use
16600 macros for rounding and division.
16601 (denorm): Likewise.
16602 (__dbl_mp): Likewise.
16603 (add_magnitudes): Likewise.
16604 (sub_magnitudes): Likewise.
16607 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16608 powers of two in terms of TWOPOW macro.
16609 (mp_no): Make type of mantissa as MANTISSA_T.
16610 [!RADIXI]: Define RADIXI.
16611 [!TWO52]: Define TWO52.
16612 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16614 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16616 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16617 llroundl symbol when building for PPC32.
16619 2013-03-24 Mark H Weaver <mhw@netris.org>
16621 * manual/arith.texi (Normalization Functions): Fix prototypes for
16622 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16624 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16627 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16628 high value to check if expl overflow.
16629 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16630 to check for underflow and overflow.
16631 * math/libm-test.inc: Add exp test.
16633 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16636 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16639 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16641 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16644 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16646 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16647 wrap blocks consisting of several statements.
16649 * sysdeps/generic/math-tests.h: New file.
16650 * sysdeps/i386/fpu/math-tests.h: Likewise.
16651 * math/test-snan.c: Include it.
16652 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16654 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16657 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16658 (__ieee754_j0l): Do not improve calculations using cos of twice
16659 input for inputs above LDBL_MAX / 2.0L.
16660 (__ieee754_y0l): Likewise.
16661 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16662 (__ieee754_j1l): Do not improve calculations using cos of twice
16663 input for inputs above LDBL_MAX / 2.0L.
16664 (__ieee754_y1l): Likewise.
16665 * math/libm-test.inc (j0_test): Add another test.
16666 (j1_test): Likewise.
16667 (y0_test): Likewise.
16668 (y1_test): Likewise.
16669 * sysdeps/i386/fpu/libm-test-ulps: Update.
16671 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16673 * Rules ($(objpfx)bench-%.c): Include code from a C source
16676 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16679 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16680 imaginary part 1.0 and real part less than 0.5 specially.
16681 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16682 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16683 * math/libm-test.inc (cacos_test): Add more tests.
16684 (casin_test): Likewise.
16685 (casinh_test): Likewise.
16686 * sysdeps/i386/fpu/libm-test-ulps: Update.
16687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16689 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16691 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16692 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16694 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16696 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16697 * config.make.in (config-cflags-sse4): Remove variable.
16698 (config-cflags-avx): Likewise.
16699 (config-cflags-sse2avx): Likewise.
16700 (config-cflags-novzeroupper): Likewise.
16701 (config-asflags-i686): Likewise.
16702 (have-mfma4): Likewise.
16703 (have-as-vis3): Likewise.
16705 * configure.in (MIG): Do not AC_SUBST.
16706 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16707 (libc_cv_cc_sse4): Do not AC_SUBST.
16708 (libc_cv_cc_avx): Likewise.
16709 (libc_cv_cc_sse2avx): Likewise.
16710 (libc_cv_cc_novzeroupper): Likewise.
16711 (libc_cv_cc_fma4): Likewise.
16712 (libc_cv_as_i686): Likewise.
16713 (libc_cv_sparc_as_vis3): Likewise.
16714 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16716 (config-asflags-i686): Likewise.
16717 (config-cflags-avx): Likewise.
16718 (config-cflags-sse2avx): Likewise.
16719 (have-mfma4): Likewise.
16720 (config-cflags-novzeroupper): Likewise.
16721 * sysdeps/mach/configure.in (MIG): Likewise.
16722 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16723 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16725 (config-cflags-avx): Likewise.
16726 (config-cflags-sse2avx): Likewise.
16727 (have-mfma4): Likewise.
16728 (config-cflags-novzeroupper): Likewise.
16729 * configure: Regenerated.
16730 * sysdeps/i386/configure: Likewise.
16731 * sysdeps/mach/configure: Likewise.
16732 * sysdeps/sparc/configure: Likewise.
16733 * sysdeps/x86_64/configure: Likewise.
16735 2013-03-20 Roland McGrath <roland@hack.frob.com>
16738 * locale/programs/localedef.c (options): Put N_ translation marker
16739 on argument names, not just descriptions.
16741 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16743 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16745 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16748 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16750 2013-03-19 Roland McGrath <roland@hack.frob.com>
16752 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16753 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16754 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16755 [!BEFORE_ABORT] (before_abort): New function.
16756 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16757 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16758 (writev_for_fatal): New function.
16759 (WRITEV_FOR_FATAL): New macro; call that.
16760 (backtrace_and_maps): New function.
16761 (BEFORE_ABORT): New macro; call that.
16762 (struct str_list): Type removed.
16763 (__libc_message, __libc_fatal): Functions removed.
16764 Include <sysdeps/posix/libc_fatal.c> instead.
16766 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16768 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16770 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16773 2013-03-19 Andreas Schwab <schwab@suse.de>
16775 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16776 * sysdeps/gnu/configure: Regenerate.
16778 * configure.in: Substitute libc_cv_rtlddir.
16779 * configure: Regenerate.
16780 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16781 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16782 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16783 * elf/Makefile (install-others, CFLAGS-interp.c)
16784 (ldso_install, common-ldd-rewrite): Likewise.
16785 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16786 $(inst_slibdir)/$(rtld-installed-name).
16787 * scripts/rellns-sh: Add -p option.
16788 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16791 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16793 * manual/nptl.texi: Renamed to ...
16794 * manual/threads.texi: ... this.
16795 * manual/Makefile (chapters): Update.
16797 2013-03-18 Roland McGrath <roland@hack.frob.com>
16800 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16801 on argument names, not just descriptions.
16802 * malloc/memusagestat.c (options): Likewise.
16803 * nss/getent.c (options): Likewise.
16805 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16808 * iconv/iconv_prog.c (options): Put N_ translation marker
16809 on argument names, not just descriptions.
16810 * iconv/iconvconfig.c (options): Likewise.
16812 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16814 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16815 implementation which is faster on all x86_64 architectures.
16816 Tested on AMD, Intel Nehalem, SNB, IVB.
16817 * sysdeps/x86_64/strnlen.S: Likewise.
16819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16820 Remove all multiarch strlen and strnlen versions.
16821 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16822 Remove strlen and strnlen related parts.
16824 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16825 Inline strlen part.
16826 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16828 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16829 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16830 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16831 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16832 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16833 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16835 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16837 * manual/memory.texi (Malloc Tunable Parameters):
16838 Sort parameters alphabetically. Add comments for missing entries.
16840 2013-03-17 David S. Miller <davem@davemloft.net>
16842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16844 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16847 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16848 for arguments at most half maximum finite value.
16849 * math/libm-test.inc (j0_test): Add more tests.
16850 (j1_test): Likewise.
16851 (y0_test): Likewise.
16852 (y1_test): Likewise.
16853 * sysdeps/i386/fpu/libm-test-ulps: Update.
16854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16857 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16858 1 / x and functions P and Q for arguments above 0x1p256L.
16859 (__ieee754_y0l): Likewise.
16860 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16861 (__ieee754_y1l): Likewise.
16862 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16863 (j1_test): Likewise.
16864 (y0_test): Likewise.
16865 (y1_test): Likewise.
16867 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16869 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16872 2013-03-15 Roland McGrath <roland@hack.frob.com>
16874 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16875 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16876 zero since it's initialized to EXEC_PAGESIZE.
16878 * sysdeps/unix/sysv/linux/ldsodefs.h
16879 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16880 * sysdeps/generic/ldsodefs.h: ... here.
16882 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16884 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16886 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16888 * math/test-snan.c: Renamed from
16889 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16890 * math/Makefile (tests): Add test-snan.
16891 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16894 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16895 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16897 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16898 __builtin_nan family of functions.
16899 * math/libm-test.inc (initialize): Initialize qnan_value with
16900 __builtin_nan family of functions.
16901 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16903 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16905 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16906 storage class. Initialize qNaN_var and sNaN_var with
16907 __builtin_nan and __builtin_nans families of functions,
16910 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16911 (sqrt_test): Remove duplicate test with qNaN input.
16912 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16913 (round_test, signbit_test, significand_test): Note missing +/-Inf
16914 as well as qNaN tests.
16916 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16917 qNaN_var. Fix a few strings, too.
16918 * math/libm-test.inc (nan_value): Rename to qnan_value.
16919 * math/gen-libm-test.pl (%beautify): Adjust to that.
16920 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16921 * math/test-misc.c (main): Likewise.
16922 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16923 to __qnan_bytes, and __qnan_union, respectively.
16924 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16926 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16927 and lqnanval, respectively.
16928 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16929 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16930 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16931 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16933 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16934 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16937 * math/test-misc.c (main): Fix copy'n'pastos.
16938 * misc/tst-efgcvt.c (special): Likewise.
16940 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16941 Remove declarations.
16943 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16945 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16946 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16947 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16948 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16950 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16952 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16953 macro to return vdso values correctly in IFUNC implementations.
16954 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16955 Optimization by using IFUNC.
16957 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16958 Richard Henderson <rth@redhat.com>
16959 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16961 * Makefile.in (bench): New target.
16962 * NEWS: Mention the benchmark framework.
16963 * Rules (bench): Likewise.
16964 (binaries-bench): Generate binaries for functions to
16966 * benchtests/Makefile: New makefile for benchmark tests.
16967 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16969 * benchtests/exp-inputs: New input file for EXP function.
16970 * benchtests/pow-inputs: New input file for POW function.
16971 * scripts/bench.pl: New script to generate source files for
16972 benchmark programs.
16974 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16976 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16977 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16978 computations on mantissa. Use macros for rounding and
16980 (denorm): Likewise.
16981 (__dbl_mp): Likewise.
16982 (add_magnitudes): Likewise.
16983 (sub_magnitudes): Likewise.
16986 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16987 powers of two in terms of TWOPOW macro.
16988 (mp_no): Make type of mantissa as MANTISSA_T.
16989 [!RADIXI]: Define RADIXI.
16990 [!TWO52]: Define TWO52.
16991 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16993 * manual/nptl.texi (cindex): Modify threads to pthreads.
16995 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16997 * sysdeps/x86_64/preconfigure: Regenerated.
16999 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17002 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17004 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17005 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17007 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17008 * math/libm-test.inc (j0_test): Do not allow one spurious
17009 underflow exception.
17010 (y1_test): Likewise.
17012 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17014 * manual/Makefile (chapters): Add nptl.
17015 * manual/debug.texi (Debugging Support): Add link to Threads
17017 * manual/nptl.texi: New file.
17019 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17021 2013-03-14 Petr Baudis <pasky@ucw.cz>
17023 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17024 for non-NULL pointer before the memory validity test. Pointed
17025 out by Holger Brunck <holger.brunck@keymile.com>.
17027 2013-03-13 Andreas Schwab <schwab@suse.de>
17029 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17032 2013-03-13 Joseph Myers <joseph@codesourcery.com>
17034 * timezone/zic.c: Update from tzcode 2013b.
17036 2013-03-12 Carlos O'Donell <carlos@redhat.com>
17038 * manual/install.texi (Configuring and compiling):
17039 Mention i686 and i586.
17040 * INSTALL: Regenerate.
17042 2013-03-12 Roland McGrath <roland@hack.frob.com>
17044 * sysdeps/init_array/elf-init.c: New file.
17046 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17047 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17049 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17050 __gmon_start__ as global, but as static with a .preinit_array pointer.
17051 * sysdeps/init_array/gmon-start.c: New file. Use that.
17052 * sysdeps/init_array/crti.S: New file, empty except for comments.
17053 * sysdeps/init_array/crtn.S: Likewise.
17055 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17057 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17060 Remove Prefer_SSE_for_memop.
17061 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17062 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17063 HAS_PREFER_SSE_FOR_MEMOP.
17064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17067 Remove bzero, memset ifunc support.
17068 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17069 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17070 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17071 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17073 2013-03-11 Andreas Schwab <schwab@suse.de>
17076 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17079 (GLIBC_2.16): Remove pthread_atfork.
17081 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17083 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17084 (ptestcases.h): Likewise.
17086 2013-03-08 Roland McGrath <roland@hack.frob.com>
17088 * Makeconfig ($(common-objpfx)config.status): Depend on
17089 sysdeps/*/preconfigure{,.in} too.
17091 2013-03-08 Joseph Myers <joseph@codesourcery.com>
17093 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17094 (__free_hook): Use void * instead of __malloc_ptr_t.
17095 (__malloc_hook): Likewise.
17096 (__realloc_hook): Likewise.
17097 (__memalign_hook): Likewise.
17098 (__after_morecore_hook): Likewise.
17099 * malloc/arena.c (save_malloc_hook): Likewise.
17100 (save_free_hook): Likewise.
17101 * malloc/hooks.c (malloc_hook_ini): Likewise.
17102 (realloc_hook_ini): Likewise.
17103 (memalign_hook_ini): Likewise.
17104 * malloc/malloc.c (malloc_hook_ini): Likewise.
17105 (realloc_hook_ini): Likewise.
17106 (memalign_hook_ini): Likewise.
17107 (__free_hook): Likewise.
17108 (__malloc_hook): Likewise.
17109 (__realloc_hook): Likewise.
17110 (__memalign_hook): Likewise.
17111 (__libc_malloc): Likewise.
17112 (__libc_free): Likewise.
17113 (__libc_realloc): Likewise.
17114 (__libc_memalign): Likewise.
17115 (__libc_valloc): Likewise.
17116 (__libc_pvalloc): Likewise.
17117 (__libc_calloc): Likewise.
17118 (__posix_memalign): Likewise.
17119 * malloc/morecore.c (__sbrk): Likewise.
17120 (__default_morecore): Likewise.
17122 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17124 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17125 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17126 __malloc_ptrdiff_t.
17128 * malloc/malloc.h (__malloc_size_t): Remove macro.
17129 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17131 (old_memalign_hook): Likewise.
17132 (old_realloc_hook): Likewise.
17133 (struct hdr): Likewise.
17135 (mallochook): Likewise.
17136 (memalignhook): Likewise.
17137 (reallochook): Likewise.
17138 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17139 (tr_old_realloc_hook): Likewise.
17140 (tr_old_memalign_hook): Likewise.
17141 (tr_mallochook): Likewise.
17142 (tr_reallochook): Likewise.
17143 (tr_memalignhook): Likewise.
17145 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17147 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17148 default_ldbl_pack and using as default implementation.
17149 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17151 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17152 redundant definition.
17153 (ldbl_insert_mantissa): Likewise.
17154 (ldbl_canonicalize): Likewise.
17155 (ldbl_nearbyint): Likewise.
17156 (ldbl_pack): Rename to ldbl_pack_ppc.
17157 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17158 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17159 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17161 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17164 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17165 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17166 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17168 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17169 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17170 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17172 2013-03-07 Andreas Jaeger <aj@suse.de>
17174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17177 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17179 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17180 Include mpa.h and declare __MPEXP.
17181 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17182 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17183 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17184 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17185 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17186 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17187 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17189 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17190 (__slowpow): Use long double EXPL and LOGL functions to
17192 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17193 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17194 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17195 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17196 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17197 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17200 intermediate variable to calculate exponent.
17202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17206 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17207 [!NO__SQR]: Define __sqr.
17208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17209 and NO__SQR. Remove all code except __mul and __sqr. Include
17210 sysdeps/ieee754/dbl-64/mpa.c.
17211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17214 * posix/Makefile (tests): Add tst-pathconf.
17215 * posix/tst-pathconf.c: New test case.
17216 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17218 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17220 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17222 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17224 2013-03-06 Andreas Jaeger <aj@suse.de>
17226 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17227 definition via __MAP_ANONYMOUS.
17229 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17230 it's not part of Linux headers.
17232 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17233 (MAP_HUGE_MASK): Define.
17235 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17237 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17238 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17240 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17241 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17243 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17244 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17246 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17248 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17249 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17250 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17251 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17252 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17253 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17255 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17258 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17259 Handle f2fs and efivarfs.
17261 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17264 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17265 (EFIVARFS_MAGIC): Add.
17266 (F2FS_LINK_MAX): Add.
17268 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17270 * stdio-common/vfprintf.c: Replace __builtin_expect with
17273 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17276 * sysdeps/generic/bp-sym.h: Remove file.
17277 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17278 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17279 <bp-sym.h> and <bp-asm.h>.
17280 (__longjmp): Don't use BP_SYM.
17281 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17283 (memcpy): Don't use BP_SYM.
17284 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17285 <bp-sym.h> and <bp-asm.h>.
17286 (memcpy): Don't use BP_SYM.
17287 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17289 (memcpy): Don't use BP_SYM.
17290 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17292 (memset): Don't use BP_SYM.
17293 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17294 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17295 (__bzero): Don't use BP_SYM.
17296 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17297 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17298 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17299 <bp-sym.h> and <bp-asm.h>.
17300 (memcmp): Don't use BP_SYM. Remove comment about bounded
17302 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17303 <bp-sym.h> and <bp-asm.h>.
17304 (memcpy): Don't use BP_SYM.
17305 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17306 <bp-sym.h> and <bp-asm.h>.
17307 (memset): Don't use BP_SYM.
17308 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17309 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17310 (__bzero): Don't use BP_SYM.
17311 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17312 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17313 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17314 <bp-sym.h> and <bp-asm.h>.
17315 (strncmp): Don't use BP_SYM. Remove comment about bounded
17317 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17318 <bp-sym.h> and <bp-asm.h>.
17319 (memcpy): Don't use BP_SYM.
17320 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17321 <bp-sym.h> and <bp-asm.h>.
17322 (memset): Don't use BP_SYM.
17323 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17324 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17325 (__bzero): Don't use BP_SYM.
17326 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17327 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17328 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17329 <bp-sym.h> and <bp-asm.h>.
17330 (__memchr): Don't use BP_SYM.
17331 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17332 <bp-sym.h> and <bp-asm.h>.
17333 (memcmp): Don't use BP_SYM. Remove comment about bounded
17335 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17336 <bp-sym.h> and <bp-asm.h>.
17337 (memcpy): Don't use BP_SYM.
17338 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17339 <bp-sym.h> and <bp-asm.h>.
17340 (__mempcpy): Don't use BP_SYM.
17341 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17342 <bp-sym.h> and <bp-asm.h>.
17343 (__memrchr): Don't use BP_SYM.
17344 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17345 <bp-sym.h> and <bp-asm.h>.
17346 (memset): Don't use BP_SYM.
17347 (__bzero): Likewise.
17348 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17349 <bp-sym.h> and <bp-asm.h>.
17350 (__rawmemchr): Don't use BP_SYM.
17351 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17352 <bp-sym.h> and <bp-asm.h>.
17353 (__STRCMP): Don't use BP_SYM.
17354 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17355 <bp-sym.h> and <bp-asm.h>.
17356 (strchr): Don't use BP_SYM.
17357 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17358 <bp-sym.h> and <bp-asm.h>.
17359 (__strchrnul): Don't use BP_SYM.
17360 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17361 <bp-sym.h> and <bp-asm.h>.
17362 (strlen): Don't use BP_SYM.
17363 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17364 <bp-sym.h> and <bp-asm.h>.
17365 (strncmp): Don't use BP_SYM. Remove comment about bounded
17367 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17368 <bp-sym.h> and <bp-asm.h>.
17369 (__strnlen): Don't use BP_SYM.
17370 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17371 <bp-sym.h> and <bp-asm.h>.
17372 (__GI__setjmp): Don't use BP_SYM.
17373 (_setjmp): Likewise.
17374 (__sigsetjmp): Likewise.
17375 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17376 (L(start_addresses)): Don't use BP_SYM.
17377 (_start): Likewise.
17378 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17380 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17381 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17382 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17383 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17384 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17386 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17387 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17388 about bounded pointers.
17389 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17390 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17391 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17393 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17394 about bounded pointers. Remove GKM FIXME comments.
17395 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17396 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17398 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17399 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17400 Remove GKM FIXME comments.
17401 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17402 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17403 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17405 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17406 about bounded pointers. Remove GKM FIXME comment.
17407 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17409 (strncmp): Don't use BP_SYM. Remove comment about bounded
17411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17412 <bp-sym.h> and <bp-asm.h>.
17413 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17415 <bp-sym.h> and <bp-asm.h>.
17416 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17419 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17421 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17424 2013-03-05 David S. Miller <davem@davemloft.net>
17426 * po/es.po: Update from translation team.
17428 2013-03-05 Andreas Jaeger <aj@suse.de>
17430 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17431 <bits/mman-linux.h>.
17432 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17434 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17435 <bits/mman-linux.h> to end of file.
17436 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17438 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17439 <bits/mman-linux.h> to end of file.
17440 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17442 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17443 <bits/mman-linux.h> to end of file.
17445 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17446 (MCL_CURRENT, MCL_FUTURE): Define here.
17448 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17451 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17453 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17455 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17457 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17458 fourth parameter needed for rt_sigprocmask syscall.
17459 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17460 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17461 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17462 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17463 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17464 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17466 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17469 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17470 comment about bounded pointers.
17471 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17472 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17474 2013-03-04 Andreas Jaeger <aj@suse.de>
17476 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17477 common definitions.
17479 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17480 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17481 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17482 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17483 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17484 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17486 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17489 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17490 __ieee754_sqrl instead of __sqrl.
17492 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17494 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17495 * sysdeps/powerpc/fpu_control.h: ... here.
17496 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17497 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17498 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17499 * sysdeps/powerpc/bits/mathinline.h: ... here.
17501 2013-03-01 Roland McGrath <roland@hack.frob.com>
17503 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17504 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17505 to just [NEED_DL_SYSINFO_DSO].
17506 * elf/dl-support.c: Likewise.
17507 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17508 * elf/rtld.c (dl_main): Likewise.
17509 * elf/setup-vdso.h (setup_vdso): Likewise.
17510 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17511 * sysdeps/unix/sysv/linux/dl-sysdep.c
17512 (_dl_discover_osversion): Likewise.
17514 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17516 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17517 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17519 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17521 * NEWS: Mention libm performance improvements and non-x86 PI
17524 * csu/libc-start.c (__pthread_initialize_minimal): Change
17525 function arguments.
17526 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17528 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17531 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17532 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17533 <bp-sym.h> and <bp-asm.h>.
17534 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17535 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17537 (memcpy): Don't use BP_SYM.
17538 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17540 (__mpn_add_n): Don't use BP_SYM.
17541 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17542 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17544 (__mpn_addmul_1): Don't use BP_SYM.
17545 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17546 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17548 (_setjmp): Don't use BP_SYM.
17549 (__novmx_setjmp): Likewise.
17550 (__GI__setjmp): Likewise.
17551 (__vmx_setjmp): Likewise.
17552 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17554 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17555 (__bzero): Don't use BP_SYM.
17556 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17557 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17558 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17559 <bp-sym.h> and <bp-asm.h>.
17560 (memcpy): Don't use BP_SYM.
17561 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17562 <bp-sym.h> and <bp-asm.h>.
17563 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17564 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17565 <bp-sym.h> and <bp-asm.h>.
17566 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17567 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17569 (__mpn_lshift): Don't use BP_SYM.
17570 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17571 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17573 (memset): Don't use BP_SYM.
17574 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17575 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17576 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17578 (__mpn_mul_1): Don't use BP_SYM.
17579 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17580 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17581 <bp-sym.h> and <bp-asm.h>.
17582 (memcmp): Don't use BP_SYM.
17583 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17584 <bp-sym.h> and <bp-asm.h>.
17585 (memcpy): Don't use BP_SYM.
17586 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17587 <bp-sym.h> and <bp-asm.h>.
17588 (memset): Don't use BP_SYM.
17589 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17590 <bp-sym.h> and <bp-asm.h>.
17591 (strncmp): Don't use BP_SYM.
17592 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17593 <bp-sym.h> and <bp-asm.h>.
17594 (memcpy): Don't use BP_SYM.
17595 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17596 <bp-sym.h> and <bp-asm.h>.
17597 (memset): Don't use BP_SYM.
17598 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17599 <bp-sym.h> and <bp-asm.h>.
17600 (__memchr): Don't use BP_SYM.
17601 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17602 <bp-sym.h> and <bp-asm.h>.
17603 (memcmp): Don't use BP_SYM.
17604 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17605 <bp-sym.h> and <bp-asm.h>.
17606 (memcpy): Don't use BP_SYM.
17607 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17608 <bp-sym.h> and <bp-asm.h>.
17609 (__mempcpy): Don't use BP_SYM.
17610 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17611 <bp-sym.h> and <bp-asm.h>.
17612 (__memrchr): Don't use BP_SYM.
17613 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17614 <bp-sym.h> and <bp-asm.h>.
17615 (memset): Don't use BP_SYM.
17616 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17617 <bp-sym.h> and <bp-asm.h>.
17618 (__rawmemchr): Don't use BP_SYM.
17619 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17620 <bp-sym.h> and <bp-asm.h>.
17621 (__STRCMP): Don't use BP_SYM.
17622 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17623 <bp-sym.h> and <bp-asm.h>.
17624 (strchr): Don't use BP_SYM.
17625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17626 <bp-sym.h> and <bp-asm.h>.
17627 (__strchrnul): Don't use BP_SYM.
17628 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17629 <bp-sym.h> and <bp-asm.h>.
17630 (strlen): Don't use BP_SYM.
17631 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17632 <bp-sym.h> and <bp-asm.h>.
17633 (strncmp): Don't use BP_SYM.
17634 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17635 <bp-sym.h> and <bp-asm.h>.
17636 (__strnlen): Don't use BP_SYM.
17637 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17639 (__mpn_rshift): Don't use BP_SYM.
17640 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17641 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17642 <bp-sym.h> and <bp-asm.h>.
17643 (__sigsetjmp): Don't use BP_SYM.
17644 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17645 (L(start_addresses)): Don't use BP_SYM.
17646 (_start): Likewise.
17647 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17649 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17650 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17651 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17652 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17654 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17655 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17656 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17657 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17659 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17661 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17662 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17664 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17666 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17667 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17668 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17670 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17672 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17674 (strncmp): Don't use BP_SYM,
17675 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17677 (__mpn_sub_n): Don't use BP_SYM.
17678 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17679 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17681 (__mpn_submul_1): Don't use BP_SYM.
17682 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17684 <bp-sym.h> and <bp-asm.h>.
17685 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17687 <bp-sym.h> and <bp-asm.h>.
17688 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17691 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17694 Use ZK to minimize writes to Z.
17695 (sub_magnitudes): Simplify code a bit.
17696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17697 Use ZK to minimize writes to Z.
17698 (sub_magnitudes): Simplify code a bit.
17700 2013-02-27 Roland McGrath <roland@hack.frob.com>
17702 * csu/gmon-start.c: Add special exception to license text.
17704 2013-02-27 Richard Henderson <rth@redhat.com>
17706 * scripts/config.guess: Update from config.git.
17707 * scripts/config.sub: Likewise.
17709 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17711 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17713 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17715 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17717 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17719 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17721 2013-02-26 Roland McGrath <roland@hack.frob.com>
17723 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17724 [$(build-shared = yes].
17726 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17728 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17729 (__mul): Reduce iterations for calculating mantissa.
17731 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17733 (__mpranred): Likewise.
17736 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17737 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17739 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17741 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17742 Define __attribute__.
17744 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17746 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17748 * posix/regex_internal.h (__attribute): Remove.
17749 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17750 (re_string_context_at): Likewise.
17751 (bitset_not): Use __attribute__ and mark function as possibly
17753 (bitset_merge): Likewise.
17754 (bitset_mask): Likewise.
17755 (re_string_char_size_at): Likewise.
17756 (re_string_wchar_at): Likewise.
17757 (re_string_elem_size_at): Likewise.
17759 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17761 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17765 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17769 (denorm): Likewise.
17770 (__dbl_mp): Likewise.
17771 (add_magnitudes): Likewise.
17772 (sub_magnitudes): Likewise.
17776 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17779 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17782 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17786 up changes with default code.
17787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17790 2013-02-24 Allan McRae <allan@archlinux.org>
17792 * manual/socket.texi (The Internet Namespace): Order menu items
17793 to match that in the file.
17795 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17796 node listing of the info page menu.
17798 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17801 * sysdeps/i386/bp-asm.h: Remove file.
17802 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17803 (PARMS): Do not use macros from bp-asm.h.
17807 (__mpn_add_n): Do not use BP_SYM
17808 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17810 (PARMS): Do not use macros from bp-asm.h.
17813 (__mpn_addmul_1): Do not use BP_SYM
17814 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17816 (PARMS): Do not use macros from bp-asm.h.
17817 (SIGMSK): Likewise.
17818 (_setjmp): Likewise. Do not use BP_SYM.
17819 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17821 (PARMS): Do not use macros from bp-asm.h.
17822 (SIGMSK): Likewise.
17823 (setjmp): Likewise. Do not use BP_SYM.
17824 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17826 (PARMS): Do not use macros from bp-asm.h.
17827 (__frexp): Do not use BP_SYM.
17829 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17831 (PARMS): Do not use macros from bp-asm.h.
17832 (__frexpf): Do not use BP_SYM.
17833 (frexpf): Likewise.
17834 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17836 (PARMS): Do not use macros from bp-asm.h.
17837 (__frexpl): Do not use BP_SYM.
17838 (frexpl): Likewise.
17839 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17841 (PARMS): Do not use macros from bp-asm.h.
17842 (__remquo): Do not use BP_SYM.
17843 (remquo): Likewise.
17844 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17846 (PARMS): Do not use macros from bp-asm.h.
17847 (__remquof): Do not use BP_SYM.
17848 (remquof): Likewise.
17849 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17851 (PARMS): Do not use macros from bp-asm.h.
17852 (__remquol): Do not use BP_SYM.
17853 (remquol): Likewise.
17854 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17856 (PARMS): Do not use macros from bp-asm.h.
17859 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17860 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17862 (PARMS): Do not use macros from bp-asm.h.
17863 (strlen): Do not use BP_SYM.
17864 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17866 (PARMS): Do not use macros from bp-asm.h.
17870 (__mpn_add_n): Do not use BP_SYM.
17871 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17873 (PARMS): Do not use macros from bp-asm.h.
17876 (__mpn_addmul_1): Do not use BP_SYM.
17877 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17880 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17882 (PARMS): Do not use macros from bp-asm.h.
17885 (__mpn_lshift): Do not use BP_SYM.
17886 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17888 (PARMS): Do not use macros from bp-asm.h.
17892 (memcpy): Likewise. Do not use BP_SYM.
17893 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17894 libc_hidden_def and weak_alias.
17895 (mempcpy): Do not use BP_SYM in weak_alias.
17896 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17898 (PARMS): Do not use macros from bp-asm.h.
17901 [!BZERO_P] (CHR): Likewise.
17902 (memset): Likewise. Do not use BP_SYM.
17903 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17905 (PARMS): Do not use macros from bp-asm.h.
17908 (__mpn_mul_1): Do not use BP_SYM.
17909 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17911 (PARMS): Do not use macros from bp-asm.h.
17914 (__mpn_rshift): Do not use BP_SYM.
17915 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17917 (PARMS): Do not use macros from bp-asm.h.
17920 (strchr): Likewise. Do not use BP_SYM.
17921 (index): Do not use BP_SYM in weak_alias.
17922 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17924 (PARMS): Do not use macros from bp-asm.h.
17927 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17928 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17930 (PARMS): Do not use macros from bp-asm.h.
17931 (strlen): Do not use BP_SYM.
17932 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17934 (PARMS): Do not use macros from bp-asm.h.
17938 (__mpn_sub_n): Do not use BP_SYM.
17939 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17941 (PARMS): Do not use macros from bp-asm.h.
17944 (__mpn_submul_1): Do not use BP_SYM.
17945 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17947 (PARMS): Do not use macros from bp-asm.h.
17951 (__mpn_add_n): Do not use BP_SYM.
17952 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17955 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17957 (PARMS): Do not use macros from bp-asm.h.
17960 (memcmp): Do not use BP_SYM.
17961 (bcmp): Do not use BP_SYM in weak_alias.
17962 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17964 (PARMS): Do not use macros from bp-asm.h.
17968 (memcpy): Likewise. Do not use BP_SYM.
17969 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17971 (PARMS): Do not use macros from bp-asm.h.
17975 (memmove): Likewise. Do not use BP_SYM.
17976 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17978 (PARMS): Do not use macros from bp-asm.h.
17982 (__mempcpy): Likewise. Do not use BP_SYM.
17983 (mempcpy): Do not use BP_SYM in weak_alias.
17984 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17986 (PARMS): Do not use macros from bp-asm.h.
17989 [!BZERO_P] (CHR): Likewise.
17990 (memset): Likewise. Do not use BP_SYM.
17991 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17993 (PARMS): Do not use macros from bp-asm.h.
17995 (strcmp): Do not use BP_SYM.
17996 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17998 (PARMS): Do not use macros from bp-asm.h.
18001 [USE_AS_STRTOK_R] (SAVE): Likewise.
18002 (FUNCTION): Likewise. Do not use BP_SYM.
18003 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18005 (strtok_r): Likewise.
18006 (__GI___strtok_r): Likewise.
18007 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18008 (PARMS): Do not use macros from bp-asm.h.
18011 (__mpn_lshift): Do not use BP_SYM.
18012 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18013 (PARMS): Do not use macros from bp-asm.h.
18016 (__memchr): Do not use BP_SYM.
18017 (memchr): Do not use BP_SYM in weak_alias.
18018 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18019 (PARMS): Do not use macros from bp-asm.h.
18022 (memcmp): Do not use BP_SYM.
18023 (bcmp): Do not use BP_SYM in weak_alias.
18024 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18025 (PARMS): Do not use macros from bp-asm.h.
18028 (__mpn_mul_1): Do not use BP_SYM.
18029 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18031 (PARMS): Do not use macros from bp-asm.h.
18034 (__rawmemchr): Do not use BP_SYM.
18035 (rawmemchr): Do not use BP_SYM in weak_alias.
18036 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18037 (PARMS): Do not use macros from bp-asm.h.
18040 (__mpn_rshift): Do not use BP_SYM.
18041 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18042 (PARMS): Do not use macros from bp-asm.h.
18043 (SIGMSK): Likewise.
18044 (__sigsetjmp): Likewise. Do not use BP_SYM.
18045 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18046 (_start): Do not use BP_SYM.
18047 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18048 (PARMS): Do not use macros from bp-asm.h.
18051 (__stpcpy): Likewise. Do not use BP_SYM.
18052 (stpcpy): Do not use BP_SYM in weak_alias.
18053 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18055 (PARMS): Do not use macros from bp-asm.h.
18059 (__stpncpy): Likewise. Do not use BP_SYM.
18060 (stpncpy): Do not use BP_SYM in weak_alias.
18061 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18062 (PARMS): Do not use macros from bp-asm.h.
18065 (strchr): Likewise. Do not use BP_SYM.
18066 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18068 (PARMS): Do not use macros from bp-asm.h.
18071 (__strchrnul): Likewise. Do not use BP_SYM.
18072 (strchrnul): Do not use BP_SYM in weak_alias.
18073 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18075 (PARMS): Do not use macros from bp-asm.h.
18077 (strcspn): Do not use BP_SYM.
18078 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18080 (PARMS): Do not use macros from bp-asm.h.
18083 (strpbrk): Likewise. Do not use BP_SYM.
18084 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18086 (PARMS): Do not use macros from bp-asm.h.
18089 (strrchr): Likewise. Do not use BP_SYM.
18090 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18091 (PARMS): Do not use macros from bp-asm.h.
18093 (strspn): Do not use BP_SYM.
18094 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18095 (PARMS): Do not use macros from bp-asm.h.
18099 (FUNCTION): Likewise. Do not use BP_SYM.
18100 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18102 (strtok_r): Likewise.
18103 (__GI___strtok_r): Likewise.
18104 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18105 (PARMS): Do not use macros from bp-asm.h.
18109 (__mpn_sub_n): Do not use BP_SYM.
18110 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18112 (PARMS): Do not use macros from bp-asm.h.
18115 (__mpn_submul_1): Do not use BP_SYM.
18116 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18118 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18120 (PARMS): Do not use macros from bp-asm.h.
18125 (__clone): Do not use BP_SYM.
18126 (clone): Do not use BP_SYM in weak_alias.
18127 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18129 (PARMS): Do not use macros from bp-asm.h.
18131 (__mmap64): Do not use BP_SYM.
18132 (mmap64): Do not use BP_SYM in weak_alias.
18133 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18134 <bp-sym.h> and <bp-asm.h>.
18135 (PARMS): Do not use macros from bp-asm.h.
18136 (__posix_fadvise64_l64): Do not use BP_SYM.
18137 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18138 (PARMS): Do not use macros from bp-asm.h.
18140 (semtimedop): Do not use BP_SYM.
18141 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18144 2013-02-21 Allan McRae <allan@archlinux.org>
18146 * manual/message.texi (Charset conversion in gettext):
18147 Move @end statement to beginning of line.
18149 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18151 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18156 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18157 (denorm): Likewise.
18158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18161 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18163 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18164 tail-call to the resolved function if pltexit isn't needed.
18166 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18169 or Y being zero as being unlikely.
18170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18173 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18175 * manual/nss.texi (System Databases and Name Service Switch):
18176 Remove frobnicate @pxref.
18178 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18180 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18181 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18183 2013-02-20 Petr Machata <pmachata@redhat.com>
18185 * elf/elf.h (R_ARM_TARGET1): New macro.
18186 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18187 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18188 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18189 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18190 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18191 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18192 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18193 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18194 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18195 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18196 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18197 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18198 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18199 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18200 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18201 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18202 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18203 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18204 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18205 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18206 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18207 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18208 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18209 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18210 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18211 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18212 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18213 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18214 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18215 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18216 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18217 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18218 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18219 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18220 (R_ARM_THM_GOT_BREL12): Likewise.
18221 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18222 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18223 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18224 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18225 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18226 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18227 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18228 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18229 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18231 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18233 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18234 __attribute_used__ to __attribute__ ((unused)).
18236 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18238 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18241 comment formatting.
18242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18244 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18247 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18249 (ENTER): Remove both macro definitions.
18251 (CHECK_BOUNDS_LOW): Likewise.
18252 (CHECK_BOUNDS_HIGH): Likewise.
18253 (CHECK_BOUNDS_BOTH): Likewise.
18254 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18255 (RETURN_BOUNDED_POINTER): Likewise.
18256 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18257 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18258 (POP_ERRNO_LOCATION_RETURN): Likewise.
18259 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18260 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18261 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18263 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18264 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18265 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18266 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18267 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18268 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18269 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18270 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18271 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18272 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18273 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18274 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18275 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18276 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18278 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18279 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18281 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18282 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18283 * sysdeps/i386/i586/memset.S (memset): Likewise.
18284 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18285 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18286 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18288 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18289 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18290 Change uses of L(2) to L(out).
18291 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18292 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18293 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18294 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18295 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18297 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18298 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18300 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18301 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18302 (RETURN): Do not use macro LEAVE.
18303 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18304 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18305 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18306 * sysdeps/i386/i686/memset.S (memset): Likewise.
18307 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18308 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18309 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18310 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18312 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18313 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18314 L(1_2) and L(1_3) into L(1).
18315 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18316 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18317 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18318 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18319 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18320 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18321 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18322 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18323 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18325 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18326 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18327 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18328 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18329 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18330 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18331 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18332 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18333 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18334 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18335 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18336 * sysdeps/i386/strspn.S (strspn): Likewise.
18337 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18339 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18340 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18341 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18342 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18343 L(1_3) into L(1_1).
18344 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18345 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18346 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18348 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18350 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18352 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18355 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18357 * math/atest-exp.c (exp_mpn): Remove ROUND.
18358 * math/atest-exp2.c (exp_mpn): Likewise.
18359 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18361 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18362 * stdlib/tst-tls-atexit-lib.c: Likewise.
18363 * stdlib/tst-tls-atexit.c: Likewise.
18365 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18367 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18368 and __attribute_alloc_size__.
18370 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18372 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18373 __attribute_alloc_size__.
18374 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18375 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18377 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18379 * include/programs/xmalloc.h: New file.
18380 * catgets/gencat.c: Include it.
18381 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18382 * elf/pldd.c: Likewise.
18383 * iconv/iconv_charmap.c: Likewise.
18384 * iconv/iconvconfig.c: Likewise.
18385 * iconv/strtab.c: Likewise.
18386 * locale/programs/locale.c: Likewise.
18387 * locale/programs/localedef.h: Likewise.
18388 * locale/programs/simple-hash.c: Likewise.
18389 * nscd/nscd.h: Likewise.
18390 * nss/makedb.c: Likewise.
18391 * sysdeps/generic/ldconfig.h: Likewise.
18393 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18395 * Versions.def: Add GLIBC_2.18.
18396 * include/link.h (struct link_map): New member l_tls_dtor_count.
18397 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18398 (__call_tls_dtors): Likewise.
18399 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18400 __cxa_thread_atexit_impl.
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18417 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18418 (tests): Add test case tst-tls-atexit.
18419 (modules-names): Add shared library for tst-tls-atexit.
18420 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18421 (GLIBC_PRIVATE): Add __call_tls_dtors.
18422 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18424 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18425 * stdlib/tst-tls-atexit.c: New test case.
18426 * stdlib/tst-tls-atexit-lib.c: New test case.
18428 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18430 * elf/Versions (ld): Add _dl_find_dso_for_object.
18431 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18432 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18433 (dl_open_worker): Use _dl_find_dso_for_object.
18434 * elf/dl-sym.c (do_sym): Likewise.
18435 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18437 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18439 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18440 Syntactic changes only.
18441 (_dl_runtime_profile): Do a tail-call to the resolved function.
18443 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18446 * sysdeps/x86_64/bp-asm.h: Remove file.
18447 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18448 <bp-sym.h> and <bp-asm.h>.
18449 (__clone): Do not use BP_SYM.
18450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18451 <bp-sym.h> and <bp-asm.h>.
18452 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18453 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18455 (_setjmp): Do not use BP_SYM.
18456 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18458 (setjmp): Do not use BP_SYM.
18459 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18461 (mempcpy): Do not use BP_SYM in weak_alias.
18462 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18464 (strchr): Do not use BP_SYM.
18465 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18467 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18468 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18469 (_start): Do not use BP_SYM.
18470 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18472 (strcat): Do not use BP_SYM.
18473 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18475 (STRCMP): Do not use BP_SYM.
18476 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18478 (STRCPY): Do not use BP_SYM.
18479 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18481 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18483 (FUNCTION): Do not use BP_SYM.
18484 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18486 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18488 2013-02-17 Andreas Jaeger <aj@suse.de>
18490 * time/Versions: Sort entries.
18491 * string/Versions: Likewise.
18492 * resolv/Versions: Likewise.
18493 * posix/Versions: Likewise.
18494 * iconv/Versions: Likewise.
18495 * elf/Versions: Likewise.
18496 * wcsmbs/Versions: Likewise.
18498 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18500 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18501 loop termination condition.
18503 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18504 variable to calculate EZ.
18507 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18508 the lower precision input.
18510 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18513 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18514 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18515 (run-via-rtld-prefix): Do not handle %-bp tests.
18516 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18517 (all-object-suffixes): Remove .ob.
18518 (bppfx): Remove variable.
18519 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18520 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18521 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18522 [$(build-bounded) = yes] (libtype.ob): Likewise.
18523 * Makerules (elide-routines.ob): Remove variable.
18524 (do-tests-clean): Do not handle *-bp.out.
18525 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18526 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18527 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18528 (tests): Do not include $(tests-bp.out).
18529 (xtests): Do not include $(xtests-bp.out).
18530 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18531 [$(build-bounded) = yes] ($(addprefix
18532 $(objpfx),$(binaries-bounded))): Remove rule.
18533 ($(objpfx)%-bp.out): Remove rule.
18534 * config.make.in (build-bounded): Remove variable.
18535 * crypt/Makefile [$(build-bounded) = yes]
18536 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18537 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18538 append to variable.
18539 [$(build-bounded) = yes] (install-lib): Likewise.
18540 [$(build-bounded) = yes] (generated): Likewise.
18541 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18543 * intl/Makefile [$(build-bounded) = yes]
18544 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18545 * math/Makefile [$(build-bounded) = yes]
18546 ($(tests:%=$(objpfx)%-bp): Likewise.
18547 * misc/Makefile [$(build-bounded) = yes]
18548 ($(objpfx)tst-tsearch-bp): Likewise.
18549 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18550 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18552 * string/Makefile (o-objects.ob): Remove variable.
18553 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18554 (CFLAGS-.ob): Remove variable.
18555 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18556 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18557 both definitions of variable.
18558 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18559 (ASFLAGS-.ob): Remove variable.
18561 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18564 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18565 Remove __BOUNDED_POINTERS__ from condition.
18566 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18567 * string/bits/string2.h [!__NO_STRING_INLINES &&
18568 !__BOUNDED_POINTERS__]: Likewise.
18569 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18571 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18572 Remove conditional code.
18573 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18574 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18575 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18579 * csu/libc-start.c: Do not include <bp-sym.h>.
18580 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18581 * elf/dl-open.c: Do not include <bp-sym.h>.
18582 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18583 * math/fegetenv.c: Do not include <bp-sym.h>.
18584 (fegetenv): Do not use BP_SYM in versioned symbols.
18585 * nptl/sysdeps/pthread/bits/libc-lockP.h
18586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18589 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18591 (__pthread_mutex_destroy): Likewise.
18592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18593 (__pthread_mutex_lock): Likewise.
18594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18595 (__pthread_mutex_trylock): Likewise.
18596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18597 (__pthread_mutex_unlock): Likewise.
18598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18599 (__pthread_mutexattr_init): Likewise.
18600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18601 (__pthread_mutexattr_destroy): Likewise.
18602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18603 (__pthread_mutexattr_settype): Likewise.
18604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18605 (__pthread_rwlock_init): Likewise.
18606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18607 (__pthread_rwlock_destroy): Likewise.
18608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18609 (__pthread_rwlock_rdlock): Likewise.
18610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18611 (__pthread_rwlock_tryrdlock): Likewise.
18612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18613 (__pthread_rwlock_wrlock): Likewise.
18614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18615 (__pthread_rwlock_trywrlock): Likewise.
18616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18617 (__pthread_rwlock_unlock): Likewise.
18618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18619 (__pthread_key_create): Likewise.
18620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18621 (__pthread_setspecific): Likewise.
18622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18623 (__pthread_getspecific): Likewise.
18624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18627 (_pthread_cleanup_push_defer): Likewise.
18628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18629 (_pthread_cleanup_pop_restore): Likewise.
18630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18631 (pthread_setcancelstate): Likewise.
18632 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18634 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18635 (memchr): Do not use BP_SYM in weak_alias.
18636 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18637 (fegetenv): Do not use BP_SYM in versioned symbols.
18638 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18639 (fesetenv): Do not use BP_SYM in versioned symbols.
18640 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18641 (feupdateenv): Do not use BP_SYM in versioned symbols.
18642 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18643 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18644 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18645 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18646 (open64): Do not use BP_SYM in weak_alias.
18647 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18648 (fegetenv): Do not use BP_SYM in versioned symbols.
18649 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18650 (fesetenv): Do not use BP_SYM in versioned symbols.
18651 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18652 (feupdateenv): Do not use BP_SYM in versioned symbols.
18653 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18654 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18655 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18656 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18657 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18658 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18659 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18661 (__libc_start_main): Do not use BP_SYM.
18663 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18666 redundant return line.
18668 (denorm): Likewise.
18669 (dbl_mp): Likewise.
18670 (sub_magnitudes): Likewise.
18676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18678 (denorm): Likewise.
18679 (dbl_mp): Likewise.
18680 (sub_magnitudes): Likewise.
18687 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18689 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18690 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18693 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18694 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18696 of __mul for squares.
18697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18701 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18702 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18704 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18707 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18709 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18710 prototype or function definition. Rename ubp_* variables and
18711 parameters. Remove argv definitions conditional on
18712 [__BOUNDED_POINTERS__].
18713 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18714 * elf/dl-runtime.c (_dl_fixup): Likewise.
18715 * include/set-hooks.h (RUN_HOOK): Likewise.
18716 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18718 * string/strcpy.c (strcpy): Do not use __unbounded.
18719 * sysdeps/generic/frame.h (struct layout): Likewise.
18720 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18721 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18722 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18723 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18724 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18725 (__backtrace): Likewise.
18726 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18728 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18729 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18730 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18732 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18733 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18734 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18735 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18736 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18737 Do not use __unbounded.
18738 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18739 Rename __unboundedrlimits parameter to rlimits in prototype.
18740 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18741 Do not use __unbounded.
18742 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18743 not use __ptrvalue.
18744 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18745 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18746 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18747 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18748 __ptrvalue or __unbounded.
18749 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18750 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18752 (__new_msgctl): Do not use __ptrvalue.
18753 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18755 (__libc_msgrcv): Do not use __ptrvalue.
18756 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18757 startup_info): Do not use __unbounded.
18758 (__libc_start_main): Likewise. Rename ubp_* variables and
18759 parameters. Remove argv definitions conditional on
18760 [__BOUNDED_POINTERS__].
18761 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18763 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18765 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18767 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18769 (__new_shmctl): Do not use __ptrvalue.
18770 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18771 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18773 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18774 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18775 (__libc_sigaction): Likewise.
18776 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18777 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18779 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18781 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18783 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18785 * string/mempcpy.c: Implement by calling memcpy.
18787 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18794 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18795 values in the mantissa.
18797 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18798 minimize writes to Z.
18799 (sub_magnitudes): Simplify code a bit.
18801 2013-02-12 Roland McGrath <roland@hack.frob.com>
18803 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18804 from the message. The linker prefixes all warnings with that already.
18806 2013-02-12 Andreas Schwab <schwab@suse.de>
18809 * posix/regexec.c (extend_buffers): Add parameter min_len.
18810 (check_matching): Pass minimum needed length.
18811 (clean_state_log_if_needed): Likewise.
18812 (get_subexp): Likewise.
18813 * posix/Makefile (tests): Add bug-regex34.
18814 (bug-regex34-ENV): Define.
18815 * posix/bug-regex34.c: New file.
18818 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18819 elements compare against the byte sequence of it, not its name.
18820 * posix/Makefile (tests): Add bug-regex35.
18821 (bug-regex35-ENV): Define.
18822 * posix/bug-regex35.c: New file.
18824 2013-02-11 Tom de Vries <tom@codesourcery.com>
18826 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18828 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18829 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18830 (CHECK_EOL): Add undef.
18832 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18834 * bits/stdlib-bsearch.h: New file.
18835 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18836 * stdlib/stdlib.h: Likewise.
18838 2013-02-11 Roland McGrath <roland@hack.frob.com>
18840 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18841 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18843 * manual/search.texi (Array Search Function): Add missing const in
18845 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18846 declaration to use rlim_t.
18847 (Basic Scheduling Functions): Remove erroneous const from
18848 sched_getparam prototype. Remove erroneous * from
18849 sched_get_priority_max and sched_get_priority_min prototypes.
18850 (Resource Usage): Fix summary @comment on vtimes to refer to
18851 sys/vtimes.h rather than vtimes.h.
18852 Add missing *s in vtimes prototype.
18853 (Limits on Resources): Fix ulimit prototype to return long int.
18854 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18855 prototypes to use long int rather than double.
18856 (BSD Random): Fix initstate and setstate to use char *, not void *.
18857 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18858 prototype to make second argument 'struct aiocb64 *const[]'.
18859 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18860 (Status of AIO Operations): Remove erroneous const in aio_return and
18861 aio_return64 prototypes.
18862 (Synchronizing I/O): Fix sync prototype to return void.
18863 * manual/startup.texi (Suboptions): Remove an erroneous const in
18864 getsubopt prototype.
18865 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18866 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18867 use size_t rather than int.
18868 (Scanning All Users): Likewise for getpwent_r.
18869 (Setting Groups): Add missing const to setgroups prototype.
18870 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18871 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18872 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18873 'const void *' rather than 'const char *'.
18874 (Host Address Functions): Likewise for inet_ntop.
18875 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18876 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18877 ssize_t for return value.
18878 (Sending Data): Likewise for send, sendto, sendmsg.
18879 (Socket Option Functions): Add a missing const in setsockopt prototype.
18880 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18881 use wchar_t for the argument.
18882 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18883 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18885 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18886 double/float/long double for second argument.
18887 Fix return types of significand, significandf, significandl.
18888 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18889 argument in fchmod prototype.
18890 (File Owner): Use uid_t and gid_t in fchown prototype.
18891 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18892 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18893 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18894 use 'const struct dirent **' as argument types to CMP function pointer
18896 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18897 (File Times): Fix summary magic @comment for struct utimbuf and utime
18898 to refer to utime.h, not time.h.
18899 * manual/string.texi (Argz Functions): Add missing const in
18900 argz_extract and argz_next prototypes.
18901 (Finding Tokens in a String): Likewise for basename.
18902 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18903 (Copying and Concatenation): Fix typo in wmemmove prototype.
18904 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18905 (Signal Stack): Remove erroneous const in sigstack prototype.
18906 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18908 (Simple Calendar Time): Likewise for stime.
18909 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18911 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18912 say sys/sysctl.h instead.
18913 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18914 and vsyslog prototypes.
18916 2013-02-11 Tom de Vries <tom@codesourcery.com>
18918 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18921 2013-02-11 Roland McGrath <roland@hack.frob.com>
18923 * misc/sys/mman.h: Fix typo in mremap comment.
18925 2013-02-08 Roland McGrath <roland@hack.frob.com>
18927 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18928 the '\0' terminator.
18930 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18933 * debug/segfault.c: Don't include <bp-checks.h>.
18934 * sysdeps/generic/bp-checks.h: Remove file.
18935 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18936 (__GETDENTS): Don't use CHECK_N.
18937 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18938 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18939 (__getgroups): Don't use CHECK_N.
18940 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18941 (setgroups): Don't use CHECK_N.
18942 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18943 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18944 (__libc_msgrcv): Don't use CHECK_N.
18945 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18946 (__libc_msgsnd): Don't use CHECK_N.
18947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18949 (__libc_pread): Don't use CHECK_N.
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18951 include <bp-checks.h>.
18952 (__libc_pread64): Don't use CHECK_N.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18954 include <bp-checks.h>.
18955 (__libc_pwrite): Don't use CHECK_N.
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18957 include <bp-checks.h>.
18958 (__libc_pwrite64): Don't use CHECK_N.
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18961 (__libc_pread): Don't use CHECK_N.
18962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18963 include <bp-checks.h>.
18964 (__libc_pread64): Don't use CHECK_N.
18965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18966 include <bp-checks.h>.
18967 (__libc_pwrite): Don't use CHECK_N.
18968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18969 include <bp-checks.h>.
18970 (__libc_pwrite64): Don't use CHECK_N.
18971 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18972 (do_pread): Don't use CHECK_N.
18973 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18974 (do_pread64): Don't use CHECK_N.
18975 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18976 (do_pwrite): Don't use CHECK_N.
18977 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18978 (do_pwrite64): Don't use CHECK_N.
18979 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18980 (__libc_readv): Don't use CHECK_N.
18981 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18982 (semop): Don't use CHECK_N.
18983 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18985 (semtimedop): Don't use CHECK_N.
18986 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18987 (__libc_pread): Don't use CHECK_N.
18988 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18990 (__libc_pread64): Don't use CHECK_N.
18991 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18993 (__libc_pwrite): Don't use CHECK_N.
18994 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18996 (__libc_pwrite64): Don't use CHECK_N.
18997 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18999 (__libc_msgrcv): Don't use CHECK_N.
19000 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19001 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19002 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19003 (__libc_writev): Don't use CHECK_N.
19005 2013-02-08 Roland McGrath <roland@hack.frob.com>
19007 * string/strcpy.c: Removed unused variable.
19009 * Makeconfig (+sysdep-includes): Define with := rather than =.
19010 Use an existing include/ subdir of each sysdeps dir before it.
19012 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19014 * nscd/connection.c (register_traced_file): Comment function.
19015 [HAVE_INOTIFY] (union __inev): Define.
19016 [HAVE_INOTIFY] (inotify_check_files): New function.
19017 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19018 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19020 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19022 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19024 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19025 loaded if not already and that a failure is permanent.
19027 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19030 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19031 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19033 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19036 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19037 (CHECK_1_NULL_OK): Likewise.
19038 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19039 (__fxstat): Do not use CHECK_1.
19040 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19042 (___fxstat64): Do not use CHECK_1.
19043 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19045 (__fxstatat): Do not use CHECK_1.
19046 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19048 (__fxstatat64): Do not use CHECK_1.
19049 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19051 (__fxstat): Do not use CHECK_1.
19052 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19054 (__fxstatat): Do not use CHECK_1.
19055 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19057 (__getresgid): Do not use CHECK_1.
19058 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19060 (__getresuid): Do not use CHECK_1.
19061 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19063 (__lxstat): Do not use CHECK_1.
19064 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19066 (__old_msgctl): Do not use CHECK_1.
19067 (__new_msgctl): Likewise.
19068 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19070 (__new_setrlimit): Do not use CHECK_1.
19071 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19073 (__old_shmctl): Do not use CHECK_1.
19074 (__new_shmctl): Likewise.
19075 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19077 (__xstat): Do not use CHECK_1.
19078 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19079 (__lxstat): Do not use CHECK_1.
19080 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19082 (___lxstat64): Do not use CHECK_1.
19083 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19084 (__old_msgctl): Do not use CHECK_1.
19085 (__new_msgctl): Likewise.
19086 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19088 (__gettimeofday): Do not use CHECK_1.
19089 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19090 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19091 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19093 (__gettimeofday): Do not use CHECK_1.
19094 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19095 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19096 (__new_shmctl): Do not use CHECK_1.
19097 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19099 (do_sigtimedwait): Do not use CHECK_1.
19100 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19102 (do_sigwaitinfo): Do not use CHECK_1.
19103 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19105 (msgctl): Do not use CHECK_1.
19106 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19108 (shmctl): Do not use CHECK_1.
19109 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19110 (ustat): Do not use CHECK_1.
19111 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19113 (__fxstat): Do not use CHECK_1.
19114 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19116 (__fxstatat): Do not use CHECK_1.
19117 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19119 (__lxstat): Do not use CHECK_1.
19120 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19122 (__xstat): Do not use CHECK_1.
19123 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19124 (__xstat): Do not use CHECK_1.
19125 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19126 (___xstat64): Do not use CHECK_1.
19129 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19131 (CHECK_BOUNDS_HIGH): Likewise.
19132 * string/strcpy.c: Do not include <bp-checks.h>.
19133 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19135 2013-02-07 Roland McGrath <roland@hack.frob.com>
19137 * nscd/nscd-client.h (__nscd_drop_map_ref):
19138 Add __attribute__ ((unused)).
19139 * nis/nss-nisplus.h (niserr2nss): Likewise.
19141 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19142 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19144 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19145 Remove inline keyword.
19146 * include/rounding-mode.h (round_away): Likewise.
19147 * libio/wfileops.c (adjust_wide_data): Likewise.
19148 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19149 (__m128i_strloadu_tolower): Likewise.
19150 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19151 (__m128i_strloadu_tolower): Likewise.
19152 * time/mktime.c (ydhms_diff): Likewise.
19153 * locale/elem-hash.h (elem_hash): Likewise.
19154 * locale/setlocale.c (setdata): Likewise.
19155 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19156 (re_string_wchar_at): Likewise.
19157 (bitset_not, bitset_merge, bitset_mask): Likewise.
19158 [!(__GNUC__ > 3)] (inline): Remove macro.
19159 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19160 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19161 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19162 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19163 * string/memcmp.c (memcmp_bytes): Likewise.
19164 * locale/programs/locarchive.c (compute_hashval): Likewise.
19165 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19166 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19167 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19168 * nss/getent.c (print_rpc, print_protocols): Likewise.
19169 (print_passwd, print_group, print_aliases): Likewise.
19170 * nis/nss-nisplus.h (niserr2nss): Likewise.
19171 * nscd/connections.c (restart_p): Likewise.
19172 Change return type to bool.
19174 2013-02-05 Roland McGrath <roland@hack.frob.com>
19176 * Makeconfig (all-Depend-files): Add existing
19177 $(sorted-subdirs:=/Depend) files.
19178 (all-subdirs): Remove nss.
19179 * sysdeps/unix/inet/Subdirs: Add it here instead.
19180 * hesiod/Depend: New file.
19182 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19183 instead of calling alloca.
19185 * io/lseek.c (__lseek): Rename to __libc_lseek.
19186 Define __lseek as an alias.
19188 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19190 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19192 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19193 else clause and remove check for non-standard endianness.
19195 2013-02-04 David S. Miller <davem@davemloft.net>
19197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19199 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19202 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19203 (__ubp_memchr): Remove prototype.
19204 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19205 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19206 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19207 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19208 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19210 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19211 (__ubp_memchr): Likewise.
19212 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19213 (__ubp_memchr): Likewise.
19214 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19215 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19216 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19217 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19219 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19220 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19221 (__getcwd): Do not use CHECK_STRING.
19222 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19224 (__real_chown): Do not use CHECK_STRING.
19225 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19227 (fchownat): Do not use CHECK_STRING.
19228 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19230 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19232 (__lchown): Do not use CHECK_STRING.
19233 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19234 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19235 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19236 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19238 include <bp-checks.h>.
19239 (truncate64): Do not use CHECK_STRING.
19240 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19242 (__real_chown): Do not use CHECK_STRING.
19243 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19245 (__lchown): Do not use CHECK_STRING.
19246 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19248 (__chown): Do not use CHECK_STRING.
19249 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19251 (truncate64): Do not use CHECK_STRING.
19252 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19254 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19255 (__xmknod): Do not use CHECK_STRING.
19256 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19258 (__xmknodat): Do not use CHECK_STRING.
19259 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19260 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19262 2013-02-04 Andreas Schwab <schwab@suse.de>
19265 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19266 * include/netdb.h: Likewise for h_errno.
19267 * elf/tst-stackguard1.c: Include <tls.h>.
19269 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19271 * elf/link.h (struct link_map): Extend the l_addr comment.
19272 * include/link.h (struct link_map): Likewise.
19274 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19277 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19278 (BOUNDED_1): Remove macro.
19279 * debug/backtrace.c: Don't include <bp-checks.h>.
19280 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19281 (__backtrace): Likewise.
19282 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19284 (__backtrace): Don't use BOUNDED_1.
19285 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19287 (__backtrace): Don't use BOUNDED_1.
19288 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19289 (__backtrace): Don't use BOUNDED_1.
19290 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19291 (shmat): Don't use BOUNDED_N.
19293 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19296 * sysdeps/generic/bp-start.h: Remove file.
19297 * csu/libc-start.c: Don't include <bp-start.h>.
19298 (LIBC_START_MAIN): Set up __environ directly instead of using
19299 INIT_ARGV_and_ENVIRON.
19300 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19304 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19306 (CHECK_FCNTL): Likewise.
19307 (CHECK_N_PAGES): Likewise.
19310 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19312 (CHECK_SIGSET_NULL_OK): Likewise.
19313 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19315 (sigpending): Don't use CHECK_SIGSET.
19316 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19318 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19319 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19321 (do_sigsuspend): Don't use CHECK_SIGSET.
19322 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19324 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19325 (do_sigwait): Don't use CHECK_SIGSET.
19326 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19328 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19329 include <bp-checks.h>.
19330 (sigpending): Don't use CHECK_SIGSET.
19331 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19332 include <bp-checks.h>.
19333 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19334 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19336 (sigpending): Don't use CHECK_SIGSET.
19337 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19339 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19342 * sysdeps/generic/bp-semctl.h: Remove file.
19343 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19344 <bp-checks.h> and <bp-semctl.h>.
19345 (__old_semctl): Don't use CHECK_SEMCTL.
19346 (__new_semctl): Likewise.
19347 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19349 (__old_semctl): Don't use CHECK_SEMCTL.
19350 (__new_semctl): Likewise.
19351 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19352 <bp-checks.h> and <bp-semctl.h>.
19353 (__old_semctl): Don't use CHECK_SEMCTL.
19354 (__new_semctl): Likewise.
19355 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19356 <bp-checks.h> and <bp-semctl.h>.
19357 (semctl): Don't use CHECK_SEMCTL.
19360 * Makerules (elide-bp-thunks): Remove variable.
19361 (elide-routines.oS): Don't use $(elide-bp-thunks).
19362 (elide-routines.os): Likewise.
19363 (elide-routines.o): Likewise.
19364 (elide-routines.op): Likewise.
19365 (elide-routines.og): Likewise.
19366 (objects): Don't use $(bp-thunks).
19367 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19369 (common-generated): Do not add s-proto-bp.d.
19370 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19373 Do not generate makefile rules for bounded-pointer thunks.
19374 * sysdeps/generic/bp-thunks.h: Remove file.
19375 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19376 * sysdeps/unix/s-proto-bp.S: Likewise.
19379 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19380 parts of result separately when argument is not close to line from
19381 -i to i and one part of argument is small.
19382 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19383 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19384 * math/libm-test.inc (cacos_test): Add more tests.
19385 (casin_test): Likewise.
19386 (casinh_test): Likewise.
19387 * sysdeps/i386/fpu/libm-test-ulps: Update.
19388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19390 2013-01-31 David S. Miller <davem@davemloft.net>
19392 * po/de.po: Update from translation team.
19394 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19396 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19398 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19400 * configure.in (_AC_PROG_CC_C89): New definition.
19401 * configure: Regenerate.
19403 * configure.in (AC_PROG_CPP): New definition.
19404 * configure: Regenerate.
19406 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19408 * debug/tst-backtrace.h: New file.
19409 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19410 (ret): Remove variable.
19412 (FAIL): Remove macro.
19413 (NO_INLINE): Likewise.
19414 (fn1): Use match function instead of strstr.
19415 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19416 (ret): Remove variable.
19418 (FAIL): Remove macro.
19419 (NO_INLINE): Likewise.
19420 (fn): Use match function instead of strstr.
19421 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19422 (ret): Remove variable.
19424 (FAIL): Remove macro.
19425 (NO_INLINE): Likewise.
19426 (handle_signal): Use match function instead of strstr.
19427 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19428 (ret): Remove variable.
19430 (FAIL): Remove macro.
19431 (NO_INLINE): Likewise.
19432 (handle_signal): Use match function instead of strstr.
19434 2013-01-23 Roland McGrath <roland@hack.frob.com>
19436 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19438 2013-01-23 David S. Miller <davem@davemloft.net>
19440 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19441 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19442 argument of CAS if possible.
19443 * sysdeps/sparc/sparc64/bits/atomic.h
19444 (__arch_compare_and_exchange_val_32_acq): Likewise.
19445 (__arch_compare_and_exchange_val_64_acq): Likewise.
19447 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19449 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19450 * sysdeps/posix/ulimit.c: ... this.
19451 Include <limits.h>.
19452 * sysdeps/unix/bsd/ulimit.c: Remove file.
19454 2013-01-23 Adam Conrad <adconrad@0c3.net>
19456 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19457 (LDFLAGS-tst-array5): Likewise.
19459 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19462 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19463 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19464 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19465 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19467 2013-01-21 David S. Miller <davem@davemloft.net>
19469 * sysdeps/sparc/backtrace.c: New file.
19470 * sysdeps/sparc/sparc32/backtrace.h: New file.
19471 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19472 * sysdeps/sparc/sparc64/backtrace.h: New file.
19473 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19474 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19477 2013-01-21 Andreas Schwab <schwab@suse.de>
19480 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19483 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19489 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19490 Mark Mitchell <mark@codesourcery.com>
19491 Tom de Vries <tom@codesourcery.com>
19492 Paul Pluzhnikov <ppluzhnikov@google.com>
19494 * debug/tst-backtrace2.c: New file.
19495 * debug/tst-backtrace3.c: Likewise.
19496 * debug/tst-backtrace4.c: Likewise.
19497 * debug/tst-backtrace5.c: Likewise.
19498 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19499 (CFLAGS-tst-backtrace3.c): Likewise.
19500 (CFLAGS-tst-backtrace4.c): Likewise.
19501 (CFLAGS-tst-backtrace5.c): Likewise.
19502 (LDFLAGS-tst-backtrace2): Likewise.
19503 (LDFLAGS-tst-backtrace3): Likewise.
19504 (LDFLAGS-tst-backtrace4): Likewise.
19505 (LDFLAGS-tst-backtrace5): Likewise.
19506 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19507 tst-backtrace4 and tst-backtrace5.
19509 2013-01-18 Anton Blanchard <anton@samba.org>
19510 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19512 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19513 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19514 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19515 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19517 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19518 "+r" and remove output regs list as redundant. Add explicit inline
19519 asm to specify register of return val to work around compiler codegen
19520 bug. Remove (int) cast on return value. Add return type parameter to
19521 use in macro so that this macro does not truncate return value for
19523 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19524 pass to INTERNAL_VSYSCALL_NCS.
19525 (INLINE_VSYSCALL): Add 'long int' as return type to
19526 INTERNAL_VSYSCALL_NCS macro invocation.
19527 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19528 INTERNAL_VSYSCALL_NCS macro invocation.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19531 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19534 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19535 Fix application of SIMD FP exception mask.
19537 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19538 mp_no from a power of two.
19539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19540 __mpexp_twomm1. Use __pow_mp.
19542 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19545 2013-01-17 David S. Miller <davem@davemloft.net>
19547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19549 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19552 * include/complex.h: Condition contents on [!_COMPLEX_H].
19553 (__kernel_casinhf): New prototype.
19554 (__kernel_casinh): Likewise.
19555 (__kernel_casinhl): Likewise.
19556 * math/Makefile (libm_calls): Add k_casinh.
19557 * math/k_casinh.c: New file.
19558 * math/k_casinhf.c: Likewise.
19559 * math/k_casinhl.c: Likewise.
19560 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19561 finite nonzero arguments.
19562 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19563 finite nonzero arguments.
19564 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19565 finite nonzero arguments.
19566 * math/s_casinh.c: Do not include <float.h>.
19567 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19568 * math/s_casinhf.c: Do not include <float.h>.
19569 (__casinhf): Move code for finite nonzero arguments to
19571 * math/s_casinhl.c: Do not include <float.h>.
19572 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19574 (__casinhl): Move code for finite nonzero arguments to
19576 * math/libm-test.inc (cacos_test): Add more tests.
19577 * sysdeps/i386/fpu/libm-test-ulps: Update.
19578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19580 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19582 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19583 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19584 [!HAVE_MREMAP]: Remove [defined linux] case.
19585 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19587 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19589 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19591 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19593 * elf/elf.h (R_386_SIZE32): New relocation.
19594 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19596 (elf_machine_rela): Likewise.
19597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19598 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19600 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19602 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19603 (FP_FAST_FMA): Do not define.
19604 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19605 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19606 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19607 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19608 !_SOFT_FLOAT]: Likewise.
19609 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19610 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19612 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19613 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19614 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19615 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19616 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19617 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19620 2013-01-16 Andreas Schwab <schwab@suse.de>
19623 * include/stdlib.h (__mktemp): Add declaration.
19624 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19625 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19627 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19629 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19631 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19632 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19633 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19635 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19636 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19638 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19640 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19641 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19642 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19644 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19645 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19647 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19649 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19651 2013-01-15 David S. Miller <davem@davemloft.net>
19653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19654 trunc{,f} to libm-sysdep_routes.
19655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19665 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19666 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19667 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19668 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19669 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19670 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19673 nearbyint{,f} to libm-sysdep_routes.
19674 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19685 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19687 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19688 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19690 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19691 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19692 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19694 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19695 libc_feholdexcept and libc_fesetenv.
19697 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19699 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19701 2013-01-14 David S. Miller <davem@davemloft.net>
19703 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19704 (SPARC_ASM_VIS2_IFUNC): Likewise.
19705 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19707 use of 'siam' instruction.
19708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19727 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19741 routines to libm-sysdep_routines.
19742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19745 fdim/fdimf to libm-sysdep_routines.
19746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19754 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19755 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19756 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19757 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19759 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19761 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19762 to optimize copies.
19764 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19769 local variable MPTWO.
19770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19773 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19775 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19778 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19780 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19782 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19784 * manual/pattern.texi (glob_t): Document gl_flags.
19785 (glob64_t): Likewise.
19787 2013-01-11 David S. Miller <davem@davemloft.net>
19789 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19790 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19791 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19792 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19793 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19794 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19795 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19796 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19797 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19798 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19799 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19800 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19801 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19803 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19804 sparc V9 rather than using V8 code.
19805 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19806 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19808 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19810 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19813 2013-01-11 Roland McGrath <roland@hack.frob.com>
19815 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19816 not in the main loop.
19817 * configure: Regenerated.
19819 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19821 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19822 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19824 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19825 [!__GLIBC_HAVE_LONG_LONG] case.
19826 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19827 condition to just #else.
19828 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19829 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19830 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19831 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19833 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19834 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19835 #elif condition to just #else.
19836 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19837 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19838 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19839 #elif condition to just #else.
19841 2013-01-11 Steve Ellcey <sellcey@mips.com>
19843 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19844 (EF_MIPS_ARCH_64): Fix value.
19845 (EF_MIPS_ARCH_32R2): New.
19846 (EF_MIPS_ARCH_64R2): New.
19848 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19850 * Makeconfig (+link-pie-before-libc): New.
19851 (+link-pie-after-libc): Likewise.
19852 (+link-pie-tests): Likewise.
19853 (+link-pie): Rewritten.
19854 (link-before-libc): Remove $(config-LDFLAGS).
19855 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19856 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19857 (config-LDFLAGS): Renamed to ...
19858 (rtld-LDFLAGS): This.
19859 (rtld-tests-LDFLAGS): New macro.
19860 (link-libc-rpath-link): Likewise.
19861 (link-libc-tests-rpath-link): Likewise.
19862 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19863 (link-libc): Prepand $(link-libc-rpath-link).
19864 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19865 (test-program-prefix): New macro.
19866 (test-via-rtld-prefix): Likewise.
19867 (test-program-cmd): Likewise.
19868 (host-test-program-cmd): Likewise.
19869 * Makefile ($(common-objpfx)testrun.sh): Replace
19870 $(run-program-prefix) with $(test-program-prefix).
19871 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19873 ($(common-objpfx)shlib.lds): Likewise.
19874 (build-module-helper): Likewise.
19875 ($(common-objpfx)format.lds): Likewise.
19876 * Rules (binaries-pie-tests): New.
19877 (binaries-pie-notests): Likewise.
19878 (binaries-pie): Rewritten.
19879 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19880 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19881 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19882 (make-test-out): Replace $(host-built-program-cmd) with
19883 $(host-test-program-cmd).
19884 * config.make.in (build-hardcoded-path-in-tests): New variable.
19885 * configure.in (--enable-hardcoded-path-in-tests): New configure
19887 (hardcoded_path_in_tests): New AC_SUBST.
19888 * configure: Regenerated.
19889 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19890 $(built-program-cmd) with $(test-program-cmd).
19891 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19892 (test_program_cmd): This.
19893 * elf/Makefile ($(objpfx)order.out): Run test with
19894 $(test-program-prefix).
19895 ($(objpfx)order2.out): Likewise.
19896 ($(objpfx)tst-initorder.out): Likewise.
19897 ($(objpfx)tst-initorder2.out): Likewise.
19898 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19899 $(test-program-cmd).
19900 ($(objpfx)tst-array1-static.out): Likewise.
19901 ($(objpfx)tst-array2.out): Likewise.
19902 ($(objpfx)tst-array3.out): Likewise.
19903 ($(objpfx)tst-array4.out): Likewise.
19904 ($(objpfx)tst-array5.out): Likewise.
19905 ($(objpfx)tst-array5-static.out): Likewise.
19906 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19907 $(test-program-cmd).
19908 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19909 $(run-program-prefix) with $(test-program-prefix).
19910 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19911 (test_program_prefix): This.
19912 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19913 $(run-program-prefix) with $(test-program-prefix).
19914 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19915 (test_program_prefix): This.
19916 * iconvdata/tst-tables.sh: Likewise.
19917 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19918 $(run-program-prefix) with $(test-program-prefix).
19919 ($(objpfx)tst-translit.out): Likewise.
19920 ($(objpfx)tst-gettext2.out): Likewise.
19921 ($(objpfx)tst-gettext4.out): Likewise.
19922 ($(objpfx)tst-gettext6.out): Likewise.
19923 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19924 (test_program_prefix): This.
19925 * intl/tst-gettext2.sh: Likewise.
19926 * intl/tst-gettext4.sh Likewise.
19927 * intl/tst-gettext6.sh: Likewise.
19928 * intl/tst-translit.sh: Likewise.
19929 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19930 with $(test-program-cmd).
19931 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19932 $(run-program-prefix) with $(test-program-prefix).
19933 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19934 (test_program_prefix): This.
19935 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19936 $(run-program-prefix) with $(test-program-prefix).
19937 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19938 (test_program_prefix): This.
19939 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19940 * posix/Makefile ($(objpfx)globtest.out): Replace
19941 $(run-via-rtld-prefix) and $(test-wrapper) with
19942 $(test-program-prefix) and $(test-via-rtld-prefix).
19943 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19944 $(test-program-prefix).
19945 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19946 $(host-test-program-cmd).
19947 (tst-spawn-ARGS): Likewise.
19948 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19949 $(test-program-prefix).
19950 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19951 (test_via_rtld_prefix): This.
19952 (test_wrapper): Renamed to ...
19953 (test_program_prefix): This.
19954 (run_program_prefix): Replaced by test_program_prefix.
19955 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19956 (test_program_prefix): This.
19957 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19958 with $(host-test-program-cmd).
19959 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19960 $(run-program-prefix) with $(test-program-prefix).
19961 ($(objpfx)tst-printf.out): Likewise.
19962 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19963 $(test-program-cmd).
19964 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19965 (test_program_prefix): This.
19966 * stdio-common/tst-unbputc.sh: Likewise.
19967 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19968 $(run-program-prefix) with $(test-program-prefix).
19969 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19970 (test_program_prefix): This.
19971 * string/Makefile ($(objpfx)tst-svc.out): Replace
19972 $(built-program-cmd) with $(test-program-cmd).
19974 2013-01-11 Andreas Jaeger <aj@suse.de>
19977 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19978 value. Sync with Linux 3.7.
19980 2013-01-10 David S. Miller <davem@davemloft.net>
19982 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19983 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19984 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19986 2013-01-10 Roland McGrath <roland@hack.frob.com>
19988 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19990 * configure: Regenerated.
19992 2013-01-10 David S. Miller <davem@davemloft.net>
19994 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19995 sparc V9 rather than using V8 code.
19996 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19997 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19999 2013-01-10 Roland McGrath <roland@hack.frob.com>
20001 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20002 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20003 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20004 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20005 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20006 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20007 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20008 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20009 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20010 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20011 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20012 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20013 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20014 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20015 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20016 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20017 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20018 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20019 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20020 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20021 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20022 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20023 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20024 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20025 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20026 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20027 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20029 2013-01-10 David S. Miller <davem@davemloft.net>
20031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20033 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20035 * posix/Makefile (tests-static): New variable.
20036 (tests): Add $(tests-static).
20037 (tst-exec-static-ARGS): New variable.
20038 (tst-spawn-static-ARGS): Likewise.
20039 * posix/tst-exec-static.c: New file.
20040 * posix/tst-spawn-static.c: Likewise.
20041 * posix/tst-exec.c: Support run directly.
20042 * posix/tst-spawn.c: Likewise.
20044 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20046 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20048 * math/bits/mathcalls.h (llrint): Likewise.
20049 (llround): Likewise.
20050 * stdlib/stdlib.h (struct drand48_data): Likewise.
20051 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20052 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20053 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20055 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20057 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20058 (elf_greg_t): Likewise.
20059 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20060 (__jmp_buf): Likewise.
20061 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20063 (llrint): Likewise, for all definitions.
20064 (llrintl): Likewise.
20066 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20067 Remove [__GNUC__] condition.
20068 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20069 condition to just [__USE_ISOC99].
20070 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20072 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20075 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20076 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20078 (_POSIX_V6_ILP32_OFF32): Likewise.
20079 (_XBS5_ILP32_OFF32): Likewise.
20080 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20081 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20083 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20085 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20088 doubles __mpexp_twomm1. Adjust usage.
20089 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20092 2013-01-10 Andreas Schwab <schwab@suse.de>
20095 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20096 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20098 2013-01-09 David S. Miller <davem@davemloft.net>
20101 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20102 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20103 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20104 (TCP_FASTOPEN): Define.
20105 (tcp_repair_opt): New structure.
20106 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20108 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20109 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20110 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20111 (tcp_cookie_transactions): New structure.
20113 2013-01-09 Anton Blanchard <anton@samba.org>
20115 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20116 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20117 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20118 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20120 2013-01-09 Joseph Myers <joseph@codesourcery.com>
20122 * include/features.h (__USE_ANSI): Remove.
20124 2013-01-09 Roland McGrath <roland@hack.frob.com>
20126 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20128 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20130 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20132 * sysdeps/s390/fpu/libm-test-ulps: Update.
20134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20136 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20140 (denorm): Likewise.
20141 (__mp_dbl): Likewise.
20142 (__dbl_mp): Likewise.
20143 (add_magnitudes): Likewise.
20144 (sub_magnitudes): Likewise.
20150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20154 (denorm): Likewise.
20155 (__mp_dbl): Likewise.
20156 (__dbl_mp): Likewise.
20157 (add_magnitudes): Likewise.
20158 (sub_magnitudes): Likewise.
20164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20168 (denorm): Likewise.
20169 (__mp_dbl): Likewise.
20170 (__dbl_mp): Likewise.
20171 (add_magnitudes): Likewise.
20172 (sub_magnitudes): Likewise.
20179 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20181 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20182 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20183 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20184 2 && __USE_EXTERN_INLINES]: Likewise.
20186 2013-01-08 Andreas Jaeger <aj@suse.de>
20189 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20191 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20192 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20194 2013-01-07 Anton Blanchard <anton@samba.org>
20196 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20197 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20198 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20199 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20200 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20201 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20202 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20203 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20205 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20206 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20207 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20208 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20209 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20210 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20211 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20212 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20213 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20214 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20215 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20216 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20217 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20218 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20219 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20220 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20221 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20222 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20223 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20224 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20225 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20226 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20228 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20229 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20230 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20231 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20232 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20233 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20234 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20235 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20236 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20237 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20238 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20240 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20242 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20243 (__MALLOC_PMT): Likewise.
20244 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20245 [__GNUC__], only on [_LIBC].
20246 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20247 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20248 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20249 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20250 forward declaration.
20251 (realloc_hook_ini): Likewise.
20252 (memalign_hook_ini): Likewise.
20253 (__libc_memalign): Do not use __MALLOC_PMT in variable
20255 (__libc_valloc): Likewise.
20256 (__libc_pvalloc): Likewise.
20257 (__libc_calloc): Likewise.
20258 (__posix_memalign): Likewise.
20261 * math/s_casinh.c: Include <float.h>.
20262 (__casinh): Do not do computation with squaring and square root
20263 for large arguments.
20264 * math/s_casinhf.c: Include <float.h>.
20265 (__casinhf): Do not do computation with squaring and square root
20266 for large arguments.
20267 * math/s_casinhl.c: Include <float.h>.
20268 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20269 (__casinhl): Do not do computation with squaring and square root
20270 for large arguments.
20271 * math/libm-test.inc (casin_test): Add more tests.
20272 (casinh_test): Likewise.
20273 * sysdeps/i386/fpu/libm-test-ulps: Update.
20274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20276 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20278 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20279 (__x86_64_raw_data_cache_size): Likewise.
20280 (__x86_64_data_cache_size_half): Likewise.
20281 (__x86_64_raw_data_cache_size_half): Likewise.
20282 (__x86_64_shared_cache_size): Likewise.
20283 (__x86_64_raw_shared_cache_size): Likewise.
20284 (__x86_64_shared_cache_size_half): Likewise.
20285 (__x86_64_raw_shared_cache_size_half): Likewise.
20286 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20288 (__x86_data_cache_size): This.
20289 (__x86_64_raw_data_cache_size): Renamed to ...
20290 (__x86_raw_data_cache_size): This.
20291 (__x86_64_data_cache_size_half): Renamed to ...
20292 (__x86_data_cache_size_half): This.
20293 (__x86_64_raw_data_cache_size_half): Renamed to ...
20294 (__x86_raw_data_cache_size_half): This.
20295 (__x86_64_shared_cache_size): Renamed to ...
20296 (__x86_shared_cache_size): This.
20297 (__x86_64_raw_shared_cache_size): Renamed to ...
20298 (__x86_raw_shared_cache_size): This.
20299 (__x86_64_shared_cache_size_half): Renamed to ...
20300 (__x86_shared_cache_size_half): This.
20301 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20302 (__x86_raw_shared_cache_size_half): This.
20303 * sysdeps/x86_64/memcpy.S: Updated.
20304 * sysdeps/x86_64/memset.S: Likewise.
20305 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20306 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20307 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20309 2013-01-04 David S. Miller <davem@davemloft.net>
20311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20313 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20315 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20316 1 to avoid redefinition warning.
20317 (__USE_GNU): Don't define.
20318 (init_signaling_nan): Protoize.
20320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20322 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20324 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20326 (__cpymn): Likewise.
20327 (norm): Remove commented code.
20328 (denorm): Likewise.
20329 (__mp_dbl): Likewise.
20331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20332 (__cpymn): Likewise.
20333 (norm): Remove commented code.
20334 (denorm): Likewise.
20335 (__mp_dbl): Likewise.
20338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20339 mp_no value for 1.0 and 2.0.
20340 (norm): Use RADIXI instead of radixi.d.
20341 (denorm): Likewise.
20342 (__mul): Use 0.0 instead of zero.d.
20343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20344 mp_no value for 1.0 and 2.0.
20345 (norm): Use RADIXI instead of radixi.d.
20346 (denorm): Likewise.
20347 (__mul): Use 0.0 instead of zero.d.
20349 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20352 * math/s_casinh.c (__casinh): Reduce finite argument to first
20353 quadrant then set signs of results at the end.
20354 * math/s_casinhf.c (__casinhf): Likewise.
20355 * math/s_casinhl.c (__casinhl): Likewise.
20356 * math/libm-test.inc (casin_test): Add more tests.
20357 (casinh_test): Likewise.
20358 * sysdeps/i386/fpu/libm-test-ulps: Update.
20359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20361 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20363 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20365 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20367 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20369 (denorm): Likewise.
20370 (__mp_dbl): Likewise.
20373 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20374 and adjust the header comment.
20376 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20377 variable name from declaration.
20379 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20382 Initialize COMMON_CPUID_INDEX_7 element.
20383 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20384 (CPUID_RTM): Likewise.
20385 (HAS_RTM): Likewise.
20386 (COMMON_CPUID_INDEX_7): New enum.
20388 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20391 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20392 size is zero, record memory as freed.
20394 2013-01-03 Andreas Jaeger <aj@suse.de>
20396 * po/ia.po: Add new Interlingua translation.
20398 2012-01-03 Allan McRae <allan@archlinux.org>
20400 * locale/programs/localedef.c: Fix description of '--posix' flag.
20402 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20404 * NEWS: Update dates in second copyright notice.
20405 * README: Update copyright dates in example.
20406 * manual/libc.texinfo: Update copyright dates.
20407 * scripts/test-installation.pl: Update copyright date in --version
20410 * hurd/ctty-input.c: Fix copyright notice formatting.
20411 * hurd/ctty-output.c: Likewise.
20412 * hurd/dtable.c: Likewise.
20413 * hurd/hurd-raise.c: Likewise.
20414 * hurd/hurdprio.c: Likewise.
20415 * hurd/msgportdemux.c: Likewise.
20416 * misc/sys/file.h: Likewise.
20417 * misc/sys/ioctl.h: Likewise.
20418 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20419 * sysdeps/mach/hurd/chdir.c: Likewise.
20420 * sysdeps/mach/hurd/fchdir.c: Likewise.
20421 * sysdeps/mach/hurd/rename.c: Likewise.
20422 * sysdeps/mach/hurd/rmdir.c: Likewise.
20423 * sysdeps/mach/hurd/seekdir.c: Likewise.
20424 * sysdeps/mach/hurd/setsid.c: Likewise.
20425 * sysdeps/posix/wait3.c: Likewise.
20427 * All files with FSF copyright notices: Update copyright dates
20428 using scripts/update-copyrights.
20429 * intl/plural.c: Regenerated.
20430 * locale/programs/charmap-kw.h: Likewise.
20431 * locale/programs/locfile-kw.h: Likewise.
20433 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20435 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20438 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20439 calculation loop and add branch prediction.
20441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20442 check access beyond bounds of m1np.
20444 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20446 (__inv): Remove local variable MPTWO to use the global
20448 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20449 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20451 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20452 MP3HALFS static const.
20454 2013-01-01 David S. Miller <davem@davemloft.net>
20456 * po/ca.po: Update from translation team.
20458 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20460 * scripts/update-copyrights: New file.
20461 * Makeconfig: Reformat copyright notice.
20462 * ctype/ctype.h: Likewise.
20463 * debug/swprintf_chk.c: Likewise.
20464 * elf/dl-cache.c: Likewise.
20465 * elf/dl-debug.c: Likewise.
20466 * elf/dl-object.c: Likewise.
20467 * grp/initgroups.c: Likewise.
20468 * hurd/Makefile: Likewise.
20469 * hurd/hurd/signal.h: Likewise.
20470 * hurd/hurdfault.c: Likewise.
20471 * hurd/hurdioctl.c: Likewise.
20472 * hurd/hurdlookup.c: Likewise.
20473 * hurd/intr-msg.c: Likewise.
20474 * iconv/gconv_open.c: Likewise.
20475 * libio/swprintf.c: Likewise.
20476 * locale/lc-ctype.c: Likewise.
20477 * locale/nl_langinfo.c: Likewise.
20478 * mach/Machrules: Likewise.
20479 * mach/Makefile: Likewise.
20480 * malloc/obstack.h: Likewise.
20481 * manual/Makefile: Likewise.
20482 * manual/tsort.awk: Likewise.
20483 * misc/bits/stab.def: Likewise.
20484 * nis/nis_print_group_entry.c: Likewise.
20485 * nis/nis_table.c: Likewise.
20486 * nis/nss_compat/compat-pwd.c: Likewise.
20487 * nis/nss_compat/compat-spwd.c: Likewise.
20488 * po/Makefile: Likewise.
20489 * posix/fnmatch.c: Likewise.
20490 * posix/regex.h: Likewise.
20491 * resolv/Makefile: Likewise.
20492 * resolv/nss_dns/dns-network.c: Likewise.
20493 * resolv/res_hconf.c: Likewise.
20494 * scripts/gen-sorted.awk: Likewise.
20495 * soft-fp/soft-fp.h: Likewise.
20496 * stdio-common/printf.h: Likewise.
20497 * stdlib/monetary.h: Likewise.
20498 * stdlib/random.c: Likewise.
20499 * stdlib/random_r.c: Likewise.
20500 * sysdeps/generic/Makefile: Likewise.
20501 * sysdeps/gnu/Makefile: Likewise.
20502 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20504 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20506 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20507 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20509 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20510 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20511 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20512 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20513 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20514 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20515 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20516 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20517 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20518 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20520 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20522 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20523 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20524 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20525 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20526 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20527 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20528 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20529 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20530 * sysdeps/mach/hurd/errnos.awk: Likewise.
20531 * sysdeps/mach/hurd/fork.c: Likewise.
20532 * sysdeps/mach/hurd/getcwd.c: Likewise.
20533 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20534 * sysdeps/mach/hurd/mmap.c: Likewise.
20535 * sysdeps/mach/hurd/utimes.c: Likewise.
20536 * sysdeps/mach/hurd/xmknod.c: Likewise.
20537 * sysdeps/posix/profil.c: Likewise.
20538 * sysdeps/posix/readdir_r.c: Likewise.
20539 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20540 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20541 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20542 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20544 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20545 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20546 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20548 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20549 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20550 * sysdeps/pthread/lio_listio.c: Likewise.
20551 * sysdeps/sparc/dl-procinfo.h: Likewise.
20552 * sysdeps/unix/i386/sysdep.S: Likewise.
20553 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20554 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20555 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20556 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20558 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20559 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20560 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20561 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20562 * sysdeps/wordsize-32/divdi3.c: Likewise.
20563 * time/sys/time.h: Likewise.
20564 * wcsmbs/Makefile: Likewise.
20566 2013-01-01 David S. Miller <davem@davemloft.net>
20568 * po/fr.po: Update from translation team.
20570 * catgets/gencat.c: Update copyright year.
20571 * csu/version.c: Likewise.
20572 * debug/catchsegv.sh: Likewise.
20573 * debug/pcprofiledump.c: Likewise.
20574 * debug/xtrace.sh: Likewise.
20575 * elf/ldconfig.c: Likewise.
20576 * elf/ldd.bash.in: Likewise.
20577 * elf/pldd.c: Likewise.
20578 * elf/sotruss.ksh: Likewise.
20579 * elf/sprof.c: Likewise.
20580 * iconv/iconv_prog.c: Likewise.
20581 * iconv/iconvconfig.c: Likewise.
20582 * locale/programs/locale.c: Likewise.
20583 * locale/programs/localedef.c: Likewise.
20584 * login/programs/pt_chown.c: Likewise.
20585 * malloc/memusage.sh: Likewise.
20586 * malloc/memusagestat.c: Likewise.
20587 * malloc/mtrace.pl: Likewise.
20588 * nscd/nscd.c: Likewise.
20589 * nss/getent.c: Likewise.
20590 * nss/makedb.c: Likewise.
20591 * posix/getconf.c: Likewise.
20593 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20595 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20598 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20600 * math/bits/mathcalls.h (modf): Use __nonnull.
20602 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20604 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20605 (split): Use macro CN instead of the bare value.
20606 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20609 instead of the bare value.
20610 (power1): Likewise.
20612 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20614 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20616 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20618 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20620 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20621 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20622 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20623 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20625 2012-12-28 Andreas Jaeger <aj@suse.de>
20627 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20628 values are from Linux 3.7.
20630 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20631 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20633 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20635 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20638 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20640 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20641 variables with preprocessor constants.
20642 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20643 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20644 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20646 2012-12-27 Bruno Haible <bruno@clisp.org>
20649 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20652 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20654 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20655 and use variable directly.
20656 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20658 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20660 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20661 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20663 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20665 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20666 include directive. Remove local variable MPONE.
20667 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20668 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20669 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20671 2012-12-25 David S. Miller <davem@davemloft.net>
20673 * version.h (RELEASE): Set to "development".
20674 (VERSION): Set to "2.17.90".
20675 * NEWS: Add 2.18 section.
20677 2012-12-21 David S. Miller <davem@davemloft.net>
20679 * po/hr.po: Update from translation team.
20681 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20683 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20685 2012-12-19 Steve Ellcey <sellcey@mips.com>
20687 * NEWS: Mention new memcpy for MIPS.
20689 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20691 * manual/contrib.texi (Contributors): Spelling correction.
20693 2012-12-15 David S. Miller <davem@davemloft.net>
20695 * po/ru.po: Update from translation team.
20697 2012-12-13 David S. Miller <davem@davemloft.net>
20699 * NEWS: Mention IFUNC testsuite enhancements.
20701 * po/pl.po: Update from translation team.
20702 * po/bg.po: Likewise.
20704 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20705 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20707 2012-12-11 David S. Miller <davem@davemloft.net>
20709 * po/sv.po: Update from translation team.
20711 * po/vi.po: Update from translation team.
20713 * po/cs.po: Update from translation team.
20715 * po/de.po: Update from translation team.
20716 * po/eo.po: Likewise.
20717 * po/nl.po: Likewise.
20719 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20722 * manual/argp.texi (Argp Helper Functions): Move node to follow
20723 Argp Parsing State.
20726 * manual/conf.texi (Limits on File System Capacity): Mention if
20727 terminating null is included in the max size.
20729 2012-12-10 Andreas Jaeger <aj@suse.de>
20731 * po/cs.po: Update from translation team.
20733 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20735 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20736 void pointer and cast to uintptr_t.
20737 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20739 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20740 * sysdeps/s390/s390-64/memset.S: Likewise.
20742 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20745 * menual/message.texi (Message Translation): Fix typos.
20746 (Helper programs for gettext): Likewise.
20748 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20751 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20754 2012-12-07 David S. Miller <davem@davemloft.net>
20756 * po/libc.pot: Update.
20758 2012-12-07 Richard Henderson <rth@redhat.com>
20761 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20762 normal/normal case to before the switch.
20763 (_FP_DIV): Likewise.
20765 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20766 Mike Frysinger <vapier@gentoo.org>
20768 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20769 check for __NR_fadvise64_64.
20771 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20773 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20774 0, not just to plain "0" as a statement.
20775 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20778 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20780 * NEWS: Use sourceware.org in Bugzilla URL.
20782 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20785 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20787 * stdio-common/tst-put-error.c (do_test): Add newline to the
20788 padded test to ensure flush.
20790 2012-12-05 Jeff Law <law@redhat.com>
20792 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20794 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20796 * README: Don't refer to ports add-on as distributed separately.
20797 Mention AArch64 in list of systems supported in the ports add-on.
20799 * LICENSES: Add more non-FSF copyright and license notices.
20801 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20804 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20806 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20807 10000 as width of padded output.
20809 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20811 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20813 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20814 variable LX with __attribute__ ((unused)).
20815 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20817 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20818 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20819 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20820 with __attribute__ ((unused)).
20822 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20824 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20826 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20828 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20829 (CFLAGS-nldbl-acos.c): New variable.
20830 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20831 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20832 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20833 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20834 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20835 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20836 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20837 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20838 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20839 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20840 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20841 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20842 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20843 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20844 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20845 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20846 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20847 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20848 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20849 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20850 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20851 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20852 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20853 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20854 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20855 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20856 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20857 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20858 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20859 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20860 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20861 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20862 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20863 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20864 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20865 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20866 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20867 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20868 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20869 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20870 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20871 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20872 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20873 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20874 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20875 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20876 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20877 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20878 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20879 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20880 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20881 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20882 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20883 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20884 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20885 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20886 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20887 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20888 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20889 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20890 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20891 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20892 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20893 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20894 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20895 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20896 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20897 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20898 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20899 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20900 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20901 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20902 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20903 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20904 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20905 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20906 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20907 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20908 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20909 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20910 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20911 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20912 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20913 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20914 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20915 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20916 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20917 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20918 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20919 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20920 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20921 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20922 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20923 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20924 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20925 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20926 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20929 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20932 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20933 whole low double instead of just low 47 bits when splitting values
20936 2012-12-03 Allan McRae <allan@archlinux.org>
20938 * manual/stdio.texi (Predefined Printf Handlers): Remove
20939 @hsep and @vsep usage.
20941 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20943 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20944 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20946 2012-12-03 Jeff Law <law@redhat.com>
20948 * time/sys/time.h (settimeofday): Do not mark TV argument
20951 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20953 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20954 when currently writing and seek to current position when not.
20955 * libio/Makefile (tests): Remove bug-fclose1.
20956 * libio/bug-fclose1.c: Delete.
20958 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20960 * manual/arith.texi (feenableexcept): Fix typo.
20961 (fedisableexcept): Likewise.
20963 2012-11-30 Roland McGrath <roland@hack.frob.com>
20965 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20966 second, differently-typed declaration, rather than a cast.
20968 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20970 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20971 * include/rpc/svc.h: ... here.
20973 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20976 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20977 depending n and resplen2 to catch cases where answer
20980 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20982 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20983 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20985 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20987 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20989 2012-11-29 Roland McGrath <roland@hack.frob.com>
20991 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20993 2012-11-28 Jeff Law <law@redhat.com>
20996 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20997 dataset_temporary. Track alloca usage into alloca_used.
20998 If dataset is large allocate and release it via malloc/free.
21000 2012-06-04 Florian Weimer <fweimer@redhat.com>
21003 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21005 2012-11-28 David S. Miller <davem@davemloft.net>
21007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21009 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21012 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21013 of pi/2 rounded to nearest to 64 bits.
21014 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21015 nearest to 64 bits.
21016 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21019 2012-11-28 Jeff Law <law@redhat.com>
21020 Martin Osvald <mosvald@redhat.com>
21023 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21024 * sunrpc/svc.c: Include time.h.
21025 (__svc_accept_failed): New function.
21026 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21027 any reason other than EINTR, call __svc_accept_failed.
21028 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21029 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21031 2012-11-28 Andreas Schwab <schwab@suse.de>
21033 * scripts/abilist.awk: Also handle indirect functions in .opd
21036 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21039 * sysdeps/x86/fpu/powl_helper.c: New file.
21040 * sysdeps/x86/fpu/Makefile: Likewise.
21041 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21043 (__ieee754_powl): Use __powl_helper for finite arguments except
21044 integer exponents below 8.
21045 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21047 (__ieee754_powl): Use __powl_helper for finite arguments except
21048 integer exponents below 8.
21049 * math/libm-test.inc (pow_test): Add more tests and enable some
21050 previously disabled tests.
21051 * sysdeps/i386/fpu/libm-test-ulps: Update.
21052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21054 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21055 Carlos O'Donell <carlos_odonell@mentor.com>
21057 * nss/makedb.c (is_prime): Assert that input is odd and greater
21058 than 4. Note that fact in a comment too.
21059 (next_prime): Add 4 to input.
21061 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21064 * libio/Makefile (tests): Add test case tst-fwrite-error.
21065 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21066 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21067 * libio/tst-fwrite-error.c: New test case.
21069 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21071 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21072 before casting to void *.
21073 * include/libc-internal.h (__pointer_type): New macro.
21074 (__integer_if_pointer_type_sub): Likewise.
21075 (__integer_if_pointer_type): Likewise.
21076 (cast_to_integer): Likewise.
21077 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21078 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21079 before casting to atomic64_t.
21080 (atomic_exchange_acq): Likewise.
21081 (__arch_exchange_and_add_body): Likewise.
21082 (__arch_add_body): Likewise.
21083 (atomic_add_negative): Likewise.
21084 (atomic_add_zero): Likewise.
21086 2012-11-26 Joseph Myers <joseph@codesourcery.com>
21088 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21089 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21090 (add_fdes): Likewise.
21091 (linear_search_fdes): Likewise.
21092 (binary_search_unencoded_fdes): Likewise.
21094 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21096 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21098 2012-11-24 Adam Conrad <adconrad@0c3.net>
21100 * configure.in: Autodetect C++ header directories.
21101 * configure: Regenerated.
21103 2012-11-23 Mike Frysinger <vapier@gentoo.org>
21105 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21107 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21111 2012-11-22 Joseph Myers <joseph@codesourcery.com>
21113 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21114 LDBL_MANT_DIG == 106]: Disable some tests.
21115 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21117 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21121 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21122 input for small inputs. Return +/- pi/2 for large inputs.
21123 * math/libm-test.inc (atan_test): Add more tests.
21125 * sysdeps/generic/unwind-dw2-fde-glibc.c
21126 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21127 __attribute__ ((unused)).
21130 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21131 x * y if x and y are nonzero and z is zero.
21134 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21135 nonzero exponents with absolute value below 0x1p-117 to +/-
21139 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21140 up arguments below 2**-450, not just those below 2**-500.
21141 * math/libm-test.inc (hypot_test): Add another test.
21144 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21145 Return a+b for ratio over 2**120, not 2**60.
21146 * math/libm-test.inc (hypot_test): Add another test.
21148 * math/libm-test.inc (clog_test): Use
21149 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21150 (clog10_test): Likewise.
21153 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21155 2012-11-22 Andreas Schwab <schwab@suse.de>
21157 * sysdeps/i386/fpu/libm-test-ulps: Update.
21159 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21161 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21162 printf output with newline.
21164 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21167 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21168 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21169 -z nodlopen, -z initfirst and -z execstack support.
21170 * configure: Regenerated.
21172 * elf/elf.h (DF_1_NODIRECT): New macro.
21173 (DF_1_IGNMULDEF): Likewise.
21174 (DF_1_NOKSYMS): Likewise.
21175 (DF_1_NOHDR): Likewise.
21176 (DF_1_EDITED): Likewise.
21177 (DF_1_NORELOC): Likewise.
21178 (DF_1_SYMINTPOSE): Likewise.
21179 (DF_1_GLOBAUDIT): Likewise.
21180 (DF_1_SINGLETON): Likewise.
21181 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21182 DT_1_SUPPORTED_MASK bits.
21183 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21185 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21187 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21189 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21191 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21194 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21195 (sendmmsg): Move declarations...
21196 * socket/sys/socket.h: ... here.
21197 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21198 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21200 * socket/recvmmsg.c: ... this new file.
21201 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21202 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21203 definition of __sendmmsg hidden.
21204 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21205 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21206 Move ENOSYS stub into and include it from...
21207 * socket/sendmmsg.c: ... this new file.
21208 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21209 (sysdep_routines): Move recvmmsg and sendmmsg...
21210 * socket/Makefile (routines): ... here.
21211 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21212 (GLIBC_PRIVATE): Add __sendmmsg.
21213 * include/sys/socket.h (__sendmmsg): Add declarations.
21214 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21217 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21219 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21220 variable I1 with __attribute__ ((unused)).
21221 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21223 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21225 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21226 DUMMY variables with __attribute__ ((unused)).
21228 * bits/byteswap.h: Include <bits/types.h>.
21229 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21231 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21233 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21234 string_t. Do not manually set errno.
21235 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21236 length with __strnlen. Make sure to both set errno and return it on
21239 2012-11-19 David S. Miller <davem@davemloft.net>
21241 With help from Joseph Myers.
21242 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21243 very large arguments properly.
21244 * math/libm-test.inc (atan_test): New tests.
21245 (atan2_test): New tests.
21246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21249 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21252 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21255 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21256 [POSIX] (EADDRNOTAVAIL): Likewise.
21257 [POSIX] (EAFNOSUPPORT): Likewise.
21258 [POSIX] (EALREADY): Likewise.
21259 [POSIX] (ECONNABORTED): Likewise.
21260 [POSIX] (ECONNREFUSED): Likewise.
21261 [POSIX] (ECONNRESET): Likewise.
21262 [POSIX] (EDESTADDRREQ): Likewise.
21263 [POSIX] (EDQUOT): Likewise.
21264 [POSIX] (EHOSTUNREACH): Likewise.
21265 [POSIX] (EIDRM): Likewise.
21266 [POSIX] (EISCONN): Likewise.
21267 [POSIX] (ELOOP): Likewise.
21268 [POSIX] (EMULTIHOP): Likewise.
21269 [POSIX] (ENETDOWN): Likewise.
21270 [POSIX] (ENETUNREACH): Likewise.
21271 [POSIX] (ENOBUFS): Likewise.
21272 [POSIX] (ENODATA): Likewise.
21273 [POSIX] (ENOLINK): Likewise.
21274 [POSIX] (ENOMSG): Likewise.
21275 [POSIX] (ENOPROTOOPT): Likewise.
21276 [POSIX] (ENOSR): Likewise.
21277 [POSIX] (ENOSTR): Likewise.
21278 [POSIX] (ENOTCONN): Likewise.
21279 [POSIX] (ENOTSOCK): Likewise.
21280 [POSIX] (EOPNOTSUPP): Likewise.
21281 [POSIX] (EOVERFLOW): Likewise.
21282 [POSIX] (EPROTO): Likewise.
21283 [POSIX] (EPROTONOSUPPORT): Likewise.
21284 [POSIX] (EPROTOTYPE): Likewise.
21285 [POSIX] (ESTALE): Likewise.
21286 [POSIX] (ETIME): Likewise.
21287 [POSIX] (ETXTBSY): Likewise.
21288 [POSIX] (EWOULDBLOCK): Likewise.
21289 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21290 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21291 [POSIX] (SEEK_CUR): Likewise.
21292 [POSIX] (SEEK_END): Likewise.
21293 [POSIX || UNIX98] (mode_t): Do not require.
21294 [POSIX] (off_t): Likewise.
21295 [POSIX] (pid_t): Likewise.
21296 [POSIX] (sys/stat.h): Do not allow header.
21297 [POSIX] (unistd.h): Likewise.
21298 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21299 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21300 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21301 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21303 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21304 sigevent): Specify elements.
21305 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21307 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21308 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21310 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21311 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21312 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21313 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21314 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21315 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21316 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21317 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21318 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21319 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21320 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21321 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21322 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21323 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21325 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21327 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21329 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21331 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21332 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21333 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21334 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21335 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21336 Specify lower bound on value.
21337 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21338 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21339 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21340 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21341 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21342 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21343 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21344 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21346 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21348 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21349 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21350 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21351 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21352 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21353 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21354 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21355 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21356 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21357 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21358 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21359 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21360 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21361 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21362 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21363 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21365 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21367 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21368 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21369 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21370 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21371 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21372 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21374 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21375 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21376 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21377 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21378 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21379 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21380 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21382 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21383 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21384 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21385 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21386 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21387 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21388 specify as optional.
21389 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21390 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21391 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21392 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21393 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21394 [XPG3] (NL_LANGMAX): Likewise.
21395 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21396 [POSIX || XPG3] (NL_NMAX): Likewise.
21397 [POSIX || XPG3] (NL_SETMAX): Likewise.
21398 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21399 [XPG3] (NZERO): Likewise.
21400 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21401 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21402 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21403 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21404 (REG_ERANGE): Expect.
21405 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21407 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21408 Use (void) in prototype.
21409 [POSIX] (*_t): Allow.
21410 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21411 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21412 (WRDE_BADVAL): Expect.
21414 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21416 [XPG3 || XPG4] (O_RSYNC): Likewise.
21417 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21419 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21420 [XPG3 || XPG4] (sigqueue): Likewise.
21421 [XPG3 || XPG4] (sigtimedwait): Likewise.
21422 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21423 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21424 [XPG3 || XPG4] (vsnprintf): Likewise.
21425 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21427 [XPG3 || XPG4] (blksize_t): Likewise.
21428 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21430 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21431 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21432 [XPG3 || XPG4] (struct itimerspec): Likewise.
21433 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21434 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21435 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21436 [XPG3 || XPG4] (clockid_t): Likewise.
21437 [XPG3 || XPG4] (timer_t): Likewise.
21438 [XPG3 || XPG4] (clock_getres): Likewise.
21439 [XPG3 || XPG4] (clock_gettime): Likewise.
21440 [XPG3 || XPG4] (clock_settime): Likewise.
21441 [XPG3 || XPG4] (nanosleep): Likewise.
21442 [XPG3 || XPG4] (timer_create): Likewise.
21443 [XPG3 || XPG4] (timer_delete): Likewise.
21444 [XPG3 || XPG4] (timer_gettime): Likewise.
21445 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21446 [XPG3 || XPG4] (timer_settime): Likewise.
21447 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21448 [XPG3 || XPG4] (getlogin_r): Likewise.
21449 [XPG3 || XPG4] (pread): Likewise.
21450 [XPG3 || XPG4] (pthread_atfork): Likewise.
21451 [XPG3 || XPG4] (pwrite): Likewise.
21454 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21457 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21459 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21460 finalizing MALLSTREAM.
21462 * sysdeps/mach/hurd/syncfs.c: New file.
21464 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21467 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21468 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21469 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21470 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21471 (_nss_dns_gethostbyname4_r): Likewise.
21472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21473 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21475 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21478 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21480 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21482 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21483 * elf/cache.c (print_entry): Print ",AArch64" for
21486 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21487 * elf/cache.c (print_entry): Print ",hard-float" for
21490 2012-11-18 David S. Miller <davem@davemloft.net>
21492 With help from Joseph Myers.
21493 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21495 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21497 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21498 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21500 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21501 * math/libm-test.inc (y0_test): New tests.
21502 (y1_test): New tests.
21503 * sysdeps/i386/fpu/libm-test-ulps: Update.
21504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21507 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21509 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21511 * configure: Regenerated.
21513 2012-11-17 David S. Miller <davem@davemloft.net>
21516 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21517 nonzero exponents with absolute value below 0x1p-128 to +/-
21520 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21522 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21524 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21526 * posix/getconf-speclist.c: New file.
21527 * posix/posix-envs.def: Likewise.
21528 * posix/confstr.c (START_ENV_GROUP): New macro.
21529 (END_ENV_GROUP): Likewise.
21530 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21531 (KNOWN_PRESENT_ENV_STRING): Likewise.
21532 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21533 (UNKNOWN_ENVIRONMENT): Likewise.
21534 (confstr): Include posix-envs.def instead of handling
21535 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21536 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21537 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21538 (END_ENV_GROUP): Likewise.
21539 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21540 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21541 (UNKNOWN_ENVIRONMENT): Likewise.
21542 (__sysconf): Include posix-envs.def instead of handling associated
21543 cases directly here.
21544 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21545 preprocessing getconf-speclist.c rather than running getconf or
21546 generating empty file.
21548 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21550 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21552 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21555 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21557 2012-11-16 David S. Miller <davem@davemloft.net>
21559 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21560 smaller than LDBL_EPSILON/2.0L, just return xm1.
21562 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21564 * elf/tst-array1.c (init): Set constructor priority to 1000.
21565 (fini): Set destructor priority to 1000.
21566 * elf/tst-array2dep.c: Likewise.
21568 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21571 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21572 (_IO_new_file_xsputn): Also return EOF if none of the input
21573 data was written when overflow failed.
21574 * libio/iopadn.c (_IO_padn): Likewise.
21575 * libio/iowpadn.c (_IO_wpadn): Likewise.
21576 * stdio-common/tst-put-error.c: Add copyright notice.
21577 (do_test): Add case for printing padded string.
21578 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21579 _IO_padn returned error.
21580 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21581 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21584 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21586 * libio/libioP.h: Add comment note that the references to C++
21587 bits are now obsolete.
21589 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21591 * math/libm-test.inc (check_complex): Use asprintf.
21593 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21595 * debug/pcprofiledump.c (print_version): Update copyright year.
21596 * malloc/memusagestat.c (print_version): Likewise.
21598 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21601 * elf/Makefile (tests): Add tst-audit8.
21602 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21603 ($(objpfx)tst-audit8.out): New target.
21604 (tst-audit8-ENV): New variable.
21605 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21606 audit if l_reloc_result is NULL.
21607 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21608 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21609 * elf/tst-audit8.c: New file.
21611 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21613 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21614 * misc/Makefile (CFLAGS-select.c): Define.
21615 * posix/Makefile (CFLAGS-pause.c): Define.
21617 2012-11-13 David S. Miller <davem@davemloft.net>
21619 * crypt/Makefile: Move test targets after toplevel Rules
21620 inclusion. Grab any necessary sysdep routines when linking.
21621 * crypt/md5.c (md5_process_block): Remove define, we will always
21622 name it __md5_process_block.
21623 (md5_finish_ctx): Update md5_process_block call.
21624 (md5_stream): Likewise.
21625 (md5_process_bytes): Likewise.
21626 (md5_process_block): Rename to __md5_process_block and move to ...
21627 * crypt/md5-block.c: ... here.
21628 * crypt/sha256.c (sha256_process_block): Move to ...
21629 * crypt/sha256-block.c: ... here.
21630 * crypt/sha512.c (sha512_process_block): Move to ...
21631 * crypt/sha512-block.c: ... here.
21632 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21634 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21635 * sysdeps/sparc/sparc64/multiarch/Makefile
21636 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21638 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21639 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21641 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21642 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21643 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21644 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21645 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21646 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21647 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21648 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21649 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21651 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21652 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21654 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21656 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21658 * timezone/tzselect.ksh: Update from tzcode git revision
21659 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21660 * timezone/zdump.c: Likewise.
21661 * timezone/zic.c: Likewise.
21662 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21663 in TZVERSION setting, not $(PKGVERSION).
21664 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21665 REPORT_BUGS_TO settings.
21668 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21671 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21673 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21674 detection to immediately after _FP_ROUND().
21675 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21678 2012-11-11 David S. Miller <davem@davemloft.net>
21680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21682 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21683 __close rather than their public counterparts.
21685 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21687 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21689 [UNIX98] (sem_timedwait): Do not expect.
21690 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21691 [XPG4 || UNIX98] (sockatmark): Do not expect.
21692 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21693 (clock_getcpuclockid): Do not expect.
21694 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21695 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21697 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21698 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21699 [UNIX98] (vwscanf): Likewise.
21700 [UNIX98] (vswscanf): Likewise.
21702 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21704 * timezone/version.h: Remove file.
21705 * timezone/README: Do not refer to version.h.
21706 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21707 $(objpfx)version.h.
21708 ($(objpfx)zdump.o): Likewise.
21709 ($(objpfx)version.h): New target.
21711 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21713 * timezone/README: Don't mention modification to tzselect.ksh.
21714 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21715 work on unmodified tzselect.ksh. Substitute version numbers in
21718 * Makefile (format-me): Remove.
21719 (INSTALL): Adjust indentation. Use commands directly instead of
21720 using $(format-me).
21722 * aclocal.m4 (ACX_PKGVERSION): New macro.
21723 (ACX_BUGURL): Likewise.
21724 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21725 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21726 (REPORT_BUGS_TO): Likewise.
21727 * configure: Regenerated.
21728 * config.h.in (PKGVERSION): New macro.
21729 (REPORT_BUGS_TO): Likewise.
21730 * config.make.in (PKGVERSION): New variable.
21731 (PKGVERSION_TEXI): Likewise.
21732 (REPORT_BUGS_TO): Likewise.
21733 (REPORT_BUGS_TEXI): Likewise.
21734 * Makefile (format-me): Use -I$(common-objpfx)manual.
21735 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21736 ($(common-objpfx)manual/%): New target.
21737 (manual/%): Remove target.
21738 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21739 (print_version): Use PKGVERSION.
21740 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21741 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21742 and REPORT_BUGS_TO.
21743 ($(objpfx)xtrace): Likewise.
21744 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21745 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21746 (print_version): Use PKGVERSION.
21747 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21748 (do_version): Use PKGVERSION.
21749 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21751 (common-ldd-rewrite): Likewise.
21752 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21753 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21754 (print_version): Use PKGVERSION.
21755 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21756 * elf/pldd.c (argp_program_bug_address): Remove variable.
21757 (more_help): New function.
21758 (argp): Use more_help.
21759 (print_version): Use PKGVERSION.
21760 * elf/sln.c (main): Use PKGVERSION.
21761 (usage): Use REPORT_BUGS_TO.
21762 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21763 (top level): Use PKGVERSION.
21764 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21765 (print_version): Use PKGVERSION.
21766 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21767 (print_version): Use PKGVERSION.
21768 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21769 (print_version): Use PKGVERSION.
21770 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21771 (print_version): Use PKGVERSION.
21772 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21773 (print_version): Use PKGVERSION.
21774 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21775 (print_version): Use PKGVERSION.
21776 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21778 ($(objpfx)memusage): Likewise.
21779 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21780 (do_version): Use PKGVERSION.
21781 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21782 (print_version): Use PKGVERSION.
21783 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21784 ($PKGVERSION): New variable.
21785 ($REPORT_BUGS_TO): Likewise.
21786 (usage): Use $REPORT_BUGS_TO.
21787 (top level): Use $PKGVERSION.
21788 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21789 ($(objpfx)pkgvers.texi): New rule.
21790 ($(objpfx)stamp-pkgvers): Likewise.
21791 * manual/install.texi: Include pkgvers.texi.
21792 (--with-pkgversion): Document new configure option.
21793 (--with-bugurl): Likewise.
21794 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21795 than necessarily for this particular distribution. Use
21796 REPORT_BUGS_TO for where to report bugs.
21797 * INSTALL: Regenerated.
21798 * manual/libc.texinfo: Include pkgvers.texi.
21799 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21800 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21801 (print_version): Use PKGVERSION.
21802 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21803 (print_version): Use PKGVERSION.
21804 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21805 (print_version): Use PKGVERSION.
21806 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21807 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21809 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21810 (print_version): Use PKGVERSION.
21811 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21812 (print_version): Use PKGVERSION.
21813 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21816 * timezone/checktab.awk: Update from tzcode 2012i.
21817 * timezone/ialloc.c: Likewise.
21818 * timezone/private.h: Likewise.
21819 * timezone/scheck.c: Likewise.
21820 * timezone/tzfile.h: Likewise.
21821 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21822 (TZVERSION): Hardcode tzcode version number.
21823 * timezone/zdump.c: Update from tzcode 2012i.
21824 * timezone/zic.c: Likewise.
21825 * timezone/version.h: New file.
21826 * timezone/README: Describe version.h. Update upstream location.
21829 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21830 (mktemp): Enable declaration.
21831 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21832 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21833 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21834 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21836 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21840 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21842 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21844 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21848 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21849 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21850 for copies of such integer values.
21851 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21852 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21854 2012-11-09 Andreas Jaeger <aj@suse.de>
21856 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21857 definitions and declarations that are provided by
21858 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21860 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21862 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21863 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21864 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21867 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21869 * elf/elf.h: Update comment before AArch64 relocations.
21871 2012-11-07 David S. Miller <davem@davemloft.net>
21873 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21874 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21875 (__start_context): Declare.
21876 (__makecontext_ret): Delete.
21877 (__makecontext): Hook up __start_context instead of
21879 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21880 (sysdep_routines): Add __start_context when in stdlib.
21882 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21884 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21885 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21886 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21888 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21889 (READELF): New variable. Use it instead of hardcoded "readelf".
21891 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21893 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21894 * sysdeps/x86/Makefile: Here.
21895 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21896 * sysdeps/x86/tst-xmmymm.sh: This.
21898 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21900 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21902 [UNIX98] (pthread_barrier_t): Do not expect.
21903 [UNIX98] (pthread_barrierattr_t): Likewise.
21904 [UNIX98] (pthread_spinlock_t): Likewise.
21905 [UNIX98] (pthread_barrier_destroy): Likewise.
21906 [UNIX98] (pthread_barrier_init): Likewise.
21907 [UNIX98] (pthread_barrier_wait): Likewise.
21908 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21909 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21910 [UNIX98] (pthread_barrierattr_init): Likewise.
21911 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21912 [UNIX98] (pthread_getcpuclockid): Likewise.
21913 [UNIX98] (pthread_mutex_timedlock): Likewise.
21914 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21915 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21916 [UNIX98] (pthread_sigmask): Likewise.
21917 [UNIX98] (pthread_spin_destroy): Likewise.
21918 [UNIX98] (pthread_spin_init): Likewise.
21919 [UNIX98] (pthread_spin_lock): Likewise.
21920 [UNIX98] (pthread_spin_trylock): Likewise.
21921 [UNIX98] (pthread_spin_unlock): Likewise.
21922 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21924 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21925 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21926 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21927 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21928 [XPG3 || XPG4] (pthread_key_t): Likewise.
21929 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21930 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21931 [XPG3 || XPG4] (pthread_once_t): Likewise.
21932 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21933 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21934 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21935 [XPG3 || XPG4] (pthread_t): Likewise.
21937 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21939 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21941 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21942 Change function return type to int.
21944 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21945 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21946 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21947 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21948 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21949 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21950 [!POSIX] (posix_madvise): Likewise.
21951 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21953 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21954 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21955 (mode_t): Likewise.
21956 (posix_mem_offset): Likewise.
21957 (posix_typed_mem_get_info): Likewise.
21958 (posix_typed_mem_open): Likewise.
21960 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21961 Change condition to [XOPEN2K8].
21963 * conform/conformtest.pl: Preprocess allow-header data with -x c
21964 instead of from stdin.
21965 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21966 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21967 [C99-based standards] (cerfc): Likewise.
21968 [C99-based standards] (cexp2): Likewise.
21969 [C99-based standards] (cexpm1): Likewise.
21970 [C99-based standards] (clog10): Likewise.
21971 [C99-based standards] (clog1p): Likewise.
21972 [C99-based standards] (clog2): Likewise.
21973 [C99-based standards] (clgamma): Likewise.
21974 [C99-based standards] (ctgamma): Likewise.
21975 [C99-based standards] (cerff): Likewise.
21976 [C99-based standards] (cerfcf): Likewise.
21977 [C99-based standards] (cexp2f): Likewise.
21978 [C99-based standards] (cexpm1f): Likewise.
21979 [C99-based standards] (clog10f): Likewise.
21980 [C99-based standards] (clog1pf): Likewise.
21981 [C99-based standards] (clog2f): Likewise.
21982 [C99-based standards] (clgammaf): Likewise.
21983 [C99-based standards] (ctgammaf): Likewise.
21984 [C99-based standards] (cerfl): Likewise.
21985 [C99-based standards] (cerfcl): Likewise.
21986 [C99-based standards] (cexp2l): Likewise.
21987 [C99-based standards] (cexpm1l): Likewise.
21988 [C99-based standards] (clog10l): Likewise.
21989 [C99-based standards] (clog1pl): Likewise.
21990 [C99-based standards] (clog2l): Likewise.
21991 [C99-based standards] (clgammal): Likewise.
21992 [C99-based standards] (ctgammal): Likewise.
21993 * conform/data/inttypes.h-data [C99-based standards]: Include
21994 stdint.h-data. Remove all expectations for stdint.h contents.
21995 [C99-based standards] (PRI*): Do not allow.
21996 [C99-based standards] (SCN*): Likewise.
21997 [C99-based standards] (*_t): Likewise.
21998 [C99-based-standards] (PRId8): Expect macro.
21999 [C99-based-standards] (PRIi8): Likewise.
22000 [C99-based-standards] (PRIo8): Likewise.
22001 [C99-based-standards] (PRIu8): Likewise.
22002 [C99-based-standards] (PRIx8): Likewise.
22003 [C99-based-standards] (PRIX8): Likewise.
22004 [C99-based-standards] (SCNd8): Likewise.
22005 [C99-based-standards] (SCNi8): Likewise.
22006 [C99-based-standards] (SCNo8): Likewise.
22007 [C99-based-standards] (SCNu8): Likewise.
22008 [C99-based-standards] (SCNx8): Likewise.
22009 [C99-based-standards] (PRIdLEAST8): Likewise.
22010 [C99-based-standards] (PRIiLEAST8): Likewise.
22011 [C99-based-standards] (PRIoLEAST8): Likewise.
22012 [C99-based-standards] (PRIuLEAST8): Likewise.
22013 [C99-based-standards] (PRIxLEAST8): Likewise.
22014 [C99-based-standards] (PRIXLEAST8): Likewise.
22015 [C99-based-standards] (SCNdLEAST8): Likewise.
22016 [C99-based-standards] (SCNiLEAST8): Likewise.
22017 [C99-based-standards] (SCNoLEAST8): Likewise.
22018 [C99-based-standards] (SCNuLEAST8): Likewise.
22019 [C99-based-standards] (SCNxLEAST8): Likewise.
22020 [C99-based-standards] (PRIdFAST8): Likewise.
22021 [C99-based-standards] (PRIiFAST8): Likewise.
22022 [C99-based-standards] (PRIoFAST8): Likewise.
22023 [C99-based-standards] (PRIuFAST8): Likewise.
22024 [C99-based-standards] (PRIxFAST8): Likewise.
22025 [C99-based-standards] (PRIXFAST8): Likewise.
22026 [C99-based-standards] (SCNdFAST8): Likewise.
22027 [C99-based-standards] (SCNiFAST8): Likewise.
22028 [C99-based-standards] (SCNoFAST8): Likewise.
22029 [C99-based-standards] (SCNuFAST8): Likewise.
22030 [C99-based-standards] (SCNxFAST8): Likewise.
22031 [C99-based-standards] (PRId16): Likewise.
22032 [C99-based-standards] (PRIi16): Likewise.
22033 [C99-based-standards] (PRIo16): Likewise.
22034 [C99-based-standards] (PRIu16): Likewise.
22035 [C99-based-standards] (PRIx16): Likewise.
22036 [C99-based-standards] (PRIX16): Likewise.
22037 [C99-based-standards] (SCNd16): Likewise.
22038 [C99-based-standards] (SCNi16): Likewise.
22039 [C99-based-standards] (SCNo16): Likewise.
22040 [C99-based-standards] (SCNu16): Likewise.
22041 [C99-based-standards] (SCNx16): Likewise.
22042 [C99-based-standards] (PRIdLEAST16): Likewise.
22043 [C99-based-standards] (PRIiLEAST16): Likewise.
22044 [C99-based-standards] (PRIoLEAST16): Likewise.
22045 [C99-based-standards] (PRIuLEAST16): Likewise.
22046 [C99-based-standards] (PRIxLEAST16): Likewise.
22047 [C99-based-standards] (PRIXLEAST16): Likewise.
22048 [C99-based-standards] (SCNdLEAST16): Likewise.
22049 [C99-based-standards] (SCNiLEAST16): Likewise.
22050 [C99-based-standards] (SCNoLEAST16): Likewise.
22051 [C99-based-standards] (SCNuLEAST16): Likewise.
22052 [C99-based-standards] (SCNxLEAST16): Likewise.
22053 [C99-based-standards] (PRIdFAST16): Likewise.
22054 [C99-based-standards] (PRIiFAST16): Likewise.
22055 [C99-based-standards] (PRIoFAST16): Likewise.
22056 [C99-based-standards] (PRIuFAST16): Likewise.
22057 [C99-based-standards] (PRIxFAST16): Likewise.
22058 [C99-based-standards] (PRIXFAST16): Likewise.
22059 [C99-based-standards] (SCNdFAST16): Likewise.
22060 [C99-based-standards] (SCNiFAST16): Likewise.
22061 [C99-based-standards] (SCNoFAST16): Likewise.
22062 [C99-based-standards] (SCNuFAST16): Likewise.
22063 [C99-based-standards] (SCNxFAST16): Likewise.
22064 [C99-based-standards] (PRId32): Likewise.
22065 [C99-based-standards] (PRIi32): Likewise.
22066 [C99-based-standards] (PRIo32): Likewise.
22067 [C99-based-standards] (PRIu32): Likewise.
22068 [C99-based-standards] (PRIx32): Likewise.
22069 [C99-based-standards] (PRIX32): Likewise.
22070 [C99-based-standards] (SCNd32): Likewise.
22071 [C99-based-standards] (SCNi32): Likewise.
22072 [C99-based-standards] (SCNo32): Likewise.
22073 [C99-based-standards] (SCNu32): Likewise.
22074 [C99-based-standards] (SCNx32): Likewise.
22075 [C99-based-standards] (PRIdLEAST32): Likewise.
22076 [C99-based-standards] (PRIiLEAST32): Likewise.
22077 [C99-based-standards] (PRIoLEAST32): Likewise.
22078 [C99-based-standards] (PRIuLEAST32): Likewise.
22079 [C99-based-standards] (PRIxLEAST32): Likewise.
22080 [C99-based-standards] (PRIXLEAST32): Likewise.
22081 [C99-based-standards] (SCNdLEAST32): Likewise.
22082 [C99-based-standards] (SCNiLEAST32): Likewise.
22083 [C99-based-standards] (SCNoLEAST32): Likewise.
22084 [C99-based-standards] (SCNuLEAST32): Likewise.
22085 [C99-based-standards] (SCNxLEAST32): Likewise.
22086 [C99-based-standards] (PRIdFAST32): Likewise.
22087 [C99-based-standards] (PRIiFAST32): Likewise.
22088 [C99-based-standards] (PRIoFAST32): Likewise.
22089 [C99-based-standards] (PRIuFAST32): Likewise.
22090 [C99-based-standards] (PRIxFAST32): Likewise.
22091 [C99-based-standards] (PRIXFAST32): Likewise.
22092 [C99-based-standards] (SCNdFAST32): Likewise.
22093 [C99-based-standards] (SCNiFAST32): Likewise.
22094 [C99-based-standards] (SCNoFAST32): Likewise.
22095 [C99-based-standards] (SCNuFAST32): Likewise.
22096 [C99-based-standards] (SCNxFAST32): Likewise.
22097 [C99-based-standards] (PRId64): Likewise.
22098 [C99-based-standards] (PRIi64): Likewise.
22099 [C99-based-standards] (PRIo64): Likewise.
22100 [C99-based-standards] (PRIu64): Likewise.
22101 [C99-based-standards] (PRIx64): Likewise.
22102 [C99-based-standards] (PRIX64): Likewise.
22103 [C99-based-standards] (SCNd64): Likewise.
22104 [C99-based-standards] (SCNi64): Likewise.
22105 [C99-based-standards] (SCNo64): Likewise.
22106 [C99-based-standards] (SCNu64): Likewise.
22107 [C99-based-standards] (SCNx64): Likewise.
22108 [C99-based-standards] (PRIdLEAST64): Likewise.
22109 [C99-based-standards] (PRIiLEAST64): Likewise.
22110 [C99-based-standards] (PRIoLEAST64): Likewise.
22111 [C99-based-standards] (PRIuLEAST64): Likewise.
22112 [C99-based-standards] (PRIxLEAST64): Likewise.
22113 [C99-based-standards] (PRIXLEAST64): Likewise.
22114 [C99-based-standards] (SCNdLEAST64): Likewise.
22115 [C99-based-standards] (SCNiLEAST64): Likewise.
22116 [C99-based-standards] (SCNoLEAST64): Likewise.
22117 [C99-based-standards] (SCNuLEAST64): Likewise.
22118 [C99-based-standards] (SCNxLEAST64): Likewise.
22119 [C99-based-standards] (PRIdFAST64): Likewise.
22120 [C99-based-standards] (PRIiFAST64): Likewise.
22121 [C99-based-standards] (PRIoFAST64): Likewise.
22122 [C99-based-standards] (PRIuFAST64): Likewise.
22123 [C99-based-standards] (PRIxFAST64): Likewise.
22124 [C99-based-standards] (PRIXFAST64): Likewise.
22125 [C99-based-standards] (SCNdFAST64): Likewise.
22126 [C99-based-standards] (SCNiFAST64): Likewise.
22127 [C99-based-standards] (SCNoFAST64): Likewise.
22128 [C99-based-standards] (SCNuFAST64): Likewise.
22129 [C99-based-standards] (SCNxFAST64): Likewise.
22130 [C99-based-standards] (PRIdMAX): Likewise.
22131 [C99-based-standards] (PRIiMAX): Likewise.
22132 [C99-based-standards] (PRIoMAX): Likewise.
22133 [C99-based-standards] (PRIuMAX): Likewise.
22134 [C99-based-standards] (PRIxMAX): Likewise.
22135 [C99-based-standards] (PRIXMAX): Likewise.
22136 [C99-based-standards] (SCNdMAX): Likewise.
22137 [C99-based-standards] (SCNiMAX): Likewise.
22138 [C99-based-standards] (SCNoMAX): Likewise.
22139 [C99-based-standards] (SCNuMAX): Likewise.
22140 [C99-based-standards] (SCNxMAX): Likewise.
22141 [C99-based-standards] (PRIdPTR): Likewise.
22142 [C99-based-standards] (PRIiPTR): Likewise.
22143 [C99-based-standards] (PRIoPTR): Likewise.
22144 [C99-based-standards] (PRIuPTR): Likewise.
22145 [C99-based-standards] (PRIxPTR): Likewise.
22146 [C99-based-standards] (PRIXPTR): Likewise.
22147 [C99-based-standards] (SCNdPTR): Likewise.
22148 [C99-based-standards] (SCNiPTR): Likewise.
22149 [C99-based-standards] (SCNoPTR): Likewise.
22150 [C99-based-standards] (SCNuPTR): Likewise.
22151 [C99-based-standards] (SCNxPTR): Likewise.
22152 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22154 * conform/data/stdint.h-data: Update comments to clarify
22156 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22158 [C99-based standards] (INT8_MAX): Likewise.
22159 [C99-based standards] (INT16_MIN): Likewise.
22160 [C99-based standards] (INT16_MAX): Likewise.
22161 [C99-based standards] (INT32_MIN): Likewise.
22162 [C99-based standards] (INT32_MAX): Likewise.
22163 [C99-based standards] (INT64_MIN): Likewise.
22164 [C99-based standards] (INT64_MAX): Likewise.
22165 [C99-based standards] (UINT8_MAX): Likewise.
22166 [C99-based standards] (UINT16_MAX): Likewise.
22167 [C99-based standards] (UINT32_MAX): Likewise.
22168 [C99-based standards] (UINT64_MAX): Likewise.
22169 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22170 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22171 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22172 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22173 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22174 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22175 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22176 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22177 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22178 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22179 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22180 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22181 [C99-based standards] (INT_FAST8_MIN): Likewise.
22182 [C99-based standards] (INT_FAST8_MAX): Likewise.
22183 [C99-based standards] (INT_FAST16_MIN): Likewise.
22184 [C99-based standards] (INT_FAST16_MAX): Likewise.
22185 [C99-based standards] (INT_FAST32_MIN): Likewise.
22186 [C99-based standards] (INT_FAST32_MAX): Likewise.
22187 [C99-based standards] (INT_FAST64_MIN): Likewise.
22188 [C99-based standards] (INT_FAST64_MAX): Likewise.
22189 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22190 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22191 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22192 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22193 [C99-based standards] (INTPTR_MIN): Likewise.
22194 [C99-based standards] (INTPTR_MAX): Likewise.
22195 [C99-based standards] (UINTPTR_MAX): Likewise.
22196 [C99-based standards] (INTMAX_MIN): Likewise.
22197 [C99-based standards] (INTMAX_MAX): Likewise.
22198 [C99-based standards] (UINTMAX_MAX): Likewise.
22199 [C99-based standards] (PTRDIFF_MIN): Likewise.
22200 [C99-based standards] (PTRDIFF_MAX): Likewise.
22201 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22202 [C99-based standards] (SIZE_MAX): Likewise.
22203 [C99-based standards] (WCHAR_MAX): Likewise.
22204 [C99-based standards] (WINT_MAX): Likewise.
22205 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22206 constraint on value.
22207 [C99-based standards] (WCHAR_MIN): Likewise.
22208 [C99-based standards] (WINT_MIN): Likewise.
22209 [C99-based standards] (*_t): Allow.
22210 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22211 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22212 Include math.h-data and complex.h-data. Remove all expectations
22213 of math.h and complex.h contents.
22214 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22216 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22217 (struct tm): Expect tag.
22218 [C99-based-standards] (wcstof): Expect function.
22219 [C99-based-standards] (wcstold): Likewise.
22220 [C99-based-standards] (wcstoll): Likewise.
22221 [C99-based-standards] (wcstoull): Likewise.
22222 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22223 macro-int-constant. Specify type.
22224 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22225 constraint on value.
22226 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22228 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22230 [ISO C standards]: Do not allow headers.
22231 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22232 wcs[abcdefghijklmnopqrstuvwxyz]*.
22233 [ISO C standards] (*_t): Do not allow.
22234 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22236 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22237 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22239 [ISO C standards]: Do not allow headers.
22240 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22241 is[abcdefghijklmnopqrstuvwxyz]*.
22242 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22243 to[abcdefghijklmnopqrstuvwxyz]*.
22244 [ISO C standards] (*_t): Do not allow.
22245 * conform/data/stdalign.h-data: New file.
22246 * conform/data/stdbool.h-data: Likewise.
22247 * conform/data/stdnoreturn.h-data: Likewise.
22249 2012-11-07 Roland McGrath <roland@hack.frob.com>
22252 * manual/filesys.texi (Directory Entries): Typo fix.
22253 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22255 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22257 * elf/elf.h (EM_AARCH64): New macro.
22258 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22259 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22260 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22261 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22262 (R_AARCH64_TLSDESC): Likewise.
22263 (NT_ARM_TLS): Likewise.
22264 (NT_ARM_HW_BREAK): Likewise.
22265 (NT_ARM_HW_WATCH): Likewise.
22267 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22270 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22271 (__ieee754_powl): Saturate nonzero exponents with absolute value
22272 below 0x1p-79 to +/- 0x1p-79.
22273 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22274 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22275 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22276 nonzero exponents with absolute value below 0x1p-32 to +/-
22278 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22279 (__ieee754_powl): Saturate nonzero exponents with absolute value
22280 below 0x1p-79 to +/- 0x1p-79.
22281 * math/libm-test.inc (pow_test): Add more tests.
22283 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22285 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22286 _dl_s390_cap_flags with kernel. Increase string length.
22287 (_dl_s390_platforms): Add z196 and zEC12.
22289 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22291 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22292 Change XOPEN21K to XOPEN2K.
22294 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22296 * string/memmove.c: Use memcpy when possible.
22298 2012-11-06 Andreas Jaeger <aj@suse.de>
22300 * po/eo.po: Update from translation team.
22302 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22306 exponent and small x and y exponents, scale x or y up. Increase
22307 by 2 the exponent used in scaling up.
22308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22309 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22310 * math/libm-test.inc (fma_test): Add more tests.
22311 (fma_test_towardzero): Likewise.
22312 (fma_test_downward): Likewise.
22313 (fma_test_upward): Likewise.
22315 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22318 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22322 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22323 namespace for names of struct fields.
22324 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22326 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22327 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22329 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22332 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22334 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22336 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22340 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22343 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22347 definitely overflow as x * y not x * y + z.
22348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22350 * math/libm-test.inc (fma_test): Add more tests.
22351 (fma_test_towardzero): Likewise.
22352 (fma_test_downward): Likewise.
22353 (fma_test_upward): Likewise.
22355 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22359 * include/stub-tag.h: Remove file.
22360 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22362 * manual/maint.texi (Porting): Don't reference it.
22363 * Makerules ($(objpfx)stubs): Likewise.
22364 * dirent/closedir.c: Don't include <stub-tag.h>.
22365 * dirent/dirfd.c: Likewise.
22366 * dirent/fdopendir.c: Likewise.
22367 * dirent/getdents.c: Likewise.
22368 * dirent/getdents64.c: Likewise.
22369 * dirent/opendir.c: Likewise.
22370 * dirent/readdir.c: Likewise.
22371 * dirent/readdir64.c: Likewise.
22372 * dirent/readdir64_r.c: Likewise.
22373 * dirent/readdir_r.c: Likewise.
22374 * dirent/rewinddir.c: Likewise.
22375 * dirent/seekdir.c: Likewise.
22376 * dirent/telldir.c: Likewise.
22377 * gmon/profil.c: Likewise.
22378 * grp/setgroups.c: Likewise.
22379 * inet/if_index.c: Likewise.
22380 * io/access.c: Likewise.
22381 * io/chdir.c: Likewise.
22382 * io/chmod.c: Likewise.
22383 * io/chown.c: Likewise.
22384 * io/close.c: Likewise.
22385 * io/dup.c: Likewise.
22386 * io/dup2.c: Likewise.
22387 * io/dup3.c: Likewise.
22388 * io/euidaccess.c: Likewise.
22389 * io/faccessat.c: Likewise.
22390 * io/fchdir.c: Likewise.
22391 * io/fchmod.c: Likewise.
22392 * io/fchmodat.c: Likewise.
22393 * io/fchown.c: Likewise.
22394 * io/fchownat.c: Likewise.
22395 * io/fcntl.c: Likewise.
22396 * io/flock.c: Likewise.
22397 * io/fstatfs.c: Likewise.
22398 * io/fstatfs64.c: Likewise.
22399 * io/fstatvfs.c: Likewise.
22400 * io/fstatvfs64.c: Likewise.
22401 * io/futimens.c: Likewise.
22402 * io/fxstat.c: Likewise.
22403 * io/fxstat64.c: Likewise.
22404 * io/fxstatat.c: Likewise.
22405 * io/fxstatat64.c: Likewise.
22406 * io/getcwd.c: Likewise.
22407 * io/isatty.c: Likewise.
22408 * io/lchmod.c: Likewise.
22409 * io/lchown.c: Likewise.
22410 * io/link.c: Likewise.
22411 * io/linkat.c: Likewise.
22412 * io/lseek.c: Likewise.
22413 * io/lseek64.c: Likewise.
22414 * io/lxstat64.c: Likewise.
22415 * io/mkdir.c: Likewise.
22416 * io/mkdirat.c: Likewise.
22417 * io/mkfifo.c: Likewise.
22418 * io/mkfifoat.c: Likewise.
22419 * io/open.c: Likewise.
22420 * io/open64.c: Likewise.
22421 * io/openat.c: Likewise.
22422 * io/openat64.c: Likewise.
22423 * io/pipe.c: Likewise.
22424 * io/pipe2.c: Likewise.
22425 * io/poll.c: Likewise.
22426 * io/posix_fadvise.c: Likewise.
22427 * io/posix_fadvise64.c: Likewise.
22428 * io/posix_fallocate.c: Likewise.
22429 * io/posix_fallocate64.c: Likewise.
22430 * io/read.c: Likewise.
22431 * io/readlink.c: Likewise.
22432 * io/readlinkat.c: Likewise.
22433 * io/rmdir.c: Likewise.
22434 * io/sendfile.c: Likewise.
22435 * io/sendfile64.c: Likewise.
22436 * io/statfs.c: Likewise.
22437 * io/statfs64.c: Likewise.
22438 * io/statvfs.c: Likewise.
22439 * io/statvfs64.c: Likewise.
22440 * io/symlink.c: Likewise.
22441 * io/symlinkat.c: Likewise.
22442 * io/ttyname.c: Likewise.
22443 * io/ttyname_r.c: Likewise.
22444 * io/umask.c: Likewise.
22445 * io/unlink.c: Likewise.
22446 * io/unlinkat.c: Likewise.
22447 * io/utime.c: Likewise.
22448 * io/utimensat.c: Likewise.
22449 * io/write.c: Likewise.
22450 * io/xmknod.c: Likewise.
22451 * io/xmknodat.c: Likewise.
22452 * io/xstat.c: Likewise.
22453 * io/xstat64.c: Likewise.
22454 * login/getpt.c: Likewise.
22455 * login/grantpt.c: Likewise.
22456 * login/unlockpt.c: Likewise.
22457 * math/e_acoshl.c: Likewise.
22458 * math/e_acosl.c: Likewise.
22459 * math/e_asinl.c: Likewise.
22460 * math/e_atan2l.c: Likewise.
22461 * math/e_atanhl.c: Likewise.
22462 * math/e_coshl.c: Likewise.
22463 * math/e_expl.c: Likewise.
22464 * math/e_fmodl.c: Likewise.
22465 * math/e_gammal_r.c: Likewise.
22466 * math/e_hypotl.c: Likewise.
22467 * math/e_j0l.c: Likewise.
22468 * math/e_j1l.c: Likewise.
22469 * math/e_jnl.c: Likewise.
22470 * math/e_lgammal_r.c: Likewise.
22471 * math/e_log10l.c: Likewise.
22472 * math/e_log2l.c: Likewise.
22473 * math/e_logl.c: Likewise.
22474 * math/e_powl.c: Likewise.
22475 * math/e_rem_pio2l.c: Likewise.
22476 * math/e_sinhl.c: Likewise.
22477 * math/e_sqrtl.c: Likewise.
22478 * math/fclrexcpt.c: Likewise.
22479 * math/fedisblxcpt.c: Likewise.
22480 * math/feenablxcpt.c: Likewise.
22481 * math/fegetenv.c: Likewise.
22482 * math/fegetexcept.c: Likewise.
22483 * math/fegetround.c: Likewise.
22484 * math/feholdexcpt.c: Likewise.
22485 * math/fesetenv.c: Likewise.
22486 * math/fesetround.c: Likewise.
22487 * math/feupdateenv.c: Likewise.
22488 * math/fgetexcptflg.c: Likewise.
22489 * math/fraiseexcpt.c: Likewise.
22490 * math/fsetexcptflg.c: Likewise.
22491 * math/ftestexcept.c: Likewise.
22492 * math/k_cosl.c: Likewise.
22493 * math/k_rem_pio2l.c: Likewise.
22494 * math/k_sinl.c: Likewise.
22495 * math/k_tanl.c: Likewise.
22496 * math/s_asinhl.c: Likewise.
22497 * math/s_atanl.c: Likewise.
22498 * math/s_cbrtl.c: Likewise.
22499 * math/s_erfl.c: Likewise.
22500 * math/s_expm1l.c: Likewise.
22501 * math/s_log1pl.c: Likewise.
22502 * math/s_tanhl.c: Likewise.
22503 * misc/acct.c: Likewise.
22504 * misc/brk.c: Likewise.
22505 * misc/chflags.c: Likewise.
22506 * misc/chroot.c: Likewise.
22507 * misc/fchflags.c: Likewise.
22508 * misc/fgetxattr.c: Likewise.
22509 * misc/flistxattr.c: Likewise.
22510 * misc/fremovexattr.c: Likewise.
22511 * misc/fsetxattr.c: Likewise.
22512 * misc/fsync.c: Likewise.
22513 * misc/ftruncate.c: Likewise.
22514 * misc/futimes.c: Likewise.
22515 * misc/futimesat.c: Likewise.
22516 * misc/getdomain.c: Likewise.
22517 * misc/getdtsz.c: Likewise.
22518 * misc/gethostid.c: Likewise.
22519 * misc/gethostname.c: Likewise.
22520 * misc/getloadavg.c: Likewise.
22521 * misc/getpagesize.c: Likewise.
22522 * misc/getsysstats.c: Likewise.
22523 * misc/getxattr.c: Likewise.
22524 * misc/gtty.c: Likewise.
22525 * misc/ioctl.c: Likewise.
22526 * misc/lgetxattr.c: Likewise.
22527 * misc/listxattr.c: Likewise.
22528 * misc/llistxattr.c: Likewise.
22529 * misc/lremovexattr.c: Likewise.
22530 * misc/lsetxattr.c: Likewise.
22531 * misc/lutimes.c: Likewise.
22532 * misc/madvise.c: Likewise.
22533 * misc/mincore.c: Likewise.
22534 * misc/mlock.c: Likewise.
22535 * misc/mlockall.c: Likewise.
22536 * misc/mmap.c: Likewise.
22537 * misc/mprotect.c: Likewise.
22538 * misc/msync.c: Likewise.
22539 * misc/munlock.c: Likewise.
22540 * misc/munlockall.c: Likewise.
22541 * misc/munmap.c: Likewise.
22542 * misc/preadv.c: Likewise.
22543 * misc/preadv64.c: Likewise.
22544 * misc/ptrace.c: Likewise.
22545 * misc/pwritev.c: Likewise.
22546 * misc/pwritev64.c: Likewise.
22547 * misc/readv.c: Likewise.
22548 * misc/reboot.c: Likewise.
22549 * misc/remap_file_pages.c: Likewise.
22550 * misc/removexattr.c: Likewise.
22551 * misc/revoke.c: Likewise.
22552 * misc/select.c: Likewise.
22553 * misc/setdomain.c: Likewise.
22554 * misc/setegid.c: Likewise.
22555 * misc/seteuid.c: Likewise.
22556 * misc/sethostid.c: Likewise.
22557 * misc/sethostname.c: Likewise.
22558 * misc/setregid.c: Likewise.
22559 * misc/setreuid.c: Likewise.
22560 * misc/setxattr.c: Likewise.
22561 * misc/sstk.c: Likewise.
22562 * misc/stty.c: Likewise.
22563 * misc/swapoff.c: Likewise.
22564 * misc/swapon.c: Likewise.
22565 * misc/sync.c: Likewise.
22566 * misc/syncfs.c: Likewise.
22567 * misc/syscall.c: Likewise.
22568 * misc/truncate.c: Likewise.
22569 * misc/ualarm.c: Likewise.
22570 * misc/usleep.c: Likewise.
22571 * misc/ustat.c: Likewise.
22572 * misc/utimes.c: Likewise.
22573 * misc/vhangup.c: Likewise.
22574 * misc/writev.c: Likewise.
22575 * posix/_exit.c: Likewise.
22576 * posix/alarm.c: Likewise.
22577 * posix/execve.c: Likewise.
22578 * posix/fexecve.c: Likewise.
22579 * posix/fork.c: Likewise.
22580 * posix/fpathconf.c: Likewise.
22581 * posix/getaddrinfo.c: Likewise.
22582 * posix/getegid.c: Likewise.
22583 * posix/geteuid.c: Likewise.
22584 * posix/getgid.c: Likewise.
22585 * posix/getgroups.c: Likewise.
22586 * posix/getlogin.c: Likewise.
22587 * posix/getlogin_r.c: Likewise.
22588 * posix/getpgid.c: Likewise.
22589 * posix/getpid.c: Likewise.
22590 * posix/getppid.c: Likewise.
22591 * posix/getresgid.c: Likewise.
22592 * posix/getresuid.c: Likewise.
22593 * posix/getsid.c: Likewise.
22594 * posix/getuid.c: Likewise.
22595 * posix/glob64.c: Likewise.
22596 * posix/nanosleep.c: Likewise.
22597 * posix/pathconf.c: Likewise.
22598 * posix/pause.c: Likewise.
22599 * posix/posix_madvise.c: Likewise.
22600 * posix/pread.c: Likewise.
22601 * posix/pread64.c: Likewise.
22602 * posix/pwrite.c: Likewise.
22603 * posix/pwrite64.c: Likewise.
22604 * posix/sched_getaffinity.c: Likewise.
22605 * posix/sched_getp.c: Likewise.
22606 * posix/sched_gets.c: Likewise.
22607 * posix/sched_primax.c: Likewise.
22608 * posix/sched_primin.c: Likewise.
22609 * posix/sched_rr_gi.c: Likewise.
22610 * posix/sched_setaffinity.c: Likewise.
22611 * posix/sched_setp.c: Likewise.
22612 * posix/sched_sets.c: Likewise.
22613 * posix/sched_yield.c: Likewise.
22614 * posix/setgid.c: Likewise.
22615 * posix/setlogin.c: Likewise.
22616 * posix/setpgid.c: Likewise.
22617 * posix/setresgid.c: Likewise.
22618 * posix/setresuid.c: Likewise.
22619 * posix/setsid.c: Likewise.
22620 * posix/setuid.c: Likewise.
22621 * posix/sleep.c: Likewise.
22622 * posix/spawni.c: Likewise.
22623 * posix/sysconf.c: Likewise.
22624 * posix/times.c: Likewise.
22625 * posix/wait.c: Likewise.
22626 * posix/wait3.c: Likewise.
22627 * posix/wait4.c: Likewise.
22628 * posix/waitpid.c: Likewise.
22629 * resolv/gai_sigqueue.c: Likewise.
22630 * resource/getpriority.c: Likewise.
22631 * resource/getrlimit.c: Likewise.
22632 * resource/getrusage.c: Likewise.
22633 * resource/nice.c: Likewise.
22634 * resource/setpriority.c: Likewise.
22635 * resource/setrlimit.c: Likewise.
22636 * resource/ulimit.c: Likewise.
22637 * rt/aio_cancel.c: Likewise.
22638 * rt/aio_fsync.c: Likewise.
22639 * rt/aio_read.c: Likewise.
22640 * rt/aio_sigqueue.c: Likewise.
22641 * rt/aio_suspend.c: Likewise.
22642 * rt/aio_write.c: Likewise.
22643 * rt/clock_getres.c: Likewise.
22644 * rt/clock_gettime.c: Likewise.
22645 * rt/clock_nanosleep.c: Likewise.
22646 * rt/clock_settime.c: Likewise.
22647 * rt/lio_listio.c: Likewise.
22648 * rt/mq_close.c: Likewise.
22649 * rt/mq_getattr.c: Likewise.
22650 * rt/mq_notify.c: Likewise.
22651 * rt/mq_open.c: Likewise.
22652 * rt/mq_receive.c: Likewise.
22653 * rt/mq_send.c: Likewise.
22654 * rt/mq_setattr.c: Likewise.
22655 * rt/mq_timedreceive.c: Likewise.
22656 * rt/mq_timedsend.c: Likewise.
22657 * rt/mq_unlink.c: Likewise.
22658 * rt/shm_open.c: Likewise.
22659 * rt/shm_unlink.c: Likewise.
22660 * rt/timer_create.c: Likewise.
22661 * rt/timer_delete.c: Likewise.
22662 * rt/timer_getoverr.c: Likewise.
22663 * rt/timer_gettime.c: Likewise.
22664 * rt/timer_settime.c: Likewise.
22665 * setjmp/__longjmp.c: Likewise.
22666 * setjmp/setjmp.c: Likewise.
22667 * signal/kill.c: Likewise.
22668 * signal/killpg.c: Likewise.
22669 * signal/raise.c: Likewise.
22670 * signal/sigaction.c: Likewise.
22671 * signal/sigaltstack.c: Likewise.
22672 * signal/sigblock.c: Likewise.
22673 * signal/sigignore.c: Likewise.
22674 * signal/sigintr.c: Likewise.
22675 * signal/signal.c: Likewise.
22676 * signal/sigpause.c: Likewise.
22677 * signal/sigpending.c: Likewise.
22678 * signal/sigqueue.c: Likewise.
22679 * signal/sigreturn.c: Likewise.
22680 * signal/sigset.c: Likewise.
22681 * signal/sigsetmask.c: Likewise.
22682 * signal/sigstack.c: Likewise.
22683 * signal/sigsuspend.c: Likewise.
22684 * signal/sigtimedwait.c: Likewise.
22685 * signal/sigvec.c: Likewise.
22686 * signal/sigwait.c: Likewise.
22687 * signal/sigwaitinfo.c: Likewise.
22688 * signal/sysv_signal.c: Likewise.
22689 * socket/accept.c: Likewise.
22690 * socket/accept4.c: Likewise.
22691 * socket/bind.c: Likewise.
22692 * socket/connect.c: Likewise.
22693 * socket/getpeername.c: Likewise.
22694 * socket/getsockname.c: Likewise.
22695 * socket/getsockopt.c: Likewise.
22696 * socket/isfdtype.c: Likewise.
22697 * socket/listen.c: Likewise.
22698 * socket/recv.c: Likewise.
22699 * socket/recvfrom.c: Likewise.
22700 * socket/recvmsg.c: Likewise.
22701 * socket/send.c: Likewise.
22702 * socket/sendmsg.c: Likewise.
22703 * socket/sendto.c: Likewise.
22704 * socket/setsockopt.c: Likewise.
22705 * socket/shutdown.c: Likewise.
22706 * socket/sockatmark.c: Likewise.
22707 * socket/socket.c: Likewise.
22708 * socket/socketpair.c: Likewise.
22709 * stdio-common/ctermid.c: Likewise.
22710 * stdio-common/cuserid.c: Likewise.
22711 * stdio-common/remove.c: Likewise.
22712 * stdio-common/rename.c: Likewise.
22713 * stdio-common/renameat.c: Likewise.
22714 * stdio-common/tempname.c: Likewise.
22715 * stdlib/getcontext.c: Likewise.
22716 * stdlib/makecontext.c: Likewise.
22717 * stdlib/setcontext.c: Likewise.
22718 * stdlib/swapcontext.c: Likewise.
22719 * stdlib/system.c: Likewise.
22720 * streams/fattach.c: Likewise.
22721 * streams/fdetach.c: Likewise.
22722 * streams/getmsg.c: Likewise.
22723 * streams/getpmsg.c: Likewise.
22724 * streams/putmsg.c: Likewise.
22725 * streams/putpmsg.c: Likewise.
22726 * sysdeps/unix/bsd/getpt.c: Likewise.
22727 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22728 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22729 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22732 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22733 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22734 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22735 * sysvipc/msgctl.c: Likewise.
22736 * sysvipc/msgget.c: Likewise.
22737 * sysvipc/msgrcv.c: Likewise.
22738 * sysvipc/msgsnd.c: Likewise.
22739 * sysvipc/semctl.c: Likewise.
22740 * sysvipc/semget.c: Likewise.
22741 * sysvipc/semop.c: Likewise.
22742 * sysvipc/semtimedop.c: Likewise.
22743 * sysvipc/shmat.c: Likewise.
22744 * sysvipc/shmctl.c: Likewise.
22745 * sysvipc/shmdt.c: Likewise.
22746 * sysvipc/shmget.c: Likewise.
22747 * termios/tcdrain.c: Likewise.
22748 * termios/tcflow.c: Likewise.
22749 * termios/tcflush.c: Likewise.
22750 * termios/tcgetattr.c: Likewise.
22751 * termios/tcgetpgrp.c: Likewise.
22752 * termios/tcsendbrk.c: Likewise.
22753 * termios/tcsetattr.c: Likewise.
22754 * termios/tcsetpgrp.c: Likewise.
22755 * time/adjtime.c: Likewise.
22756 * time/clock.c: Likewise.
22757 * time/getitimer.c: Likewise.
22758 * time/gettimeofday.c: Likewise.
22759 * time/setitimer.c: Likewise.
22760 * time/settimeofday.c: Likewise.
22761 * time/stime.c: Likewise.
22762 * time/time.c: Likewise.
22764 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22766 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22769 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22771 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22773 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22777 FE_TONEAREST before applying Dekker multiplication and Knuth
22778 addition. Clear inexact exceptions and check for exact zero
22779 results afterwards.
22780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22781 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22783 * math/libm-test.inc (fma_test): Add more tests.
22784 (fma_test_towardzero): Likewise.
22785 (fma_test_downward): Likewise.
22786 (fma_test_upward): Likewise.
22787 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22789 (libc_fesetround): New macro.
22790 (libc_fesetroundf): Likewise.
22791 (libc_fesetroundl): Likewise.
22792 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22794 (libc_fesetround_387): Likewise.
22795 (libc_fesetroundf): New macro.
22796 (libc_fesetround): Likewise.
22797 (libc_fesetroundl): Likewise.
22798 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22800 (libc_fesetroundf): New macro.
22801 (libc_fesetround): Likewise.
22802 (libc_fesetroundl): Likewise.
22803 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22804 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22805 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22807 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22808 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22810 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22811 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22813 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22817 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22818 integer constant usable in #if and use that to give value to enum
22820 (FE_DIVBYZERO): Likewise.
22821 (FE_UNDERFLOW): Likewise.
22822 (FE_OVERFLOW): Likewise.
22823 (FE_INVALID): Likewise.
22824 (FE_INVALID_SNAN): Likewise.
22825 (FE_INVALID_ISI): Likewise.
22826 (FE_INVALID_IDI): Likewise.
22827 (FE_INVALID_ZDZ): Likewise.
22828 (FE_INVALID_IMZ): Likewise.
22829 (FE_INVALID_COMPARE): Likewise.
22830 (FE_INVALID_SOFTWARE): Likewise.
22831 (FE_INVALID_SQRT): Likewise.
22832 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22833 (FE_TONEAREST): Likewise.
22834 (FE_TOWARDZERO): Likewise.
22835 (FE_UPWARD): Likewise.
22836 (FE_DOWNWARD): Likewise.
22837 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22838 (FE_DIVBYZERO): Likewise.
22839 (FE_OVERFLOW): Likewise.
22840 (FE_UNDERFLOW): Likewise.
22841 (FE_INEXACT): Likewise.
22842 (FE_TONEAREST): Likewise.
22843 (FE_DOWNWARD): Likewise.
22844 (FE_UPWARD): Likewise.
22845 (FE_TOWARDZERO): Likewise.
22846 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22847 (FE_UNDERFLOW): Likewise.
22848 (FE_OVERFLOW): Likewise.
22849 (FE_DIVBYZERO): Likewise.
22850 (FE_INVALID): Likewise.
22851 (FE_TONEAREST): Likewise.
22852 (FE_TOWARDZERO): Likewise.
22853 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22854 (FE_OVERFLOW): Likewise.
22855 (FE_UNDERFLOW): Likewise.
22856 (FE_DIVBYZERO): Likewise.
22857 (FE_INEXACT): Likewise.
22858 (FE_TONEAREST): Likewise.
22859 (FE_TOWARDZERO): Likewise.
22860 (FE_UPWARD): Likewise.
22861 (FE_DOWNWARD): Likewise.
22862 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22863 (FE_DIVBYZERO): Likewise.
22864 (FE_OVERFLOW): Likewise.
22865 (FE_UNDERFLOW): Likewise.
22866 (FE_INEXACT): Likewise.
22867 (FE_TONEAREST): Likewise.
22868 (FE_DOWNWARD): Likewise.
22869 (FE_UPWARD): Likewise.
22870 (FE_TOWARDZERO): Likewise.
22872 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22874 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22876 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22878 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22879 commands. Quote $PWD.
22880 (blacklist_exports): Don't use remove_newlines. Replace "declare
22882 (remove_newlines): Remove.
22884 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22886 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22887 * stdlib/stdlib.h (atof): Moved to ...
22888 * include/bits/stdlib-float.h: Here. New file.
22889 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22890 * stdlib/bits/stdlib-float.h: New file.
22891 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22893 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22896 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22898 * conform/conformtest.pl (@headers): Add fenv.h.
22899 * conform/data/fenv.h-data: New file.
22900 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22901 include of <math/fenv.h>.
22903 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22904 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22905 && !UNIX98]. Enables tests for XOPEN2K8.
22906 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22907 POSIX2008]: Likewise.
22909 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22910 (struct rusage): Do not expect type or its members.
22913 * math/math.h (FP_NAN): Define macro to integer constant usable in
22914 #if and use that to give value to enum constant.
22915 (FP_INFINITE): Likewise.
22916 (FP_ZERO): Likewise.
22917 (FP_SUBNORMAL): Likewise.
22918 (FP_NORMAL): Likewise.
22920 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22922 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22923 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22926 2012-11-02 Roland McGrath <roland@hack.frob.com>
22928 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22929 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22930 autoconf-time if not.
22931 * configure.in: Remove AC_PREREQ.
22933 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22935 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22936 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22937 of the internal implementation.
22939 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22941 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22942 except include of <misc/sys/syslog.h>.
22944 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22947 function returns with a NULL context exit with zero.
22949 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22951 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22953 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22955 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22956 (run_program_cmd): This.
22957 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22958 (tst_langinfo): New variable. Use it.
22960 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22962 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22963 floating point opcodes.
22965 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22967 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22970 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22972 * sysdeps/mach/hurd/powerpc: Remove directory.
22973 * sysdeps/mach/powerpc: Likewise.
22975 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22977 * scripts/check-local-headers.sh: Ignore c++ headers.
22979 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22981 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22982 __libc_cleanup_region_start argument.
22984 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22989 x * y using scaling, not as x * y + z.
22990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22992 * math/libm-test.inc (fma_test): Add more tests.
22993 (fma_test_towardzero): Likewise.
22994 (fma_test_downward): Likewise.
22995 (fma_test_upward): Likewise.
22997 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22999 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23001 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23003 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23006 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23008 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23010 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23017 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23020 Fix the order of the list for glibc 2.17.
23021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23024 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23028 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23031 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23032 for low part of x being zero before using __atanl (y).
23033 * math/libm-test.inc (atan2_test): Add another test.
23035 * manual/install.texi (Configuring and compiling): Document
23036 general use of test-wrapper and test-wrapper-env.
23037 * INSTALL: Regenerated.
23039 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23040 (__fma): Do not extract and scale down low bits on after-rounding
23041 systems when result rounded to normal precision would have normal
23043 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23044 (__fmal): Do not extract and scale down low bits on after-rounding
23045 systems when result rounded to normal precision would have normal
23047 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23048 (__fmal): Do not extract and scale down low bits on after-rounding
23049 systems when result rounded to normal precision would have normal
23051 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23053 (fma_test): Add more tests.
23054 (fma_test_towardzero): Likewise.
23055 (fma_test_downward): Likewise.
23056 (fma_test_upward): Likewise.
23058 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23060 * sysdeps/i386/tininess.h: Renamed to ...
23061 * sysdeps/x86/tininess.h: This.
23062 * sysdeps/x86_64/tininess.h: Removed.
23064 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23066 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23067 input. Use $(build-program-cmd).
23068 ($(objpfx)tst-array1-static.out): Likewise.
23069 ($(objpfx)tst-array2.out): Likewise.
23070 ($(objpfx)tst-array3.out): Likewise.
23071 ($(objpfx)tst-array4.out): Likewise.
23072 ($(objpfx)tst-array5.out): Likewise.
23073 ($(objpfx)tst-array5-static.out): Likewise.
23075 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23077 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23080 * nss/nsswitch.h (nss_interface_function): Provide new
23081 macro for use with NSS functions.
23082 * grp/initgroups.c: Use new macro.
23083 * nss/getXXbyYY.c: Likewise.
23084 * nss/getXXbyYY_r.c: Likewise.
23085 * nss/getXXent.c: Likewise.
23086 * nss/getXXent_r.c: Likewise.
23087 * sysdeps/posix/getaddrinfo.c: Likewise.
23089 2012-10-30 Andreas Jaeger <aj@suse.de>
23091 * po/ru.po: Update Russion translation from translation project.
23093 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23098 result and shift together with sticky bit instead of replicating
23099 round-to-nearest rounding.
23100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23101 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23102 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23103 missing underflow exceptions.
23104 (fma_test_towardzero): Add more tests.
23105 (fma_test_downward): Likewise.
23106 (fma_test_upward): Likewise.
23109 * sysdeps/generic/tininess.h: New file.
23110 * sysdeps/i386/tininess.h: Likewise.
23111 * sysdeps/sh/tininess.h: Likewise.
23112 * sysdeps/x86_64/tininess.h: Likewise.
23113 * stdlib/tst-strtod-underflow.c: Likewise.
23114 * stdlib/tst-tininess.c: Likewise.
23115 * stdlib/strtod_l.c: Include <tininess.h>.
23116 (round_and_return): Do not set errno for exact underflow cases.
23117 Force an underflow exception when setting errno for underflow.
23118 Determine underflow based on rounding to normal precision if
23119 TININESS_AFTER_ROUNDING.
23120 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23121 ERANGE for exact underflow cases.
23122 * stdlib/Makefile (tests): Add tst-tininess and
23123 tst-strtod-underflow.
23124 ($(objpfx)tst-tininess): Use $(link-libm).
23125 ($(objpfx)tst-strtod-underflow): Likewise.
23127 2012-10-30 Andreas Jaeger <aj@suse.de>
23130 * elf/Makefile (tests): Remove conditional for have-initfini-array
23131 since this is now always required and the variable does not exist
23133 (tests-static): Likewise.
23134 (modules-names): Likewise.
23136 * po/eo.po: Add Esperanto translation from translation project.
23138 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23139 merged with constructor/destructor.
23140 (init_array): Likewise.
23141 * elf/tst-array2dep.c (fini_array): Likewise.
23142 (init_array): Likewise.
23144 2012-10-29 Mike Frysinger <vapier@gentoo.org>
23146 * manual/message.texi: Delete @cartouche tags.
23148 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23150 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23152 * sysdeps/mach/hurd/fsync.c: Likewise.
23154 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23155 [_POSIX_REALTIME_SIGNALS]: Change condition to
23156 [_POSIX_REALTIME_SIGNALS > 0].
23158 2012-10-27 Andreas Jaeger <aj@suse.de>
23160 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23161 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23163 [__WORDSIZE != 64]: Likewise.
23165 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23167 * iconvdata/tst-table.sh: Remove ${SHELL}.
23168 * iconvdata/tst-tables.sh: Likewise.
23170 2012-10-25 David S. Miller <davem@davemloft.net>
23172 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23173 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23178 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23179 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23180 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23183 2012-10-25 Roland McGrath <roland@hack.frob.com>
23185 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23186 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23189 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23190 Jim Blandy <jimb@codesourcery.com>
23192 * scripts/cross-test-ssh.sh: New file.
23193 * manual/install.texi (Configuring and compiling): Document use of
23195 * INSTALL: Regenerated.
23197 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23199 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23202 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23204 * Makeconfig (run-program-prefix): Fix comment.
23206 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23207 Jim Blandy <jimb@codesourcery.com>
23209 * Makeconfig (test-wrapper): New variable,
23210 (test-wrapper-env): Likewise.
23211 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23212 (run-built-tests): Define to yes.
23213 (run-program-prefix): Use $(test-wrapper).
23214 (built-program-cmd): Likewise.
23215 * Rules (make-test-out): Use $(test-wrapper-env) and
23216 $(host-built-program-cmd).
23217 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23218 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23220 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23221 $(test-wrapper-env) to tst-rtld-load-self.sh.
23222 ($(objpfx)order2.out): Use $(test-wrapper).
23223 ($(objpfx)tst-initorder.out): Likewise.
23224 ($(objpfx)tst-initorder2.out): Likewise.
23225 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23226 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23227 (test_wrapper_env): New variable. Use it to run ld.so.
23228 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23229 Use it to run ld.so.
23230 (test_wrapper_env): Likewise.
23231 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23232 $(test-wrapper) to run-iconv-test.sh.
23233 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23234 (ICONV): Use $test_wrapper.
23235 * posix/Makefile ($(objpfx)globtest.out): Pass
23236 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23237 globtest.sh, not $(run-program-prefix).
23238 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23239 (test_wrapper): Likewise.
23240 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23241 set together with run_via_rtld_prefix.
23242 (run_program_prefix): Define in terms of test_wrapper and
23243 run_via_rtld_prefix.
23245 2012-10-24 Roland McGrath <roland@hack.frob.com>
23247 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23248 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23252 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23253 Declare __clock_getres, __clock_gettime, __clock_settime,
23254 __clock_nanosleep, and __clock_getcpuclockid.
23255 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23256 Remove librt_hidden_def (clock_gettime).
23257 * sysdeps/unix/clock_gettime.c: Likewise.
23258 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23260 * rt/clock_getres.c: Define __clock_getres as an alias.
23261 * sysdeps/posix/clock_getres.c: Likewise.
23262 * rt/clock_settime.c: Define __clock_settime as an alias.
23263 * sysdeps/unix/clock_settime.c: Likewise.
23264 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23265 * sysdeps/unix/clock_nanosleep.c: Likewise.
23266 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23267 * rt/clock-compat.c: New file.
23268 * rt/Makefile (librt-routines): Add clock-compat and move
23269 $(clock-routines) to ...
23270 (routines): ... here, new variable.
23271 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23272 Don't add get_clockfreq here.
23273 * rt/Versions (libc: GLIBC_2.17): New version set.
23274 Add clock_* symbols here.
23275 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23276 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23277 (GLIBC_2.17): Add clock_* symbols.
23278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23289 * NEWS: Mention the move.
23291 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23292 Use __open, __read, __close rather than their public counterparts.
23293 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23294 (__get_clockfreq_via_cpuinfo): Likewise.
23295 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23296 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23298 * config.h.in (HAVE_IFUNC): New #undef.
23299 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23301 * configure: Regenerated.
23303 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23305 * configure.in: Move READELF check to start of file.
23306 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23307 libc_cv_asm_gnu_indirect_function in the process.
23308 * configure: Regenerated.
23310 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23312 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23313 send the output to /dev/null.
23314 (libc_cv_cc_with_libunwind): Likewise.
23315 (libc_cv_as_noexecstack): Likewise.
23316 * configure: Regenerate.
23318 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23320 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23322 * posix/globtest.sh (TMPDIR): Do not set.
23323 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23324 (testout): Likewise.
23326 2012-10-24 Andreas Jaeger <aj@suse.de>
23328 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23329 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23330 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23331 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23332 posix_fadvise64, posix_fallocate64.
23334 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23335 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23336 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23338 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23340 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23343 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23344 <bits/fcntl-linux.h>.
23345 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23348 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23349 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23350 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23351 [__WORDSIZE != 64]: Likewise.
23353 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23355 * Makeconfig (run-built-tests): New variable.
23356 * Rules [$(cross-compiling) = yes]: Change condition to
23357 [$(run-built-tests) = no].
23358 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23359 to [$(run-built-tests) = yes].
23360 * elf/Makefile [$(cross-compiling) = no]: Likewise
23361 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23362 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23363 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23364 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23365 * io/Makefile [$(cross-compiling) = no]: Likewise.
23366 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23367 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23368 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23369 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23370 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23371 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23372 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23373 * string/Makefile [$(cross-compiling) = no]: Likewise.
23375 * posix/Makefile ($(objpfx)globtest.out): Pass
23376 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23377 $(rtld-installed-name).
23378 * posix/globtest.sh (elf_objpfx): Remove variable.
23379 (rtld_installed_name): Likewise.
23380 (library_path): Likewise.
23381 (run_program_prefix): New variable. Use for running globtest
23384 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23385 Joseph Myers <joseph@codesourcery.com>
23387 * Makeconfig (host-built-program-cmd): New variable.
23388 * elf/Makefile (tst-stackguard1-ARGS): Use
23389 $(host-built-program-cmd).
23390 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23391 (tst-spawn-ARGS): Likewise.
23392 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23394 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23395 Jim Blandy <jimb@codesourcery.com>
23397 * Makeconfig (run-via-rtld-prefix): New variable.
23398 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23399 (built-program-cmd): Likewise.
23401 2012-10-22 Andreas Jaeger <aj@suse.de>
23403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23404 __O_RSYNC if it exists, otherwise to O_SYNC.
23406 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23407 Joseph Myers <joseph@codesourcery.com>
23409 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23411 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23413 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23416 2012-10-22 Andreas Jaeger <aj@suse.de>
23418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23423 bits/fcntl-linux.h.
23425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23426 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23430 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23433 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23434 Joseph Myers <joseph@codesourcery.com>
23436 * config.make.in (NM): New variable.
23438 2012-10-21 Andreas Jaeger <aj@suse.de>
23440 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23441 definitions and declarations that are provided by
23442 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23444 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23447 * elf/Makefile (tests-static): Add tst-leaks1-static.
23448 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23449 ($(objpfx)tst-leaks1-static): New rule.
23450 ($(objpfx)tst-leaks1-static-mem): Likewise.
23451 (tst-leaks1-static-ENV): New macro.
23452 * elf/dl-open.c (dl_open_worker): Check the main application
23453 only if SHARED is defined.
23454 * elf/tst-leaks1-static.c: New file.
23456 2012-10-20 Andreas Jaeger <aj@suse.de>
23458 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23459 generic values for Linux.
23460 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23461 and declarations that are provided by <bits/fcntl-linux.h> and
23462 include <bits/fcntl-linux.h>.
23463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23466 2012-10-20 Roland McGrath <roland@hack.frob.com>
23468 * io/fcntl.h: Move include of <bits/types.h> to the top and
23469 include it unconditionally.
23471 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23473 * wcsmbs/Makefile (tests-ifunc): New variable.
23474 (tests): Add $(tests-ifunc).
23475 * wcsmbs/test-wcschr-ifunc.c: New file.
23476 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23477 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23478 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23479 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23480 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23482 * string/Makefile (tests-ifunc): New variable.
23483 (tests): Add $(tests-ifunc).
23484 * string/test-memccpy.c (TEST_NAME): New macro.
23485 * string/test-memchr.c (TEST_NAME): Likewise.
23486 * string/test-memcmp.c (TEST_NAME): Likewise.
23487 * string/test-memcpy.c (TEST_NAME): Likewise.
23488 * string/test-memmem.c (TEST_NAME): Likewise.
23489 * string/test-memmove.c (TEST_NAME): Likewise.
23490 * string/test-memset.c (TEST_NAME): Likewise.
23491 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23492 * string/test-stpcpy.c (TEST_NAME): Likewise.
23493 * string/test-stpncpy.c (TEST_NAME): Likewise.
23494 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23495 * string/test-strcasestr.c (TEST_NAME): Likewise.
23496 * string/test-strcat.c (TEST_NAME): Likewise.
23497 * string/test-strchr.c (TEST_NAME): Likewise.
23498 * string/test-strcmp.c(TEST_NAME): Likewise.
23499 * string/test-strcpy.c (TEST_NAME): Likewise.
23500 * string/test-strcspn.c (TEST_NAME): Likewise.
23501 * string/test-strlen.c (TEST_NAME): Likewise.
23502 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23503 * string/test-strncmp.c (TEST_NAME): Likewise.
23504 * string/test-strncpy.c (TEST_NAME): Likewise.
23505 * string/test-strnlen.c (TEST_NAME): Likewise.
23506 * string/test-strpbrk.c (TEST_NAME): Likewise.
23507 * string/test-strrchr.c (TEST_NAME): Likewise.
23508 * string/test-strspn.c (TEST_NAME): Likewise.
23509 * string/test-strstr.c (TEST_NAME): Likewise.
23510 * string/test-bcopy-ifunc.c: New file.
23511 * string/test-bzero-ifunc.c: Likewise.
23512 * string/test-memccpy-ifunc.c: Likewise.
23513 * string/test-memchr-ifunc.c: Likewise.
23514 * string/test-memcmp-ifunc.c: Likewise.
23515 * string/test-memcpy-ifunc.c: Likewise.
23516 * string/test-memmem-ifunc.c: Likewise.
23517 * string/test-memmove-ifunc.c: Likewise.
23518 * string/test-mempcpy-ifunc.c: Likewise.
23519 * string/test-memset-ifunc.c: Likewise.
23520 * string/test-rawmemchr-ifunc.c: Likewise.
23521 * string/test-stpcpy-ifunc.c: Likewise.
23522 * string/test-stpncpy-ifunc.c: Likewise.
23523 * string/test-strcasecmp-ifunc.c: Likewise.
23524 * string/test-strcasestr-ifunc.c: Likewise.
23525 * string/test-strcat-ifunc.c: Likewise.
23526 * string/test-strchr-ifunc.c: Likewise.
23527 * string/test-strchrnul-ifunc.c: Likewise.
23528 * string/test-strcmp-ifunc.c: Likewise.
23529 * string/test-strcpy-ifunc.c: Likewise.
23530 * string/test-strcspn-ifunc.c: Likewise.
23531 * string/test-strlen-ifunc.c: Likewise.
23532 * string/test-strncasecmp-ifunc.c: Likewise.
23533 * string/test-strncat-ifunc.c: Likewise.
23534 * string/test-strncmp-ifunc.c: Likewise.
23535 * string/test-strncpy-ifunc.c: Likewise.
23536 * string/test-strnlen-ifunc.c: Likewise.
23537 * string/test-strpbrk-ifunc.c: Likewise.
23538 * string/test-strrchr-ifunc.c: Likewise.
23539 * string/test-strspn-ifunc.c: Likewise.
23540 * string/test-strstr-ifunc.c: Likewise.
23542 * debug/Makefile (tests-ifunc): New variable.
23543 (tests): Add $(tests-ifunc).
23544 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23545 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23546 * debug/test-stpcpy_chk-ifunc.c: New file.
23547 * debug/test-strcpy_chk-ifunc.c: Likewise.
23549 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23552 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23553 header is not read in.
23555 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23557 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23558 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23559 directly. Pass built executable to script as
23560 $(built-program-cmd).
23561 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23562 $testprogram without using LD_LIBRARY_PATH and $ldso.
23564 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23565 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23566 $(rtld-installed-name).
23567 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23568 (rtld_installed_name): Likewise.
23569 (library_path): Likewise.
23570 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23571 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23572 $(run-program-prefix) to tst-tables.sh.
23573 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23574 it to run tst-table-from and tst-table-to.
23575 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23576 Pass it to tst-table.sh.
23577 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23578 $(run-program-prefix) to tst-gettext.sh.
23579 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23581 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23583 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23584 to run tst-gettext.
23585 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23586 to run tst-gettext2.
23587 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23588 to run tst-translit.
23589 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23590 $(run-program-prefix) to tst-mtrace.sh.
23591 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23593 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23594 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23595 $(rtld-installed-name).
23596 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23597 (rtld_installed_name): Likewise.
23598 (run_program_prefix): New variable. Use it to run wordexp-test.
23600 * Makeconfig (ARCH): Remove all definitions.
23601 (machine): Likewise.
23602 [ARCH]: Remove conditional code.
23603 [!objdir]: Give error.
23604 [!objdir] (objpfx): Remove.
23605 [!objdir] (common-objpfx): Likewise.
23606 [!objdir] (common-objdir): Likewise.
23607 * configure.in (config_makefile): Remove. Hardcode Makefile in
23608 AC_CONFIG_FILES call.
23609 * configure: Regenerated.
23612 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23614 (testout): Likewise.
23616 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23617 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23618 $(rtld-installed-name).
23619 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23620 (rtld_installed_name): Likwise.
23621 (runit): Remove function.
23622 (run_getconf): New variable, Use it for running getconf binary.
23624 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23627 * string/test-memmem.c (check_result): New function.
23628 (do_one_test): Use it.
23629 (check1): New function.
23630 (test_main): Use it.
23632 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23634 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23636 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23638 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23639 (_G_LSEEK64): Likewise.
23640 (_G_MMAP64): Likewise.
23641 (_G_FSTAT64): Likewise.
23642 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23643 (_G_LSEEK64): Likewise.
23644 (_G_MMAP64): Likewise.
23645 (_G_FSTAT64): Likewise.
23646 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23647 unconditional. Call __mmap64 directly.
23648 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23649 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23650 __lseek64 directly.
23651 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23652 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23654 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23655 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23656 __lseek64 directly.
23657 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23658 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23659 __lseek64 directly.
23660 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23661 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23662 __lseek64 directly.
23663 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23664 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23665 __fxstat64 directly.
23666 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23667 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23669 (freopen64) [!_G_OPEN64]: Remove conditional code.
23670 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23672 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23673 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23675 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23676 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23678 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23679 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23681 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23682 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23684 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23685 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23687 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23688 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23690 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23692 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23695 * manual/memory.texi (Malloc Tunable Parameters): Add note
23696 about free list pointers overwriting some perturb bytes.
23697 Wording suggested by Roland McGrath.
23699 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23701 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23702 (lgamma_test): Likewise.
23703 (tgamma_test): Likewise.
23705 2012-10-16 Florian Weimer <fweimer@redhat.com>
23708 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23709 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23711 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23713 * NEWS: Mention BZ #14716.
23714 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23715 when removing AVAILABLE1_USES_J macro.
23717 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23719 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23720 (__bswap_64): __uint64_t for unsigned 64-bit int.
23722 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23724 * include/string.h (memmem): Declare libc hidden alias.
23725 * string/memmem.c (memmem): Define libc hidden alias.
23726 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23727 __read, __close instead of open, read, close.
23729 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23731 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23732 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23734 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23735 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23736 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23738 (__rawmemchr_sse2): Likewise.
23739 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23740 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23741 (__strchr_sse2): Likewise.
23742 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23743 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23744 (__strcasecmp_sse2): Likewise.
23745 (__strncasecmp_sse2): Likewise.
23746 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23747 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23748 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23749 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23750 (__strrchr_sse2): Likewise.
23751 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23753 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23754 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23755 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23756 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23757 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23758 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23759 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23760 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23761 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23762 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23763 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23764 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23765 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23766 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23767 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23768 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23769 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23770 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23771 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23772 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23773 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23774 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23775 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23776 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23777 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23778 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23779 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23780 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23781 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23782 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23784 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23786 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23787 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23788 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23789 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23791 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23793 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23794 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23795 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23796 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23798 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23799 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23800 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23801 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23802 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23803 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23804 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23805 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23806 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23807 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23808 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23809 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23810 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23811 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23812 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23813 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23814 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23815 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23816 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23817 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23818 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23819 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23820 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23821 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23822 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23823 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23824 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23825 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23826 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23827 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23828 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23829 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23830 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23831 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23838 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23840 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23841 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23842 * include/ifunc-impl-list.h: New file.
23843 * misc/ifunc-impl-list.c: Likewise.
23844 * misc/Makefile (routines): Add ifunc-impl-list.
23845 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23846 * string/test-string.h: Include <ifunc-impl-list.h>.
23847 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23848 TEST_NAME]: New variables.
23849 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23851 (test_init): Call __libc_ifunc_impl_list to initialize
23852 func_list if TEST_IFUNC and TEST_NAME are defined.
23854 * string/Makefile (strop-tests): Add bcopy and bzero.
23855 * string/test-bcopy.c: New file.
23856 * string/test-bzero.c: Likewise.
23857 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23859 * string/test-memset.c: Support bzero test if TEST_BZERO is
23861 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23863 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23865 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23868 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23870 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23871 * configure: Regenerated.
23873 * Makeconfig (+link-static-before-libc): Don't include
23874 $(link-static-libc).
23876 * libio/libio.h (_IO_pos_t): Remove.
23878 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23880 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23883 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23885 * crypt/crypt-entry.c: Include fips-private.h.
23886 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23887 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23888 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23889 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23891 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23893 * crypt/crypt-private.h: Include stdbool.h.
23894 (_ufc_setup_salt_r): Return bool.
23895 * crypt/crypt-entry.c: Include errno.h.
23896 (__crypt_r): Return NULL with EINVAL for bad salt.
23897 * crypt/crypt_util.c (bad_for_salt): New.
23898 (_ufc_setup_salt_r): Check that salt is long enough and within
23899 the specified alphabet.
23900 * crypt/badsalttest.c: New file.
23901 * crypt/Makefile (tests): Add it.
23902 ($(objpfx)badsalttest): New.
23904 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23906 * NEWS: Add entry for BZ #14602.
23908 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23910 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23912 * math/libm-test.inc: Update comment listing what functions and
23914 (isgreater_test): New function.
23915 (isgreaterequal_test): Likewise.
23916 (isless_test): Likewise.
23917 (islessequal_test): Likewise.
23918 (islessgreater_test): Likewise.
23919 (isunordered_test): Likewise.
23920 (main): Call the new functions.
23922 2012-10-09 Roland McGrath <roland@hack.frob.com>
23924 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23925 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23926 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23927 * sysdeps/i386/configure: Regenerated.
23928 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23929 * sysdeps/mach/configure: Regenerated.
23930 * sysdeps/mach/hurd/configure: Regenerated.
23931 * sysdeps/powerpc/configure: Regenerated.
23932 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23933 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23934 * sysdeps/s390/s390-32/configure: Regenerated.
23935 * sysdeps/s390/s390-64/configure: Regenerated.
23936 * sysdeps/sh/configure: Regenerated.
23937 * sysdeps/sparc/configure: Regenerated.
23938 * sysdeps/unix/sysv/linux/configure: Regenerated.
23939 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23940 * sysdeps/x86_64/configure: Regenerated.
23942 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23943 defined. Don't check if MAP is NULL.
23945 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23947 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23948 (_G_stat64): Likewise.
23949 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23950 (_G_stat64): Likewise.
23951 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23952 instead of struct _G_stat64.
23953 * libio/fileops.c (mmap_remap_check): Likewise.
23954 (decide_maybe_mmap): Likewise.
23955 (_IO_new_file_seekoff): Likewise.
23956 (_IO_file_stat): Likewise.
23957 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23959 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23960 instead of struct _G_stat64.
23961 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23963 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23966 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23968 (CHECK_EOL): New macro.
23969 (two_way_short_needle): Check beginning of haystack for EOL. Use
23971 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23972 Replace with CHECK_EOL.
23973 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23974 Replace with CHECK_EOL.
23976 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23978 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23980 * math/libm-test.inc: Update comment listing what functions and
23982 (finite_test): New function.
23983 (isinf_test): Likewise.
23984 (isnan_test): Likewise.
23985 (fpclassify_test): Test subnormal input.
23986 (isfinite_test): Likewise.
23987 (isnormal_test): Likewise.
23988 (main): Call the new functions.
23990 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23993 * Makerules (%.dynsym): Force C locale when running
23994 $(OBJDUMP) --dynamic-syms.
23996 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23998 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24001 2012-10-06 David S. Miller <davem@davemloft.net>
24003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24004 upper 32-bits of the length value in %o2 since we use branch-on-register
24005 tests which consider the entire 64-bit register.
24007 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24009 * string/test-strstr.c (check2): Add a test for page boundary.
24011 2012-10-05 David S. Miller <davem@davemloft.net>
24013 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24014 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24016 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24018 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24019 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24020 and bzero when HWCAP_SPARC_CRYPTO is present.
24022 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24025 * string/test-strstr.c (check2): New function.
24026 (test_main): Call check2.
24028 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24030 * string/bug-strcasestr1.c (do_test): Moved to ...
24031 * string/test-strcasestr.c (check1): Here. New function.
24032 (do_one_test): Break out result checking code into ...
24033 (check_result): This. New function.
24034 (do_one_test): Call check_result.
24035 (test_main): Call check1.
24036 * string/bug-strchr1.c (do_test): Moved to ...
24037 * string/test-strchr.c (check1): Here. New function.
24038 (do_one_test): Break out result checking code into ...
24039 (check_result): This. New function.
24040 (do_one_test): Call check_result.
24041 (test_main): Call check1.
24042 * string/bug-strstr1.c (main): Moved to ...
24043 * string/test-strstr.c (check1): Here. New function.
24044 (do_one_test): Break out result checking code into ...
24045 (check_result): This. New function.
24046 (do_one_test): Call check_result.
24047 (test_main): Call check1.
24048 * string/bug-strcasestr1.c: Removed.
24049 * string/bug-strchr1.c: Likewise.
24050 * string/bug-strstr1.c: Likewise.
24052 * elf/Makefile (dl-routines): Add hwcaps.
24053 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24054 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24055 (_dl_important_hwcaps): Moved to ...
24056 * elf/dl-hwcaps.c: Here. New file.
24057 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24060 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24061 if IS_IN_rtld isn't defined.
24063 * elf/dl-support.c (_dl_sysinfo_map): New.
24064 Include "get-dynamic-info.h" and "setup-vdso.h".
24065 (_dl_non_dynamic_init): Call setup_vdso.
24066 * elf/dynamic-link.h: Don't include <assert.h>.
24067 (elf_get_dynamic_info): Moved to ...
24068 * elf/get-dynamic-info.h: Here. New file.
24069 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24070 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24071 * elf/setup-vdso.h: Here. New file.
24072 * elf/rtld.c: Include "setup-vdso.h".
24073 (dl_main): Call setup_vdso.
24075 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24077 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24078 creal in comment listing functions tested. List finite, isinf,
24079 isnan, isless, islessequal, isgreater, isgreaterequal,
24080 islessgreater, isunordered, lgamma_r and pow10 as functions and
24081 macros not tested. Mention which functions not tested are aliases
24082 for other functions. Fix typo. Note that signs of NaNs are not
24085 * scripts/config.guess: Update from config.git.
24086 * scripts/config.sub: Likewise.
24088 2012-10-04 Roland McGrath <roland@hack.frob.com>
24090 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24091 * misc/madvise.c (madvise): Renamed to __madvise.
24092 Make madvise a weak alias.
24093 * include/sys/mman.h: Declare __madvise.
24094 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24095 * sysdeps/unix/syscalls.list
24096 (madvise): Make __madvise the strong name, and madvise a weak alias.
24097 * sysdeps/unix/sysv/linux/syscalls.list
24098 (madvise, mmap): Remove redundant entries.
24099 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24100 * malloc/malloc.c (mtrim): Likewise.
24101 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24103 2012-10-03 Roland McGrath <roland@hack.frob.com>
24105 * sysdeps/mach/hurd/dl-cache.c: File removed.
24106 * config.h.in (USE_LDCONFIG): New #undef.
24107 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24108 * configure: Regenerated.
24109 * elf/Makefile (dl-routines): Add dl-cache only under
24110 [$(use-ldconfig) = yes].
24111 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24112 cache on [USE_LDCONFIG].
24113 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24115 * elf/rtld.c (dl_main): Likewise.
24117 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24119 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24120 _SC_LEVEL4_CACHE_LINESIZE.
24122 2012-10-03 Roland McGrath <roland@hack.frob.com>
24124 * sysdeps/unix/bsd/confstr.h: File removed.
24126 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
24128 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24131 2012-10-02 Roland McGrath <roland@hack.frob.com>
24133 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24134 Make 'mapoff' field ElfW(Off) rather than off_t.
24136 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24138 * nscd/Makefile: Remove nscd-cflags and all its users.
24139 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24140 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24143 * malloc.c (malloc_printerr): Clarify error message.
24145 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24149 Set bit_FMA_Usable if FMA is supported.
24150 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24152 (bit_FMA4_Usable): Updated.
24153 (index_FMA_Usable): New macro.
24154 (CPUID_FMA): Likewise
24155 (HAS_FMA): Defined with bit_FMA_Usable.
24157 2012-10-01 Roland McGrath <roland@hack.frob.com>
24159 * bits/types.h (__swblk_t): Type removed.
24160 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24161 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24163 (__SWBLK_T_TYPE): Likewise.
24164 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24165 (__SWBLK_T_TYPE): Likewise.
24166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24167 (__SWBLK_T_TYPE): Likewise.
24168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24169 (__SWBLK_T_TYPE): Likewise.
24171 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24172 Honza Horak <hhorak@redhat.com>
24174 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24175 (xdr_mapname): Use YPMAXMAP as maxsize.
24176 (xdr_peername): Use YPMAXPEER as maxsize.
24177 (xdr_keydat): Use YPAXRECORD as maxsize.
24178 (xdr_valdat): Use YPMAXRECORD as maxsize.
24180 2012-10-01 Roland McGrath <roland@hack.frob.com>
24182 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24184 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24185 * csu/init-first.c: ... here.
24186 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24187 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24188 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24189 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24190 * sysdeps/i386/init-first.c: File removed.
24191 * sysdeps/sh/init-first.c: File removed.
24193 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24197 if x * y might underflow to zero and z is zero.
24198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24200 * math/libm-test.inc (min_subnorm_value): New variable.
24201 (fma_test): Add more tests.
24202 (fma_test_towardzero): Likewise.
24203 (fma_test_downward): Likewise
24204 (fma_test_upward): Likewise.
24205 (initialize): Set min_subnorm_value.
24207 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24212 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24213 mode for addition resulting in exact zero.
24214 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24217 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24219 * math/libm-test.inc (fma_test): Add more tests.
24220 (fma_test_towardzero): New function.
24221 (fma_test_downward): Likewise.
24222 (fma_test_upward): Likewise.
24223 (main): Call the new functions.
24225 2012-09-28 David S. Miller <davem@davemloft.net>
24227 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24229 2012-09-28 Roland McGrath <roland@hack.frob.com>
24231 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24232 instead of SIGALRM.
24234 * sysdeps/gnu/_G_config.h: Moved to ...
24235 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24236 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24237 * sysdeps/generic/_G_config.h: ... here.
24239 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24241 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24243 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24244 Conditionalize target on [libnss_test1.so-version].
24246 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24248 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24249 (elfobjdir): Move out of conditionals.
24251 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24252 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24253 (__nss_lookup_function): Conditionalize label remove_from_tree on
24254 [!DO_STATIC_NSS || SHARED], matching its only use.
24256 2012-09-28 David S. Miller <davem@davemloft.net>
24258 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24259 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24261 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24263 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24265 when HWCAP_SPARC_CRYPTO is present.
24267 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24269 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24271 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24274 * stdio-common/vfprintf.c (process_string_arg): Revert
24277 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24279 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24281 * stdio-common/tst-sprintf.c: Include <locale.h>
24282 (main): Test sprintf's handling of incomplete multibyte
24285 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24287 * elf/dl-runtime.c (VERSYMIDX): Removed.
24288 * elf/dl-version.c (VERSYMIDX): Likewise.
24289 * elf/do-rel.h (VERSYMIDX): Likewise.
24290 (VALIDX): Likewise.
24291 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24292 * elf/rtld.c (VALIDX): Likewise.
24293 (ADDRIDX): Likewise.
24294 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24295 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24296 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24297 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24298 (VALIDX): Likewise.
24299 (ADDRIDX): Likewise.
24301 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24303 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24305 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24308 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24310 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24311 addresses are in the same scope as 192.0.2/24.
24312 * posix/gai.conf: Document new scope table defaults.
24314 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24317 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24318 for ftell. Compute offsets from write pointers instead.
24319 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24321 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24324 * libio/Makefile (tests): New test case tst-fseek.
24325 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24326 combination works in wide mode.
24327 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24328 state when the external buffer state changes.
24330 2012-09-27 David S. Miller <davem@davemloft.net>
24333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24334 pass reloc->r_addend in as the 'high' argument to
24335 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24339 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24341 * rt/tst-aio2.c: Include <pthread.h>.
24342 * rt/tst-aio3.c: Likewise.
24344 2012-09-27 Steve Ellcey <sellcey@mips.com>
24346 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24348 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24350 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24351 contents on [SHARED].
24353 2012-09-26 Marek Polacek <polacek@redhat.com>
24357 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24358 for C++ and GCC <4.3 as well as for non GCC compilers.
24360 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24364 2012-09-25 Roland McGrath <roland@hack.frob.com>
24366 * Makefile.in (all, install): Declare with .PHONY.
24367 Reported by Michael Hope <michael.hope@linaro.org>.
24369 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24371 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24372 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24374 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24376 (sydep_routines): Add the new and the internal functions.
24377 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24378 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24380 (GLIBC_2.17): Add the new function.
24381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24382 (GLIBC_2.17): Likewise.
24383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24384 (GLIBC_2.17): Likewise.
24385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24386 (GLIBC_2.17): Likewise.
24387 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24389 2012-09-25 Alan Modra <amodra@gmail.com>
24391 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24392 Add release barrier before setting once_control to say
24393 initialisation is done. Add hints on lwarx. Use macro in
24395 (clear_once_control): Add release barrier.
24397 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24400 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24402 * math/s_clog10.c (__clog10): Likewise.
24403 * math/s_clog10f.c (__clog10f): Likewise.
24404 * math/s_clog10l.c (__clog10l): Likewise.
24405 * math/s_clogf.c (__clogf): Likewise.
24406 * math/s_clogl.c (__clogl): Likewise.
24407 * math/Makefile (libm-calls): Add x2y2m1.
24408 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24409 (__x2y2m1): Likewise.
24410 (__x2y2m1l): Likewise.
24411 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24412 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24413 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24414 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24415 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24416 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24417 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24418 * sysdeps/i386/fpu/libm-test-ulps: Update.
24419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24422 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24423 int as type of variable DEPTH.
24424 (glob): Use size_t instead of int as type of variables NEWCOUNT
24427 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24429 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24430 Add s_sincosf-sse2.
24431 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24432 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24433 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24434 macros for using routine as __sincosf_ia32.
24435 Use macro for function declaration and weak_alias.
24436 * sysdeps/i386/fpu/libm-test-ulps: Update.
24438 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24441 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24442 subnormal argument.
24443 * math/s_cexpf.c (__cexpf): Likewise.
24444 * math/s_csinf.c (__csinf): Likewise.
24445 * math/s_csinhf.c (__csinhf): Likewise.
24446 * math/s_ctanf.c (__ctanf): Likewise.
24447 * math/s_ctanhf.c (__ctanhf): Likewise.
24448 * math/s_ccosh.c (__ccoshf): Likewise.
24449 * math/s_cexp.c (__cexpl): Likewise.
24450 * math/s_csin.c (__csin): Likewise.
24451 * math/s_csinh.c (__csinh): Likewise.
24452 * math/s_ctan.c (__ctan): Likewise.
24453 * math/s_ctanh.c (ctanh): Likewise.
24454 * math/s_ccoshl.c (__ccoshl): Likewise.
24455 * math/s_cexpl.c (__cexpl): Likewise.
24456 * math/s_csinl.c (__csinl): Likewise.
24457 * math/s_csinhl.c (__csinhl): Likewise.
24458 * math/s_ctanl.c (__ctanl): Likewise.
24459 * math/s_ctanhl.c (__ctanhl): Likewise.
24461 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24463 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24464 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24465 (_IO_off_t): Define to __off_t, not _G_off_t.
24466 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24467 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24468 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24469 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24470 type of __dummy and __dummy2 fields.
24471 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24472 (_G_ssize_t): Likewise.
24473 (_G_off_t): Likewise.
24474 (_G_pid_t): Likewise.
24475 (_G_uid_t): Likewise.
24476 (_G_wchar_t): Likewise.
24477 (_G_wint_t): Likewise.
24478 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24479 (_G_ssize_t): Likewise.
24480 (_G_off_t): Likewise.
24481 (_G_pid_t): Likewise.
24482 (_G_uid_t): Likewise.
24483 (_G_wchar_t): Likewise.
24484 (_G_wint_t): Likewise.
24485 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24486 (_G_ssize_t): Likewise.
24487 (_G_off_t): Likewise.
24488 (_G_pid_t): Likewise.
24489 (_G_uid_t): Likewise.
24490 (_G_wchar_t): Likewise.
24491 (_G_wint_t): Likewise.
24493 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24495 * malloc/arena.c: Include malloc-sysdep.h.
24496 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24497 is sufficient to shrink the heap or an unmap is needed.
24498 * sysdeps/generic/malloc-sysdep.h: New file. Define
24499 new function check_may_shrink_heap.
24500 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24501 new function check_may_shrink_heap.
24503 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24505 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24508 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24510 * catgets/test-gencat.sh: Add "set -e".
24511 * elf/tst-pathopt.sh: Likewise.
24512 * grp/tst_fgetgrent.sh: Likewise.
24513 * iconvdata/run-iconv-test.sh: Likewise.
24514 * intl/tst-gettext.sh: Likewise.
24515 * intl/tst-gettext2.sh: Likewise.
24516 * intl/tst-gettext4.sh: Likewise.
24517 * intl/tst-gettext6.sh: Likewise.
24518 * intl/tst-translit.sh: Likewise.
24519 * io/ftwtest-sh: Likewise.
24520 * libio/test-freopen.sh: Likewise.
24521 * malloc/tst-mtrace.sh: Likewise.
24522 * posix/globtest.sh: Likewise.
24523 * posix/tst-getconf.sh: Likewise.
24524 * posix/wordexp-tst.sh: Likewise.
24525 * stdio-common/tst-printf.sh: Likewise.
24526 * stdio-common/tst-unbputc.sh: Likewise.
24527 * stdlib/tst-fmtmsg.sh: Likewise.
24528 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24529 * catgets/Makefile: Do not specify -e option when running
24530 testsuite shell scripts.
24531 * elf/Makefile: Likewise.
24532 * grp/Makefile: Likewise.
24533 * iconvdata/Makefile: Likewise.
24534 * intl/Makefile: Likewise.
24535 * io/Makefile: Likewise.
24536 * libio/Makefile: Likewise.
24537 * malloc/Makefile: Likewise.
24538 * posix/Makefile: Likewise.
24539 * stdio-common/Makefile: Likewise.
24540 * stdlib/Makefile: Likewise.
24541 * sysdeps/x86_64/Makefile: Likewise.
24543 * io/ftwtest-sh: Add copyright header.
24544 * posix/globtest.sh: Likewise.
24545 * posix/tst-getconf.sh: Likewise.
24546 * posix/wordexp-tst.sh: Likewise.
24547 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24549 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24552 * Makeconfig (+link): Defined as $(+link-static) if
24553 $(build-shared) isn't yes.
24554 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24556 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24558 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24561 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24562 new chunk size with MALLOC_ALIGN_MASK.
24564 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24567 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24569 (__printf_fphex): Determine rounding using get_rounding_mode and
24571 * stdio-common/tst-printf-round.c (struct hex_test): New
24573 (hex_tests): New variable.
24574 (test_hex_in_one_mode): New function.
24575 (do_test): Also run tests for hex float output.
24577 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24579 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24580 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24581 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24582 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24583 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24584 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24585 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24586 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24588 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24590 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24591 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24592 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24593 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24595 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24598 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24600 * elf/tst-rtld-load-self.sh: New test.
24601 * elf/Makefile: Run it.
24603 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24605 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24606 (tst-writev-ENV): Remove.
24607 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24609 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24611 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24613 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24615 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24617 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24619 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24620 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24621 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24624 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24627 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24628 * config.make.in (have-cpp-asm-debuginfo): Removed.
24629 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24630 * configure: Regenerated.
24632 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24635 * stdio-common/printf_fp.c: Include <stdbool.h> and
24637 (___printf_fp): Determine rounding using get_rounding_mode and
24639 * stdio-common/tst-printf-round.c: New file.
24640 * stdio-common/Makefile (tests): Add tst-printf-round.
24641 (link-libm): New variable.
24642 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24644 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24647 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24648 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24650 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24653 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24655 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24656 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24657 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24658 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24660 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24663 * include/rounding-mode.h: New file.
24664 * sysdeps/generic/get-rounding-mode.h: Likewise.
24665 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24666 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24667 (MAX_VALUE): New macro.
24668 (MIN_VALUE): Likewise.
24669 (overflow_value): New function.
24670 (underflow_value): Likewise.
24671 (round_and_return): Use overflow_value and underflow_value to
24672 determine return values in overflow and underflow cases. Use
24673 round_away to determine rounding depending on rounding mode.
24674 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24675 determine return values in overflow and underflow cases.
24676 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24677 (struct test_results): New structure.
24678 (struct test): Use struct test_results to store expected results
24679 for all rounding modes.
24680 (TEST): Include expected results for all rounding modes.
24681 (test_in_one_mode): New function.
24682 (do_test): Use test_in_one_mode to compute and check results.
24683 Check results for all rounding modes.
24684 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24687 2012-12-09 Allan McRae <allan@archlinux.org>
24689 * sysdeps/i386/fpu/libm-test-ulps: Update
24691 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24693 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24694 (_G_int32_t): Likewise.
24695 (_G_uint16_t): Likewise.
24696 (_G_uint32_t): Likewise.
24697 (_G_HAVE_BOOL): Likewise.
24698 (_G_HAVE_ATEXIT): Likewise.
24699 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24700 (_G_HAVE_IO_FILE_OPEN): Likewise.
24701 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24702 (_G_int32_t): Likewise.
24703 (_G_uint16_t): Likewise.
24704 (_G_uint32_t): Likewise.
24705 (_G_HAVE_BOOL): Likewise.
24706 (_G_HAVE_ATEXIT): Likewise.
24707 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24708 (_G_HAVE_IO_FILE_OPEN): Likewise.
24709 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24710 (_G_int32_t): Likewise.
24711 (_G_uint16_t): Likewise.
24712 (_G_uint32_t): Likewise.
24713 (_G_HAVE_BOOL): Likewise.
24714 (_G_HAVE_ATEXIT): Likewise.
24715 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24716 (_G_HAVE_IO_FILE_OPEN): Likewise.
24718 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24720 * csu/libc-tls.c: Update copyright years.
24722 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24724 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24725 [!_G_USING_THUNKS]: Remove conditional code.
24726 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24727 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24729 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24730 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24731 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24732 (_G_VTABLE_LABEL_PREFIX): Likewise.
24733 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24734 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24735 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24736 (_G_VTABLE_LABEL_PREFIX): Likewise.
24737 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24738 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24739 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24740 (_G_VTABLE_LABEL_PREFIX): Likewise.
24741 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24743 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24745 * libio/Makefile: Include ../Makeconfig before tests.
24746 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24747 only if $(build-shared) is yes.
24749 * iconv/gconv_db.c: Update copyright years.
24751 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24753 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24754 unwind info if defined PIC. Fix special cases description.
24755 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24757 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24759 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24761 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24763 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24765 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24768 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24769 (LDLIBS-tst-chk4): This.
24770 (LDFLAGS-tst-chk5): Renamed to ...
24771 (LDLIBS-tst-chk5): This.
24772 (LDFLAGS-tst-chk6): Renamed to ...
24773 (LDLIBS-tst-chk6): This.
24774 (LDFLAGS-tst-lfschk4): Renamed to ...
24775 (LDLIBS-tst-lfschk4): This.
24776 (LDFLAGS-tst-lfschk5): Renamed to ...
24777 (LDLIBS-tst-lfschk5): This.
24778 (LDFLAGS-tst-lfschk6): Renamed to ...
24779 (LDLIBS-tst-lfschk6): This.
24781 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24782 on $(common-objpfx)soversions.mk.
24784 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24787 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24790 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24792 * malloc/arena.c (arena_get_retry): New function that gets
24793 another arena for the caller to try its request on.
24794 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24795 current arena cannot fulfill the request.
24796 (__libc_memalign): Likewise.
24797 (__libc_memalign): Likewise.
24798 (__libc_pvalloc): Likewise.
24799 (__libc_calloc): Likewise.
24801 2012-09-05 John Tobey <john.tobey@gmail.com>
24804 * manual/arith.texi (Operations on Complex): Fix description
24805 of carg branch cut.
24807 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24810 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24814 * manual/memory.texi (Memory): Make order of menu items match
24817 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24819 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24820 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24821 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24823 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24825 * csu/libc-tls.c (static_dtv): Renamed to ...
24826 (_dl_static_dtv): This. Make it global.
24827 (_dl_initial_dtv): Removed.
24828 (__libc_setup_tls): Updated.
24829 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24830 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24833 2012-09-06 Petr Machata <pmachata@redhat.com>
24835 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24836 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24837 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24838 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24840 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24843 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24844 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24847 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24850 * Makeconfig (link-static-before-libc): Replace $(+prector)
24852 (link-static-after-libc): Replace $(+postctor) with
24854 (link-bounded): Replace $(+prector)/$(+postctor) with
24855 $(+prectorT)/$(+postctorT).
24856 (+prectorT): New macro.
24857 (+postctorT): Likewise.
24859 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24861 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24862 (round_str): Handle values above the maximum for IBM long double
24864 * stdlib/tst-strtod-round.c (tests): Regenerated.
24866 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24868 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24870 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24871 zarch_nohighgprs around the zarch optimized routines.
24872 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24873 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24874 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24877 2012-09-05 David S. Miller <davem@davemloft.net>
24879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24881 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24882 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24883 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24884 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24887 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24889 * malloc/arena.c: Fold copyright years.
24890 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24892 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24894 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24896 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24898 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24900 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24902 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24903 change internal state upon failure.
24905 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24907 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24908 * malloc/memusage.c (mmap): Likewise.
24909 (mmap64, mremap): Likewise. Adjust name in comment.
24911 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24913 * libio/fileops.c: Fix typos in comments.
24914 * libio/oldfileops.c: Likewise.
24915 * libio/wfileops.c: Likewise.
24917 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24920 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24921 (tst-malloc-usable-ENV): Set environment for test case.
24922 * malloc/hooks.c (malloc_check_get_size): New function to get
24924 * malloc/malloc.c (musable): Use malloc_check_get_size.
24925 * malloc/tst-malloc-usable.c: New test case.
24927 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24929 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24931 2012-09-05 Allan McRae <allan@archlinux.org>
24934 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24935 determine header location.
24936 * configure: Regenerated.
24938 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24940 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24942 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24943 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24945 (test): Regenerate.
24947 2012-09-04 David S. Miller <davem@davemloft.net>
24949 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24950 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24953 2012-09-04 Florian Weimer <fweimer@redhat.com>
24955 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24958 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24960 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24963 * libio/iogetdelim.c: Include <limits.h>.
24964 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24965 + len + 1 would overflow.
24967 2012-09-03 Andreas Jaeger <aj@suse.de>
24969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24970 * sysdeps/i386/fpu/libm-test-ulps: Update.
24972 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24974 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24975 Add s_sinf-sse2, s_conf-sse2.
24977 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24978 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24979 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24980 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24982 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24983 for using routine as __sinf_ia32.
24984 Use macro for function declaration and weak_alias.
24985 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24986 for using routine as __cosf_ia32.
24987 Use macro for function declaration and weak_alias.
24989 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24990 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24992 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24993 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24996 * math/libm-test.inc (cos_test): Add more test cases.
24997 (sin_test): Likewise.
24998 (sincos_test): Likewise.
25000 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25002 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25003 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25005 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25007 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25010 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25011 first element of the GOT.
25012 (elf_machine_load_address): Return the difference between
25013 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25015 2012-09-01 Allan McRae <allan@archlinux.org>
25018 * configure.in (AWK): Require gawk version 3.0 or later.
25019 * configure: Regenerated.
25021 2012-09-01 Joseph Myers <joseph@codesourcery.com>
25023 * sysdeps/unix/sysv/linux/kernel-features.h
25024 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25025 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25026 [__NR_clock_getres]: Make code unconditional.
25027 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25028 (clock_getcpuclockid): Remove code left unreachable by removal of
25030 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25031 code unconditional.
25032 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25033 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25034 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25035 Make code unconditional.
25036 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25037 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25038 * sysdeps/unix/sysv/linux/clock_settime.c
25039 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25041 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25042 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25044 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25047 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25048 scripts/test-installation.pl.
25050 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25051 and $ld_so_version if it is set.
25053 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25056 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25057 failure if reading from procfs failed.
25058 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25060 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25062 * sysdeps/unix/sysv/linux/kernel-features.h
25063 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25064 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25065 Remove conditional code.
25066 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25067 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25068 Remove conditional code.
25069 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25070 * sysdeps/unix/sysv/linux/i386/fxstat.c
25071 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25073 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25074 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25075 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25076 * sysdeps/unix/sysv/linux/i386/lxstat.c
25077 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25078 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25079 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25080 Remove conditional code.
25081 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25082 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25083 Remove conditional code.
25084 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25085 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25086 <kernel-features.h>.
25087 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25089 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25090 Remove conditional code.
25091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25092 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25093 Remove conditional.
25095 2012-08-27 Mike Frysinger <vapier@gentoo.org>
25098 * NEWS: Add fixed bug number.
25100 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25103 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25104 underflowing exponent in case of negative sign.
25105 * stdlib/tst-strtod-round-data: Add more tests.
25106 * stdlib/tst-strtod-round.c (tests): Regenerated.
25109 * stdlib/strtod_l.c (NDIG): Remove.
25110 (HEXNDIG): Likewise.
25111 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25112 smallest representable value.
25113 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25114 lie within an exact representation of 1/2 ulp of the result.
25115 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25117 (TENS_P9_IDX): Define unconditionally.
25118 (TENS_P9_SIZE): Likewise.
25119 (TENS_P10_IDX): Likewise.
25120 (TENS_P10_SIZE): Likewise.
25121 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25122 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25123 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25124 entries for 10^2^13 and 10^2^14.
25125 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25126 (TENS_P13_IDX): Define.
25127 (TENS_P13_SIZE): Likewise.
25128 (TENS_P14_IDX): Likewise.
25129 (TENS_P14_SIZE): Likewise.
25130 (_fpioconst_pow10): Change array size to
25131 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25133 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25134 1024]: Add entries for 10^2^13 and 10^2^14.
25135 [LAST_POW10 > _LAST_POW10]: Remove #error.
25136 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25137 (_fpioconst_pow10): Change array size to
25138 FPIOCONST_POW10_ARRAY_SIZE.
25139 * stdlib/gen-fpioconst.c: New file.
25140 * stdlib/gen-tst-strtod-round.c: Likewise.
25141 * stdlib/tst-strtod-round-data: Likewise.
25142 * stdlib/tst-strtod-round.c: Likewise.
25143 * stdlib/Makefile (tests): Add tst-strtod-round.
25146 * stdlib/strtod_l.c: Include <stdint.h>.
25147 (NDEBUG): Do not define.
25148 (round_and_return): Change EXPONENT parameter to type intmax_t.
25149 Rearrange calculations to avoid internal overflow possibilities.
25150 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25151 Rearrange calculations to avoid internal overflow possibilities.
25152 Assert that number fits inside MPNSIZE limbs.
25153 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25154 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25155 calculations and add assertions to avoid internal overflow
25156 possibilities. Add casts to avoid signed/unsigned operations.
25157 * stdlib/tst-strtod-overflow.c: New file.
25158 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25160 2012-08-25 Marek Polacek <polacek@redhat.com>
25162 * time/time.h: Fix some typos in comments.
25164 2012-08-23 Roland McGrath <roland@hack.frob.com>
25166 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25167 * posix/tst-rfc3484-2.c: Likewise.
25168 * posix/tst-rfc3484-3.c: Likewise.
25170 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25172 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25173 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25175 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25177 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25178 #include of fxstatat64.c.
25180 2012-08-22 Roland McGrath <roland@hack.frob.com>
25182 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25183 * shadow/getspent_r.c: Likewise.
25184 * shadow/getspnam.c: Likewise.
25185 * shadow/getspnam_r.c: Likewise.
25186 * gshadow/getsgent.c: Likewise.
25187 * gshadow/getsgent_r.c: Likewise.
25188 * gshadow/getsgnam.c: Likewise.
25189 * gshadow/getsgnam_r.c: Likewise.
25190 * inet/getnetbyad.c: Likewise.
25191 * inet/getnetbyad_r.c: Likewise.
25192 * inet/getnetbynm.c: Likewise.
25193 * inet/getnetbynm_r.c: Likewise.
25194 * inet/getnetent.c: Likewise.
25195 * inet/getnetent_r.c: Likewise.
25196 * inet/getproto.c: Likewise.
25197 * inet/getproto_r.c: Likewise.
25198 * inet/getprtent.c: Likewise.
25199 * inet/getprtent_r.c: Likewise.
25200 * inet/getprtname.c: Likewise.
25201 * inet/getprtname_r.c: Likewise.
25202 * inet/getrpcbyname.c: Likewise.
25203 * inet/getrpcbyname_r.c: Likewise.
25204 * inet/getrpcbynumber.c: Likewise.
25205 * inet/getrpcbynumber_r.c: Likewise.
25206 * inet/getrpcent.c: Likewise.
25207 * inet/getrpcent_r.c: Likewise.
25208 * inet/getaliasent.c: Likewise.
25209 * inet/getaliasent_r.c: Likewise.
25210 * inet/getaliasname.c: Likewise.
25211 * inet/getaliasname_r.c: Likewise.
25212 * nscd/getgrgid_r.c: Likewise.
25213 * nscd/getgrnam_r.c: Likewise.
25214 * nscd/gethstbyad_r.c: Likewise.
25215 * nscd/gethstbynm3_r.c: Likewise.
25216 * nscd/getpwnam_r.c: Likewise.
25217 * nscd/getpwuid_r.c: Likewise.
25218 * nscd/getsrvbynm_r.c: Likewise.
25219 * nscd/getsrvbypt_r.c: Likewise.
25220 * nscd/gai.c: Likewise.
25222 * configure.in (build_nscd): New substituted variable, set
25223 by --disable-build-nscd and defaults to $use_nscd.
25224 * configure: Regenerated.
25225 * config.make.in (build-nscd): New substituted variable.
25226 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25227 Change conditional to require [$(build-nscd) = yes] as well.
25228 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25231 * configure.in (use_nscd): New substituted variable, set by
25232 --disable-nscd. If enabled, define USE_NSCD.
25233 * configure: Regenerated.
25234 * config.h.in: Add USE_NSCD.
25235 * config.make.in (use-nscd): New substituted variable.
25236 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25237 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25238 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25239 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25240 (CFLAGS-getgrnam_r.c): Likewise.
25241 (CFLAGS-initgroups.c): Likewise.
25242 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25243 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25245 * inet/getnetgrent_r.c
25246 (nscd_setnetgrent): New function, broken out of ...
25247 (setnetgrent): ... here. Call it.
25248 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25249 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25250 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25251 * nscd/Makefile (routines, aux): Move definitions after include of
25252 Makeconfig. Conditionalize on [$(use-nscd) != no].
25253 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25254 Conditionalize on [USE_NSCD].
25255 (is_nscd, nscd_init_cb): Likewise.
25256 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25257 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25258 * nss/nss_db/db-init.c: Likewise.
25259 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25261 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25262 (make_request): Use it.
25263 (cache_valid_p): New function.
25264 (__check_pf): Use it.
25265 * NEWS: Add item for --disable-nscd.
25267 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25269 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25270 to support sed >= 4.2.1-20-ga9bf076.
25271 * configure: Regenerated.
25273 2012-08-22 Roland McGrath <roland@hack.frob.com>
25275 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25276 Conditionalize whole body on [IREL].
25278 2012-08-22 Jeff Law <law@redhat.com>
25281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25282 if the family is PF_UNSPEC.
25284 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25286 * Makerules (lib-version): Rename from V.
25287 (install-lib-nosubdir): Change V to lib-version.
25289 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25292 * powerpc32/power6/wcschr.c: New file.
25293 * powerpc32/power6/wcscpy.c: New file.
25294 * powerpc32/power6/wcsrchr.c: New file.
25295 * powerpc64/power6/wcschr.c: New file.
25296 * powerpc64/power6/wcscpy.c: New file.
25297 * powerpc64/power6/wcsrchr.c: New file.
25299 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25301 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25302 (two_way_short_needle): Use it.
25303 * string/strstr.c (AVAILABLE1_USES_J): Define.
25304 * string/strcasestr.c: Likewise.
25306 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25308 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25311 * NEWS: Add an entry.
25312 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25313 define their defaults.
25314 (two_way_short_needle): Detect end-of-string on-the-fly.
25315 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25316 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25317 * string/bug-strcasestr1.c: New test.
25318 * string/Makefile: Run it.
25320 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25323 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25324 the first character.
25326 2012-08-21 Roland McGrath <roland@hack.frob.com>
25328 * csu/elf-init.c (__libc_csu_irel): Function removed.
25329 * csu/libc-start.c (apply_irel): New function.
25330 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25332 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25334 * sysdeps/unix/sysv/linux/kernel-features.h
25335 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25336 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25337 <kernel-features.h>.
25338 [__NR_fadvise64_64]: Make code unconditional.
25339 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25340 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25341 !__NR_fadvise64_64)]: Likewise.
25342 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25343 !__NR_fadvise64_64))]: Likewise.
25344 [__NR_fadvise64]: Make code unconditional.
25345 [!__NR_fadvise64]: Remove conditional code.
25346 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25347 <kernel-features.h>.
25348 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25350 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25353 not include <kernel-features.h>.
25354 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25356 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25358 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25359 include <kernel-features.h>.
25360 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25362 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25365 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25367 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25368 slight instruction rearrangements per scrollpipe analysis.
25369 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25371 2012-08-20 Roland McGrath <roland@hack.frob.com>
25373 * manual/syslog.texi (syslog; vsyslog, closelog):
25374 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25375 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25377 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25378 DSOCAPS to match condition on defining it.
25380 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25382 * sysdeps/unix/sysv/linux/kernel-features.h
25383 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25385 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25386 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25388 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25389 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25391 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25392 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25394 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25395 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25397 * sysdeps/unix/sysv/linux/kernel-features.h
25398 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25399 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25401 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25402 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25403 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25404 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25405 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25406 Make code unconditional.
25407 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25408 (__mmap64) [!__NR_mmap2]: Likewise.
25409 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25410 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25411 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25412 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25413 [__NR_mmap2]: Make code unconditional.
25414 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25415 (__mmap64) [!__NR_mmap2]: Likewise.
25417 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25419 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25421 2012-08-18 Andreas Jaeger <aj@suse.de>
25423 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25425 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25427 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25428 * include/unistd.h (__have_sock_cloexec): Likewise.
25429 (__have_pipe2): Likewise.
25430 (__have_dup3): Likewise.
25432 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25435 * include/unistd.h (__have_pipe2): Change define into an extern int.
25436 (__have_dup3): Likewise.
25437 * socket/have_sock_cloexec.c: Include fcntl.h.
25438 (__have_pipe2): New variable.
25439 (__have_dup3): Likewise.
25441 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25443 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25445 2012-08-17 Marek Polacek <polacek@redhat.com>
25447 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25448 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25450 2012-08-17 Roland McGrath <roland@hack.frob.com>
25452 * configure.in: Add AC_SUBST for sysheaders.
25453 * configure: Regenerated.
25454 * config.make.in (sysheaders): New substituted variable.
25456 * sysdeps/unix/mkfifo.c: Moved ...
25457 * sysdeps/posix/mkfifo.c: ... here.
25458 * sysdeps/unix/mkfifoat.c: Moved ...
25459 * sysdeps/posix/mkfifoat.c: ... here.
25461 * sysdeps/unix/utime.c: Moved ...
25462 * sysdeps/posix/utime.c: ... here.
25464 * sysdeps/unix/time.c: Moved ...
25465 * sysdeps/posix/time.c: ... here.
25466 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25467 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25469 * sysdeps/unix/nice.c: Moved ...
25470 * sysdeps/posix/nice.c: ... here.
25472 * sysdeps/unix/alarm.c: Moved ...
25473 * sysdeps/posix/alarm.c: ... here.
25475 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25477 2012-08-17 Jeff Law <law@redhat.com>
25479 * intl/Makefile (codeset_mo): New variable.
25480 ($(codeset_mo)): New target.
25481 (tst-codeset.out): Depend on that. Remove explicit rule.
25482 (tst-gettext3.out, tst-gettext5.out): Likewise.
25483 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25484 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25485 * intl/tst-codeset.sh: Remove.
25486 * intl/tst-gettext3.sh: Likewise.
25487 * intl/tst-gettext5.sh: Likewise.
25489 2012-08-17 Roland McGrath <roland@hack.frob.com>
25491 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25492 * sysdeps/unix/syscalls.list: ... here.
25494 * sysdeps/posix/getaddrinfo.c
25495 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25496 (gaiconf_init, gaiconf_reload): Use them.
25497 [!_STATBUF_ST_NSEC]
25498 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25499 Define using time_t rather than struct timespec.
25501 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25502 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25504 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25506 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25507 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25510 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25511 __libc_cleanup_push argument.
25513 * bits/param.h: New file.
25514 * misc/sys/param.h: New file.
25515 * include/sys/param.h: New file.
25516 * misc/Makefile (headers): Add bits/param.h.
25517 * sysdeps/generic/sys/param.h: File removed.
25518 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25519 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25520 * sysdeps/mach/hurd/bits/param.h: New file.
25521 * sysdeps/mach/hurd/sys/param.h: File removed.
25523 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25526 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25528 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25529 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25532 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25533 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25534 rather than -D_IO_MTSAFE_IO conditionally.
25535 * stdio-common/Makefile (CPPFLAGS): Likewise.
25536 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25537 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25538 Use $(libio-mtsafe).
25539 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25540 of -D_IO_MTSAFE_IO.
25541 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25542 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25543 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25544 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25545 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25546 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25547 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25548 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25549 (CFLAGS-fread_u_chk.c): Likewise.
25550 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25551 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25552 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25553 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25554 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25555 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25556 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25557 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25558 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25560 * libio/Makefile: Test [$(libc-reentrant) = yes]
25561 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25564 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25565 * sysdeps/pthread/configure: File removed.
25566 * sysdeps/pthread/Makeconfig: New file.
25567 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25568 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25570 2012-08-16 Gary Benson <gbenson@redhat.com>
25572 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25573 unmapping the first object in a namespace.
25575 2012-08-16 Roland McGrath <roland@hack.frob.com>
25577 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25578 (__internal_setnetgrent): ... this. Add internal_function to
25579 definition. Add libc_hidden_def.
25580 (setnetgrent): Update caller.
25581 (internal_endnetgrent): Renamed to ...
25582 (__internal_endnetgrent): ... this. Add internal_function to
25583 definition. Add libc_hidden_def.
25584 (endnetgrent): Update caller.
25585 (internal_getnetgrent_r): Renamed to ...
25586 (__internal_getnetgrent_r): ... this. Add internal_function to
25587 definition. Add libc_hidden_def.
25588 (__getnetgrent_r): Update caller.
25589 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25591 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25593 * stdlib/longlong.h: Update from GCC.
25595 2012-08-16 Roland McGrath <roland@hack.frob.com>
25597 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25598 on _QL, which is set by umul_ppmm but never used.
25599 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25600 variables, which are set by GMP macros but never used.
25601 * stdio-common/_itowa.c (_itowa): Likewise.
25602 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25603 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25605 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25607 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25608 struct La_sh_regs is not constant.
25609 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25610 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25611 and struct La_sparc64_regs are not constant.
25613 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25615 * sysdeps/unix/sysv/linux/kernel-features.h
25616 (__ASSUME_POSIX_TIMERS): Remove.
25617 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25618 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25619 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25620 Make code unconditional.
25621 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25622 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25623 Make code unconditional.
25624 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25625 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25626 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25627 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25628 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25629 Make code unconditional.
25630 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25631 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25632 (__libc_missing_posix_timers): Remove.
25634 2012-08-15 Roland McGrath <roland@hack.frob.com>
25636 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25637 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25639 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25641 * elf/dl-sym.c: Include <stdlib.h>.
25643 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25644 constants, which avoids warnings in 32-bit builds.
25646 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25647 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25649 * misc/lseek.c: File moved to ...
25650 * io/lseek.c: ... here.
25652 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25654 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25655 shifting LEN more than 31 bits at once.
25657 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25660 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25661 segmentation fault for a case of two empty input strings.
25662 * string/test-strncasecmp.c (check1): Renamed to...
25663 (bz12205): ...this.
25664 (bz14195): Add new testcase for two empty input strings and N > 0.
25665 (test_main): Call new testcase, adapt for renamed function.
25667 2012-08-15 Andreas Jaeger <aj@suse.de>
25670 * crypt/md5test2.c: New test, based on test supplied by Serge
25671 Belyshev <belyshev@depni.sinp.msu.ru>.
25672 * crypt/Makefile (xtests): Add md5test-giant..
25673 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25675 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25678 * crypt/md5.c (md5_process_block): Don't assume the buffer
25679 length is less than 2**32.
25680 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25681 length is less than 2**64.
25683 2012-08-15 Roland McGrath <roland@hack.frob.com>
25685 * string/str-two-way.h: Include <sys/param.h>.
25686 (MAX): Macro removed.
25688 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25689 Move #define and #undef of memmove to just before and after
25690 including <string.h>.
25692 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25693 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25694 and after including <string.h>. Move declarations of
25695 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25696 to before #include "string/memmove.c".
25698 * include/dirent.h: Declare __getdirentries.
25700 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25701 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25703 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25705 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25706 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25707 * sysdeps/i386/configure: Regenerated.
25708 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25709 STABS_CURRENT_FILE, and STABS_FUN.
25710 (END): Remove call to STABS_FUN_END.
25711 (STABS_CURRENT_FILE1): Delete.
25712 (STABS_CURRENT_FILE): Likewise.
25713 (STABS_FUN): Likewise.
25714 (STABS_FUN_END): Likewise.
25715 (STABS_FUN2): Likewise.
25716 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25717 * sysdeps/x86_64/configure: Regenerated.
25719 2012-08-14 Roland McGrath <roland@hack.frob.com>
25721 * elf/dl-open.c: Include <atomic.h>.
25722 * elf/dl-lookup.c: Likewise.
25724 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25726 * sysdeps/unix/sysv/linux/kernel-features.h
25727 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25728 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25730 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25732 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25733 condition on __ASSUME_CLONE_THREAD_FLAGS.
25735 2012-08-14 Andreas Jaeger <aj@suse.de>
25737 * sysdeps/i386/fpu/libm-test-ulps: Update.
25739 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25741 * include/atomic.h (atomic_exchange_and_add): Split into ...
25742 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25745 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25749 2012-08-13 Jeff Law <law@redhat.com>
25751 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25752 null byte in the output string.
25754 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25756 * sysdeps/unix/sysv/linux/kernel-features.h
25757 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25758 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25759 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25760 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25761 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25762 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25763 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25765 2012-08-09 Jeff Law <law@redhat.com>
25768 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25769 When avoid_arena is set, don't retry in the that arena. Pick the
25770 next one, whatever it might be.
25771 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25772 (arena_lock): Pass in new parameter to arena_get2.
25773 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25775 (__libc_malloc): Unify retrying after main arena failure with
25776 __libc_memalign version.
25777 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25779 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25782 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25783 to __redirect_strstr.
25784 (__strstr_sse42): Use typeof __redirect_strstr.
25785 (__strstr_ia32): Likewise.
25786 (__libc_strstr): New prototype.
25787 (strstr): Renamed to ...
25788 (__libc_strstr): This.
25789 (strstr): New strong alias of __libc_strstr.
25790 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25791 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25794 (__libc_time): New prototype.
25795 (time_ifunc): Replace time with __libc_time.
25796 (time): New strong alias and hidden definition of __libc_time.
25797 (__GI_time): Remove strong alias.
25798 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25799 Include <stddef.h>.
25800 (memmove): Redefined to __redirect_memmove.
25801 (__memmove_sse2): Use typeof __redirect_memmove.
25802 (__memmove_ssse3): Likewise.
25803 (__memmove_ssse3_back): Likewise.
25804 (__libc_memmove): New prototype.
25805 (memmove): Renamed to ...
25806 (__libc_memmove): This.
25807 (memmove): New strong alias of __libc_memmove.
25809 2012-08-08 Mark Salter <msalter@redhat.com>
25812 (R_MN10300_TLS_GD): Define.
25813 (R_MN10300_TLS_LD): Likewise.
25814 (R_MN10300_TLS_LDO): Likewise.
25815 (R_MN10300_TLS_GOTIE): Likewise.
25816 (R_MN10300_TLS_IE): Likewise.
25817 (R_MN10300_TLS_LE): Likewise.
25818 (R_MN10300_TLS_DTPMOD): Likewise.
25819 (R_MN10300_TLS_DTPOFF): Likewise.
25820 (R_MN10300_TLS_TPOFF): Likewise.
25821 (R_MN10300_SYM_DIFF): Likewise.
25822 (R_MN10300_ALIGN): Likewise.
25823 (R_MN10300_NUM): Update.
25825 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25827 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25830 2012-08-08 Roland McGrath <roland@hack.frob.com>
25832 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25834 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25835 sysdeps/unix -> sysdeps/posix move.
25836 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25838 2012-08-07 Allan McRae <allan@archlinux.org>
25841 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25842 (SUNOS_CPP): Likewise.
25843 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25845 (open_input): Call CPP using execvp.
25847 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25849 * sysdeps/unix/sysv/linux/kernel-features.h
25850 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25851 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25852 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25853 (__ASSUME_WAITID_SYSCALL): Likewise.
25854 * sysdeps/unix/sysv/linux/dl-execstack.c
25855 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25856 code unconditional.
25857 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25859 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25860 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25861 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25863 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25865 [__ASSUME_WAITID_SYSCALL]: Likewise.
25866 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25868 2012-08-07 Roland McGrath <roland@hack.frob.com>
25870 * sysdeps/unix/closedir.c: Renamed to ...
25871 * sysdeps/posix/closedir.c: ... here.
25872 * sysdeps/unix/dirfd.c: Renamed to ...
25873 * sysdeps/posix/dirfd.c: ... here.
25874 * sysdeps/unix/dirstream.h: Renamed to ...
25875 * sysdeps/posix/dirstream.h: ... here.
25876 * sysdeps/unix/fdopendir.c: Renamed to ...
25877 * sysdeps/posix/fdopendir.c: ... here.
25878 * sysdeps/unix/opendir.c: Renamed to ...
25879 * sysdeps/posix/opendir.c: ... here.
25880 * sysdeps/unix/readdir.c: Renamed to ...
25881 * sysdeps/posix/readdir.c: ... here.
25882 * sysdeps/unix/readdir_r.c: Renamed to ...
25883 * sysdeps/posix/readdir_r.c: ... here.
25884 * sysdeps/unix/rewinddir.c: Renamed to ...
25885 * sysdeps/posix/rewinddir.c: ... here.
25886 * sysdeps/unix/seekdir.c: Renamed to ...
25887 * sysdeps/posix/seekdir.c: ... here.
25888 * sysdeps/unix/telldir.c: Renamed to ...
25889 * sysdeps/posix/telldir.c: ... here.
25890 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25891 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25892 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25893 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25895 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25896 * bits/fcntl.h: ... here.
25898 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25900 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25901 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25902 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25903 (struct flock): Move l_start, l_len to the beginning.
25904 Use __pid_t for l_pid.
25905 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25906 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25907 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25908 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25909 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25910 [__USE_LARGEFILE64] (struct flock64): New type.
25911 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25913 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25914 * bits/dirent.h: ... here.
25916 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25917 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25919 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25921 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25922 Change from 2.6.0 to 2.6.16.
25923 * sysdeps/unix/sysv/linux/configure: Regenerated.
25924 * sysdeps/unix/sysv/linux/kernel-features.h
25925 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25926 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25928 (__ASSUME_UTIMES): Likewise.
25929 (__ASSUME_CLONE_STOPPED): Remove.
25930 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25931 architectures, not kernel version.
25932 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25933 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25934 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25935 (__ASSUME_WAITID_SYSCALL): Likewise.
25936 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25937 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25938 * README: State 2.6.16 as minimum Linux kernel version. Do not
25939 refer to older versions.
25941 2012-08-06 Roland McGrath <roland@hack.frob.com>
25943 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25944 Define alphasort64 as an alias.
25945 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25946 Define versionsort64 as an alias.
25947 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25948 Define scandir64 as an alias.
25949 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25950 Define scandirat64 as an alias.
25951 * dirent/alphasort64.c (alphasort64):
25952 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25953 * dirent/versionsort64.c: Likewise.
25954 * dirent/scandir64.c: Likewise.
25955 * dirent/scandirat64.c: Likewise.
25956 * sysdeps/wordsize-64/alphasort.c: File removed.
25957 * sysdeps/wordsize-64/alphasort64.c: File removed.
25958 * sysdeps/wordsize-64/scandir.c: File removed.
25959 * sysdeps/wordsize-64/scandir64.c: File removed.
25960 * sysdeps/wordsize-64/scandirat.c: File removed.
25961 * sysdeps/wordsize-64/scandirat64.c: File removed.
25962 * sysdeps/wordsize-64/versionsort.c: File removed.
25963 * sysdeps/wordsize-64/versionsort64.c: File removed.
25964 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25965 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25966 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25967 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25968 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25969 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25970 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25971 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25973 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25975 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25977 [defined __arch64__ || defined __sparcv9]
25978 (__INO_T_MATCHES_INO64_T): New macro.
25979 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25980 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25981 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25982 * sysdeps/unix/sysv/linux/bits/dirent.h
25983 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25984 (_DIRENT_MATCHES_DIRENT64): New macro.
25986 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25987 Define lockf64 as an alias.
25988 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25989 Define fseeko64 as an alias.
25990 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25991 Define ftello64 as an alias.
25992 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25993 Define _IO_fgetpos64 and fgetpos64 as aliases.
25994 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25995 Define _IO_fsetpos64 and fsetpos64 as aliases.
25996 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25997 Conditionalize body on this.
25998 * libio/fseeko64.c: Likewise.
25999 * libio/ftello64.c: Likewise.
26000 * libio/iofgetpos64.c: Likewise.
26001 * libio/iofsetpos64.c: Likewise.
26002 * sysdeps/wordsize-64/lockf.c: File removed.
26003 * sysdeps/wordsize-64/lockf64.c: File removed.
26004 * sysdeps/wordsize-64/fseeko.c: File removed.
26005 * sysdeps/wordsize-64/fseeko64.c: File removed.
26006 * sysdeps/wordsize-64/ftello.c: File removed.
26007 * sysdeps/wordsize-64/ftello64.c: File removed.
26008 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26009 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26010 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26011 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26012 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26013 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26014 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26015 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26016 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26017 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26018 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26019 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26020 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26021 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26023 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26025 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26026 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26027 [defined __arch64__ || defined __sparcv9]
26028 (__OFF_T_MATCHES_OFF64_T): New macro.
26029 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26030 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26032 (__OFF_T_MATCHES_OFF64_T): New macro.
26034 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26036 * stdlib/secure-getenv.c (__secure_getenv): Replace
26037 GLIBC_2_16 with GLIBC_2_17.
26039 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26041 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26042 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26044 2012-08-03 David S. Miller <davem@davemloft.net>
26046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26048 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26050 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26052 (__ASSUME_CORRECT_SI_PID): Likewise.
26053 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26054 (__ASSUME_TMPFS_NAME): Likewise.
26055 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26056 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26057 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26058 (HAVE_AUX_SECURE): Make definition unconditional.
26059 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26060 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26062 2012-08-03 Roland McGrath <roland@hack.frob.com>
26064 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26065 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26066 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26067 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26068 __eloop_threshold instead of SYMLOOP_MAX.
26070 * sysdeps/generic/eloop-threshold.h: New file.
26071 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26073 * elf/chroot_canon.c (chroot_canon): Likewise.
26075 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26078 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26079 Change to 2.6.0 everywhere.
26080 * sysdeps/unix/sysv/linux/configure: Regenerated.
26081 * sysdeps/unix/sysv/linux/kernel-features.h
26082 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26083 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26085 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26086 (__ASSUME_FUTEX_REQUEUE): Remove.
26087 (__ASSUME_STATFS64): Define unconditionally.
26088 (__ASSUME_AT_SECURE): Likewise.
26089 (__ASSUME_CORRECT_SI_PID): Likewise.
26090 (__ASSUME_TGKILL): Define without depending on kernel version for
26092 (__ASSUME_UTIMES): Likewise.
26093 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26095 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26096 (__ASSUME_TMPFS_NAME): Likewise.
26097 * README: Update reference to Linux kernel versions.
26099 2012-08-02 Marek Polacek <polacek@redhat.com>
26102 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26103 libc_cv_asm_type_prefix with %.
26104 * configure: Regenerated.
26105 * include/libc-symbols.h: Remove comment about
26106 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26107 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26108 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26109 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26110 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26111 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26112 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26113 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26114 * elf/tst-unique2mod1.c: Likewise.
26115 * elf/tst-unique1mod2.c: Likewise.
26116 * elf/tst-unique1mod1.c: Likewise.
26117 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26118 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26119 Replace ASM_TYPE_DIRECTIVE with .type.
26120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26121 * sysdeps/i386/sysdep.h: Likewise.
26122 * sysdeps/x86_64/sysdep.h: Likewise.
26123 * sysdeps/sh/sysdep.h: Likewise.
26124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26125 Do not define ASM_TYPE_DIRECTIVE.
26126 * sysdeps/powerpc/sysdep.h: Likewise.
26127 * sysdeps/powerpc/powerpc32/sysdep.h:
26128 Replace ASM_TYPE_DIRECTIVE with .type.
26129 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26130 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26131 * sysdeps/i386/fpu/e_powf.S: Likewise.
26132 * sysdeps/i386/fpu/e_expl.S: Likewise.
26133 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26134 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26135 * sysdeps/i386/fpu/e_pow.S: Likewise.
26136 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26137 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26138 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26139 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26140 * sysdeps/i386/fpu/e_log2.S: Likewise.
26141 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26142 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26143 * sysdeps/i386/fpu/e_powl.S: Likewise.
26144 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26145 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26146 * sysdeps/i386/fpu/e_logl.S: Likewise.
26147 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26148 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26149 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26150 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26151 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26152 * sysdeps/i386/fpu/e_log.S: Likewise.
26153 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26154 * sysdeps/i386/fpu/e_logf.S: Likewise.
26155 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26156 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26157 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26158 * sysdeps/i386/fpu/e_log10.S: Likewise.
26159 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26160 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26161 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26162 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26163 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26164 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26165 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26166 * sysdeps/i386/i686/strtok.S: Likewise.
26167 * sysdeps/i386/i386-mcount.S: Likewise.
26168 * sysdeps/i386/strtok.S: Likewise.
26169 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26170 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26171 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26172 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26173 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26174 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26175 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26176 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26177 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26178 * sysdeps/x86_64/_mcount.S: Likewise.
26179 * sysdeps/x86_64/strtok.S: Likewise.
26180 * sysdeps/sh/_mcount.S: Likewise.
26182 2012-08-01 Roland McGrath <roland@hack.frob.com>
26184 * libio/iofopen.c: Include <fcntl.h>.
26185 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26186 (_IO_fopen64, fopen64): Define as aliases.
26187 * libio/iofopen64.c: Include <fcntl.h>.
26188 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26189 Conditionalize body on this.
26190 * sysdeps/wordsize-64/iofopen.c: File removed.
26191 * sysdeps/wordsize-64/iofopen64.c: File removed.
26193 2012-08-01 Marek Polacek <polacek@redhat.com>
26195 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26196 Use dlfcn directly instead of a variable.
26197 (binfmt-subdir): Do not define.
26200 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26202 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26203 Remove all definitions.
26204 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26205 <kernel-features.h>.
26206 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26207 (miss_F_GETOWN_EX): Remove all definitions.
26208 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26210 [!__ASSUME_FCNTL64]: Remove conditional code.
26211 [__ASSUME_FCNTL64]: Make code unconditional.
26212 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26213 <kernel-features.h>.
26214 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26215 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26216 (lockf64) [__NR_fcntl64]: Make code unconditional.
26217 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26219 * sysdeps/unix/sysv/linux/kernel-features.h
26220 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26221 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26222 Make code unconditional.
26223 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26224 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26226 [__NR_vfork]: Make code unconditional.
26227 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26228 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26230 [__NR_vfork]: Make code unconditional.
26231 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26232 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26234 2012-08-01 Roland McGrath <roland@hack.frob.com>
26236 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26237 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26239 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26240 Define mkstemp64 as an alias.
26241 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26242 Define mkstemps64 as an alias.
26243 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26244 Define mkostemp64 as an alias.
26245 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26246 Define mkostemps64 as an alias.
26247 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26248 Conditionalize body on this.
26249 * misc/mkostemp64.c: Likewise.
26250 * misc/mkostemps64.c: Likewise.
26251 * misc/mkstemps64.c: Likewise.
26252 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26253 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26254 * sysdeps/wordsize-64/mkostemp.c: File removed.
26255 * sysdeps/wordsize-64/mkstemp.c: File removed.
26256 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26257 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26258 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26259 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26262 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26263 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26264 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26265 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26267 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26268 compat_symbol macros from <shlib-compat.h> rather than the underlying
26269 default_symbol_version and symbol_version macros, so that DEFAULT
26270 lines in shlib-versions are respected.
26271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26273 2012-08-01 Florian Weimer <fweimer@redhat.com>
26275 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26276 Declare with warn_unused_result.
26277 (setgid, setregid, setegid, setresgid): Likewise.
26278 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26280 * WUR-REPORT: Remove set*id functions.
26282 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26284 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26286 2012-07-31 Roland McGrath <roland@hack.frob.com>
26289 * include/sys/socket.h (__libc_accept, __libc_accept4):
26290 Add attribute_hidden.
26291 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26293 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26295 * inet/getnetgrent_r.c (setup): Likewise.
26297 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26299 2012-07-31 David S. Miller <davem@davemloft.net>
26301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26303 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26306 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26307 value between 1.0 and 2.0 and smaller part has absolute value less
26309 * math/s_clog10.c (__clog10): Likewise.
26310 * math/s_clog10f.c (__clog10f): Likewise.
26311 * math/s_clog10l.c (__clog10l): Likewise.
26312 * math/s_clogf.c (__clogf): Likewise.
26313 * math/s_clogl.c (__clogl): Likewise.
26314 * math/libm-test.inc (clog_test): Add more tests.
26315 (clog10_test): Likewise.
26316 * sysdeps/i386/fpu/libm-test-ulps: Update.
26317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26319 2012-07-31 Florian Weimer <fweimer@redhat.com>
26321 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26322 Exit with zero in case no suitable GID is found, and write a
26323 message to standard error.
26325 2012-07-30 Roland McGrath <roland@hack.frob.com>
26327 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26329 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26330 (MAXPATHLEN): Removed.
26331 (NOGROUP, NODEV): New macros.
26332 (setbit, clrbit, isset, isclr): New macros.
26333 (howmany, roundup, powerof2): New macros.
26334 (DEV_BSIZE): New macro.
26336 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26337 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26339 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26340 definition on [!__NO_LONG_DOUBLE_MATH].
26342 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26343 PTR_MANGLE and PTR_DEMANGLE.
26345 * socket/accept4.c (accept4): Rename to __libc_accept4.
26346 Define accept4 as a weak alias.
26348 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26349 on [_DIRENT_HAVE_D_TYPE].
26350 * io/ftw.c (ftw_dir): Likewise.
26352 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26354 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26356 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26357 Use the BSD numbers rather than the arbitrary ones we had.
26358 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26359 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26360 (SIGXCPU, SIGXFSZ): New macros.
26363 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26364 initializer on [_LIBC_REENTRANT].
26366 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26367 definitions inside [_POSIX_MAPPED_FILES].
26369 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26371 * dirent/opendir.c: Include <fcntl.h>.
26373 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26374 (__libc_getspecific): Likewise.
26375 (__libc_key_create): Likewise.
26377 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26378 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26379 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26380 (tmpfile64): Define as alias.
26381 * sysdeps/wordsize-64/tmpfile.c: File removed.
26382 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26383 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26384 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26386 * stdio-common/vfscanf.c: Include <stdbool.h>.
26387 * nss/makedb.c: Likewise.
26388 * stdio-common/_i18n_number.h: Likewise.
26389 * argp/argp-help.c: Likewise.
26390 * posix/wordexp.c: Likewise.
26391 * sysdeps/posix/spawni.c: Likewise.
26392 * nss/nss_files/files-initgroups.c: Likewise.
26393 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26394 * nss/nss_files/files-initgroups.c: Likewise.
26395 * nss/nss_db/db-netgrp.c: Likewise.
26396 * nss/nss_db/db-initgroups.c: Likewise.
26397 * io/fchmodat.c: Include <sys/stat.h>.
26399 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26400 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26402 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26405 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26406 Add multiple inclusion protection.
26408 2012-07-27 David S. Miller <davem@davemloft.net>
26410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26412 2012-07-27 Gary Benson <gbenson@redhat.com>
26415 * elf/rtld.c: Include <stap-probe.h>.
26416 (dl_main): Added static probes "init_start" and "init_complete".
26417 * elf/dl-load.c: Include <stap-probe.h>.
26418 (lose): Take new parameter "nsid".
26419 Added static probe "map_failed".
26420 (_dl_map_object_from_fd): Pass namespace id to lose.
26421 Added static probe "map_start".
26422 (open_verify): Pass namespace id to lose.
26423 * elf/dl-open.c: Include <stap-probe.h>.
26424 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26425 and "reloc_complete".
26426 * elf/dl-close.c: Include <stap-probe.h>.
26427 (_dl_close_worker): Added static probes "unmap_start" and
26429 * elf/rtld-debugger-interface.txt: New file documenting the above.
26431 2012-07-26 Roland McGrath <roland@hack.frob.com>
26433 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26434 rather than a string variable.
26435 * sunrpc/rpc_main.c (h_output): Likewise.
26436 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26438 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26440 * inet/check_native.c: New file.
26442 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26445 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26446 if larger part has absolute value 1.0.
26447 * math/s_clog10.c (__clog10): Likewise.
26448 * math/s_clog10f.c (__clog10f): Likewise.
26449 * math/s_clog10l.c (__clog10l): Likewise.
26450 * math/s_clogf.c (__clogf): Likewise.
26451 * math/s_clogl.c (__clogl): Likewise.
26452 * math/libm-test.inc (clog_test): Add more tests.
26453 (clog10_test): Likewise.
26454 * sysdeps/i386/fpu/libm-test-ulps: Update.
26455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26457 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26458 (pltexit): Likewise.
26459 (La_regs): Likewise.
26460 (La_retval): Likewise.
26461 (int_retval): Likewise.
26462 Update #error for removed macros to refer only to definitions in
26464 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26466 (pltexit): Likewise.
26467 (La_regs): Likewise.
26468 (La_retval): Likewise.
26469 (int_retval): Likewise.
26470 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26472 (pltexit): Likewise.
26473 (La_regs): Likewise.
26474 (La_retval): Likewise.
26475 (int_retval): Likewise.
26476 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26478 (pltexit): Likewise.
26479 (La_regs): Likewise.
26480 (La_retval): Likewise.
26481 (int_retval): Likewise.
26482 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26484 (pltexit): Likewise.
26485 (La_regs): Likewise.
26486 (La_retval): Likewise.
26487 (int_retval): Likewise.
26488 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26490 (pltexit): Likewise.
26491 (La_regs): Likewise.
26492 (La_retval): Likewise.
26493 (int_retval): Likewise.
26494 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26496 (pltexit): Likewise.
26497 (La_regs): Likewise.
26498 (La_retval): Likewise.
26499 (int_retval): Likewise.
26500 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26501 macro definitions in tst-audit.h.
26502 * sysdeps/i386/tst-audit.h: New file.
26503 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26504 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26505 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26506 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26507 * sysdeps/sh/tst-audit.h: Likewise.
26508 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26509 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26510 * sysdeps/x86_64/tst-audit.h: Likewise.
26512 2012-07-26 Andreas Jaeger <aj@suse.de>
26514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26517 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26518 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26519 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26521 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26522 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26523 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26525 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26528 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26530 (si_call_addr, si_syscall, si_arch): Define new macro.
26531 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26533 (si_call_addr, si_syscall, si_arch): Define new marcro.
26534 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26536 (si_call_addr, si_syscall, si_arch): Define new macro.
26537 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26539 (si_call_addr, si_syscall, si_arch): Define new macro.
26541 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26544 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26545 Change to 2.4.21 where previously 2.4.1.
26546 * sysdeps/unix/sysv/linux/configure: Regenerated.
26547 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26548 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26549 Linux kernel version.
26550 (__ASSUME_STD_AUXV): Remove.
26551 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26553 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26554 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26555 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26556 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26557 (__ASSUME_NETLINK_SUPPORT): Likewise.
26558 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26559 (__no_netlink_support): Remove conditional definition.
26560 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26562 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26563 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26564 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26565 (if_nameindex_ioctl): Remove.
26566 (if_nameindex_netlink): Do not handle __no_netlink_support.
26567 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26569 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26570 Remove conditional code.
26571 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26573 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26575 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26576 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26577 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26579 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26580 [!__ASSUME_STD_AUXV]: Remove conditional code.
26581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26582 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26583 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26585 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26586 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26588 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26590 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26591 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26593 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26595 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26598 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26601 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26602 code unconditional.
26603 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26605 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26607 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26610 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26612 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26615 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26616 code unconditional.
26617 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26619 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26621 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26624 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26625 code unconditional.
26626 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26628 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26630 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26633 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26635 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26636 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26637 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26638 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26639 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26640 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26641 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26642 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26643 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26644 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26645 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26646 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26647 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26648 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26649 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26650 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26651 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26652 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26653 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26655 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26656 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26657 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26659 2012-07-25 Florian Weimer <fweimer@redhat.com>
26661 * Versions.def: Add GLIBC_2.17.
26662 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26663 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26664 Introduce __libc_secure_getenv.
26665 * stdlib/Versions (2.17): Add secure_getenv
26666 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26667 * stdlib/secure-getenv.c: Rename __secure_getenv to
26668 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26669 symbol __secure_getenv for GLIBC_2.0.
26670 * stdlib/tst-secure-getenv.c: New.
26671 * stdlib/Makefile (tests): Add testcase.
26672 * manual/startup.texi (Environment Access): Document
26674 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26675 __libc_secure_getenv.
26676 * inet/ruserpass.c (ruserpass): Likewise.
26677 * malloc/mtrace.c (mtrace): Likewise.
26678 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26679 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26680 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26681 * sysdeps/posix/tempname.c: Likewise. Evaluate
26682 HAVE_SECURE_GETENV.
26683 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26684 __secure_getenv to __libc_secure_getenv.
26685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26698 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26700 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26701 (struct La_i86_retval): Likewise.
26702 (struct La_x86_64_regs): Likewise.
26703 (struct La_x86_64_retval): Likewise.
26704 (struct La_x32_regs): Likewise.
26705 (struct La_x32_retval): Likewise.
26706 (struct La_ppc32_regs): Likewise.
26707 (struct La_ppc32_retval): Likewise.
26708 (struct La_ppc64_regs): Likewise.
26709 (struct La_ppc64_retval): Likewise.
26710 (struct La_sh_regs): Likewise.
26711 (struct La_sh_retval): Likewise.
26712 (struct La_s390_32_regs): Likewise.
26713 (struct La_s390_32_retval): Likewise.
26714 (struct La_s390_64_regs): Likewise.
26715 (struct La_s390_64_retval): Likewise.
26716 (struct La_sparc32_regs): Likewise.
26717 (struct La_sparc32_retval): Likewise.
26718 (struct La_sparc64_regs): Likewise.
26719 (struct La_sparc64_retval): Likewise.
26720 (struct audit_ifaces): Remove architecture-specific pltenter and
26722 * sysdeps/i386/ldsodefs.h: New file.
26723 * sysdeps/powerpc/ldsodefs.h: Likewise.
26724 * sysdeps/s390/ldsodefs.h: Likewise.
26725 * sysdeps/sh/ldsodefs.h: Likewise.
26726 * sysdeps/sparc/ldsodefs.h: Likewise.
26727 * sysdeps/x86_64/ldsodefs.h: Likewise.
26729 2012-07-25 Marek Polacek <polacek@redhat.com>
26732 * math/libm-test.inc (yn_test): Add another test.
26733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26734 to ERANGE when the result is +-Inf.
26735 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26736 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26737 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26738 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26740 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26742 * conform/data/time.h-data (NULL): Use macro-constant. Require
26744 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26746 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26748 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26750 * configure.in <sysdeps resolving>: Correct printing
26752 * configure: Regenerate.
26754 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26756 * math/w_ilogb.c: Include <limits.h>.
26757 * math/w_ilogbl.c: Likewise.
26759 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26761 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26762 va_copy. Document allowing for unavailable va_copy only as
26763 pre-C99 compatibility.
26764 * manual/string.texi (Copying and Concatenation): Use va_copy
26765 instead of __va_copy in concat example.
26767 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26769 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26770 (__sendto): Use create_address_port. Initialize APORT and deallocate
26773 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26774 with O_NOLINK passed to __file_name_lookup.
26776 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26777 with O_NOLINK passed to __file_name_lookup.
26779 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26780 negative N or less than NGIDS.
26782 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26783 type to string_t. Set ERANGE as errno and return it if NAME is not big
26784 enough. Use memcpy instead of strncpy.
26786 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26788 * elf/Makefile (check-data): Remove.
26789 (localplt.data): New vpath directive.
26790 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26791 instead of $(check-data).
26792 * scripts/data/localplt-generic.data: Move to ...
26793 * sysdeps/generic/localplt.data: ... here.
26794 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26795 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26796 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26799 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26802 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26805 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26808 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26811 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26815 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26817 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26818 PPC32 and PPC64 files.
26819 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26820 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26822 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26824 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26825 __makecontext_ret to ...
26826 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26827 ... here and call exit if uc_link is NULL. New file.
26828 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26829 __makecontext_ret.S.
26830 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26831 __makecontext_ret to ...
26832 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26833 ... here and call exit if uc_link is NULL. New file.
26834 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26835 __makecontext_ret.S.
26837 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26839 * elf/elf.h (R_390_IRELATIVE): New definition.
26840 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26841 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26842 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26843 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26844 (elf_machine_lazy_rel): Likewise.
26845 * sysdeps/s390/dl-irel.h: New file.
26846 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26847 * sysdeps/s390/s390-64/memset.S: New asm code.
26848 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26849 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26850 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26851 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26852 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26853 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26854 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26855 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26856 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26857 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26858 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26859 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26860 * sysdeps/s390/s390-32/memset.S: New asm code.
26861 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26863 2012-07-17 Marek Polacek <polacek@redhat.com>
26866 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26867 * sysdeps/s390/s390-64/configure.in: Likewise.
26868 * sysdeps/sparc/configure.in: Likewise.
26869 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26870 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26871 * sysdeps/i386/configure.in: Likewise.
26872 * sysdeps/x86_64/configure.in: Likewise.
26873 * sysdeps/sh/configure.in: Likewise.
26874 * sysdeps/s390/s390-32/configure: Regenerated.
26875 * sysdeps/s390/s390-64/configure: Likewise.
26876 * sysdeps/x86_64/configure: Likewise.
26877 * sysdeps/sh/configure: Likewise.
26878 * sysdeps/powerpc/powerpc64/configure: Likewise.
26879 * sysdeps/powerpc/powerpc32/configure: Likewise.
26880 * sysdeps/sparc/configure: Likwise.
26881 * sysdeps/i386/configure: Likewise.
26883 * elf/dl-open.c: Comment fixes.
26885 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26887 * Makefile [CXX] (check-data): Remove.
26888 [CXX] (c++-types.data): New vpath directive.
26889 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26890 vpath. Do not allow for C++ type data being missing.
26891 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26892 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26893 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26894 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26895 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26896 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26897 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26900 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26903 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26906 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26909 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26912 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26915 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26918 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26921 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26922 definitions to architecture-specific files.
26923 (TLS_IE): Likewise.
26924 (TLS_LD): Likewise.
26925 (TLS_GD): Likewise.
26926 * sysdeps/i386/tls-macros.h: New file.
26927 * sysdeps/powerpc/tls-macros.h: Likewise.
26928 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26929 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26930 * sysdeps/sh/tls-macros.h: Likewise.
26931 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26932 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26933 * sysdeps/x86_64/tls-macros.h: Likewise.
26935 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26937 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26938 zero value for regular exit case.
26940 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26941 (__start_context): Preserve zero value for regular exit case.
26943 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26944 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26946 * manual/setjmp.texi (setcontext): Clarify normal process
26947 termination when uc_link is the null pointer.
26948 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26951 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26953 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26954 preprocessor. Test for each exception mask separately.
26956 2012-07-16 Andreas Jaeger <aj@suse.de>
26958 * po/ru.po: Update from translation team.
26960 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26962 * conform/data/string.h-data (NULL): Use macro-constant. Require
26964 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26965 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26966 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26967 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26970 2012-07-13 Andreas Jaeger <aj@suse.de>
26972 * po/fr.po: Update from translation team.
26974 2012-07-12 Marek Polacek <polacek@redhat.com>
26977 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26978 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26981 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26985 Change to 2.4.1 where previously 2.4.0.
26986 * sysdeps/unix/sysv/linux/configure: Regenerated.
26987 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26988 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26990 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26991 (__ASSUME_AT_CLKTCK): Remove.
26992 (__ASSUME_AT_PAGESIZE): Likewise.
26993 (__ASSUME_AT_XID): Likewise.
26994 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26995 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26996 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26998 (HAVE_AUX_PAGESIZE): Likewise.
26999 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27000 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27001 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27003 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27007 the temporary buffer used to invoke __gethostbyname2_r,
27008 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27009 host_data / struct gaih_addrtuple.
27010 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27011 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27012 header file nss/nsswitch.h.
27013 * nss/nsswitch.h (global scope): Add definition of implementation
27014 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27015 resolv/nss_dns/dns-host.c).
27017 2012-07-11 Andreas Jaeger <aj@suse.de>
27019 * po/fr.po: Update from translation team.
27021 * po/sv.po: Update from translation team
27022 * po/fr.po: Another update from translation team.
27024 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27026 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27027 for subnormals or multiply small sinh result by itself.
27028 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27031 2012-07-11 David S. Miller <davem@davemloft.net>
27033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27035 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27038 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27039 (INTERNAL_MARK): Shift it here.
27041 2012-07-10 Marek Polacek <polacek@redhat.com>
27044 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27045 libc_cv_asm_global_directive with .globl.
27046 * configure: Regenerated.
27047 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27049 * sysdeps/i386/configure: Regenerated.
27050 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27052 * sysdeps/x86_64/configure: Regenerated.
27053 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27054 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27055 * elf/tst-unique2mod2.c: Likewise.
27056 * elf/tst-unique2mod1.c: Likewise.
27057 * elf/tst-unique1mod2.c: Likewise.
27058 * elf/tst-unique1mod1.c: Likewise.
27059 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27060 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27061 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27062 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27063 * sysdeps/mach/sysdep.h: Likewise.
27064 * sysdeps/i386/sysdep.h: Likewise.
27065 * sysdeps/i386/i386-mcount.S: Likewise.
27066 * sysdeps/x86_64/_mcount.S: Likewise.
27067 * sysdeps/x86_64/sysdep.h: Likewise.
27068 * sysdeps/sh/_mcount.S: Likewise.
27069 * sysdeps/sh/sysdep.h: Likewise.
27070 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27071 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27072 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27073 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27074 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27075 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27076 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27077 * locale/localeinfo.h: Likewise.
27078 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27079 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27081 2012-07-09 Roland McGrath <roland@hack.frob.com>
27084 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27086 * manual/message.texi (The Uniforum approach): Likewise.
27087 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27088 (glibc iconv Implementation): Likewise.
27090 2012-07-09 Joseph Myers <joseph@codesourcery.com>
27093 * math/s_clog.c (__clog): Avoid scaling a value down where that
27094 could result in underflow.
27095 * math/s_clog10.c (__clog10): Likewise.
27096 * math/s_clog10f.c (__clog10f): Likewise.
27097 * math/s_clog10l.c (__clog10l): Likewise.
27098 * math/s_clogf.c (__clogf): Likewise.
27099 * math/s_clogl.c (__clogl): Likewise.
27100 * math/libm-test.inc (clog_test): Add more tests.
27101 (clog10_test): Likewise.
27102 * sysdeps/i386/fpu/libm-test-ulps: Update.
27103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27105 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27108 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27109 by 7 not 8 to examine high bit of fractional part.
27112 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27113 for call to __mcount_internal.
27114 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27115 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27116 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27118 2012-07-06 Joseph Myers <joseph@codesourcery.com>
27121 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27122 approximation for values within 0x1p-13f of an odd multiple of
27124 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27125 exception. Add more tests.
27126 * sysdeps/i386/fpu/libm-test-ulps: Update.
27129 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27130 inputs and return -1 for them. Do not check for +Inf in case not
27131 reachable for +Inf.
27132 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27133 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27134 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27135 and return -1 for them. Do not check for +Inf in case not
27136 reachable for +Inf.
27137 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27139 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27140 and return -1 for them. Do not check for +Inf in case not
27141 reachable for +Inf.
27142 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27143 spurious underflow.
27144 * sysdeps/i386/fpu/libm-test-ulps: Update.
27145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27147 2012-07-06 Mike Frysinger <vapier@gentoo.org>
27149 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27151 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27155 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27156 could result in spurious underflow. Scale down values above
27157 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27158 * math/s_csqrtf.c (__csqrtf): Likewise.
27159 * math/s_csqrtl.c (__csqrtl): Likewise.
27160 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27161 spurious underflow.
27162 * sysdeps/i386/fpu/libm-test-ulps: Update.
27163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27165 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27167 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27169 * catgets/xopen-msg.awk: New file.
27170 * catgets/xopen-msg.sed: Removed.
27172 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27174 * intl/po2test.awk: New file.
27175 * intl/po2test.sed: Removed.
27177 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27180 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27181 or multiply small sinh result by itself.
27182 * math/s_ctanf.c (__ctanf): Likewise.
27183 * math/s_ctanh.c (__ctanh): Likewise.
27184 * math/s_ctanhf.c (__ctanhf): Likewise.
27185 * math/s_ctanhl.c (__ctanhl): Likewise.
27186 * math/s_ctanl.c (__ctanl): Likewise.
27187 * math/libm-test.inc (ctan_test_tonearest): New function.
27188 (ctan_test_towardzero): Likewise.
27189 (ctan_test_downward): Likewise.
27190 (ctan_test_upward): Likewise.
27191 (ctanh_test_tonearest): Likewise.
27192 (ctanh_test_towardzero): Likewise.
27193 (ctanh_test_downward): Likewise.
27194 (ctanh_test_upward): Likewise.
27195 (main): Call these new functions.
27196 * sysdeps/i386/fpu/libm-test-ulps: Update.
27197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27199 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27201 * .gitignore: Delete /ports entry.
27203 2012-07-03 Andreas Jaeger <aj@suse.de>
27205 * po/bg.po: Update from translation team.
27206 * po/cs.po: Likewise.
27207 * po/de.po: Likewise.
27208 * po/hr.po: Likewise.
27209 * po/nl.pl: Likewise.
27210 * po/pl.po: Likewise.
27211 * po/vi.po: Likewise.
27213 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27215 * Makeconfig [!+link] (+link-before-libc): New variable.
27216 [!+link] (+link-after-libc): Likewise.
27217 [!+link] (+link-tests): Likewise.
27218 [!+link] (+link): Define in terms of $(+link-before-libc) and
27219 $(+link-after-libc).
27220 [!+link-static] (+link-static-before-libc): New variable.
27221 [!+link-static] (+link-static-after-libc): Likewise.
27222 [!+link-static] (+link-static-tests): Likewise.
27223 [!+link-static] (+link-static): Define in terms of
27224 $(+link-static-before-libc) and $(+link-static-after-libc).
27225 [build-shared] (link-libc-before-gnulib): New variable.
27226 [build-shared] (link-libc-tests): Likewise.
27227 [build-shared] (link-libc): Define in terms of
27228 $(link-libc-before-gnulib).
27229 [!build-shared] (link-libc-tests): New variable.
27230 (link-libc-static-tests): New variable.
27231 [!gnulib] (gnulib-arch): New variable.
27232 [!gnulib] (gnulib-tests): Likewise.
27233 [!gnulib] (static-gnulib-arch): Likewise.
27234 [!gnulib] (static-gnulib-tests): Likewise.
27235 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27236 Define with "=" instead of ":=".
27237 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27238 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27239 * Rules (binaries-all-notests): New variable.
27240 (binaries-all-tests): Likewise.
27241 (binaries-static-notests): Likewise.
27242 (binaries-static-tests): Likewise.
27243 (binaries-all): Define using $(binaries-all-notests) and
27244 $(binaries-all-tests).
27245 (binaries-static): Define using $(binaries-static-notests) and
27246 $(binaries-static-tests).
27247 (binaries-shared-tests): New variable.
27248 (binaries-shared-notests): Likewise.
27249 (binaries-shared): Remove variable.
27250 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27251 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27252 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27253 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27254 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27255 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27256 * elf/Makefile (sln-modules): New variable.
27257 (extra-objs): Add $(sln-modules:=.o).
27258 (ldconfig-modules): Add static-stubs.
27259 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27260 * elf/static-stubs.c: New file.
27263 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27264 by 7 not 8 to examine high bit of fractional part. Use volatile
27265 variables when splitting into final array of floats if
27266 __FLT_EVAL_METHOD__ != 0.
27267 * math/libm-test.inc (cos_test): Add another test.
27268 (sin_test): Likewise.
27269 * sysdeps/i386/fpu/libm-test-ulps: Update.
27272 * math/libm-test.inc (cosh_test): Add more tests.
27274 * version.h (RELEASE): Set to "development".
27275 (VERSION): Set to "2.16.90".
27277 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27279 * NEWS: Update copyright. Remove last-updated date.
27280 Mention math library bug fixes and timezone data changes.
27281 * README: Mention GNU/Hurd, x32, and HPPA support status.
27283 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27285 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27287 2012-06-27 Andreas Jaeger <aj@suse.de>
27289 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27291 2012-06-25 Andreas Jaeger <aj@suse.de>
27293 * sysdeps/s390/fpu/libm-test-ulps: Update.
27295 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27296 Thomas Schwinge <thomas@codesourcery.com>
27298 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27299 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27300 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27303 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27305 * sysdeps/mach/start.c: Remove file.
27306 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27307 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27308 * sysdeps/sh/init-first.c: Likewise.
27310 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27311 registers for frame unwinding purposes, add CFI directives.
27312 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27313 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27314 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27317 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27318 __fortify_fail returning.
27319 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27321 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27322 sysdeps/sh/____longjmp_chk.S.
27323 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27324 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27325 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27326 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27328 * sysdeps/sh/abort-instr.h: New file.
27329 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27330 process in case exit returns.
27332 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27333 initialize the GOT register before use.
27335 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27336 calculation of ARGC > 4.
27338 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27339 meaningful names to some local labels.
27341 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27342 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27344 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27345 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27346 (__arch_compare_and_exchange_val_16_acq): Likewise.
27347 (__arch_compare_and_exchange_val_32_acq): Likewise.
27348 (atomic_exchange_and_add): Fix gUSA sequence.
27349 (atomic_add): Likewise.
27350 (atomic_add_negative): Likewise.
27351 (atomic_add_zero): Likewise.
27352 (atomic_bit_test_set): Likewise.
27354 2012-06-22 Andreas Schwab <schwab@redhat.com>
27357 * include/link.h (struct link_map): Add l_free_initfini.
27358 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27360 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27361 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27362 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27365 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27367 * configure.in: Use AC_LANG_SOURCE.
27368 * configure: Regenerate.
27370 2012-06-22 Roland McGrath <roland@hack.frob.com>
27372 * configure.in (libc_cv_localstatedir): New substituted variable.
27373 * configure: Regenerated.
27374 * config.make.in (localstatedir): New variable, substituted from
27375 libc_cv_localstatedir.
27376 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27377 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27378 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27379 * sysdeps/gnu/configure: Regenerated.
27381 2012-06-21 Jeff Law <law@redhat.com>
27384 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27385 free. Simplify list management for _LIBC case.
27387 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27390 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27391 Clear sign bit of 64-bit integer value before comparing against
27394 * sysdeps/mach/configure: Regenerated.
27396 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27399 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27401 2012-06-21 Jeff Law <law@redhat.com>
27404 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27405 uint16_t for elements in the "seen" array to avoid char overflows.
27406 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27407 * elf/dl-open.c (dl_open_worker): Likewise.
27409 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27411 * scripts/list-sources.sh: Scan PORTS for translations.
27412 * po/libc.pot: Regenerated.
27414 2012-06-21 Andreas Jaeger <aj@suse.de>
27417 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27419 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27420 * bits/byteswap-16.h (__bswap_16): Likewise.
27421 * bits/byteswap.h (__bswap_constant_16): Likewise.
27423 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27426 * sysdeps/i386/fpu_control.h: Removed.
27427 * sysdeps/x86_64/fpu_control.h: Moved to ...
27428 * sysdeps/x86/fpu_control.h: Here.
27430 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27431 (_FPU_SETCW): Likewise.
27433 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27436 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27437 * sysdeps/x86/fpu/bits/mathinline.h: This.
27438 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27442 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27443 functions if __x86_64__ is defined.
27445 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27447 * string/endian.h: Add !__ASSEMBLER__ condition for including
27448 conversion interfaces.
27450 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27453 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27454 of ABS(x) in calculating zero to negative powers other than odd
27456 * math/libm-test.inc (pow_test): Add more tests.
27458 2012-06-15 Andreas Jaeger <aj@suse.de>
27460 * manual/contrib.texi (Contributors): Update entry of Liubov
27461 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27464 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27466 * string/string.h: Add __wur to GNU version of strerror_r.
27468 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27471 * string/Makefile (tests): Add tst-strtok_r.
27472 * string/tst-strtok_r.c: New file.
27473 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27474 RAX_LP/RDX_LP on SAVE_PTR.
27476 2012-06-14 Roland McGrath <roland@hack.frob.com>
27478 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27480 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27482 * libm_test.inc (csqrt_test): Allow more spurious underflow
27484 (j0_test): Likewise.
27485 (j1_test): Likewise.
27486 (y0_test): Likewise.
27487 (y1_test): Likewise.
27489 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27491 * po/Makefile (libc.pot): Use UTF-8 charset.
27493 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27496 Suppress sign-conversion warning from FD_SET.
27497 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27498 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27499 not unsigned long int.
27500 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27502 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27506 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27507 __extern_always_inline instead of __extern_inline.
27508 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27509 (__signbit): Likewise.
27510 (__signbitl): Support C++ namespace.
27511 (lrintf): New inline function.
27513 (llrintf): Likewise.
27514 (llrint): Likewise.
27524 (floorf): Likewise.
27525 (nearbyint): Likewise.
27526 (nearbyintf): Likewise.
27528 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27530 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27531 non-default versions.
27533 2012-06-11 Roland McGrath <roland@hack.frob.com>
27536 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27538 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27540 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27541 (FE_UPWARD, FE_DOWNWARD): Don't define.
27542 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27543 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27545 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27547 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27548 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27550 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27552 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27553 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27554 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27555 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27557 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27560 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27561 * sysdeps/i386/fpu/Implies: New file.
27562 * sysdeps/x86_64/fpu/Implies: Likewise.
27563 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27564 * sysdeps/x86/fpu/bits/fenv.h: This.
27566 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27569 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27572 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27573 character 0xffff that matches the last element of the
27576 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27578 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27581 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27583 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27584 values higher than 25.6283.
27586 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27588 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27589 subnormal exponent extraction and add some __builtin_expect.
27590 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27591 Fix for subnormal mantissa calculation.
27593 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27595 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27596 cpu2 is -1 and errno is not ENOSYS.
27598 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27601 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27602 * sysdeps/x86/bits/string.h: This.
27603 * sysdeps/x86_64/bits/string.h: Removed.
27605 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27606 if not compiling for x86-64, but compiling for >= i486.
27608 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27609 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27611 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27612 New macro from Linux kernel 3.4.0.
27613 (FP_XSTATE_MAGIC2): Likewise.
27614 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27615 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27616 (struct _fpx_sw_bytes): New struct.
27617 (struct _xsave_hdr): Likewise.
27618 (struct _ymmh_state): Likewise.
27619 (struct _xstate): Likewise.
27621 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27622 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27623 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27624 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27625 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27626 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27628 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27629 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27630 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27631 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27632 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27633 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27635 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27638 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27639 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27640 (sysdep_headers): Include sys/platform/ppc.h.
27641 * sysdeps/powerpc/test-gettimebase.c: Test for
27642 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27643 * manual/Makefile (appendices): Include platform.texi.
27644 * manual/contrib.texi (Contributors): Update @node pointers.
27645 * manual/maint.texi (Maintenance): Likewise.
27646 (Platform): New node.
27647 * manual/platform.texi: New file. Document the new features.
27649 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27650 Jakub Jelinek <jakub@redhat.com>
27653 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27654 where __builtin_expect is unavailable.
27656 2012-06-03 David S. Miller <davem@davemloft.net>
27658 * stdlib/longlong.h: Updated from GCC.
27660 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27663 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27664 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27667 (GLIBC_2.16): Likewise.
27669 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27671 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27673 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27676 (default-abi): New variable.
27677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27678 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27680 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27682 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27684 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27687 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27688 definition. Document in comment.
27690 2012-06-01 David S. Miller <davem@davemloft.net>
27692 * stdlib/longlong.h: Updated from GCC.
27694 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27697 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27698 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27699 sys/debugreg.h sys/io.h here.
27700 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27701 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27703 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27704 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27705 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27706 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27707 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27708 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27710 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27711 Define only if __x86_64__ is defined.
27713 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27716 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27717 Use int64_t for variable i.
27718 * math/libm-test.inc (fmod_test): Add more tests.
27720 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27721 z computation is not scheduled after fetestexcept.
27722 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27723 Use math_force_eval instead of asm to ensure calculation scheduled
27724 before exception test.
27725 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27726 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27728 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27731 computation is not scheduled after fetestexcept.
27733 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27736 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27737 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27739 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27741 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27742 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27744 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27747 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27749 (__WCHAR_MIN): Support __WORDSIZE == 64.
27750 (__WCHAR_MAX): Likewise.
27752 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27753 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27756 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27757 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27760 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27761 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27763 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27764 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27766 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27767 Defined to 1 if __x86_64__ isn't defined.
27768 (_STAT_VER_LINUX_OLD): New.
27769 (st_atime): Remove duplicate.
27770 (st_mtime): Likewise.
27771 (st_ctime): Likewise.
27773 2012-05-31 David S. Miller <davem@davemloft.net>
27775 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27778 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27780 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27784 * elf/dl-reloc.c: Include <_itoa.h>.
27785 (_dl_reloc_bad_type): Remove use of INTUSE.
27786 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27787 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27788 * stdio-common/psiginfo.c (psiginfo): Likewise.
27789 * stdio-common/psignal.c (psignal): Likewise.
27790 * string/strsignal.c (strsignal): Likewise.
27791 * include/signal.h (_sys_siglist): Declare hidden proto.
27792 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27793 INTVARDEF with libc_hidden_data_def.
27794 * stdio-common/itoa-udigits.c: Likewise.
27795 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27796 (_itoa_lower_digits_internal): Remove declaration.
27797 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27798 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27799 (_sys_sigabbrev_internal): Remove aliases.
27800 (_sys_siglist): Define hidden alias.
27802 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27807 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27810 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27811 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27813 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27814 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27815 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27816 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27817 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27818 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27820 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27821 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27822 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27824 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27832 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27833 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27834 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27836 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27837 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27838 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27839 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27840 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27841 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27843 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27844 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27846 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27847 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27851 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27853 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27854 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27856 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27858 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27859 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27860 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27862 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27864 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27866 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27868 * math/math.h (M_El): Use two more decimal places.
27869 (M_LOG2El): Likewise.
27870 (M_LOG10El): Likewise.
27871 (M_LN2l): Likewise.
27872 (M_LN10l): Likewise.
27874 (M_PI_2l): Likewise.
27875 (M_PI_4l): Likewise.
27876 (M_1_PIl): Likewise.
27877 (M_2_PIl): Likewise.
27878 (M_2_SQRTPIl): Likewise.
27879 (M_SQRT2l): Likewise.
27880 (M_SQRT1_2l): Likewise.
27882 2012-05-31 David S. Miller <davem@davemloft.net>
27884 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27885 values between float registers.
27886 * sysdeps/sparc/sparc64/memset.S: Likewise.
27887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27889 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27891 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27892 -D_FORTIFY_SOURCE=1.
27893 (CPPFLAGS-tst-longjmp_chk.c): Define.
27894 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27895 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27896 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27897 CFLAGS-tst-wchar-h.c.
27899 2012-05-31 Marek Polacek <polacek@redhat.com>
27902 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27903 __endmntent_internal): Remove declaration.
27904 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27905 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27906 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27908 2012-05-30 David S. Miller <davem@davemloft.net>
27910 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27911 (___Q_simulate_exceptions): Use real FP ops rather than writing
27913 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27916 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27919 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27920 * sysdeps/x86/bits/xtitypes.h: This.
27922 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27923 * sysdeps/x86/bits/wordsize.h: This.
27925 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27926 * sysdeps/x86/bits/huge_vall.h: This.
27928 * sysdeps/i386/bits/select.h: Removed.
27929 * sysdeps/x86_64/bits/select.h: Renamed to ...
27930 * sysdeps/x86/bits/select.h: This.
27932 * sysdeps/i386/bits/setjmp.h: Removed.
27933 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27934 * sysdeps/x86/bits/setjmp.h: This.
27936 * sysdeps/i386/bits/mathdef.h: Removed.
27937 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27938 * sysdeps/x86/bits/mathdef.h: This.
27940 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27943 * include/sys/socket.h (__connect_internal)
27944 (__libc_sa_len_internal): Remove declaration.
27945 (__connect, __libc_sa_len): Declare hidden_proto.
27946 (SA_LEN): Remove use of INTUSE.
27947 * socket/connect.c: Add libc_hidden_def.
27948 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27949 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27950 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27952 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27953 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27954 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27955 of adding _internal alias.
27957 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27960 * sysdeps/i386/bits/link.h: Removed.
27961 * sysdeps/i386/bits/linkmap.h: Likewise.
27962 * sysdeps/x86_64/bits/link.h: Renamed to ...
27963 * sysdeps/x86/bits/link.h: This.
27964 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27965 * sysdeps/x86/bits/linkmap.h: This.
27967 * sysdeps/i386/bits/endian.h: Removed.
27968 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27969 * sysdeps/x86/bits/endian.h: This.
27971 * sysdeps/i386/bits/byteswap.h: Removed.
27972 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27973 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27974 * sysdeps/x86/bits/byteswap.h: This.
27975 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27976 * sysdeps/x86/bits/byteswap-16.h: This.
27977 * sysdeps/i386/Implies: Add x86.
27978 * sysdeps/x86_64/Implies: Likewise.
27980 2012-05-30 David S. Miller <davem@davemloft.net>
27982 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27983 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27984 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27985 (FP_TRAPPING_EXCEPTIONS): Define.
27986 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27987 (FP_TRAPPING_EXCEPTIONS): Define.
27988 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27989 subnormals only when inexact has been signalled or underflow
27990 exceptions are enabled.
27991 (_FP_PACK_CANONICAL): Likewise.
27993 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27996 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27997 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27999 2012-05-30 Richard Henderson <rth@twiddle.net>
28001 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28002 with #ifndef NOT_IN_libc.
28004 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28005 marked to avoid plt entry.
28007 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28010 * Makeconfig (default-abi): New macro.
28011 (abi-includes): Likewise.
28012 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28013 $(abi-$(default-abi)-lib-soname) for soname if defined.
28014 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28016 * Makefile (installed-stubs): Likewise.
28017 * include/stubs-biarch.h: Removed.
28018 * scripts/lib-names.awk: Only handle one library at a time.
28019 * scripts/soversions.awk: Remove WORDSIZE support.
28020 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28022 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28024 (syscall-list-default-condition): Likewise.
28025 (syscall-list-default-condition): Likewise.
28026 (syscall-list-includes): Likewise.
28027 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28028 syscall-list-* with abi-*. Handle undefined abi-variants.
28029 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28030 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28031 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28032 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28033 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28034 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28036 (syscall-list-32-options): Likewise.
28037 (syscall-list-32-condition): Likewise.
28038 (syscall-list-64-options): Likewise.
28039 (syscall-list-64-condition): Likewise.
28040 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28042 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28045 (abi-64-ld-soname): New macro.
28046 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28047 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28050 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28051 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28053 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28055 * sysdeps/unix/sysv/linux/kernel-features.h
28056 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28057 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28058 include <kernel-features.h>.
28059 [!__NR_ftruncate64]: Remove conditional code.
28060 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28061 [__NR_ftruncate64]: Make code unconditional.
28062 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28063 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28064 include <kernel-features.h>.
28065 [!__NR_ftruncate64]: Remove conditional code.
28066 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28067 [__NR_ftruncate64]: Make code unconditional.
28068 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28070 include <kernel-features.h>.
28071 [!__NR_ftruncate64]: Remove conditional code.
28072 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28073 [__NR_ftruncate64]: Make code unconditional.
28074 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28076 include <kernel-features.h>.
28077 [!__NR_ftruncate64]: Remove conditional code.
28078 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28079 [__NR_ftruncate64]: Make code unconditional.
28080 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28082 * configure.in (libc_cv_fpie): Weaken to a compile test using
28083 LIBC_TRY_CC_OPTION.
28084 * configure: Regenerated.
28086 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28101 2012-05-27 David S. Miller <davem@davemloft.net>
28103 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28105 (__Q_simulate_exceptions): Return void. Change to simulate
28106 exceptions by writing into the %fsr.
28107 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28108 (__Qp_handle_exceptions): Likewise.
28110 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28111 __Qp_handle_exceptions.
28112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28113 __Qp_handle_exceptions.
28114 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28115 as unused and give dummy FP_RND_NEAREST initializer.
28116 (FP_INHIBIT_RESULTS): Define.
28117 (___Q_simulate_exceptions): Update declaration.
28118 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28120 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28121 as unused and give dummy FP_RND_NEAREST initializer.
28122 (__Qp_handle_exceptions): Update declaration.
28123 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28126 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28128 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28129 the temporary FPU control word.
28130 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28131 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28132 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28133 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28134 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28135 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28136 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28137 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28138 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28139 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28140 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28142 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28144 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28147 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28149 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28150 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28151 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28152 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28154 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28155 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28158 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28160 * po/h.po: Update from translation team.
28162 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28164 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28166 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28167 handling of denormals.
28168 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28169 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28170 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28171 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28174 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28177 2012-05-26 Marek Polacek <polacek@redhat.com>
28180 * math/libm-test.inc (fma_test): Don't always expect underflow
28183 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28186 * elf/tst-execstack.c: Include stackinfo.h.
28187 (do_test): Adjust test case to ensure that pthread_getattr_np
28188 behaviour remains the same after marking stack executable.
28190 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28192 * sysdeps/unix/sysv/linux/kernel-features.h
28193 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28194 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28196 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28197 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28198 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28200 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28201 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28203 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28205 * configure.in: Define the default includes to being none.
28206 * configure: Regenerated.
28208 2012-05-25 Roland McGrath <roland@hack.frob.com>
28210 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28211 * sysdeps/x86_64/setjmp.S: Likewise.
28212 * sysdeps/i386/bsd-setjmp.S: Likewise.
28213 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28214 * sysdeps/i386/setjmp.S: Likewise.
28215 * sysdeps/i386/__longjmp.S: Likewise.
28216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28217 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28219 * include/stap-probe.h: New file.
28220 * configure.in: Handle --enable-systemtap.
28221 * configure: Regenerated.
28222 * config.h.in (USE_STAP_PROBE): New #undef.
28223 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28224 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28225 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28227 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28230 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28231 to 2.4.0 where earlier.
28232 * sysdeps/unix/sysv/linux/configure: Regenerated.
28233 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28234 <kernel-features.h>.
28235 [__ASSUME_32BITUIDS]: Make code unconditional.
28236 [!__ASSUME_32BITUIDS]: Remove conditional code.
28237 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28238 <kernel-features.h>.
28239 [__ASSUME_32BITUIDS]: Make code unconditional.
28240 [!__ASSUME_32BITUIDS]: Remove conditional code.
28241 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28242 [__ASSUME_32BITUIDS]: Make code unconditional.
28243 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28244 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28245 <kernel-features.h>.
28246 [__ASSUME_32BITUIDS]: Make code unconditional.
28247 [!__ASSUME_32BITUIDS]: Remove conditional code.
28248 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28249 <kernel-features.h>.
28250 [__ASSUME_32BITUIDS]: Make code unconditional.
28251 [!__ASSUME_32BITUIDS]: Remove conditional code.
28252 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28253 <kernel-features.h>.
28254 [__ASSUME_32BITUIDS]: Make code unconditional.
28255 [!__ASSUME_32BITUIDS]: Remove conditional code.
28256 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28257 <kernel-features.h>.
28258 [__ASSUME_32BITUIDS]: Make code unconditional.
28259 [!__ASSUME_32BITUIDS]: Remove conditional code.
28260 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28261 <kernel-features.h>.
28262 [__ASSUME_32BITUIDS]: Make code unconditional.
28263 [!__ASSUME_32BITUIDS]: Remove conditional code.
28264 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28265 <kernel-features.h>.
28266 [__ASSUME_32BITUIDS]: Make code unconditional.
28267 [!__ASSUME_32BITUIDS]: Remove conditional code.
28268 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28269 <kernel-features.h>.
28270 [__ASSUME_32BITUIDS]: Make code unconditional.
28271 [!__ASSUME_32BITUIDS]: Remove conditional code.
28272 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28273 <kernel-features.h>.
28274 [__ASSUME_32BITUIDS]: Make code unconditional.
28275 [!__ASSUME_32BITUIDS]: Remove conditional code.
28276 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28277 <kernel-features.h>.
28278 [__ASSUME_32BITUIDS]: Make code unconditional.
28279 [!__ASSUME_32BITUIDS]: Remove conditional code.
28280 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28281 <kernel-features.h>.
28282 [__ASSUME_32BITUIDS]: Make code unconditional.
28283 [!__ASSUME_32BITUIDS]: Remove conditional code.
28284 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28285 <kernel-features.h>.
28286 [__NR_setresgid] (__setresgid): Do not declare.
28287 [__ASSUME_32BITUIDS]: Make code unconditional.
28288 [!__ASSUME_32BITUIDS]: Remove conditional code.
28289 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28290 <kernel-features.h>.
28291 [__NR_setresuid] (__setresuid): Do not declare.
28292 [__ASSUME_32BITUIDS]: Make code unconditional.
28293 [!__ASSUME_32BITUIDS]: Remove conditional code.
28294 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28295 <kernel-features.h>.
28296 [__ASSUME_32BITUIDS]: Make code unconditional.
28297 [!__ASSUME_32BITUIDS]: Remove conditional code.
28298 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28299 <kernel-features.h>.
28300 [__ASSUME_32BITUIDS]: Make code unconditional.
28301 [!__ASSUME_32BITUIDS]: Remove conditional code.
28302 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28303 <kernel-features.h>.
28304 [__ASSUME_32BITUIDS]: Make code unconditional.
28305 [!__ASSUME_32BITUIDS]: Remove conditional code.
28306 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28307 <kernel-features.h>.
28308 [__ASSUME_32BITUIDS]: Make code unconditional.
28309 [!__ASSUME_32BITUIDS]: Remove conditional code.
28310 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28311 <kernel-features.h>.
28312 [__ASSUME_32BITUIDS]: Make code unconditional.
28313 [!__ASSUME_32BITUIDS]: Remove conditional code.
28314 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28315 <kernel-features.h>.
28316 [__ASSUME_32BITUIDS]: Make code unconditional.
28317 [!__ASSUME_32BITUIDS]: Remove conditional code.
28318 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28319 <kernel-features.h>.
28320 [__ASSUME_32BITUIDS]: Make code unconditional.
28321 [!__ASSUME_32BITUIDS]: Remove conditional code.
28322 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28323 <kernel-features.h>.
28324 [__ASSUME_32BITUIDS]: Make code unconditional.
28325 [!__ASSUME_32BITUIDS]: Remove conditional code.
28326 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28327 <kernel-features.h>.
28328 [__ASSUME_32BITUIDS]: Make code unconditional.
28329 [!__ASSUME_32BITUIDS]: Remove conditional code.
28330 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28331 <kernel-features.h>.
28332 [__ASSUME_32BITUIDS]: Make code unconditional.
28333 [!__ASSUME_32BITUIDS]: Remove conditional code.
28334 * sysdeps/unix/sysv/linux/kernel-features.h
28335 (__ASSUME_SETRESUID_SYSCALL): Remove.
28336 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28337 (__ASSUME_32BITUIDS): Likewise.
28338 (__ASSUME_LDT_WORKS): Likewise.
28339 (__ASSUME_O_DIRECTORY): Likewise.
28340 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28341 architecture but not kernel version.
28342 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28343 (__ASSUME_MMAP2_SYSCALL): Likewise.
28344 (__ASSUME_STAT64_SYSCALL): Likewise.
28345 (__ASSUME_IPC64): Likewise.
28346 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28347 <kernel-features.h>.
28348 [__ASSUME_32BITUIDS]: Make code unconditional.
28349 [!__ASSUME_32BITUIDS]: Remove conditional code.
28350 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28351 <kernel-features.h>.
28352 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28353 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28354 132096]: Remove conditional code.
28355 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28356 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28357 <kernel-features.h>.
28358 [__ASSUME_32BITUIDS]: Make code unconditional.
28359 [!__ASSUME_32BITUIDS]: Remove conditional code.
28360 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28361 <kernel-features.h>.
28362 [__ASSUME_32BITUIDS]: Make code unconditional.
28363 [!__ASSUME_32BITUIDS]: Remove conditional code.
28364 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28365 <kernel-features.h>.
28366 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28368 (__setresgid): Do not declare.
28369 [__ASSUME_32BITUIDS]: Make code unconditional.
28370 [!__ASSUME_32BITUIDS]: Remove conditional code.
28371 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28372 <kernel-features.h>.
28373 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28375 (__setresuid): Do not declare.
28376 [__ASSUME_32BITUIDS]: Make code unconditional.
28377 [!__ASSUME_32BITUIDS]: Remove conditional code.
28378 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28379 <kernel-features.h>.
28380 [__ASSUME_32BITUIDS]: Make code unconditional.
28381 [!__ASSUME_32BITUIDS]: Remove conditional code.
28382 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28383 <kernel-features.h>.
28384 [__ASSUME_32BITUIDS]: Make code unconditional.
28385 [!__ASSUME_32BITUIDS]: Remove conditional code.
28387 2012-05-25 Richard Henderson <rth@twiddle.net>
28389 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28390 dl_hwcap to ifunc resolver.
28391 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28393 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28394 dl_hwcap to ifunc resolver.
28395 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28397 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28400 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28401 for |x| <= 2**-26, not 2**-57.
28402 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28405 2012-05-24 Jeff Law <law@redhat.com>
28407 * stdio-common/Makefile (tests): Add bug25.
28408 * stdio-common/bug25.c: New test.
28410 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28413 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28414 multiple of MALLOC_ALIGNMENT in size.
28415 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28417 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28419 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28421 (FILENAME_MAX): Use macro-int-constant.
28422 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28423 (_IOFBF): Use macro-int-constant.
28424 (_IOLBF): Likewise.
28425 (_IONBF): Likewise.
28426 (SEEK_CUR): Likewise.
28427 (SEEK_END): Likewise.
28428 (SEEK_SET): Likewise.
28429 (TMP_MAX): Likewise.
28430 (EOF): Use macro-int-constant. Require < 0.
28431 (NULL): Use macro-constant. Require == 0.
28432 (stdin): Require type to be FILE *.
28433 (stdout): Likewise.
28434 (stderr): Likewise.
28435 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28436 macro-int-constant.
28437 (EXIT_SUCCESS): Likewise.
28438 (NULL): Use macro-constant. Require == 0.
28439 (RAND_MAX): Use macro-int-constant.
28440 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28441 [C99-based standards] (strtof): Require function.
28442 [C99-based standards] (strtold): Likewise.
28443 [C99-based standards] (strtoll): Likewise.
28444 [C99-based standards] (strtoull): Likewise.
28445 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28446 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28447 [ISO || ISO99 || ISO11] (math.h): Likewise.
28448 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28449 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28450 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28452 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28455 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28456 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28457 * intl/dgettext.c (DCGETTEXT): Likewise.
28458 * intl/gettext.c (DCGETTEXT): Likewise.
28459 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28460 * posix/regex_internal.h (gettext): Likewise.
28461 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28462 Remove declaration.
28463 * include/argz.h (__argz_count_internal)
28464 (__argz_stringify_internal): Remove declaration.
28465 (__argz_count, __argz_stringify): Declare hidden proto.
28466 * intl/dcgettext.c: Remove use of INTDEF.
28467 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28468 * string/argz-stringify.c: Likewise.
28469 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28470 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28471 Declare hidden proto.
28472 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28473 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28474 Declare hidden proto.
28475 * include/stdio.h (__asprintf_internal): Don't declare.
28476 (__asprintf): Don't define as macro. Declare hidden proto.
28477 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28478 (__fsetlocking): Declare hidden proto.
28479 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28480 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28482 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28483 (_IO_setlinebuf): Remove use of INTUSE.
28484 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28485 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28486 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28487 Remove declaration.
28488 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28489 (_IO_do_flush): Remove use of INTUSE.
28490 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28491 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28492 (_IO_adjust_column, _IO_least_wmarker)
28493 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28494 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28495 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28496 (_IO_default_doallocate, _IO_wdefault_doallocate)
28497 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28498 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28499 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28500 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28501 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28502 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28503 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28504 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28505 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28506 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28507 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28508 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28509 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28511 (_IO_flush_all_internal, _IO_adjust_column_internal)
28512 (_IO_default_uflow_internal, _IO_default_finish_internal)
28513 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28514 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28515 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28516 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28517 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28518 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28519 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28520 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28521 (_IO_file_close_internal, _IO_file_close_it_internal)
28522 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28523 (_IO_file_init_internal, _IO_file_attach_internal)
28524 (_IO_file_fopen_internal, _IO_file_read_internal)
28525 (_IO_file_sync_internal, _IO_file_seek_internal)
28526 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28527 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28528 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28529 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28530 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28531 (_IO_list_all_internal, _IO_link_in_internal)
28532 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28533 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28534 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28535 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28536 (_IO_do_write_internal, _IO_padn_internal)
28537 (_IO_getline_info_internal, _IO_getline_internal)
28538 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28539 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28540 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28541 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28542 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28543 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28544 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28545 with libc_hidden_ver, remove use of INTUSE.
28546 * libio/genops.c: Likewise.
28547 * libio/freopen.c: Likewise.
28548 * libio/freopen64.c: Likewise.
28549 * libio/iofclose.c: Likewise.
28550 * libio/iofdopen.c: Likewise.
28551 * libio/iofflush.c: Likewise.
28552 * libio/iofflush_u.c: Likewise.
28553 * libio/iofgets.c: Likewise.
28554 * libio/iofgets_u.c: Likewise.
28555 * libio/iofopen.c: Likewise.
28556 * libio/iofopncook.c: Likewise.
28557 * libio/iofread.c: Likewise.
28558 * libio/iofread_u.c: Likewise.
28559 * libio/ioftell.c: Likewise.
28560 * libio/iofwrite.c: Likewise.
28561 * libio/iogetline.c: Likewise.
28562 * libio/iogets.c: Likewise.
28563 * libio/iogetwline.c: Likewise.
28564 * libio/iopadn.c: Likewise.
28565 * libio/iopopen.c: Likewise.
28566 * libio/ioseekoff.c: Likewise.
28567 * libio/ioseekpos.c: Likewise.
28568 * libio/iosetbuffer.c: Likewise.
28569 * libio/iosetvbuf.c: Likewise.
28570 * libio/ioungetc.c: Likewise.
28571 * libio/ioungetwc.c: Likewise.
28572 * libio/iovdprintf.c: Likewise.
28573 * libio/iovsprintf.c: Likewise.
28574 * libio/iovsscanf.c: Likewise.
28575 * libio/memstream.c: Likewise.
28576 * libio/obprintf.c: Likewise.
28577 * libio/oldfileops.c: Likewise.
28578 * libio/oldiofclose.c: Likewise.
28579 * libio/oldiofdopen.c: Likewise.
28580 * libio/oldiofopen.c: Likewise.
28581 * libio/oldiopopen.c: Likewise.
28582 * libio/oldstdfiles.c: Likewise.
28583 * libio/putc.c: Likewise.
28584 * libio/setbuf.c: Likewise.
28585 * libio/setlinebuf.c: Likewise.
28586 * libio/stdfiles.c: Likewise.
28587 * libio/strops.c: Likewise.
28588 * libio/vasprintf.c: Likewise.
28589 * libio/vscanf.c: Likewise.
28590 * libio/vsnprintf.c: Likewise.
28591 * libio/vswprintf.c: Likewise.
28592 * libio/wfiledoalloc.c: Likewise.
28593 * libio/wfileops.c: Likewise.
28594 * libio/wgenops.c: Likewise.
28595 * libio/wmemstream.c: Likewise.
28596 * libio/wstrops.c: Likewise.
28597 * libio/__fpurge.c: Likewise.
28598 * libio/__fsetlocking.c: Likewise.
28599 * assert/assert.c: Likewise.
28600 * debug/fgets_chk.c: Likewise.
28601 * debug/fgets_u_chk.c: Likewise.
28602 * debug/fread_chk.c: Likewise.
28603 * debug/fread_u_chk.c: Likewise.
28604 * debug/gets_chk.c: Likewise.
28605 * debug/obprintf_chk.c: Likewise.
28606 * debug/vasprintf_chk.c: Likewise.
28607 * debug/vdprintf_chk.c: Likewise.
28608 * debug/vsnprintf_chk.c: Likewise.
28609 * debug/vsprintf_chk.c: Likewise.
28610 * malloc/mtrace.c: Likewise.
28611 * misc/error.c: Likewise.
28612 * misc/syslog.c: Likewise.
28613 * stdio-common/asprintf.c: Likewise.
28614 * stdio-common/fxprintf.c: Likewise.
28615 * stdio-common/getw.c: Likewise.
28616 * stdio-common/isoc99_fscanf.c: Likewise.
28617 * stdio-common/isoc99_scanf.c: Likewise.
28618 * stdio-common/isoc99_vfscanf.c: Likewise.
28619 * stdio-common/isoc99_vscanf.c: Likewise.
28620 * stdio-common/isoc99_vsscanf.c: Likewise.
28621 * stdio-common/printf-prs.c: Likewise.
28622 * stdio-common/printf_fp.c: Likewise.
28623 * stdio-common/printf_fphex.c: Likewise.
28624 * stdio-common/printf_size.c: Likewise.
28625 * stdio-common/putw.c: Likewise.
28626 * stdio-common/scanf.c: Likewise.
28627 * stdio-common/sprintf.c: Likewise.
28628 * stdio-common/tmpfile.c: Likewise.
28629 * stdio-common/vfprintf.c: Likewise.
28630 * stdio-common/vfscanf.c: Likewise.
28631 * stdlib/strfmon_l.c: Likewise.
28632 * sunrpc/openchild.c: Likewise.
28633 * sunrpc/xdr_stdio.c: Likewise.
28634 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28635 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28637 2012-05-24 Roland McGrath <roland@hack.frob.com>
28639 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28641 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28642 in the third column, to generate for the shared library an IFUNC
28643 that uses _dl_vdso_vsym.
28644 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28645 * Makeconfig (object-suffixes-noshared): New variable.
28647 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28648 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28649 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28650 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28653 * include/sys/time.h (__gettimeofday): Remove macro.
28654 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28655 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28657 (__gettimeofday): Add libc_hidden_def.
28658 (gettimeofday): Add libc_hidden_weak.
28659 * sysdeps/mach/gettimeofday.c: Likewise.
28660 * sysdeps/posix/gettimeofday.c: Likewise.
28661 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28662 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28664 (__gettimeofday_internal): Remove strong_alias.
28665 (__gettimeofday): Add libc_hidden_def.
28666 (gettimeofday): Add libc_hidden_weak.
28667 * sysdeps/unix/syscalls.list (gettimeofday):
28668 Remove __gettimeofday_internal alias.
28670 2012-05-24 Daniel Jacobowitz <drow@false.org>
28671 H.J. Lu <hongjiu.lu@intel.com>
28674 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28675 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28676 (largebin_index_32_big): New.
28677 (largebin_index): Use it for 16-byte alignment.
28678 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28679 correction with front_misalign.
28681 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28709 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28710 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28712 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28716 * math/libm-test.inc (exp_test): Add test from bug 14036.
28717 (pow_test): Add test from bug 10846.
28719 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28721 (special_function): Do not include flags in test name.
28722 (parse_args): Likewise.
28723 * sysdeps/i386/fpu/libm-test-ulps: Update.
28724 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28725 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28726 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28729 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28731 * math/libm-test.inc ("Philosophy"): Update comment about
28733 (UNDERFLOW_EXCEPTION): New macro.
28734 (UNDERFLOW_EXCEPTION_OK): Likewise.
28735 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28736 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28737 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28738 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28739 (INVALID_EXCEPTION_OK): Update value.
28740 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28741 (OVERFLOW_EXCEPTION_OK): Likewise.
28742 (IGNORE_ZERO_INF_SIGN): Likewise.
28743 (test_exceptions): Handle underflow exceptions.
28744 (acos_test): Update for underflow exception expectations.
28745 (cexp_test): Likewise.
28746 (clog_test): Likewise.
28747 (clog10_test): Likewise.
28748 (csqrt_test): Likewise.
28749 (ctan_test): Likewise.
28750 (ctanh_test): Likewise.
28751 (exp_test): Likewise.
28752 (exp10_test): Likewise.
28753 (exp2_test): Likewise.
28754 (expm1_test): Likewise.
28755 (fma_test): Likewise.
28756 (j0_test): Likewise.
28757 (jn_test): Likewise.
28758 (nexttoward_test): Likewise.
28759 (pow_test): Likewise.
28760 (scalbn_test): Likewise.
28761 (scalbln_test): Likewise.
28762 (tan_test): Likewise.
28763 (y1_test): Likewise.
28764 * sysdeps/i386/fpu/libm-test-ulps: Update.
28765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28767 2012-05-23 David S. Miller <davem@davemloft.net>
28769 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28770 (__libc_sigaction): Remove unused local variables.
28772 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28774 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28776 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28778 mktime: avoid signed integer overflow
28779 * time/mktime.c (__mktime_internal): Do not mishandle the case
28780 where diff == INT_MIN.
28782 mktime: simplify computation of average
28783 * time/mktime.c (ranged_convert): Use new time_t_avg function
28784 instead of rolling our own (probably-slower) code.
28786 mktime: do not assume signed right shift propagates sign bit
28787 * time/mktime.c (isdst_differ): New static function.
28788 (__mktime_internal): No need to normalize tm_isdst now.
28789 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28792 mktime: merge another wrapv change from gnulib
28793 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28794 from some compilers.
28796 mktime: remove incorrect attempt at unusual arithmetics
28797 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28798 The code didn't really work on such machines anyway.
28799 (TYPE_MINIMUM): Assume two's complement.
28800 (twos_complement_arithmetic): Verify that long_int and time_t
28801 are two's complement (or unsigned, in the latter case).
28803 mktime: check signed shifts on long_int and time_t, too
28804 * time/mktime.c (SHR): Check that shifts work as desired
28805 on the types long_int and time_t too, as SHR is used on
28808 mktime: do not assume 'long' is wide enough
28809 * time/mktime.c (verify): Move decl up.
28810 (long_int): New type.
28811 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28812 to remove assumption in the code that 'long' is wide enough to
28813 store year values. This assumption is not true on x32 and on
28814 some non-glibc platforms.
28816 mktime: merge wrapv change from gnulib
28817 * time/mktime.c (WRAPV): New macro.
28818 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28819 (guess_time_tm, __mktime_internal): Do not assume that signed
28820 integer overflow wraps around; modern compilers generate code
28821 where this assumption is no longer valid.
28823 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28825 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28826 Replace "jmp L(pseudo_end)" with "ret".
28827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28830 2012-05-23 Andreas Jaeger <aj@suse.de>
28832 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28833 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28835 2012-05-23 Andreas Jaeger <aj@suse.de>
28836 Maximilian Attems <max@stro.at>
28838 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28841 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28843 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28844 code so that pseudo_end is just ret and the stack pointer is
28845 correct also for static library in error case.
28847 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28849 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28850 move to syscalls.list.
28851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28856 * manual/install.texi (Running make install): Do not mention Linux
28857 kernel version for which pt_chown is not needed.
28858 (Linux): Do not mention problems with nscd with 2.0 kernels.
28859 * INSTALL: Regenerated.
28861 2012-05-23 Andreas Jaeger <aj@suse.de>
28863 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28864 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28866 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28867 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28868 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28870 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28871 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28872 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28875 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28876 * sysdeps/unix/sysv/linux/bits/in.h
28877 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28879 2012-05-22 Roland McGrath <roland@hack.frob.com>
28881 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28882 (PREPARE_VERSION): Just use assert instead, it will be elided
28883 under [NDEBUG] anyway.
28885 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28887 * sysdeps/unix/sysv/linux/Makefile: Include
28888 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28889 (sysdep_routines): Remove sysctl.
28890 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28891 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28892 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28893 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28894 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28896 2012-05-22 Andreas Jaeger <aj@suse.de>
28898 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28899 that pseudo_end is just ret and the stack pointer is correct also
28900 for static library in error case.
28902 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28905 * nss/nsswitch.c (defconfig_entries): New variable.
28906 (__nss_database_lookup): Don't leak defconfig entries.
28907 (nss_parse_service_list): Don't leak on error paths.
28908 (free_database_entries): New function.
28909 (free_defconfig): New function.
28910 (free_mem): Move common code to free_database_entries.
28912 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28914 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28916 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28918 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28919 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28922 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28923 (INTERNAL_SYSCALL_TYPES): Likewise.
28924 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28925 (LOAD_REGS_TYPES_[1-6]): Likewise.
28926 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28927 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28929 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28931 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28932 copysignl for GLIBC_2_0.
28933 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28934 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28935 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28936 logbl for GLIBC_2_0.
28937 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28938 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28940 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28942 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28943 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28945 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28948 * time/mktime.c: Update copyright years.
28950 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28952 mktime: merge comment-quoting-style change from gnulib
28953 * time/mktime.c: Quote 'like this' in comments.
28954 The GNU coding standards suggest that we no longer quote `like this',
28955 as "`" and "'" are typically rendered asymmetrically nowadays.
28956 The typical gnulib style is to quote 'like this' when quoting
28957 code, and "like this" when quoting English.
28959 * time/mktime.c (compile-command): Add "-I.".
28961 mktime: merge mktime-internal.h change from gnulib
28962 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28964 mktime: merge time_r change from gnulib
28965 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28967 mktime: merge DEBUG change from gnulib
28968 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28969 case system <time.h> has a #define.
28971 mktime: merge <sys/types.h> change from gnulib
28972 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28973 since <time.t> is now guaranteed to define time_t.
28975 mktime: merge HAVE_CONFIG_H change from gnulib
28976 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28978 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28983 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28985 (struct rusage): Use anonymous union to pad each field to
28988 2012-05-21 David S. Miller <davem@davemloft.net>
28990 * Makefules (o-iterator): Remove .s cases.
28991 (compile-command.s): Delete.
28992 (COMPILE.s): Delete.
28993 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28995 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28997 * configure.in (libc_cv_predef_stack_protector): Only consider
28998 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28999 * configure: Regenerated.
29001 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29004 New macro. Use R*LP on int and pointer.
29005 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29006 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29007 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29008 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29010 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29011 [__WORDSIZE_TIME64_COMPAT32] instead of
29012 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29013 (struct utmp): Likewise.
29014 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29015 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29017 (__WORDSIZE_TIME64_COMPAT32): This.
29018 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29019 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29020 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29021 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29022 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29023 (__WORDSIZE_TIME64_COMPAT32): New macro.
29025 2012-05-21 Andreas Jaeger <aj@suse.de>
29027 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29028 only if [SHARED]. Add prototype for __wcschr_ia32.
29030 2012-05-21 Roland McGrath <roland@hack.frob.com>
29032 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29033 of %rbp unmolested in the jmp_buf while mangling the low bits.
29034 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29035 unmolested high bits of %rbp while demangling the low bits.
29036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29038 2012-05-21 Andreas Jaeger <aj@suse.de>
29040 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29041 * sunrpc/svc_simple.c: Use it for registerrpc.
29042 * sunrpc/xcrypt.c: Use it for passwd2des.
29044 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29046 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29048 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29049 Don't define if [__SYSCALL_WORDSIZE != 32].
29050 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29053 2012-05-21 Bruno Haible <bruno@clisp.org>
29054 Andreas Jaeger <aj@suse.de>
29056 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29057 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29058 inptr and inend for must_buffer_ch.
29059 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29060 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29061 * stdio-common/Makefile (tests): Remove bug15.
29062 (bug15-ENV): Remove macro.
29063 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29066 2012-05-19 Andreas Jaeger <aj@suse.de>
29067 Roland McGrath <roland@hack.frob.com>
29069 * manual/contrib.texi: Completely rewritten. It contains now an
29070 alphabetical list of contributors and their contributions.
29072 2012-05-21 Richard Henderson <rth@twiddle.net>
29074 * misc/getauxval.c (__getauxval): Use unsigned long int.
29075 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29076 (getauxval): Use unsigned long int.
29078 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29080 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29082 2012-05-21 Roland McGrath <roland@hack.frob.com>
29084 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29085 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29086 __alignof__ (long double).
29088 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29092 2012-05-20 Richard Henderson <rth@twiddle.net>
29094 * misc/getauxval.c: New file.
29095 * misc/sys/auxv.h: New file.
29096 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29097 (routines): Add getauxval.
29098 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29099 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29100 * elf/dl-sysdep.c (_dl_auxv): Remove.
29101 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29102 * elf/dl-support.c (_dl_auxv): New variable.
29103 (_dl_aux_init): Initialize it.
29104 * manual/startup.texi (Auxiliary Vector): New node.
29105 * sysdeps/generic/bits/hwcap.h: New file.
29106 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29107 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29108 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29109 * sysdeps/sparc/sysdep.h: ... here. Include it.
29110 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29111 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29117 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29123 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29127 2012-05-19 David S. Miller <davem@davemloft.net>
29129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29131 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29134 * math/s_ccosh.c: Include <float.h>
29135 (__ccosh): Avoid internal overflow calculating sinh and cosh
29136 values before multiplying by sin and cos values.
29137 * math/s_ccoshf.c: Likewise.
29138 * math/s_ccoshl.c: Likewise.
29139 * math/s_csin.c: Likewise.
29140 * math/s_csinf.c: Likewise.
29141 * math/s_csinl.c: Likewise.
29142 * math/s_csinh.c: Likewise.
29143 * math/s_csinhf.c: Likewise.
29144 * math/s_csinhl.c: Likewise.
29145 * math/libm-test.inc (ccos_test): Add more tests.
29146 (ccosh_test): Likewise.
29147 (csin_test): Likewise.
29148 (csinh_test): Likewise.
29149 * sysdeps/i386/fpu/libm-test-ulps: Update.
29150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29152 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29154 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29155 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29157 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29159 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29161 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29162 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29163 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29164 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29165 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29166 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29167 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29168 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29169 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29170 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29171 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29172 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29173 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29174 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29175 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29176 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29177 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29178 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29179 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29180 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29181 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29182 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29183 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29184 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29185 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29186 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29187 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29188 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29189 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29190 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29191 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29193 2012-05-18 Andreas Jaeger <aj@suse.de>
29195 * csu/.gitignore: Delete.
29197 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29199 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29200 (timex): Use __syscall_slong_t.
29202 2012-05-18 Andreas Jaeger <aj@suse.de>
29203 Carlos O'Donell <carlos_odonell@mentor.com>
29205 * manual/install.texi (Configuring and compiling): Update
29206 description about files modified in the source directory.
29207 * INSTALL: Regenerated.
29209 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29211 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29212 value. Use "or" to set return value to -1.
29213 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29214 negate return value.
29216 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29218 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29219 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29220 failure if the compiler has Graphite support disabled.
29221 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29223 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29224 (CFLAGS-memmove.c): Likewise.
29225 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29228 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29230 * sysdeps/x86_64/x32/_itoa.h: New file.
29232 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29233 getdents system call only if kernel and user dirents have the
29234 same d_ino and d_off.
29236 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29237 LLONG_MAX != LONG_MAX.
29238 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29239 (_fitoa_word): Likewise.
29241 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29244 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29245 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29247 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29248 include <bits/wordsize.h>. Check __x86_64__ instead of
29250 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29251 if __x86_64__ is defined. Use anonymous union on fpstate.
29253 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29256 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29258 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29259 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29260 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29261 Refer to _rtld_local_ro instead of _rtld_global_ro.
29262 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29264 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29266 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29268 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29269 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29270 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29272 * sysdeps/powerpc/powerpc32/dl-machine.c
29273 (__elf_machine_runtime_setup) [PROF]: Don't reference
29276 2012-05-18 Andreas Jaeger <aj@suse.de>
29278 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29279 function only available for GCCs before 3.4 since GCC 3.4
29280 introduced a builtin.
29282 (llrintf): Likewise.
29283 (llrint): Likewise.
29290 (nearbyint): Likewise.
29291 (nearbyintf): Likewise.
29295 (floorf): Likewise.
29297 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29299 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29300 on both fields and cast pointer to __syscall_ulong_t.
29302 * bits/types.h (__fsword_t): New type.
29303 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29304 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29306 (__FSWORD_T_TYPE): Likewise.
29307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29308 (__FSWORD_T_TYPE): Likewise.
29309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29310 (__FSWORD_T_TYPE): Likewise.
29311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29312 (__FSWORD_T_TYPE): Likewise.
29313 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29314 __SWORD_TYPE with __fsword_t.
29315 (statfs64): Likewise.
29317 2012-05-17 David S. Miller <davem@davemloft.net>
29319 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29321 2012-05-17 Andreas Jaeger <aj@suse.de>
29323 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29326 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29328 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29330 2012-05-17 Andreas Jaeger <aj@suse.de>
29332 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29335 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29337 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29339 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29341 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29342 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29344 2012-05-17 Andreas Jaeger <aj@suse.de>
29345 Carlos O'Donell <carlos_odonell@mentor.com>
29348 * sysdeps/x86_64/multiarch/init-arch.h
29349 (bit_YMM_Usable): Rename to...
29350 (bit_AVX_Usable): ... this.
29351 (bit_FMA4_Usable): New macro.
29352 (bit_XMM_state): New macro.
29353 (bit_YMM_state): New macro.
29354 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29355 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29356 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29357 (CPUID_OSXSAVE): New macro.
29358 (CPUID_AVX): New macro.
29359 (CPUID_FMA4): New macro.
29360 (index_YMM_Usable): Rename to...
29361 (index_AVX_Usable): ... this.
29362 (HAS_AVX): Use HAS_ARCH_FEATURE.
29363 (HAS_FMA4): Likewise.
29364 (HAS_YMM_USABLE): Remove.
29365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29366 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29368 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29369 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29370 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29371 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29372 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29374 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29376 * math/libm-test.c: Support platforms without multiple rounding modes.
29377 * math/bug-nextafter.c: Support platforms without FP exceptions.
29378 * math/bug-nexttoward.c: Likewise.
29379 * math/test-fenv.c: Likewise.
29380 * math/test-misc.c: Likewise.
29381 * stdlib/bug-getcontext.c: Likewise.
29383 2012-05-17 Andreas Jaeger <aj@suse.de>
29385 * manual/examples/search.c (critter_cmp): Change signature to
29387 * manual/string.texi (Collation Functions): Likewise.
29389 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29391 * bits/types.h: Fold copyright years.
29392 * bits/typesizes.h: Likewise.
29393 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29394 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29395 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29396 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29397 * time/time.h: Likewise.
29399 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29402 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29403 in instead of returning them. Return void.
29404 (__libc_mallinfo): Accumulate over all arenas.
29405 (__malloc_stats): Adjust for change in int_mallinfo interface.
29407 2012-05-16 Roland McGrath <roland@hack.frob.com>
29410 * configure.in (NM): Add AC_CHECK_TOOL for it.
29411 (libc_extra_cflags): New substituted variable.
29412 Check for -fstack-protector being used implicitly.
29413 * configure: Regenerated.
29414 * config.make.in (config-extra-cflags): New variable,
29415 gets @libc_extra_cflags@.
29416 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29419 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29420 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29421 * configure: Regenerated.
29422 * config.make.in (CPPUNDEFS): New substituted variable.
29423 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29424 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29425 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29427 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29429 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29430 (mq_attr): Use __syscall_slong_t.
29432 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29434 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29435 Check __x86_64__ instead of __WORDSIZE.
29436 (_STAT_VER_LINUX): Likewise.
29437 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29438 __syscall_ulong_t and __syscall_slong_t.
29439 (stat64): Likewise.
29441 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29443 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29445 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29447 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29449 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29451 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29454 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29455 include <bits/wordsize.h>. Check __x86_64__ instead of
29457 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29459 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29461 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29462 include <bits/wordsize.h>. Check __x86_64__ instead of
29464 (user_regs_struct): Use "__extension__ unsigned long long"
29465 instead of "unsigned long" if __x86_64__ is defined.
29466 (user): Likewise. Pad after pointer field if __ILP32__ is
29469 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29471 * configure.in (makeinfo): Require version 4.5 or later. Allow
29473 * configure: Regenerated.
29474 * manual/install.texi (texinfo): Increase version requirement to
29476 * INSTALL: Regenerated.
29478 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29480 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29482 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29484 * sysdeps/x86_64/x32/ffs.c: New file.
29486 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29488 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29489 defined. Use __syscall_ulong_t.
29490 (shminfo): Use __syscall_ulong_t.
29491 (shm_info): Likewise.
29493 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29496 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29498 (msgqnum_t): Use __syscall_ulong_t.
29499 (msglen_t): Likewise.
29500 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29503 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29504 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29506 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29508 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29509 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29511 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29514 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29515 include <bits/wordsize.h>. Check __x86_64__ instead of
29518 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29519 "unsigned long long int" if __x86_64__ is defined.
29520 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29522 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29523 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29524 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29526 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29528 (GET_PC): Cast to uintptr_t first.
29529 (GET_FRAME): Likewise.
29530 (GET_STACK): Likewise.
29532 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29533 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29534 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29535 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29536 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29537 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29538 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29539 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29540 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29541 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29542 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29543 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29544 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29545 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29546 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29547 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29548 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29549 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29550 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29551 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29552 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29553 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29554 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29555 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29556 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29557 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29558 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29559 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29560 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29562 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29564 * Makerules (+depfiles): Also collect depfiles from .oS in
29566 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29567 .oS, $(libnldbl-routines)).
29569 * Makerules (native-compile-mkdep-flags): Define.
29570 * sunrpc/Makefile (extra-objs): Add $(addprefix
29571 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29572 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29573 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29574 calling $(make-target-directory).
29576 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29578 * bits/types.h (__snseconds_t): Removed.
29579 * time/time.h (struct timespec): Replace __snseconds_t with
29581 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29582 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29584 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29585 (__SNSECONDS_T_TYPE): Likewise.
29586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29587 (__SNSECONDS_T_TYPE): Likewise.
29588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29589 (__SNSECONDS_T_TYPE): Likewise.
29591 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29593 * sysdeps/mach/hurd/bits/typesizes.h
29594 (__SYSCALL_SLONG_TYPE): New macro.
29595 (__SYSCALL_ULONG_TYPE): Likewise.
29597 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29599 * bits/types.h (__syscall_slong_t): New type.
29600 (__syscall_ulong_t): Likewise.
29602 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29603 (__SYSCALL_ULONG_TYPE): Likewise.
29604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29605 (__SYSCALL_SLONG_TYPE): Likewise.
29606 (__SYSCALL_ULONG_TYPE): Likewise.
29607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29608 (__SYSCALL_SLONG_TYPE): Likewise.
29609 (__SYSCALL_ULONG_TYPE): Likewise.
29610 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29611 (__SYSCALL_SLONG_TYPE): Likewise.
29612 (__SYSCALL_ULONG_TYPE): Likewise.
29614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29616 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29617 Add sigaltstack-offsets.sym.
29618 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29619 <sigaltstack-offsets.h>.
29620 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29621 longjmp_msg pointer.
29622 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29623 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29625 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29627 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29629 * elf/stackguard-macros.h: Remove file.
29630 * sysdeps/generic/stackguard-macros.h: New file.
29631 * sysdeps/i386/stackguard-macros.h: Likewise.
29632 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29633 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29634 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29635 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29636 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29637 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29638 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29639 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29640 <elf/stackguard-macros.h>.
29643 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29644 __aligned__ in attribute.
29645 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29646 (gregset_t): Likewise.
29648 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29650 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29651 * sysdeps/x86_64/64/Implies-after: Here. New file.
29652 * sysdeps/x86_64/x32/Implies-after: New file.
29654 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29656 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29657 and access return value for _dl_profile_fixup. Use R10_LP to
29660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29662 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29664 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29666 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29667 * sysdeps/x86_64/x32/sysdep.h: New file.
29669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29671 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29672 * sysdeps/x86_64/setjmp.S: Likewise.
29674 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29676 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29677 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29678 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29679 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29680 remove unused global constant.
29682 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29684 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29685 include of <not-cancel.h>.
29687 2012-05-15 Roland McGrath <roland@hack.frob.com>
29689 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29691 2012-05-15 Jeff Law <law@redhat.com>
29692 Andreas Jaeger <aj@suse.de>
29695 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29697 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29698 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29699 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29700 code changing __hst_map_handle.map.
29702 2012-05-15 Roland McGrath <roland@hack.frob.com>
29704 * configure.in (sysnames): Look for Implies-before and Implies-after
29706 * configure: Regenerated.
29708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29710 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29711 8-byte data alignment with LP_SIZE alignment.
29713 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29715 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29718 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29720 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29722 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29724 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29725 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29726 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29728 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29730 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29732 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29733 (stackinfo_sub_sp): Likewise.
29735 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29737 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29742 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29745 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29747 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29750 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29752 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29756 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29757 into R11_LP and load __x86_64_shared_cache_size_half into
29760 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29762 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29765 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29773 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29774 powerpc32/power7/fpu/s_logb.c via #include.
29775 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29776 powerpc32/power7/fpu/s_logbf.c via #include.
29777 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29778 powerpc32/power7/fpu/s_logbl.c via #include.
29780 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29782 * README.libm: Remove file.
29784 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29786 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29787 count for x32. Use R*_LP and omit operand-size suffix.
29789 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29791 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29792 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29793 * sysdeps/x86_64/x32/shlib-versions: New file.
29795 2012-05-14 Roland McGrath <roland@hack.frob.com>
29797 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29798 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29799 Use _dl_fatal_printf instead.
29801 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29803 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29804 set if not set by the user. Do not allow for being unset.
29805 * sysdeps/unix/sysv/linux/configure: Regenerated.
29807 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29809 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29810 the `q' suffix from lea and replace .quad with ASM_ADDR.
29812 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29815 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29817 (PTR_DEMANGLE): Likewise.
29819 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29821 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29823 (ASM_ADDR): Likewise.
29824 (RAX_LP): Likewise.
29825 (RBP_LP): Likewise.
29826 (RBX_LP): Likewise.
29827 (RCX_LP): Likewise.
29828 (RDI_LP): Likewise.
29829 (RSI_LP): Likewise.
29830 (RSP_LP): Likewise.
29833 (R10_LP): Likewise.
29834 (R10_LP): Likewise.
29835 (R11_LP): Likewise.
29836 (R12_LP): Likewise.
29837 (R13_LP): Likewise.
29838 (R14_LP): Likewise.
29839 (R15_LP): Likewise.
29841 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29843 * sysdeps/x86_64/x32/dl-machine.h: New file.
29845 2012-05-14 Andreas Jaeger <aj@suse.de>
29847 * manual/Makefile (subdir): Remove export of subdir.
29848 (all): Remove target.
29849 (.PHONY): Remove all from list.
29850 (mkinstalldirs): Remove.
29851 (.PHONY): Remove installdirs from list.
29852 ($(inst_infodir)/libc.info): Use make-target-directory.
29853 (installdirs): Remove.
29854 (subdir_%): Remove.
29855 (glibc-targets): Remove.
29858 ($(objpfx)stubs ../po/manual.pot): Remove.
29859 ($(objpfx)stamp%): Remove.
29860 (make-target-directory): Remove.
29861 (subdir_install): Remove.
29862 (routines): Remove.
29869 * manual/.gitignore: Remove, it's not needed anymore.
29870 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29872 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29874 (texis): Renamed to $(objpfx)texis.
29875 (texis-path): New, contains path to generated files.
29876 (chapters.%): Use texis-path for complete path, add extra argument
29878 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29879 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29880 (summary,texi, stamp-summary): Use complete path of
29881 files. Generate files in build dir.
29882 (dir-add.texi): Build in build dir.
29883 (libm-err.texi,stamp-libm-err): Likewise.
29884 (version.texi, stamp-version): Likewise.
29885 (.%c.texi): Likewise.
29886 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29887 (mostlyclean): Remove target.
29888 (realclean): Remove target.
29889 (generated): Add new variable with contents from mostlyclean and
29890 realclean, remove entries duplicated in common-mostlyclean, add
29891 stamp-libm-err and stamp-version.
29892 (generated-dirs): Add libc directory.
29893 ($(inst_infodir)/libc.info): Install files from build dir.
29895 * manual/install.texi (Configuring and compiling): Adjust since
29896 the info files are not part of the tar ball anymore.
29898 2012-05-14 Andreas Jaeger <aj@suse.de>
29900 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29903 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29907 to 2.2.0 where earlier.
29908 * sysdeps/unix/sysv/linux/configure: Regenerated.
29909 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29910 Remove conditional code.
29911 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29912 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29913 Remove conditional code.
29914 [!__NR_lchown]: Likewise.
29915 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29916 [__NR_lchown]: Likewise.
29917 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29918 comment referencing __ASSUME_LCHOWN_SYSCALL.
29919 * sysdeps/unix/sysv/linux/i386/sigaction.c
29920 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29921 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29922 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29923 Remove conditional code.
29924 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29925 (__protocol_available): Remove #if 0 code.
29926 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29928 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29929 * sysdeps/unix/sysv/linux/kernel-features.h
29930 (__ASSUME_GETCWD_SYSCALL): Don't define.
29931 (__ASSUME_REALTIME_SIGNALS): Likewise.
29932 (__ASSUME_PREAD_SYSCALL): Likewise.
29933 (__ASSUME_PWRITE_SYSCALL): Likewise.
29934 (__ASSUME_POLL_SYSCALL): Likewise.
29935 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29936 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29938 (__ASSUME_SIOCGIFNAME): Don't define.
29939 (__ASSUME_MSG_NOSIGNAL): Likewise.
29940 (__ASSUME_SENDFILE): Define unconditionally.
29941 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29942 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29944 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29945 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29946 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29947 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29948 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29949 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29950 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29952 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29953 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29955 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29956 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29958 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29959 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29961 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29962 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29964 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29965 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29967 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29968 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29970 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29971 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29973 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29974 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29975 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29976 Remove conditional code.
29977 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29978 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29979 Remove conditional code.
29980 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29981 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29982 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29983 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29984 Remove conditional code.
29985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29986 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29987 Remove conditional code.
29988 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29989 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29990 Remove conditional code.
29991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29992 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29993 Remove conditional code.
29994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29995 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29996 Remove conditional code.
29997 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29998 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29999 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30000 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30001 * sysdeps/unix/sysv/linux/sigaction.c
30002 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30003 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30004 * sysdeps/unix/sysv/linux/sigpending.c
30005 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30006 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30007 * sysdeps/unix/sysv/linux/sigprocmask.c
30008 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30009 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30010 * sysdeps/unix/sysv/linux/sigsuspend.c
30011 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30012 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30013 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30014 (__libc_missing_rt_sigs): Remove.
30015 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30016 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30017 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30018 Remove conditional code.
30019 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30020 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30022 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30023 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30024 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30025 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30027 2012-05-14 Andreas Jaeger <aj@suse.de>
30029 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30030 it's not used in glibc.
30031 (__coshm1): Likewise.
30032 (__acosh1p): Likewise.
30035 * manual/string.texi (Copying and Concatenation): Add missing
30036 variable in concat example.
30037 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30039 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30042 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30043 __builtin_clzl with __builtin_clzll.
30045 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30048 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30051 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30053 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30054 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30055 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30056 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30058 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30060 * NEWS: Update ia64 info.
30062 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30064 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30067 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30069 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30070 * sysdeps/unix/syscalls.list (dup3): Likewise.
30071 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30072 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30074 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30076 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30077 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30079 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30081 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30083 (TLS_IE): Use mov/add instead of movq/addq to load thread
30085 (TLS_GD_PREFIX): New.
30088 2012-05-11 David S. Miller <davem@davemloft.net>
30090 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30091 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30092 (_FPU_SETCW): Likewise.
30094 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30096 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30097 is 32-byte aligned.
30099 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30102 * iconvdata/gb18030.c: Update tables.
30103 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30104 characters specially.
30105 (BODY for TO_LOOP): Add encoding of missing ranges.
30107 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30110 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30111 * sysdeps/mach/hurd/dup3.c: Likewise.
30112 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30113 * sysdeps/powerpc/memmove.c:: Likewise.
30115 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30117 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30118 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30120 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30122 * elf/elf.h (R_X86_64_RELATIVE64): New.
30123 (R_X86_64_NUM): Updated.
30124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30125 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30126 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30127 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30128 tst-quad1pie tst-quad2pie
30129 (modules-names): Add tst-quadmod1 tst-quadmod2.
30130 ($(objpfx)tst-quad1): New dependency.
30131 ($(objpfx)tst-quad2): Likewise.
30132 ($(objpfx)tst-quad1pie): Likewise.
30133 ($(objpfx)tst-quad2pie): Likewise.
30134 * sysdeps/x86_64/tst-quad1.c: New file.
30135 * sysdeps/x86_64/tst-quad1pie.c: New file.
30136 * sysdeps/x86_64/tst-quad2.c: Likewise.
30137 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30138 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30139 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30140 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30141 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30143 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30145 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30146 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30147 * streams/stropts.h (t_scalar_t): Define type.
30149 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30150 (_PATH_PRESERVE): Set to "/var/lib".
30151 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30153 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30156 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30157 if __dir_mkfile succeeded.
30159 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30160 checking for _hurd_dtablesize. Unlock it right after having
30161 finished _hurd_dtable allocation.
30163 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30165 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30166 * sysdeps/mach/hurd/configure: Regenerated.
30167 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30168 special-casing to...
30169 * sysdeps/gnu/configure.in: ... this new file.
30170 * sysdeps/unix/sysv/linux/configure: Regenerated.
30171 * sysdeps/gnu/configure: New generated file.
30173 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30174 for Linux: use nsec instead of usec, as well as:
30175 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30176 members of type struct timespec.
30177 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30179 (struct stat64): Likewise.
30180 (_STATBUF_ST_NSEC): New macro.
30181 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30183 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30184 __strtoul_internal rather than strtoul.
30186 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30188 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30191 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30193 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30194 which preserves existing values.
30195 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30197 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30199 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30200 TIMEOUT values. Return EINVAL for NFDS values either negative or
30201 greater than FD_SETSIZE.
30203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30205 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30206 allocated, call __vm_protect to finish enabling the existing space, and
30207 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30208 allocate the remainder.
30210 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30212 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30213 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30215 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30217 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30218 sysdeps/mach/hurd/readlink.c.
30220 * posix/tst-sysconf.c (posix_options): Only use
30221 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30222 _POSIX_SYNCHRONIZED_IO when they are defined
30223 * sysdeps/mach/hurd/bits/posix_opt.h:
30224 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30225 (_XOPEN_REALTIME): Undefine macro.
30226 (_XOPEN_REALTIME_THREADS): Undefine macro.
30227 (_XOPEN_SHM): Undefine macro.
30228 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30230 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30232 (_POSIX_ASYNC_IO): Undefine macro.
30233 (_POSIX_PRIORITIZED_IO): Undefine macro.
30234 (_POSIX_SPIN_LOCKS): Define macro to -1.
30236 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30237 SA_NODEFER, SA_RESETHAND.
30238 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30239 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30242 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30244 * elf/Makefile (pldd-modules): Define unconditionally.
30246 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30248 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30250 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30252 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30253 Return ENOENT when name is empty.
30254 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30256 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30258 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30260 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30262 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30264 Fix mlock in all cases except non-readable pages.
30265 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30266 instead of VM_PROT_ALL as parameter to __vm_wire function.
30268 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30269 (__mkdir): When path is `/', just fail with EEXIST.
30270 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30272 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30274 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30275 <sys/uio.h> (for writev).
30276 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30277 and <sys/param.h> (for MIN).
30279 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30281 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30282 REQUESTED_TIME. Properly set the remaining time and return EINTR
30285 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30287 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30288 Depend on against $(link-rpcuserlibs).
30290 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30292 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30293 (__libc_stack_end): Do not use attribute_relro.
30294 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30295 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30296 to libthread-provided value.
30297 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30300 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30303 * bits/libc-lock.h (__libc_once_get): New macro.
30304 * sysdeps/mach/bits/libc-lock.h: Likewise.
30305 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30306 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30307 instead of using implementation details.
30309 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30310 * libio/freopen.c: Likewise.
30311 * libio/freopen64.c: Likewise.
30312 * misc/syslog.c: Likewise.
30313 * nscd/connections.c: Likewise.
30314 * nscd/netgroupcache.c: Likewise.
30315 * sysdeps/posix/getcwd.c: Likewise.
30317 2012-05-10 Roland McGrath <roland@hack.frob.com>
30319 * math/w_ilogbf.c: Add #include <limits.h>.
30321 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30323 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30324 path instead of returning without unlocking.
30326 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30327 immediate-write ioctls.
30328 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30330 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30332 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30333 __builtin_frame_address instead of making assumptions about the
30334 location of the return address relative to DATA. Force early load of
30335 the return address.
30336 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30337 __builtin_frame_address.
30340 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30341 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30342 implement dup3 and do some further code clean-ups.
30343 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30344 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30346 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30348 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30350 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30351 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30352 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30353 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30354 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30357 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30358 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30359 when handler == SIG_ERR, not when handler != SIG_ERR.
30361 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30363 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30364 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30367 accept4 for GNU Hurd.
30368 * include/sys/socket.h (__libc_accept4): New prototype.
30369 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30370 to implement __libc_accept4.
30371 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30373 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30375 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30376 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30377 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30378 signal-defines.sym.
30380 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30382 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30384 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30386 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30387 assertion on O_CLOEXEC flag.
30388 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30389 * hurd/intern-fd.c: Likewise.
30390 * hurd/port2fd.c: Likewise.
30392 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30395 * bits/in.h (IPV6_PKTINFO): Define new macro.
30396 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30398 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30403 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30405 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30406 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30407 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30408 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30409 * math/libm-test.inc (logb_test) : Additional logb tests.
30411 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30412 Andreas Jaeger <aj@suse.de>
30414 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30415 * configure: Regenerated.
30416 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30417 * config.make.in (link-obsolete-rpc): New substituted variable.
30418 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30419 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30420 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30421 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30422 so that libc.a contains the symbols.
30423 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30424 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30425 * sunrpc/auth_none.c: Likewise.
30426 * sunrpc/auth_unix.c: Likewise.
30427 * sunrpc/authdes_prot.c: Likewise.
30428 * sunrpc/authuxprot.c: Likewise.
30429 * sunrpc/clnt_gen.c: Likewise.
30430 * sunrpc/clnt_perr.c: Likewise.
30431 * sunrpc/clnt_raw.c: Likewise.
30432 * sunrpc/clnt_simp.c: Likewise.
30433 * sunrpc/clnt_tcp.c: Likewise.
30434 * sunrpc/clnt_udp.c: Likewise.
30435 * sunrpc/clnt_unix.c: Likewise.
30436 * sunrpc/des_crypt.c: Likewise.
30437 * sunrpc/des_soft.c: Likewise.
30438 * sunrpc/get_myaddr.c: Likewise.
30439 * sunrpc/key_call.c: Likewise.
30440 * sunrpc/key_prot.c: Likewise.
30441 * sunrpc/netname.c: Likewise.
30442 * sunrpc/pm_getmaps.c: Likewise.
30443 * sunrpc/pm_getport.c: Likewise.
30444 * sunrpc/pmap_clnt.c: Likewise.
30445 * sunrpc/pmap_prot.c: Likewise.
30446 * sunrpc/pmap_prot2.c: Likewise.
30447 * sunrpc/pmap_rmt.c: Likewise.
30448 * sunrpc/publickey.c: Likewise.
30449 * sunrpc/rpc_cmsg.c: Likewise.
30450 * sunrpc/rpc_common.c: Likewise.
30451 * sunrpc/rpc_dtable.c: Likewise.
30452 * sunrpc/rpc_prot.c: Likewise.
30453 * sunrpc/rpc_thread.c: Likewise.
30454 * sunrpc/rtime.c: Likewise.
30455 * sunrpc/svc.c: Likewise.
30456 * sunrpc/svc_auth.c: Likewise.
30457 * sunrpc/svc_raw.c: Likewise.
30458 * sunrpc/svc_run.c: Likewise.
30459 * sunrpc/svc_tcp.c: Likewise.
30460 * sunrpc/svc_udp.c: Likewise.
30461 * sunrpc/svc_unix.c: Likewise.
30462 * sunrpc/svcauth_des.c: Likewise.
30463 * sunrpc/xcrypt.c: Likewise.
30464 * sunrpc/xdr.c: Likewise.
30465 * sunrpc/xdr_array.c: Likewise.
30466 * sunrpc/xdr_float.c: Likewise.
30467 * sunrpc/xdr_intXX_t.c: Likewise.
30468 * sunrpc/xdr_mem.c: Likewise.
30469 * sunrpc/xdr_rec.c: Likewise.
30470 * sunrpc/xdr_ref.c: Likewise.
30471 * sunrpc/xdr_sizeof.c: Likewise.
30472 * sunrpc/xdr_stdio.c: Likewise.
30474 2012-05-10 Roland McGrath <roland@hack.frob.com>
30476 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30477 change. Update copyright years.
30479 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30481 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30483 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30484 Joseph Myers <joseph@codesourcery.com>
30485 Paul Pluzhnikov <ppluzhnikov@google.com>
30488 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30490 [cross-compiling] (extra-libs): Likewise.
30491 [cross-compiling] (extra-libs-others): Likewise.
30492 [cross-compiling] (librpcsvc-routines): Likewise.
30493 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30494 [cross-compiling] (omit-deps): Likewise.
30495 (sunrpc-CPPFLAGS): New variable.
30496 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30497 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30498 (cross-rpcgen-objs): New variable.
30499 (extra-objs): Append $(cross-rpcgen-objs).
30500 ($(cross-rpcgen-objs)): New rule.
30501 ($(objpfx)cross-rpcgen): Likewise.
30502 (rpcgen-cmd): Define to use $(built-program-file). Expand
30504 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30505 ($(objpfx)x%.stmp): Likewise.
30506 * sunrpc/proto.h [IS_IN_build] (_): Define.
30507 [IS_IN_build] (_libc_intl_domainname): Likewise.
30509 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30512 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30513 and R_X86_64_TPOFF64.
30515 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30517 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30518 sysdeps/unix/sysv/syscalls.list.
30521 * sysdeps/unix/sysv/syscalls.list: Remove file.
30523 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30526 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30527 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30528 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30529 (__LC_IDENTIFICATION): Make these macros useful in #if
30530 expressions, as required by C99.
30532 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30534 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30535 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30538 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30540 * stdlib/longlong.h: Updated from GCC.
30542 2012-05-09 Andreas Jaeger <aj@suse.de>
30544 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30545 default is first entry.
30546 (run_mode): Set type.
30547 (main): Remove informal message about syslog.
30548 (options): Fix typo.
30551 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30554 (llrintf): Likewise.
30555 (llrint): Likewise.
30558 (nearbyint): Likewise.
30559 (nearbyintf): Likewise.
30561 2012-05-09 Andreas Jaeger <aj@suse.de>
30562 Pedro Alves <palves@redhat.com>
30564 * nscd/nscd.c (run_mode): Use enum.
30565 (main): Cleanup coding style issue.
30567 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30568 Andreas Jaeger <aj@suse.de>
30570 * nscd/nscd.c (go_background): Replaced with...
30571 (run_mode): ... this.
30572 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30573 (options): Add -F --foreground.
30574 (main): Implement it.
30575 (parse_opt): Parse it.
30577 2012-05-09 Andreas Jaeger <aj@suse.de>
30580 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30581 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30582 -Wconversion warning.
30583 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30586 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30588 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30590 (LC_ALL): Use macro-int-constant.
30591 (LC_COLLATE): Likewise.
30592 (LC_CTYPE): Likewise.
30593 (LC_MESSAGES): Likewise.
30594 (LC_MONETARY): Likewise.
30595 (LC_NUMERIC): Likewise.
30596 (LC_TIME): Likewise.
30597 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30598 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30599 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30600 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30602 [C99-based standards] (float_t): Expect type.
30603 [C99-based standards] (double_t): Expect type.
30604 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30606 [C99-based standards] (HUGE_VALL): Likewise.
30607 [C99-based standards] (INFINITY): Likewise.
30608 [C99-based standards] (NAN): Likewise.
30609 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30610 [C99-based standards] (FP_NAN): Likewise.
30611 [C99-based standards] (FP_NORMAL): Likewise.
30612 [C99-based standards] (FP_SUBNORMAL): Likewise.
30613 [C99-based standards] (FP_ZERO): Likewise.
30614 [C99-based standards] (FP_FAST_FMA): Use
30615 optional-macro-int-constant. Specify type. Require == 1.
30616 [C99-based standards] (FP_FAST_FMAF): Likewise.
30617 [C99-based standards] (FP_FAST_FMAL): Likewise.
30618 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30619 [C99-based standards] (FP_ILOGBNAN): Likewise.
30620 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30622 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30623 [C99-based standards] (math_errhandling): Specify type.
30624 [ISO99 || ISO11] (signgam): Do not allow.
30625 [non-C99-based standards] (copysignf): Do not allow.
30626 [non-C99-based standards] (exp2f): Likewise.
30627 [non-C99-based standards] (log2f): Likewise.
30628 [non-C99-based standards] (modff): Allow.
30629 [non-C99-based standards] (erff): Do not allow.
30630 [non-C99-based standards] (erfcf): Likewise.
30631 [non-C99-based standards] (gammaf): Likewise.
30632 [non-C99-based standards] (hypotf): Likewise.
30633 [non-C99-based standards] (j0f): Likewise.
30634 [non-C99-based standards] (j1f): Likewise.
30635 [non-C99-based standards] (jnf): Likewise.
30636 [non-C99-based standards] (lgammaf): Likewise.
30637 [non-C99-based standards] (tgammaf): Likewise.
30638 [non-C99-based standards] (y0f): Likewise.
30639 [non-C99-based standards] (y1f): Likewise.
30640 [non-C99-based standards] (ynf): Likewise.
30641 [non-C99-based standards] (isnanf): Likewise.
30642 [non-C99-based standards] (acoshf): Likewise.
30643 [non-C99-based standards] (asinhf): Likewise.
30644 [non-C99-based standards] (atanhf): Likewise.
30645 [non-C99-based standards] (cbrtf): Likewise.
30646 [non-C99-based standards] (expm1f): Likewise.
30647 [non-C99-based standards] (ilogbf): Likewise.
30648 [non-C99-based standards] (log1pf): Likewise.
30649 [non-C99-based standards] (logbf): Likewise.
30650 [non-C99-based standards] (nextafterf): Likewise.
30651 [non-C99-based standards] (remainderf): Likewise.
30652 [non-C99-based standards] (rintf): Likewise.
30653 [non-C99-based standards] (scalbf): Likewise.
30654 [non-C99-based standards] (copysignl): Likewise.
30655 [non-C99-based standards] (exp2l): Likewise.
30656 [non-C99-based standards] (log2l): Likewise.
30657 [non-C99-based standards] (modfl): Allow.
30658 [non-C99-based standards] (erfl): Do not allow.
30659 [non-C99-based standards] (erfcl): Likewise.
30660 [non-C99-based standards] (gammal): Likewise.
30661 [non-C99-based standards] (hypotl): Likewise.
30662 [non-C99-based standards] (j0l): Likewise.
30663 [non-C99-based standards] (j1l): Likewise.
30664 [non-C99-based standards] (jnl): Likewise.
30665 [non-C99-based standards] (lgammal): Likewise.
30666 [non-C99-based standards] (tgammal): Likewise.
30667 [non-C99-based standards] (y0l): Likewise.
30668 [non-C99-based standards] (y1l): Likewise.
30669 [non-C99-based standards] (ynl): Likewise.
30670 [non-C99-based standards] (isnanl): Likewise.
30671 [non-C99-based standards] (acoshl): Likewise.
30672 [non-C99-based standards] (asinhl): Likewise.
30673 [non-C99-based standards] (atanhl): Likewise.
30674 [non-C99-based standards] (cbrtl): Likewise.
30675 [non-C99-based standards] (expm1l): Likewise.
30676 [non-C99-based standards] (ilogbl): Likewise.
30677 [non-C99-based standards] (log1pl): Likewise.
30678 [non-C99-based standards] (logbl): Likewise.
30679 [non-C99-based standards] (nextafterl): Likewise.
30680 [non-C99-based standards] (remainderl): Likewise.
30681 [non-C99-based standards] (rintl): Likewise.
30682 [non-C99-based standards] (scalbl): Likewise.
30683 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30684 [non-C99-based standards] (FP_*): Do not allow.
30685 [C99-based standards] (FP_*): Change to
30686 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30687 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30689 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30690 (SIG_ERR): Likewise.
30691 [X/Open-based standards] (SIG_HOLD): Likewise.
30692 (SIG_IGN): Likewise.
30693 (SIGABRT): Use macro-int-constant. Specify type. Require
30695 (SIGFPE): Likewise.
30696 (SIGILL): Likewise.
30697 (SIGINT): Likewise.
30698 (SIGSEGV): Likewise.
30699 (SIGTER): Likewise.
30700 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30701 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30702 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30703 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30704 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30705 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30706 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30707 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30708 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30709 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30710 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30711 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30712 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30713 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30714 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30715 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30716 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30717 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30718 [X/Open-based standards] (SIGTRAP): Likewise.
30719 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30720 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30721 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30722 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30723 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30726 2012-05-08 Ian Wienand <ianw@vmware.com>
30729 * time/tzset.c (__tzset_parse_tz): Update default rules for
30730 daylight time changes in the Energy Policy Act of 2005.
30732 2012-05-09 Andreas Jaeger <aj@suse.de>
30735 * elf/ldconfig.c (parse_conf): Change string to make clear that
30736 ldconfig only issued a warning if ld.so.conf does not exist.
30738 2012-05-08 David S. Miller <davem@davemloft.net>
30740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30741 movxtod instead of popping the value on the stack.
30743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30745 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30747 * config.h.in: Add HAVE_ARM_PCS_VFP.
30749 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30752 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30753 checking but the checks are disabled for any reason.
30755 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30757 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30758 and ELF64_R_TYPE with ELFW(R_TYPE).
30760 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30762 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30763 (ulimit): Likewise.
30765 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30766 (settimeofday): Likewise.
30768 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30770 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30771 a struct th_u2 inside the union, and move tu_block/tu_code into
30772 a new th_u3 union of tu_block/tu_code inside of that. Move
30773 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30774 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30775 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30776 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30777 (th_stuff): Change to th_u1.tu_stuff.
30779 (th_msg): Change to th_u1.th_u2.tu_data.
30781 2012-05-07 David S. Miller <davem@davemloft.net>
30783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30786 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30787 (SETUP_PIC_REG): Use it.
30788 (SETUP_PIC_REG_LEAF): Use it.
30790 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30794 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30796 (EXPL_FINITE): Likewise.
30797 (FLDLOG): Likewise.
30798 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30799 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30801 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30803 (EXPL_FINITE): Likewise.
30804 (FLDLOG): Likewise.
30805 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30806 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30808 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30809 test of -max_value argument for long double.
30810 * sysdeps/i386/fpu/libm-test-ulps: Update.
30811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30813 2012-05-06 David S. Miller <davem@davemloft.net>
30815 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30816 quad soft-float symbols whose references which are compiler
30818 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30820 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30824 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30826 (EXPL_FINITE): Likewise.
30827 (FLDLOG): Likewise.
30830 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30831 Adjust comments for base varying.
30832 (__expl_finite): Change alias to EXPL_FINITE.
30833 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30835 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30836 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30837 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30838 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30839 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30841 (EXPL_FINITE): Likewise.
30842 (FLDLOG): Likewise.
30845 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30846 Adjust comments for base varying.
30847 (__expl_finite): Change alias to EXPL_FINITE.
30848 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30853 * math/libm-test.inc (check_float_internal): Correct ulp
30854 calculation for subnormal expected results.
30856 2012-05-06 Andreas Jaeger <aj@suse.de>
30858 * Makeconfig (+math-flags): New, set to -frounding-math.
30859 (+cflags): Add +math-flags so that all of glibc gets compiled with
30862 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30864 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30866 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30872 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30873 (__ieee754_expl): Allow for and saturate large arguments.
30874 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30875 (u_threshold): Likewise.
30876 (__exp): Call __ieee754_exp before checking for overflow and
30878 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30879 (u_threshold): Likewise.
30880 (__expf): Call __ieee754_expf before checking for overflow and
30882 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30883 (u_threshold): Likewise.
30884 (__expl): Call __ieee754_expl before checking for overflow and
30886 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30887 (__ieee754_expl): Allow for and saturate large arguments.
30888 * math/libm-test.inc (exp_test): Add another test. Do not allow
30889 missing overflow exception on overflow.
30890 (expm1_test): Do not allow missing overflow exception on overflow.
30892 * sysdeps/i386/fpu/e_expl.c: Move to ...
30893 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30894 rather than using inline asm.
30895 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30896 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30897 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30899 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30902 (signal): Likewise.
30906 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30908 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30909 sysdeps/unix/common/syscalls.list.
30910 (fchmod): Likewise.
30911 (fchown): Likewise.
30912 (ftruncate): Likewise.
30913 (getrusage): Likewise.
30914 (gettimeofday): Likewise.
30915 (setpgid): Likewise.
30916 (setregid): Likewise.
30917 (setreuid): Likewise.
30918 (sigaction): Likewise.
30919 (truncate): Likewise.
30920 (vhangup): Likewise.
30921 * sysdeps/unix/common/syscalls.list: Remove file.
30922 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30923 * sysdeps/unix/sysv/linux/Implies: Likewise.
30925 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30927 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30929 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30933 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30936 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30939 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30942 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30945 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30948 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30951 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30955 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30959 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30962 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30966 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30970 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30972 * sysdeps/unix/common/bits/dirent.h: Remove file.
30973 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30975 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30976 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30977 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30978 * sysdeps/unix/bsd/isatty.c: Likewise.
30979 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30980 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30981 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30983 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30986 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30987 long double comparison inaccuracies.
30988 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30991 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30993 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30994 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30996 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31000 nonzero digits before rounding a hex value.
31001 * stdlib/tst-strtod.c (tests): Add another test.
31003 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31005 * sysdeps/s390/fpu/libm-test-ulps: Update.
31007 2012-05-03 Andreas Jaeger <aj@suse.de>
31009 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31010 does not get optimized out.
31011 (malloc_opt_barrier): New.
31013 2012-05-03 Andreas Jaeger <aj@suse.de>
31014 Roland McGrath <roland@hack.frob.com>
31016 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31017 intermediate file deletion.
31018 (generated): Add .symlist files.
31020 2012-05-03 Joseph Myers <joseph@codesourcery.com>
31023 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31024 Redirect under this condition.
31025 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31026 [__USE_GNU] (__dprintf_chk): Not under this condition.
31027 [__USE_GNU] (__vdprintf_chk): Likewise.
31028 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31029 under this condition.
31030 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31031 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31032 [__USE_XOPEN2K8] (vdprintf): Likewise.
31033 [__USE_GNU] (__dprintf_chk): Not under this condition.
31034 [__USE_GNU] (__vdprintf_chk): Likewise.
31035 [__USE_GNU] (dprintf): Likewise.
31036 [__USE_GNU] (vdprintf): Likewise.
31038 2012-05-03 Roland McGrath <roland@hack.frob.com>
31040 * elf/Makefile (common-generated): Set this instead of generated for
31041 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31042 $(all-built-dso)-derived lists.
31044 2012-05-03 Andreas Jaeger <aj@suse.de>
31046 * sysdeps/i386/fpu/libm-test-ulps: Update.
31049 * FAQ.in: Likewise.
31050 * scripts/gen-FAQ.pl: Likewise.
31051 * manual/install.texi (Installation): Point to online location of
31053 * Makefile (files-for-dist): Remove FAQ.
31056 2012-05-02 Allan McRae <allan@archlinux.org>
31058 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31059 (LDFLAGS-reldepmod5.so): Likewise.
31060 (LDFLAGS-reldep6mod1.so): Likewise.
31061 (LDFLAGS-reldep6mod4.so): Likewise.
31062 (LDFLAGS-reldep8mod3.so): Likewise.
31063 (LDFLAGS-unload4mod1.so): Likewise.
31064 (LDFLAGS-unload4mod2.so): Likewise.
31065 (LDFLAGS-tst-initorder): Likewise.
31066 (LDFLAGS-tst-initordera2.so): Likewise.
31067 (LDFLAGS-tst-initordera3.so): Likewise.
31068 (LDFLAGS-tst-initordera4.so): Likewise.
31069 (LDFLAGS-tst-initorderb2.so): Likewise.
31070 (LDFLAGS-noload): Likewise.
31071 (LDFLAGS-next): Likewise.
31072 (LDFLAGS-order2mod1.so): Likewise.
31073 (LDFLAGS-order2mod2.so): Likewise.
31074 (LDFLAGS-tst-initorder2): Likewise.
31075 (LDFLAGS-tst-initorder2a.so): Likewise.
31076 (LDFLAGS-tst-initorder2b.so): Likewise.
31077 (LDFLAGS-tst-initorder2c.so): Likewise.
31078 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31080 2012-05-02 David S. Miller <davem@davemloft.net>
31082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31084 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31087 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31089 2012-05-02 Andreas Jaeger <aj@suse.de>
31091 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31092 since we manipulate rounding mode.
31093 (CPPFLAGS-test-idouble.c): Likewise.
31094 (CPPFLAGS-test-ifloat.c): Likewise.
31095 (CFLAGS-test-ldouble.c): Likewise.
31096 (CFLAGS-test-double.c): Likewise.
31097 (CFLAGS-test-float.c): Likewise.
31098 (CFLAGS-test-misc.c): Likewise.
31099 (CFLAGS-test-test-fenv.c): Likewise.
31101 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31105 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31106 comparisons to determine direction to adjust input.
31108 2012-05-01 Roland McGrath <roland@hack.frob.com>
31110 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31111 output to the target.
31113 * scripts/localplt.awk: New file.
31114 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31115 (check-localplt-CFLAGS): Variable removed.
31116 ($(all-built-dso:=.jmprel)): New static pattern rule.
31117 (generated): Add those targets.
31118 (localplt-built-dso): New variable.
31119 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31121 * elf/check-localplt.c: File removed.
31123 * scripts/check-execstack.awk: New file.
31124 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31125 (check-execstack-CFLAGS): Variable removed.
31126 ($(objpfx)check-execstack.h): Target removed.
31127 ($(objpfx)execstack-default): New target.
31128 (generated): Add that instead of check-execstack.h.
31129 ($(all-built-dso:=.phdr)): New static pattern rule.
31130 (generated): Add those targets.
31131 * elf/check-execstack.c: File removed.
31133 * scripts/check-textrel.awk: New file.
31134 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31135 (check-textrel-CFLAGS): Variable removed.
31136 (all-built-dso): Use := to define.o
31137 ($(all-built-dso:=.dyn)): New static pattern rule.
31138 (generated): Add those targets.
31139 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31140 * config.make.in (READELF): New substituted variable.
31141 * elf/check-textrel.c: File removed.
31143 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31145 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31147 * conform/data/ctype.h-data [C99-based standards] (isblank):
31149 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31150 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31151 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31152 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31153 Specify type. Require positive value.
31154 (EILSEQ): Likewise.
31155 (ERANGE): Likewise.
31156 [ISO || POSIX] (EILSEQ): Do not expect.
31157 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31158 Specify type. Require positive value.
31159 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31160 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31161 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31162 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31163 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31164 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31165 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31166 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31167 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31168 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31169 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31170 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31171 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31172 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31173 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31174 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31175 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31176 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31177 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31178 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31179 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31180 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31181 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31182 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31183 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31184 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31185 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31186 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31187 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31188 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31189 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31190 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31191 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31192 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31193 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31194 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31195 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31196 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31197 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31198 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31199 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31200 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31201 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31202 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31203 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31204 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31205 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31206 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31207 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31208 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31209 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31210 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31211 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31212 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31213 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31214 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31215 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31216 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31217 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31218 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31219 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31220 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31221 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31222 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31223 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31224 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31225 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31226 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31227 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31228 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31229 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31230 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31231 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31232 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31233 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31234 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31235 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31237 (FLT_ROUNDS): Expect as macro, not constant.
31238 (FLT_MANT_DIG): Use macro-int-constant.
31239 (DBL_MANT_DIG): Likewise.
31240 (LDBL_MANT_DIG): Likewise.
31241 (FLT_DIG): Likewise.
31242 (DBL_DIG): Likewise.
31243 (LDBL_DIG): Likewise.
31244 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31245 (DBL_MIN_EXP): Likewise.
31246 (LDBL_MIN_EXP): Likewise.
31247 (FLT_MAX_EXP): Use macro-int-constant.
31248 (DBL_MAX_EXP): Likewise.
31249 (LDBL_MAX_EXP): Likewise.
31250 (FLT_MAX_10_EXP): Likewise.
31251 (DBL_MAX_10_EXP): Likewise.
31252 (LDBL_MAX_10_EXP): Likewise.
31253 (FLT_MAX): Use macro-constant.
31254 (DBL_MAX): Likewise.
31255 (LDBL_MAX): Likewise.
31256 (FLT_EPSILON): Use macro-constant. Give upper bound.
31257 (DBL_EPSILON): Likewise.
31258 (LDBL_EPSILON): Likewise.
31259 (FLT_MIN): Likewise.
31260 (DBL_MIN): Likewise.
31261 (LDBL_MIN): Likewise.
31262 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31263 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31264 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31265 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31266 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31267 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31268 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31269 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31270 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31271 [ISO11] (FLT_TRUE_MIN): Likewise.
31272 [ISO11] (LDBL_TRUE_MIN): Likewise.
31273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31274 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31275 (SCHAR_MIN): Use macro-int-constant. Specify type.
31276 (SCHAR_MAX): Likewise.
31277 (UCHAR_MAX): Likewise.
31278 (CHAR_MIN): Likewise.
31279 (CHAR_MAX): Likewise.
31280 (MB_LEN_MAX): Use macro-int-constant.
31281 (SHRT_MIN): Use macro-int-constant. Specify type.
31282 (SHRT_MAX): Likewise.
31283 (USHRT_MAX): Likewise.
31284 (INT_MAX): Likewise.
31285 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31287 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31289 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31291 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31292 bound negative. Suffix upper bound with "L".
31293 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31295 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31297 [C99-based standards] (LLONG_MAX): Likewise.
31298 [C99-based standards] (ULLONG_MAX): Likewise.
31299 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31301 [ISO11] (max_align_t): Require type.
31302 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31304 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31305 from $CFLAGS, without defining away __attribute__ calls.
31306 (checknamespace): Use $CFLAGS_namespace.
31308 * conform/conformtest.pl (@keywords): Only include C99 keywords
31309 for standards based on C99 or C11.
31311 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31313 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31316 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31317 usability of symbols in #if.
31319 * conform/conformtest.pl: If macro or constant types start
31320 "promoted:", expect the symbol to be of the following type
31321 promoted by the integer promotions.
31323 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31324 in one place. Also handle "macro-constant".
31326 * conform/conformtest.pl: Only accept expected macro values with
31327 "==". Parse all "macro" lines in one place.
31328 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31330 * conform/conformtest.pl: Handle braced types on "constant" lines
31331 instead of handling "typed-constant".
31332 * conform/data/signal.h-data: Use "constant" instead of
31335 * conform/conformtest.pl: Handle "optional-" at start of lines in
31336 one place rather than duplicating several cases. Handle each
31337 format of "macro" line with initial "optional-".
31339 * conform/conformtest.pl: Only accept expected constant or
31340 optional-constant values with "==". Parse all "constant" lines in
31341 one place. Parse all "optional-constant" lines in one place.
31342 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31343 * conform/data/fmtmsg.h-data: Likewise.
31344 * conform/data/netinet/in.h-data: Likewise.
31345 * conform/data/tar.h-data: Likewise.
31346 * conform/data/limits.h-data: Use "==" form on "constant" and
31347 "optional-constant" lines.
31349 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31350 Use -std=c99 for XOPEN2K.
31351 (@knownproblems): Remove.
31352 (newtoken): Don't check %isknown.
31354 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31355 Do not expect macro.
31356 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31357 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31358 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31359 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31360 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31361 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31362 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31363 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31364 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31365 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31366 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31367 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31368 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31369 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31370 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31371 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31372 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31373 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31374 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31375 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31376 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31377 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31378 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31379 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31380 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31381 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31382 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31383 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31384 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31385 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31386 [XPG3] (acosh): Likewise.
31387 [XPG3] (asinh): Likewise.
31388 [XPG3] (atanh): Likewise.
31389 [XPG3] (cbrt): Likewise.
31390 [XPG3] (expm1): Likewise.
31391 [XPG3] (ilogb): Likewise.
31392 [XPG3] (log1p): Likewise.
31393 [XPG3] (logb): Likewise.
31394 [XPG3] (nextafter): Likewise.
31395 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31396 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31397 [XPG3] (remainder): Likewise.
31398 [XPG3] (rint): Likewise.
31399 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31400 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31401 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31402 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31403 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31404 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31405 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31406 [UNIX98 || XOPEN2K] (scalb): Expect.
31407 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31408 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31409 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31410 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31411 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31412 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31413 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31414 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31415 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31416 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31417 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31418 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31419 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31420 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31421 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31422 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31423 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31424 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31425 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31426 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31427 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31428 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31429 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31430 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31431 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31432 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31433 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31434 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31435 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31436 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31437 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31438 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31439 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31440 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31441 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31442 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31443 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31444 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31445 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31446 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31447 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31448 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31449 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31450 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31451 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31452 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31453 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31454 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31455 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31456 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31457 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31458 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31459 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31460 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31461 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31462 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31463 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31464 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31465 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31466 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31467 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31468 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31469 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31470 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31471 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31472 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31473 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31474 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31475 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31476 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31477 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31478 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31479 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31480 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31481 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31482 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31483 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31484 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31485 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31486 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31487 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31488 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31489 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31490 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31491 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31492 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31493 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31494 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31495 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31496 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31497 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31498 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31499 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31500 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31501 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31502 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31503 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31504 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31505 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31506 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31507 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31508 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31509 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31510 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31511 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31512 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31513 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31514 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31515 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31516 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31517 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31518 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31519 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31520 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31521 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31522 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31523 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31524 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31525 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31526 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31527 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31528 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31529 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31530 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31531 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31532 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31533 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31534 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31535 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31536 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31537 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31538 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31539 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31540 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31541 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31542 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31543 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31545 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31546 _XOPEN_SOURCE_EXTENDED for XPG4.
31548 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31550 * Makeconfig (localtime): Remove variable.
31551 (inst_localtime-file): Likewise.
31553 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31574 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31578 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31579 comparisons to determine direction to adjust input.
31580 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31581 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31582 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31584 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31588 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31589 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31591 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31593 * math/libm-test.inc (nexttoward_test): Add more tests.
31595 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31598 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31599 in version GLIBC_2.1, not GLIBC_2.0.
31600 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31603 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31606 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31608 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31609 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31610 * math/libm-test.inc (acos_test): Add more tests.
31611 (asin_test): Likewise.
31612 * sysdeps/i386/fpu/libm-test-ulps: Update.
31613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31616 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31618 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31619 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31620 * math/libm-test.inc (acos_test_tonearest): New function.
31621 (acos_test_towardzero): Likewise.
31622 (acos_test_downward): Likewise.
31623 (acos_test_upward): Likewise.
31624 (asin_test_tonearest): Likewise.
31625 (asin_test_towardzero): Likewise.
31626 (asin_test_downward): Likewise.
31627 (asin_test_upward): Likewise.
31628 (main): Call the new functions.
31629 * sysdeps/i386/fpu/libm-test-ulps: Update.
31630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31634 * math/e_exp10.c: Include <float.h>.
31635 (__ieee754_exp10): Handle underflow here rather than multiplying
31636 large negative argument by M_LN10.
31637 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31639 * math/e_exp10l.c: Include <float.h>.
31640 (__ieee754_exp10l): Handle underflow here rather than multiplying
31641 large negative argument by M_LN10l.
31642 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31643 spurious overflow exception on underflow.
31645 2012-04-29 Marek Polacek <polacek@redhat.com>
31647 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31648 (__fortify_function): New macro.
31649 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31650 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31651 __extern_always_inline.
31652 * libio/bits/stdio2.h: Likewise.
31653 * libio/bits/stdio.h: Likewise.
31654 * string/string.h: Likewise.
31655 * string/bits/string3.h: Likewise.
31656 * include/stdio.h: Likewise.
31657 * stdlib/bits/stdlib.h: Likewise.
31658 * stdlib/stdlib.h: Likewise.
31659 * rt/bits/mqueue2.h: Likewise.
31660 * rt/mqueue.h: Likewise.
31661 * posix/bits/unistd.h: Likewise.
31662 * posix/unistd.h: Likewise.
31663 * io/bits/poll2.h: Likewise.
31664 * io/bits/fcntl2.h: Likewise.
31665 * io/fcntl.h: Likewise.
31666 * io/sys/poll.h: Likewise.
31667 * misc/bits/syslog.h: Likewise.
31668 * misc/bits/syslog-ldbl.h: Likewise.
31669 * misc/sys/syslog.h: Likewise.
31670 * socket/bits/socket2.h: Likewise.
31671 * socket/sys/socket.h: Likewise.
31672 * debug/tst-chk1.c: Likewise.
31673 * wcsmbs/bits/wchar2.h: Likewise.
31674 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31675 * wcsmbs/wchar.h: Likewise.
31677 2012-04-29 Andreas Jaeger <aj@suse.de>
31679 * Makerules (tests): Remove enable-check-abi protection.
31680 (check-abi-warn): Remove.
31681 (check-abi-%): Remove check-abi-warn usage.
31683 * configure.in: Remove check-abi configure option.
31684 * configure: Regenerated.
31685 * config.make.in (enable-check-abi): Remove.
31687 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31690 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31691 double functions to double *_finite functions.
31694 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31695 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31697 * stdio-common/Makefile (tests): Add tst-sprintf3.
31698 * stdio-common/tst-sprintf3.c: New file.
31700 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31701 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31703 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31705 * conform/conformtest.pl: Remove duplicate typed-constant
31708 2012-04-28 David S. Miller <davem@davemloft.net>
31710 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31711 (check-abi-%): Remove AWK script prerequisite and explicit
31713 (check-abi): Rewrite to just diff the symlist with the abilist.
31714 (config-tls, config-abi-config): Delete, no longer used.
31715 (update-abi-%): Remove AWK script and explicit abilist directory.
31716 (update-abi): Rewrite to simply compare and conditionally copy the
31717 symlist and the sysdep abilist file. Remove update-abi-config
31719 * abilist/ld.abilist: Remove.
31720 * abilist/libBrokenLocale.abilist: Remove.
31721 * abilist/libanl.abilist: Remove.
31722 * abilist/libcrypt.abilist: Remove.
31723 * abilist/libdl.abilist: Remove.
31724 * abilist/librt.abilist: Remove.
31725 * abilist/libthread_db.abilist: Remove.
31726 * abilist/libutil.abilist: Remove.
31727 * scripts/extract-abilist.awk: Remove.
31728 * scripts/merge-abilist.awk: Remove.
31729 * sysdeps/generic/libcidn.abilist: New file.
31730 * sysdeps/generic/libnss_compat.abilist: New file.
31731 * sysdeps/generic/libnss_db.abilist: New file.
31732 * sysdeps/generic/libnss_dns.abilist: New file.
31733 * sysdeps/generic/libnss_files.abilist: New file.
31734 * sysdeps/generic/libnss_hesiod.abilist: New file.
31735 * sysdeps/generic/libnss_nis.abilist: New file.
31736 * sysdeps/generic/libnss_nisplus.abilist: New file.
31737 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31738 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31739 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31741 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31742 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31743 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31744 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31745 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31746 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31747 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31748 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31749 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31751 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31752 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31753 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31754 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31756 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31757 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31758 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31759 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31760 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31761 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31763 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31764 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31765 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31767 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31870 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31871 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31872 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31875 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31876 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31877 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31878 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31879 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31880 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31881 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31882 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31883 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31935 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31937 * conform/conformtest.pl: Fix typo in handling typed-constant from
31940 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31942 * README: Cut down references to pre-2.6 Linux kernels and
31943 Linuxthreads. Update lists of configurations in libc and ports
31944 and sort alphabetically. Say "or newer" with Linux kernel version
31947 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31949 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31952 * math/libm-test.inc (logb_test_downward): New test to expose
31953 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31956 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31959 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31961 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31962 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31964 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31966 * sysdeps/unix/i386/brk.S: Remove file.
31967 * sysdeps/unix/i386/dl-brk.S: Likewise.
31968 * sysdeps/unix/i386/pipe.S: Likewise.
31969 * sysdeps/unix/i386/sigreturn.S: Likewise.
31970 * sysdeps/unix/i386/syscall.S: Likewise.
31971 * sysdeps/unix/i386/vfork.S: Likewise.
31972 * sysdeps/unix/i386/wait.S: Likewise.
31974 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31975 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31977 * configure.in (arm*-none*): Do not allow without
31978 --enable-hacker-mode.
31979 (netbsd*): Remove case setting base_os.
31980 (386bsd*): Likewise.
31981 (freebsd*): Likewise.
31984 (sunos*): Likewise.
31985 (ultrix*): Likewise.
31986 (newsos*): Likewise.
31987 (dynix*): Likewise.
31993 (minix*): Likewise.
31994 (irix4*): Likewise.
31995 (irix6*): Likewise.
31996 (solaris[2-9]*): Likewise.
31998 * configure: Regenerated.
32000 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32003 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32004 overflow or cancellation in calculating denominator.
32005 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32006 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32007 down expression to avoid unexpected rounding in newer GCCs.
32008 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32010 2012-04-26 David S. Miller <davem@davemloft.net>
32012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32013 long-double compat symbols.
32014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32028 2012-04-25 David S. Miller <davem@davemloft.net>
32030 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32031 HWCAP_* values only after the memory barriers have been defined.
32032 (atomic_full_barrier): Define.
32033 (atomic_read_barrier): Define.
32034 (atomic_write_barrier): Define.
32036 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32038 * shlib-versions: Add libgcc_s version information.
32039 * sysdeps/generic/libgcc_s.h: Remove.
32040 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32042 * sysdeps/gnu/unwind-resume.c: Likewise.
32043 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32045 2012-04-25 David S. Miller <davem@davemloft.net>
32047 * sysdeps/unix/sparc/brk.S: Delete.
32048 * sysdeps/unix/sparc/dl-brk.S: Delete.
32049 * sysdeps/unix/sparc/pipe.S: Delete.
32050 * sysdeps/unix/sparc/sysdep.S: Delete.
32051 * sysdeps/unix/sparc/sysdep.h: Delete.
32052 * sysdeps/unix/sparc/vfork.S: Delete.
32053 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32054 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32055 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32056 (ret_ERRVAL, r0, r1, MOVE): Define.
32057 (JUMPTARGET): Remove.
32058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32059 sysdeps/unix/sparc/sysdep.h
32060 (ENTRY, END): Remove.
32061 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32063 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32065 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32066 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32069 * timezone/README: Update upstream location and email address for
32071 * timezone/zdump.c: Update from tzcode 2012b.
32072 * timezone/zic.c: Likewise.
32074 * configure.in (libc_cv_as_needed): Remove test.
32075 * configure: Regenerated.
32076 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32077 conditional definition.
32078 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32079 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32080 * config.make.in (have-as-needed): Remove variable.
32082 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32083 Paul Pluzhnikov <ppluzhnikov@google.com>
32085 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32088 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32090 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32091 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32092 * sysdeps/sh/strlen.S: Likewise.
32094 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32096 * sysdeps/unix/fork.S: Remove file.
32097 * sysdeps/unix/i386/fork.S: Likewise.
32098 * sysdeps/unix/sparc/fork.S: Likewise.
32100 * sysdeps/unix/system.c: Remove file.
32101 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32103 * sysdeps/unix/getegid.S: Remove file.
32104 * sysdeps/unix/geteuid.S: Likewise.
32106 2012-04-24 Roland McGrath <roland@hack.frob.com>
32108 * scripts/check-localplt.awk: New file.
32109 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32111 * scripts/data/localplt-generic.data: Add a comment.
32113 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32114 NODE when __dir_mkfile failed.
32115 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32116 Reported by Ludovic Courtès <ludo@gnu.org>.
32118 2012-04-24 Andreas Jaeger <aj@suse.de>
32120 * Makerules (common-clean): Also remove gen-as-const-headers
32123 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32125 * Makerules (native-compile): Do not change working directory for
32126 build. Use $(OUTPUT_OPTION) in command.
32127 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32129 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32132 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32133 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32134 * math/libm-test.inc (floor_test): Add more tests.
32135 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32137 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32139 * sysdeps/unix/getdents.c: Remove file.
32140 * sysdeps/unix/sysv/getdents.c: Likewise.
32141 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32143 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32144 sysdeps/unix/mman/syscalls.list.
32146 (mprotect): Likewise.
32148 (munmap): Likewise.
32149 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32150 * sysdeps/unix/mman/syscalls.list: Remove.
32151 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32153 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32154 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32155 * configure: Regenerated.
32156 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32157 $(libgcc_s_suffix).
32158 * config.make.in (libgcc_s_suffix): Remove variable.
32160 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32162 * sysdeps/unix/sysv/gethostname.c: Move to ...
32163 * sysdeps/posix/gethostname.c: ... here.
32165 * sysdeps/unix/execve.S: Remove file.
32167 * sysdeps/unix/_exit.S: Remove file.
32169 2012-04-23 Andreas Jaeger <aj@suse.de>
32172 * manual/Makefile: Remove make dist support, there's no
32173 need for a stand-alone documentation tar ball.
32174 (TEXI2DVI): Define always, it's not in Makeconfig.
32177 (edition): Removed.
32178 (glibc-doc-$(edition).tar): Removed
32182 (ETAGS): Remove, it's in Makeconfig.
32183 (move-if-change): Remove, it's in Makeconfig.
32185 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32188 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32189 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32190 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32191 (strtod_l, strtof_l, strtold_l): Remove __wur.
32192 It is not necessarily an error to ignore strtol's return value.
32193 One can reliably look at the stored endptr to decide whether
32194 the number had valid syntax.
32196 2012-04-21 Andreas Jaeger <aj@suse.de>
32199 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32201 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32203 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32204 * sysdeps/unix/sysv/Versions: Remove file.
32206 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32211 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32215 version from __vm86.
32217 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32219 * sysdeps/unix/common/lxstat.c: Remove file.
32220 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32222 * sysdeps/unix/sysv/Makefile: Remove file.
32224 * sysdeps/unix/sysv/direct.h: Remove file.
32226 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32227 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32228 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32229 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32230 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32231 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32232 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32234 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32236 * sysdeps/unix/xmknod.c: Remove file.
32237 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32239 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32241 * sysdeps/unix/sysv/i386/time.S: Remove file.
32243 * sysdeps/unix/fxstat.c: Remove file.
32244 * sysdeps/unix/xstat.c: Likewise.
32245 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32247 * sysdeps/unix/sysv/sigaction.c: Remove file.
32249 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32250 (sysdep_headers): Remove variable.
32251 [termio.h not in sysdep_headers] (generated): Likewise.
32252 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32253 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32254 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32255 * sysdeps/unix/sysv/tcflow.c: Likewise.
32256 * sysdeps/unix/sysv/tcflush.c: Likewise.
32257 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32258 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32259 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32260 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32261 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32263 * sysdeps/unix/siglist.c: Remove file.
32265 * sysdeps/unix/getppid.S: Remove file.
32267 * sysdeps/unix/mkdir.c: Remove file.
32268 * sysdeps/unix/rmdir.c: Likewise.
32270 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32272 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32274 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32275 errlist-compat value.
32277 2012-04-18 David S. Miller <davem@davemloft.net>
32279 * sysdeps/generic/memcopy.h (reg_char): Delete.
32280 * debug/strcat_chk.c: Use char, not reg_char.
32281 * debug/strcpy_chk.c: Likewise.
32282 * debug/strncat_chk.c: Likewise.
32283 * debug/strncpy_chk.c: Likewise.
32284 * string/memchr.c: Likewise.
32285 * string/memrchr.c: Likewise.
32286 * string/rawmemchr.c: Likewise.
32287 * string/strcat.c: Likewise.
32288 * string/strchr.c: Likewise.
32289 * string/strchrnul.c: Likewise.
32290 * string/strcmp.c: Likewise.
32291 * string/strcpy.c: Likewise.
32292 * string/strncat.c: Likewise.
32293 * string/strncmp.c: Likewise.
32294 * string/strncpy.c: Likewise.
32296 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32298 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32299 __builtin_memcopy is called when src and dest ranges are known to not
32302 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32304 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32305 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32306 fwd_align_merge macro call.
32307 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32308 bwd_align_merge macro call.
32309 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32311 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32313 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32314 bwd_align_merge macros.
32315 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32316 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32317 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32319 2012-04-18 David S. Miller <davem@davemloft.net>
32321 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32323 2012-04-18 Andreas Jaeger <aj@suse.de>
32326 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32327 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32328 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32330 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32331 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32332 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32334 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32335 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32336 Adjust for changed ldbl-128 files.
32338 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32339 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32340 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32342 2012-04-17 David S. Miller <davem@davemloft.net>
32344 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32346 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32348 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32349 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32350 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32351 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32352 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32353 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32355 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32358 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32359 * math/libm-test.inc: Add ilogb errno and exception tests.
32360 * math/w_ilogb.c: New file: ilogb wrapper.
32361 * math/w_ilogbf.c: New file: ilogbf wrapper.
32362 * math/w_ilogbl.c: New file: ilogbl wrapper.
32363 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32364 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32365 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32366 exception being thrown with 0.0 as argument.
32367 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32368 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32369 exception being thrown with 0.0 as argument.
32370 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32371 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32372 exception being thrown with 0.0 as argument.
32373 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32374 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32375 exception being thrown with 0.0 as argument.
32376 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32377 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32378 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32379 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32380 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32381 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32382 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32383 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32384 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32386 2012-04-17 Petr Baudis <pasky@ucw.cz>
32388 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32391 2012-04-16 Marek Polacek <polacek@redhat.com>
32393 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32395 2012-04-16 Marek Polacek <polacek@redhat.com>
32397 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32398 operands of fdivp instruction.
32400 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32402 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32403 * elf/tst-auditmod3b.c: Likewise.
32404 * elf/tst-auditmod4b.c: Likewise.
32405 * elf/tst-auditmod5b.c: Likewise.
32406 * elf/tst-auditmod6b.c: Likewise.
32407 * elf/tst-auditmod6c.c: Likewise.
32408 * elf/tst-auditmod7b.c: Likewise.
32409 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32410 * sysdeps/x86_64/preconfigure.in: Likewise.
32411 * sysdeps/x86_64/preconfigure: Regenerated.
32413 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32415 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32418 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32420 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32421 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32423 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32426 * locale/iso-639.def: Fix gl language name. Spotted by
32429 2012-04-12 Roland McGrath <roland@hack.frob.com>
32432 * libio/libio.h (__io_write_fn): Update comment.
32434 2012-04-12 Petr Baudis <pasky@ucw.cz>
32437 * stdio.texi (Hook Functions): The user provided writer function
32438 is not allowed to return -1.
32440 2012-04-11 David S. Miller <davem@davemloft.net>
32442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32444 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32446 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32447 Add a leading slash to rtkaio.
32449 2012-04-11 Jim Meyering <meyering@redhat.com>
32452 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32453 It is not necessarily an error to ignore fwrite's return
32454 value. One can reliably use ferror to test for errors after
32457 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32459 * bits/types.h (__snseconds_t): New type.
32460 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32462 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32463 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32464 (__SNSECONDS_T_TYPE): Likewise.
32465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32466 (__SNSECONDS_T_TYPE): Likewise.
32467 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32468 (__SNSECONDS_T_TYPE): Likewise.
32470 2012-04-10 Andreas Jaeger <aj@suse.de>
32473 * manual/time.texi (Processor Time): Return type of times is
32474 elapsed real time since an arbitrary point in the past.
32475 (CPU Time): Move CLK_TCK from here...
32476 (Processor Time): ...to here. Correct description.
32477 * manual/conf.texi (Constants for Sysconf): Correct description of
32480 2012-04-10 David S. Miller <davem@davemloft.net>
32483 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32484 where the is a gap between DT_REL(A) and DT_JMPREL.
32486 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32488 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32489 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32490 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32492 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32494 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32495 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32496 (dl_main): Handle --inhibit-cache.
32497 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32499 * elf/dl-load.c (_dl_map_object): Use it.
32500 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32502 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32505 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32506 (__ieee754_powl): Saturate large exponents rather than testing for
32507 overflow of y*log2(x).
32508 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32509 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32513 * math/s_ctan.c: Include <float.h>.
32514 (__ctan): Avoid internal overflow or cancellation in calculating
32516 * math/s_ctanf.c: Likewise.
32517 * math/s_ctanl.c: Likewise.
32518 * math/s_ctanh.c: Likewise.
32519 * math/s_ctanhf.c: Likewise.
32520 * math/s_ctanhl.c: Likewise.
32521 * math/libm-test.inc (ctan_test): Add more tests.
32522 (ctanh_test): Likewise.
32523 * sysdeps/i386/fpu/libm-test-ulps: Update.
32524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32526 2012-04-09 Andreas Jaeger <aj@suse.de>
32529 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32530 is an optional BSD extension.
32533 * manual/stdio.texi (Opening Streams): Document additional fopen
32536 2012-04-09 Roland McGrath <roland@hack.frob.com>
32538 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32539 %eax without telling the compiler.
32541 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32544 * manual/install.texi: Use sourceware.org.
32546 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32549 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32550 (__ieee754_pow): Generate overflow and underflow using huge*huge
32551 and tiny*tiny rather than just returning constant infinity or zero
32552 for large exponents.
32553 * math/libm-test.inc (pow_test): Require overflow exceptions for
32554 applicable cases of large exponents.
32557 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32558 (__ieee754_pow): Use iterative multiplication algorithm only for
32559 integer exponents with absolute value below 1024. Check for odd
32560 integer exponents when using algorithm for real exponents.
32561 * math/libm-test.inc (pow_test): Add more tests.
32562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32564 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32567 * math/libm-test.inc (exp_test): Do not allow overflow exception
32570 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32573 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32574 instead of __kernel_standard_f.
32576 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32578 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32579 * sysdeps/x86_64/memset_chk.S: Likewise.
32581 2012-04-08 Andreas Jaeger <aj@suse.de>
32584 * manual/startup.texi (Environment Access): Describe return value
32585 for putenv and setenv.
32588 * manual/filesys.texi (Directory Entries): Add description for
32592 * manual/filesys.texi (Directory Entries): Clarify that it's file
32593 system not operating system in the description of DT_UNKNOWN.
32596 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32598 2012-04-08 Stephen Compall <s11@member.fsf.org>
32601 * manual/llio.texi (Opening and Closing Files): Add cross
32602 reference to explain mode argument.
32604 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32606 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32607 * sysdeps/x86_64/memset_chk.S: Likewise.
32609 2012-04-07 David S. Miller <davem@davemloft.net>
32611 * elf/elf.h (R_SPARC_WDISP10): Define.
32612 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32614 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32615 R_SPARC_SIZE64 and R_SPARC_H34.
32617 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32619 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32620 conditions and remove no longer applicable assertion.
32622 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32624 * bits/byteswap.h: Include <features.h>.
32625 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32626 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32628 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32630 * bits/byteswap.h (__bswap_16): Removed.
32631 Include <bits/byteswap-16.h> to get __bswap_16.
32632 * sysdeps/i386/bits/byteswap.h: Likewise.
32633 * sysdeps/s390/bits/byteswap.h: Likewise.
32634 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32635 * bits/byteswap-16.h: New file.
32636 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32637 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32638 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32639 * string/Makefile (headers): Add bits/byteswap-16.h.
32641 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32644 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32646 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32647 * nss/tst-nss-static.c: New.
32649 2012-04-06 Robert Millan <rmh@gnu.org>
32652 * manual/llio.texi (File Position Primitive): lseek
32653 refers to WHENCE when it really means OFFSET.
32655 2012-04-06 Andreas Jaeger <aj@suse.de>
32657 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32658 strncmp declarations.
32660 * abilist/libc.abilist: Add __poll and __ppoll.
32662 2012-04-05 David S. Miller <davem@davemloft.net>
32664 * scripts/check-local-headers.sh: Accept a host triplet in the
32665 path matched by the exclude regexp.
32667 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32669 * sysdeps/powerpc/powerpc32/dl-machine.h
32670 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32671 * sysdeps/s390/s390-32/dl-machine.h
32672 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32673 * sysdeps/sparc/sparc32/dl-machine.h
32674 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32675 * sysdeps/sparc/sparc64/dl-machine.h
32676 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32678 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32680 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32681 undefined symbol errors.
32683 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32686 2012-04-05 Michael Matz <matz@suse.de>
32689 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32691 2012-04-05 Andreas Jaeger <aj@suse.de>
32694 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32697 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32699 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32700 which ROUND is no valid rounding mode.
32702 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32704 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32706 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32708 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32710 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32711 an exception using FPU order intentionally.
32713 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32715 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32716 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32717 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32718 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32720 2012-04-05 Simon Josefsson <simon@josefsson.org>
32723 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32724 EINVAL when BUFLEN is too smal.
32726 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32729 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32730 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32732 2012-04-03 Andreas Jaeger <aj@suse.de>
32735 * manual/setjmp.texi (System V contexts): Fix sentence.
32738 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32739 New macro for this case.
32740 [!__GNUC__] (__bswap_64): New inline function for this case.
32741 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32742 * bits/byteswap.h: Likewise.
32743 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32744 ull, guard with __GLIBC_HAVE_LONG_LONG.
32746 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32747 __GLIBC_HAVE_LONG_LONG.
32749 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32750 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32752 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32755 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32756 inptr and inend, rather than using last_ch.
32758 2012-04-02 David S. Miller <davem@davemloft.net>
32760 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32761 * stdio-common/printf-parse.h (read_int): Change return type to
32762 'int', return -1 on INT_MAX overflow.
32763 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32764 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32765 overflows INT_MAX. Check for overflow of in-format-string precision
32766 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32767 SIZE_MAX not INT_MAX for integer overflow test.
32768 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32769 skip the construct in the format string but do not record anything.
32770 * stdio-common/bug22.c: Adjust to test both width/prevision
32771 INT_MAX overflow as well as total length INT_MAX overflow. Check
32772 explicitly for proper errno values.
32774 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32776 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32778 * string/test-strcmp.c [! WIDE]: Likewise.
32779 * time/tst-mktime2.c: Likewise for INT_MAX.
32780 * string/test-string.h: #include <sys/param.h> for MIN.
32782 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32783 * sysdeps/i386/init-first.c (init): Likewise.
32784 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32785 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32786 * sysdeps/sh/init-first.c (init): Likewise.
32788 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32790 * po/ru.po: Update from translation team.
32791 * po/vi.po: Likewise.
32793 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32795 * resolv/nss_dns/dns-host.c: Merge copyright years.
32797 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32800 Optimize memcpy with prefetch if
32801 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32802 src, dst pointers have unequal 16 byte alignments.
32804 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32807 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32808 from a CNAME entry and return the minimum ttl for the query.
32809 (gaih_getanswer_slice): Likewise.
32811 2012-03-30 Jeff Law <law@redhat.com>
32813 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32815 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32816 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32818 * resolv/nss_dns/dns-host.c: Update copyright year.
32820 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32822 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32823 requests to save a system call. Fix check that all bytes are sent.
32825 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32826 comments for sendmmsg.
32828 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32831 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32832 with only 1 character between 0x0041 and 0x01b0.
32833 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32834 * wcsmbs/tst-mbsnrtowcs.c: New file.
32836 2012-03-29 David S. Miller <davem@davemloft.net>
32838 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32839 small copies by hand.
32841 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32844 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32845 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32848 2012-03-28 David S. Miller <davem@davemloft.net>
32850 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32851 that branches into memcpy.
32852 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32854 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32855 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32858 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32859 implementation too.
32860 * sysdeps/sparc/mempcpy.S: New file.
32862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32863 the IFUNC routine in the libc case.
32864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32866 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32867 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32868 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32869 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32870 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32871 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32872 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32873 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32875 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32876 loop to 256 bytes instead of 64 bytes and fix test signedness.
32878 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32879 * sysdeps/sparc/sparc32/Makefile: rather than here...
32880 * sysdeps/sparc/sparc64/Makefile: and here.
32882 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32884 * malloc/mallocbug.c: Avoid warnings about unused variables.
32886 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32889 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32890 in the right place. Discard and retry query if response is
32891 larger than input buffer size.
32893 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32898 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32899 x for large integer exponent.
32900 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32901 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32902 sign of result as needed afterwards.
32903 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32904 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32905 result for underflowing pow the same as for overflow.
32906 (__kernel_standard_l): Handle powl overflow and underflow here
32907 rather than calling __kernel_standard.
32908 * math/libm-test.inc (pow_test): Add more tests.
32923 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32924 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32925 (__kernel_standard_l): New function.
32926 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32928 * math/w_acosl.c (__acosl): Likewise.
32929 * math/w_asinl.c (__asinl): Likewise.
32930 * math/w_atan2l.c (__atan2l): Likewise.
32931 * math/w_atanhl.c (__atanhl): Likewise.
32932 * math/w_coshl.c (__coshl): Likewise.
32933 * math/w_exp10l.c (__exp10l): Likewise.
32934 * math/w_exp2l.c (__exp2l): Likewise.
32935 * math/w_fmodl.c (__fmodl): Likewise.
32936 * math/w_hypotl.c (__hypotl): Likewise.
32937 * math/w_j0l.c (__j0l, __y0l): Likewise.
32938 * math/w_j1l.c (__j1l, __y1l): Likewise.
32939 * math/w_jnl.c (__jnl, __ynl): Likewise.
32940 * math/w_lgammal.c (__lgammal): Likewise.
32941 * math/w_log10l.c (__log10l): Likewise.
32942 * math/w_log2l.c (__log2l): Likewise.
32943 * math/w_logl.c (__logl): Likewise.
32944 * math/w_powl.c (__powl): Likewise.
32945 * math/w_remainderl.c (__remainderl): Likewise.
32946 * math/w_scalbl.c (sysv_scalbl): Likewise.
32947 * math/w_sinhl.c (__sinhl): Likewise.
32948 * math/w_sqrtl.c (__sqrtl): Likewise.
32949 * math/w_tgammal.c (__tgammal): Likewise.
32950 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32951 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32952 * math/libm-test.inc (acos_test): Add more tests.
32953 (acosh_test): Likewise.
32954 (asin_test): Likewise.
32955 (atanh_test): Likewise.
32956 (exp_test): Likewise.
32957 (exp10_test): Likewise.
32958 (exp2_test): Likewise.
32959 (expm1_test): Likewise.
32960 (lgamma_test): Likewise.
32961 (log_test): Likewise.
32962 (log10_test): Likewise.
32963 (log1p_test): Likewise.
32964 (log2_test): Likewise.
32965 (pow_test): Do not allow some spurious overflow exceptions.
32966 (sqrt_test): Add more tests.
32967 (tgamma_test): Likewise.
32968 (y0_test): Likewise.
32969 (y1_test): Likewise.
32970 (yn_test): Likewise.
32972 2012-03-27 Anton Blanchard <anton@samba.org>
32974 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32976 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32977 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32978 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32980 2012-03-27 David S. Miller <davem@davemloft.net>
32982 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32984 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32985 have-as-vis3 check.
32987 2012-03-27 Andreas Jaeger <aj@suse.de>
32989 * sysdeps/x86_64/elf/configure.in: Moved to ...
32990 * sysdeps/x86_64/configure.in: ... here.
32991 * sysdeps/x86_64/elf/start.S: Moved to ...
32992 * sysdeps/x86_64/start.S: ... here.
32993 * sysdeps/x86_64/elf/configure: Delete.
32995 * sysdeps/x86_64/configure.in: Merge contents from
32996 sysdeps/i386/configure.in (without i686 check).
32998 * sysdeps/i386/elf/Versions: Merge into ...
32999 * sysdeps/i386/Versions: ... this.
33000 * sysdeps/i386/elf/Versions: Delete file.
33001 * sysdeps/i386/elf/start.S: Moved to ...
33002 * sysdeps/i386/start.S: ...here.
33003 * sysdeps/i386/elf/configure.in: Merge into...
33004 * sysdeps/i386/configure.in: ...here.
33005 * sysdeps/i386/elf/configure.in: Delete file.
33006 * sysdeps/i386/elf/configure: Delete file.
33008 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33009 * debug/backtracesyms.c: ... here.
33010 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33011 * debug/backtracesymsfd.c: ... here.
33012 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33013 * sysdeps/generic/ifunc-sel.h: ... here.
33015 * sysdeps/unix/i386/start.c: Delete file.
33016 * sysdeps/unix/sparc/start.c: Delete file.
33017 * sysdeps/unix/start.c: Delete file.
33019 * sysdeps/sh/elf/configure.in: Moved to ...
33020 * sysdeps/sh/configure.in: ... here.
33021 * sysdeps/sh/elf/start.S: Moved to ...
33022 * sysdeps/sh/start.S: ... here.
33023 * sysdeps/sh/elf/configure: Delete file.
33025 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33026 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33027 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33028 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33029 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33030 * sysdeps/powerpc/powerpc64/start.S: here.
33031 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33032 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33033 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33034 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33035 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33037 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33038 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33039 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33040 * sysdeps/powerpc/powerpc32/start.S: ... here.
33041 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33042 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33043 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33045 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33046 * sysdeps/powerpc/ifunc-sel.h: ... here.
33047 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33048 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33050 * sysdeps/sparc/elf/configure.in: Moved to ...
33051 * sysdeps/sparc/configure.in: ... here.
33052 * sysdeps/sparc/elf/configure: Delete file.
33053 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33054 * sysdeps/sparc/sparc32/start.S: ... here.
33055 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33056 * sysdeps/sparc/sparc64/start.S: ... here.
33057 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33058 * sysdeps/sparc/sparc32/Makefile: ... this.
33059 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33060 * sysdeps/sparc/sparc64/Makefile: ... this.
33062 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33063 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33064 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33065 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33066 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33067 * sysdeps/s390/s390-32/setjmp.S: ... here.
33068 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33069 * sysdeps/s390/s390-32/configure.in: ... here.
33070 * sysdeps/s390/s390-32/elf/configure: Delete file.
33071 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33072 * sysdeps/s390/s390-32/start.S: ... here.
33074 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33075 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33076 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33077 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33078 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33079 * sysdeps/s390/s390-64/setjmp.S: ... here.
33080 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33081 * sysdeps/s390/s390-64/configure.in: ... here
33082 * sysdeps/s390/s390-64/elf/configure: Delete file.
33083 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33084 * sysdeps/s390/s390-64/start.S: ... here.
33085 * sysdeps/s390/s390-64/elf/configure: Delete.
33087 * configure.in: Remove support for elf directories in sysdeps.
33089 * configure: Regenerated.
33090 * sysdeps/i386/configure: Regenerated.
33091 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33092 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33093 * sysdeps/s390/s390-32/configure: Regenerated.
33094 * sysdeps/s390/s390-64/configure: Regenerated.
33095 * sysdeps/sh/configure: Regenerated.
33096 * sysdeps/sparc/configure: Regenerated.
33097 * sysdeps/x86_64/configure: Regenerated.
33099 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33103 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33104 denormal result into account.
33106 2012-03-25 Roland McGrath <roland@hack.frob.com>
33108 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33109 Reported by Allan McRae <allan@archlinux.org>.
33111 2012-03-23 Jeff Law <law@redhat.com>
33113 * nss/getnssent.c (__nss_getent): Fix typo.
33115 2012-03-23 David S. Miller <davem@davemloft.net>
33117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33119 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33121 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33122 to pad to uint64_t for each field.
33123 (dl_tls_index): Replace unsigned long with uint64_t.
33125 2012-03-23 Daniel Jacobowitz <dmj@google.com>
33126 Paul Pluzhnikov <ppluzhnikov@google.com>
33129 * grp/Makefile (otherlibs): Don't set it.
33130 * inet/Makefile (otherlibs): Likewise.
33131 * login/Makefile (otherlibs): Likewise.
33132 * nscd/Makefile (otherlibs): Likewise.
33133 * posix/Makefile (otherlibs): Likewise.
33134 * pwd/Makefile (otherlibs): Likewise.
33135 * rt/Makefile (otherlibs): Likewise.
33136 * sunrpc/Makefile (otherlibs): Likewise.
33137 * nss/Makefile (otherlibs): Likewise.
33138 Add libnss_files to routines and static-only-routines.
33139 ($(objpfx)getent): Remove rule.
33140 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33141 static-only-routines.
33143 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33146 * math/s_cexp.c: Include <float.h>.
33147 (__cexp): Handle exp result overflowing not necessarily
33148 overflowing both real and imaginary parts of result.
33149 * math/s_cexpf.c: Likewise.
33150 * math/s_cexpl.c: Likewise.
33151 * math/libm-test.inc (cexp_test): Add more tests.
33152 * sysdeps/i386/fpu/libm-test-ulps: Update.
33153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33155 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33157 * include/link.h (ELFW): New macro.
33158 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33159 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33161 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33163 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33166 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33168 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33170 (struct La_x32_retval): Likewise.
33172 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33174 * sysdeps/x86_64/preconfigure.in: New file.
33175 * sysdeps/x86_64/preconfigure: New generated file.
33177 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33180 * math/e_exp2l.c: Include <float.h>.
33181 (__ieee754_exp2l): Handle overflow and underflow cases
33182 separately. Only pass fractional part of argument to
33184 * math/libm-test.inc (exp2_test): Add more tests.
33186 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33187 negating x to take absolute value.
33188 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33190 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33191 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33193 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33194 computing low part if x was negated.
33195 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33197 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33199 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33200 la_x32_gnu_pltexit.
33201 (pltexit): Cast int_retval to ptrdiff_t.
33202 * elf/tst-auditmod3b.c: Likewise.
33203 * elf/tst-auditmod4b.c: Likewise.
33204 * elf/tst-auditmod5b.c: Likewise.
33205 * elf/tst-auditmod6b.c: Likewise.
33206 * elf/tst-auditmod6c.c: Likewise.
33207 * elf/tst-auditmod7b.c: Likewise.
33209 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33210 and x32_gnu_pltexit.
33212 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33213 __ELF_NATIVE_CLASS.
33214 (La_x32_regs): New macro.
33215 (La_x32_retval): Likewise.
33216 (la_x32_gnu_pltenter): New function prototype.
33217 (la_x32_gnu_pltexit): Likewise.
33219 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33226 * configure.in (libc_cv_cc_nofma): Check for option to disable
33227 generation of FMA instructions.
33228 * configure: Regenerate.
33229 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33230 * sysdeps/ieee754/dbl-64/Makefile: New file.
33231 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33232 Remove brandred-fma4.
33233 (CFLAGS-brandred-fma4.c): Remove.
33234 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33235 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33237 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33240 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33242 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33243 LLONG_MAX != LONG_MAX.
33244 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33245 (_fitoa_word): Likewise.
33246 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33247 LLONG_MAX != LONG_MAX.
33248 * stdio-common/_itowa.h: Include <_itoa.h>.
33249 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33250 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33251 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33252 only if not defined.
33253 (_ITOA_WORD_TYPE): Likewise.
33254 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33255 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33257 2012-03-21 David S. Miller <davem@davemloft.net>
33259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33261 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33263 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33264 of x86_64 when setting libc_cv_slibdir, libdir and
33266 * sysdeps/unix/sysv/linux/configure: Regenerated.
33268 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33270 * manual/lang.texi (Old Varargs): Remove section.
33271 (How Variadic): Update menu.
33272 (va_start): Do not mention varargs.h.
33274 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33275 Joseph Myers <joseph@codesourcery.com>
33277 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33279 * configure: Regenerated.
33281 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33283 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33284 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33287 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33290 * Makefile (files-for-dist): Remove NOTES.
33291 (NOTES): Remove rule.
33292 * README: Don't refer to NOTES.
33293 * manual/creature.texi: Don't include macros.texi.
33294 * manual/intro.texi (creature.texi): Remove comment referring to
33297 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33298 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33299 * configure: Regenerated.
33300 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33301 LIBC_TRY_CC_OPTION.
33302 (libc_cv_as_i686): Likewise.
33303 (libc_cv_cc_avx): Likewise.
33304 (libc_cv_cc_sse2avx): Likewise.
33305 (libc_cv_cc_fma4): Likewise.
33306 (libc_cv_cc_novzeroupper): Likewise.
33307 * sysdeps/i386/configure: Regenerated.
33310 * sysdeps/i386/fpu/s_cexp.S: Remove.
33311 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33312 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33313 * math/libm-test.inc (cexp_test): Add more tests.
33314 * sysdeps/i386/fpu/libm-test-ulps: Update.
33315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33317 2012-03-21 Allan McRae <allan@archlinux.org>
33319 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33321 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33324 * math/w_exp2.c: Do not include <float.h>.
33325 (o_threshold, u_threshold): Remove.
33326 (__exp2): Calculate result before checking finiteness and calling
33328 * math/w_exp2f.c: Likewise.
33329 * math/w_exp2l.c: Likewise.
33330 * math/libm-test.inc (exp2_test): Require overflow exception for
33334 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33335 range of signed 64-bit integers before using fistpll. Remove
33336 checks for whether integers fit in mantissa bits.
33337 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33338 the range of signed 32-bit integers before using fistpl. Remove
33339 checks for whether integers fit in mantissa bits.
33340 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33341 (__ieee754_powl): Test for y outside the range of signed 64-bit
33342 integers before using fistpll. Reduce 64-bit values to 63-bit
33344 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33345 divide-by-zero is raised for zero to large negative powers.
33346 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33347 (__ieee754_powl): Test for y outside the range of signed 64-bit
33348 integers before using fistpll. Reduce 64-bit values to 63-bit
33350 * math/libm-test.inc (pow_test): Add more tests.
33352 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33354 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33355 <stdio-common/_itoa.h>.
33356 * debug/segfault.c: Likewise.
33357 * elf/dl-cache.c: Likewise.
33358 * elf/dl-minimal.c: Likewise.
33359 * elf/dl-misc.c: Likewise.
33360 * elf/dl-sysdep.c: Likewise.
33361 * elf/dl-version.c: Likewise.
33362 * elf/rtld.c: Likewise.
33363 * hurd/hurdsock.c: Likewise.
33364 * hurd/lookup-retry.c: Likewise.
33365 * malloc/malloc.c: Likewise.
33366 * malloc/mtrace.c: Likewise.
33367 * nscd/nscd_getgr_r.c: Likewise.
33368 * nscd/nscd_getpw_r.c: Likewise.
33369 * nscd/nscd_getserv_r.c: Likewise.
33370 * posix/getopt_init.c: Likewise.
33371 * posix/wordexp.c: Likewise.
33372 * stdio-common/_itoa.c: Likewise.
33373 * stdio-common/printf_fphex.c: Likewise.
33374 * stdio-common/vfprintf.c: Likewise.
33375 * string/_strerror.c: Likewise.
33376 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33377 * sysdeps/i386/i686/hp-timing.h: Likewise.
33378 * sysdeps/mach/_strerror.c: Likewise.
33379 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33380 * sysdeps/mach/hurd/sethostid.c: Likewise.
33381 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33382 * sysdeps/mach/xpg-strerror.c: Likewise.
33383 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33384 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33385 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33386 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33387 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33388 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33389 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33390 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33391 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33392 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33393 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33394 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33395 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33396 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33397 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33398 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33399 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33400 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33401 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33402 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33403 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33405 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33407 * stdio-common/_itoa.h: Moved to ...
33408 * sysdeps/generic/_itoa.h: Here.
33410 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33412 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33413 instead of "_itoa.h" and "_itowa.h".
33414 * stdio-common/vfprintf.: Likewise.
33416 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33418 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33420 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33421 (__signbit): Likwise.
33422 (llrintf): Likwise.
33425 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33427 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33430 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33432 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33433 OVERFLOW_EXCEPTION_OK.
33434 * math/libm-test.inc ("Philosophy"): Update comment about
33436 (OVERFLOW_EXCEPTION): Define.
33437 (OVERFLOW_EXCEPTION_OK): Likewise.
33438 (INVALID_EXCEPTION_OK): Renumber.
33439 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33440 (IGNORE_ZERO_INF_SIGN): Likewise.
33441 (test_exceptions): Handle FE_OVERFLOW.
33442 (exp10_test): Expect overflow exceptions.
33443 (exp2_test): Likewise.
33444 (expm1_test): Likewise.
33445 (nextafter_test): Likewise.
33446 (pow_test): Likewise.
33447 (scalbn_test): Likewise.
33448 (scalbln_test): Likewise.
33450 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33452 * sysdeps/x86_64/bits/atomic.h
33453 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33455 (atomic_exchange_acq): Likewise.
33456 (__arch_exchange_and_add_body): Likewise.
33457 (__arch_add_body): Likewise.
33458 (atomic_add_negative): Likewise.
33459 (atomic_add_zero): Likewise.
33461 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33463 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33464 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33466 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33468 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33469 Check __x86_64__ instead of __WORDSIZE.
33471 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33473 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33475 2012-03-19 David S. Miller <davem@davemloft.net>
33477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33479 * sysdeps/sparc/fpu/fenv_private.h: New file.
33480 * sysdeps/sparc/fpu/math_private.h: Use it.
33481 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33483 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33484 (libc_feholdexcept_setroundl): Remove.
33485 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33487 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33488 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33490 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33492 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33493 int64_t instead of long int.
33494 (INSERT_WORDS64): Likwise.
33496 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33498 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33499 _Unwind_GetCFA return to _Unwind_Ptr first.
33501 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33504 * math/s_clog.c: Include <float.h>.
33505 (__clog): Scale large or subnormal inputs.
33506 * math/s_clogf.c: Likewise.
33507 * math/s_clogl.c: Likewise.
33508 * math/s_clog10.c: Include <float.h>.
33509 (M_LOG10_2): Define.
33510 (__clog10): Scale large or subnormal inputs.
33511 * math/s_clog10f.c: Likewise.
33512 * math/s_clog10l.c: Likewise.
33513 * math/libm-test.inc (clog_test): Add more tests.
33514 (clog10_test): Likewise.
33515 * sysdeps/i386/fpu/libm-test-ulps: Update.
33516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33519 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33521 * math/libm-test.inc (atan2_test): Add another test.
33523 * Makerules (common-objdir-compile): Remove.
33524 * sysdeps/unix/Makefile (config-generated): Do not add
33525 $(unix-generated) to variable.
33526 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33527 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33529 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33531 [generic bits/local_lim.h] (before-compile): Do not append to
33533 [generic bits/local_lim.h] (common-generated): Likewise.
33534 [generic sys/param.h] (before-compile): Do not append to variable.
33535 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33536 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33537 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33538 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33540 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33541 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33542 [generic sys/param.h] ($(addprefix
33543 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33544 [generic sys/param.h] (common-generated): Do not append to
33546 [generic sys/param.h] (sysdep_headers): Likewise.
33547 [generic bits/errno.h] (before-compile): Do not append to
33549 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33551 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33552 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33553 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33554 [generic bits/errno.h] (common-generated): Do not append to
33556 [generic bits/ioctls.h] (before-compile): Do not append to
33558 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33560 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33561 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33562 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33564 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33565 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33566 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33567 [generic bits/ioctls.h] (common-generated): Do not append to
33569 [generic sys/syscall.h] (syscall.h): Remove variable.
33570 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33572 [generic sys/syscall.h] (before-compile): Do not append to
33574 [generic sys/syscall.h] (common-generated): Likewise.
33575 * sysdeps/unix/errnos-tmpl.c: Remove file.
33576 * sysdeps/unix/errnos.awk: Likewise.
33577 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33578 * sysdeps/unix/ioctls.awk: Likewise.
33579 * sysdeps/unix/mk-local_lim.c: Likewise.
33580 * sysdeps/unix/snarf-ioctls: Likewise.
33582 2012-03-19 Richard Henderson <rth@twiddle.net>
33584 * sysdeps/i386/fpu/fenv_private.h: New file.
33585 * sysdeps/i386/fpu/math_private.h: Use it.
33586 (math_opt_barrier, math_force_eval): Remove.
33587 (libc_feholdexcept_setround_53bit): Remove.
33588 (libc_feupdateenv_53bit): Remove.
33589 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33590 (math_opt_barrier, math_force_eval): Remove.
33591 (libc_feholdexcept): Remove.
33592 (libc_feholdexcept_setround): Remove.
33593 (libc_fetestexcept, libc_fesetenv): Remove.
33594 (libc_feupdateenv_test): Remove.
33595 (libc_feupdateenv, libc_feholdsetround): Remove.
33596 (libc_feresetround): Remove.
33598 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33599 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33601 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33602 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33603 (libc_feupdateenv_testl): New.
33604 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33605 (libc_feupdateenv_testf): New.
33606 (libc_feupdateenv): Use libc_feupdateenv_test.
33607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33608 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33610 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33611 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33612 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33613 (libc_feresetround_noex): New.
33614 (libc_feresetround_noexf): New.
33615 (libc_feresetround_noexl): New.
33616 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33617 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33618 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33619 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33621 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33622 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33624 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33625 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33626 SET_RESTORE_ROUND_NOEX.
33627 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33628 SET_RESTORE_ROUND_NOEXF.
33629 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33630 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33631 (libc_feholdsetroundf): New.
33632 (libc_feresetround, libc_feresetroundf): New.
33634 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33635 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33636 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33638 * sysdeps/generic/math_private.h: Include <fenv.h>.
33639 (default_libc_feholdexcept): New.
33640 (default_libc_feholdexcept_setround): New.
33641 (default_libc_fesetenv, default_libc_feupdateenv): New.
33642 (libc_feholdexcept): Only define if undefined.
33643 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33644 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33645 (libc_feholdexcept_setroundl): Likewise.
33646 (libc_feholdexcept_setround_53bit): Likewise.
33647 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33648 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33649 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33650 (libc_feupdateenv_53bit): Likewise.
33651 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33652 (libc_feholdexcept): Convert from macro to inline function.
33653 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33654 (libc_fesetenv, libc_feupdateenv): Likewise.
33656 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33657 not previously defined.
33658 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33659 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33660 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33661 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33662 * sysdeps/ieee754/flt-32/math_private.h: New file.
33663 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33664 math_private.h below SET_FLOAT_WORD.
33665 (__isnan, __isinf_ns, __finite): Remove.
33666 (__isnanf, __isinf_nsf, __finitef): Remove.
33668 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33672 2012-03-17 David S. Miller <davem@davemloft.net>
33675 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33678 2012-03-16 David S. Miller <davem@davemloft.net>
33680 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33684 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33686 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33687 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33688 sysdep_routines when subdir is sysvipc.
33689 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33690 __getshmlba helper.
33692 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33694 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33696 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33699 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33701 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33702 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33703 (__lround): Renamed to ...
33704 (__llround): This. Replace long int with long long int.
33705 Define lround functions as aliases of llround functions.
33706 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33708 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33710 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33711 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33712 adresses to uintptr_t. Replace "long int" and "unsigned long
33713 int" with "greg_t" on va_arg.
33715 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33717 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33718 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33720 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33721 Move e_machine check before EI_CLASS check. Handle x32
33722 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33723 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33724 SKIP_EM_IA_64 and include
33725 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33727 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33728 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33729 (add_system_dir): New macro.
33731 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33732 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33734 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33745 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33747 * math/w_j0f.c (j0f): Likewise.
33749 * math/w_j0l.c (__j0l): Likewise.
33751 * math/w_j1.c (j1): Likewise.
33753 * math/w_j1f.c (j1f): Likewise.
33755 * math/w_j1l.c (__j1l): Likewise.
33757 * math/w_jn.c (jn): Likewise.
33759 * math/w_jnf.c (jnf): Likewise.
33761 * math/w_jnl.c (__jnl): Likewise.
33763 * math/libm-test.inc (j0_test): Add more tests.
33764 (j1_test): Likewise.
33765 (jn_test): Likewise. Add trailing semicolon to existing test.
33766 (y0_test): Likewise.
33767 (y1_test): Likewise.
33768 * sysdeps/i386/fpu/libm-test-ulps: Update.
33769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33773 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33774 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33775 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33776 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33777 (__tanl): Set errno for infinite argument.
33778 * sysdeps/i386/fpu/mptan.c: Remove.
33779 * sysdeps/i386/fpu/s_tan.S: Likewise.
33780 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33781 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33782 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33783 * math/libm-test.inc (tan_test): Add more tests and enable more
33784 tests for double and long double.
33785 * sysdeps/i386/fpu/libm-test-ulps: Update.
33786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33788 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33790 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33791 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33793 2012-03-16 Roland McGrath <roland@hack.frob.com>
33795 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33796 * configure.in: Use it for both main tree and add-ons.
33797 * configure: Regenerated.
33799 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33801 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33803 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33805 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33809 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33810 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33815 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33816 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33817 != 0 for prec == 2.
33818 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33819 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33820 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33821 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33822 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33823 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33824 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33825 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33826 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33827 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33828 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33829 * math/libm-test.inc (cos_test): Add more tests and enable more
33830 tests for long double.
33831 (sin_test): Likewise.
33832 (sincos_test): Likewise.
33833 * sysdeps/i386/fpu/libm-test-ulps: Update.
33834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33836 2012-03-16 David S. Miller <davem@davemloft.net>
33838 * sysdeps/sparc/fpu/math_private.h: New file.
33840 2012-03-15 David S. Miller <davem@davemloft.net>
33842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33852 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33856 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33857 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33859 * sysdeps/sparc/sparc-ifunc.h: New file.
33860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33898 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33899 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33900 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33901 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33903 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33905 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33907 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33911 2012-03-15 Andreas Jaeger <aj@suse.de>
33914 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33915 ieee754/flt-32 implementation for sin, cos and sincos.
33916 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33917 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33918 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33919 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33920 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33921 ieee754/flt-32 implementation for tan.
33923 * math/libm-test.inc (cos_test): Enable some large input tests for
33925 (sin_test): Likewise.
33926 (sincos_test): Likewise.
33927 (tan_test): Add tests for large input.
33929 * sysdeps/i386/fpu/libm-test-ulps: Update.
33931 2012-03-15 Andreas Jaeger <aj@suse.de>
33934 * math/libm-test.inc (cos_test): Add more test cases.
33935 (sin_test): Likewise.
33936 (sincos_test): Likewise.
33938 2012-03-15 Andreas Jaeger <aj@suse.de>
33941 * math/libm-test.inc (cos_test): Add a test case for large input
33943 (sin_test): Likewise.
33944 (sincos_test): Likewise.
33946 2012-03-15 Andreas Jaeger <aj@suse.de>
33947 Joseph Myers <joseph@codesourcery.com>
33950 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33951 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33952 * sysdeps/i386/fpu/branred.c: Likewise.
33953 * sysdeps/i386/fpu/dosincos.c: Likewise.
33954 * sysdeps/i386/fpu/mpa.c: Likewise.
33955 * sysdeps/i386/fpu/s_cos.S: Likewise.
33956 * sysdeps/i386/fpu/s_sin.S: Likewise.
33957 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33958 * sysdeps/i386/fpu/sincos32.c: Likewise.
33960 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33962 (libc_feupdateenv_53bit): Define.
33963 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33965 (libc_feupdateenv_53bit): Define.
33967 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33968 53 bit (without extend i386 double precision).
33970 * math/libm-test.inc (sincos_test): Add tests for large input.
33974 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33976 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33980 2012-03-15 David S. Miller <davem@davemloft.net>
33982 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33983 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33984 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33985 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34010 fmin/fmax sysdep routines.
34011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34013 2012-03-14 David S. Miller <davem@davemloft.net>
34015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34022 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34087 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34092 * sysdeps/sparc/configure.in: New file.
34093 * sysdeps/sparc/configure: Generate.
34094 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34095 * configure: Regenerate.
34096 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34097 * config.make.in (have-as-vis3): New.
34098 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34099 available use -Av9d instead of -Av9a.
34100 * sysdeps/sparc/sparc64/Makefile: Likewise.
34101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34110 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34116 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34117 fzeros/fnegs to load 0x80000000 into a float register instead of
34119 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34121 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34125 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34126 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34127 ($(inst_includedir)/bits/syscall.h): Remove rule.
34128 ($(objpfx)bits/syscall.d): Include instead of
34129 $(objpfx)syscall-list.d.
34130 (generated): Change syscall-list.h and syscall-list.d to
34131 bits/syscall.h and bits/syscall.d.
34133 2012-03-14 Roland McGrath <roland@hack.frob.com>
34136 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34138 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34141 * math/s_csqrt.c: Include <float.h>.
34142 (__csqrt): Scale large or subnormal inputs.
34143 * math/s_csqrtf.c: Likewise.
34144 * math/s_csqrtl.c: Likewise.
34145 * math/libm-test.inc (csqrt_test): Add more tests.
34146 * sysdeps/i386/fpu/libm-test-ulps: Update.
34147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34150 * math/libm-test.inc (hypot_test): Add more tests.
34152 2012-03-13 David S. Miller <davem@davemloft.net>
34155 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34156 double-precision for the calculation instead of scaling.
34158 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34160 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34161 manipulate bits before adding and subtracting TWO52[sx].
34162 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34163 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34165 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34167 2012-03-13 David S. Miller <davem@davemloft.net>
34169 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34170 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34172 rtld-global-offsets.h
34173 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34175 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34178 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34180 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34181 'err' in the ifdef scope in which it is actually used.
34183 * nss/nss_db/db-init.c: Include string.h
34185 2012-03-12 David S. Miller <davem@davemloft.net>
34187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34188 masking out of the most significant byte of random value used.
34189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34190 Fix coding style in previous change.
34192 * sysdeps/unix/sysv/linux/kernel-features.h
34193 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34194 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34196 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34199 2012-03-11 David S. Miller <davem@davemloft.net>
34201 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34202 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34204 for 'resultvar' otherwise things get truncated on 64-bit.
34206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34207 Fix masking out of the most significant byte of random value used.
34209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34211 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34215 2012-03-09 David S. Miller <davem@davemloft.net>
34217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34218 variables with appropriate CPP guards.
34219 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34220 from the frame pointer, not the stack pointer. Correct layout
34221 comments. Fix test on resulting framesize and the management of
34222 the outregs buffer for pltexit. Preserve floating point return
34223 values across _dl_call_pltexit call.
34224 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34225 framesize and the management of the outregs buffer for pltexit.
34226 Preserve floating point return values across _dl_call_pltexit
34228 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34229 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34230 (la_sparc64_gnu_pltexit): New functions.
34231 (print_exit): Fix format string for return register value.
34233 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34235 * sunrpc/Makefile (others): Add rpcgen.
34236 ($(objpfx)rpcgen): Remove special build rule and dependency on
34238 * sunrpc/rpcgen.c: New file.
34240 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34243 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34244 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34245 * sysdeps/i386/crti.S: Likewise.
34246 * sysdeps/i386/crtn.S: Likewise.
34247 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34248 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34249 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34250 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34251 * sysdeps/sh/crti.S: Likewise.
34252 * sysdeps/sh/crtn.S: Likewise.
34253 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34256 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34258 * locale/programs/locfile-kw.gperf: Likewise.
34259 * locale/programs/charmap-kw.h: Regenerated.
34260 * locale/programs/locfile-kw.h: Likewise.
34263 * intl/plural.y: Replace FSF snail mail address with URL.
34264 * intl/plural.c: Regenerated.
34266 2012-03-09 Richard Henderson <rth@twiddle.net>
34268 * include/math_private.h: Remove file.
34269 * math/math_private.h: Move file ...
34270 * sysdeps/generic/math_private.h: ... here.
34272 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34273 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34274 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34276 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34277 and <math_private.h>.
34278 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34279 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34280 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34281 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34282 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34283 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34284 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34285 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34286 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34287 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34289 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34290 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34292 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34293 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34294 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34295 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34296 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34297 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34299 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34300 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34302 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34303 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34304 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34305 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34307 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34308 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34309 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34310 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34311 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34312 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34313 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34314 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34315 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34316 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34318 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34319 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34320 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34321 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34323 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34324 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34325 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34326 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34327 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34328 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34329 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34330 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34331 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34332 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34333 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34334 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34335 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34336 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34337 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34339 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34340 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34341 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34342 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34346 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34347 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34348 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34350 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34351 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34352 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34356 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34357 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34358 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34359 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34360 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34361 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34362 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34364 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34365 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34366 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34367 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34368 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34369 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34370 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34371 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34372 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34373 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34374 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34375 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34376 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34377 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34378 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34379 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34380 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34381 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34382 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34383 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34384 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34385 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34386 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34388 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34389 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34390 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34391 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34392 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34393 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34394 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34395 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34396 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34397 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34398 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34399 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34400 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34401 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34402 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34403 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34404 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34405 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34406 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34407 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34408 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34409 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34410 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34411 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34412 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34413 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34414 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34415 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34416 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34417 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34418 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34419 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34420 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34421 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34422 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34423 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34424 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34425 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34426 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34427 * sysdeps/ieee754/k_standard.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34432 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34433 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34434 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34435 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34436 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34437 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34438 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34439 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34440 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34441 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34442 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34443 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34444 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34445 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34446 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34447 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34448 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34449 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34450 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34451 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34452 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34462 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34465 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34470 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34476 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34478 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34480 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34482 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34488 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34489 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34491 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34493 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34494 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34495 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34496 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34497 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34498 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34500 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34501 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34502 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34503 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34504 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34505 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34507 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34508 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34509 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34510 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34511 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34512 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34513 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34514 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34515 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34516 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34518 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34519 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34520 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34521 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34523 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34524 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34525 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34526 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34527 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34528 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34531 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34532 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34535 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34536 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34537 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34538 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34539 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34540 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34541 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34542 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34543 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34544 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34545 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34546 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34547 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34548 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34549 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34550 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34551 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34552 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34553 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34554 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34555 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34556 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34557 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34558 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34559 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34560 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34561 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34562 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34563 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34564 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34565 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34566 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34567 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34568 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34569 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34570 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34571 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34572 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34573 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34574 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34575 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34576 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34577 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34578 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34579 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34580 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34582 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34583 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34584 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34585 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34586 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34587 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34588 * sysdeps/ieee754/s_lib_version.c: Likewise.
34589 * sysdeps/ieee754/s_matherr.c: Likewise.
34590 * sysdeps/ieee754/s_signgam.c: Likewise.
34591 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34592 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34593 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34594 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34595 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34596 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34597 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34598 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34599 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34600 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34601 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34602 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34603 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34604 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34605 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34606 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34607 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34608 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34609 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34613 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34615 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34616 * sunrpc/rpc_main.c: Likewise.
34617 * sunrpc/rpc_svcout.c: Likewise.
34619 2012-03-09 David S. Miller <davem@davemloft.net>
34621 * include/math_private.h: New file.
34623 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34625 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34626 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34627 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34628 from <bits/socket_type.h>.
34629 (enum __socket_type): Don't define here.
34630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34632 bits/socket_type.h.
34635 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34636 checking __USE_GNU.
34638 * Makerules ($(inst_includedir)/%.h): New rule.
34639 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34640 (install-others): Remove variable setting.
34641 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34643 2012-03-08 Richard Henderson <rth@twiddle.net>
34645 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34646 from macro to inline function; merge with the
34647 !__LIBC_INTERNAL_MATH_INLINES version.
34648 (__ieee754_sqrtf): Likewise.
34650 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34651 to inline function.
34652 (__rintf, __floor, __floorf): Likewise.
34654 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34655 macro to inline function.
34656 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34658 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34659 not <math/math_private.h>.
34661 2012-03-08 David S. Miller <davem@davemloft.net>
34663 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34665 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34667 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34669 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34671 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34672 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34674 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34676 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34677 be defined individually, they must be defined as a block. Define
34678 S for printing a string instead of hidint the different by using a
34679 macro for adding the 'l'.
34680 * stdio-common/tst-fphex-wide.c: Adjust.
34682 2012-03-07 Marek Polacek <polacek@redhat.com>
34684 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34686 2012-03-08 Marek Polacek <polacek@redhat.com>
34689 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34690 * stdio-common/tst-fphex.c: Define a few macros to make the
34691 test reusable. Use them.
34692 * stdio-common/tst-fphex-wide.c: New file.
34694 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34697 * manual/macros.texi (gnusystems): New macro.
34698 (nongnusystems): Likewise.
34699 (gnulinuxhurdsystems): Likewise.
34700 (gnuhurdsystems): Likewise..
34701 (gnulinuxsystems): Likewise.
34702 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34703 variants of the GNU system, not "GNU system".
34704 * manual/conf.texi: Likewise.
34705 * manual/errno.texi: Likewise. Update example of errno macro
34707 * manual/filesys.texi: Likewise.
34708 (getumask): Document as specific to GNU/Hurd.
34709 * manual/install.texi: Likewise. Reword some references to
34711 * manual/intro.texi: Likewise.
34712 * manual/io.texi: Likewise.
34713 (File Name Portability): Detail which constraints are inapplicable
34714 to all GNU systems and which are only inapplicable to GNU/Hurd.
34715 * manual/job.texi: Likewise.
34716 * manual/llio.texi: Likewise.
34717 (O_NOCTTY): Document as present on GNU/Linux.
34718 * manual/maint.texi: Likewise.
34719 * manual/memory.texi: Likewise.
34720 * manual/pattern.texi: Likewise.
34721 * manual/pipe.texi: Likewise.
34722 * manual/process.texi: Likewise.
34723 * manual/resource.texi: Likewise.
34724 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34726 * manual/setjmp.texi: Likewise.
34727 * manual/signal.texi: Likewise.
34728 * manual/startup.texi: Likewise.
34729 * manual/stdio.texi: Likewise.
34730 * manual/terminal.texi: Likewise.
34731 (ONLCR): Document as POSIX.
34732 (OXTABS): Document availability on GNU/Linux as XTABS.
34733 (ONOEOT): Document availability separately from other bits.
34734 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34735 * manual/time.texi: Likewise.
34736 * manual/users.texi: Likewise.
34737 * INSTALL: Regenerated.
34738 * sysdeps/gnu/errlist.c: Regenerated.
34740 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34741 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34742 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34744 * configure: Regenerated.
34746 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34748 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34749 default includes instead of AC_HEADER_CHECK.
34750 * sysdeps/i386/configure: Regenerated.
34753 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34754 * math/s_cacoshf.c (__cacoshf): Likewise.
34755 * math/s_cacoshl.c (__cacoshl): Likewise.
34756 * math/s_casinh.c (__casinh): Set signs of result from argument.
34757 * math/s_casinhf.c (__casinhf): Likewise.
34758 * math/s_casinhl.c (__casinhl): Likewise.
34759 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34760 (casinh_test): Add more tests.
34761 * sysdeps/i386/fpu/libm-test-ulps: Update.
34762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34764 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34766 * po/zh_TW.po: Update from translation team.
34768 * login/Makefile (distribute): Remove variable.
34769 * catgets/Makefile: Likewise.
34770 * mach/Makefile: Likewise.
34771 * malloc/Makefile: Likewise.
34772 * misc/Makefile: Likewise.
34773 * iconv/Makefile: Likewise.
34774 * nscd/Makefile: Likewise.
34775 * hurd/Makefile: Likewise.
34776 * manual/Makefile: Likewise.
34777 * locale/Makefile: Likewise.
34778 * intl/Makefile: Likewise.
34779 * conform/Makefile: Likewise.
34780 * nss/Makefile: Likewise.
34781 * time/Makefile: Likewise.
34782 * soft-fp/Makefile: Likewise.
34783 * dirent/Makefile: Likewise.
34784 * gmon/Makefile: Likewise.
34785 * po/Makefile: Likewise.
34786 * rt/Makefile: Likewise.
34787 * socket/Makefile: Likewise.
34788 * math/Makefile: Likewise.
34789 * signal/Makefile: Likewise.
34790 * debug/Makefile: Likewise.
34791 * elf/Makefile: Likewise.
34792 * timezone/Makefile: Likewise.
34793 * stdlib/Makefile: Likewise.
34794 * iconvdata/Makefile: Likewise.
34795 * sunrpc/Makefile: Likewise.
34796 * io/Makefile: Likewise.
34797 * argp/Makefile: Likewise.
34798 * inet/Makefile: Likewise.
34799 * hesiod/Makefile: Likewise.
34800 * grp/Makefile: Likewise.
34801 * csu/Makefile: Likewise.
34802 * wctype/Makefile: Likewise.
34803 * crypt/Makefile: Likewise.
34804 * libio/Makefile: Likewise.
34805 * string/Makefile: Likewise.
34806 * nis/Makefile: Likewise.
34807 * resolv/Makefile: Likewise.
34808 * stdio-common/Makefile: Likewise.
34809 * wcsmbs/Makefile: Likewise.
34810 * dlfcn/Makefile: Likewise.
34811 * posix/Makefile: Likewise.
34814 * timezone/Makefile: Don't install timezone files, just the programs
34817 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34819 * nss/databases.def: Add missing gshadow entry.
34821 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34823 2012-03-06 Marek Polacek <polacek@redhat.com>
34826 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34827 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34828 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34829 * stdio-common/tst-long-dbl-fphex.c: New file.
34831 2012-03-06 David S. Miller <davem@davemloft.net>
34833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34834 (set_obp_int): New function.
34835 (get_obp_int): New function.
34836 (__get_clockfreq_via_dev_openprom): Likewise.
34837 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34838 Avoid unused variable warnings on 'val' and use builtin_expect.
34839 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34841 (INLINE_CLONE_SYSCALL): Likewise.
34843 2012-03-05 David S. Miller <davem@davemloft.net>
34845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34847 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34851 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34852 only for |x| >= 40.
34853 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34855 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34858 Replace gettimeofday with __vdso_gettimeofday.
34860 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34861 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34862 __vdso_clock_gettime and __vdso_getcpu.
34864 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34865 time with __vdso_time.
34867 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34869 * manual/lang.texi (size_t): Note types to which size_t may be
34870 equivalent with the GNU C Library, but do not describe when
34871 differences between them are significant.
34873 2012-03-05 Andreas Jaeger <aj@suse.de>
34875 * sysdeps/i386/fpu/libm-test-ulps: Update.
34877 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34880 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34881 (__ieee754_pow): Save and restore rounding mode and use
34882 round-to-nearest for main computations.
34883 * math/libm-test.inc (pow_test_tonearest): New function.
34884 (pow_test_towardzero): Likewise.
34885 (pow_test_downward): Likewise.
34886 (pow_test_upward): Likewise.
34887 (main): Call the new functions.
34888 * sysdeps/i386/fpu/libm-test-ulps: Update.
34889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34892 * math/libm-test.inc (cosh_test_tonearest): New function.
34893 (cosh_test_towardzero): Likewise.
34894 (cosh_test_downward): Likewise.
34895 (cosh_test_upward): Likewise.
34896 (sinh_test_tonearest): Likewise.
34897 (sinh_test_towardzero): Likewise.
34898 (sinh_test_downward): Likewise.
34899 (sinh_test_upward): Likewise.
34900 (main): Call the new functions.
34901 * sysdeps/i386/fpu/libm-test-ulps: Update.
34902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34904 2012-03-05 Tom de Vries <tom@codesourcery.com>
34906 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34907 default stack guard is set in last bytes.
34908 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34910 2012-03-05 Kees Cook <keescook@chromium.org>
34912 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34915 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34916 possibly allocate from heap instead of stack.
34917 * stdio-common/bug-vfprintf-nargs.c: New file.
34918 * stdio-common/Makefile (tests): Add nargs overflow test.
34920 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34924 2012-03-03 Marek Polacek <polacek@redhat.com>
34926 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34927 * math/math_private.h: Likewise.
34928 * stdlib/tst-strtod.c: Likewise.
34929 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34930 * sysdeps/x86_64/bits/atomic.h: Likewise.
34932 2012-03-02 David S. Miller <davem@davemloft.net>
34934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34938 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34939 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34940 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34941 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34943 2012-03-02 Roland McGrath <roland@hack.frob.com>
34946 * manual/examples/README: New file, says the example source files
34947 can be used under GPL>=2.
34948 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34949 line containing just "*/".
34950 * manual/examples/add.c: Add copyright header (GPL>=2).
34951 * manual/examples/argp-ex1.c: Likewise.
34952 * manual/examples/argp-ex2.c: Likewise.
34953 * manual/examples/argp-ex3.c: Likewise.
34954 * manual/examples/argp-ex4.c: Likewise.
34955 * manual/examples/atexit.c: Likewise.
34956 * manual/examples/db.c: Likewise.
34957 * manual/examples/dir.c: Likewise.
34958 * manual/examples/dir2.c: Likewise.
34959 * manual/examples/execinfo.c: Likewise.
34960 * manual/examples/filecli.c: Likewise.
34961 * manual/examples/filesrv.c: Likewise.
34962 * manual/examples/fmtmsgexpl.c: Likewise.
34963 * manual/examples/genpass.c: Likewise.
34964 * manual/examples/inetcli.c: Likewise.
34965 * manual/examples/inetsrv.c: Likewise.
34966 * manual/examples/isockad.c: Likewise.
34967 * manual/examples/longopt.c: Likewise.
34968 * manual/examples/memopen.c: Likewise.
34969 * manual/examples/memstrm.c: Likewise.
34970 * manual/examples/mkfsock.c: Likewise.
34971 * manual/examples/mkisock.c: Likewise.
34972 * manual/examples/mygetpass.c: Likewise.
34973 * manual/examples/pipe.c: Likewise.
34974 * manual/examples/popen.c: Likewise.
34975 * manual/examples/rprintf.c: Likewise.
34976 * manual/examples/search.c: Likewise.
34977 * manual/examples/select.c: Likewise.
34978 * manual/examples/setjmp.c: Likewise.
34979 * manual/examples/sigh1.c: Likewise.
34980 * manual/examples/sigusr.c: Likewise.
34981 * manual/examples/stpcpy.c: Likewise.
34982 * manual/examples/strdupa.c: Likewise.
34983 * manual/examples/strftim.c: Likewise.
34984 * manual/examples/strncat.c: Likewise.
34985 * manual/examples/subopt.c: Likewise.
34986 * manual/examples/swapcontext.c: Likewise.
34987 * manual/examples/termios.c: Likewise.
34988 * manual/examples/testopt.c: Likewise.
34989 * manual/examples/testpass.c: Likewise.
34990 * manual/examples/timeval_subtract.c: Likewise.
34993 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34995 * manual/timeval_subtract.c.texi: ... here, new file.
34997 2012-03-02 David S. Miller <davem@davemloft.net>
34999 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35001 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35004 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35005 (__sin): Save and restore rounding mode and use round-to-nearest
35006 for all computations.
35007 (__cos): Save and restore rounding mode and use round-to-nearest
35008 for all computations.
35009 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35011 (tan): Save and restore rounding mode and use round-to-nearest for
35013 * math/libm-test.inc (cos_test_tonearest): New function.
35014 (cos_test_towardzero): Likewise.
35015 (cos_test_downward): Likewise.
35016 (cos_test_upward): Likewise.
35017 (sin_test_tonearest): Likewise.
35018 (sin_test_towardzero): Likewise.
35019 (sin_test_downward): Likewise.
35020 (sin_test_upward): Likewise.
35021 (tan_test_tonearest): Likewise.
35022 (tan_test_towardzero): Likewise.
35023 (tan_test_downward): Likewise.
35024 (tan_test_upward): Likewise.
35025 (main): Call the new functions.
35026 * sysdeps/i386/fpu/libm-test-ulps: Update.
35027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35030 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35031 small n, then large n, before computing and testing k+n.
35032 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35037 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35038 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35039 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35040 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35041 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35042 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35044 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35045 * math/libm-test.inc (scalbn_test): Add more tests.
35046 (scalbln_test): Likewise.
35048 * manual/filesys.texi (mode_t): Describe constraints on size and
35049 signedness, not exact equivalence to a particular type.
35051 (ino64_t): Likewise.
35053 (nlink_t): Likewise.
35054 (blkcnt_t): Likewise.
35055 (blkcnt64_t): Likewise.
35056 * manual/llio.texi (off_t): Likewise.
35059 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35060 (__ieee754_exp): Save and restore rounding mode and use
35061 round-to-nearest for all computations.
35062 * math/libm-test.inc (exp_test_tonearest): New function.
35063 (exp_test_towardzero): Likewise.
35064 (exp_test_downward): Likewise.
35065 (exp_test_upward): Likewise.
35066 (main): Call the new functions.
35067 * sysdeps/i386/fpu/libm-test-ulps: Update.
35068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35070 2012-03-01 Chris Demetriou <cgd@google.com>
35072 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35073 have predictable order.
35075 2012-03-01 David S. Miller <davem@davemloft.net>
35077 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35079 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35080 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35081 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35082 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35084 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35085 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35086 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35088 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35089 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35090 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35091 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35092 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35097 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35098 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35100 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35101 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35102 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35103 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35104 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35106 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35107 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35108 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35109 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35110 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35113 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35114 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35115 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35116 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35117 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35118 * sysdeps/sparc/elf/configure: Regenerated.
35120 2012-03-01 Joseph Myers <joseph@codesourcery.com>
35122 * configure.in (AS, LD): Require binutils 2.20 or later.
35123 * configure: Regenerated.
35124 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35125 as required minimum version.
35126 * INSTALL: Regenerated.
35130 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35131 before squaring exponent.
35132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35133 bottom long double and 27 bits of top long double before squaring
35135 * math/libm-test.inc (erfc_test): Add more tests.
35136 * sysdeps/i386/fpu/libm-test-ulps: Update.
35137 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35140 2012-03-01 Kai Tietz <ktietz@redhat.com>
35142 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35143 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35144 containing bit-fields.
35145 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35146 * soft-fp/single.h (_FP_UNION_S): Likewise.
35147 * soft-fp/double.h (_FP_UNION_D): Likewise.
35149 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35152 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35153 not include ../strcmp.S.
35154 [USE_AS_STRNCASECMP_L]: Likewise.
35155 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35156 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35157 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35158 (__strncasecmp_l_ia32): Define as alias to
35159 __strncasecmp_l_nonascii.
35162 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35163 * sysdeps/i386/fpu/libm-test-ulps: Update.
35164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35166 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35169 2012-02-29 Jeff Law <law@redhat.com>
35171 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35172 out of bounds read.
35174 2012-02-29 Marek Polacek <polacek@redhat.com>
35177 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35178 * elf/Makefile: Add rules to run tst-unused-dep.out.
35180 2012-02-28 David S. Miller <davem@davemloft.net>
35182 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35183 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35184 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35185 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35186 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35187 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35189 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35191 * math/libm-test.inc (llround_test): Move one test from
35192 lround_test. Use TEST_f_L in moved test.
35193 (lround_test): Move misplaced test to llround_test. Add testcase
35196 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35198 * sysdeps/x86_64/fpu/e_expf.S: New file.
35199 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35201 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35204 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35205 of remain_len that may cause incomplete multi-byte character and
35207 * posix/bug-regex33.c: New file.
35208 * posix/Makefile (tests): Add bug-regex33.
35210 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35212 * manual/macros.texi: New file.
35213 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35214 * manual/libc.texinfo: Include macros.texi.
35215 * manual/creatute.texi: Likewise.
35216 * manual/install.texi: Likewise.
35217 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35218 @glibcadj{} in references to the GNU C Library.
35219 * manual/charset.texi: Likewise.
35220 * manual/conf.texi: Likewise.
35221 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35222 when not using those macros.
35223 * manual/creature.texi: Likewise.
35224 * manual/crypt.texi: Likewise.
35225 * manual/errno.texi: Likewise.
35226 * manual/filesys.texi: Likewise.
35227 * manual/header.texi: Likewise.
35228 * manual/install.texi: Likewise.
35229 * manual/intro.texi: Likewise.
35230 * manual/io.texi: Likewise.
35231 * manual/job.texi: Likewise.
35232 * manual/lang.texi: Likewise.
35233 * manual/libc.texiinfo: Likewise.
35234 * manual/llio.texi: Likewise.
35235 * manual/locale.texi: Likewise.
35236 * manual/maint.texi: Likewise.
35237 * manual/math.texi: Likewise.
35238 * manual/memory.texi: Likewise.
35239 * manual/message.texi: Likewise.
35240 * manual/nss.texi: Likewise.
35241 * manual/pattern.texi: Likewise.
35242 * manual/process.texi: Likewise.
35243 * manual/resource.texi: Likewise.
35244 * manual/search.texi: Likewise.
35245 * manual/setjmp.texi: Likewise.
35246 * manual/signal.texi: Likewise.
35247 * manual/socket.texi: Likewise.
35248 * manual/startup.texi: Likewise.
35249 * manual/stdio.texi: Likewise.
35250 * manual/string.texi: Likewise.
35251 * manual/sysinfo.texi: Likewise.
35252 * manual/syslog.texi: Likewise.
35253 * manual/terminal.texi: Likewise.
35254 * manual/time.texi: Likewise.
35255 * manual/users.texi: Likewise.
35256 * INSTALL: Regenerated.
35257 * NOTES: Regenerated.
35258 * sysdeps/gnu/errlist.c: Regenerated.
35260 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35262 * include/dirent.h: Include <dirstream.h> before
35265 2012-02-28 David S. Miller <davem@davemloft.net>
35267 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35268 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35269 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35270 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35272 2012-02-27 David S. Miller <davem@davemloft.net>
35274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35276 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35277 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35280 frame pointer instead of stack pointer relative arg slot.
35281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35282 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35283 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35285 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35288 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35290 2012-02-27 David S. Miller <davem@davemloft.net>
35292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35296 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35297 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35298 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35299 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35301 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35303 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35304 later. Allow versions 5-9.
35305 * configure: Regenerated.
35306 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35307 required minimum version and 4.6 as recommended version. Do not
35308 mention bugs in GCC 2.7 and 2.8.
35309 * INSTALL: Regenerated.
35311 2012-02-27 David S. Miller <davem@davemloft.net>
35313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35317 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35318 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35319 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35320 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35323 manipulate bits before adding and subtracting TWO112[sx].
35324 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35326 2012-02-27 Roland McGrath <roland@hack.frob.com>
35329 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35330 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35331 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35332 being in POSIX, because they are in 1003.1-2008.
35334 * rt/tst-aio.c: Include <fcntl.h>.
35335 * rt/tst-aio7.c: Likewise.
35336 * rt/tst-aio64.c: Likewise.
35338 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35340 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35342 * manual/install.texi (--with-headers): Describe headers as
35343 interface headers, not private headers.
35344 (Specific advice for GNU/Linux systems): Describe use of headers
35345 from "make headers_install", not private headers from older
35347 * INSTALL: Regenerated.
35348 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35350 * sysdeps/unix/sysv/linux/configure: Regenerated.
35352 * manual/llio.texi (fclean): Remove documentation.
35354 * manual/Makefile (libc-texi-generated): New variable. Include
35356 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35357 $(libc-texi-generated), not duplicated list of files.
35358 (version.texi, stamp-version): New rules.
35359 (realclean): Remove $(libc-texi-generated), not individual files
35360 from that list. Do not remove dir-add.texinfo.
35361 * manual/libc.texinfo: Comment out uses of edition numbers and
35362 references to printed manual. Remove last-updated dates.
35363 (EDITION): Comment out.
35365 (VERSION, UPDATED): Remove.
35366 (version.texi): Include.
35368 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35370 * sysdeps/posix/spawni.c: Include <signal.h>.
35371 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35372 * sysdeps/pthread/aio_fsync.c: Likewise.
35374 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35376 * conform/Makefile (tests): Run only when not cross-compiling and
35377 when fast-check is not defined.
35379 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35380 * conform/data/limits.h-data: Fixes for POSIX2008.
35381 * conform/run-conformtest.sh: Run all tests.
35382 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35384 * include/bits/dlfcn.h: Likewise.
35385 * include/langinfo.h: Likewise.
35386 * include/monetary.h: Likewise.
35387 * include/sys/poll.h: Likewise.
35389 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35391 * posix/spawn.h: Define __need_sigset_t.
35392 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35393 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35394 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35395 to get sigevent_t only.
35396 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35397 only for __USE_GNU.
35398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35399 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35400 process_vm_writev only for __USE_GNU.
35401 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35403 * conform/Makefile: For now ignore errors from run-conformtest.
35404 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35405 POSIX to avoid namespace pollution. Don't prepend headers.
35406 * conform/data/aio.h-data: Fixes for POSIX testing.
35407 * conform/data/fcntl.h-data: Likewise.
35408 * conform/data/glob.h-data: Likewise.
35409 * conform/data/grp.h-data: Likewise.
35410 * conform/data/pthread.h-data: Likewise.
35411 * conform/data/pwd.h-data: Likewise.
35412 * conform/data/signal.h-data: Likewise.
35413 * conform/data/spawn.h-data: Likewise.
35414 * conform/data/stdio.h-data: Likewise.
35415 * conform/data/stdlib.h-data: Likewise.
35416 * conform/data/stropts.h-data: Likewise.
35417 * conform/data/sys/mman.h-data: Likewise.
35418 * conform/data/sys/stat.h-data: Likewise.
35419 * conform/data/sys/types.h-data: Likewise.
35420 * conform/data/sys/wait.h-data: Likewise.
35421 * conform/data/time.h-data: Likewise.
35422 * conform/data/unistd.h-data: Likewise.
35423 * conform/data/utime.h-data: Likewise.
35425 * io/sys/stat.h: fchmod was always in POSIX.
35426 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35427 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35428 * rt/aio.h: Define __need_timespec before including <time.h>.
35429 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35430 struct. Add forward declaration of pthread_attr_t and use it in
35432 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35433 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35434 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35435 always remove CLK_TCK definition.
35437 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35439 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35441 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35443 * conform/run-conformtest.sh: New file.
35444 * conform/Makefile: Run run-conformtest for tests.
35445 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35448 * conform/data/uchar.h-data: New file.
35449 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35450 * conform/data/arpa/inet.h-data: Likewise.
35451 * conform/data/assert.h-data: Likewise.
35452 * conform/data/complex.h-data: Likewise.
35453 * conform/data/cpio.h-data: Likewise.
35454 * conform/data/ctype.h-data: Likewise.
35455 * conform/data/dirent.h-data: Likewise.
35456 * conform/data/dlfcn.h-data: Likewise.
35457 * conform/data/errno.h-data: Likewise.
35458 * conform/data/fcntl.h-data: Likewise.
35459 * conform/data/float.h-data: Likewise.
35460 * conform/data/fmtmsg.h-data: Likewise.
35461 * conform/data/fnmatch.h-data: Likewise.
35462 * conform/data/ftw.h-data: Likewise.
35463 * conform/data/glob.h-data: Likewise.
35464 * conform/data/grp.h-data: Likewise.
35465 * conform/data/iconv.h-data: Likewise.
35466 * conform/data/inttypes.h-data: Likewise.
35467 * conform/data/langinfo.h-data: Likewise.
35468 * conform/data/libgen.h-data: Likewise.
35469 * conform/data/limits.h-data: Likewise.
35470 * conform/data/locale.h-data: Likewise.
35471 * conform/data/math.h-data: Likewise.
35472 * conform/data/monetary.h-data: Likewise.
35473 * conform/data/mqueue.h-data: Likewise.
35474 * conform/data/ndbm.h-data: Likewise.
35475 * conform/data/net/if.h-data: Likewise.
35476 * conform/data/netdb.h-data: Likewise.
35477 * conform/data/netinet/in.h-data: Likewise.
35478 * conform/data/nl_types.h-data: Likewise.
35479 * conform/data/poll.h-data: Likewise.
35480 * conform/data/pthread.h-data: Likewise.
35481 * conform/data/pwd.h-data: Likewise.
35482 * conform/data/regex.h-data: Likewise.
35483 * conform/data/sched.h-data: Likewise.
35484 * conform/data/search.h-data: Likewise.
35485 * conform/data/semaphore.h-data: Likewise.
35486 * conform/data/setjmp.h-data: Likewise.
35487 * conform/data/signal.h-data: Likewise.
35488 * conform/data/spawn.h-data: Likewise.
35489 * conform/data/stdarg.h-data: Likewise.
35490 * conform/data/stdio.h-data: Likewise.
35491 * conform/data/stdlib.h-data: Likewise.
35492 * conform/data/string.h-data: Likewise.
35493 * conform/data/strings.h-data: Likewise.
35494 * conform/data/stropts.h-data: Likewise.
35495 * conform/data/sys/ipc.h-data: Likewise.
35496 * conform/data/sys/mman.h-data: Likewise.
35497 * conform/data/sys/msg.h-data: Likewise.
35498 * conform/data/sys/resource.h-data: Likewise.
35499 * conform/data/sys/select.h-data: Likewise.
35500 * conform/data/sys/sem.h-data: Likewise.
35501 * conform/data/sys/shm.h-data: Likewise.
35502 * conform/data/sys/socket.h-data: Likewise.
35503 * conform/data/sys/stat.h-data: Likewise.
35504 * conform/data/sys/statvfs.h-data: Likewise.
35505 * conform/data/sys/time.h-data: Likewise.
35506 * conform/data/sys/timeb.h-data: Likewise.
35507 * conform/data/sys/times.h-data: Likewise.
35508 * conform/data/sys/types.h-data: Likewise.
35509 * conform/data/sys/uio.h-data: Likewise.
35510 * conform/data/sys/un.h-data: Likewise.
35511 * conform/data/sys/utsname.h-data: Likewise.
35512 * conform/data/sys/wait.h-data: Likewise.
35513 * conform/data/syslog.h-data: Likewise.
35514 * conform/data/tar.h-data: Likewise.
35515 * conform/data/termios.h-data: Likewise.
35516 * conform/data/utime.h-data: Likewise.
35517 * conform/data/utmpx.h-data: Likewise.
35518 * conform/data/varargs.h-data: Likewise.
35519 * conform/data/wchar.h-data: Likewise.
35520 * conform/data/wctype.h-data: Likewise.
35521 * conform/data/wordexp.h-data: Likewise.
35523 * include/stropts.h: New file.
35524 * include/uchar.h: New file.
35525 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35526 * include/assert.h: Likewise.
35527 * include/ctype.h: Likewise.
35528 * include/dirent.h: Likewise.
35529 * include/dlfcn.h: Likewise.
35530 * include/fcntl.h: Likewise.
35531 * include/fnmatch.h: Likewise.
35532 * include/glob.h: Likewise.
35533 * include/grp.h: Likewise.
35534 * include/libio.h: Likewise.
35535 * include/locale.h: Likewise.
35536 * include/math.h: Likewise.
35537 * include/net/if.h: Likewise.
35538 * include/netdb.h: Likewise.
35539 * include/netinet/in.h: Likewise.
35540 * include/pthread.h: Likewise.
35541 * include/pwd.h: Likewise.
35542 * include/regex.h: Likewise.
35543 * include/sched.h: Likewise.
35544 * include/search.h: Likewise.
35545 * include/setjmp.h: Likewise.
35546 * include/signal.h: Likewise.
35547 * include/stdio.h: Likewise.
35548 * include/stdlib.h: Likewise.
35549 * include/string.h: Likewise.
35550 * include/sys/cdefs.h: Likewise.
35551 * include/sys/mman.h: Likewise.
35552 * include/sys/msg.h: Likewise.
35553 * include/sys/resource.h: Likewise.
35554 * include/sys/select.h: Likewise.
35555 * include/sys/socket.h: Likewise.
35556 * include/sys/stat.h: Likewise.
35557 * include/sys/statvfs.h: Likewise.
35558 * include/sys/time.h: Likewise.
35559 * include/sys/times.h: Likewise.
35560 * include/sys/uio.h: Likewise.
35561 * include/sys/utsname.h: Likewise.
35562 * include/sys/wait.h: Likewise.
35563 * include/termios.h: Likewise.
35564 * include/time.h: Likewise.
35565 * include/ulimit.h: Likewise.
35566 * include/unistd.h: Likewise.
35567 * include/utime.h: Likewise.
35568 * include/wchar.h: Likewise.
35569 * include/wctype.h: Likewise.
35570 * include/wordexp.h: Likewise.
35572 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35574 * time/time.h: TIME_UTC must be a macro.
35575 Make timespec_get available for ISO C11 only as well.
35577 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35579 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35580 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35582 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35584 * configure.in: Use -o not -a in test for unsupported multi-arch.
35586 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35588 * manual/texinfo.tex: Update to version 2012-01-19.16.
35590 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35592 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35594 2012-02-24 Roland McGrath <roland@hack.frob.com>
35597 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35598 * manual/fdl-1.3.texi: New file.
35599 * manual/fdl-1.1.texi: File removed.
35602 * manual/libc.texinfo (FDL_VERSION): New @set.
35603 Use it for mention of FDL in cover text.
35604 (Documentation License): Use it in @include file name.
35606 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35607 Roland McGrath <roland@hack.frob.com>
35610 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35611 (not LONG_LONG_MAX and LONG_LONG_MIN.
35612 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35613 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35615 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35617 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35621 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35622 manipulate bits before adding and subtracting TWO23[sx].
35623 * math/libm-test.inc (nearbyint_test): Add more tests.
35625 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35628 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35629 bits before adding and subtracting TWO23[sx].
35630 * math/libm-test.inc (rint_test): Add more tests.
35631 (rint_test_tonearest): Likewise.
35632 (rint_test_towardzero): Likewise.
35633 (rint_test_downward): Likewise.
35634 (rint_test_upward: Likewise.
35636 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35639 * include/stdc-predef.h: New file. Extracted from features.h.
35640 * include/features.h: Include stdc-predef.h.
35641 * Makefile (headers): Add stdc-predef.h.
35642 * CONFORMANCE (Compiler limitations): Update.
35644 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35646 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35648 2012-02-21 David S. Miller <davem@davemloft.net>
35650 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35651 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35653 2012-02-20 David S. Miller <davem@davemloft.net>
35655 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35656 using a normal save/restore sequence, rather than allocating a
35657 dummy stack frame just to store a frame pointer and restore.
35658 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35660 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35662 * manual/install.texi: Fix stray word in line-wrapped comment.
35664 2012-02-20 David S. Miller <davem@davemloft.net>
35666 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35667 both binutils and gcc support GOTDATA.
35669 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35670 "rd %pc" in the PIC register setup sequences.
35672 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35673 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35674 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35675 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35676 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35678 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35679 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35680 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35681 (SYSCALL_ERROR_HANDLER): Likewise.
35682 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35683 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35685 (SYSCALL_ERROR_HANDLER): Likewise.
35687 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35688 (HAVE_GCC_GOTDATA): New.
35689 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35690 relocation support in both binutils and gcc.
35691 * sysdeps/sparc/elf/configure: Regenerate.
35693 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35694 * sysdeps/sparc/sparc32/elf/configure: Delete.
35695 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35696 * sysdeps/sparc/sparc64/elf/configure: Delete.
35697 * sysdeps/sparc/elf/configure.in: New file.
35698 * sysdeps/sparc/elf/configure: Generate.
35700 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35701 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35702 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35703 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35704 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35706 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35708 * manual/install.texi: Do not mention specific glibc version
35710 * manual/libc.texinfo (VERSION, UPDATED): Update.
35711 (@copying): Use @copyright{} and range of years.
35713 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35716 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35717 [crti.S not in sysdirs] (generated): Do not append.
35718 [crti.S not in sysdirs] (omit-deps): Likewise.
35719 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35720 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35721 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35722 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35723 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35725 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35726 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35727 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35728 * csu/defs.awk: Remove file.
35729 * sysdeps/generic/initfini.c: Likewise.
35730 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35732 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35735 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35737 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35738 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35739 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35740 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35741 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35742 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35744 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35745 (__EPOLL_PACKED): Define to empty if not defined by
35747 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35751 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35753 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35754 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35755 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35756 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35758 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35762 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35764 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35766 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35767 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35768 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35771 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35773 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35774 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35776 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35778 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35779 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35781 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35783 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35786 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35788 * math/w_acos.c: Use non-signaling floating-point comparisons.
35789 * math/w_acosf.c: Likewise.
35790 * math/w_acosh.c: Likewise.
35791 * math/w_acoshf.c: Likewise.
35792 * math/w_acoshl.c: Likewise.
35793 * math/w_acosl.c: Likewise.
35794 * math/w_asin.c: Likewise.
35795 * math/w_asinf.c: Likewise.
35796 * math/w_asinl.c: Likewise.
35797 * math/w_atanh.c: Likewise.
35798 * math/w_atanhf.c: Likewise.
35799 * math/w_atanhl.c: Likewise.
35800 * math/w_exp2.c: Likewise.
35801 * math/w_exp2f.c: Likewise.
35802 * math/w_exp2l.c: Likewise.
35803 * math/w_j0.c: Likewise.
35804 * math/w_j0f.c: Likewise.
35805 * math/w_j0l.c: Likewise.
35806 * math/w_j1.c: Likewise.
35807 * math/w_j1f.c: Likewise.
35808 * math/w_j1l.c: Likewise.
35809 * math/w_jn.c: Likewise.
35810 * math/w_jnf.c: Likewise.
35811 * math/w_log.c: Likewise.
35812 * math/w_log10.c: Likewise.
35813 * math/w_log10f.c: Likewise.
35814 * math/w_log10l.c: Likewise.
35815 * math/w_log2.c: Likewise.
35816 * math/w_log2f.c: Likewise.
35817 * math/w_log2l.c: Likewise.
35818 * math/w_logf.c: Likewise.
35819 * math/w_logl.c: Likewise.
35820 * math/w_sqrt.c: Likewise.
35821 * math/w_sqrtf.c: Likewise.
35822 * math/w_sqrtl.c: Likewise.
35823 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35824 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35825 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35826 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35827 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35829 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35832 * manual/string.texi (strnlen): Use correct parameter name in
35833 equivalent expression.
35835 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35838 * manual/users.texi (seteuid): Consistently use neweuid for
35841 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35844 * manual/nss.texi (Services in the NSS configuration): Correct
35845 list of services in example configuration file.
35847 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35850 * manual/arith.texi: Remove statements about negative zero
35851 behaving identically to zero.
35853 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35856 * manual/install.texi: Do not document upgrading from libc5.
35858 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35861 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35863 2012-02-18 David S. Miller <davem@davemloft.net>
35865 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35866 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35867 %o7 across the call.
35868 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35871 SETUP_PIC_REG_LEAF.
35872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35873 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35874 * sysdeps/sparc/crtn.S: Likewise.
35876 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35878 * aout/Makefile: Remove.
35880 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35883 * manual/examples/argp-ex1.c (main): Format definition in GNU
35885 * manual/examples/argp-ex2.c (main): Likewise.
35886 * manual/examples/argp-ex3.c (main): Likewise.
35887 * manual/examples/argp-ex4.c (main): Likewise.
35888 * manual/examples/longopt.c (main): Use new-style prototype
35890 * manual/examples/strncat.c (main): Specify return type and use
35891 (void) for arguments.
35892 * manual/examples/subopt.c (main): Use char **argv argument.
35894 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35897 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35900 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35903 * manual/string.texi (strchr): Change when strchrnul is
35906 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35909 * manual/locale.texi (setlocale): Document LOCPATH.
35911 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35914 * manual/process.texi (execle): Move @dots{} before last argument.
35916 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35919 * manual/charset.texi (Generic Charset Conversion): Fix typo
35920 (LC_TYPE -> LC_CTYPE).
35922 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35925 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35926 (scalbnf): Likewise.
35927 (scalbnl): Likewise.
35928 (scalbln): Likewise.
35929 (scalblnf): Likewise.
35930 (scalblnl): Likewise.
35931 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35932 (vwarnx): Likewise.
35935 * manual/filesys.texi (telldir): Use braces around return type.
35936 * manual/llio.texi (mmap): Add space after comma.
35937 (mmap64): Likewise.
35938 * manual/math.texi (jn): Use @var{} on parameter names.
35944 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35946 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35948 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35949 (sched_get_priority_max): Likewise.
35950 * manual/signal.texi (sigvec): Add space after comma.
35951 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35953 (if_indextoname): Likewise.
35954 (if_freenameindex): Likewise.
35955 (sendto): Use ',' instead of '.' in prototype.
35956 * manual/startup.texi (syscall): Use @dots{} instead of literal
35958 * manual/stdio.texi (__fpending): Separate initial words of
35959 paragraph from @deftypefun line.
35960 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35962 (vsyslog): Use @var{} on parameter names.
35963 * manual/terminal.texi (stty): Use @var{} on parameter names.
35964 * manual/users.texi (getutmp): Use @var{} on parameter names.
35965 (getutmpx): Likewise.
35967 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35970 * manual/stdio.texi (fopen): Fix typos in description of
35973 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35976 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35977 get clock_id definition.
35979 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35982 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35983 (madvise): Cast every argument to void on its own.
35985 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35988 * manual/startup.texi (Exit Status): Fix typo.
35990 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35993 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35994 * manual/examples/argp-ex2.c: Likewise.
35995 * manual/examples/argp-ex3.c: Likewise.
35997 2012-02-16 Richard Henderson <rth@redhat.com>
35999 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36000 * sysdeps/s390/s390-32/initfini.c: Remove.
36001 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36002 * sysdeps/s390/s390-64/initfini.c: Remove.
36004 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36006 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36007 compiler output for sysdeps/generic/initfini.c.
36008 * sysdeps/sh/elf/initfini.c: Remove file.
36010 2012-02-16 David S. Miller <davem@davemloft.net>
36013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36015 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36016 * sysdeps/sparc/crti.S: New file.
36017 * sysdeps/sparc/crtn.S: New file.
36018 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36019 * sysdeps/sparc/sparc64/Makefile: Likewise.
36021 2012-02-15 Mike Frysinger <vapier@gentoo.org>
36024 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36026 2012-02-15 Roland McGrath <roland@hack.frob.com>
36029 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36031 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36032 (write, read, close): Likewise.
36033 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36035 2012-02-15 Joseph Myers <joseph@codesourcery.com>
36037 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36038 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36039 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36040 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36042 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36046 2012-02-14 Marek Polacek <polacek@redhat.com>
36048 * sysdeps/x86_64/crti.S: New file.
36049 * sysdeps/x86_64/crtn.S: New file.
36050 * sysdeps/x86_64/elf/initfini.c: Remove file.
36052 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36054 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36055 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36056 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36057 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36059 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36063 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36065 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36066 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36067 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36068 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36070 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36074 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36076 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36077 __feraiseexcept instead of feraiseexcept.
36079 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36080 nanosleep invocations.
36081 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36082 strings, and add error checking for a nanosleep invocations.
36084 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36086 Replace FSF snail mail address with URLs, as per GNU coding standards.
36087 Most of the snail mail addresses were wrong anyway, and omitting
36088 them makes the source code easier to maintain. Almost all of the
36089 changes are to license notices and to locale LC_IDENTIFICATION
36090 addresses, except for this one:
36091 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36092 not its snail mail address.
36094 2012-02-09 Richard Henderson <rth@twiddle.net>
36096 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36097 of kernel-features.h.
36099 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36101 2012-02-08 Marek Polacek <polacek@redhat.com>
36103 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36104 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36105 * sysdeps/gnu/_G_config.h: Likewise.
36106 * sysdeps/generic/_G_config.h: Likewise.
36108 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36110 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36114 * sysdeps/powerpc/powerpc32/crti.S: New file.
36115 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36116 * sysdeps/powerpc/powerpc64/crti.S: New file.
36117 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36119 * Makeconfig (have-initfini): Don't set.
36120 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36121 * configure.in (nopic_initfini): Don't substitute.
36122 * config.h.in (HAVE_INITFINI): Don't #undef.
36123 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36124 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36126 2012-02-08 Joseph Myers <joseph@codesourcery.com>
36128 Support crti.S and crtn.S provided directly by architectures.
36129 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36130 [crti.S in sysdirs] (omit-deps): Likewise.
36131 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36132 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36133 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36134 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36135 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36136 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36137 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36138 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36139 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36140 compiler output for sysdeps/generic/initfini.c.
36141 * sysdeps/i386/elf/Makefile: Remove file.
36142 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36144 2012-02-07 Marek Polacek <polacek@redhat.com>
36146 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36147 * sysdeps/gnu/_G_config.h: Likewise.
36148 * sysdeps/mach/hurd/_G_config.h: Likewise.
36150 2012-02-07 Marek Polacek <polacek@redhat.com>
36152 * math/Makefile (tests): Add tst-CMPLX2.
36153 * math/tst-CMPLX2.c: New file.
36155 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36157 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36159 * math/libm-test.inc (jn_test): Add missing L suffix.
36161 2012-02-06 Marek Polacek <polacek@redhat.com>
36163 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36164 * sysdeps/i386/fpu/e_powf.S: Likewise.
36165 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36166 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36167 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36168 * sysdeps/i386/fpu/e_pow.S: Likewise.
36169 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36170 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36171 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36172 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36173 * sysdeps/i386/fpu/e_log2.S: Likewise.
36174 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36175 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36176 * sysdeps/i386/fpu/e_powl.S: Likewise.
36177 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36178 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36179 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36180 * sysdeps/i386/fpu/e_logl.S: Likewise.
36181 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36182 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36183 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36184 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36185 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36186 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36187 * sysdeps/i386/fpu/e_log.S: Likewise.
36188 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36189 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36190 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36191 * sysdeps/i386/fpu/e_logf.S: Likewise.
36192 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36193 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36194 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36195 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36196 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36197 * sysdeps/i386/fpu/e_log10.S: Likewise.
36198 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36199 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36200 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36201 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36202 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36203 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36204 * sysdeps/i386/asm-syntax.h: Likewise.
36205 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36207 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36208 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36209 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36210 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36211 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36212 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36214 * sysdeps/powerpc/sysdep.h: Likewise.
36215 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36216 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36218 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36221 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36223 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36225 * sysdeps/i386/sysdep.h: Include <features.h>.
36226 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36229 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36231 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36233 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36236 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36238 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36239 (SETUP_PIC_REG): Use GET_PC_THUNK.
36240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36243 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36245 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36246 for non-PIC compilation.
36247 (SETUP_PIC_REG): Add .p2align directive.
36248 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36249 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36250 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36251 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36252 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36253 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36254 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36256 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36257 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36258 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36259 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36260 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36261 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36262 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36263 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36264 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36265 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36266 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36267 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36268 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36269 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36270 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36271 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36274 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36275 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36276 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36277 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36278 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36279 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36280 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36281 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36282 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36283 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36284 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36285 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36286 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36287 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36288 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36290 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36292 * math/tst-CMPLX.c: Include <stdio.h>.
36294 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36296 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36298 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36299 * sysdeps/sparc/bits/mathdef.h: Likewise.
36301 2012-01-31 Marek Polacek <polacek@redhat.com>
36303 * libio/libio.h: Don't define _PARAMS.
36304 * locale/programs/config.h: Don't define PARAMS.
36305 * stdlib/strtol_l.c: Likewise.
36306 (__strtol_l): Remove PARAMS from the prototype.
36308 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36310 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36311 names. Just use the correct names. Remove unnecessary wrapper
36313 * malloc/arena.c: Likewise.
36314 * malloc/hooks.c: Likewise.
36316 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36317 ARENA_TEST says not to. Simplify test for creation of a new arena.
36318 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36320 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36322 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36324 (update_get_addr): New function.
36325 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36326 GET_ADDR_MODULE parameter.
36328 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36330 * crypt/cert.c: Remove __STDC__ conditionals.
36331 * crypt/crypt-entry.c: Likewise.
36332 * crypt/crypt_util.c: Likewise.
36333 * libio/filedoalloc.c: Likewise.
36334 * libio/fileops.c: Likewise.
36335 * libio/genops.c: Likewise.
36336 * libio/iofclose.c: Likewise.
36337 * libio/iofdopen.c: Likewise.
36338 * libio/iofopen.c: Likewise.
36339 * libio/iofopen64.c: Likewise.
36340 * libio/iogetdelim.c: Likewise.
36341 * libio/iopopen.c: Likewise.
36342 * libio/obprintf.c: Likewise.
36343 * libio/oldfileops.c: Likewise.
36344 * libio/oldiofclose.c: Likewise.
36345 * libio/oldiofdopen.c: Likewise.
36346 * libio/oldiofopen.c: Likewise.
36347 * libio/oldiopopen.c: Likewise.
36348 * libio/wfiledoalloc.c: Likewise.
36349 * libio/wgenops.c: Likewise.
36350 * locale/programs/xmalloc.c: Likewise.
36351 * misc/syslog.c: Likewise.
36352 * stdio-common/xbug.c: Likewise.
36353 * string/memchr.c: Likewise.
36354 * string/memcmp.c: Likewise.
36355 * string/memrchr.c: Likewise.
36356 * string/rawmemchr.c: Likewise.
36357 * sysdeps/posix/getcwd.c: Likewise.
36358 * time/strftime_l.c: Likewise.
36360 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36362 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36363 * config.make.in (config-cflags-sse2avx): Define.
36364 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36367 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36369 * scripts/config.guess: Update from upstream config git repository.
36370 * scripts/config.sub: Likewise.
36372 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36374 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36376 (R_TILEPRO_*, R_TILEGX_*): New macros.
36378 * scripts/firstversions.awk: Fix bug in version range handling.
36380 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36382 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36384 * include/sys/epoll.h: New file.
36385 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36388 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36390 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36391 Avoid unnecessary __WORDSIZE == 64 test.
36392 (fmaxf): Use VEX format if possible.
36397 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36398 * math/math_private.h: Remove libc_fegetround* and
36400 * sysdeps/i386/configure.in: Check for -msse2avx.
36401 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36402 also if SSE2AVX is defined.
36403 Remove libc_fegetround* and libc_fesetround*.
36404 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36405 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36406 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36408 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36409 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36411 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36412 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36414 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36416 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36418 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36420 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36422 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36425 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36427 * Makeconfig (libm): Define.
36428 * elf/Makefile: Add rules to build and run tst-relsort1.
36429 * elf/tst-relsort1.c: New file.
36430 * elf/tst-relsort1mod1.c: New file.
36431 * elf/tst-relsort1mod2.c: New file.
36433 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36435 * math/s_ldexp.c: Remove __STDC__ conditionals.
36436 * math/s_ldexpf.c: Likewise.
36437 * math/s_ldexpl.c: Likewise.
36438 * math/s_nextafter.c: Likewise.
36439 * math/s_nexttowardf.c: Likewise.
36440 * math/s_significand.c: Likewise.
36441 * math/s_significandf.c: Likewise.
36442 * math/s_significandl.c: Likewise.
36443 * math/w_jnl.c: Likewise.
36444 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36445 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36446 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36447 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36448 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36449 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36450 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36451 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36452 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36453 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36454 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36455 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36456 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36457 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36458 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36459 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36460 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36461 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36463 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36464 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36465 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36466 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36467 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36468 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36469 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36470 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36471 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36472 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36473 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36474 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36475 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36476 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36477 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36478 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36479 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36480 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36481 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36482 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36483 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36484 * sysdeps/ieee754/k_standard.c: Likewise.
36485 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36486 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36487 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36488 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36489 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36490 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36491 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36492 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36493 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36494 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36495 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36496 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36497 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36498 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36499 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36500 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36501 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36502 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36503 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36504 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36505 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36506 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36507 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36508 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36509 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36510 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36511 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36512 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36514 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36515 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36516 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36517 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36518 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36519 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36520 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36521 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36523 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36524 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36525 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36527 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36528 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36530 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36531 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36532 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36533 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36534 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36535 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36537 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36538 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36539 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36540 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36541 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36542 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36543 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36544 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36545 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36546 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36547 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36548 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36549 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36550 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36551 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36552 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36553 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36554 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36555 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36556 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36557 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36558 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36559 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36560 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36561 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36562 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36563 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36564 * sysdeps/ieee754/s_matherr.c: Likewise.
36565 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36566 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36567 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36568 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36570 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36572 * crypt/md5.h: Remove __STDC__ conditionals.
36573 * libio/libioP.h: Likewise.
36574 * locale/programs/config.h: Likewise.
36575 * sysdeps/generic/sysdep.h: Likewise.
36576 * sysdeps/i386/asm-syntax.h: Likewise.
36577 * sysdeps/s390/asm-syntax.h: Likewise.
36578 * sysdeps/unix/sysdep.h: Likewise.
36579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36582 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36584 * libio/libio.h: Remove __STDC__ conditionals.
36585 * malloc/obstack.h: Likewise.
36586 * math/complex.h: Likewise.
36587 * math/math.h: Likewise.
36588 * sysdeps/generic/_G_config.h: Likewise.
36589 * sysdeps/gnu/_G_config.h: Likewise.
36590 * sysdeps/mach/hurd/_G_config.h: Likewise.
36591 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36592 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36593 * sysdeps/sparc/bits/mathdef.h: Likewise.
36595 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36598 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36599 Clean up HAS_* macros.
36600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36601 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36611 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36613 * elf/tst-unique3.cc (gets): Remove declaration.
36614 * elf/tst-unique3lib.cc (gets): Likewise.
36615 * elf/tst-unique3lib2.cc (gets): Likewise.
36616 * elf/tst-unique4.cc (gets): Likewise.
36618 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36620 * include/stdio.h: Add C++ protection. Add gets declarations and
36622 * debug/tst-chk1.c: Don't declare gets here.
36623 * stdio-common/tst-gets.c: Likewise.
36625 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36627 * posix/glob: Remove directory.
36629 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36631 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36633 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36635 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36636 of the non-standard EPFNOSUPPORT.
36638 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36640 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36641 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36642 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36644 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36646 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36648 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36650 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36652 * nscd/grpcache.c (cache_addgr): Likewise.
36653 * nscd/hstcache.c (cache_addhst): Likewise.
36654 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36655 * nscd/pwdcache.c (cache_addpw): Likewise.
36656 * nscd/servicescache.c (cache_addserv): Likewise.
36658 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36660 * malloc/malloc.c: Various cleanups.
36661 * malloc/hooks.c: Likewise.
36663 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36664 * stdlib/bug-fmtmsg1.c: New file.
36666 * stdlib/fmtmsg.c (init): Add missing unlock.
36667 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36669 2012-01-12 Marek Polacek <polacek@redhat.com>
36671 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36674 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36676 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36677 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36678 macro to ensure uniqueness of label name.
36679 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36680 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36682 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36684 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36686 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36687 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36688 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36691 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36693 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36695 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36696 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36697 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36699 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36701 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36702 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36703 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36706 * math/bits/math-finite.h: Add ldexp support.
36708 2012-01-10 Marek Polacek <polacek@redhat.com>
36710 * locale/programs/localedef.h (show_archive_content): Add noreturn
36713 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36715 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36717 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36719 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36721 * io/Makefile (headers): Add bits/poll2.h.
36723 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36726 typo #include statement.
36728 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36730 * include/sys/cdefs.h: Define __attribute_alloc_size.
36731 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36732 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36733 * elf/pldd.c: Likewise.
36734 * iconv/iconv_charmap.c: Likewise.
36735 * iconv/iconvconfig.c: Likewise.
36736 * iconv/strtab.c: Likewise.
36737 * locale/programs/locale.c: Likewise.
36738 * locale/programs/localedef.h: Likewise.
36739 * locale/programs/simple-hash.c: Likewise.
36740 * nscd/nscd.h: Likewise.
36741 * nss/makedb.c: Likewise.
36742 * sysdeps/generic/ldconfig.h: Likewise.
36743 * locale/programs/localedef.c: Remove xmalloc prototype.
36744 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36746 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36748 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36751 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36753 * math/Makefile (tests): Add tst-CMPLX.
36754 * math/tst-CMPLX.c: New file.
36756 * math/complex.h (CMPLXL): Fix typo.
36758 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36759 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36761 * debug/tst-chk1.c: Add poll and ppoll tests.
36762 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36763 * include/sys/poll.h: Add hidden proto for ppoll.
36764 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36765 * sysdeps/mach/hurd/ppoll.c: Likewise.
36766 * io/ppoll.c: Likewise.
36767 * debug/poll_chk.c: New file.
36768 * debug/ppoll_chk.c: New file.
36769 * include/bits/poll2.h: New file.
36770 * io/bits/poll2.h: New file.
36773 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36775 * configure.in: static is always set to yes. Remove.
36776 * config.make.in: Don't set build-static.
36777 * Makeconfig: Remove use of build-static.
36778 * dlfcn/Makefile: Likewise.
36779 * elf/Makefile: Likewise.
36780 * math/Makefile: Likewise.
36781 * misc/Makefile: Likewise.
36782 * nptl/Makefile: Likewise.
36783 * sysdeps/mach/hurd/Makefile: Likewise.
36785 * configure.in: PWD_P is not used anymore.
36786 * config.make.in: Remove PWD_P entry.
36788 * configure.in: Remove last remnants of RANLIB.
36789 No need to check for signed size_t anymore.
36790 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36792 Remove __builtin_expect test because we require at least gcc 3.4.
36793 * aclocal.m4: Likewise.
36795 * wcsmbs/mbrtoc16.c: Implement using towc function.
36796 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36797 * wcsmbs/wcsmbsload.c: Likewise.
36798 * iconv/gconv_simple.c: Likewise.
36799 * iconv/gconv_int.h: Likewise.
36800 * iconv/gconv_builtin.h: Likewise.
36801 * iconv/iconv_prog.c: Remove CHAR16 handling.
36803 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36805 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36807 * configure.in: Remove --with-elf and --enable-bounded options.
36808 Dont set base_machine for ia64. More non-ELF conditions removed.
36809 Remove testing and setting of leading underscore information.
36810 * config.make.in (build-bounded): Set to no.
36811 * config.h.in: Remove NO_UNDERSCORES entry.
36812 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36814 * csu/start.c: Remove !NO_UNDERSCORE code.
36815 * locale/localeinfo.h: Likewise.
36816 * sysdeps/generic/machine-gmon.h: Likewise.
36817 * sysdeps/generic/sysdep.h: Likewise.
36818 * sysdeps/i386/sysdep.h: Likewise.
36819 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36820 * sysdeps/mach/sysdep.h: Likewise.
36821 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36822 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36823 * sysdeps/sh/sysdep.h: Likewise.
36824 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36825 * sysdeps/unix/i386/sysdep.S: Likewise.
36826 * sysdeps/unix/sparc/start.c: Likewise.
36827 * sysdeps/unix/sparc/sysdep.S: Likewise.
36828 * sysdeps/unix/sparc/sysdep.h: Likewise.
36829 * sysdeps/unix/start.c: Likewise.
36830 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36831 * sysdeps/x86_64/sysdep.h: Likewise.
36833 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36836 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36838 * argp/argp-fmtstream.h: Use const instead __const.
36839 * argp/argp.h: Likewise.
36840 * assert/assert.h: Likewise.
36841 * bits/fenv.h: Likewise.
36842 * bits/sched.h: Likewise.
36843 * bits/sigset.h: Likewise.
36844 * bits/sigthread.h: Likewise.
36845 * catgets/nl_types.h: Likewise.
36846 * conform/data/pthread.h-data: Likewise.
36847 * crypt/crypt-private.h: Likewise.
36848 * crypt/crypt.h: Likewise.
36849 * crypt/crypt_util.c: Likewise.
36850 * ctype/ctype.h: Likewise.
36851 * debug/execinfo.h: Likewise.
36852 * debug/mbsnrtowcs_chk.c: Likewise.
36853 * debug/mbsrtowcs_chk.c: Likewise.
36854 * debug/wcsnrtombs_chk.c: Likewise.
36855 * debug/wcsrtombs_chk.c: Likewise.
36856 * debug/wcstombs_chk.c: Likewise.
36857 * dirent/dirent.h: Likewise.
36858 * dlfcn/dlfcn.h: Likewise.
36859 * elf/neededtest4.c: Likewise.
36860 * grp/grp.h: Likewise.
36861 * gshadow/gshadow.h: Likewise.
36862 * iconv/gconv.h: Likewise.
36863 * iconv/gconv_int.h: Likewise.
36864 * iconv/gconv_simple.c: Likewise.
36865 * iconv/iconv.h: Likewise.
36866 * iconv/loop.c: Likewise.
36867 * iconv/skeleton.c: Likewise.
36868 * include/aio.h: Likewise.
36869 * include/aliases.h: Likewise.
36870 * include/argz.h: Likewise.
36871 * include/arpa/inet.h: Likewise.
36872 * include/assert.h: Likewise.
36873 * include/dirent.h: Likewise.
36874 * include/dlfcn.h: Likewise.
36875 * include/execinfo.h: Likewise.
36876 * include/fcntl.h: Likewise.
36877 * include/fenv.h: Likewise.
36878 * include/glob.h: Likewise.
36879 * include/grp.h: Likewise.
36880 * include/libintl.h: Likewise.
36881 * include/mntent.h: Likewise.
36882 * include/netdb.h: Likewise.
36883 * include/pwd.h: Likewise.
36884 * include/rpc/netdb.h: Likewise.
36885 * include/sched.h: Likewise.
36886 * include/search.h: Likewise.
36887 * include/shadow.h: Likewise.
36888 * include/signal.h: Likewise.
36889 * include/stdio.h: Likewise.
36890 * include/stdlib.h: Likewise.
36891 * include/string.h: Likewise.
36892 * include/sys/socket.h: Likewise.
36893 * include/sys/stat.h: Likewise.
36894 * include/sys/statfs.h: Likewise.
36895 * include/sys/statvfs.h: Likewise.
36896 * include/sys/syslog.h: Likewise.
36897 * include/sys/time.h: Likewise.
36898 * include/sys/uio.h: Likewise.
36899 * include/time.h: Likewise.
36900 * include/unistd.h: Likewise.
36901 * include/utmp.h: Likewise.
36902 * include/wchar.h: Likewise.
36903 * include/wctype.h: Likewise.
36904 * inet/aliases.h: Likewise.
36905 * inet/arpa/inet.h: Likewise.
36906 * inet/netinet/ether.h: Likewise.
36907 * inet/netinet/in.h: Likewise.
36908 * intl/libintl.h: Likewise.
36909 * io/bits/fcntl2.h: Likewise.
36910 * io/fcntl.h: Likewise.
36911 * io/ftw.h: Likewise.
36912 * io/sys/poll.h: Likewise.
36913 * io/sys/stat.h: Likewise.
36914 * io/sys/statfs.h: Likewise.
36915 * io/sys/statvfs.h: Likewise.
36916 * io/utime.h: Likewise.
36917 * libio/bits/stdio.h: Likewise.
36918 * libio/bits/stdio2.h: Likewise.
36919 * libio/libio.h: Likewise.
36920 * libio/libioP.h: Likewise.
36921 * libio/stdio.h: Likewise.
36922 * locale/lc-ctype.c: Likewise.
36923 * locale/locale.h: Likewise.
36924 * login/utmp.h: Likewise.
36925 * malloc/arena.c: Likewise.
36926 * malloc/malloc.c: Likewise.
36927 * malloc/malloc.h: Likewise.
36928 * malloc/mcheck.c: Likewise.
36929 * malloc/mtrace.c: Likewise.
36930 * math/bits/mathcalls.h: Likewise.
36931 * math/fenv.h: Likewise.
36932 * math/math_private.h: Likewise.
36933 * misc/bits/error.h: Likewise.
36934 * misc/bits/syslog.h: Likewise.
36935 * misc/err.h: Likewise.
36936 * misc/error.h: Likewise.
36937 * misc/fstab.h: Likewise.
36938 * misc/mntent.h: Likewise.
36939 * misc/regexp.h: Likewise.
36940 * misc/search.h: Likewise.
36941 * misc/sgtty.h: Likewise.
36942 * misc/sys/mman.h: Likewise.
36943 * misc/sys/syslog.h: Likewise.
36944 * misc/sys/uio.h: Likewise.
36945 * misc/sys/xattr.h: Likewise.
36946 * misc/ttyent.h: Likewise.
36947 * nis/rpcsvc/ypclnt.h: Likewise.
36948 * nss/nss.h: Likewise.
36949 * posix/bits/unistd.h: Likewise.
36950 * posix/fnmatch.h: Likewise.
36951 * posix/glob.h: Likewise.
36952 * posix/sched.h: Likewise.
36953 * posix/spawn.h: Likewise.
36954 * posix/sys/wait.h: Likewise.
36955 * posix/unistd.h: Likewise.
36956 * posix/wordexp.h: Likewise.
36957 * pwd/pwd.h: Likewise.
36958 * resolv/netdb.h: Likewise.
36959 * resource/sys/resource.h: Likewise.
36960 * rt/aio.h: Likewise.
36961 * rt/bits/mqueue2.h: Likewise.
36962 * rt/mqueue.h: Likewise.
36963 * shadow/shadow.h: Likewise.
36964 * signal/signal.h: Likewise.
36965 * socket/send.c: Likewise.
36966 * socket/sendto.c: Likewise.
36967 * socket/sys/socket.h: Likewise.
36968 * stdio-common/printf.h: Likewise.
36969 * stdlib/bits/stdlib.h: Likewise.
36970 * stdlib/fmtmsg.h: Likewise.
36971 * stdlib/monetary.h: Likewise.
36972 * stdlib/stdlib.h: Likewise.
36973 * stdlib/ucontext.h: Likewise.
36974 * streams/stropts.h: Likewise.
36975 * string/argz.h: Likewise.
36976 * string/bits/string2.h: Likewise.
36977 * string/string.h: Likewise.
36978 * string/strings.h: Likewise.
36979 * sunrpc/rpc/auth.h: Likewise.
36980 * sunrpc/rpc/auth_des.h: Likewise.
36981 * sunrpc/rpc/clnt.h: Likewise.
36982 * sunrpc/rpc/netdb.h: Likewise.
36983 * sunrpc/rpc/pmap_clnt.h: Likewise.
36984 * sunrpc/rpc/xdr.h: Likewise.
36985 * sysdeps/generic/inttypes.h: Likewise.
36986 * sysdeps/generic/net/if.h: Likewise.
36987 * sysdeps/generic/sys/swap.h: Likewise.
36988 * sysdeps/gnu/net/if.h: Likewise.
36989 * sysdeps/gnu/utmpx.h: Likewise.
36990 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36991 * sysdeps/i386/i486/bits/string.h: Likewise.
36992 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36993 * sysdeps/s390/bits/string.h: Likewise.
36994 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36995 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36996 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36997 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36998 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36999 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37000 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37001 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37002 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37003 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37004 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37005 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37006 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37007 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37008 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37009 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37010 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37012 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37013 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37014 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37015 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37016 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37017 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37018 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37019 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37020 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37021 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37022 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37023 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37024 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37025 * sysvipc/sys/ipc.h: Likewise.
37026 * sysvipc/sys/msg.h: Likewise.
37027 * sysvipc/sys/sem.h: Likewise.
37028 * sysvipc/sys/shm.h: Likewise.
37029 * termios/termios.h: Likewise.
37030 * time/sys/time.h: Likewise.
37031 * time/time.h: Likewise.
37032 * wcsmbs/bits/wchar2.h: Likewise.
37033 * wcsmbs/uchar.h: Likewise.
37034 * wcsmbs/wchar.h: Likewise.
37035 * wctype/wctype.h: Likewise.
37038 * Makeconfig: Remove all but ELF support including AIX support.
37039 * Makerules: Likewise.
37040 * config.h.in: Likewise.
37041 * config.make.in: Likewise.
37042 * configure: Likewise.
37043 * configure.in: Likewise.
37044 * csu/Makefile: Likewise.
37045 * csu/version.c: Likewise.
37046 * debug/Makefile: Likewise.
37047 * dlfcn/Makefile: Likewise.
37048 * elf/Makefile: Likewise.
37049 * extra-lib.mk: Likewise.
37050 * iconv/Makefile: Likewise.
37051 * include/libc-symbols.h: Likewise.
37052 * include/shlib-compat.h: Likewise.
37053 * resolv/Makefile: Likewise.
37054 * resolv/res_libc.c: Likewise.
37055 * rt/Makefile: Likewise.
37056 * sysdeps/i386/asm-syntax.h: Likewise.
37057 * sysdeps/i386/sysdep.h: Likewise.
37058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37059 * sysdeps/mach/sysdep.h: Likewise.
37060 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37061 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37062 * sysdeps/s390/asm-syntax.h: Likewise.
37063 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37064 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37065 * sysdeps/sh/sysdep.h: Likewise.
37066 * sysdeps/unix/sparc/sysdep.h: Likewise.
37067 * sysdeps/wordsize-32/divdi3.c: Likewise.
37068 * sysdeps/x86_64/sysdep.h: Likewise.
37070 * argp/Versions: Remove _argp_unlock_xxx.
37073 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37074 * abilist/libBrokenLocale.abilist: Likewise.
37075 * abilist/libanl.abilist: Likewise.
37076 * abilist/libc.abilist: Likewise.
37077 * abilist/libcrypt.abilist: Likewise.
37078 * abilist/libdl.abilist: Likewise.
37079 * abilist/libm.abilist: Likewise.
37080 * abilist/libnsl.abilist: Likewise.
37081 * abilist/libpthread.abilist: Likewise.
37082 * abilist/libresolv.abilist: Likewise.
37083 * abilist/librt.abilist: Likewise.
37084 * abilist/libthread_db.abilist: Likewise.
37085 * abilist/libutil.abilist: Likewise.
37086 * abilist/libnss_db.abilist: New file.
37088 * scripts/abilist.awk: Add support for indirect functions.
37090 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37092 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37094 * shlib-versions: Remove entries for ports architectures.
37096 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37098 * elf/stackguard-macros.h: Remove support for IA-64.
37099 * elf/tst-auditmod1.c: Likewise.
37100 * sysdeps/generic/ldsodefs.h: Likewise.
37102 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37103 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37107 * configure.in: Remove --enable-omitfp support.
37109 * config.make.in: Likewise.
37110 * Makeconfig: Likewise.
37111 * manual/install.texi: Likewise.
37113 In case anyone cares, the IA-64 architecture could move to ports.
37114 * sysdeps/ia64/*: Removed.
37115 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37116 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37119 * configure.in: Remove entries for unsupported architectures.
37122 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37123 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37125 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37126 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37127 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37128 fall back to using wcrtomb.
37129 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37130 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37132 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37133 * wcsmbs/tst-c16c32-1.c: New file.
37135 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37138 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37140 * elf/tst-unique3.cc: Add explicit declaration of gets.
37141 * elf/tst-unique3lib.cc: Likewise.
37142 * elf/tst-unique3lib2.cc: Likewise.
37143 * elf/tst-unique4.cc: Likewise.
37145 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37147 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37150 * assert/assert.h (static_assert): Don't define for C++.
37151 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37152 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37154 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37156 * iconv/loop.c (single loop): Fix assertion in storing of
37159 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37161 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37163 * posix/getconf.c: Update copyright year.
37164 * nss/getent.c: Likewise.
37165 * nss/makedb.c: Likewise.
37166 * iconv/iconvconfig.c: Likewise.
37167 * iconv/iconv_prog.c: Likewise.
37168 * elf/ldconfig.c: Likewise.
37169 * elf/pldd.c: Likewise.
37170 * elf/sotruss.ksh: Likewise.
37171 * catgets/gencat.c: Likewise.
37172 * csu/version.c: Likewise.
37173 * elf/ldd.bash.in: Likewise.
37174 * elf/sprof.c (print_version): Likewise.
37175 * locale/programs/locale.c: Likewise.
37176 * locale/programs/localedef.c: Likewise.
37177 * login/programs/pt_chown.c: Likewise.
37178 * nscd/nscd.c (print_version): Likewise.
37179 * debug/xtrace.sh: Likewise.
37180 * malloc/memusage.sh: Likewise.
37181 * malloc/mtrace.pl: Likewise.
37182 * debug/catchsegv.sh: Likewise.
37184 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37186 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37189 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37192 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37193 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37195 * iconv/gconv_int.h: Likewise.
37196 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37197 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37198 from libc for GLIBC_2.16.
37199 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37200 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37201 * wcsmbs/uchar.h: Really define mbstate_t.
37202 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37203 * wcsmbs/c16rtomb.c: New file.
37204 * wcsmbs/mbrtoc16.c: New file.
37205 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37206 for C/POSIX locale.
37207 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37208 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37210 * wcsmbs/wchar.h: Add missing __restrict.
37212 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37215 * time/Makefile (routines): Add timespec_get.
37216 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37217 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37218 timespec for ISO C11.
37219 * time/timespec_get.c: New file.
37220 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37221 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37224 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37225 * stdlib/stdlib.h: Declare aligned_alloc.
37226 * Versions.def: Add GLIBC_2.16 for libc.
37227 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37230 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37233 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37237 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37240 * assert/assert.h (static_assert): Define.
37242 * version.h: Update for 2.16 development version.
37245 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37248 * version.h (RELEASE): Bump for 2.15 release.
37249 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37251 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37252 Patch by Marek Polacek <mpolacek@redhat.com>.
37254 * bits/byteswap.h: Protect long long constants with __extension__.
37255 * sysdeps/i386/bits/byteswap.h: Likewise.
37256 * sysdeps/ia64/bits/byteswap.h: Likewise.
37257 * sysdeps/s390/bits/byteswap.h: Likewise.
37258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37260 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37263 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37264 destination buffer.
37265 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37267 2011-12-23 Marek Polacek <polacek@redhat.com>
37269 * elf/dl-addr.c (determine_info): Add inline keyword.
37270 * elf/tst-auditmod4b.c (check_avx): Likewise.
37271 * elf/tst-auditmod6b.c (check_avx): Likewise.
37272 * elf/tst-auditmod6c.c (check_avx): Likewise.
37273 * elf/tst-auditmod7b.c (check_avx): Likewise.
37275 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37277 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37280 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37283 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37284 processing for last bytes.
37286 2011-08-06 Bruno Haible <bruno@clisp.org>
37289 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37290 U+0385, not to U+1FEE.
37293 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37294 entry for U+00A5 U+0301.
37296 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37299 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37300 buffer for the output is too small.
37302 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37306 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37307 SSE flags if possible.
37309 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37313 processing for last bytes.
37315 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37317 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37318 (syscall-list-default-options, syscall-list-default-condition)
37319 (syscall-list-includes): Define.
37320 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37321 list of ABIs and options and #if conditions for each ABI. Do not
37322 handle common syscalls between ABIs specially.
37323 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37325 (syscall-list-variants, syscall-list-32bit-options)
37326 (syscall-list-32bit-condition, syscall-list-64bit-options)
37327 (syscall-list-64bit-condition): Define.
37328 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37329 (syscall-list-variants, syscall-list-32bit-options)
37330 (syscall-list-32bit-condition, syscall-list-64bit-options)
37331 (syscall-list-64bit-condition): Define.
37332 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37334 (syscall-list-variants, syscall-list-32bit-options)
37335 (syscall-list-32bit-condition, syscall-list-64bit-options)
37336 (syscall-list-64bit-condition): Define.
37337 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37339 (syscall-list-variants, syscall-list-32bit-options)
37340 (syscall-list-32bit-condition, syscall-list-64bit-options)
37341 (syscall-list-64bit-condition): Define.
37343 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37345 * locale/iso-639.def: Add brx entry.
37348 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37349 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37351 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37352 __feraiseexcept_renamed.
37354 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37357 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37358 EPOLLET with unsigned values.
37359 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37362 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37363 to large cancellation.
37364 * math/s_cacoshf.c: Likewise.
37365 * math/s_cacoshl.c: Likewise.
37367 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37371 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37372 * math/s_cacoshf.c: Likewise.
37373 * math/s_cacoshl.c: Likewise.
37375 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37378 * iconv/gconv.h: Define __GCONV_SWAP.
37379 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37380 * iconvdata/utf-16.c: Likewise.
37381 * iconvdata/utf-32.c: Likewise.
37383 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37387 numerator after shifting it by one limb.
37389 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37391 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37392 under [__USE_EXTERN_INLINES].
37394 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37397 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37399 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37401 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37402 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37404 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37405 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37406 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37407 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37408 for strncasecmp/strncasecmp_l compilation.
37409 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37410 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37412 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37415 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37418 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37421 * time/tzfile.c (__tzfile_read): Check values from file header.
37423 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37425 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37426 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37427 * powerpc/powerpc32/dl-start.S: Likewise.
37428 * powerpc/powerpc32/elf/start.S: Likewise.
37429 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37430 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37431 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37432 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37433 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37434 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37435 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37436 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37437 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37438 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37439 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37440 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37441 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37442 * powerpc/powerpc32/memset.S: Likewise.
37443 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37444 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37445 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37446 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37447 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37448 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37449 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37450 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37451 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37452 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37453 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37454 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37455 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37457 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37459 * math/libm-test.inc: Added more nearbyint tests.
37460 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37461 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37463 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37465 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37467 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37470 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37472 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37473 Add wcscpy-ssse3 wcscpy-c.
37474 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37475 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37476 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37477 * sysdeps/x86_64/wcschr.S: New file.
37478 * sysdeps/x86_64/wcsrchr.S: New file.
37479 * string/test-strcmp.c: Remove checking of wcscmp function for
37481 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37482 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37483 wcsrchr-sse2 wcsrchr-c.
37484 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37485 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37486 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37487 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37488 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37489 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37490 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37491 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37492 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37493 * wcsmbc/wcschr.c (WCSCHR): New macro.
37495 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37497 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37498 * wcsmbs/test-wcsrchr.c: New file.
37499 * string/test-strrchr.c: Add wcsrchr support.
37501 * wcsmbs/test-wcscpy.c: New file.
37502 * string/test-strcpy.c: Add wcscpy support.
37505 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37507 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37510 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37513 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37515 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37517 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37518 Minor optimizations.
37520 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37521 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37522 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37524 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37526 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37527 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37528 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37529 for gcc to avoid warnings.
37530 * inet/Makefile (tests): Add tst-checks.
37531 * inet/tst-checks.c: New file.
37533 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37536 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37539 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37540 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37542 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37544 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37546 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37549 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37551 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37553 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37554 conditional on GCC version.
37555 (__arch_compare_and_exchange_val_8_acq)
37556 (__arch_compare_and_exchange_val_16_acq)
37557 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37558 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37559 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37561 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37563 * sysdeps/sh/backtrace.c: New file.
37565 2011-12-02 Andreas Schwab <schwab@redhat.com>
37567 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37570 2011-12-01 Andreas Schwab <schwab@redhat.com>
37572 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37573 falling back to utime.
37575 2011-11-30 Andreas Schwab <schwab@redhat.com>
37577 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37578 expectations for float.
37580 2011-11-29 Andreas Schwab <schwab@redhat.com>
37582 * locale/weight.h (findidx): Add parameter len.
37583 * locale/weightwc.h (findidx): Likewise.
37584 * posix/fnmatch_loop.c (FCT): Adjust caller.
37585 * posix/regcomp.c (build_equiv_class): Likewise.
37586 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37587 * posix/regexec.c (check_node_accept_bytes): Likewise.
37588 * string/strcoll_l.c (STRCOLL): Likewise.
37589 * string/strxfrm_l.c (STRXFRM): Likewise.
37591 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37593 * Makefile.in: Remove CVSOPT handling.
37594 * configure.in: Remove use of AC_REVISION.
37595 * iconvdata/Makefile (distribute): No need to filter out CVS.
37596 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37599 2011-11-16 Andreas Schwab <schwab@redhat.com>
37601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37602 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37603 [USE_AS_STRNCASECMP_L]: Likewise.
37604 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37605 NO_TLS_DIRECT_SEG_REFS.
37606 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37607 Fix argument offsets for non-PIC.
37608 [USE_AS_STRNCASECMP_L]: Likewise.
37609 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37610 NO_TLS_DIRECT_SEG_REFS.
37612 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37614 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37616 * locale/loadlocale.c (_nl_load_locale): Likewise.
37618 2011-11-15 Andreas Schwab <schwab@redhat.com>
37620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37621 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37622 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37623 (SYSCALL_GETTIME): Set errno on error.
37625 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37626 count references to noai6ai_cached.
37628 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37630 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37632 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37633 FD_CLOEXEC for /proc/self/maps.
37635 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37636 FD_CLOEXEC for /proc/meminfo.
37638 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37641 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37642 FD_CLOEXEC for given file.
37644 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37646 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37647 FD_CLOEXEC for /etc/hosts.
37648 (_gethtent): Likewise.
37650 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37652 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37653 cancellation and set FD_CLOEXEC for /etc/netgroup.
37655 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37656 reading /etc/publickey.
37658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37659 allow cancellation when reading /etc/group.
37661 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37663 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37665 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37666 when using data file.
37668 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37670 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37671 (write_nis_obj): Use "c" and "e" in fopen.
37673 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37675 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37677 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37679 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37681 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37684 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37686 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37688 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37690 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37691 file parsing and set FD_CLOEXEC.
37693 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37695 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37697 2011-11-14 Andreas Schwab <schwab@redhat.com>
37699 * malloc/arena.c (arena_get2): Don't call reused_arena when
37700 _int_new_arena failed.
37702 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37704 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37705 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37706 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37707 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37708 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37709 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37710 to compile strcasecmp and strncasecmp.
37711 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37712 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37716 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37718 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37719 locale-defines.sym to gen-as-const-headers.
37720 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37721 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37723 to compile strcasecmp and strncasecmp.
37724 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37725 strcasecmp_l and strncasecmp_l.
37726 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37727 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37728 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37729 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37730 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37731 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37732 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37733 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37734 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37735 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37736 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37738 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37740 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37741 result of SYSDEP_GETTIME_CPU to retval.
37742 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37743 parameter list to macro. Remove trailing semicolon. Adjust users.
37745 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37748 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37750 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37752 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37753 from unused variable.
37755 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37757 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37760 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37763 * sunrpc/rpc_prot.c (rejected): Fix case value.
37765 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37766 unsigned long long int to avoid warnings in shift.
37768 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37770 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37773 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37774 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37775 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37777 * nis/nis_table.c (nis_list): Use variable of correct type for
37778 result of __follow_path call.
37780 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37782 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37783 of math functions ceil, trunc, floor, round, and sqrt, when
37784 avaliable on the platform.
37785 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37787 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37788 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37789 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37791 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37793 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37794 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37796 2011-11-11 Roland McGrath <roland@hack.frob.com>
37798 * include/unistd.h: Fix __readlink return type.
37799 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37801 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37803 * stdlib/ucontext.h: Undo last change for makecontext.
37805 2011-11-11 Andreas Schwab <schwab@redhat.com>
37807 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37809 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37810 * setjmp/setjmp.h: Mark functions as non-leaf.
37811 * setjmp/bits/setjmp2.h: Likewise.
37812 * stdlib/ucontext.h: Likewise.
37814 2011-11-10 Andreas Schwab <schwab@redhat.com>
37816 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37817 (reused_arena): Don't check arena limit.
37818 (arena_get2): Atomically check arena limit.
37820 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37822 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37823 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37825 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37828 2011-11-07 Andreas Schwab <schwab@redhat.com>
37830 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37831 handler when locking.
37833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37834 Fix size of allocated buffer.
37836 2011-11-04 Andreas Schwab <schwab@redhat.com>
37839 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37840 declarations for long double functions.
37841 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37843 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37845 2011-11-03 Andreas Schwab <schwab@redhat.com>
37847 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37850 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37853 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37855 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37857 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37859 * include/alloca.h (stackinfo_alloca_round): Define.
37860 (extend_alloca): Use it.
37861 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37862 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37865 * scripts/check-local-headers.sh: Ignore libaudit.h.
37867 * nscd/Makefile (extra-objs): Make recursively expanded.
37869 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37871 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37872 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37874 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37875 * posix/tst-rfc3484-2.c: Likewise.
37876 * posix/tst-rfc3484-3.c: Likewise.
37878 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37880 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37882 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37883 process_vm_writev from libc using GLIBC_2.15 version.
37885 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37887 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37889 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37892 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37895 * nss/getent.c (initgroups_keys): Show error message in case no group
37898 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37899 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37900 __bump_nl_timestamp.
37901 * nscd/connections (nscd_init): When host database is served open
37902 netlink socket and request notification about configuration changes.
37903 (main_loop_poll): Track netlink file descriptor and bump timestamp
37904 in case data becomes available.
37905 (main_loop_epoll): Likewise.
37906 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37907 (database_pers_head): Add extra_data fileds.
37908 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37909 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37910 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37913 in6ai data, call __free_in6ai.
37914 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37915 Add -DHAVE_NETLINK.
37916 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37917 interface information. Reuse previous data if netlink timestamp
37919 (__bump_nl_timestamp): New function.
37920 (__free_in6ai): New function.
37922 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37924 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37925 close_not_cancel_no_status here.
37926 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37928 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37931 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37934 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37935 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37936 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37938 2011-07-03 Andreas Jaeger <aj@suse.de>
37941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37942 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37943 * math/libm-test.inc (sin_test): Add test case.
37945 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37948 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37949 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37951 * elf/chroot_canon.c (chroot_canon): Cleanups.
37953 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37956 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37957 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37959 * string/test-strchr.c: Make usable for strchrnul testing.
37960 * string/test-strchrnul.c: New file.
37961 * string/Makefile (strop-tests): Add strchrnul.
37963 * po/it.po: Update from translation team.
37964 * po/es.po: Likewise.
37966 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37969 the three constants needed as parameters. Drop the others.
37970 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37971 __m128i_strloadu_tolower.
37972 Create and initialize variable zero and use it in all the places
37973 where _mm_setzero_si128 was used.
37975 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37976 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37977 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37978 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37980 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37981 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37982 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37983 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37984 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37985 __mpranred, __mptan.
37986 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37987 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37988 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37989 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37990 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37991 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37993 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37994 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37996 2011-10-28 Andreas Schwab <schwab@redhat.com>
37998 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37999 redefine if SHARED.
38000 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38003 wide char related routines to wcsmbs subdir.
38005 2011-10-27 Andreas Schwab <schwab@redhat.com>
38008 * misc/sys/cdefs.h (__THROWNL): Define.
38009 * posix/unistd.h: Use __THREADNL instead of __THREAD
38010 for memory synchronization functions.
38012 2011-10-26 Roland McGrath <roland@hack.frob.com>
38015 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38017 * manual/stdio.texi (Obstack Streams): Node removed.
38019 2011-10-26 Andreas Schwab <schwab@redhat.com>
38021 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38023 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38025 * math/math_private.h (math_force_eval): Allow non-addressable
38027 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38029 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38031 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38032 file is not needed.
38034 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38037 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38039 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38040 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38041 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38043 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38044 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38045 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38046 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38047 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38048 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38049 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38050 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38051 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38052 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38053 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38054 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38055 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38056 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38057 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38058 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38059 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38060 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38061 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38063 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38064 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38067 place. Use VEX encoding when compiling for AVX.
38069 2011-10-25 Andreas Schwab <schwab@redhat.com>
38071 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38072 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38074 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38076 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38078 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38079 useless if() expression.
38080 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38082 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38083 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38084 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38086 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38088 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38089 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38090 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38092 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38093 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38094 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38095 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38097 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38098 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38100 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38102 2011-10-25 Andreas Schwab <schwab@redhat.com>
38104 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38106 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38108 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38110 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38111 .text section. Avoid duplicate constants.
38112 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38114 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38115 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38120 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38121 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38122 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38123 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38124 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38125 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38126 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38127 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38128 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38129 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38130 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38132 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38133 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38134 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38135 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38136 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38137 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38138 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38139 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38140 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38141 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38142 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38143 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38144 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38145 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38146 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38147 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38148 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38149 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38150 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38151 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38153 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38154 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38155 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38156 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38158 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38160 * sysdeps/x86_64/dla.h: Move to ...
38161 * sysdeps/x86_64/fpu/dla.h: ...here.
38162 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38163 situations. Use __builtin_fma only for gcc 4.6 and up.
38165 * config.make.in: Add have-mfma4 entry.
38166 * configure.in: Substitute libc_cv_cc_fma4.
38167 * math/Makefile (dbl-only-routines): Add sincostab.
38168 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38169 Use __sincostab not sincos.
38170 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38172 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38177 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38178 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38179 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38180 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38182 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38183 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38185 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38186 define aliases when function name is a macro.
38187 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38188 sysdeps/ieee754/dbl-64/sincos.tbl.
38189 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38190 fma4-enabled routines.
38191 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38192 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38193 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38194 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38195 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38196 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38198 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38200 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38201 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38202 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38203 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38204 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38205 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38206 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38207 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38208 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38209 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38210 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38211 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38212 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38213 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38214 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38216 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38217 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38218 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38219 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38220 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38222 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38233 2011-10-24 Andreas Schwab <schwab@redhat.com>
38235 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38237 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38239 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38241 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38243 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38245 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38246 Remove unused variable magic_bits.
38247 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38249 * string/strnlen.c: Define and use STRNLEN macro.
38250 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38251 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38253 * wcsmbs/wcslen.c: Define and use WCSLEN.
38254 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38255 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38256 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38257 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38258 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38259 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38260 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38262 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38265 strnlen-sse2-no-bsf.
38266 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38267 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38268 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38269 Add strnlen support.
38270 (USE_AS_STRNLEN): New macro.
38271 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38272 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38273 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38274 * sysdeps/x86_64/wcslen.S: New file.
38276 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38278 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38279 XMM-moves are used for copying on small sizes.
38281 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38283 * wcsmbs/Makefile (strop-tests): Add wcschr.
38284 * wcsmbs/test-wcschr.c: New file.
38285 * string/test-strchr.c: Update.
38286 Add wcschr support.
38289 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38291 * wcsmbs/Makefile (strop-tests): Add wcslen.
38292 * wcsmbs/test-wcslen.c: New file.
38293 * string/test-strlen.c: Update.
38294 Add wcslen support.
38297 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38299 * po/it.po: Update from translation team.
38301 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38303 * sysdeps/x86_64/wcscmp.S: Update.
38304 Fix wrong comparison semantics.
38305 wcscmp shall use signed comparison not unsigned.
38306 Don't use substraction to avoid overflow bug.
38307 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38308 * wcsmbc/wcscmp.c: Likewise.
38309 * string/test-strcmp.c: Likewise.
38310 Add new tests to check cases with negative values.
38312 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38314 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38315 * sysdeps/x86_64/dla.h: ...here. New file.
38316 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38321 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38324 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38326 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38329 __ynl_finite aliases.
38331 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38335 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38337 [DLA_FMA] (EMULV): Use DLA_FMA.
38338 [DLA_FMA] (MUL12): Use EMULV.
38339 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38340 that are not needed.
38341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38349 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38351 * math/s_nan.c: Undef __nan.
38352 * math/s_nanf.c: Undef __nanf.
38353 * math/s_nanl.c: Undef __nanl.
38354 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38357 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38359 * math/s_catan.c: Add branch predictions.
38360 * math/s_catanf.c: Likewise.
38361 * math/s_catanh.c: Likewise.
38362 * math/s_catanhf.c: Likewise.
38363 * math/s_catanhl.c: Likewise.
38364 * math/s_catanl.c: Likewise.
38365 * math/s_cexp.c: Likewise.
38366 * math/s_cexpf.c: Likewise.
38367 * math/s_cexpl.c: Likewise.
38368 * math/s_clog.c: Likewise.
38369 * math/s_clog10.c: Likewise.
38370 * math/s_clog10f.c: Likewise.
38371 * math/s_clog10l.c: Likewise.
38372 * math/s_clogf.c: Likewise.
38373 * math/s_clogl.c: Likewise.
38374 * math/s_csqrt.c: Likewise.
38375 * math/s_csqrtf.c: Likewise.
38376 * math/s_csqrtl.c: Likewise.
38377 * math/s_ctanf.c: Likewise.
38378 * math/s_ctanh.c: Likewise.
38379 * math/s_ctanhf.c: Likewise.
38380 * math/s_ctanhl.c: Likewise.
38381 * math/s_ctanl.c: Likewise.
38383 * math/math_private.h: Define __nan, __nanf, __nanl.
38384 * math/s_cacosh.c: Include <math_private.h>.
38385 * math/s_cacoshl.c: Likewise.
38386 * math/s_casinh.c: Likewise.
38387 * math/s_casinhf.c: Likewise.
38388 * math/s_casinhl.c: Likewise.
38389 * math/s_ccos.c: Rely entire on ccosh.
38390 * math/s_ccosf.c: Rely entire on ccoshf.
38391 * math/s_ccosl.c: Rely entirely on ccoshl.
38392 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38393 Remove tests for FE_INVALID.
38394 * math/s_ccoshf.c: Likewise.
38395 * math/s_ccoshl.c: Likewise.
38396 * math/s_csin.c: Likewise.
38397 * math/s_csinf.c: Likewise.
38398 * math/s_csinh.c Likewise.
38399 * math/s_csinhf.c: Likewise.
38400 * math/s_csinhl.c: Likewise.
38401 * math/s_csinl.c: Likewise.
38402 * math/s_ctan.c: Likewise.
38403 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38404 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38405 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38407 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38410 compilation problems.
38412 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38415 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38417 * sysdeps/i386/configure.in: Test for -mfma4 option.
38418 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38419 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38420 COMMON_CPUID_INDEX_80000001.
38421 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38422 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38423 use it if FMA3 is not supported.
38424 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38426 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38427 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38429 2011-10-20 Andreas Schwab <schwab@redhat.com>
38432 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38433 it would create a cycle with a link time dependency.
38435 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38437 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38439 * string/Makefile (strop-tests): Add rawmemchr.
38440 * string/test-rawmemchr.c: New file.
38442 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38443 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38444 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38445 when compiling str{,n}casecmp and when AVX is available. Hook up
38446 new optimized code in initializers.
38448 2011-10-19 Andreas Schwab <schwab@redhat.com>
38450 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38451 __feraiseexcept instead of feraiseexcept.
38453 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38455 * math/math_private.h: Define defaults for libc_fetestexcept and
38457 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38458 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38459 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38460 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38461 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38462 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38463 libc_fetestexcept and libc_feupdateenv.
38465 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38466 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38467 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38468 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38469 libc_feholdexcept_setround.
38471 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38472 Add s_nearbyint-c and s_nearbyintf-c.
38473 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38474 nearbyintf inlines.
38475 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38476 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38477 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38478 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38480 * math/math_private.h: Define defaults for libc_fegetround,
38481 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38482 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38483 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38484 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38485 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38486 standard functions.
38487 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38488 Remove comments and hacks for old compiler versions.
38489 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38490 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38491 libc_feholdexceptl.
38493 2011-10-18 Andreas Schwab <schwab@redhat.com>
38495 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38496 (__feraiseexcept_renamed): Add __NTH.
38497 (feraiseexcept): Add __NTH. Rename local variables to fix
38498 namespace violations.
38500 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38502 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38504 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38506 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38507 recently added interfaces.
38508 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38510 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38511 about macro parameter expansion.
38513 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38514 __NO_MATH_INLINES is defined. Cleanups.
38516 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38517 and __floorf is target has SSE4.1.
38518 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38519 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38520 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38521 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38523 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38525 (floorf): Likewise.
38527 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38529 2011-10-17 Andreas Schwab <schwab@redhat.com>
38531 * misc/sys/cdefs.h: Fix last change.
38533 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38536 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38538 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38540 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38541 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38542 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38543 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38544 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38545 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38546 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38547 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38548 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38549 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38550 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38551 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38552 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38553 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38554 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38555 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38556 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38557 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38558 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38559 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38560 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38561 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38563 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38564 ceil, ceilf, floor, floorf.
38566 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38567 Perform IRELATIVE relocations last.
38569 * elf/do-rel.h: Add another parameter nrelative, replacing the
38570 local variable with the same name. Change name of the function
38571 to end in Rel or Rela (uppercase).
38572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38573 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38574 elf_dynamic_do_##reloc function.
38576 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38578 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38579 is sufficient, at least on modern CPUs.
38581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38583 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38584 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38586 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38588 * math/bits/math-finite.h: Add entries for exp.
38589 * math/e_expl.c: Add __*_finite alias.
38590 * sysdeps/i386/fpu/e_exp.S: Likewise.
38591 * sysdeps/i386/fpu/e_expf.S: Likewise.
38592 * sysdeps/i386/fpu/e_expl.c: Likewise.
38593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38594 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38595 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38596 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38597 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38598 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38599 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38601 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38602 is sufficient, at least on modern CPUs.
38604 * ctype/ctype-info.c (__ctype_init): Define.
38605 * include/ctype.h (__ctype_init): Declare.
38606 (__ctype_b_loc): The variable is always initialized.
38607 (__ctype_toupper_loc): Likewise.
38608 (__ctype_tolower_loc): Likewise.
38609 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38610 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38612 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38614 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38616 * configure.in: Also look in $cxxmachine/include for C++ system
38619 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38621 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38622 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38623 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38624 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38625 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38626 (USE_AS_WMEMCMP): New macro.
38628 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38629 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38630 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38631 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38632 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38633 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38634 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38635 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38636 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38637 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38638 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38639 (USE_AS_WMEMCMP): New macro.
38640 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38641 * sysdeps/string/test-memcmp.c: Update.
38642 Fix simple_wmemcmp.
38644 * wcsmbs/wmemcmp.c: Update.
38645 (WMEMCMP): New macro.
38648 2011-10-12 Andreas Jaeger <aj@suse.de>
38651 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38653 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38655 * libio/iofwide.c (do_length): Avoid warning.
38657 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38659 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38661 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38663 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38664 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38665 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38666 * sysdeps/i386/i686/fpu/e_log.S: New file.
38667 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38668 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38670 * ctype/ctype.h: Add support for inlined isXXX functions when
38671 compiling C++ code.
38673 2011-10-14 Andreas Schwab <schwab@redhat.com>
38675 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38677 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38679 2011-10-13 Roland McGrath <roland@hack.frob.com>
38682 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38684 2011-10-13 Andreas Schwab <schwab@redhat.com>
38686 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38687 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38690 * sysdeps/x86_64/memrchr.S: Check for zero size.
38692 * string/stratcliff.c: Add memrchr tests.
38694 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38697 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38698 rawmemchr-sse2 rawmemchr-sse2-bsf.
38699 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38700 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38701 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38702 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38703 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38704 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38705 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38706 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38707 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38708 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38709 * string/memrchr.c (MEMRCHR): New macro.
38711 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38713 Add integration with gcc's -ffinite-math-only and optimize wrapper
38715 * Versions.def: Define GLIBC_2.15 version for libm.
38716 * math/Makefile (headers): Add bits/math-finite.h.
38717 * math/bits/math-finite.h: New file.
38718 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38719 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38720 * math/e_acoshl.c: Add __*_finite alias.
38721 * math/e_acosl.c: Likewise.
38722 * math/e_asinl.c: Likewise.
38723 * math/e_atan2l.c: Likewise.
38724 * math/e_atanhl.c: Likewise.
38725 * math/e_coshl.c: Likewise.
38726 * math/e_exp10.c: Likewise.
38727 * math/e_exp10f.c: Likewise.
38728 * math/e_exp10l.c: Likewise.
38729 * math/e_exp2l.c: Likewise.
38730 * math/e_fmodl.c: Likewise.
38731 * math/e_gammal_r.c: Likewise.
38732 * math/e_hypotl.c: Likewise.
38733 * math/e_j0l.c: Likewise.
38734 * math/e_j1l.c: Likewise.
38735 * math/e_jnl.c: Likewise.
38736 * math/e_lgammal_r.c: Likewise.
38737 * math/e_log10l.c: Likewise.
38738 * math/e_log2l.c: Likewise.
38739 * math/e_logl.c: Likewise.
38740 * math/e_powl.c: Likewise.
38741 * math/e_sinhl.c: Likewise.
38742 * math/e_sqrtl.c: Likewise.
38743 * math/e_scalb.c: Completely rewritten and optimized.
38744 * math/e_scalbf.c: Likewise.
38745 * math/e_scalbl.c: Likewise.
38746 * math/w_acos.c: Likewise.
38747 * math/w_acosf.c: Likewise.
38748 * math/w_acosl.c: Likewise.
38749 * math/w_acosh.c: Likewise.
38750 * math/w_acoshf.c: Likewise.
38751 * math/w_acoshl.c: Likewise.
38752 * math/w_asin.c: Likewise.
38753 * math/w_asinf.c: Likewise.
38754 * math/w_asinl.c: Likewise.
38755 * math/w_atan2.c: Likewise.
38756 * math/w_atan2f.c: Likewise.
38757 * math/w_atan2l.c: Likewise.
38758 * math/w_atanh.c: Likewise.
38759 * math/w_atanhf.c: Likewise.
38760 * math/w_atanhl.c: Likewise.
38761 * math/w_exp10.c: Likewise.
38762 * math/w_exp10f.c: Likewise.
38763 * math/w_exp10l.c: Likewise.
38764 * math/w_fmod.c: Likewise.
38765 * math/w_fmodf.c: Likewise.
38766 * math/w_fmodl.c: Likewise.
38767 * math/w_j0.c: Likewise.
38768 * math/w_j0f.c: Likewise.
38769 * math/w_j0l.c: Likewise.
38770 * math/w_j1.c: Likewise.
38771 * math/w_j1f.c: Likewise.
38772 * math/w_j1l.c: Likewise.
38773 * math/w_jn.c: Likewise.
38774 * math/w_jnf.c: Likewise.
38775 * math/w_log.c: Likewise.
38776 * math/w_logf.c: Likewise.
38777 * math/w_logl.c: Likewise.
38778 * math/w_log10.c: Likewise.
38779 * math/w_log10f.c: Likewise.
38780 * math/w_log10l.c: Likewise.
38781 * math/w_log2.c: Likewise.
38782 * math/w_log2f.c: Likewise.
38783 * math/w_log2l.c: Likewise.
38784 * math/w_pow.c: Likewise.
38785 * math/w_powf.c: Likewise.
38786 * math/w_powl.c: Likewise.
38787 * math/w_remainder.c: Likewise.
38788 * math/w_remainderf.c: Likewise.
38789 * math/w_remainderl.c: Likewise.
38790 * math/w_scalb.c: Likewise.
38791 * math/w_scalbf.c: Likewise.
38792 * math/w_scalbl.c: Likewise.
38793 * math/w_sqrt.c: Likewise.
38794 * math/w_sqrtf.c: Likewise.
38795 * math/w_sqrtl.c: Likewise.
38796 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38797 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38799 * math/math_private.h: Declare __kernel_standard_f.
38800 * math/w_cosh.c: Remove cruft and optimize a bit.
38801 * math/w_coshf.c: Likewise.
38802 * math/w_coshl.c: Likewise.
38803 * math/w_exp2.c: Likewise.
38804 * math/w_exp2f.c: Likewise.
38805 * math/w_exp2l.c: Likewise.
38806 * math/w_hypot.c: Likewise.
38807 * math/w_hypotf.c: Likewise.
38808 * math/w_hypotl.c: Likewise.
38809 * math/w_lgamma.c: Likewise.
38810 * math/w_lgamma_r.c: Likewise.
38811 * math/w_lgammaf.c: Likewise.
38812 * math/w_lgammaf_r.c: Likewise.
38813 * math/w_lgammal.c: Likewise.
38814 * math/w_lgammal_r.c: Likewise.
38815 * math/w_sinh.c: Likewise.
38816 * math/w_sinhf.c: Likewise.
38817 * math/w_sinhl.c: Likewise.
38818 * math/w_tgamma.c: Likewise.
38819 * math/w_tgammaf.c: Likewise.
38820 * math/w_tgammal.c: Likewise.
38821 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38823 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38824 Minor optimizations. Pretty printing. Remove cruft.
38825 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38826 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38827 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38829 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38830 * sysdeps/i386/fpu/e_asin.S: Likewise.
38831 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38832 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38833 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38834 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38835 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38836 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38837 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38838 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38839 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38840 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38841 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38842 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38843 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38844 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38845 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38846 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38847 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38848 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38849 * sysdeps/i386/fpu/e_log.S: Likewise.
38850 * sysdeps/i386/fpu/e_log10.S: Likewise.
38851 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38852 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38853 * sysdeps/i386/fpu/e_log2.S: Likewise.
38854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38855 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38856 * sysdeps/i386/fpu/e_logf.S: Likewise.
38857 * sysdeps/i386/fpu/e_logl.S: Likewise.
38858 * sysdeps/i386/fpu/e_pow.S: Likewise.
38859 * sysdeps/i386/fpu/e_powf.S: Likewise.
38860 * sysdeps/i386/fpu/e_powl.S: Likewise.
38861 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38862 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38863 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38864 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38865 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38866 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38867 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38868 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38869 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38871 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38873 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38874 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38875 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38876 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38877 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38878 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38879 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38880 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38881 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38883 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38884 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38886 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38887 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38888 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38890 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38891 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38892 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38893 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38894 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38895 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38896 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38897 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38898 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38899 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38900 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38901 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38902 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38903 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38904 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38905 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38906 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38907 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38908 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38909 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38910 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38911 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38912 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38916 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38917 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38920 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38925 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38926 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38927 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38935 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38936 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38938 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38939 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38940 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38941 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38942 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38944 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38946 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38947 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38949 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38951 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38952 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38953 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38954 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38955 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38956 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38957 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38958 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38959 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38960 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38961 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38962 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38963 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38964 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38965 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38966 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38967 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38968 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38969 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38970 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38971 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38972 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38973 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38974 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38975 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38976 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38978 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38979 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38980 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38981 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38982 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38983 (__isnanf): Likewise.
38984 (__isinf_ns): Likewise.
38985 (__isinf_nsf): Likewise.
38986 (__finite): Likewise.
38987 (__finitef): Likewise.
38988 (__ieee754_sqrt): Define as macro.
38989 (__ieee754_sqrtf): Define as macro.
38990 (__ieee754_sqrtl): Define as macro.
38991 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38993 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38994 __FINITE_MATH_ONLY__ consistent.
38995 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38997 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38999 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39002 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39004 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39006 * po/ja.po: Update from translation team.
39008 2011-10-08 Roland McGrath <roland@hack.frob.com>
39010 * locale/programs/locarchive.c (prepare_address_space): New function.
39011 (create_archive, enlarge_archive, open_archive): Use it.
39013 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39014 inside [SHARED], where it is used.
39016 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39018 * nss/getent.c (netgroup_keys): Remove unused variable.
39019 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39021 2011-10-08 Ulrich Drepper <drepper@gmail.com>
39023 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39024 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39026 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39027 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39028 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39029 * math/Makefile (libm-calls): Add s_isinf_ns.
39030 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39031 * math/multc3.c: Likewise.
39032 * math/s_casin.c: Likewise.
39033 * math/s_casinf.c: Likewise.
39034 * math/s_casinl.c: Likewise.
39035 * math/s_ccos.c: Likewise.
39036 * math/s_ccosf.c: Likewise.
39037 * math/s_ccosl.c: Likewise.
39038 * math/s_ctan.c: Likewise.
39039 * math/s_ctanf.c: Likewise.
39040 * math/s_ctanh.c: Likewise.
39041 * math/s_ctanhf.c: Likewise.
39042 * math/s_ctanhl.c: Likewise.
39043 * math/s_ctanl.c: Likewise.
39044 * math/w_fmod.c: Likewise.
39045 * math/w_fmodf.c: Likewise.
39046 * math/w_fmodl.c: Likewise.
39047 * math/w_remainder.c: Likewise.
39048 * math/w_remainderf.c: Likewise.
39049 * math/w_remainderl.c: Likewise.
39050 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39051 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39052 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39053 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39054 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39055 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39056 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39057 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39059 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39061 * stdio-common/printf_fphex.c: Likewise.
39062 * stdio-common/printf_size.c: Likewise.
39064 * math/e_exp10.c: Include math_private.h using <...> not "...".
39065 * math/e_exp10f.c: Likewise.
39066 * math/e_exp10l.c: Likewise.
39067 * math/e_exp2l.c: Likewise.
39068 * math/e_j0l.c: Likewise.
39069 * math/e_j1l.c: Likewise.
39070 * math/e_jnl.c: Likewise.
39071 * math/e_lgammal_r.c: Likewise.
39072 * math/e_rem_pio2l.c: Likewise.
39073 * math/e_scalb.c: Likewise.
39074 * math/e_scalbf.c: Likewise.
39075 * math/e_scalbl.c: Likewise.
39076 * math/k_cosl.c: Likewise.
39077 * math/k_sinl.c: Likewise.
39078 * math/k_tanl.c: Likewise.
39079 * math/s_cacoshf.c: Likewise.
39080 * math/s_catan.c: Likewise.
39081 * math/s_catanf.c: Likewise.
39082 * math/s_catanh.c: Likewise.
39083 * math/s_catanhf.c: Likewise.
39084 * math/s_catanhl.c: Likewise.
39085 * math/s_catanl.c: Likewise.
39086 * math/s_ccosh.c: Likewise.
39087 * math/s_ccoshf.c: Likewise.
39088 * math/s_ccoshl.c: Likewise.
39089 * math/s_cexp.c: Likewise.
39090 * math/s_cexpf.c: Likewise.
39091 * math/s_cexpl.c: Likewise.
39092 * math/s_clog.c: Likewise.
39093 * math/s_clog10.c: Likewise.
39094 * math/s_clog10f.c: Likewise.
39095 * math/s_clog10l.c: Likewise.
39096 * math/s_clogf.c: Likewise.
39097 * math/s_clogl.c: Likewise.
39098 * math/s_csin.c: Likewise.
39099 * math/s_csinf.c: Likewise.
39100 * math/s_csinh.c: Likewise.
39101 * math/s_csinhf.c: Likewise.
39102 * math/s_csinhl.c: Likewise.
39103 * math/s_csinl.c: Likewise.
39104 * math/s_csqrt.c: Likewise.
39105 * math/s_csqrtf.c: Likewise.
39106 * math/s_csqrtl.c: Likewise.
39107 * math/s_ctan.c: Likewise.
39108 * math/s_ctanf.c: Likewise.
39109 * math/s_ctanh.c: Likewise.
39110 * math/s_ctanhf.c: Likewise.
39111 * math/s_ctanhl.c: Likewise.
39112 * math/s_ctanl.c: Likewise.
39113 * math/s_ldexp.c: Likewise.
39114 * math/s_ldexpf.c: Likewise.
39115 * math/s_ldexpl.c: Likewise.
39116 * math/s_significand.c: Likewise.
39117 * math/s_significandf.c: Likewise.
39118 * math/s_significandl.c: Likewise.
39119 * math/w_acos.c: Likewise.
39120 * math/w_acosf.c: Likewise.
39121 * math/w_acosh.c: Likewise.
39122 * math/w_acoshf.c: Likewise.
39123 * math/w_acoshl.c: Likewise.
39124 * math/w_acosl.c: Likewise.
39125 * math/w_asin.c: Likewise.
39126 * math/w_asinf.c: Likewise.
39127 * math/w_asinl.c: Likewise.
39128 * math/w_atan2.c: Likewise.
39129 * math/w_atan2f.c: Likewise.
39130 * math/w_atan2l.c: Likewise.
39131 * math/w_atanh.c: Likewise.
39132 * math/w_atanhf.c: Likewise.
39133 * math/w_atanhl.c: Likewise.
39134 * math/w_cosh.c: Likewise.
39135 * math/w_coshf.c: Likewise.
39136 * math/w_coshl.c: Likewise.
39137 * math/w_dremf.c: Likewise.
39138 * math/w_exp10.c: Likewise.
39139 * math/w_exp10f.c: Likewise.
39140 * math/w_exp10l.c: Likewise.
39141 * math/w_exp2.c: Likewise.
39142 * math/w_exp2f.c: Likewise.
39143 * math/w_fmod.c: Likewise.
39144 * math/w_fmodf.c: Likewise.
39145 * math/w_fmodl.c: Likewise.
39146 * math/w_hypot.c: Likewise.
39147 * math/w_hypotf.c: Likewise.
39148 * math/w_hypotl.c: Likewise.
39149 * math/w_j0.c: Likewise.
39150 * math/w_j0f.c: Likewise.
39151 * math/w_j0l.c: Likewise.
39152 * math/w_j1.c: Likewise.
39153 * math/w_j1f.c: Likewise.
39154 * math/w_j1l.c: Likewise.
39155 * math/w_jn.c: Likewise.
39156 * math/w_jnf.c: Likewise.
39157 * math/w_jnl.c: Likewise.
39158 * math/w_lgamma.c: Likewise.
39159 * math/w_lgamma_r.c: Likewise.
39160 * math/w_lgammaf.c: Likewise.
39161 * math/w_lgammaf_r.c: Likewise.
39162 * math/w_lgammal.c: Likewise.
39163 * math/w_lgammal_r.c: Likewise.
39164 * math/w_log.c: Likewise.
39165 * math/w_log10.c: Likewise.
39166 * math/w_log10f.c: Likewise.
39167 * math/w_log10l.c: Likewise.
39168 * math/w_log2.c: Likewise.
39169 * math/w_log2f.c: Likewise.
39170 * math/w_log2l.c: Likewise.
39171 * math/w_logf.c: Likewise.
39172 * math/w_logl.c: Likewise.
39173 * math/w_pow.c: Likewise.
39174 * math/w_powf.c: Likewise.
39175 * math/w_powl.c: Likewise.
39176 * math/w_remainder.c: Likewise.
39177 * math/w_remainderf.c: Likewise.
39178 * math/w_remainderl.c: Likewise.
39179 * math/w_scalb.c: Likewise.
39180 * math/w_scalbf.c: Likewise.
39181 * math/w_scalbl.c: Likewise.
39182 * math/w_sinh.c: Likewise.
39183 * math/w_sinhf.c: Likewise.
39184 * math/w_sinhl.c: Likewise.
39185 * math/w_sqrt.c: Likewise.
39186 * math/w_sqrtf.c: Likewise.
39187 * math/w_sqrtl.c: Likewise.
39188 * math/w_tgamma.c: Likewise.
39189 * math/w_tgammaf.c: Likewise.
39190 * math/w_tgammal.c: Likewise.
39192 * po/ja.po: Update from translation team.
39194 2011-09-29 Andreas Jaeger <aj@suse.de>
39197 * sunrpc/netname.c (netname2host): Fix logic.
39201 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39203 * math/w_remainder.c (__remainder): Likewise.
39204 * math/w_remainderf.c (__remainderf): Likewise.
39205 * math/libm-test.inc (remainder_test): Add test cases.
39207 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39209 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39212 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39214 * string/test-memcmp.c: Avoid unncessary #defines.
39215 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39217 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39219 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39220 Use new sse2 version for core i3 - i7 as it's faster
39221 than sse42 version.
39222 (bit_Prefer_PMINUB_for_stringop): New.
39223 * sysdeps/x86_64/rawmemchr.S: Update.
39224 Replace with faster SSE2 version.
39225 * sysdeps/x86_64/memrchr.S: New file.
39226 * sysdeps/x86_64/memchr.S: Update.
39227 Replace with faster SSE2 version.
39229 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39231 * elf/dl-load.c (lose): Add cast to avoid warning.
39233 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39235 * po/ca.po: Update from translation team.
39237 * inet/getnetgrent_r.c: Hook up nscd.
39238 * nscd/Makefile (routines): Add nscd_netgroup.
39239 (nscd-modules): Add netgroupcache.
39240 (CFLAGS-netgroupcache.c): Define.
39241 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39242 (cache_search): Add const to second parameter.
39243 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39245 (dbs): Add netgrdb entry.
39246 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39247 (verify_persistent_db): Handle netgrdb.
39248 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39249 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39251 (netgroup_response_header): Define.
39252 (innetgroup_response_header): Define.
39253 (datahead): Add netgroup_response_header and innetgroup_response_header
39255 * nscd/nscd.conf: Add entries for netgroup cache.
39256 * nscd/nscd.h (dbtype): Add netgrdb.
39257 (_PATH_NSCD_NETGROUP_DB): Define.
39258 (netgroup_iov_disabled): Declare.
39259 (xmalloc, xcalloc, xrealloc): Move declarations here.
39260 (cache_search): Adjust prototype.
39261 Add netgroup-related prototypes.
39262 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39263 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39264 (__nscd_innetgr): Declare.
39265 * nscd/selinux.c (perms): Use access_vector_t as element type and
39266 add netgroup-related initializers.
39267 * nscd/netgroupcache.c: New file.
39268 * nscd/nscd_netgroup.c: New file.
39269 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39270 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39271 For four parameters use innetgr.
39272 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39273 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39274 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39275 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39277 * nscd/connections.c (register_traced_file): Don't register file
39278 for disabled databases.
39280 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39282 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39284 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39285 from tree and freeing node.
39287 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39289 * nss/nsswitch.c (__nss_database_lookup): Handle
39290 nss_parse_service_list out of memory case.
39292 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39294 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39295 out of memory case.
39297 2011-10-04 Andreas Schwab <schwab@redhat.com>
39299 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39300 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39302 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39303 elf_machine_rela, elf_machine_lazy_rel.
39304 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39305 (ELF_DYNAMIC_DO_REL): Likewise.
39306 (ELF_DYNAMIC_DO_RELA): Likewise.
39307 (ELF_DYNAMIC_RELOCATE): Likewise.
39308 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39309 to ELF_DYNAMIC_DO_REL.
39310 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39311 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39312 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39314 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39315 skip_ifunc, don't call ifunc function if non-zero.
39316 (elf_machine_rela): Likewise.
39317 (elf_machine_lazy_rel): Likewise.
39318 (elf_machine_lazy_rela): Likewise.
39319 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39320 (elf_machine_lazy_rel): Likewise.
39321 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39323 (elf_machine_lazy_rel): Likewise.
39324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39326 (elf_machine_lazy_rel): Likewise.
39327 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39328 (elf_machine_lazy_rel): Likewise.
39329 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39330 (elf_machine_lazy_rel): Likewise.
39331 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39332 (elf_machine_lazy_rel): Likewise.
39333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39334 (elf_machine_lazy_rel): Likewise.
39335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39336 (elf_machine_lazy_rel): Likewise.
39337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39338 (elf_machine_lazy_rel): Likewise.
39340 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39342 * nss/nss_files/files-init.c (_nss_files_init): Use static
39343 initialization for all the *_traced_file variables.
39345 2011-09-28 Andreas Schwab <schwab@redhat.com>
39347 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39349 2011-09-27 Roland McGrath <roland@hack.frob.com>
39352 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39354 2011-09-27 Andreas Schwab <schwab@redhat.com>
39356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39357 Reread the line before reparsing it.
39359 2011-09-26 Andreas Schwab <schwab@redhat.com>
39361 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39363 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39364 Maxim Kuvyrkov <maxim@codesourcery.com>
39365 Joseph Myers <joseph@codesourcery.com>
39367 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39368 if needed for __stack_chk_guard.
39370 2011-09-19 Roland McGrath <roland@hack.frob.com>
39372 * sysdeps/posix/spawni.c (script_execute): Always define it.
39373 It will be optimized away if unused.
39374 (maybe_script_execute): New function.
39375 (__spawni): Call it.
39377 * Makerules: Don't include tls.make.
39378 (config-tls): Always set to thread.
39379 * tls.make.c: File removed.
39381 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39383 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39384 * config.make.in (CPPFLAGS-config): New substituted variable.
39386 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39388 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39391 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39392 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39394 2011-09-15 Roland McGrath <roland@hack.frob.com>
39396 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39397 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39399 (CALL_FAIL): Likewise.
39400 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39401 (CALL_FAIL): Macro removed.
39402 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39404 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39406 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39407 for __FINITE_MATH_ONLY__ == 1.
39409 2011-09-15 Andreas Schwab <schwab@redhat.com>
39411 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39412 __ieee754_sqrt instead of sqrt.
39413 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39414 __ieee754_sqrtf instead of sqrtf.
39415 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39416 __floorf instead of floorf.
39417 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39418 __floorf, __truncf instead of floorf, truncf.
39420 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39422 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39424 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39425 __extern_always_inline.
39426 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39429 2011-09-14 Andreas Schwab <schwab@redhat.com>
39431 * elf/rtld.c (dl_main): Also relocate in dependency order when
39432 doing symbol dependency testing.
39434 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39437 Always define `refsym'.
39439 2011-09-13 Andreas Schwab <schwab@redhat.com>
39441 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39442 (__FD_ELT): Renamed from __FDELT.
39443 * misc/bits/select2.h (__FD_ELT): Likewise.
39444 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39445 __FD_MASK instead of __FDELT, __FDMASK.
39446 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39448 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39451 * elf/Makefile (gen-ldd): Fix pattern.
39453 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39454 (init_tls): Likewise.
39456 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39458 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39460 2011-09-12 Andreas Schwab <schwab@redhat.com>
39462 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39463 `struct cmsghdr *' instead of `void *'.
39464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39467 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39469 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39471 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39472 ldd_rewrite_script.
39474 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39476 * configure.in: Remove --with-tls option.
39477 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39478 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39479 out in case it is missing.
39480 * sysdeps/ia64/elf/configure.in: Likewise.
39481 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39482 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39483 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39484 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39485 * sysdeps/sh/elf/configure.in: Likewise.
39486 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39487 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39488 * sysdeps/x86_64/elf/configure.in: Likewise.
39489 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39490 * sysdeps/mach/hurd/tls.h: Likewise.
39493 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39496 * configure.in: Fix use of AC_INIT.
39498 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39500 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39502 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39504 * malloc/hooks.c: Likewise.
39507 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39508 variables statically.
39509 (narenas): Initialize.
39510 (list_lock): Initialize.
39511 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39512 initializtion of main_arena and list_lock. Small cleanups.
39513 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39514 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39515 Add initializers to main_arena and mp_.
39516 (malloc_state): Remove pagesize member. Change all users to use
39519 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39520 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39521 is always initialized.
39523 * malloc/malloc.c: Removed unused configurations and dead code.
39524 * malloc/arena.c: Likewise.
39525 * malloc/hooks.c: Likewise.
39526 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39528 * include/tls.h: Removed. USE___THREAD must always be defined.
39529 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39530 * elf/dl-libc.c: Likewise.
39531 * elf/dl-tsd.c: Likewise.
39532 * include/errno.h: Likewise.
39533 * include/netdb.h: Likewise.
39534 * include/resolv.h: Likewise.
39535 * inet/herrno-loc.c: Likewise.
39536 * inet/herrno.c: Likewise.
39537 * malloc/arena.c: Likewise.
39538 * malloc/hooks.c: Likewise.
39539 * malloc/malloc.c: Likewise.
39540 * resolv/res-state.c: Likewise.
39541 * resolv/res_libc.c: Likewise.
39542 * sysdeps/i386/dl-machine.h: Likewise.
39543 * sysdeps/ia64/dl-machine.h: Likewise.
39544 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39545 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39546 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39547 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39548 * sysdeps/sh/dl-machine.h: Likewise.
39549 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39550 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39551 * sysdeps/unix/i386/sysdep.S: Likewise.
39552 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39553 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39555 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39556 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39557 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39558 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39562 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39563 * sysdeps/x86_64/dl-machine.h: Likewise.
39564 * tls.make.c: Likewise.
39566 * configure.in: Remove --with-__thread option. Make tests for
39567 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39568 tls_model attribute fail if no support is available. Remove
39570 * Makeconfig: Adjust for dropped configure option. All features are
39572 * Makerules: Likewise.
39573 * Versions.def: Likewise.
39574 * argp/argp-fmtstream.c: Likewise.
39575 * argp/argp-fmtstream.h: Likewise.
39576 * argp/argp-help.c: Likewise.
39577 * assert/assert.c: Likewise.
39578 * config.h.in: Likewise.
39579 * config.make.in: Likewise.
39580 * configure: Likewise.
39581 * configure.in: Likewise.
39582 * csu/Versions: Likewise.
39583 * csu/init.c: Likewise.
39584 * elf/tst-audit2.c: Likewise.
39585 * elf/tst-tls10.c: Likewise.
39586 * elf/tst-tls10.h: Likewise.
39587 * elf/tst-tls11.c: Likewise.
39588 * elf/tst-tls12.c: Likewise.
39589 * elf/tst-tls14.c: Likewise.
39590 * elf/tst-tlsmod11.c: Likewise.
39591 * elf/tst-tlsmod12.c: Likewise.
39592 * elf/tst-tlsmod13.c: Likewise.
39593 * elf/tst-tlsmod13a.c: Likewise.
39594 * elf/tst-tlsmod14a.c: Likewise.
39595 * elf/tst-tlsmod15b.c: Likewise.
39596 * elf/tst-tlsmod16a.c: Likewise.
39597 * elf/tst-tlsmod16b.c: Likewise.
39598 * elf/tst-tlsmod7.c: Likewise.
39599 * elf/tst-tlsmod8.c: Likewise.
39600 * elf/tst-tlsmod9.c: Likewise.
39601 * gmon/gmon.c: Likewise.
39602 * grp/fgetgrent_r.c: Likewise.
39603 * grp/putgrent.c: Likewise.
39604 * hurd/fopenport.c: Likewise.
39605 * include/libc-symbols.h: Likewise.
39606 * include/tls.h: Likewise.
39607 * intl/gettextP.h: Likewise.
39608 * intl/loadinfo.h: Likewise.
39609 * locale/global-locale.c: Likewise.
39610 * locale/localeinfo.h: Likewise.
39611 * mach/devstream.c: Likewise.
39612 * malloc/arena.c: Likewise.
39613 * malloc/set-freeres.c: Likewise.
39614 * misc/err.c: Likewise.
39615 * misc/getttyent.c: Likewise.
39616 * misc/mntent_r.c: Likewise.
39617 * posix/getopt.c: Likewise.
39618 * posix/wordexp.c: Likewise.
39619 * pwd/fgetpwent_r.c: Likewise.
39620 * resolv/Versions: Likewise.
39621 * resolv/res_hconf.c: Likewise.
39622 * shadow/fgetspent_r.c: Likewise.
39623 * shadow/putspent.c: Likewise.
39624 * stdio-common/printf_fphex.c: Likewise.
39625 * stdio-common/tmpfile.c: Likewise.
39626 * stdlib/abort.c: Likewise.
39627 * stdlib/fmtmsg.c: Likewise.
39628 * sunrpc/auth_unix.c: Likewise.
39629 * sunrpc/clnt_perr.c: Likewise.
39630 * sunrpc/clnt_tcp.c: Likewise.
39631 * sunrpc/clnt_udp.c: Likewise.
39632 * sunrpc/clnt_unix.c: Likewise.
39633 * sunrpc/openchild.c: Likewise.
39634 * sunrpc/svc_simple.c: Likewise.
39635 * sunrpc/svc_tcp.c: Likewise.
39636 * sunrpc/svc_udp.c: Likewise.
39637 * sunrpc/svc_unix.c: Likewise.
39638 * sunrpc/xdr.c: Likewise.
39639 * sunrpc/xdr_array.c: Likewise.
39640 * sunrpc/xdr_rec.c: Likewise.
39641 * sunrpc/xdr_ref.c: Likewise.
39642 * sunrpc/xdr_stdio.c: Likewise.
39644 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39646 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39648 2011-07-03 Andreas Jaeger <aj@suse.de>
39650 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39651 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39652 regenerate with gen-libm-tests.pl.
39654 2010-05-12 Petr Baudis <pasky@suse.cz>
39657 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39658 around j0() zero points by switching to j1().
39659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39662 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39664 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39666 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39668 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39671 Patch in part by Pavel Roskin <proski@gnu.org>.
39674 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39676 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39677 Free memory block if necessary.
39680 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39681 be NULL. Don't lock in this case.
39683 2011-09-09 Roland McGrath <roland@hack.frob.com>
39685 * elf/elf.h (ELFOSABI_GNU): New macro.
39686 (ELFOSABI_LINUX): Define to that.
39688 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39690 * string/strncat.c (strncat): Undef the symbol in case it has been
39691 defined in bits/string.h.
39693 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39695 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39697 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39700 2011-08-17 Andreas Jaeger <aj@suse.de>
39702 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39704 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39705 Ian Lance Taylor <iant@google.com>
39707 * math/libm-test.inc (lround_test): New testcase.
39708 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39710 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39712 * Makefile: Remove support for automatic cvs check-ins.
39713 * Makerules: Likewise.
39714 * config.make.in: Likewise.
39715 * configure.in: Likewise.
39716 * intl/Makefile: Likewise.
39717 * locale/Makefile: Likewise.
39718 * po/Makefile: Likewise.
39719 * posix/Makefile: Likewise.
39720 * sysdeps/gnu/Makefile: Likewise.
39721 * sysdeps/mach/hurd/Makefile: Likewise.
39722 * sysdeps/sparc/sparc32/Makefile: Likewise.
39725 * posix/Makefile (bug-regex32-ENV): Define.
39726 Patch by John Stanley <jpsinthemix@verizon.net>.
39728 * misc/Makefile (headers): Add bits/select2.h.
39729 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39730 * misc/bits/select2.h: New file.
39731 * include/bits/select2.h: New file.
39732 * debug/Makefile (routines): Add fdelt_chk.
39733 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39734 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39736 * debug/fdelt_chk.c: New file.
39738 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39739 * wcsmbs/test-wmemcmp.c: Likewise.
39740 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39741 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39743 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39745 * string/Makefile (strop-tests): Add memcmp.
39746 * string/test-wmemcmp.c: New file.
39747 * string/test-memcmp.c: Add wmemcmp support.
39749 2011-09-08 Roland McGrath <roland@hack.frob.com>
39752 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39755 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39756 garbage value in a __mach_port_mod_refs call in the cases of the
39757 task-self and thread-self ports.
39759 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39761 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39763 2011-09-08 Andreas Schwab <schwab@redhat.com>
39765 * elf/dl-load.c (lose): Check for non-null L.
39767 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39769 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39771 * elf/dl-libc.c (dlerror_run): Pass back error code from
39775 * elf/dl-load.c (lose): Free l_origin if it is valid.
39777 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39779 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39780 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39781 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39782 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39783 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39784 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39786 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39788 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39789 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39790 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39791 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39792 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39793 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39794 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39795 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39796 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39797 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39799 2011-08-15 Alan Modra <amodra@gmail.com>
39802 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39803 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39804 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39805 ppc_mcount to static-only-routines.
39806 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39808 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39809 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39811 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39813 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39814 for finite and infinity parameters.
39816 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39819 and add nop instructions for throughput optimization.
39820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39822 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39824 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39825 aligned copy for power7 with vector-scalar instructions.
39826 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39828 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39833 2011-09-07 Andreas Schwab <schwab@redhat.com>
39836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39839 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39841 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39842 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39843 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39844 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39847 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39849 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39850 Forgot to demangle the pointer.
39852 * sysdeps/i386/sysdep.h: Define atom_text_section.
39853 * sysdeps/x86_64/sysdep.h: Likewise.
39854 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39855 section with atom_text_section.
39856 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39857 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39858 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39860 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39862 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39863 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39864 already be defined. Change to take two parameters and don't assign
39865 result to variable. Adjust all users.
39866 Define INTERNAL_GETTIME if not already defined.
39867 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39870 HAVE_CLOCK_GETTIME_VSYSCALL.
39871 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39874 gettimeofday vsyscall, just use time.
39876 2011-09-06 Andreas Schwab <schwab@redhat.com>
39878 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39881 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39883 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39885 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39887 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39889 syscall if possible.
39891 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39893 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39894 e_ident. Don't pass to find_mapsXX.
39895 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39897 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39900 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39901 * sysdeps/x86_64/multiarch/strchr.S: Update.
39902 Check bit_slow_BSF bit.
39903 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39904 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39905 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39907 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39910 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39912 (tryshell): Define.
39913 (__spawni): Change last parameter to be flag. Test
39914 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39915 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39916 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39917 * posix/spawni.c: Likewise.
39918 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39919 * posix/spawnp.c: Likewise. Change normal version to use
39920 SPAWN_XFLAGS_USE_PATH.
39921 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39922 SPAWN_XFLAGS_TRY_SHELL.
39925 * posix/glob.h: Remove gcc 1.x support.
39928 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39930 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39933 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39935 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39936 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39937 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39938 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39939 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39940 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39942 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39944 * sysdeps/x86_64/wcscmp.S: New file.
39946 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39947 wcscmp-c wcscmp-sse2
39948 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39949 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39950 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39951 * wcsmbs/wcscmp.c: Allow renaming.
39953 2011-09-05 David S. Miller <davem@davemloft.net>
39955 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39956 stack slot, rather than the struct return pointer slot.
39957 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39958 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39960 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39962 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39964 * po/ja.po: Update from translation team.
39967 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39968 kernel in 64-bit binaries.
39970 2011-09-01 David S. Miller <davem@davemloft.net>
39972 * elf/elf.h (HWCAP_SPARC_*): Move to..
39973 * sysdeps/sparc/sysdep.h: this new file and add new values.
39974 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39975 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39976 _DL_HWCAP_COUNT to 24.
39977 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39979 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39980 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39981 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39983 instead of magic constants.
39984 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39986 2011-08-31 David S. Miller <davem@davemloft.net>
39988 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39990 Reimplement to do errno handling inline.
39991 (SYSCALL_ERROR_HANDLER): New macro.
39992 (__SYSCALL_STRING): Do not do errno handling in asm.
39993 (__CLONE_SYSCALL_STRING): Delete.
39994 (__INTERNAL_SYSCALL_STRING): Delete.
39995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39996 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39997 (PSEUDO): Reimplement to do errno handling inline.
39998 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39999 (SYSCALL_ERROR_HANDLER): New macro.
40000 (__SYSCALL_STRING): Do not do errno handling in asm.
40001 (__CLONE_SYSCALL_STRING): Delete.
40002 (__INTERNAL_SYSCALL_STRING): Delete.
40003 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40004 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40006 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40007 (inline_syscall*): Add 'err' argument.
40008 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40009 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40010 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40011 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40013 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40014 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40016 2011-08-30 Andreas Schwab <schwab@redhat.com>
40018 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40020 2011-08-29 Jiri Olsa <jolsa@redhat.com>
40022 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40025 2011-08-24 David S. Miller <davem@davemloft.net>
40027 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40029 2011-08-24 Andreas Schwab <schwab@redhat.com>
40031 * elf/Makefile: Add rules to build and run unload8 test.
40032 * elf/unload8.c: New file.
40033 * elf/unload8mod1.c: New file.
40034 * elf/unload8mod1x.c: New file.
40035 * elf/unload8mod2.c: New file.
40036 * elf/unload8mod3.c: New file.
40038 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40041 2011-08-23 David S. Miller <davem@davemloft.net>
40043 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40044 subtract stack bias.
40045 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40046 %sp not %fp in calculations.
40047 (_JMPBUF_UNWINDS_ADJ): Likewise.
40049 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40050 (aio_suspend): Call it to force an exception region around the
40051 AIO_MISC_WAIT() invocation.
40053 2011-08-23 Andreas Schwab <schwab@redhat.com>
40055 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40058 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40060 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40062 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40063 and <dl-machine.h>.
40064 (Elf64_FuncDesc): Remove.
40066 2011-08-22 David S. Miller <davem@davemloft.net>
40068 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40069 sigaltstack check, add missing cfi directives.
40070 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40071 missing cfi directives, and sigaltstack handling.
40073 2011-08-16 Andreas Schwab <schwab@redhat.com>
40076 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40077 object is seen twice.
40078 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40080 * elf/Makefile (distribute): Add tst-initorder2.c.
40081 (tests): Add tst-initorder2.
40082 (modules-names): Add tst-initorder2a tst-initorder2b
40083 tst-initorder2c tst-initorder2d. Add rules to build them.
40084 ($(objpfx)tst-initorder2.out): New rule.
40085 * elf/tst-initorder2.c: New file.
40086 * elf/tst-initorder2.exp: New file.
40088 2011-08-22 Andreas Schwab <schwab@redhat.com>
40090 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40092 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40093 dependencies back to end of function.
40095 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40096 $(elfobjdir)/ld.so.
40098 2011-08-21 Ulrich Drepper <drepper@gmail.com>
40100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40101 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40102 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40103 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40104 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40105 of __vdso_gettimeofday.
40106 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40107 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40109 (_libc_vdso_platform_setup): Remove initialization of
40110 __vdso_gettimeofday and __vdso_time.
40112 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40114 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40115 and fgetc_unlocked.
40116 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40119 * elf/dl-open.c (add_to_global): Report additions to the global scope
40120 for LD_DEBUG=scopes.
40121 (dl_open_worker): Also print scope of newly loaded dependencies.
40122 (_dl_show_scope): Indicate if there is no scope.
40125 * stdio-common/Makefile (tests): Add bug24.
40126 * stdio-common/bug24.c: New file.
40128 2011-08-19 Andreas Jaeger <aj@suse.de>
40131 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40132 non-existant file when using close-on-exec mode.
40134 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40136 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40137 the very first instruction.
40139 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40140 the CFI state in the end.
40141 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40142 inclusion of dl-trampoline.h.
40143 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40145 2011-08-19 Andreas Schwab <schwab@redhat.com>
40147 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40148 expectations for long double.
40150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40151 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40153 2011-08-14 David S. Miller <davem@davemloft.net>
40155 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40156 artificual limit depends upon the system page size.
40158 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40160 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40161 * resolv/Makefile: Define CFLAGS-libresolv.
40163 2011-08-17 Andreas Schwab <schwab@redhat.com>
40165 * nss/makedb.c (compute_tables): Make variables used in nested
40168 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40170 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40171 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40172 if buffer was too small.
40174 * elf/pldd.c (main): Attach to all threads in the process.
40175 Rewrite /proc handling to use *at functions.
40177 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40179 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40180 specifies first scope to show.
40181 (dl_open_worker): Update callers. Move printing scope of new
40182 object to before the relocation.
40183 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40184 * sysdeps/generic/ldsodefs.h: Update declaration.
40186 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40187 string for the scope number.
40189 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40191 * nscd/servicescache.c (cache_addserv): Make sure written is always
40194 2011-08-14 Roland McGrath <roland@hack.frob.com>
40196 * sysdeps/i386/i486/bits/atomic.h
40197 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40198 statement expression, so as to suppress "set but not used" warning.
40199 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40201 * string/strncat.c (STRNCAT): Use prototype definition.
40203 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40204 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40206 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40207 (localedef-modules): Add localedef.
40208 (locale-modules): Add locale.
40210 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40211 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40212 to avoid a warning.
40214 2011-08-14 David S. Miller <davem@davemloft.net>
40216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40217 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40219 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40221 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40222 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40223 * elf/rtld.c (dl_main): Set l_name of vDSO.
40224 Call _dl_show_scope when DL_DEBUG_SCOPES.
40225 (process_dl_debug): Recognize scopes flag and also set it for all.
40226 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40227 Declare _dl_show_scope.
40229 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40230 (do_dlopen): Pass caller_dlopen to dl_open.
40231 (__libc_dlopen_mode): Initialize caller_dlopen.
40233 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40234 of libc. Make tolower call locale-independent. Optimize a bit by
40235 using isdigit instead of isalnum.
40236 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40238 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40240 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40241 was a dependency or dynamically loaded.
40243 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40245 * intl/l10nflist.c: Allow architecture-specific pop function.
40246 * sysdeps/x86_64/l10nflist.c: New file.
40248 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40251 2011-08-10 Andreas Schwab <schwab@redhat.com>
40253 * include/dirent.h: Add libc_hidden_proto for scandirat and
40254 scandirat64. Don't declare __scandirat64.
40255 * dirent/scandirat.c: Add libc_hidden_def.
40256 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40257 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40259 2011-08-10 David S. Miller <davem@davemloft.net>
40261 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40263 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40264 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40267 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40269 * Versions.def [libc]: Add GLIBC_2.15.
40270 * dirent/Makefile (routines): Add scandirat and scandirat64.
40271 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40273 * dirent/dirent.h: Declare scandirat and scandirat64.
40274 * dirent/scandirat.c: New file.
40275 * dirent/scandirat64.c: New file.
40276 * sysdeps/wordsize-64/scandirat.c: New file.
40277 * sysdeps/wordsize-64/scandirat64.c: New file.
40278 * dirent/opendir.c: Define opendirat.
40279 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40281 * dirent/scandir64.c: Adjust for scandir.c change.
40282 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40283 __scandirat64, and __scandir_cancel_handler.
40284 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40285 additional parameter and use openat instead of open (outside of ld.so).
40286 Add new __opendir as wrapper around __opendirat.
40287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40288 here without requiring old scandirat implementation.
40290 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40292 * dirent/scandir.c (cancel_handler): Renamed to
40293 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40294 defined. Adjust users.
40295 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40296 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40298 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40300 * string/test-string.h (IMPL): Use __STRING to expand name and then
40303 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40306 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40308 * string/Makefile: Update.
40309 (strop-tests): Append strncat.
40310 * string/test-wcscmp.c: New file.
40311 New comprehensive test for wcscmp.
40312 * string/test-strcmp.c: Update.
40313 (WIDE): New define.
40315 2011-07-22 Andreas Schwab <schwab@redhat.com>
40317 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40320 2011-07-26 Andreas Schwab <schwab@redhat.com>
40322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40323 encoding to ACE if AI_IDN.
40325 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40328 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40330 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40332 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40333 Fix overflow bug in strncat.
40334 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40336 * string/test-strncat.c: Update.
40337 Add new tests for checking overflow bugs.
40339 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40342 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40343 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40344 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40345 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40346 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40347 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40348 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40349 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40352 (USE_AS_STRCAT): Define.
40353 Add strcat and strncat support.
40354 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40356 2011-07-25 Andreas Schwab <schwab@redhat.com>
40358 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40359 __n bigger than INT_MAX+1.
40360 (__strncmp_g): Likewise.
40362 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40364 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40365 * libio/stido.h: Likewise.
40367 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40372 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40374 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40375 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40376 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40379 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40382 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40384 (_dl_x86_64_save_sse): Likewise.
40386 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40388 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40390 (_dl_x86_64_save_sse): Likewise.
40392 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40394 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40396 2011-07-21 Andreas Schwab <schwab@redhat.com>
40398 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40400 (_dl_x86_64_save_sse): Use correct AVX check.
40402 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40404 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40405 bug in strncpy/strncat.
40406 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40408 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40410 * string/tester.c (test_strcat): Add tests for different alignments
40411 of source and destination.
40412 (test_strncat): Likewise.
40414 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40417 * posix/glob.c (glob): Check passed in values before using them in
40418 expressions to avoid some overflows.
40419 (glob_in_dir): Likewise.
40422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40423 check for AVX enablement so that we don't crash with old kernels and
40425 * elf/tst-audit4.c: Add same checks here.
40426 * elf/tst-audit6.c: Likewise.
40428 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40430 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40432 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40434 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40436 * po/cs.po: Update from translation team.
40437 * po/bg.po: Likewise.
40439 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40441 * misc/sys/cdefs.h: Add support for const attribute.
40442 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40443 to gnu_dev_{major,minor,makedev} functions.
40445 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40447 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40449 2011-07-20 Andreas Schwab <schwab@redhat.com>
40451 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40454 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40456 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40457 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40458 register in order to avoid conflicts with the soft frame pointer
40459 being held in r11 when necessary.
40460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40461 (INTERNAL_VSYSCALL_NCS): Likewise.
40463 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40465 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40466 * elf/dl-fini.c (_dl_fini): Adjust caller.
40467 * elf/dl-close.c (_dl_close_worker): Likewise.
40468 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40470 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40472 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40473 "aux_cache->nlibs < 0".
40475 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40476 in the reload-count case.
40478 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40481 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40482 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40483 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40484 * sysdeps/x86_64/multiarch/strcat.S: New file.
40485 * sysdeps/x86_64/multiarch/strncat.S: New file.
40486 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40487 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40488 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40489 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40491 (USE_AS_STRCAT): Define.
40492 Add strcat and strncat support.
40493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40495 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40496 * string/strncat.c: Update.
40497 (USE_AS_STRNCAT): Define.
40498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40499 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40501 * sysdeps/x86_64/multiarch/init-arch.h
40502 (bit_Prefer_PMINUB_for_stringop): New.
40503 (index_Prefer_PMINUB_for_stringop): Likewise.
40504 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40505 bit_Prefer_PMINUB_for_stringop.
40507 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40509 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40511 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40512 of casting of buffer.
40513 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40514 buffer32 and buffer64.
40515 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40516 writes instead of casting of buffer.
40517 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40519 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40522 2011-07-19 Andreas Schwab <schwab@redhat.com>
40524 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40526 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40528 * nscd/nscd.c (termination_handler): Don't do anything for a database
40529 if it has not yet been initialized.
40531 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40533 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40535 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40537 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40539 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40541 * po/nl.po: Update from translation team.
40542 * po/sv.po: Likewise.
40544 2011-07-16 Roland McGrath <roland@hack.frob.com>
40546 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40547 now disallowed by GCC.
40549 * configure.in (use-default-link): Default to yes if a test -shared
40550 link meets our qualifications.
40551 * configure: Regenerated.
40553 * config.make.in (output-format): New variable.
40554 * configure.in: Check for ld --print-output-format support.
40555 * configure: Regenerated.
40556 * Makerules ($(common-objpfx)format.lds)
40557 [$(output-format) != unknown]: Just use $(output-format),
40558 instead of the linker-script munging.
40560 2011-07-14 Roland McGrath <roland@hack.frob.com>
40562 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40563 of $(common-objpfx)shlib.lds.
40564 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40566 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40567 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40569 * configure.in (-z relro check): Adjust test code to add a large
40570 writable data section after it.
40571 * configure: Regenerated.
40573 2011-07-11 Roland McGrath <roland@hack.frob.com>
40575 * configure.in (-z relro check): Fix test code to make the variable
40577 * configure: Regenerated.
40579 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40581 * nscd/nscd.h (struct traced_file): Define.
40582 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40583 elements. Add traced_files.
40584 (inotify_fd): Declare.
40585 (register_traced_file): Declare.
40586 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40587 (inotify_fd): Export.
40588 (resolv_conf_descr): Remove.
40589 (nscd_init): Move inotify descriptor creation to main.
40590 Don't register files for notification here.
40591 (register_traced_file): New function.
40592 (invalidate_cache): Don't use reset_res to determine whether to call
40593 res_init, go through the list of registered files.
40594 (main_loop_poll): The inotify descriptors are now stored in the
40595 structures for the traced files.
40596 (main_loop_epoll): Likewise
40597 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40598 to __nss_disable_nscd.
40599 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40600 for a database anymore. Check the records for all the registered
40602 * nss/Makefile (libnss_files-routines): Add files-init.
40603 (libnss_db-routines): Add db-init.
40604 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40605 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40606 * nss/nss_db/db-init.c: New file.
40607 * nss/nss_files/files-init.c: New file.
40608 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40609 __nss_lookup_function.
40610 (__nss_lookup_function): Call nss_load_library.
40611 (nss_load_all_libraries): New function.
40612 (__nss_disable_nscd): Take parameter with callback function for files
40613 to register. Set is_nscd. Load all the DSOs for the NSS modules
40614 used for the cached services.
40615 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40616 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40617 options for features to all the files in nscd.
40619 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40621 2011-07-10 Roland McGrath <roland@hack.frob.com>
40623 * csu/elf-init.c (__libc_csu_init): Comment typo.
40625 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40627 * po/pl.po: Update from translation team.
40628 * po/ja.po: Likewise.
40629 * po/ru.po: Likewise.
40630 * po/ko.po: Likewise.
40631 * po/fr.po: Likewise.
40633 2011-07-09 Roland McGrath <roland@hack.frob.com>
40635 * configure.in (.ctors/.dtors header and trailer check):
40636 Use an empirical test on a built program.
40637 * configure: Regenerated.
40639 * configure.in (-z relro check): Use an empirical test on a built DSO.
40640 Detect, but do not require, on ia64.
40641 * configure: Regenerated.
40643 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40644 Update tests that use readelf to use $READELF instead.
40645 * configure: Regenerated.
40647 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40649 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40650 if the result is not used.
40652 2011-07-05 Andreas Jaeger <aj@suse.de>
40655 * stdlib/tst-strtod.c: Add testcase.
40657 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40659 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40660 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40661 The latter has a higher limit. Take additional parameter to pass to
40663 (__pathconf): Pass file to __statfs_link_max.
40664 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40666 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40670 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40671 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40673 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40674 (__statfs_filesize_max): Likewise.
40675 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40677 2011-07-05 Andreas Jaeger <aj@suse.de>
40679 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40681 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40683 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40685 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40688 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40690 * Makefile (strop-tests): Add strncat.
40691 * string/test-strncat.c: New file.
40693 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40695 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40697 2011-06-21 Andreas Jaeger <aj@suse.de>
40699 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40700 Copy rule from iconvdata/Makefile.
40702 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40705 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40706 but no long options are defined, just return 'W'.
40708 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40711 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40713 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40715 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40717 (innetgr): Likewise.
40719 2011-07-05 Roland McGrath <roland@hack.frob.com>
40721 * config.make.in (install_root): Default to $(DESTDIR).
40723 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40725 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40727 2011-07-02 Roland McGrath <roland@hack.frob.com>
40729 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40731 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40732 containing directory rather than embedding absolute directory names.
40734 * scripts/check-local-headers.sh: Rewritten using awk.
40735 Match by word, not by line. Print error messages for matches.
40736 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40738 * Makerules [shlib-lds-flags empty]:
40739 ($(common-objpfx)libc_pic.opts): New target.
40740 ($(common-objpfx)libc_pic.os.clean): New target.
40741 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40743 * config.make.in (OBJCOPY): New variable.
40744 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40745 * configure: Regenerated.
40747 * config.make.in (use-default-link): New variable.
40748 * configure.in (use_default_link): Grok --with-default-link to set it.
40749 * configure: Regenerated.
40750 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40751 (shlib-lds, shlib-lds-flags): Define to empty.
40753 * Makerules (shlib-lds): New variable.
40754 (shlib-lds-flags): New variable.
40755 (build-shlib, build-moduile, build-module-asneeded): Use it.
40756 ($(common-objpfx)libc.so): Use $(shlib-lds).
40757 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40758 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40760 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40761 DT_FLAGS/DT_FLAGS_1 with zero flags.
40763 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40764 linker script munging.
40766 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40768 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40770 * crypt/sha512.c (sha512_process_block): Perform total addition using
40771 128-bit if possible.
40772 (__sha512_finish_ctx): Likewise.
40773 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40775 * crypt/sha256.c (SWAP64): Define.
40776 (sha256_process_block): Perform total addition using 64-bit if
40778 (__sha256_finish_ctx): Likewise.
40780 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40782 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40784 * nscd/hstcache.c (cache_addhst): Likewise.
40785 * nscd/grpcache.c (cache_addgr): Likewise.
40786 * nscd/aicache.c (addhstaiX): Likewise
40787 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40789 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40791 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40793 * nscd/hstcache.c (cache_addhst): Likewise.
40794 * nscd/grpcache.c (cache_addgr): Likewise.
40795 * nscd/aicache.c (addhstaiX): Likewise
40797 2011-07-01 Andreas Schwab <schwab@redhat.com>
40799 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40800 domain only when needed.
40802 2011-06-30 Andreas Schwab <schwab@redhat.com>
40804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40805 is always restored.
40807 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40809 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40810 are re-adding the entry.
40811 * nscd/servicescache.c (cache_addserv): Likewise.
40813 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40815 * sysdeps/generic/dl-irel.h: fix protection against multiple
40817 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40819 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40822 * malloc/memusage.sh: Fix quoting in message.
40823 * debug/xtrace.sh: Likewise.
40825 * configure.in: Remove support for --experimental-malloc option, make
40827 * config.make.in: Likewise.
40828 * malloc/Makefile: Likewise.
40830 2011-06-27 Andreas Schwab <schwab@redhat.com>
40832 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40833 two-byte characters.
40835 2011-06-27 Roland McGrath <roland@hack.frob.com>
40837 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40838 AC_CACHE_CHECK invocation.
40839 * configure: Regenerated.
40841 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40843 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40846 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40847 bit from old_res_options.
40849 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40851 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40852 value type for setfct.
40854 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40857 __gettimeofday instead of gettimeofday.
40859 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40861 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40863 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40867 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40870 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40873 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40874 strcpy-sse2-unaligned strncpy-sse2-unaligned
40875 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40876 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40877 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40878 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40879 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40880 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40881 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40882 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40883 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40884 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40885 (STRCPY): Support SSE2 and SSSE3 versions.
40887 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40890 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40891 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40892 kernels which artificially limit size of requests.
40894 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40897 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40898 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40899 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40900 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40901 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40902 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40903 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40904 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40905 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40906 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40907 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40908 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40909 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40910 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40912 Enable unaligned load optimization for Intel Core i3, i5 and i7
40914 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40916 (index_Fast_Unaligned_Load): Define.
40917 (HAS_FAST_UNALIGNED_LOAD): Define.
40919 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40921 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40923 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40927 until it is clear that the information is realy needed.
40928 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40930 2011-06-22 Andreas Schwab <schwab@redhat.com>
40932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40934 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40937 /sys/devices/system/cpu/online if it is usable.
40939 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40940 reading the information from the /proc filesystem to once a second.
40942 2011-06-21 Andreas Jaeger <aj@suse.de>
40944 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40945 NULL after inclusion of kernel headers.
40947 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40949 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40950 calls to internal_setent.
40953 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40954 addresses using gethostbyname4_r ignore IPv4 addresses.
40956 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40957 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40959 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40961 2011-06-20 David S. Miller <davem@davemloft.net>
40963 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40965 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40967 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40968 (elf_irel): Use it.
40969 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40970 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40971 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40972 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40973 * sysdeps/x86_64/dl-irel.h: Likewise.
40975 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40976 * elf/dl-sym.c: Likewise.
40978 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40980 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40981 need to dereference resplen2.
40983 2011-06-14 Andreas Schwab <schwab@redhat.com>
40985 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40987 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40989 * Makeconfig: Define vardbdir and inst_vardbdir.
40990 * nss/Makefile: Add rules to install db-Makefile.
40992 * nss/nss_db/db-XXX.c: Cleanup.
40994 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40995 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40997 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40998 * nss/makedb.c: Implement -g option to specify that value strings
40999 are generated and should not be added to table iterated over for
41001 * nss/nss_db/db-initgroups.c: New file.
41003 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41006 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41007 (internal_getgrouplist): Adjust to name change.
41008 Update use_initgroups_entry if this is not the first call.
41009 * nss/databases.def: Add initgroups entry.
41011 * nss/makedb.c (compute_tables): Check result of multiple hash table
41012 sizes to minimize maximum chain length.
41014 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41016 * Versions.def: Add entry for libnss_db.
41017 * shlib-versions: Likewise.
41018 * nss/Makefile: Add rules to build libnss_db.
41019 * nss/Versions: Add libnss_db information. Organize libnss_files
41021 * nss/db-Makefile: Add gshadow support. Change rules for the new
41022 makedb progra. Some minor improvements to generate smaller files.
41023 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41025 * nss/makedb.c: ...here.
41026 Improve database format to be smaller and require less memory at
41028 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41030 * nss/nss_db/db-netgrp.c: Likewise.
41031 * nss/nss_db/db-open.c: Likewise.
41032 * nss/nss_files/flies-XXX.x: Adjust comments.
41033 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41034 * nss/nss_files/files-grp.c: Likewise.
41035 * nss/nss_files/files-hosts.c: Likewise.
41036 * nss/nss_files/files-network.c: Likewise.
41037 * nss/nss_files/files-proto.c: Likewise.
41038 * nss/nss_files/files-pwd.c: Likewise.
41039 * nss/nss_files/files-rpc.c: Likewise.
41040 * nss/nss_files/files-service.c: Likewise.
41041 * nss/nss_files/files-sgrp.c: Likewise.
41042 * nss/nss_files/files-spwd.c: Likewise.
41043 * nss/nss_db/db-alias.c: Removed.
41044 * nss/nss_db/dummy-db.h: Removed.
41046 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41048 * nss/makedb.c: Rewritten to not use database library.
41049 * nss/Makefile: Update to build new makedb program.
41051 2011-06-14 Andreas Jaeger <aj@suse.de>
41053 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41054 memset declaration.
41056 2011-06-10 Andreas Schwab <schwab@redhat.com>
41058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41061 2011-06-10 Roland McGrath <roland@hack.frob.com>
41063 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41064 * elf/Makefile ($(objpfx)ld.so): Likewise.
41066 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41067 Don't list ld.so twice in dependencies.
41069 * posix/bug-regex31.c: Include <stdlib.h>.
41071 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41073 * nis/nss_compat/compat-spwd.c
41074 (getspent_next_nss_netgr): Remove unused variable.
41075 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41077 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41078 nonmembers" output to use the right array.
41080 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41082 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41084 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41085 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41086 * catgets/gencat.c (read_input_file): Likewise.
41087 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41089 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41090 variable definition inside #if's controlling its use.
41092 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41094 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41096 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41098 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41101 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41103 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41104 * configure: Regenerated.
41106 * Makerules: Revert last change.
41107 * elf/Makefile: Likewise.
41109 2011-06-09 Roland McGrath <roland@hack.frob.com>
41111 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41112 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41113 (reloc-link): Likewise.
41115 2011-06-09 Ulrich Drepper <drepper@gmail.com>
41117 * elf/Makefile: Add rules to build pldd.
41118 * elf/pldd.c: New file.
41119 * elf/pldd-xx.c: New file.
41121 2011-06-07 Ulrich Drepper <drepper@gmail.com>
41123 * version.h: Update for 2.15 development version.
41125 2011-06-07 David S. Miller <davem@davemloft.net>
41127 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41130 elf_machine_lazy_rel): Likewise.
41131 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41133 elf_machine_lazy_rel): Likewise.
41134 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41135 dl_hwcap via passed in argument.
41136 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41139 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41141 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41143 2011-06-06 Roland McGrath <roland@hack.frob.com>
41146 * manual/fdl-1.1.texi: New file, verbatim from:
41147 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41148 * manual/lgpl-2.1.texi: New file, verbatim from:
41149 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41150 * manual/Makefile (licenses): New variable, list those new file names.
41152 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41154 * manual/fdl.texi: File removed.
41155 * manual/lesser.texi: File removed.
41156 * manual/libc.texinfo (Copying, Documentation License):
41157 Use new @include file names, put @appendix directive before @include.
41159 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41162 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41163 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41164 (mq_open): Add __NTH.
41166 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41169 Assume Intel Core i3/i5/i7 processor if AVX is available.
41171 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41176 2011-05-31 Andreas Schwab <schwab@redhat.com>
41178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41179 memory. Use alloca_account. Fix memory leak when retrying.
41181 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41183 * version.h (RELEASE): Bump for 2.14 release.
41184 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41186 * config.make.in (RANLIB): Remove entry.
41188 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41190 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41191 (libc.pot): Work around missing support for .ksh extension in xgettext.
41194 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41195 if both request failed.
41196 (send_dg): In case of server errors clear resplen or *resplen2.
41199 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41200 when there are multiple maps.
41201 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41202 (_dl_fini): Remove test here.
41204 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41206 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41209 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41210 bit from old_res_options.
41211 (gaih_inet): Likewise.
41214 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41217 * resolv/res_init.c (res_setoptions): Make the code more compact.
41220 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41224 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41226 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41229 * malloc/malloc.h: Declare malloc hook variables as volatile.
41231 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41235 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41236 raise in the comment.
41237 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41239 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41241 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41244 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41245 grow the buffers more if it already has to be sufficient.
41246 (build_wcs_upper_buffer): Likewise.
41247 * posix/regexec.c (check_matching): Likewise.
41248 (clean_state_log_if_needed): Likewise.
41249 (extend_buffers): Don't enlarge buffers beyond size of the input
41251 Patches mostly by Emil Wojak <emil@wojak.eu>.
41252 * posix/bug-regex32.c: New file.
41253 * posix/Makefile (tests): Add bug-regex32.
41255 * locale/findlocale.c (_nl_find_locale): Return right away if
41256 _nl_explode_name failed.
41257 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41259 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41261 * debug/xtrace.sh: Unify messages.
41262 * malloc/memusage.sh: Likewise.
41265 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41266 time symbol from vDSO. Substitute with vsyscall if not available.
41267 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41270 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41271 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41272 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41273 Add sendmmsg and internal_sendmmsg.
41274 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41275 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41276 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41278 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41279 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41280 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41282 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41285 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41286 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41288 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41292 * iconvdata/Makefile (tests): Add bug-iconv9.
41293 * iconvdata/bug-iconv9.c: New file.
41295 2011-05-27 Andreas Schwab <schwab@redhat.com>
41298 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41300 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41302 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41303 (struct user_regs_struct): Change intcs field back to cs.
41305 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41307 * po/ja.po: Update from translation team.
41309 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41312 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41313 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41315 2011-05-20 Andreas Schwab <schwab@redhat.com>
41317 * stdlib/longlong.h: Update from GCC.
41319 2011-05-23 Andreas Schwab <schwab@redhat.com>
41321 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41323 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41324 Add parameter name.
41325 (__sysconf): Pass it down.
41327 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41330 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41332 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41333 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41334 add in in __libc_use_alloca calls. Adjust callers.
41335 (glob): Use malloc in some situations.
41337 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41338 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41341 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41343 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41344 and CLOCK_BOOTTIME_ALARM.
41347 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41350 * string/_strerror.c (__strerror_r): Print negative errors as signed
41354 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41355 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41356 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41358 * configure.in: Fix typo in redirection and correct removal of test
41359 files in two cases.
41362 * locale/setlocale.c (new_composite_name): Fix test to check for
41363 identical name of all categories.
41366 * libio/filedoalloc.c (local_isatty): New function.
41367 (_IO_file_doallocate): Use local_isatty.
41368 * stdio-common/perror.c (perror): In case a new stream is used
41369 forward the stream error.
41370 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41373 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41378 * include/alloca.h (extend_alloca_account): Define.
41381 * posix/regex.h: Fix comments with documentation of user-accessible
41382 fields after compilation and describe correct free'ing of pattern
41383 after re_compile_pattern.
41384 Patch by Reuben Thomas <rrt@sc3d.org>.
41386 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41388 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41389 and -mno-altivec to prevent the compiler from using Altivec and/or
41390 VSX instructions when the corresponding registers are not available.
41392 2011-05-19 Andreas Schwab <schwab@redhat.com>
41394 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41396 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41398 * libio/freopen.c (freopen): Use __dup2, not dup2.
41399 * libio/freopen64.c (freopen64): Likewise.
41401 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41404 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41405 * math/Makefile (tests): Add test-powl.
41406 (CFLAGS-test-powl.c): Define.
41407 * math/test-powl.c: New file.
41409 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41411 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41413 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41416 * iconvdata/gb18030.c: Update to GB18020-2005.
41418 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41420 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41421 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41422 Patch by Aharon Robbins <arnold@skeeve.com>.
41425 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41429 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41430 through underflows.
41433 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41434 point to strings before performing equality test for error_one_per_line
41438 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41441 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41442 (struct user_fpregs_struct): Avoid __uint*_t types.
41445 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41446 symbol info. Use it instead of calling _dl_addr locally.
41447 (lock_and_info): New function.
41448 (tr_freehook): Call lock_and_info and pass symbol info as additional
41449 parameter to tr_where.
41450 (tr_mallochook): Likewise.
41451 (tr_reallochook): Likewise.
41452 (tr_memalignhook): Likewise.
41454 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41455 used and couldn't be at all thread-safe.
41457 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41459 * libio/freopen.c (freopen): Don't close old file descriptor
41460 before the new one is opened. Instead dup the new file descriptor
41461 to the old one after the new stream is created.
41462 * libio/freopen64.c (freopen64): Likewise.
41463 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41464 * libio/fileops.c (_IO_new_file_close_it): Handle new
41465 _IO_FLAGS2_NOCLOSE flag.
41466 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41467 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41468 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41469 _IO_FLAGS2_NOCLOSE flag.
41470 * include/unistd.h: Add hidden_proto for dup3.
41471 Define __have_dup3.
41472 * io/dup3.c: Define hidden symbol.
41473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41476 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41477 when an incomplete long option is used.
41478 * posix/tst-getopt_long1.c: New file.
41479 * posix/Makefile (tests): Add tst-getopt_long1.
41482 * scripts/config.guess: Update from autoconf-2.68.
41483 * scripts/config.sub: Likewise.
41486 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41488 (has_cpuclock): ...this. New function.
41489 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41490 macro here based on has_cpuclock code.
41493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41494 First byte (not low byte) is now always NUL.
41495 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41498 Use non-cancelable interfaces.
41501 * locale/iso-639.def: Add entry for Sorani.
41504 * include/stdlib.h: Move include protection to the right place.
41505 Define abort_msg_s. Declare __abort_msg with it.
41506 * stdlib/abort.c (__abort_msg): Adjust type.
41507 * assert/assert.c (__assert_fail_base): New function. Majority
41508 of code from __assert_fail. Allocate memory for __abort_msg with
41510 (__assert_fail): Now call __assert_fail_base.
41511 * assert/assert-perr.c: Remove bulk of implementation. Use
41512 __assert_fail_base.
41513 * include/assert.hL Declare __assert_fail_base.
41514 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41516 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41518 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41522 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41523 until all modules are registered in the DTV.
41524 * elf/Makefile: Add rules to build and run tst-tls19.
41525 * elf/tst-tls19.c: New file.
41526 * elf/tst-tls19mod1.c: New file.
41527 * elf/tst-tls19mod2.c: New file.
41528 * elf/tst-tls19mod3.c: New file.
41529 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41532 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41536 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41537 two-byte sequence errors.
41538 * iconvdata/Makefile (tests): Add bug-iconv8.
41539 * iconvdata/bug-iconv8.c: New file.
41542 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41545 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41548 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41549 (dummy_getcfa): New function.
41550 (init): Get _Unwind_GetCFA address, use dummy if not found.
41551 (backtrace_helper): In recursion check, also check whether CFA changes.
41552 (__backtrace): Completely initialize arg.
41554 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41555 storing incomplete byte sequence in state object. Avoid testing for
41556 guaranteed too small input if we know there is enough data available.
41558 2011-05-11 Andreas Schwab <schwab@redhat.com>
41560 * Makeconfig (+link-pie): Indent.
41561 * Rules (binaries-pie): Define if $(have-fpie) and
41563 (binaries-shared): Also filter out $(binaries-pie).
41564 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41565 * nscd/Makefile (others-pie): Add nscd.
41566 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41567 ($(objpfx)nscd): Remove command override.
41568 * login/Makefile (others-pie): Add pt_chown.
41569 ($(objpfx)pt_chown): Remove command override.
41570 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41571 remove command overrides.
41573 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41575 * libio/tst_putwc.c: Fix error messages.
41578 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41579 currently writing and seek to current position when not.
41580 * libio/Makefile (tests): Add bug-fclose1.
41581 * libio/bug-fclose1.c: New file.
41583 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41586 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41587 don't set DF_1_NODELETE here.
41588 (do_lookup_x): When entering new entry test for copy relocation
41589 and if necessary set DF_1_NODELETE flag.
41590 * elf/tst-unique4.cc: New file.
41591 * elf/tst-unique4.h: New file.
41592 * elf/tst-unique4lib.cc: New file.
41593 * elf/Makefile: Add rules to build and run tst-unique4.
41594 Patch by Piotr Bury <pbury@goahead.com>.
41596 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41599 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41602 * misc/mntent_r.c (addmntent): Flush the stream after the output
41605 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41606 (is_trusted_path_normalize): Skip initial colon. Append slash
41607 to empty buffer. Duplicate is_trusted_path code but allow
41608 constructed patch to be prefix.
41609 (is_dst): Allow $ORIGIN followed by /.
41610 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41611 Correct testing of result of is_trusted_path_normalize
41612 (decompose_rpath): Fix warning.
41614 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41617 * grp/initgroups.c (internal_getgrouplist): When we found the service
41618 list through the initgroups entry in nsswitch.conf do not always
41619 continue on a successful lookup. Don't always use the
41620 __nss_group_database value if it is set.
41621 * nss/nsswitch.conf (initgroups): Change action for successful db
41622 lookup to continue for compatibility.
41624 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41627 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41629 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41631 * iconvdata/tst-tables.sh: Likewise.
41632 * iconvdata/cp770.c: New file.
41633 * iconvdata/cp771.c: New file.
41634 * iconvdata/cp772.c: New file.
41635 * iconvdata/cp773.c: New file.
41636 * iconvdata/cp774.c: New file.
41637 * iconvdata/testdata/CP770: New file.
41638 * iconvdata/testdata/CP770..UTF8: New file.
41639 * iconvdata/testdata/CP771: New file.
41640 * iconvdata/testdata/CP771..UTF8: New file.
41641 * iconvdata/testdata/CP772: New file.
41642 * iconvdata/testdata/CP772..UTF8: New file.
41643 * iconvdata/testdata/CP773: New file.
41644 * iconvdata/testdata/CP773..UTF8: New file.
41645 * iconvdata/testdata/CP774: New file.
41646 * iconvdata/testdata/CP774..UTF8: New file.
41648 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41650 * iconvdata/gen-8bit-gap.sh: Likewise.
41651 * iconvdata/gen-8bit.sh: Likewise.
41653 * locale/iso-639.def: Add ary entry.
41656 * locale/C-translit.h.in: Add U20A1 transliteration.
41659 * locale/iso-639.def: Add wae entry.
41660 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41663 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41667 * locale/C-translit.h.in: Add entry for U20B9.
41668 Patch by pravin.d.s@gmail.com.
41670 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41673 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41674 ENAMETOOLONG use generic getcwd.
41675 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41676 in rtld. Use *stat64.
41677 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41678 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41679 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41680 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41681 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41682 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41683 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41684 __fstatat64 macros.
41685 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41686 * dirent/rewinddir.c: Add libc_hidden_def.
41687 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41688 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41690 * include/dirent.h (__alloc_dir): Add flags parameter.
41691 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41692 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41694 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41695 from fdopendir if O_CLOEXEC is already set.
41697 2011-03-15 Alan Modra <amodra@gmail.com>
41699 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41700 l_tls_firstbyte_offset non-zero. Save padding offset in
41701 l_tls_firstbyte_offset for later use.
41702 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41703 freeing static tls block.
41705 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41707 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41708 where #ifdef was intended. The intent is to prevent ARG_MAX from
41709 being defined by the kernel headers.
41711 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41714 * resolv/resolv.h: Define RES_NOTLDQUERY.
41715 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41716 no-tld-query and set RES_NOTLDQUERY.
41717 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41718 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41719 modern BIND to search name as TLD unless forbidden.
41721 2011-05-07 Petr Baudis <pasky@suse.cz>
41722 Ulrich Drepper <drepper@gmail.com>
41725 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41726 (is_trusted_path): ...to here.
41727 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41728 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41729 using is_trusted_path_normalize() in setuid scripts.
41731 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41733 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41734 __BEGIN/__END_DECLS.
41736 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41738 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41739 NSS_STATUS_NOTFOUND if no record was found.
41741 2011-05-05 Andreas Schwab <schwab@redhat.com>
41743 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41744 (headers-not-in-tirpc): Remove rpc/netdb.h
41745 * resolv/netdb.h: Revert last change.
41747 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41749 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41750 circular dependency between libgcc.a and libc.a.
41752 2011-05-05 Andreas Schwab <schwab@redhat.com>
41754 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41755 * nis/Makefile: Don't install rpcsvc/*.
41756 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41757 instead of <rpc/types.h>.
41758 (MAXHOSTNAMELEN): Define.
41760 2011-05-03 Andreas Schwab <schwab@redhat.com>
41762 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41764 2011-04-28 Maciej Babinski <mbabinski@google.com>
41767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41768 gethostbyname4_r when IPv6 results are possible.
41770 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41773 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41774 _PC_PIPE_BUF handling.
41776 2011-04-30 Bruno Haible <bruno@clisp.org>
41779 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41780 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41782 * inet/getnameinfo.c (getnameinfo): Likewise.
41784 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41786 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41787 to groups setting in database lookup.
41788 * nss/nsswitch.conf: Add initgroups entry.
41790 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41793 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41795 Patch by Eric Blake <eblake@redhat.com>.
41797 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41799 * sunrpc/Makefile (need-export-routines): Add svc_run.
41800 (routines): Remove svc_run.
41801 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41802 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41803 * sunrpc/svc_run.c (svc_run): Likewise.
41804 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41806 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41809 problem in reallocation in last patch.
41811 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41813 * sunrpc/Makefile: Move inclusion of Rules.
41815 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41817 * nss/nss_files/files-initgroups.c: New file.
41818 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41819 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41820 _nss_files_initgroups_dyn.
41822 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41824 * elf/elf.h (R_ARM_IRELATIVE): Define.
41826 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41828 * po/ru.po: Update from translation team.
41830 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41832 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41835 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41838 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41839 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41840 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41841 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41842 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41844 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41846 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41848 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41852 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41855 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41857 * stdlib/bug-getcontext.c: New file.
41858 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41860 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41862 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41863 instructions into .machine "z9-109".
41864 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41865 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41867 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41869 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41870 between environment variables and auxiliary vector.
41872 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41874 * Makefile: Add rules to build linkobj/libc.so.
41875 * include/libc-symbols.h: Define libc_hidden_nolink.
41876 * include/rpc/auth.h: Mark functions which are to be hidden.
41877 * include/rpc/auth_des.h: Likewise.
41878 * include/rpc/auth_unix.h: Likewise.
41879 * include/rpc/clnt.h: Likewise.
41880 * include/rpc/des_crypt.h: Likewise.
41881 * include/rpc/key_prot.h: Likewise.
41882 * include/rpc/pmap_clnt.h: Likewise.
41883 * include/rpc/pmap_prot.h: Likewise.
41884 * include/rpc/pmap_rmt.h: Likewise.
41885 * include/rpc/rpc_msg.h: Likewise.
41886 * include/rpc/svc.h: Likewise.
41887 * include/rpc/svc_auth.h: Likewise.
41888 * include/rpc/xdr.h: Likewise.
41889 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41890 * nss/Makefile: Likewise.
41891 * sunrpc/Makefile: Don't install headers. Build library with normal
41892 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41893 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41894 for the compat linking library. Remove use of INTDEF/INTUSE.
41895 * sunrpc/auth_none.c: Likewise.
41896 * sunrpc/auth_unix.c: Likewise.
41897 * sunrpc/authdes_prot.c: Likewise.
41898 * sunrpc/authuxprot.c: Likewise.
41899 * sunrpc/clnt_gen.c: Likewise.
41900 * sunrpc/clnt_perr.c: Likewise.
41901 * sunrpc/clnt_raw.c: Likewise.
41902 * sunrpc/clnt_simp.c: Likewise.
41903 * sunrpc/clnt_tcp.c: Likewise.
41904 * sunrpc/clnt_udp.c: Likewise.
41905 * sunrpc/clnt_unix.c: Likewise.
41906 * sunrpc/des_crypt.c: Likewise.
41907 * sunrpc/des_soft.c: Likewise.
41908 * sunrpc/get_myaddr.c: Likewise.
41909 * sunrpc/key_call.c: Likewise.
41910 * sunrpc/key_prot.c: Likewise.
41911 * sunrpc/netname.c: Likewise.
41912 * sunrpc/pm_getmaps.c: Likewise.
41913 * sunrpc/pm_getport.c: Likewise.
41914 * sunrpc/pmap_clnt.c: Likewise.
41915 * sunrpc/pmap_prot.c: Likewise.
41916 * sunrpc/pmap_prot2.c: Likewise.
41917 * sunrpc/pmap_rmt.c: Likewise.
41918 * sunrpc/publickey.c: Likewise.
41919 * sunrpc/rpc_cmsg.c: Likewise.
41920 * sunrpc/rpc_common.c: Likewise.
41921 * sunrpc/rpc_dtable.c: Likewise.
41922 * sunrpc/rpc_prot.c: Likewise.
41923 * sunrpc/rpc_thread.c: Likewise.
41924 * sunrpc/rtime.c: Likewise.
41925 * sunrpc/svc.c: Likewise.
41926 * sunrpc/svc_auth.c: Likewise.
41927 * sunrpc/svc_authux.c: Likewise.
41928 * sunrpc/svc_raw.c: Likewise.
41929 * sunrpc/svc_run.c: Likewise.
41930 * sunrpc/svc_simple.c: Likewise.
41931 * sunrpc/svc_tcp.c: Likewise.
41932 * sunrpc/svc_udp.c: Likewise.
41933 * sunrpc/svc_unix.c: Likewise.
41934 * sunrpc/svcauth_des.c: Likewise.
41935 * sunrpc/xcrypt.c: Likewise.
41936 * sunrpc/xdr.c: Likewise.
41937 * sunrpc/xdr_array.c: Likewise.
41938 * sunrpc/xdr_float.c: Likewise.
41939 * sunrpc/xdr_intXX_t.c: Likewise.
41940 * sunrpc/xdr_mem.c: Likewise.
41941 * sunrpc/xdr_rec.c: Likewise.
41942 * sunrpc/xdr_ref.c: Likewise.
41943 * sunrpc/xdr_sizeof.c: Likewise.
41944 * sunrpc/xdr_stdio.c: Likewise.
41946 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41949 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41950 * sysdeps/ia64/dl-tls.h: Likewise.
41951 * sysdeps/powerpc/dl-tls.h: Likewise.
41952 * sysdeps/s390/dl-tls.h: Likewise.
41953 * sysdeps/sh/dl-tls.h: Likewise.
41954 * sysdeps/sparc/dl-tls.h: Likewise.
41955 * sysdeps/x86_64/dl-tls.h: Likewise.
41956 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41958 2011-03-14 Andreas Schwab <schwab@redhat.com>
41960 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41961 rpath element also skip the following colon.
41962 (expand_dynamic_string_token): Add is_path parameter and pass
41963 down to DL_DST_REQUIRED and _dl_dst_substitute.
41964 (decompose_rpath): Call expand_dynamic_string_token with
41965 non-zero is_path. Ignore empty rpaths.
41966 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41969 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41974 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41977 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41978 Patch by Filipe David Manana <fdmanana@apache.org>.
41980 2011-04-07 Andreas Schwab <schwab@redhat.com>
41982 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41983 Maintain aligned stack.
41984 (CHECK_RSP): Remove unused macro.
41986 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41988 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41989 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41991 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41993 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41995 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41997 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42000 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42001 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42002 * sysdeps/x86_64/memmove.c: New file.
42003 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42004 (memcpy): Renamed to ...
42005 (__new_memcpy): This.
42006 (memcpy): Provide GLIBC_2_14 memcpy.
42007 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42008 (memcpy): Provide GLIBC_2_2_5 memcpy.
42010 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42013 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42015 2011-03-30 Andreas Schwab <schwab@redhat.com>
42017 * misc/syncfs.c: New file.
42018 * misc/Makefile (routines): Add syncfs.
42019 * posix/unistd.h: Declare syncfs.
42020 * sysdeps/unix/syscalls.list: Add syncfs.
42022 2011-04-01 Andreas Schwab <schwab@redhat.com>
42024 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42026 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42027 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42029 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42031 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42032 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42034 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42036 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42037 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42038 * sysdeps/unix/sysv/linux/powerpc/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.
42044 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42045 sync_file_range.c with -fexceptions.
42046 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42047 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42048 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42049 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42050 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42051 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42053 sync_file_range as cancellation point
42054 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42055 now a wrapper around __call_sync_file_range with cancellation handling.
42056 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42057 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42058 function name to __call_sync_file_range.
42059 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42060 Add call_sync_file_range.
42062 2011-04-01 Andreas Schwab <schwab@redhat.com>
42064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42067 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42069 * iconv/iconv.h: Fix typo in comment.
42070 * io/fcntl.h: Likewise.
42071 * libio/stdio.h: Likewise.
42072 * posix/spawn.h: Likewise.
42073 * posix/unistd.h: Likewise.
42074 * stdlib/stdlib.h: Likewise.
42075 * time/time.h: Likewise.
42076 * wcsmbs/wchar.h: Likewise.
42078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42079 open_by_handle): Add.
42080 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42081 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42082 Augment a few comments.
42083 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42088 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42091 * io/fcntl.h (AT_EMPTY_PATH): Define.
42093 2011-03-30 Ulrich Drepper <drepper@gmail.com>
42095 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42096 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42097 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42099 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42100 * Versions.def: Add GLIBC_2.14.
42101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42104 2011-03-22 Ulrich Drepper <drepper@gmail.com>
42106 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42108 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42110 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42113 * string/test-strncmp.c (do_page_test): New function.
42114 (check2): Likewise.
42115 (test_main): Call check2.
42116 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42118 2011-03-20 Ulrich Drepper <drepper@gmail.com>
42121 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42122 Handle cache information in CPU leaf 4.
42123 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42125 2011-03-18 Ulrich Drepper <drepper@gmail.com>
42128 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42129 character representation.
42130 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42132 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42134 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42135 END(__isnan) to END(__isnanf) to match function entry point/label
42136 EALIGN(__isnanf,...).
42138 2011-03-10 Jakub Jelinek <jakub@redhat.com>
42140 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42142 2011-03-10 Ulrich Drepper <drepper@gmail.com>
42145 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42146 copy from the symbol referenced in the relocation to initialize the
42148 Patch by Piotr Bury <pbury@goahead.com>.
42149 * elf/Makefile: Add rules to build and tst-unique3.
42150 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42151 * elf/tst-unique3.cc: New file.
42152 * elf/tst-unique3.h: New file.
42153 * elf/tst-unique3lib.cc: New file.
42154 * elf/tst-unique3lib2.cc: New file.
42156 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42158 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42160 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42161 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42164 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42166 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42167 to-be-loaded object along a path to loader is ld.so.
42169 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42170 Ulrich Drepper <drepper@gmail.com>
42172 * sysdeps/x86_64/memset.S: After aligning destination, code
42173 branches to different locations depending on the value of
42174 misalignment, when multiarch is enabled. Fix this.
42176 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42178 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42179 Set _x86_64_preferred_memory_instruction for AMD processsors.
42180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42181 Set bit_Prefer_SSE_for_memop for AMD processors.
42183 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42185 * libio/fmemopen.c (fmemopen): Optimize a bit.
42187 2011-03-03 Andreas Schwab <schwab@redhat.com>
42189 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42191 2011-03-03 Roland McGrath <roland@redhat.com>
42193 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42195 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42197 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42198 __bzero_ultra1 instead of __memset_ultra1.
42200 2011-02-23 Andreas Schwab <schwab@redhat.com>
42201 Ulrich Drepper <drepper@gmail.com>
42204 * include/link.h (struct link_map): Add l_orig_initfini.
42205 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42206 returning unsuccessfully.
42207 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42208 close of a file loaded at startup, restore the original l_initfini
42210 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42211 list, store the pointer.
42212 * elf/Makefile ($(objpfx)noload-mem): New rule.
42213 (noload-ENV): Define.
42214 (tests): Add $(objpfx)noload-mem.
42215 * elf/noload.c: Include <memcheck.h>.
42216 (main): Call mtrace. Close all opened handles.
42218 2011-02-17 Andreas Schwab <schwab@redhat.com>
42221 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42222 dependencies are missing.
42224 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42226 Fix __if_freereq crash: Unlike the generic version which uses free,
42228 * sysdeps/mach/hurd/ifreq.h: New file.
42230 2011-01-27 Petr Baudis <pasky@suse.cz>
42231 Ulrich Drepper <drepper@gmail.com>
42234 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42235 to extend_alloca().
42236 * stdio-common/bug23.c: New file.
42237 * stdio-common/Makefile (tests): Add bug23.
42239 2010-09-28 Andreas Schwab <schwab@redhat.com>
42240 Ulrich Drepper <drepper@gmail.com>
42243 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42244 before performing relro protection. At old place add assertion
42245 to make sure nothing changed.
42247 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42248 Glauber de Oliveira Costa <glommer@gmail.com>
42250 * elf/elf.h: Add new ARM TLS relocs.
42252 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42255 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42257 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42259 * sysdeps/wordsize-64/tst-writev.c: New file.
42261 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42263 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42264 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42265 insns in _dl_start to prevent a TOC reference before relocs are
42268 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42271 * Makeconfig: Remove RANLIB definition.
42272 * Makerules: Don't use RANLIB.
42273 * aclocal.m4: Remove ranlib test.
42274 * configure.in: No need to check for ranlib.
42275 * elf/rtld-Rules: Don't use RANLIB.
42277 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42279 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42281 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42282 inclusion protection macro.
42284 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42285 SIGRTMIN and SIGRTMAX and print information in that case only when
42286 SIGRTMIN is defined.
42288 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42290 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42291 arginfo fn returning -1.
42293 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42294 and thousands string is zero terminated.
42296 2011-02-03 Andreas Schwab <schwab@redhat.com>
42298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42299 sysdeps/unix/sysv/linux/bits/socket.h.
42301 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42303 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42304 (__CPU_COUNT): Remove old macros.
42305 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42306 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42307 (__CPU_ALLOC, __CPU_FREE): Add macros.
42308 (__sched_cpualloc, __sched_cpufree): Add declarations.
42310 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42312 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42313 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42314 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42315 (readdhstai): Return value of addhstaiX call.
42316 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42317 (addgrbyX): Return value returned by cache_addgr.
42318 (readdgrbyname): Return value returned by addgrbyX.
42319 (readdgrbygid): Likewise.
42320 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42321 (addpwbyX): Return value returned by cache_addpw.
42322 (readdpwbyname): Return value returned by addhstbyX.
42323 (readdpwbyuid): Likewise.
42324 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42325 (addservbyX): Return value returned by cache_addserv.
42326 (readdservbyname): Return value returned by addservbyX:
42327 (readdservbyport): Likewise.
42328 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42329 (addhstbyX): Return value returned by cache_addhst.
42330 (readdhstbyname): Return value returned by addhstbyX.
42331 (readdhstbyaddr): Likewise.
42332 (readdhstbynamev6): Likewise.
42333 (readdhstbyaddrv6): Likewise.
42334 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42335 (readdinitgroups): Return value returned by addinitgroupsX.
42336 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42337 (prune_cache): Keep track of timeout value of re-added entries.
42338 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42339 * nscd/nscd.h: Adjust prototypes of readd* functions.
42341 2011-02-04 Roland McGrath <roland@redhat.com>
42343 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42344 (nis_stats): Likewise.
42345 * nis/nis_modify.c (nis_modify): Likewise.
42346 * nis/nis_remove.c (nis_remove): Likewise.
42347 * nis/nis_add.c (nis_add): Likewise.
42349 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42351 * posix/fnmatch_loop.c: Add some consts.
42353 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42355 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42358 * config.make.in (config-cflags-novzeroupper): Define.
42359 * configure.in: Substitute libc_cv_cc_novzeroupper.
42360 * elf/Makefile (AVX-CFLAGS): Define.
42361 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42362 (CFLAGS-tst-auditmod4a.c): Likewise.
42363 (CFLAGS-tst-auditmod4b.c): Likewise.
42364 (CFLAGS-tst-auditmod6b.c): Likewise.
42365 (CFLAGS-tst-auditmod6c.c): Likewise.
42366 (CFLAGS-tst-auditmod7b.c): Likewise.
42367 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42369 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42371 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42372 function to the callback.
42373 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42375 2011-02-02 Andreas Schwab <schwab@redhat.com>
42377 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42380 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42383 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42385 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42387 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42390 * elf/Makefile: Add rules to build and run new test.
42391 * elf/tst-initorder.c: New file.
42392 * elf/tst-initorder.exp: New file.
42393 * elf/tst-initordera1.c: New file.
42394 * elf/tst-initordera2.c: New file.
42395 * elf/tst-initordera3.c: New file.
42396 * elf/tst-initordera4.c: New file.
42397 * elf/tst-initorderb1.c: New file.
42398 * elf/tst-initorderb2.c: New file.
42399 * elf/tst-order-a1.c: New file.
42400 * elf/tst-order-a2.c: New file.
42401 * elf/tst-order-a3.c: New file.
42402 * elf/tst-order-a4.c: New file.
42403 * elf/tst-order-b1.c: New file.
42404 * elf/tst-order-b2.c: New file.
42405 * elf/tst-order-main.c: New file.
42406 New test case by George Gensure <werkt0@gmail.com>.
42408 2010-10-01 Andreas Schwab <schwab@redhat.com>
42410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42411 decoding ACE if AI_CANONIDN.
42413 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42415 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42417 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42419 * version.h (RELEASE): Bump for 2.13 release.
42420 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42422 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42424 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42426 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42427 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42428 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42429 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42430 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42433 * posix/getconf.c: Update copyright year.
42434 * catgets/gencat.c: Likewise.
42435 * csu/version.c: Likewise.
42436 * debug/catchsegv.sh: Likewise.
42437 * debug/xtrace.sh: Likewise.
42438 * elf/ldconfig.c: Likewise.
42439 * elf/ldd.bash.in: Likewise.
42440 * elf/sprof.c (print_version): Likewise.
42441 * iconv/iconv_prog.c: Likewise.
42442 * iconv/iconvconfig.c: Likewise.
42443 * locale/programs/locale.c: Likewise.
42444 * locale/programs/localedef.c: Likewise.
42445 * malloc/memusage.sh: Likewise.
42446 * malloc/mtrace.pl: Likewise.
42447 * nscd/nscd.c (print_version): Likewise.
42448 * nss/getent.c: Likewise.
42450 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42451 PF_CAIF, and PF_ALG.
42452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42454 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42456 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42457 (modules-names): Use them.
42458 (ifunc-test-modules, ifunc-pie-tests): Define.
42459 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42460 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42461 (test-extras): Likewise.
42462 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42463 $(compile-command.c).
42464 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42465 (all-built-dso): Define.
42466 (check-textrel.out, check-execstack.out): Depend on it.
42468 * configure.in: Don't override --enable-multi-arch.
42470 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42473 * nscd/hstcache.c (tryagain): Define.
42474 (cache_addhst): Return tryagain not notfound for temporary errors.
42475 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42478 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42481 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42482 to make the syscall.
42483 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42486 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42487 and fall back to matching as normal character if the string ends before
42488 the matching ']' is found. This is what POSIX requires.
42489 * posix/testfnm.c: Adjust test result.
42490 * posix/globtest.sh: Adjust test result. Add new test.
42491 * posix/tst-fnmatch.input: Likewise.
42492 * posix/tst-fnmatch2.c: Add new test.
42494 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42496 * elf/Makefile (check-execstack): Revert last change. Depend on
42498 (check-execstack.h): New target.
42499 (generated): Add check-execstack.h.
42500 * elf/check-execstack.c: Include "check-execstack.h".
42501 (main): Revert last change.
42502 (handle_file): Return zero if GNU_STACK is absent and
42503 DEFAULT_STACK_PERMS doesn't include PF_X.
42505 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42507 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42508 in child fails because the descriptor is already closed.
42509 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42510 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42511 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42514 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42518 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42519 temporary buffer used to handle multi lookups locally.
42520 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42522 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42524 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42527 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42529 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42530 alignment for SSE2.
42532 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42535 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42536 characters. When rounding increased number of integer digits recompute
42538 * stdio-common/tst-grouping.c: New file.
42539 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42541 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42543 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42544 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42546 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42548 * bits/select.h: Likewise.
42550 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42552 * po/ja.po: Update from translation team.
42554 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42557 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42558 implementation just like for lxstat, fxstatat, et al.
42560 2010-12-27 Jim Meyering <meyering@redhat.com>
42563 * posix/regexec.c (build_trtable): Return failure indication upon
42564 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42566 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42569 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42570 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42571 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42572 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42575 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42578 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42579 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42581 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42583 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42584 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42585 script has SORT_BY_INIT_PRIORITY.
42586 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42587 NO_CTORS_DTORS_SECTIONS is defined.
42588 * elf/soinit.c: Likewise.
42589 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42590 NO_CTORS_DTORS_SECTIONS is defined.
42591 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42592 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42593 * sysdeps/sh/init-first.c: Likewise.
42594 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42596 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42598 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42599 always use the slow path.
42601 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42603 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42604 similar rule which adds the sysdep directories to the header search in
42605 order to pick up the correct platform stackinfo.h.
42606 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42607 perform test if it is, otherwise return successfully without testing.
42608 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42609 DEFAULT_STACK_PERMS define in stackinfo.h.
42610 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42611 defined in stackinfo.h.
42612 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42613 DEFAULT_STACK_PERMS defined in stackinfo.h.
42614 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42615 * sysdeps/ia64/stackinfo.h: Likewise.
42616 * sysdeps/s390/stackinfo.h: Likewise.
42617 * sysdeps/sh/stackinfo.h: Likewise.
42618 * sysdeps/sparc/stackinfo.h: Likewise.
42619 * sysdeps/x86_64/stackinfo.h: Likewise.
42620 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42621 PF_X for powerpc64. Retain PF_X for powerpc32.
42623 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42625 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42627 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42628 GETDENTS_64BIT_ALIGNED.
42630 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42632 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42634 2010-12-10 Andreas Schwab <schwab@redhat.com>
42636 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42639 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42640 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42642 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42643 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42645 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42648 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42651 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42653 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42655 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42657 * po/it.po: Update from translation team.
42659 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42661 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42664 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42666 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42668 2010-11-24 Andreas Schwab <schwab@redhat.com>
42670 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42672 (gaih_getanswer_slice): Likewise.
42674 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42678 2010-05-31 Petr Baudis <pasky@suse.cz>
42681 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42682 silently even in the chroot mode.
42684 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42686 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42687 last patch a bit. Pretty printing
42689 2010-05-31 Petr Baudis <pasky@suse.cz>
42692 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42693 initialization of skip_initgroups_dyn.
42695 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42697 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42700 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42702 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42704 2010-11-11 Andreas Schwab <schwab@redhat.com>
42706 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42707 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42708 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42709 ($(objpfx)tst-fnmatch-mem): New rule.
42710 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42711 * posix/tst-fnmatch.c (main): Call mtrace.
42713 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42716 Support Intel processor model 6 and model 0x2c.
42718 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42720 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42723 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42726 * string/test-strncasecmp.c (check_result): New function.
42727 (do_one_test): Use it.
42728 (check1): New function.
42729 (test_main): Use it.
42730 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42731 Support strcasecmp and strncasecmp.
42733 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42736 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42737 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42739 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42741 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42745 * sysdeps/x86_64/multiarch/bzero.S: New file.
42746 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42747 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42748 * sysdeps/x86_64/multiarch/memset.S: New file.
42749 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42751 Set bit_Prefer_SSE_for_memop for Intel processors.
42752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42754 (index_Prefer_SSE_for_memop): Define.
42755 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42757 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42759 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42760 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42762 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42765 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42766 (__x86_64_raw_data_cache_size_half): Likewise.
42767 (__x86_64_raw_shared_cache_size): Likewise.
42768 (__x86_64_raw_shared_cache_size_half): Likewise.
42770 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42771 (__x86_64_raw_data_cache_size_half): Likewise.
42772 (__x86_64_raw_shared_cache_size): Likewise.
42773 (__x86_64_raw_shared_cache_size_half): Likewise.
42774 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42775 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42776 and __x86_64_raw_shared_cache_size_half. Round
42777 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42778 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42779 to multiple of 256 bytes.
42781 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42784 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42785 of inacessible symlinks. Verify result of symlink before returning it.
42786 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42787 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42789 2010-10-28 Erich Ritz <erichritz@gmail.com>
42791 * math/math.h (isinf): Fix typo in comment.
42793 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42795 * po/da.po: Update from translation team.
42797 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42799 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42800 is added to the list.
42802 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42803 Ulrich Drepper <drepper@gmail.com>
42805 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42806 the global list here. Move code to...
42807 (_dl_add_to_namespace_list): ...here. New function.
42808 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42809 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42810 * elf/dl-load.c (lose): Don't remove the element from the list.
42811 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42812 (_dl_map_object): Likewise.
42814 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42817 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42818 into all bytes of SSE register.
42819 Patch by Richard Li <richardpku@gmail.com>.
42821 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42824 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42827 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42829 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42830 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42831 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42832 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42837 2010-10-22 Andreas Schwab <schwab@redhat.com>
42839 * include/dlfcn.h (__RTLD_SECURE): Define.
42840 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42841 mode & __RTLD_SECURE instead.
42842 (open_path): Rename preloaded parameter to secure.
42843 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42844 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42845 * elf/dl-deps.c (openaux): Likewise.
42846 * elf/rtld.c (struct map_args): Remove is_preloaded.
42847 (map_doit): Don't use it.
42848 (dl_main): Likewise.
42849 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42850 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42852 2010-09-09 Andreas Schwab <schwab@redhat.com>
42854 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42855 (sysd-rules-targets): Remove duplicates.
42856 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42857 rtld-%.$o dependency.
42859 2010-10-18 Andreas Schwab <schwab@redhat.com>
42861 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42862 _dl_map_object do it.
42864 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42866 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42867 fast fma builtins, define the macros in the C99 standard.
42868 (FP_FAST_FMAF): Likewise.
42869 (FP_FAST_FMAL): Likewise.
42870 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42872 * bits/mathdef.h: Update copyright year.
42873 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42875 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42877 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42878 builtins, define the macros in the C99 standard.
42879 (FP_FAST_FMAF): Likewise.
42880 (FP_FAST_FMAL): Likewise.
42881 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42883 (FP_FAST_FMAF): Likewise.
42885 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42888 * math/libm-test.inc (fma_test): Some new testcases.
42889 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42890 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42891 y and infinite z. Do multiplication by C already in long double.
42892 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42894 y and infinite z. Do bitwise or of inexact bit into u.d.
42895 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42896 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42897 * sysdeps/i386/fpu/s_fma.S: Removed.
42898 * sysdeps/i386/fpu/s_fmal.S: Removed.
42900 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42903 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42905 computation is not scheduled after fetestexcept. Fix value
42906 of minimum denormal long double.
42908 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42911 * math/libm-test.inc (fma_test): Add some more tests.
42912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42915 2010-10-15 Andreas Schwab <schwab@redhat.com>
42917 * scripts/data/localplt-s390-linux-gnu.data: New file.
42918 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42920 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42923 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42924 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42926 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42928 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42930 if one of x and y is very large and the other is subnormal.
42931 * sysdeps/s390/fpu/s_fmaf.c: New file.
42932 * sysdeps/s390/fpu/s_fma.c: New file.
42933 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42934 * sysdeps/powerpc/fpu/s_fma.S: New file.
42935 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42936 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42937 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42939 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42942 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42944 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42945 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42946 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42947 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42948 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42949 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42950 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42952 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42955 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42956 * posix/bug-regex31.input: Add test case.
42958 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42960 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42961 * posix/bug-regex31.input: New file.
42964 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42965 (parse_sub_exp): Fix last change, use postorder.
42967 * posix/bug-regex31.c: New file.
42968 * posix/Makefile: Add rules to build and run bug-regex31.
42970 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42973 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42976 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42977 to have entries in sys_siglist.
42980 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42983 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42986 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42987 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42988 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42989 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42990 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42991 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42992 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42993 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42994 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42995 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42996 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42997 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42998 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42999 * math/ftestexcept.c (fetestexcept): Likewise.
43000 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43001 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43002 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43003 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43004 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43005 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43006 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43008 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43011 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43014 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43016 * string/bug-strstr1.c: New file.
43017 * string/Makefile: Add rules to build and run bug-strstr1.
43019 2010-10-05 Eric Blake <eblake@redhat.com>
43022 * string/str-two-way.h (two_way_long_needle): Always clear memory
43023 when skipping input due to the shift table.
43025 2010-10-03 Ulrich Drepper <drepper@gmail.com>
43028 * malloc/mcheck.c: Handle large requests.
43031 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43032 for strncmp and strncasecmp.
43033 * string/stratcliff.c: Add tests for strcmp and strncmp.
43034 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43036 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43038 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43041 2010-09-30 Andreas Jaeger <aj@suse.de>
43043 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43044 (CGROUP_SUPER_MAGIC): Define.
43045 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43046 Handle btrfs and cgroup file systems.
43047 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43050 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43052 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43053 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43055 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43058 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43059 trying to locate the ELF header.
43061 2010-09-27 Andreas Schwab <schwab@redhat.com>
43064 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43065 Mask out sign-bit copies when constructing f_fsid.
43067 2010-09-24 Petr Baudis <pasky@suse.cz>
43069 * debug/stack_chk_fail_local.c: Add missing licence exception.
43070 * debug/warning-nop.c: Likewise.
43072 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43074 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43075 implementing getdents64 using getdents syscall, set d_type if
43076 __ASSUME_GETDENTS32_D_TYPE.
43078 2010-09-16 Andreas Schwab <schwab@redhat.com>
43080 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43081 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43083 2010-09-21 Ulrich Drepper <drepper@redhat.com>
43086 * posix/unistd.h: Undo change of feature selection for ftruncate from
43089 2010-09-20 Ulrich Drepper <drepper@redhat.com>
43091 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43094 2010-09-20 Andreas Schwab <schwab@redhat.com>
43096 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43098 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43100 2010-09-14 Andreas Schwab <schwab@redhat.com>
43102 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43103 variables after CHECK_SP call.
43104 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43106 2010-09-13 Andreas Schwab <schwab@redhat.com>
43107 Ulrich Drepper <drepper@redhat.com>
43109 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43110 re-relocationg ld.so.
43111 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43112 _dl_init_paths call.
43113 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43116 2010-09-14 Ulrich Drepper <drepper@redhat.com>
43118 * resolv/res_init.c (__res_vinit): Count the default server we added.
43120 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43121 Ulrich Drepper <drepper@redhat.com>
43124 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43125 (____longjmp_chk): Use %ebx for saving value across system call.
43128 2010-09-06 Andreas Schwab <schwab@redhat.com>
43130 * manual/Makefile: Don't mix pattern rules with normal rules.
43132 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43134 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43136 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43137 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43138 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43139 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43143 2010-09-04 Ulrich Drepper <drepper@redhat.com>
43146 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43147 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43149 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43151 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43152 * sysdeps/x86_64/addmul_1.S: Likewise.
43153 * sysdeps/x86_64/lshift.S: Likewise.
43154 * sysdeps/x86_64/mul_1.S: Likewise.
43155 * sysdeps/x86_64/rshift.S: Likewise.
43156 * sysdeps/x86_64/sub_n.S: Likewise.
43157 * sysdeps/x86_64/submul_1.S: Likewise.
43159 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43161 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43162 Define __sched_param instead of SCHED_* and sched_param when
43163 <bits/sched.h> is included with __need_schedparam defined.
43164 * bits/sched.h [__need_schedparam]
43165 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43166 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43167 (__defined_schedparam): Define to 1.
43168 (__sched_param): New structure, identical to sched_param.
43169 (__need_schedparam): Undefine.
43171 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43173 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43174 (epoll_create1): Declare.
43176 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43178 2010-08-31 Andreas Schwab <schwab@redhat.com>
43181 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43182 shifting retval into place.
43184 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43186 * nis/rpcsvc/nis.h: Update copyright notice.
43187 * nis/rpcsvc/nis.x: Likewise.
43188 * nis/rpcsvc/nis_callback.h: Likewise.
43189 * nis/rpcsvc/nis_callback.x: Likewise.
43190 * nis/rpcsvc/nis_object.x: Likewise.
43191 * nis/rpcsvc/nis_tags.h: Likewise.
43192 * nis/rpcsvc/yp.h: Likewise.
43193 * nis/rpcsvc/yp.x: Likewise.
43194 * nis/rpcsvc/ypupd.h: Likewise.
43195 * nis/yp_xdr.c: Likewise.
43196 * nis/ypupdate_xdr.c: Likewise.
43198 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43199 mainly the body of pmap_getport. Add parameters to specify timeouts.
43200 (pmap_getport): Use __libc_rpc_getport.
43201 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43202 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43203 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43205 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43210 2010-08-27 Roland McGrath <roland@redhat.com>
43212 * sysdeps/i386/i686/multiarch/Makefile
43213 (CFLAGS-varshift.c): New variable.
43215 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43217 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43218 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43222 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43224 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43226 * sysdeps/x86_64/strlen.S: Unroll the loop.
43227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43228 strlen-sse2 strlen-sse2-bsf.
43229 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43230 __strlen_no_bsf if bit_Slow_BSF is set.
43231 (__strlen_sse42): Removed.
43232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43233 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43235 2010-08-25 Roland McGrath <roland@redhat.com>
43237 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43238 * sysdeps/x86_64/multiarch/varshift.c: New file.
43239 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43240 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43241 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43242 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43244 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43247 strlen-sse2 strlen-sse2-bsf.
43248 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43249 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43250 (__strlen_sse2): Removed.
43251 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43254 bit_Slow_BSF for Atom.
43255 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43256 (index_Slow_BSF): Define.
43257 (HAS_SLOW_BSF): Define.
43259 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43262 * resolv/res_init.c (__res_vinit): When no server address at all
43263 is given default to loopback.
43265 2010-08-24 Roland McGrath <roland@redhat.com>
43267 * configure.in: Remove config-name.h generation.
43268 * configure: Regenerated.
43269 * config-name.in: File removed.
43270 * scripts/config-uname.sh: New file.
43271 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43272 ($(objdir)config-name.h): New target.
43274 * sunrpc/rpc_parse.h: Avoid nested comment.
43276 2010-08-24 Richard Henderson <rth@redhat.com>
43277 Ulrich Drepper <drepper@redhat.com>
43278 H.J. Lu <hongjiu.lu@intel.com>
43280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43282 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43283 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43284 _mm_alignr_epi8 with _mm_loadu_si128.
43285 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43286 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43287 (__m128i_shift_right): Removed.
43288 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43289 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43290 * sysdeps/x86_64/multiarch/varshift.h: New file.
43291 * sysdeps/x86_64/multiarch/varshift.S: New file.
43293 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43295 * configure.in: Move assembler checks to before sysdep dir checking.
43297 2010-08-20 Petr Baudis <pasky@suse.cz>
43299 * LICENSES: Sync the sunrpc license.
43301 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43303 * sunrpc/auth_des.c: Update copyright notice once again.
43304 * sunrpc/auth_none.c: Likewise.
43305 * sunrpc/auth_unix.c: Likewise.
43306 * sunrpc/authdes_prot.c: Likewise.
43307 * sunrpc/authuxprot.c: Likewise.
43308 * sunrpc/bindrsvprt.c: Likewise.
43309 * sunrpc/clnt_gen.c: Likewise.
43310 * sunrpc/clnt_perr.c: Likewise.
43311 * sunrpc/clnt_raw.c: Likewise.
43312 * sunrpc/clnt_simp.c: Likewise.
43313 * sunrpc/clnt_tcp.c: Likewise.
43314 * sunrpc/clnt_udp.c: Likewise.
43315 * sunrpc/clnt_unix.c: Likewise.
43316 * sunrpc/des_crypt.c: Likewise.
43317 * sunrpc/des_soft.c: Likewise.
43318 * sunrpc/get_myaddr.c: Likewise.
43319 * sunrpc/getrpcport.c: Likewise.
43320 * sunrpc/key_call.c: Likewise.
43321 * sunrpc/key_prot.c: Likewise.
43322 * sunrpc/openchild.c: Likewise.
43323 * sunrpc/pm_getmaps.c: Likewise.
43324 * sunrpc/pm_getport.c: Likewise.
43325 * sunrpc/pmap_clnt.c: Likewise.
43326 * sunrpc/pmap_prot.c: Likewise.
43327 * sunrpc/pmap_prot2.c: Likewise.
43328 * sunrpc/pmap_rmt.c: Likewise.
43329 * sunrpc/rpc/auth.h: Likewise.
43330 * sunrpc/rpc/auth_unix.h: Likewise.
43331 * sunrpc/rpc/clnt.h: Likewise.
43332 * sunrpc/rpc/des_crypt.h: Likewise.
43333 * sunrpc/rpc/key_prot.h: Likewise.
43334 * sunrpc/rpc/netdb.h: Likewise.
43335 * sunrpc/rpc/pmap_clnt.h: Likewise.
43336 * sunrpc/rpc/pmap_prot.h: Likewise.
43337 * sunrpc/rpc/pmap_rmt.h: Likewise.
43338 * sunrpc/rpc/rpc.h: Likewise.
43339 * sunrpc/rpc/rpc_des.h: Likewise.
43340 * sunrpc/rpc/rpc_msg.h: Likewise.
43341 * sunrpc/rpc/svc.h: Likewise.
43342 * sunrpc/rpc/svc_auth.h: Likewise.
43343 * sunrpc/rpc/types.h: Likewise.
43344 * sunrpc/rpc/xdr.h: Likewise.
43345 * sunrpc/rpc_clntout.c: Likewise.
43346 * sunrpc/rpc_cmsg.c: Likewise.
43347 * sunrpc/rpc_common.c: Likewise.
43348 * sunrpc/rpc_cout.c: Likewise.
43349 * sunrpc/rpc_dtable.c: Likewise.
43350 * sunrpc/rpc_hout.c: Likewise.
43351 * sunrpc/rpc_main.c: Likewise.
43352 * sunrpc/rpc_parse.c: Likewise.
43353 * sunrpc/rpc_parse.h: Likewise.
43354 * sunrpc/rpc_prot.c: Likewise.
43355 * sunrpc/rpc_sample.c: Likewise.
43356 * sunrpc/rpc_scan.c: Likewise.
43357 * sunrpc/rpc_scan.h: Likewise.
43358 * sunrpc/rpc_svcout.c: Likewise.
43359 * sunrpc/rpc_tblout.c: Likewise.
43360 * sunrpc/rpc_util.c: Likewise.
43361 * sunrpc/rpc_util.h: Likewise.
43362 * sunrpc/rpcinfo.c: Likewise.
43363 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43364 * sunrpc/rpcsvc/key_prot.x: Likewise.
43365 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43366 * sunrpc/rpcsvc/mount.x: Likewise.
43367 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43368 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43369 * sunrpc/rpcsvc/rex.x: Likewise.
43370 * sunrpc/rpcsvc/rstat.x: Likewise.
43371 * sunrpc/rpcsvc/rusers.x: Likewise.
43372 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43373 * sunrpc/rpcsvc/spray.x: Likewise.
43374 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43375 * sunrpc/rtime.c: Likewise.
43376 * sunrpc/svc.c: Likewise.
43377 * sunrpc/svc_auth.c: Likewise.
43378 * sunrpc/svc_authux.c: Likewise.
43379 * sunrpc/svc_raw.c: Likewise.
43380 * sunrpc/svc_run.c: Likewise.
43381 * sunrpc/svc_simple.c: Likewise.
43382 * sunrpc/svc_tcp.c: Likewise.
43383 * sunrpc/svc_udp.c: Likewise.
43384 * sunrpc/svc_unix.c: Likewise.
43385 * sunrpc/svcauth_des.c: Likewise.
43386 * sunrpc/xcrypt.c: Likewise.
43387 * sunrpc/xdr.c: Likewise.
43388 * sunrpc/xdr_array.c: Likewise.
43389 * sunrpc/xdr_float.c: Likewise.
43390 * sunrpc/xdr_mem.c: Likewise.
43391 * sunrpc/xdr_rec.c: Likewise.
43392 * sunrpc/xdr_ref.c: Likewise.
43393 * sunrpc/xdr_sizeof.c: Likewise.
43394 * sunrpc/xdr_stdio.c: Likewise.
43396 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43399 2010-08-19 Andreas Schwab <schwab@redhat.com>
43401 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43403 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43405 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43406 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43407 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43408 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43409 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43410 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43411 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43412 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43413 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43414 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43415 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43416 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43417 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43418 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43420 2010-07-26 Anton Blanchard <anton@samba.org>
43422 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43423 * malloc/arena.c (heap_trim): Likewise.
43425 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43427 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43429 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43430 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43432 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43434 * sysdeps/i386/elf/Makefile: New file.
43436 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43438 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43439 from fanotify_init.
43440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43443 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43445 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43447 * sysdeps/multiarch/strcmp.S: Likewise.
43449 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43451 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43452 strncase_l-nonascii.
43453 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43454 Add strncase_l-ssse3.
43455 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43456 * sysdeps/x86_64/strcmp.S: Likewise.
43457 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43458 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43459 * sysdeps/x86_64/strncase.S: New file.
43460 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43461 * sysdeps/x86_64/strncase_l.S: New file.
43462 * string/Makefile (strop-tests): Add strncasecmp.
43463 * string/test-strncasecmp.c: New file.
43465 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43468 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43469 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43471 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43473 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43475 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43477 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43478 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43479 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43481 2010-05-01 Alan Modra <amodra@gmail.com>
43483 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43484 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43485 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43486 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43487 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43488 tidying. Don't tail-call __sigjmp_save for static lib.
43489 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43491 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43492 (CALL_MCOUNT): Add eh info, and nop after bl.
43493 (TAIL_CALL_SYSCALL_ERROR): New macro.
43494 (PSEUDO_RET): Use it.
43495 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43496 Correct save location of integer regs and cr.
43497 (_dl_profile_resolve): Correct cr save location. Delete nops
43498 after bl when SHARED. Reduce cfi size a little by better
43499 placement of cfi directives.
43500 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43501 make a stack frame. Instead use parm save area as a temp.
43502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43503 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43505 Don't make a stack frame for parent, use parm save area.
43506 Increase child stack frame to 112 bytes. Don't save unused reg,
43507 and adjust reg usage. Set up cfi on error recovery and
43508 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43510 (__makecontext): Add dummy nop after jump to exit.
43511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43512 Use correct parm save area and cr save, reduce stack frame.
43513 Correct cfi for possible PSEUDO_RET frame setup.
43514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43515 Branch to local label emitted by PSEUDO_RET rather than
43518 2010-08-12 Andreas Schwab <schwab@redhat.com>
43521 * locale/programs/locale.c (print_assignment): New function.
43522 (show_locale_vars): Use it.
43524 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43526 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43528 (struct statfs64): Likewise.
43529 (_STATFS_F_FLAGS): Define.
43530 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43531 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43532 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43533 (ST_VALID): Define locally.
43534 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43535 __statvfs_getflags, use the provided value.
43536 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43537 __ASSUME_STATFS_F_FLAGS.
43539 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43541 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43542 Add sys/fanotify.h.
43543 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43544 fanotify_mask for GLIBC_2.13.
43545 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43546 fanotify_init and fanotify_mark.
43547 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43548 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43550 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43552 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43553 prlimit64 for GLIBC_2.13.
43554 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43559 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43560 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43561 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43564 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43567 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43568 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43570 * nss/Makefile: Add rules to build and run tst-nss-test1.
43571 * shlib-versions: Add entry for libnss_test1.
43572 * nss/nss_test1.c: New file.
43573 * nss/tst-nss-test1.c: New file.
43575 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43576 (__nss_configure_lookup): Set appropriate entry in
43577 __nss_configure_lookup to true.
43578 * nss/nsswitch.h: Define enum with indeces of databases in
43579 databases and __nss_database_custom arrays. Declare
43580 __nss_database_custom.
43581 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43582 to avoid using nscd when custom rules are installed.
43583 * nss/getXXbyYY_r.c: Likewise.
43584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43586 * nss/nss_files/files-parse.c: Whitespace fixes.
43588 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43591 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43592 * posix/fnmatch_loop.c: Likewise.
43594 2010-07-17 Andi Kleen <ak@linux.intel.com>
43596 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43597 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43598 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43599 * Versions.def [GLIBC_2.13]: Add.
43601 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43603 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43604 Also fail if tpwd after pwuid call is NULL.
43606 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43608 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43609 when converting to ms.
43611 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43613 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43614 EOPNOTSUPP errors with ENOTTY.
43615 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43616 EOPNOTSUPP errors with ENOTTY.
43618 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43620 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43621 Add strcasecmp_l-ssse3.
43622 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43624 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43625 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43626 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43628 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43630 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43632 * string/Makefile (strop-tests): Add strcasecmp.
43633 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43634 strcasecmp_l-nonascii.
43635 (gen-as-const-headers): Add locale-defines.sym.
43636 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43637 * sysdeps/x86_64/strcasecmp.S: New file.
43638 * sysdeps/x86_64/strcasecmp_l.S: New file.
43639 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43640 * sysdeps/x86_64/locale-defines.sym: New file.
43641 * string/test-strcasecmp.c: New file.
43643 * string/test-strcasestr.c: Test both ends of the range of characters.
43644 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43646 2010-07-29 Roland McGrath <roland@redhat.com>
43649 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43651 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43653 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43656 2010-07-27 Andreas Schwab <schwab@redhat.com>
43658 * manual/memory.texi (Malloc Tunable Parameters): Document
43661 2010-07-26 Roland McGrath <roland@redhat.com>
43664 * configure.in (-fgnu89-inline check): Set and substitute
43665 gnu89_inline, not libc_cv_gnu89_inline.
43666 * configure: Regenerated.
43667 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43669 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43671 * string/test-strnlen.c: New file.
43672 * string/Makefile (strop-tests): Add strnlen.
43673 * string/tester.c (test_strnlen): Add a few more test cases.
43674 * string/tst-strlen.c: Better error reporting.
43676 * sysdeps/x86_64/strnlen.S: New file.
43678 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43680 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43681 lower-latency instructions.
43683 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43685 * string/test-strcasestr.c: New file.
43686 * string/test-strstr.c: New file.
43687 * string/Makefile (strop-tests): Add strstr and strcasestr.
43688 * string/str-two-way.h: Don't undefine MAX.
43689 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43691 2010-07-21 Andreas Schwab <schwab@redhat.com>
43693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43694 strcasestr-nonascii.
43695 (CFLAGS-strcasestr-nonascii.c): Define.
43696 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43697 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43698 Remove unused attribute.
43700 2010-07-20 Roland McGrath <roland@redhat.com>
43702 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43703 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43704 ld.so.cache was broken. With it, there is no way to disable dsocaps
43705 like LD_HWCAP_MASK can disable hwcaps.
43707 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43709 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43711 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43713 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43714 call in strcasestr.
43715 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43716 __strcasestr_sse42_nonascii.
43717 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43718 strcasestr-nonascii.c.
43719 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43721 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43723 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43724 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43725 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43726 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43728 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43730 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43733 2010-07-06 Andreas Schwab <schwab@redhat.com>
43736 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43739 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43742 _PC_PIPE_BUF using F_GETPIPE_SZ.
43744 2010-07-05 Roland McGrath <roland@redhat.com>
43746 * manual/arith.texi (Rounding Functions): Fix rint description
43747 implicit in round description.
43749 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43751 * elf/Makefile: Fix linking for a few tests to make recent linker
43754 2010-06-30 Andreas Schwab <schwab@redhat.com>
43756 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43757 $(common-objpfx)libc_nonshared.a.
43759 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43761 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43762 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43763 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43764 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43765 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43766 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43767 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43768 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43783 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43784 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43785 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43786 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43787 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43788 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43789 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43790 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43791 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43792 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43793 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43794 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43810 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43812 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43813 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43814 * string/memmove.c (memmove): Renamed to ...
43815 (MEMMOVE): ...this. Default to memmove.
43816 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43817 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43820 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43821 mempcpy-ssse3-back memmove-ssse3-back.
43822 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43824 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43825 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43826 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43827 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43828 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43829 * sysdeps/x86_64/multiarch/memmove.c: New file.
43830 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43831 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43832 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43833 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43834 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43835 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43837 (index_Fast_Copy_Backward): Define.
43838 (HAS_ARCH_FEATURE): Define.
43839 (HAS_FAST_REP_STRING): Define.
43840 (HAS_FAST_COPY_BACKWARD): Define.
43842 2010-06-21 Andreas Schwab <schwab@redhat.com>
43844 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43845 Restore proper fallback handling.
43847 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43850 * posix/group_member.c (__group_member): Correct checking loop.
43852 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43853 OOM in getpwuid_r correctly. Return error number when the caller
43854 should return, otherwise -1.
43855 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43856 call returning > 0 value.
43857 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43859 2010-06-07 Andreas Schwab <schwab@redhat.com>
43861 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43862 libc_nonshared.a from targets in modules-names.
43864 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43866 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43869 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43871 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43872 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43873 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43874 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43876 2010-06-02 Andreas Schwab <schwab@redhat.com>
43878 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43880 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43882 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43886 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43888 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43889 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43891 2010-06-14 Roland McGrath <roland@redhat.com>
43893 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43895 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43897 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43898 __REDIRECT followed by __THROW.
43899 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43900 * posix/getopt.h (getopt): Likewise.
43902 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43904 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43905 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43906 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43908 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43909 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43911 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43915 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43919 Properly check family and model.
43921 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43923 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43925 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43927 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43929 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43931 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43934 2010-05-19 Andreas Schwab <schwab@redhat.com>
43936 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43939 2010-05-21 Andreas Schwab <schwab@redhat.com>
43941 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43942 and internal_recvmmsg.
43943 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43944 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43945 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43946 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43948 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43949 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43950 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43952 2010-05-20 Andreas Schwab <schwab@redhat.com>
43954 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43956 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43958 POWER7 optimizations.
43959 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43960 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43962 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43964 * version.h: Update for 2.13 development version.
43966 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43968 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43969 exceptions. Return 0.
43971 2010-05-07 Roland McGrath <roland@redhat.com>
43973 * elf/ldconfig.c (main): Add a const.
43975 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43977 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43978 (args_options): Add no-idn option.
43979 (ahosts_keys_int): Add idn_flags to ai_flags.
43980 (parse_option): Handle 'i' option to clear idn_flags.
43982 * malloc/malloc.c (_int_free): Possible race in the most recently
43983 added check. Only act on the data if no current modification
43986 See ChangeLog.17 for earlier changes.