1 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5 arguments with exponent 65 or above.
6 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7 arguments 0x1p113L or above.
8 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9 to arguments 0x1p107L or above.
10 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11 positive arguments with exponent 65 or above.
12 * math/auto-libm-test-in: Add more tests of log1p.
13 * math/auto-libm-test-out: Regenerated.
16 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17 non-finite arguments is +0.
18 * math/s_cacosf.c (__cacosf): Likewise.
19 * math/s_cacosl.c (__cacosl): Likewise.
20 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21 * sysdeps/i386/fpu/libm-test-ulps: Update.
22 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
30 for explicit high bit of mantissa when testing for argument equal
32 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33 * sysdeps/i386/fpu/libm-test-ulps: Update.
34 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
38 (__erf): Scale by 16 instead of 8 in potentially underflowing
39 case. Ensure exception if result actually underflows.
40 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41 (__erff): Scale by 16 instead of 8 in potentially underflowing
42 case. Ensure exception if result actually underflows.
43 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
44 (efx8): Remove variable.
45 (__erfl): Scale by 16 instead of 8 in potentially underflowing
46 case. Ensure exception if result actually underflows.
47 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
48 (efx8): Remove variable.
49 (__erfl): Scale by 16 instead of 8 in potentially underflowing
50 case. Ensure exception if result actually underflows.
51 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52 (efx8): Remove variable.
53 (__erfl): Scale by 16 instead of 8 in potentially underflowing
54 case. Ensure exception if result actually underflows.
55 * math/auto-libm-test-in: Add more tests of erf.
56 * math/auto-libm-test-out: Regenerated.
58 2014-05-14 Andreas Schwab <schwab@suse.de>
60 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
61 Remove code conditionalized on USE___THREAD.
63 * config.h.in (HAVE_PT_CHOWN): Define as 0.
64 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
67 2014-05-14 Joseph Myers <joseph@codesourcery.com>
69 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
70 Define unconditionally.
71 (__ASSUME_O_CLOEXEC): Likewise.
72 (__ASSUME_SOCK_CLOEXEC): Likewise.
73 (__ASSUME_IN_NONBLOCK): Likewise.
74 (__ASSUME_PIPE2): Likewise.
75 (__ASSUME_EVENTFD2): Likewise.
76 (__ASSUME_SIGNALFD4): Likewise.
77 (__ASSUME_DUP3): Likewise.
78 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
79 (__ASSUME_DUP3): Do not define.
80 (__ASSUME_EVENTFD2): Likewise.
81 (__ASSUME_IN_NONBLOCK): Likewise.
82 (__ASSUME_O_CLOEXEC): Likewise.
83 (__ASSUME_PIPE2): Likewise.
84 (__ASSUME_SIGNALFD4): Likewise.
85 (__ASSUME_SOCK_CLOEXEC): Likewise.
86 (__ASSUME_UTIMES): Undefine.
87 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
88 (__ASSUME_UTIMES): Do not define.
89 (__ASSUME_O_CLOEXEC): Likewise.
90 (__ASSUME_SOCK_CLOEXEC): Likewise.
91 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
92 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
94 (__ASSUME_PIPE2): Likewise.
95 (__ASSUME_EVENTFD2): Likewise.
96 (__ASSUME_SIGNALFD4): Likewise.
97 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
98 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
100 (__ASSUME_EVENTFD2): Likewise.
101 (__ASSUME_SIGNALFD4): Likewise.
102 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
103 (__ASSUME_32BITUIDS): Likewise.
104 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
105 (__ASSUME_IPC64): Likewise.
106 (__ASSUME_ST_INO_64_BIT): Likewise.
107 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
108 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
109 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
110 (__ASSUME_UTIMES): Do not define.
111 (__ASSUME_PSELECT): Likewise.
112 (__ASSUME_PPOLL): Likewise.
113 (__ASSUME_O_CLOEXEC): Likewise.
114 (__ASSUME_SOCK_CLOEXEC): Likewise.
115 (__ASSUME_IN_NONBLOCK): Likewise.
116 (__ASSUME_PIPE2): Likewise.
117 (__ASSUME_EVENTFD2): Likewise.
118 (__ASSUME_SIGNALFD4): Likewise.
119 (__ASSUME_DUP3): Likewise.
120 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
121 (__ASSUME_UTIMES): Likewise.
122 (__ASSUME_O_CLOEXEC): Likewise.
123 (__ASSUME_SOCK_CLOEXEC): Likewise.
124 (__ASSUME_IN_NONBLOCK): Likewise.
125 (__ASSUME_PIPE2): Likewise.
126 (__ASSUME_EVENTFD2): Likewise.
127 (__ASSUME_SIGNALFD4): Likewise.
128 (__ASSUME_DUP3): Likewise.
129 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
130 (__ASSUME_UTIMES): Likewise.
131 (__ASSUME_O_CLOEXEC): Likewise.
132 (__ASSUME_SOCK_CLOEXEC): Likewise.
133 (__ASSUME_IN_NONBLOCK): Likewise.
134 (__ASSUME_PIPE2): Likewise.
135 (__ASSUME_EVENTFD2): Likewise.
136 (__ASSUME_SIGNALFD4): Likewise.
137 (__ASSUME_DUP3): Likewise.
138 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
140 (__ASSUME_UTIMES): Likewise.
141 (__ASSUME_EVENTFD2): Likewise.
142 (__ASSUME_SIGNALFD4): Likewise.
143 * sysdeps/unix/sysv/linux/tile/kernel-features.h
144 (__ASSUME_O_CLOEXEC): Likewise.
145 (__ASSUME_SOCK_CLOEXEC): Likewise.
146 (__ASSUME_IN_NONBLOCK): Likewise.
147 (__ASSUME_PIPE2): Likewise.
148 (__ASSUME_EVENTFD2): Likewise.
149 (__ASSUME_SIGNALFD4): Likewise.
150 (__ASSUME_DUP3): Likewise.
151 (__ASSUME_UTIMES): Undefine.
153 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
154 feclearexcept. Remove symbol versioning code.
155 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
156 symbol versioning code.
157 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
158 symbol versioning code.
159 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
160 feupdateenv. Remove symbol versioning code.
161 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
162 fegetexceptflag. Remove symbol versioning code.
163 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
164 fesetexceptflag. Remove symbol versioning code.
165 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
166 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
167 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
168 (__posix_fadvise64_l32): Remove prototype.
169 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
172 2014-05-13 Roland McGrath <roland@hack.frob.com>
174 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
175 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
176 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
177 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
179 2014-05-13 Sami Kerola <kerolasa@iki.fi>
181 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
182 current working directory
184 2014-05-13 Roland McGrath <roland@hack.frob.com>
186 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
187 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
188 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
189 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
190 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
191 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
192 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
193 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
194 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
196 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
197 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
198 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
199 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
200 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
202 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
203 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
204 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
205 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
206 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
207 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
208 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
210 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
211 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
212 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
213 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
214 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
215 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
216 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
217 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
218 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
219 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
220 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
221 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
222 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
223 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
224 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
225 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
226 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
227 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
229 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
230 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
232 * sysdeps/unix/sysv/linux/arm/Makefile
233 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
234 Add rt-aeabi_unwind_cpp_pr1.
235 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
236 Add nptl-aeabi_unwind_cpp_pr1.
237 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
238 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
239 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
240 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
241 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
242 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
244 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
245 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
246 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
247 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
249 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
250 Deconditionalize the code that was previously under [RESET_PID].
251 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
253 * sysdeps/generic/exit-thread.h: New file.
254 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
255 * include/unistd.h (__exit_thread): Remove declaration.
256 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
257 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
258 * csu/libc-start.c: Include <exit-thread.h>.
259 (LIBC_START_MAIN): Pass no argument to __exit_thread.
260 * nptl/pthread_create.c: Include <exit-thread.h>.
261 (start_thread): Call __exit_thread in place of __exit_thread_inline.
262 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
263 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
264 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
265 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
266 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
267 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
268 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
269 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
270 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
271 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
272 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
273 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
274 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
275 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
276 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
277 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
279 2014-05-13 Andreas Schwab <schwab@suse.de>
281 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
283 2014-05-12 Joseph Myers <joseph@codesourcery.com>
285 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
286 (__ASSUME_UTIMES): Do not condition on kernel version.
287 (__ASSUME_PSELECT): Define unconditionally.
288 (__ASSUME_PPOLL): Likewise.
289 (__ASSUME_ATFCTS): Likewise.
290 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
291 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
292 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
293 (__ASSUME_UTIMENSAT): Define unconditionally.
294 (__ASSUME_PRIVATE_FUTEX): Likewise.
295 (__ASSUME_FALLOCATE): Likewise.
296 (__ASSUME_O_CLOEXEC): Likewise.
297 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
298 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
299 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
300 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
301 (__ASSUME_IN_NONBLOCK): Likewise.
302 (__ASSUME_PIPE2): Likewise.
303 (__ASSUME_EVENTFD2): Likewise.
304 (__ASSUME_SIGNALFD4): Likewise.
305 (__ASSUME_DUP3): Likewise.
306 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
307 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
308 (__ASSUME_AT_RANDOM): Likewise.
309 (__ASSUME_PREADV): Likewise.
310 (__ASSUME_PWRITEV): Likewise.
311 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
312 (__ASSUME_F_GETOWN_EX): Define unconditionally.
313 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
314 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
315 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
316 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
317 (__ASSUME_O_CLOEXEC): Define unconditionally.
318 (__ASSUME_PSELECT): Do not undefine conditionally.
319 (__ASSUME_PPOLL): Likewise.
320 (__ASSUME_ATFCTS): Likewise.
321 (__ASSUME_SET_ROBUST_LIST): Likewise.
322 (__ASSUME_UTIMENSAT): Likewise.
323 (__ASSUME_FDATASYNC): Define unconditionally.
324 * sysdeps/unix/sysv/linux/arm/kernel-features.h
325 (__ASSUME_SIGFRAME_V2): Likewise.
326 )__ASSUME_EVENTFD2): Likewise.
327 (__ASSUME_SIGNALFD4): Likewise.
328 (__ASSUME_PSELECT): Do not undefine conditionally.
329 (__ASSUME_PPOLL): Likewise.
330 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
331 (__ASSUME_PSELECT): Define unconditionally.
332 (__ASSUME_PPOLL): Likewise.
333 (__ASSUME_O_CLOEXEC): Likewise.
334 (__ASSUME_SOCK_CLOEXEC): Likewise.
335 (__ASSUME_IN_NONBLOCK): Likewise.
336 (__ASSUME_PIPE2): Likewise.
337 (__ASSUME_EVENTFD2): Likewise.
338 (__ASSUME_SIGNALFD4): Likewise.
339 (__ASSUME_DUP3): Likewise.
340 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
341 (__ASSUME_O_CLOEXEC): Likewise.
342 (__ASSUME_SOCK_CLOEXEC): Likewise.
343 (__ASSUME_IN_NONBLOCK): Likewise.
344 (__ASSUME_PIPE2): Likewise.
345 (__ASSUME_EVENTFD2): Likewise.
346 (__ASSUME_SIGNALFD4): Likewise.
347 (__ASSUME_DUP3): Likewise.
348 * sysdeps/unix/sysv/linux/mips/kernel-features.h
349 (__ASSUME_EVENTFD2): Likewise.
350 (__ASSUME_SIGNALFD4): Likewise.
351 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
353 2014-05-12 Andreas Schwab <schwab@suse.de>
356 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
357 (_nss_nis_gethostbyname4_r): Return error if item length is larger
358 than maximum RPC packet size.
359 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
360 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
361 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
362 (_nss_nis_getservbyport_r): Likewise.
364 2014-05-12 Will Newton <will.newton@linaro.org>
366 * malloc/Makefile (tests): Add tst-mallopt.
367 * malloc/tst-mallopt.c: New file.
369 2014-05-09 Roland McGrath <roland@hack.frob.com>
371 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
372 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
374 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
376 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
377 (tst-tlsmod6.so): Likewise.
379 2014-05-09 Roland McGrath <roland@hack.frob.com>
381 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
383 2014-05-09 Joseph Myers <joseph@codesourcery.com>
386 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
388 (__fegetenv): Save SSE state in envp->__eip if supported.
389 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
390 envp->__eip if supported.
391 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
393 (__fesetenv): Always set __eip, __cs_selector, __opcode,
394 __data_offset and __data_selector in environment to 0. Set SSE
396 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
398 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
400 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
402 2014-05-09 Will Newton <will.newton@linaro.org>
404 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
405 and libc_relro_required for ARM.
406 * sysdeps/arm/preconfigure: Regenerate.
408 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
409 Stefan Liebler <stli@linux.vnet.ibm.com>
411 * config.make.in (enable-lock-elision): New Makefile variable.
412 * configure.ac: Likewise.
413 * configure: Regenerate.
414 * sysdeps/s390/configure.ac:
415 Add check for gcc transactions support.
416 * sysdeps/s390/configure: Regenerate.
417 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
418 Build elision files if enabled.
419 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
420 Add lock elision support for s390.
421 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
422 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
423 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
424 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
425 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
426 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
427 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
429 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
431 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
433 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
435 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
436 (__lll_timedlock_elision, __lll_lock_elision)
437 (__lll_unlock_elision, __lll_trylock_elision)
438 (lll_timedlock_elision, lll_lock_elision)
439 (lll_unlock_elision, lll_trylock_elision): Add.
440 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
441 (pthread_mutex_t): Add lock elision support for s390.
443 2014-05-09 Will Newton <will.newton@linaro.org>
445 * sysdeps/arm/armv7/strcmp.S: New file.
446 * NEWS: Mention addition of ARMv7 optimized strcmp.
448 2014-05-08 Roland McGrath <roland@hack.frob.com>
450 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
451 look for %.ac rather than %.in.
453 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
454 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
455 * sysdeps/mach/hurd/configure: Regenerated.
456 * sysdeps/unix/sysv/linux/configure: Regenerated.
458 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
460 2014-05-07 Steve Ellcey <sellcey@mips.com>
463 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
467 2014-05-07 Andreas Schwab <schwab@suse.de>
469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
470 when skipping over non-matching result from nscd.
472 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
475 * nptl/sockperf.c (client): Check socket return value.
478 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
481 2014-05-06 Roland McGrath <roland@hack.frob.com>
483 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
484 * sysdeps/arm/unwind.h: ... here.
486 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
489 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
492 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
494 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
495 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
496 multiarch strncpy for PPC64.
497 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
498 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
500 multiarch optimizations.
501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
502 (__libc_ifunc_impl_list): Likewise.
503 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
504 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
505 multiarch stpncpy for PPC64.
506 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
507 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
509 2014-05-06 Andreas Schwab <schwab@suse.de>
512 * gmon/mcount.c (_MCOUNT_DECL): Use
513 atomic_compare_and_exchange_bool_acq instead of
514 catomic_compare_and_exchange_bool_acq.
516 2014-05-05 Roland McGrath <roland@hack.frob.com>
518 * elf/Makefile (others, install-bin): Remove pldd.
519 (pldd-modules): Variable removed.
520 ($(objpfx)pldd): Target removed.
521 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
522 (others, install-bin): Append pldd here.
523 ($(objpfx)pldd): New target.
525 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
526 to 0, so the first #if test emitted later doesn't see it undefined.
527 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
528 * sysdeps/gnu/errlist.c: Regenerated.
530 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
532 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
533 [libc_hidden_builtin_def]: Define to empty value.
534 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
535 [libc_hidden_builtin_def]: Likewise.
536 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
537 [libc_hidden_builtin_def]: Likewise.
538 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
539 [libc_hidden_builtin_def]: Likewise.
540 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
541 __redirect_memcpy and define ifunc as default hidden symbol.
542 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
543 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
545 2014-05-04 Adam Conrad <adconrad@0c3.net>
547 * locale/iso-4217.def: Reintroduce XDR currency.
549 2014-05-04 Allan McRae <allan@archlinux.org>
551 * po/eo.po: Update Esperanto translation from translation project.
553 2014-05-02 Carlos O'Donell <carlos@redhat.com>
555 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
556 and FEATURE_INDEX_MAX to 1.
557 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
559 2014-05-01 Steve Ellcey <sellcey@mips.com>
561 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
562 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
563 * iconvdata/big5.c (ONE_DIRECTION): Define.
564 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
565 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
566 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
567 * iconvdata/cp932.c (ONE_DIRECTION): Define.
568 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
569 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
570 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
571 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
572 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
573 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
574 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
575 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
576 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
577 * iconvdata/gbk.c (ONE_DIRECTION): Define.
578 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
579 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
580 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
581 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
582 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
583 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
584 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
585 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
586 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
587 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
588 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
589 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
590 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
591 * iconvdata/iso646.c (ONE_DIRECTION): Define.
592 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
593 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
594 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
595 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
596 * iconvdata/johab.c (ONE_DIRECTION): Define.
597 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
598 * iconvdata/sjis.c (ONE_DIRECTION): Define.
599 * iconvdata/t.61.c (ONE_DIRECTION): Define.
600 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
601 * iconvdata/tscii.c (ONE_DIRECTION): Define.
602 * iconvdata/uhc.c (ONE_DIRECTION): Define.
603 * iconvdata/unicode.c (ONE_DIRECTION): Define.
604 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
605 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
606 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
608 2014-05-01 Roland McGrath <roland@hack.frob.com>
610 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
611 (_IO_JUMPS_OFFSET): Define to 0.
613 * nptl/sysdeps/pthread/bits/libc-lock.h
614 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
615 (__libc_lock_define_initialized_recursive): Always define using
616 initializer. Modern compilers treat uninitialized (implicit zero) and
617 explicit zero initializers the same (i.e. put the datum in bss).
619 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
621 * nscd/nscd-client.h: Include <string.h>.
623 2014-05-01 David S. Miller <davem@davemloft.net>
626 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
627 multiple zero bytes exist at the end of a string.
628 Reported by Aurelien Jarno <aurelien@aurel32.net>
630 * string/test-strcmp.c (check): Add explicit test for situations where
631 there are multiple zero bytes after the first.
633 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
636 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
637 when compiling wprintf.
638 * stdio-common/tstdiomisc.c (t3): New function.
641 2014-05-01 Steve Ellcey <sellcey@mips.com>
643 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
644 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
645 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
646 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
648 2014-05-01 Steve Ellcey <sellcey@mips.com>
650 * stdlib/longlong.h: Updated from GCC.
652 2014-05-01 Will Newton <will.newton@linaro.org>
653 Bernard Ogden <bernie.ogden@linaro.org>
655 * NEWS: Update fixed bug list.
658 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
660 2014-04-30 David S. Miller <davem@davemloft.net>
662 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
663 (libc_feholdexcept_setround_sparc_ctx): New function.
664 (libc_fesetenv_sparc_ctx): Likewise.
665 (libc_feupdateenv_sparc_ctx): Likewise.
666 (libc_feholdsetround_sparc_ctx): Likewise.
667 (libc_feholdexcept_setround_ctx): Define.
668 (libc_feholdexcept_setroundf_ctx): Likewise.
669 (libc_feholdexcept_setroundl_ctx): Likewise.
670 (libc_fesetenv_ctx): Likewise.
671 (libc_fesetenvf_ctx): Likewise.
672 (libc_fesetenvl_ctx): Likewise.
673 (libc_feupdateenv_ctx): Likewise.
674 (libc_feupdateenvf_ctx): Likewise.
675 (libc_feupdateenvl_ctx): Likewise.
676 (libc_feresetround_ctx): Likewise.
677 (libc_feresetroundf_ctx): Likewise.
678 (libc_feresetroundl_ctx): Likewise.
679 (libc_feholdsetround_ctx): Likewise.
680 (libc_feholdsetroundf_ctx): Likewise.
681 (libc_feholdsetroundl_ctx): Likewise.
683 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
684 with __USE_GNU instead of XOPEN cpp guards.
686 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
689 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
690 with XOPEN cpp guards.
692 2014-04-30 Julian Brown <julian@codesourcery.com>
695 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
698 2014-04-30 Joseph Myers <joseph@codesourcery.com>
701 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
703 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
704 * sysdeps/unix/sysv/linux/configure: Regenerated.
705 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
706 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
707 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
708 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
709 * README: Update reference to required Linux kernel version.
710 * manual/install.texi (Linux): Update reference to required Linux
711 kernel headers version.
712 * INSTALL: Regenerated.
714 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
716 [POSIX] (limits.h): Likewise.
717 [POSIX] (math.h): Likewise.
718 [POSIX] (sys/wait.h): Likewise.
719 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
721 [POSIX] (stddef.h): Do not allow header inclusion.
723 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
725 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
727 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
729 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
730 Return immediately after lll_futex_wake.
732 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
735 * nscd/nscd-client.h (datahead_init_common): Initialize entire
737 (datahead_init_pos): Call datahead_init_common early.
738 (datahead_init_neg): Likewise.
740 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
741 datahead_init_neg): New functions.
742 * nscd/aicache.c (addhstaiX): Use them.
743 * nscd/grpcache.c (cache_addgr): Likewise.
744 * nscd/hstcache.c (cache_addhst): Likewise.
745 * nscd/initgrcache.c (addinitgroupsX): Likewise.
746 * nscd/netgroupcache.c (do_notfound): Likewise.
747 (addgetnetgrentX): Likewise.
748 (addinnetgrX): Likewise.
749 * nscd/pwdcache.c (cache_addpw): Likewise.
750 * nscd/servicescache.c (cache_addserv): Likewise.
752 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
753 Atsushi Onoe <atsushi@onoe.org>
758 * resolv/res_query.c (__libc_res_nsearch): Return if at least
759 one response is valid.
760 * resolv/res_send.c (send_dg): Check for validity of other
761 response if the current response is a referral.
763 2014-04-29 Steve Ellcey <sellcey@mips.com>
765 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
767 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
770 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
771 Always divide by positive zero when computing -Inf result.
772 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
773 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
775 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
777 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
778 FPSCR if value do not change.
779 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
780 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
781 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
782 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
783 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
784 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
787 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
789 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
790 * sysdeps/unix/sysv/linux/hppa: Move directory from
791 ports/systeps/unix/sysv/linux/hppa.
792 * README: Update listing for hppa-*-linux-gnu.
794 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
797 * manual/stdio.texi (Hook functions): Fix types of stream hook
800 * socket/sys/socket.h: Fix typo in comment.
802 2014-04-28 Wilco <wdijkstr@arm.com>
804 * sysdeps/arm/fenv_private.h: New file.
805 * sysdeps/arm/math_private.h: New file.
806 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
808 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
810 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
812 (La_x86_64_retval): Likewise.
814 2014-04-24 Ian Bolton <ian.bolton@arm.com>
816 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
817 fpsr if value didn't change.
818 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
819 to fpcr if value didn't change.
820 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
821 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
822 fpsr or fpcr if value didn't change.
823 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
824 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
825 fpcr if value didn't change.
826 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
827 to fpsr if value didn't change.
829 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
831 * nptl/tst-sem3.c: Use test-skeleton.c
832 (main): Rename to do_test. Use return instead of
834 * nptl/tst-sem4.c: Use test-skeleton.c
835 (main): Rename to do_test.
837 2014-04-22 David S. Miller <davem@davemloft.net>
839 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
840 (struct sigaction): New struct member __glibc_reserved0, change
841 type of sa_flags to int.
843 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
845 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
846 (COUNT_LEADING_ZEROS_0): Define for AArch64.
848 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
850 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
851 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
853 2014-04-22 Will Newton <will.newton@linaro.org>
854 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
856 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
857 (__longjmp): Add longjmp and longjmp_target SystemTap
859 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
860 (__sigsetjmp): Add setjmp SystemTap probe.
862 2014-04-17 Carlos O'Donell <carlos@redhat.com>
864 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
867 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
869 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
871 * sysdeps/powerpc/fpu/fenv_private.h
872 (libc_feholdexcept_setroundl_ctx): Define to
873 libc_feholdexcept_setround_ppc_ctx.
874 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
875 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
876 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
877 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
879 2014-04-17 Ian Bolton <ian.bolton@arm.com>
881 * sysdeps/aarch64/math-tests.h: New file.
883 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
885 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
888 Check and set bit_AVX2_Usable.
889 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
891 (bit_AVX2): Likewise.
892 (index_AVX2_Usable): Likewise.
893 (CPUID_AVX2): Likewise.
894 (HAS_AVX2): Likewise.
896 2014-04-17 Will Newton <will.newton@linaro.org>
898 * manual/setjmp.texi (System V contexts): Add note that
899 calling setcontext on a context created by a call to a
900 signal handler is undefined. Update text to note that
901 setcontext from a signal handler is possible but not
905 * stdlib/tst-setcontext.c: Include signal.h.
906 (main): Check that the signal stack before and
907 after swapcontext is the same.
909 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
910 Re-implement to restore registers in user code and avoid
911 rt_sigreturn system call.
913 2014-04-17 Wilco <wdijkstr@arm.com>
915 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
916 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
917 * math/test-fenv.c: Skip exception trap tests on targets which only
918 support non-stop mode.
920 2014-04-17 Ian Bolton <ian.bolton@arm.com>
921 Wilco Dijkstra <wilco.dijkstra@arm.com>
923 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
924 (libc_feholdsetround_aarch64_ctx)
925 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
926 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
927 (libc_feresetround_ctx, libc_feresetroundf_ctx)
928 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
929 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
930 (libc_feresetround_noexl_ctx): Define.
932 2014-04-16 Richard Henderson <rth@redhat.com>
934 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
936 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
939 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
940 const from the non-libc, non-ldso copy.
942 * sysdeps/alpha/libm-test-ulps: Regenerate.
944 2014-04-16 Ian Bolton <ian.bolton@arm.com>
945 Wilco Dijkstra <wilco.dijkstra@arm.com>
947 * sysdeps/aarch64/fpu/math_private.h: New file.
949 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
951 * sysdeps/aarch64/libm-test-ulps: Regenerate.
953 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
955 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
956 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
958 Intel MPX bound registers before _dl_profile_fixup.
959 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
960 registers after _dl_profile_fixup. Save and restore bound
961 registers bnd0/bnd1 when calling _dl_call_pltexit.
962 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
963 (LR_BND_OFFSET): Likewise.
964 (LRV_BND0_OFFSET): Likewise.
965 (LRV_BND1_OFFSET): Likewise.
967 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
969 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
971 * sysdeps/mach/hurd/i386/tls.h: ... here.
972 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
973 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
976 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
978 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
980 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
982 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
984 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
987 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
988 * sysdeps/s390/configure: Regenerate.
991 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
992 Set round-to-nearest internally to reduce error accumulation.
994 2014-04-16 Alan Modra <amodra@gmail.com>
998 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
999 * math/libm-test.inc (frexp_test_data): Add tests.
1000 * NEWS: Update fixed bug list.
1002 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1004 * benchtests/Makefile: Depend on libraries in build directory.
1005 (bench-math): Separate out math tests.
1006 (bench-pthread): Separate out pthread tests.
1007 (bench): Include math and pthread tests.
1009 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1012 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1013 _dl_debug_initialize.
1015 * configure.ac: Remove SELinux header check.
1016 * configure: Regenerate.
1017 * nscd/selinux.c (perms): Array of const char* to permission names.
1018 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1019 default policy. Call string_to_security_class and string_to_av_perm to
1020 translate strings. Enforce default policy and call avs_has_perm with
1021 results of translated strings.
1023 2014-04-13 David S. Miller <davem@davemloft.net>
1025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1027 2014-04-12 Allan McRae <allan@archlinux.org>
1030 * manual/string.texi (Collation Functions): Fix qsort argument
1032 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1034 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1036 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1037 Make the test a no-op if there are no exceptions defined.
1039 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1041 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1042 enable-hardcoded-path-in-tests
1044 2014-04-11 Will Newton <will.newton@linaro.org>
1046 * benchtests/Makefile (extra-objs): Add json-lib.o.
1047 (bench-func): Tidy up JSON output.
1048 * benchtests/bench-skeleton.c: Include json-lib.h.
1049 (main): Use JSON library functions to do output of
1051 * benchtests/bench-timing-type.c (main): Output the
1052 timing type simply, leaving formatting to the user.
1053 * benchtests/json-lib.c: New file.
1054 * benchtests/json-lib.h: Likewise.
1056 2014-04-11 Torvald Riegel <triegel@redhat.com>
1059 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1060 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1061 memory barriers. Add comments.
1062 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1063 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1064 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1065 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1066 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1067 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1069 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1071 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1072 * sysdeps/s390/s390-64/configure.ac: ... this ...
1073 * sysdeps/s390/configure.ac: ... to here.
1074 * sysdeps/s390/s390-32/configure: Delete file.
1075 * sysdeps/s390/s390-64/configure: Delete file.
1076 * sysdeps/s390/configure: Regenerate.
1078 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1080 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1082 2014-04-11 Will Newton <will.newton@linaro.org>
1084 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1085 to zero if it is not defined elsewhere. (mtrim): Test
1086 the value of MALLOC_DEBUG with #if rather than #ifdef.
1088 2014-04-10 Torvald Riegel <triegel@redhat.com>
1090 * benchtests/pthread_once-inputs: New file.
1091 * benchtests/pthread_once-source.c: New file.
1092 * benchtests/README: Update documentation.
1094 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1095 H.J. Lu <hongjiu.lu@intel.com>
1097 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1098 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1099 * sysdeps/x86_64/configure: Regenerated.
1100 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1102 (REGISTER_SAVE_RAX): Likewise.
1103 (REGISTER_SAVE_RCX): Likewise.
1104 (REGISTER_SAVE_RDX): Likewise.
1105 (REGISTER_SAVE_RSI): Likewise.
1106 (REGISTER_SAVE_RDI): Likewise.
1107 (REGISTER_SAVE_R8): Likewise.
1108 (REGISTER_SAVE_R9): Likewise.
1109 (REGISTER_SAVE_BND0): Likewise.
1110 (REGISTER_SAVE_BND1): Likewise.
1111 (REGISTER_SAVE_BND2): Likewise.
1112 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1113 bound registers when calling _dl_fixup.
1115 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1117 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1118 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1120 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1121 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1122 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1123 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1124 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1125 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1126 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1128 2014-04-09 Peter Brett <peter@peter-b.co.uk>
1131 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1132 pathconf(_PC_NAME_MAX).
1134 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1136 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1138 (__PTHREAD_SPINS): Move definition to ...
1139 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1140 (__PTHREAD_SPINS): ... here.
1141 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1142 (__PTHREAD_SPIN): Likewise.
1143 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1144 (__PTHREAD_SPIN): Likewise.
1145 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1146 (__PTHREAD_SPIN): Likewise.
1147 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1148 (__PTHREAD_SPIN): Likewise.
1149 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1150 (__PTHREAD_SPIN): Likewise.
1151 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1152 (__PTHREAD_SPIN): Likewise.
1153 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1154 (__PTHREAD_SPIN): Likewise.
1155 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1156 (__PTHREAD_SPIN): Likewise.
1157 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1158 (__PTHREAD_SPIN): Likewise.
1159 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1160 (__PTHREAD_SPIN): Likewise.
1161 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1162 (__PTHREAD_SPIN): Likewise.
1163 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1164 (__PTHREAD_SPIN): Likewise.
1166 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1167 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1168 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1169 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1171 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1172 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1173 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1174 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1176 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1177 strlen symbol for non multi-arch builds.
1178 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1179 missing hidden_def and weak_alias.
1181 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1183 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1185 2014-04-07 Will Newton <will.newton@linaro.org>
1187 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1188 and contents. [!_LIBC] Remove #ifndef and contents.
1189 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1190 * string/memccpy.c (__memccpy): Use ANSI prototype.
1191 * string/memfrob.c (memfrob): Likewise.
1192 * string/strcoll.c (STRCOLL): Likewise.
1193 * string/strlen.c (strlen): Likewise.
1194 * string/strtok.c (STRTOK): Likewise.
1195 * string/strcat.c: Remove unused #include of memcopy.h.
1196 (strcat): Use ANSI prototype.
1197 * string/strchr.c: Remove unused #include of memcopy.h.
1198 (strchr): Use ANSI prototype.
1199 * string/strcmp.c: Remove unused #include of memcopy.h.
1200 (strcmp): Use ANSI prototype.
1201 * string/strcpy.c: Remove unused #include of memcopy.h.
1202 (strcpy): Use ANSI prototype.
1204 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1206 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1207 * config.make.in (config-extra-cppflags): Set it from
1208 libc_extra_cppflags.
1209 * configure.ac (libc_extra_cflags): Make it accumulate over
1210 configure fragments.
1211 (libc_extra_cppflags): New flag.
1212 * configure. Regenerate.
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1214 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1215 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1219 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1220 result for FE_DOWNWARD rounding mode.
1221 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1225 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1227 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1228 in function argument name.
1230 2014-04-03 David Svoboda <svoboda@cert.org>
1233 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1236 2014-04-03 Roland McGrath <roland@hack.frob.com>
1238 * elf/dl-unmap-segments.h: New file.
1239 * sysdeps/generic/ldsodefs.h
1240 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1241 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1242 * elf/dl-fptr.c: Likewise.
1243 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1244 * sysdeps/aarch64/tlsdesc.c: Likewise.
1245 * sysdeps/arm/tlsdesc.c: Likewise.
1246 * sysdeps/i386/tlsdesc.c: Likewise.
1247 * sysdeps/tile/dl-runtime.c: Likewise.
1248 * sysdeps/x86_64/tlsdesc.c: Likewise.
1249 * elf/dl-load.h: New file.
1250 * elf/dl-load.c: Include it.
1251 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1252 Macros moved to dl-load.h.
1253 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1254 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1255 Use _dl_unmap_segments in place of __munmap.
1256 Break out segment-mapping loop into ...
1257 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1259 2014-04-03 Will Newton <will.newton@linaro.org>
1261 * elf/dl-lookup.c (do_lookup_x): Remove comment
1262 referring to nested function and move variable
1263 declarations down to before first use.
1265 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1269 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1271 * math/s_catanf.c (__catanf): Likewise.
1272 * math/s_catanh.c (__catanh): Likewise.
1273 * math/s_catanhf.c (__catanhf): Likewise.
1274 * math/s_catanhl.c (__catanhl): Likewise.
1275 * math/s_catanl.c (__catanl): Likewise.
1276 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1277 by positive zero when computing -Inf result.
1278 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1279 (catanh_test): Likewise.
1280 * sysdeps/i386/fpu/libm-test-ulps: Update.
1281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1284 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1285 instead of using underflowing value in computing result.
1286 * math/s_clog10.c (__clog10): Likewise.
1287 * math/s_clog10f.c (__clog10f): Likewise.
1288 * math/s_clog10l.c (__clog10l): Likewise.
1289 * math/s_clogf.c (__clogf): Likewise.
1290 * math/s_clogl.c (__clogl): Likewise.
1291 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1292 (clog10_test): Likewise.
1293 * sysdeps/i386/fpu/libm-test-ulps: Update.
1294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1296 2014-04-02 Alan Modra <amodra@gmail.com>
1299 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1300 output when value is near a power of two. Use int64_t for lx and
1301 remove casts. Use decimal rather than hex exponent constants.
1302 Don't use long double multiplication when double will suffice.
1303 * math/libm-test.inc (nextafter_test_data): Add tests.
1304 * NEWS: Add 16739 and 16786 to bug list.
1306 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1308 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1310 2014-04-01 Will Newton <will.newton@linaro.org>
1312 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1313 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1315 2014-04-01 Florian Weimer <fweimer@redhat.com>
1318 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1319 * nptl/tst-setuid2.c: New file.
1320 * nptl/Makefile (xtests): Add tst-setuid2.
1322 2014-04-01 Alan Modra <amodra@gmail.com>
1325 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1327 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1331 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1332 set errno as appropriate.
1333 * math/w_scalbf.c (__scalbf): Likewise.
1334 * math/w_scalbl.c (__scalbl): Likewise.
1335 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1336 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1337 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1341 * math/w_atan2.c: Include <errno.h>.
1342 (__atan2): Set errno for result underflowing to zero.
1343 * math/w_atan2f.c: Include <errno.h>.
1344 (__atan2f): Set errno for result underflowing to zero.
1345 * math/w_atan2l.c: Include <errno.h>.
1346 (__atan2l): Set errno for result underflowing to zero.
1347 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1349 * math/auto-libm-test-out: Regenerated.
1351 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1353 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1354 Encode instruction correctly in little endian.
1355 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1357 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1359 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1361 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1364 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1367 * sysdeps/unix/sysv/linux/kernel-features.h
1368 [__sparc__ && !__arch64__ && !__sparc_v9__]
1369 (__ASSUME_SET_ROBUST_LIST): Do not define.
1370 [__sparc__ && !__arch64__ && !__sparc_v9__]
1371 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1372 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1374 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1375 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1376 (__ASSUME_REQUEUE_PI): Likewise.
1377 (__ASSUME_SET_ROBUST_LIST): Likewise.
1378 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1379 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1381 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1382 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1384 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1386 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1388 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1389 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1391 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1392 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1396 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1397 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1398 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1400 2014-03-31 Will Newton <will.newton@linaro.org>
1402 * benchtests/Makefile (bench): Add ffs and ffsll to list
1404 * benchtests/ffs-inputs: New file.
1405 * benchtests/ffsll-inputs: Likewise.
1407 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1410 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1411 too large before casting to int.
1412 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1413 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1414 * math/libm-test.inc (scalb_test_data): Add more tests.
1416 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1418 * benchtests/Makefile (DETAILED_OPT): New make option.
1419 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1421 * benchtests/bench-skeleton.c: Include stdbool.h.
1422 (main): Store and print timings per input.
1423 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1424 member to each argument value.
1425 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1426 (_print_arg_data): Initialize per-input timing to 0.
1428 * benchtests/Makefile (timing-type): New binary.
1429 (bench-clean): Also remove bench-timing-type.
1430 (bench): New target for timing-type.
1431 (bench-func): Print output in JSON format.
1432 * benchtests/bench-skeleton.c (main): Print output in JSON
1434 * benchtests/bench-timing-type.c: New file.
1435 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1436 (TIMING_PRINT_STATS): Remove.
1437 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1440 * benchtests/bench-modf.c: Remove.
1441 * benchtests/modf-inputs: New inputs file.
1443 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1446 * math/s_clog10.c (M_PI_LOG10E): New macro.
1447 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1448 imaginary parts are 0.
1449 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1450 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1451 imaginary parts are 0.
1452 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1453 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1454 imaginary parts are 0.
1455 * math/libm-test.inc (clog10_test_data): Update expected results
1456 for when real and imaginary parts are 0.
1458 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1460 * elf/dl-load.c: Finish conversion of __builtin_expect into
1463 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1466 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1467 1+x for argument with exponent below -67.
1468 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1470 * math/auto-libm-test-in: Add more tests of exp.
1471 * math/auto-libm-test-out: Regenerated.
1473 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1476 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1477 (nscd_getnetgrent): Use it.
1480 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1483 2014-03-27 Andi Kleen <ak@linux.intel.com>
1485 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1486 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1487 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1488 (lll_robust_unlock): Remove out of line section. Use cfi
1490 (LLL_STUB_UNWIND_INFO*): Remove.
1491 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1492 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1493 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1494 (lll_robust_unlock): Remove out of line section. Use cfi
1496 (LLL_STUB_UNWIND_INFO*): Remove.
1498 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1501 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1504 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1506 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1508 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1511 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1513 * math/test-fenv-preserve.c: New file.
1514 * math/Makefile (tests): Add test-fenv-preserve.
1516 2014-03-26 Will Newton <will.newton@linaro.org>
1518 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1520 2014-03-25 Roland McGrath <roland@hack.frob.com>
1522 * scripts/versionlist.awk: Partition the version sets and emit all
1523 GLIBC_* (sorted) before all others (sorted).
1525 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1527 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1528 GLIBC_2.2.5 version.
1530 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1532 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1535 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1540 2014-03-25 Andreas Schwab <schwab@suse.de>
1542 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1543 label to be used after in6ailist is initialized.
1545 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1547 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1548 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1550 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1554 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1556 (fp_formats): Update initializers.
1557 (init_fp_formats): Initialize new field.
1558 (output_for_one_input_case): Allow underflow for results up to
1560 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1561 * math/auto-libm-test-in: Don't mark some underflows from asin and
1563 * math/auto-libm-test-out: Regenerated.
1564 * sysdeps/i386/fpu/libm-test-ulps: Update.
1565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1567 2014-03-25 Andreas Schwab <schwab@suse.de>
1569 * libio/Makefile (tst-ftell-partial-wide-ENV)
1570 (tst-ftell-active-handler-ENV): Define.
1572 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1574 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1576 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1578 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1580 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1582 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1583 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1584 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1586 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1589 * elf/dl-load.c (open_verify): Add mode parameter.
1590 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1591 (open_path): Change from boolean 'secure' to complete flag 'mode'
1592 (_dl_map_object): Adjust.
1593 * elf/Makefile (tests): Add tst-dlopen-aout.
1594 * elf/tst-dlopen-aout.c: New test.
1596 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1599 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1600 (struct stat): Rename member pad0 to __glibc_reserved0.
1603 * sysdeps/s390/s390-32/bits/wordsize.h
1604 (__WORDSIZE32_SIZE_ULONG): New define.
1605 * sysdeps/s390/s390-64/bits/wordsize.h
1606 (__WORDSIZE32_SIZE_ULONG): Likewise.
1607 * sysdeps/generic/stdint.h (SIZE_MAX):
1608 Define as UL if __WORDSIZE32_SIZE_ULONG.
1611 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1612 (__glibc_reserved0): New variable.
1613 (sa_flags): Change type to int.
1615 * posix/Makefile (before-compile): Use += before-compile instead
1618 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1619 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1621 2014-03-20 Andreas Schwab <schwab@suse.de>
1624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1625 non-matching result from nscd.
1627 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1629 * scripts/bench.py: Moved to ...
1630 * benchtests/scripts/bench.py: ... here.
1631 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1633 2014-03-24 Andreas Schwab <schwab@suse.de>
1636 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1637 alloca_account and account alloca use for struct in6ailist.
1639 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1642 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1643 rounding mode to recompute results that overflow to infinity or
1645 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1647 * math/auto-libm-test-out: Regenerated.
1648 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1649 (ccosh_test): Likewise.
1650 (csin_test_data): Use plus_oflow.
1651 (csin_test): Use ALL_RM_TEST.
1652 (csinh_test_data): Use plus_oflow.
1653 (csinh_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 Joseph Myers <joseph@codesourcery.com>
1659 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1660 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1661 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1664 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1666 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1667 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1668 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1669 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1671 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1672 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1674 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1675 * sysdeps/i386/fpu/libm-test-ulps: Update.
1676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1678 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1680 * scripts/bench.pl: Remove file.
1681 * scripts/bench.py: New benchmark script.
1682 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1683 * benchtests/README: Mention python dependency.
1684 * scripts/pylintrc: New file.
1685 * scripts/pylint: New file.
1687 * bits/mathdef.h: Use #ifdef instead of #if.
1688 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1689 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1690 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1691 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1692 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1693 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1695 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1696 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1698 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1700 and strpbrk-ppc64 objects.
1701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1702 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1703 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1704 multiarch strpbrk for POWER7.
1705 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1706 multiarch strpbrk for PPC64.
1707 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1709 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1712 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1714 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1715 (atan_test): Likewise.
1716 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1717 (atanh_test): Use ALL_RM_TEST.
1718 (atan2_test_data): Likewise.
1719 (cabs_test): Likewise.
1720 (cacosh_test): Likewise.
1721 (carg_test): Likewise.
1722 (casin_test): Likewise.
1723 (casinh_test): Likewise.
1724 (cbrt_test): Likewise.
1725 (csqrt_test): Likewise.
1726 (erf_test): Likewise.
1727 (erfc_test): Likewise.
1728 (pow10_test): Likewise.
1729 (exp2_test): Likewise.
1730 (hypot_test): Likewise.
1731 (j0_test): Likewise.
1732 (j1_test): Likewise.
1733 (lgamma_test): Likewise.
1734 (gamma_test): Likewise.
1735 (sincos_test): Likewise.
1736 (tanh_test): Likewise.
1737 (y0_test): Likewise.
1738 (y1_test): Likewise.
1739 * sysdeps/i386/fpu/libm-test-ulps: Update.
1740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1742 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1744 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1746 and strcspn-ppc64 objects.
1747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1748 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1749 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1750 multiarch strcspn for POWER7.
1751 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1752 multiarch strcspn for PPC64.
1753 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1755 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1758 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1760 * math/gen-libm-test.pl (generate_testfile): Expect only function
1761 name as argument to AUTO_TESTS_* and pass results for all rounding
1762 modes to parse_args.
1763 (parse_auto_input): Separate inputs of automatic tests from
1764 outputs before storing in %auto_tests.
1765 * math/libm-test.inc (acos_test_data): Update call to
1767 (acos_test): Use ALL_RM_TEST.
1768 (acos_tonearest_test_data): Remove.
1769 (acos_test_tonearest): Likewise.
1770 (acos_towardzero_test_data): Likewise.
1771 (acos_test_towardzero): Likewise.
1772 (acos_downward_test_data): Likewise.
1773 (acos_test_downward): Likewise.
1774 (acos_upward_test_data): Likewise.
1775 (acos_test_upward): Likewise.
1776 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1777 (asin_test_data): Likewise.
1778 (asin_test): Use ALL_RM_TEST.
1779 (asin_tonearest_test_data): Remove.
1780 (asin_test_tonearest): Likewise.
1781 (asin_towardzero_test_data): Likewise.
1782 (asin_test_towardzero): Likewise.
1783 (asin_downward_test_data): Likewise.
1784 (asin_test_downward): Likewise.
1785 (asin_upward_test_data): Likewise.
1786 (asin_test_upward): Likewise.
1787 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1788 (atan_test_data): Likewise.
1789 (atanh_test_data): Likewise.
1790 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1791 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1792 (carg_test_data): Likewise.
1793 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1794 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1795 (ccosh_test_data): Likewise.
1796 (cexp_test_data): Likewise.
1797 (clog_test_data): Likewise.
1798 (clog10_test_data): Likewise.
1799 (cos_test_data): Update call to AUTO_TESTS_f_f.
1800 (cos_test): Use ALL_RM_TEST.
1801 (cos_tonearest_test_data): Remove.
1802 (cos_test_tonearest): Likewise.
1803 (cos_towardzero_test_data): Likewise.
1804 (cos_test_towardzero): Likewise.
1805 (cos_downward_test_data): Likewise.
1806 (cos_test_downward): Likewise.
1807 (cos_upward_test_data): Likewise.
1808 (cos_test_upward): Likewise.
1809 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1810 (cosh_test): Use ALL_RM_TEST.
1811 (cosh_tonearest_test_data): Remove.
1812 (cosh_test_tonearest): Likewise.
1813 (cosh_towardzero_test_data): Likewise.
1814 (cosh_test_towardzero): Likewise.
1815 (cosh_downward_test_data): Likewise.
1816 (cosh_test_downward): Likewise.
1817 (cosh_upward_test_data): Likewise.
1818 (cosh_test_upward): Likewise.
1819 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1820 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1821 (ctan_test_data): Likewise.
1822 (ctan_test): Use ALL_RM_TEST.
1823 (ctan_tonearest_test_data): Remove.
1824 (ctan_test_tonearest): Likewise.
1825 (ctan_towardzero_test_data): Likewise.
1826 (ctan_test_towardzero): Likewise.
1827 (ctan_downward_test_data): Likewise.
1828 (ctan_test_downward): Likewise.
1829 (ctan_upward_test_data): Likewise.
1830 (ctan_test_upward): Likewise.
1831 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1832 (ctanh_test): Use ALL_RM_TEST.
1833 (ctanh_tonearest_test_data): Remove.
1834 (ctanh_test_tonearest): Likewise.
1835 (ctanh_towardzero_test_data): Likewise.
1836 (ctanh_test_towardzero): Likewise.
1837 (ctanh_downward_test_data): Likewise.
1838 (ctanh_test_downward): Likewise.
1839 (ctanh_upward_test_data): Likewise.
1840 (ctanh_test_upward): Likewise.
1841 (erf_test_data): Update call to AUTO_TESTS_f_f.
1842 (erfc_test_data): Likewise.
1843 (exp_test_data): Likewise.
1844 (exp_test): Use ALL_RM_TEST.
1845 (exp_tonearest_test_data): Remove.
1846 (exp_test_tonearest): Likewise.
1847 (exp_towardzero_test_data): Likewise.
1848 (exp_test_towardzero): Likewise.
1849 (exp_downward_test_data): Likewise.
1850 (exp_test_downward): Likewise.
1851 (exp_upward_test_data): Likewise.
1852 (exp_test_upward): Likewise.
1853 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1854 (exp10_test): Use ALL_RM_TEST.
1855 (exp10_tonearest_test_data): Remove.
1856 (exp10_test_tonearest): Likewise.
1857 (exp10_towardzero_test_data): Likewise.
1858 (exp10_test_towardzero): Likewise.
1859 (exp10_downward_test_data): Likewise.
1860 (exp10_test_downward): Likewise.
1861 (exp10_upward_test_data): Likewise.
1862 (exp10_test_upward): Likewise.
1863 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1864 (expm1_test_data): Likewise.
1865 (expm1_test): Use ALL_RM_TEST.
1866 (expm1_tonearest_test_data): Remove.
1867 (expm1_test_tonearest): Likewise.
1868 (expm1_towardzero_test_data): Likewise.
1869 (expm1_test_towardzero): Likewise.
1870 (expm1_downward_test_data): Likewise.
1871 (expm1_test_downward): Likewise.
1872 (expm1_upward_test_data): Likewise.
1873 (expm1_test_upward): Likewise.
1874 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1875 (fma_test): Use ALL_RM_TEST.
1876 (fma_towardzero_test_data): Remove.
1877 (fma_test_towardzero): Likewise.
1878 (fma_downward_test_data): Likewise.
1879 (fma_test_downward): Likewise.
1880 (fma_upward_test_data): Likewise.
1881 (fma_test_upward): Likewise.
1882 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1883 (j0_test_data): Update call to AUTO_TESTS_f_f.
1884 (j1_test_data): Likewise.
1885 (jn_test_data): Update call to AUTO_TESTS_if_f.
1886 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1887 (log_test_data): Update call to AUTO_TESTS_f_f.
1888 (log10_test_data): Likewise.
1889 (log1p_test_data): Likewise.
1890 (log2_test_data): Likewise.
1891 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1892 (pow_tonearest_test_data): Likewise.
1893 (sin_test_data): Update call to AUTO_TESTS_f_f.
1894 (sin_test): Use ALL_RM_TEST.
1895 (sin_tonearest_test_data): Remove.
1896 (sin_test_tonearest): Likewise.
1897 (sin_towardzero_test_data): Likewise.
1898 (sin_test_towardzero): Likewise.
1899 (sin_downward_test_data): Likewise.
1900 (sin_test_downward): Likewise.
1901 (sin_upward_test_data): Likewise.
1902 (sin_test_upward): Likewise.
1903 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1904 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1905 (sinh_test): Use ALL_RM_TEST.
1906 (sinh_tonearest_test_data): Remove.
1907 (sinh_test_tonearest): Likewise.
1908 (sinh_towardzero_test_data): Likewise.
1909 (sinh_test_towardzero): Likewise.
1910 (sinh_downward_test_data): Likewise.
1911 (sinh_test_downward): Likewise.
1912 (sinh_upward_test_data): Likewise.
1913 (sinh_test_upward): Likewise.
1914 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1915 (sqrt_test): Use ALL_RM_TEST.
1916 (sqrt_tonearest_test_data): Remove.
1917 (sqrt_test_tonearest): Likewise.
1918 (sqrt_towardzero_test_data): Likewise.
1919 (sqrt_test_towardzero): Likewise.
1920 (sqrt_downward_test_data): Likewise.
1921 (sqrt_test_downward): Likewise.
1922 (sqrt_upward_test_data): Likewise.
1923 (sqrt_test_upward): Likewise.
1924 (tan_test_data): Update call to AUTO_TESTS_f_f.
1925 (tan_test): Use ALL_RM_TEST.
1926 (tan_tonearest_test_data): Remove.
1927 (tan_test_tonearest): Likewise.
1928 (tan_towardzero_test_data): Likewise.
1929 (tan_test_towardzero): Likewise.
1930 (tan_downward_test_data): Likewise.
1931 (tan_test_downward): Likewise.
1932 (tan_upward_test_data): Likewise.
1933 (tan_test_upward): Likewise.
1934 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1935 (tgamma_test_data): Likewise.
1936 (y0_test_data): Likewise.
1937 (y1_test_data): Likewise.
1938 (yn_test_data): Update call to AUTO_TESTS_if_f.
1939 (main): Do not call removed functions.
1941 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1943 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1944 (ldexp_test_data): Remove.
1945 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1947 (scalb_test): Use ALL_RM_TEST.
1949 2014-03-19 Andreas Schwab <schwab@suse.de>
1951 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1953 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1956 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1957 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1958 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1959 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1960 (__ASSUME_PREADV): Undefine.
1961 (__ASSUME_PWRITEV): Likewise.
1963 2014-03-18 Roland McGrath <roland@hack.frob.com>
1965 * bits/mman-linux.h: Add comment about non-Linux use.
1966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1967 bits/mman-linux.h resting place.
1969 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1970 * bits/mman-linux.h: ... here.
1972 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1974 * conform/conformtest.pl: Add standard definition when calling C
1975 preprocessor on data files.
1976 (checknamespace): Remove unused variable.
1978 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1980 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1981 minus_oflow, plus_uflow and minus_uflow in expected results.
1982 * math/libm-test.inc (scalbn_test_data): Add more tests of
1983 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1985 (scalbn_test): Use ALL_RM_TEST.
1986 (scalbln_test_data): Add more tests of negative arguments. Use
1987 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1988 (scalbln_test): Use ALL_RM_TEST.
1990 2014-03-18 Roland McGrath <roland@hack.frob.com>
1992 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1994 2014-03-18 Will Newton <will.newton@linaro.org>
1996 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1999 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2001 * Makerules [!subdir] (check-abi): Exit with error status if a
2004 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2006 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2007 for rint. Include results for all rounding modes.
2008 (nearbyint_test): Use ALL_RM_TEST.
2009 (rint_test_data): Include all tests used for nearbyint.
2011 2014-03-17 Will Newton <will.newton@linaro.org>
2013 * nptl/sysdeps/pthread/pthread.h: Revert previous
2016 * sysdeps/generic/ldsodefs.h: Revert previous
2019 * libio/genops.c: Revert previous change.
2020 * libio/libioP.h: Likewise.
2021 * stdio-common/vfprintf.c: Likewise.
2023 * sysdeps/generic/math_private.h: Revert previous
2026 * sysdeps/generic/math_private.h: Check whether
2027 HAVE_RM_CTX is defined with #ifdef rather
2030 * argp/argp-fmtstream.h: Check whether
2031 __STRICT_ANSI__ is defined with #ifdef rather
2033 * argp/argp.h: Likewise.
2035 * libio/genops.c: Check whether
2036 _IO_JUMPS_OFFSET is defined with #ifdef rather
2038 * libio/libioP.h: Likewise.
2039 * stdio-common/vfprintf.c: Likewise.
2041 * sysdeps/generic/ldsodefs.h: Check whether
2042 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2045 * nptl/sysdeps/pthread/pthread.h: Check
2046 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2049 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2051 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2053 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2057 * libio/fileops.c (_IO_file_open): Seek to end of file but
2058 don't cache the offset.
2059 (get_file_offset): Remove function.
2060 (do_ftell): Use cached offset when available.
2061 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2062 don't cache the offset.
2063 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2065 (do_one_test): Call it.
2066 (do_ftell_test): Fix up expected old offset for a+ mode.
2067 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2070 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2071 up test status with function return status.
2072 (do_write_test): Likewise.
2073 (do_append_test): Likewise.
2075 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2076 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2079 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2081 * math/gen-libm-test.pl (parse_args): Handle results specified for
2082 each rounding mode separately.
2083 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2084 tests and results from lrint_tonearest_test_data,
2085 lrint_towardzero_test_data, lrint_downward_test_data and
2086 lrint_upward_test_data.
2087 (lrint_test): Use ALL_RM_TEST.
2088 (lrint_tonearest_test_data): Remove.
2089 (lrint_test_tonearest): Likewise.
2090 (lrint_towardzero_test_data): Likewise.
2091 (lrint_test_towardzero): Likewise.
2092 (lrint_downward_test_data): Likewise.
2093 (lrint_test_downward): Likewise.
2094 (lrint_upward_test_data): Likewise.
2095 (lrint_test_upward): Likewise.
2096 (llrint_test_data): Merge in per-rounding-mode tests and results
2097 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2098 llrint_downward_test_data and llrint_upward_test_data.
2099 (llrint_test): Use ALL_RM_TEST.
2100 (llrint_tonearest_test_data): Remove.
2101 (llrint_test_tonearest): Likewise.
2102 (llrint_towardzero_test_data): Likewise.
2103 (llrint_test_towardzero): Likewise.
2104 (llrint_downward_test_data): Likewise.
2105 (llrint_test_downward): Likewise.
2106 (llrint_upward_test_data): Likewise.
2107 (llrint_test_upward): Likewise.
2108 (rint_test_data): Merge in per-rounding-mode tests and results
2109 from rint_tonearest_test_data, rint_towardzero_test_data,
2110 rint_downward_test_data and rint_upward_test_data. Add
2111 per-rounding-mode results for tests not in those arrays.
2112 (rint_test): Use ALL_RM_TEST.
2113 (rint_tonearest_test_data): Remove.
2114 (rint_test_tonearest): Likewise.
2115 (rint_towardzero_test_data): Likewise.
2116 (rint_test_towardzero): Likewise.
2117 (rint_downward_test_data): Likewise.
2118 (rint_test_downward): Likewise.
2119 (rint_upward_test_data): Likewise.
2120 (rint_test_upward): Likewise.
2121 (main): Don't call removed functions.
2123 2014-03-14 Roland McGrath <roland@hack.frob.com>
2125 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2126 "Compiled on ..." crapola. It is anti-useful.
2128 2014-03-14 Joseph Myers <joseph@codesourcery.com>
2130 * scripts/evaluate-test.sh: Handle fourth argument to determine
2131 whether test run should stop on failure.
2132 * Makeconfig (stop-on-test-failure): New variable.
2133 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2134 $(stop-on-test-failure).
2135 * Makefile (tests): Give a summary of results from testing and
2136 exit with failure status if they include an ERROR or FAIL.
2138 * manual/install.texi (Configuring and compiling): Mention
2139 stop-on-test-failure=y.
2140 * INSTALL: Regenerated.
2142 2014-03-14 Roland McGrath <roland@hack.frob.com>
2144 * scripts/versionlist.awk: New file.
2145 * Makerules [$(build-shared) = yes]
2146 (postclean-generated): Add Versions.def, not Versions.def.v and
2148 ($(common-objpfx)Versions.def.v.i): Target removed.
2149 ($(common-objpfx)Versions.def): New target.
2150 ($(common-objpfx)Versions.all): Depend on that rather that
2151 $(common-objpfx)Versions.def.v.
2152 * Versions.def: File removed.
2154 * Makeconfig (+gccwarn): Add -Wundef.
2155 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2156 a dl-sysdep.h breaking its contract.
2157 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2158 * include/stackinfo.h: New file.
2159 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2160 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2161 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2162 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2163 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2164 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2165 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2166 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2167 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2168 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2169 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2170 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2171 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2172 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2173 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2175 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2178 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2180 * math/libm-test.inc (round_test_data): Add more tests.
2183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2185 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2188 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2190 * math/libm-test.inc (ceil_test_data): Add more tests.
2192 * math/libm-test.inc (trunc_test_data): Add more tests related to
2195 2014-03-14 Roland McGrath <roland@hack.frob.com>
2197 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2198 with #if rather than #ifdef.
2199 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2201 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2203 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2204 first. Disable AVX-512 GCC support if assembler doesn't support
2206 * sysdeps/x86_64/configure: Regenerated.
2208 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2210 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2211 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2212 (__old_pthread_attr_setstack): Likewise.
2213 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2214 [!_STACK_GROWS_DOWN]: Likewise.
2216 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2218 * config.make.in (have-bash2): Delete.
2219 * configure.ac (libc_cv_have_bash2): Delete.
2220 * configure: Regenerate.
2221 * elf/Makefile (common-ldd-rewrite): Rename to ...
2222 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2223 (sh-ldd-rewrite): Delete.
2224 (bash-ldd-rewrite): Delete.
2225 (have-bash2): Delete checks.
2226 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2229 * config.make.in (have-ksh): Delete.
2231 * configure.ac (libc_cv_have_ksh): Delete.
2232 * configure: Regenerate.
2234 * elf/Makefile: Delete $(have-ksh) check.
2235 ($(objpfx)sotruss): Change KSH to BASH.
2236 * elf/sotruss.ksh: Rename to ...
2237 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2238 function style to match POSIX. Drop ksh vim mode setting.
2240 * manual/time.texi (Specifying the Time Zone with TZ): Change
2241 Tuesday to Thursday.
2243 * debug/tst-longjmp_chk2.c: Update header comment.
2244 (stackoverflow_handler): Add comment. Call assert on pass value.
2246 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2248 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2249 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2250 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2251 (La_x86_64_vector): Add zmm.
2252 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2253 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2254 ($(objpfx)tst-audit10): New target.
2255 ($(objpfx)tst-audit10.out): Likewise.
2256 (tst-audit10-ENV): New.
2257 (AVX512-CFLAGS): Likewise.
2258 (CFLAGS-tst-audit10.c): Likewise.
2259 (CFLAGS-tst-auditmod10a.c): Likewise.
2260 (CFLAGS-tst-auditmod10b.c): Likewise.
2261 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2262 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2263 * sysdeps/x86_64/configure: Regenerated.
2264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2265 AVX-512 zmm register support.
2266 (_dl_x86_64_save_sse): Likewise.
2267 (_dl_x86_64_restore_sse): Likewise.
2268 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2269 size vector registers.
2270 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2271 (ZMM_SIZE): Likewise.
2272 * sysdeps/x86_64/tst-audit10.c: New file.
2273 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2274 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2276 2014-03-13 Roland McGrath <roland@hack.frob.com>
2278 * configure.ac (HAVE_EHDR_START): New check.
2279 * configure: Regenerated.
2280 * config.h.in (HAVE_EHDR_START): New #undef.
2281 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2282 assuming the lowest-addressed segment maps the start of the file.
2284 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2286 * INSTALL: Regenerated.
2288 2014-03-13 Will Newton <will.newton@linaro.org>
2290 * manual/setjmp.texi (System V contexts): Improve
2291 clarity and grammar of documentation.
2293 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2296 * elf/Makefile (tests): Add tst-pie2.
2297 (tests-pie): Add tst-pie2.
2298 * elf/tst-pie2.c: New file.
2299 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2301 * elf/rtld.c (map_doit): Load executable as lt_executable.
2302 (dl_main): Likewise.
2304 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2307 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2308 (__ASSUME_PSELECT): Undefine.
2310 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2313 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2314 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2317 selector for static builds.
2319 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2322 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2325 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2327 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2328 IFUNC selector for static builds.
2330 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2332 * sysdeps/mips/math_private.h [__mips_hard_float]
2333 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2334 libc_feresetround_mips_ctx.
2335 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2336 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2337 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2340 * math/s_nextafter.c (__nextafter): Do not return value from
2341 overflowing computation.
2342 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2343 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2344 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2346 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2348 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2349 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2351 2014-03-11 Roland McGrath <roland@hack.frob.com>
2353 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2354 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2355 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2356 the new mov targetting sp.
2358 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2361 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2362 Define it for static builds as well.
2363 (NO_BZERO_IMPL): Likewise.
2365 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2367 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2368 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2369 multiarch strspn for PPC64.
2370 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2371 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2373 (__libc_ifunc_impl_list): Likewise.
2374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2375 multiarch optimizations
2376 * string/strspn.c (strspn): Using macro to redefine symbol name.
2378 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2379 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2381 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2382 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2383 multiarch strncat for PPC64.
2384 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2385 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2387 (__libc_ifunc_impl_list): Likewise.
2388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2389 multiarch optimizations
2391 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2394 * nscd/nscd.service: Make service type forking.
2396 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2398 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2399 sign in non default rounding modes.
2400 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2402 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2404 * math/libm-test.inc (ALL_RM_TEST): New macro.
2405 (ceil_test): Use ALL_RM_TEST.
2406 (cimag_test): Likewise.
2407 (conj_test): Likewise.
2408 (copysign_test): Likewise.
2409 (cproj_test): Likewise.
2410 (creal_test): Likewise.
2411 (fabs_test): Likewise.
2412 (floor_test): Likewise.
2413 (fmax_test): Likewise.
2414 (fmin_test): Likewise.
2415 (fmod_test): Likewise.
2416 (fpclassify_test): Likewise.
2417 (frexp_test): Likewise.
2418 (ilogb_test): Likewise.
2419 (isfinite_test): Likewise.
2420 (finite_test): Likewise.
2421 (isgreater_test): Likewise.
2422 (isgreaterequal_test): Likewise.
2423 (isinf_test): Likewise.
2424 (isless_test): Likewise.
2425 (islessequal_test): Likewise.
2426 (islessgreater_test): Likewise.
2427 (isnan_test): Likewise.
2428 (isnormal_test): Likewise.
2429 (issignaling_test): Likewise.
2430 (isunordered_test): Likewise.
2431 (logb_test): Likewise.
2432 (logb_downward_test_data): Remove.
2433 (logb_test_downward): Likewise.
2434 (lround_test): Use ALL_RM_TEST.
2435 (llround_test): Likewise.
2436 (modf_test): Likewise.
2437 (nexttoward_test): Likewise.
2438 (remainder_test): Likewise.
2439 (drem_test): Likewise.
2440 (remainder_tonearest_test_data): Likewise.
2441 (remainder_test_tonearest): Likewise.
2442 (drem_test_tonearest): Likewise.
2443 (remainder_towardzero_test_data): Likewise.
2444 (remainder_test_towardzero): Likewise.
2445 (drem_test_towardzero): Likewise.
2446 (remainder_downward_test_data): Likewise.
2447 (remainder_test_downward): Likewise.
2448 (drem_test_downward): Likewise.
2449 (remainder_upward_test_data): Likewise.
2450 (remainder_test_upward): Likewise.
2451 (drem_test_upward): Likewise.
2452 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2453 (round_test): Use ALL_RM_TEST.
2454 (signbit_test): Likewise.
2455 (trunc_test): Likewise.
2456 (significand_test): Likewise.
2457 (main): Don't call removed functions.
2459 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2462 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2464 (ILL_ILLOPN): Likewise.
2465 (ILL_ILLADR): Likewise.
2466 (ILL_ILLTRP): Likewise.
2467 (ILL_PRVOPC): Likewise.
2468 (ILL_PRVREG): Likewise.
2469 (ILL_COPROC): Likewise.
2470 (ILL_BADSTK): Likewise.
2471 (FPE_INTDIV): Likewise.
2472 (FPE_INTOVF): Likewise.
2473 (FPE_FLTDIV): Likewise.
2474 (FPE_FLTOVF): Likewise.
2475 (FPE_FLTUND): Likewise.
2476 (FPE_FLTRES): Likewise.
2477 (FPE_FLTINV): Likewise.
2478 (FPE_FLTSUB): Likewise.
2479 (SEGV_MAPERR): Likewise.
2480 (SEGV_ACCERR): Likewise.
2481 (BUS_ADRALN): Likewise.
2482 (BUS_ADRERR): Likewise.
2483 (BUS_OBJERR): Likewise.
2484 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2485 (TRAP_TRACE): Likewise.
2486 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2488 (CLD_KILLED): Likewise.
2489 (CLD_DUMPED): Likewise.
2490 (CLD_TRAPPED): Likewise.
2491 (CLD_STOPPED): Likewise.
2492 (CLD_CONTINUED): Likewise.
2493 (POLL_IN): Likewise.
2494 (POLL_OUT): Likewise.
2495 (POLL_MSG): Likewise.
2496 (POLL_ERR): Likewise.
2497 (POLL_PRI): Likewise.
2498 (POLL_HUP): Likewise.
2499 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2501 (ILL_ILLOPN): Likewise.
2502 (ILL_ILLADR): Likewise.
2503 (ILL_ILLTRP): Likewise.
2504 (ILL_PRVOPC): Likewise.
2505 (ILL_PRVREG): Likewise.
2506 (ILL_COPROC): Likewise.
2507 (ILL_BADSTK): Likewise.
2508 (FPE_INTDIV): Likewise.
2509 (FPE_INTOVF): Likewise.
2510 (FPE_FLTDIV): Likewise.
2511 (FPE_FLTOVF): Likewise.
2512 (FPE_FLTUND): Likewise.
2513 (FPE_FLTRES): Likewise.
2514 (FPE_FLTINV): Likewise.
2515 (FPE_FLTSUB): Likewise.
2516 (SEGV_MAPERR): Likewise.
2517 (SEGV_ACCERR): Likewise.
2518 (BUS_ADRALN): Likewise.
2519 (BUS_ADRERR): Likewise.
2520 (BUS_OBJERR): Likewise.
2521 (BUS_MCEERR_AR): Likewise.
2522 (BUS_MCEERR_AO): Likewise.
2523 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2524 (TRAP_TRACE): Likewise.
2525 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2527 (CLD_KILLED): Likewise.
2528 (CLD_DUMPED): Likewise.
2529 (CLD_TRAPPED): Likewise.
2530 (CLD_STOPPED): Likewise.
2531 (CLD_CONTINUED): Likewise.
2532 (POLL_IN): Likewise.
2533 (POLL_OUT): Likewise.
2534 (POLL_MSG): Likewise.
2535 (POLL_ERR): Likewise.
2536 (POLL_PRI): Likewise.
2537 (POLL_HUP): Likewise.
2538 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2539 (ILL_ILLOPN): Likewise.
2540 (ILL_ILLADR): Likewise.
2541 (ILL_ILLTRP): Likewise.
2542 (ILL_PRVOPC): Likewise.
2543 (ILL_PRVREG): Likewise.
2544 (ILL_COPROC): Likewise.
2545 (ILL_BADSTK): Likewise.
2546 (FPE_INTDIV): Likewise.
2547 (FPE_INTOVF): Likewise.
2548 (FPE_FLTDIV): Likewise.
2549 (FPE_FLTOVF): Likewise.
2550 (FPE_FLTUND): Likewise.
2551 (FPE_FLTRES): Likewise.
2552 (FPE_FLTINV): Likewise.
2553 (FPE_FLTSUB): Likewise.
2554 (SEGV_MAPERR): Likewise.
2555 (SEGV_ACCERR): Likewise.
2556 (BUS_ADRALN): Likewise.
2557 (BUS_ADRERR): Likewise.
2558 (BUS_OBJERR): Likewise.
2559 (BUS_MCEERR_AR): Likewise.
2560 (BUS_MCEERR_AO): Likewise.
2561 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2562 (TRAP_TRACE): Likewise.
2563 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2565 (CLD_KILLED): Likewise.
2566 (CLD_DUMPED): Likewise.
2567 (CLD_TRAPPED): Likewise.
2568 (CLD_STOPPED): Likewise.
2569 (CLD_CONTINUED): Likewise.
2570 (POLL_IN): Likewise.
2571 (POLL_OUT): Likewise.
2572 (POLL_MSG): Likewise.
2573 (POLL_ERR): Likewise.
2574 (POLL_PRI): Likewise.
2575 (POLL_HUP): Likewise.
2576 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2578 (ILL_ILLOPN): Likewise.
2579 (ILL_ILLADR): Likewise.
2580 (ILL_ILLTRP): Likewise.
2581 (ILL_PRVOPC): Likewise.
2582 (ILL_PRVREG): Likewise.
2583 (ILL_COPROC): Likewise.
2584 (ILL_BADSTK): Likewise.
2585 (ILL_BADIADDR): Likewise.
2586 (ILL_BREAK): Likewise.
2587 (FPE_INTDIV): Likewise.
2588 (FPE_INTOVF): Likewise.
2589 (FPE_FLTDIV): Likewise.
2590 (FPE_FLTOVF): Likewise.
2591 (FPE_FLTUND): Likewise.
2592 (FPE_FLTRES): Likewise.
2593 (FPE_FLTINV): Likewise.
2594 (FPE_FLTSUB): Likewise.
2595 (FPE_DECOVF): Likewise.
2596 (FPE_DECDIV): Likewise.
2597 (FPE_DECERR): Likewise.
2598 (FPE_INVASC): Likewise.
2599 (FPE_INVDEC): Likewise.
2600 (SEGV_MAPERR): Likewise.
2601 (SEGV_ACCERR): Likewise.
2602 (SEGV_PSTKOVF): Likewise.
2603 (BUS_ADRALN): Likewise.
2604 (BUS_ADRERR): Likewise.
2605 (BUS_OBJERR): Likewise.
2606 (BUS_MCEERR_AR): Likewise.
2607 (BUS_MCEERR_AO): Likewise.
2608 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2609 (TRAP_TRACE): Likewise.
2610 (TRAP_BRANCH): Likewise.
2611 (TRAP_HWBKPT): Likewise.
2612 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2614 (CLD_KILLED): Likewise.
2615 (CLD_DUMPED): Likewise.
2616 (CLD_TRAPPED): Likewise.
2617 (CLD_STOPPED): Likewise.
2618 (CLD_CONTINUED): Likewise.
2619 (POLL_IN): Likewise.
2620 (POLL_OUT): Likewise.
2621 (POLL_MSG): Likewise.
2622 (POLL_ERR): Likewise.
2623 (POLL_PRI): Likewise.
2624 (POLL_HUP): Likewise.
2625 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2626 (ILL_ILLOPN): Likewise.
2627 (ILL_ILLADR): Likewise.
2628 (ILL_ILLTRP): Likewise.
2629 (ILL_PRVOPC): Likewise.
2630 (ILL_PRVREG): Likewise.
2631 (ILL_COPROC): Likewise.
2632 (ILL_BADSTK): Likewise.
2633 (FPE_INTDIV): Likewise.
2634 (FPE_INTOVF): Likewise.
2635 (FPE_FLTDIV): Likewise.
2636 (FPE_FLTOVF): Likewise.
2637 (FPE_FLTUND): Likewise.
2638 (FPE_FLTRES): Likewise.
2639 (FPE_FLTINV): Likewise.
2640 (FPE_FLTSUB): Likewise.
2641 (SEGV_MAPERR): Likewise.
2642 (SEGV_ACCERR): Likewise.
2643 (BUS_ADRALN): Likewise.
2644 (BUS_ADRERR): Likewise.
2645 (BUS_OBJERR): Likewise.
2646 (BUS_MCEERR_AR): Likewise.
2647 (BUS_MCEERR_AO): Likewise.
2648 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2649 (TRAP_TRACE): Likewise.
2650 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2652 (CLD_KILLED): Likewise.
2653 (CLD_DUMPED): Likewise.
2654 (CLD_TRAPPED): Likewise.
2655 (CLD_STOPPED): Likewise.
2656 (CLD_CONTINUED): Likewise.
2657 (POLL_IN): Likewise.
2658 (POLL_OUT): Likewise.
2659 (POLL_MSG): Likewise.
2660 (POLL_ERR): Likewise.
2661 (POLL_PRI): Likewise.
2662 (POLL_HUP): Likewise.
2663 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2664 (ILL_ILLOPN): Likewise.
2665 (ILL_ILLADR): Likewise.
2666 (ILL_ILLTRP): Likewise.
2667 (ILL_PRVOPC): Likewise.
2668 (ILL_PRVREG): Likewise.
2669 (ILL_COPROC): Likewise.
2670 (ILL_BADSTK): Likewise.
2671 (FPE_INTDIV): Likewise.
2672 (FPE_INTOVF): Likewise.
2673 (FPE_FLTDIV): Likewise.
2674 (FPE_FLTOVF): Likewise.
2675 (FPE_FLTUND): Likewise.
2676 (FPE_FLTRES): Likewise.
2677 (FPE_FLTINV): Likewise.
2678 (FPE_FLTSUB): Likewise.
2679 (SEGV_MAPERR): Likewise.
2680 (SEGV_ACCERR): Likewise.
2681 (BUS_ADRALN): Likewise.
2682 (BUS_ADRERR): Likewise.
2683 (BUS_OBJERR): Likewise.
2684 (BUS_MCEERR_AR): Likewise.
2685 (BUS_MCEERR_AO): Likewise.
2686 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2687 (TRAP_TRACE): Likewise.
2688 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2690 (CLD_KILLED): Likewise.
2691 (CLD_DUMPED): Likewise.
2692 (CLD_TRAPPED): Likewise.
2693 (CLD_STOPPED): Likewise.
2694 (CLD_CONTINUED): Likewise.
2695 (POLL_IN): Likewise.
2696 (POLL_OUT): Likewise.
2697 (POLL_MSG): Likewise.
2698 (POLL_ERR): Likewise.
2699 (POLL_PRI): Likewise.
2700 (POLL_HUP): Likewise.
2701 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2702 (ILL_ILLOPN): Likewise.
2703 (ILL_ILLADR): Likewise.
2704 (ILL_ILLTRP): Likewise.
2705 (ILL_PRVOPC): Likewise.
2706 (ILL_PRVREG): Likewise.
2707 (ILL_COPROC): Likewise.
2708 (ILL_BADSTK): Likewise.
2709 (FPE_INTDIV): Likewise.
2710 (FPE_INTOVF): Likewise.
2711 (FPE_FLTDIV): Likewise.
2712 (FPE_FLTOVF): Likewise.
2713 (FPE_FLTUND): Likewise.
2714 (FPE_FLTRES): Likewise.
2715 (FPE_FLTINV): Likewise.
2716 (FPE_FLTSUB): Likewise.
2717 (SEGV_MAPERR): Likewise.
2718 (SEGV_ACCERR): Likewise.
2719 (BUS_ADRALN): Likewise.
2720 (BUS_ADRERR): Likewise.
2721 (BUS_OBJERR): Likewise.
2722 (BUS_MCEERR_AR): Likewise.
2723 (BUS_MCEERR_AO): Likewise.
2724 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2725 (TRAP_TRACE): Likewise.
2726 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2728 (CLD_KILLED): Likewise.
2729 (CLD_DUMPED): Likewise.
2730 (CLD_TRAPPED): Likewise.
2731 (CLD_STOPPED): Likewise.
2732 (CLD_CONTINUED): Likewise.
2733 (POLL_IN): Likewise.
2734 (POLL_OUT): Likewise.
2735 (POLL_MSG): Likewise.
2736 (POLL_ERR): Likewise.
2737 (POLL_PRI): Likewise.
2738 (POLL_HUP): Likewise.
2739 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2740 (ILL_ILLOPN): Likewise.
2741 (ILL_ILLADR): Likewise.
2742 (ILL_ILLTRP): Likewise.
2743 (ILL_PRVOPC): Likewise.
2744 (ILL_PRVREG): Likewise.
2745 (ILL_COPROC): Likewise.
2746 (ILL_BADSTK): Likewise.
2747 (ILL_DBLFLT): Likewise.
2748 (ILL_HARDWALL): Likewise.
2749 (FPE_INTDIV): Likewise.
2750 (FPE_INTOVF): Likewise.
2751 (FPE_FLTDIV): Likewise.
2752 (FPE_FLTOVF): Likewise.
2753 (FPE_FLTUND): Likewise.
2754 (FPE_FLTRES): Likewise.
2755 (FPE_FLTINV): Likewise.
2756 (FPE_FLTSUB): Likewise.
2757 (SEGV_MAPERR): Likewise.
2758 (SEGV_ACCERR): Likewise.
2759 (BUS_ADRALN): Likewise.
2760 (BUS_ADRERR): Likewise.
2761 (BUS_OBJERR): Likewise.
2762 (BUS_MCEERR_AR): Likewise.
2763 (BUS_MCEERR_AO): Likewise.
2764 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2765 (TRAP_TRACE): Likewise.
2766 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2768 (CLD_KILLED): Likewise.
2769 (CLD_DUMPED): Likewise.
2770 (CLD_TRAPPED): Likewise.
2771 (CLD_STOPPED): Likewise.
2772 (CLD_CONTINUED): Likewise.
2773 (POLL_IN): Likewise.
2774 (POLL_OUT): Likewise.
2775 (POLL_MSG): Likewise.
2776 (POLL_ERR): Likewise.
2777 (POLL_PRI): Likewise.
2778 (POLL_HUP): Likewise.
2779 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2780 (ILL_ILLOPN): Likewise.
2781 (ILL_ILLADR): Likewise.
2782 (ILL_ILLTRP): Likewise.
2783 (ILL_PRVOPC): Likewise.
2784 (ILL_PRVREG): Likewise.
2785 (ILL_COPROC): Likewise.
2786 (ILL_BADSTK): Likewise.
2787 (FPE_INTDIV): Likewise.
2788 (FPE_INTOVF): Likewise.
2789 (FPE_FLTDIV): Likewise.
2790 (FPE_FLTOVF): Likewise.
2791 (FPE_FLTUND): Likewise.
2792 (FPE_FLTRES): Likewise.
2793 (FPE_FLTINV): Likewise.
2794 (FPE_FLTSUB): Likewise.
2795 (SEGV_MAPERR): Likewise.
2796 (SEGV_ACCERR): Likewise.
2797 (BUS_ADRALN): Likewise.
2798 (BUS_ADRERR): Likewise.
2799 (BUS_OBJERR): Likewise.
2800 (BUS_MCEERR_AR): Likewise.
2801 (BUS_MCEERR_AO): Likewise.
2802 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2803 (TRAP_TRACE): Likewise.
2804 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2806 (CLD_KILLED): Likewise.
2807 (CLD_DUMPED): Likewise.
2808 (CLD_TRAPPED): Likewise.
2809 (CLD_STOPPED): Likewise.
2810 (CLD_CONTINUED): Likewise.
2811 (POLL_IN): Likewise.
2812 (POLL_OUT): Likewise.
2813 (POLL_MSG): Likewise.
2814 (POLL_ERR): Likewise.
2815 (POLL_PRI): Likewise.
2816 (POLL_HUP): Likewise.
2817 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2818 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2821 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2822 before #include of <time.h>.
2823 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2824 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2825 (test-xfail-UNIX98/sched.h/conform): Likewise.
2827 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2829 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2830 error absence of trapping exception support.
2831 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2833 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2835 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2836 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2837 * timezone/Makefile (testdata): Move definition above include of
2839 (test-zones): New variable.
2840 (tests-special): Add zone files.
2841 (build-testdata): Use $(evaluate-test).
2843 * elf/Makefile (tests-special): Rename tests to end with .out.
2844 ($(objpfx)noload-mem): Likewise.
2845 ($(objpfx)tst-leaks1-mem): Likewise.
2846 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2847 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2848 $(objpfx)test-iconvconfig.out.
2849 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2850 set -e inside subshell and redirect output to file.
2851 * iconvdata/Makefile (generated): Rename tests to end with .out.
2853 (tests-special): Rename tests to end with .out.
2854 ($(objpfx)mtrace-tst-loading): Likewise.
2855 * intl/Makefile (generated): Likewise.
2856 (tests-special): Likewise.
2857 ($(objpfx)mtrace-tst-gettext): Likewise.
2858 * misc/Makefile (generated): Likewise.
2859 (tests-special): Likewise.
2860 ($(objpfx)tst-error1-mem): Likewise.
2861 * nptl/Makefile (tests-special): Likewise.
2862 ($(objpfx)tst-stack3-mem): Likewise.
2863 (generated): Likewise.
2864 * posix/Makefile (generated): Likewise.
2865 (tests-special): Likewise.
2866 (xtests-special): Likewise.
2867 ($(objpfx)tst-fnmatch-mem): Likewise.
2868 ($(objpfx)bug-regex2-mem): Likewise.
2869 ($(objpfx)bug-regex14-mem): Likewise.
2870 ($(objpfx)bug-regex21-mem): Likewise.
2871 ($(objpfx)bug-regex31-mem): Likewise.
2872 ($(objpfx)tst-vfork3-mem): Likewise.
2873 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2874 ($(objpfx)tst-pcre-mem): Likewise.
2875 ($(objpfx)tst-boost-mem): Likewise.
2876 ($(objpfx)bug-ga2-mem): Likewise.
2877 ($(objpfx)bug-glob2-mem): Likewise.
2878 * resolv/Makefile (generate): Likewise.
2879 (tests-special): Likewise.
2880 (xtests-special): Likewise.
2881 (generated): Likewise.
2882 ($(objpfx)mtrace-tst-leaks): Likewise.
2883 ($(objpfx)mtrace-tst-leaks2): Likewise.
2885 * scripts/merge-test-results.sh: New file.
2886 * Makefile (tests-special-notdir): New variable.
2887 (tests): Run merge-test-results.sh.
2889 * Rules (tests-special-notdir): New variable.
2890 (xtests-special-notdir): Likewise.
2891 (tests): Run merge-test-results.sh
2894 * Makeconfig (test-xfail-name): New variable.
2895 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2896 compute variable name for expected failures.
2897 * conform/Makefile (conformtest-headers-data): New variable.
2898 (conformtest-standards): Likewise.
2899 (conformtest-headers-ISO): Likewise.
2900 (conformtest-headers-ISO99): Likewise.
2901 (conformtest-headers-ISO11): Likewise.
2902 (conformtest-headers-POSIX): Likewise.
2903 (conformtest-headers-XPG3): Likewise.
2904 (conformtest-headers-XPG4): Likewise.
2905 (conformtest-headers-UNIX98): Likewise.
2906 (conformtest-headers-XOPEN2K): Likewise.
2907 (conformtest-headers-POSIX2008): Likewise.
2908 (conformtest-headers-XOPEN2K8): Likewise.
2909 (conformtest-header-list-base): Likewise.
2910 (conformtest-header-list-tests): Likewise.
2911 (conformtest-header-base): Likewise.
2912 (conformtest-header-tests): Likewise.
2913 (tests-special): Add $(conformtest-header-list-tests). If
2914 [$(fast-check) && !$(cross-compiling)], add
2915 $(conformtest-header-tests) instead of
2916 $(objpfx)run-conformtest.out.
2917 (generated): Add $(conformtest-header-list-base). If
2918 [$(fast-check) && !$(cross-compiling)], add
2919 $(conformtest-header-base). Remove previous setting.
2920 ($(conformtest-header-list-tests)): New target.
2921 (test-xfail-run-conformtest): Remove variable.
2922 ($(objpfx)run-conformtest.out): Remove target.
2923 (test-xfail-ISO11/complex.h/conform): New variable.
2924 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2925 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2926 (test-xfail-XPG3/varargs.h/conform): Likewise.
2927 (test-xfail-XPG4/varargs.h/conform): Likewise.
2928 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2929 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2930 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2931 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2932 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2933 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2934 (test-xfail-XPG3/ftw.h/conform): Likewise.
2935 (test-xfail-XPG3/grp.h/conform): Likewise.
2936 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2937 (test-xfail-XPG3/limits.h/conform): Likewise.
2938 (test-xfail-XPG3/pwd.h/conform): Likewise.
2939 (test-xfail-XPG3/search.h/conform): Likewise.
2940 (test-xfail-XPG3/signal.h/conform): Likewise.
2941 (test-xfail-XPG3/stdio.h/conform): Likewise.
2942 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2943 (test-xfail-XPG3/string.h/conform): Likewise.
2944 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2945 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2946 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2947 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2948 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2949 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2950 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2951 (test-xfail-XPG3/termios.h/conform): Likewise.
2952 (test-xfail-XPG3/time.h/conform): Likewise.
2953 (test-xfail-XPG3/unistd.h/conform): Likewise.
2954 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2955 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2956 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2957 (test-xfail-XPG4/netdb.h/conform): Likewise.
2958 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2959 (test-xfail-XPG4/signal.h/conform): Likewise.
2960 (test-xfail-XPG4/stdio.h/conform): Likewise.
2961 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2962 (test-xfail-XPG4/stropts.h/conform): Likewise.
2963 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2964 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2965 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2966 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2967 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2968 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2969 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2970 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2971 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2972 (test-xfail-XPG4/termios.h/conform): Likewise.
2973 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2974 (test-xfail-XPG4/unistd.h/conform): Likewise.
2975 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2976 (test-xfail-POSIX/sched.h/conform): Likewise.
2977 (test-xfail-POSIX/signal.h/conform): Likewise.
2978 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2979 (test-xfail-POSIX/tar.h/conform): Likewise.
2980 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2981 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2982 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2983 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2984 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2985 (test-xfail-UNIX98/sched.h/conform): Likewise.
2986 (test-xfail-UNIX98/signal.h/conform): Likewise.
2987 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2988 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2989 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2990 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2991 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2992 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2993 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2994 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2995 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2996 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2997 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2998 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2999 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3000 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3001 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3002 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3003 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3004 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3005 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3006 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3007 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3008 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3009 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3010 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3011 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3012 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3013 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3014 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3015 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3016 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3017 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3018 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3019 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3020 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3021 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3022 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3023 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3024 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3025 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3026 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3027 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3028 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3029 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3030 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3031 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3032 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3033 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3034 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3035 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3036 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3037 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3038 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3039 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3040 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3041 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3042 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3043 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3044 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3045 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3046 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3047 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3048 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3049 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3050 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3051 (conformtest-cc-flags): Likewise.
3052 ($(conformtest-header-tests): New target.
3053 * conform/check-header-lists.sh: New file.
3054 * conform/run-conformtest.sh: Remove.
3056 * conform/conformtest.pl: Allow ' and \ in values given for
3058 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3060 [POSIX] (sys/types.h): Likewise.
3061 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3063 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3065 * conform/data/signal.h-data (SIGIO): Remove expectation.
3066 [XPG3] (SIGBUS): Do not expect.
3067 [POSIX || XPG3] (SIGPOLL): Likewise.
3068 [POSIX || XPG3] (SIGPROF): Likewise.
3069 [POSIX || XPG3] (SIGSYS): Likewise.
3070 [XPG3] (SIGTRAP): Likewise.
3071 [POSIX || XPG3] (SIGURG): Likewise.
3072 [POSIX || XPG3] (SIGVTALRM): Likewise.
3073 [POSIX || XPG3] (SIGXCPU): Likewise.
3074 [POSIX || XPG3] (SIGXFSZ): Likewise.
3075 [POSIX] (SA_SIGINFO): Expect.
3076 [XPG3] (siginfo_t): Do not expect type or contents.
3077 [POSIX] (si_pid): Do not expect element.
3078 [POSIX] (si_uid): Likewise.
3079 [POSIX] (si_addr): Likewise.
3080 [POSIX] (si_status): Likewise.
3081 [POSIX] (si_band): Likewise.
3082 [XPG4] (si_value): Likewise.
3083 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3084 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3085 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3086 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3087 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3088 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3089 [POSIX || XPG3] (ILL_COPROC): Likewise.
3090 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3091 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3092 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3093 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3094 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3095 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3096 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3097 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3098 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3099 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3100 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3101 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3102 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3103 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3104 [POSIX || XPG3] (CLD_EXITED): Likewise.
3105 [POSIX || XPG3] (CLD_KILLED): Likewise.
3106 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3107 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3108 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3109 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3110 [POSIX || XPG3] (POLL_IN): Likewise.
3111 [POSIX || XPG3] (POLL_OUT): Likewise.
3112 [POSIX || XPG3] (POLL_MSG): Likewise.
3113 [POSIX || XPG3] (POLL_ERR): Likewise.
3114 [POSIX || XPG3] (POLL_PRI): Likewise.
3115 [POSIX || XPG3] (POLL_HUP): Likewise.
3116 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3117 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3118 (SIG*): Do not allow.
3119 [XPG3] (si_*): Likewise.
3120 [XPG3] (SI_*): Likewise.
3121 [XPG3 || XPG4] (sigev_*): Likewise.
3122 [XPG3 || XPG4] (SIGEV_*): Likewise.
3123 [XPG3 || XPG4] (sival_*): Likewise.
3124 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3125 [POSIX || XPG3] (BUS_*): Likewise.
3126 [POSIX || XPG3] (CLD_*): Likewise.
3127 [POSIX || XPG3] (FPE_*): Likewise.
3128 [POSIX || XPG3] (ILL_*): Likewise.
3129 [POSIX || XPG3] (POLL_*): Likewise.
3130 [POSIX || XPG3] (SEGV_*): Likewise.
3131 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3132 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3133 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3134 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3135 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3136 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3137 Specify type and value.
3138 (TVERSLEN): Likewise.
3139 (REGTYPE): Likewise.
3140 (AREGTYPE): Likewise.
3141 (LNKTYPE): Likewise.
3142 (SYMTYPE): Likewise.
3143 (CHRTYPE): Likewise.
3144 (BLKTYPE): Likewise.
3145 (DIRTYPE): Likewise.
3146 (FIFOTYPE): Likewise.
3147 (CONTTYPE): Likewise.
3152 (TUWRITE): Likewise.
3155 (TGWRITE): Likewise.
3158 (TOWRITE): Likewise.
3160 [POSIX] (TSVTX): Expect constant.
3162 2014-03-06 Joseph Myers <joseph@codesourcery.com>
3164 * Makefile (tests): Change dependencies to ....
3165 (tests-special): ... additions to this variable.
3166 (tests): Depend on $(tests-special).
3167 * Makerules (check-abi-list): New variable.
3168 (check-abi): Depend on $(check-abi-list).
3169 [$(subdir) = elf] (tests-special): Add
3170 $(objpfx)check-abi-libc.out.
3171 [$(build-shared) = yes && subdir] (tests-special): Add
3173 [$(build-shared) = yes && subdir] (tests): Do not depend on
3175 * Rules (tests): Depend on $(tests-special).
3176 (xtests): Depend on $(xtests-special).
3177 * catgets/Makefile (tests): Change dependencies to ....
3178 (tests-special): ... additions to this variable.
3179 * conform/Makefile (tests): Change dependencies to ....
3180 (tests-special): ... additions to this variable.
3181 * elf/Makefile (tests): Change dependencies to ....
3182 (tests-special): ... additions to this variable.
3183 * grp/Makefile (tests): Change dependencies to ....
3184 (tests-special): ... additions to this variable.
3185 * iconv/Makefile (xtests): Change dependencies to ....
3186 (xtests-special): ... additions to this variable.
3187 * iconvdata/Makefile (tests): Change dependencies to ....
3188 (tests-special): ... additions to this variable.
3189 * intl/Makefile (tests): Change dependencies to ....
3190 (tests-special): ... additions to this variable. Also add
3191 $(objpfx)tst-gettext.out.
3192 * io/Makefile (tests): Change dependencies to ....
3193 (tests-special): ... additions to this variable.
3194 * libio/Makefile (tests): Change dependencies to ....
3195 (tests-special): ... additions to this variable.
3196 * malloc/Makefile (tests): Change dependencies to ....
3197 (tests-special): ... additions to this variable.
3198 * misc/Makefile (tests): Change dependencies to ....
3199 (tests-special): ... additions to this variable.
3200 * nptl/Makefile (tests): Change dependencies to ....
3201 (tests-special): ... additions to this variable.
3202 * nptl_db/Makefile (tests): Change dependencies to ....
3203 (tests-special): ... additions to this variable.
3204 * posix/Makefile (tests): Change dependencies to ....
3205 (tests-special): ... additions to this variable.
3206 (xtests): Change dependencies to ....
3207 (xtests-special): ... additions to this variable.
3208 * resolv/Makefile (tests): Change dependencies to ....
3209 (tests-special): ... additions to this variable.
3210 (xtests): Change dependencies to ....
3211 (xtests-special): ... additions to this variable.
3212 * stdio-common/Makefile (tests): Change dependencies to ....
3213 (tests-special): ... additions to this variable.
3214 (do-tst-unbputc): Remove target.
3215 (do-tst-printf): Likewise.
3216 * stdlib/Makefile (tests): Change dependencies to ....
3217 (tests-special): ... additions to this variable.
3218 * string/Makefile (tests): Change dependencies to ....
3219 (tests-special): ... additions to this variable.
3220 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3221 (tests-special): ... additions to this variable.
3223 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3225 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3227 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3228 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3230 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3231 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3232 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3233 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3234 * conform/data/libgen.h-data [XPG3]: Likewise.
3235 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3236 * conform/data/ndbm.h-data [XPG3]: Likewise.
3237 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3238 * conform/data/netdb.h-data [XPG3]: Likewise.
3239 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3240 * conform/data/poll.h-data [XPG3]: Likewise.
3241 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3242 * conform/data/strings.h-data [XPG3]: Likewise.
3243 * conform/data/stropts.h-data [XPG3]: Likewise.
3244 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3245 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3246 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3248 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3249 * conform/data/sys/time.h-data [XPG3]: Likewise.
3250 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3251 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3252 * conform/data/sys/un.h-data [XPG3]: Likewise.
3253 * conform/data/syslog.h-data [XPG3]: Likewise.
3254 * conform/data/ucontext.h-data [XPG3]: Likewise.
3255 * conform/data/utmpx.h-data [XPG3]: Likewise.
3256 * conform/data/varargs.h-data [UNIX98]: Enable file.
3258 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3260 * math/libm-test.inc (struct test_f_f_data): Move expected results
3261 into structure for each rounding mode.
3262 (struct test_ff_f_data): Likewise.
3263 (struct test_ff_f_data_nexttoward): Likewise.
3264 (struct test_fi_f_data): Likewise.
3265 (struct test_fl_f_data): Likewise.
3266 (struct test_if_f_data): Likewise.
3267 (struct test_fff_f_data): Likewise.
3268 (struct test_c_f_data): Likewise.
3269 (struct test_f_f1_data): Likewise.
3270 (struct test_fF_f1_data): Likewise.
3271 (struct test_ffI_f1_data): Likewise.
3272 (struct test_c_c_data): Likewise.
3273 (struct test_cc_c_data): Likewise.
3274 (struct test_f_i_data): Likewise.
3275 (struct test_ff_i_data): Likewise.
3276 (struct test_f_l_data): Likewise.
3277 (struct test_f_L_data): Likewise.
3278 (struct test_fFF_11_data): Likewise.
3280 (RM_FE_DOWNWARD): Likewise.
3281 (RM_FE_TONEAREST): Likewise.
3282 (RM_FE_TOWARDZERO): Likewise.
3283 (RM_FE_UPWARD): Likewise.
3284 (RUN_TEST_LOOP_f_f): Update references to expected results.
3285 (RUN_TEST_LOOP_2_f): Likewise.
3286 (RUN_TEST_LOOP_fff_f): Likewise.
3287 (RUN_TEST_LOOP_c_f): Likewise.
3288 (RUN_TEST_LOOP_f_f1): Likewise.
3289 (RUN_TEST_LOOP_fF_f1): Likewise.
3290 (RUN_TEST_LOOP_fI_f1): Likewise.
3291 (RUN_TEST_LOOP_ffI_f1): Likewise.
3292 (RUN_TEST_LOOP_c_c): Likewise.
3293 (RUN_TEST_LOOP_cc_c): Likewise.
3294 (RUN_TEST_LOOP_f_i): Likewise.
3295 (RUN_TEST_LOOP_f_i_tg): Likewise.
3296 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3297 (RUN_TEST_LOOP_f_b): Likewise.
3298 (RUN_TEST_LOOP_f_b_tg): Likewise.
3299 (RUN_TEST_LOOP_f_l): Likewise.
3300 (RUN_TEST_LOOP_f_L): Likewise.
3301 (RUN_TEST_LOOP_fFF_11): Likewise.
3302 * math/gen-libm-test.pl (parse_args): Output four copies of
3303 expected results for each test.
3305 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3306 (__ASSUME_UTIMES): Remove.
3307 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3308 (__ASSUME_UTIMES): Likewise.
3310 * math/gen-auto-libm-tests.c: Update comment on output format.
3311 (output_for_one_input_case): Generate before-rounding and
3312 after-rounding information as conditions on output flags not
3313 floating-point format.
3314 * math/auto-libm-test-out: Regenerated.
3315 * math/gen-libm-test.pl (cond_value): New function.
3316 (or_cond_value): Use cond_value.
3317 (generate_testfile): Handle conditional exceptions.
3319 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3321 * math/libm-test.inc (max_valid_error): New variable.
3322 (init_max_error): Take new argument specifying whether function
3323 results are exactly determined. Set max_valid_error and bound
3324 other variables for errors based on this argument.
3325 (set_max_error): Do not record results above max_valid_error.
3326 (check_float_internal): Only accept errors of up to 0.5ulps if
3327 also at most max_valid_error.
3328 (START): Take new argument EXACT and pass it to init_max_error.
3329 (acos_test): Update call to START.
3330 (acos_test_tonearest): Likewise.
3331 (acos_test_towardzero): Likewise.
3332 (acos_test_downward): Likewise.
3333 (acos_test_upward): Likewise.
3334 (acosh_test): Likewise.
3335 (asin_test): Likewise.
3336 (asin_test_tonearest): Likewise.
3337 (asin_test_towardzero): Likewise.
3338 (asin_test_downward): Likewise.
3339 (asin_test_upward): Likewise.
3340 (asinh_test): Likewise.
3341 (atan_test): Likewise.
3342 (atanh_test): Likewise.
3343 (atan2_test): Likewise.
3344 (cabs_test): Likewise.
3345 (cacos_test): Likewise.
3346 (cacosh_test): Likewise.
3347 (carg_test): Likewise.
3348 (casin_test): Likewise.
3349 (casinh_test): Likewise.
3350 (catan_test): Likewise.
3351 (catanh_test): Likewise.
3352 (cbrt_test): Likewise.
3353 (ccos_test): Likewise.
3354 (ccosh_test): Likewise.
3355 (ceil_test): Likewise.
3356 (cexp_test): Likewise.
3357 (cimag_test): Likewise.
3358 (clog_test): Likewise.
3359 (clog10_test): Likewise.
3360 (conj_test): Likewise.
3361 (copysign_test): Likewise.
3362 (cos_test): Likewise.
3363 (cos_test_tonearest): Likewise.
3364 (cos_test_towardzero): Likewise.
3365 (cos_test_downward): Likewise.
3366 (cos_test_upward): Likewise.
3367 (cosh_test): Likewise.
3368 (cosh_test_tonearest): Likewise.
3369 (cosh_test_towardzero): Likewise.
3370 (cosh_test_downward): Likewise.
3371 (cosh_test_upward): Likewise.
3372 (cpow_test): Likewise.
3373 (cproj_test): Likewise.
3374 (creal_test): Likewise.
3375 (csin_test): Likewise.
3376 (csinh_test): Likewise.
3377 (csqrt_test): Likewise.
3378 (ctan_test): Likewise.
3379 (ctan_test_tonearest): Likewise.
3380 (ctan_test_towardzero): Likewise.
3381 (ctan_test_downward): Likewise.
3382 (ctan_test_upward): Likewise.
3383 (ctanh_test): Likewise.
3384 (ctanh_test_tonearest): Likewise.
3385 (ctanh_test_towardzero): Likewise.
3386 (ctanh_test_downward): Likewise.
3387 (ctanh_test_upward): Likewise.
3388 (erf_test): Likewise.
3389 (erfc_test): Likewise.
3390 (exp_test): Likewise.
3391 (exp_test_tonearest): Likewise.
3392 (exp_test_towardzero): Likewise.
3393 (exp_test_downward): Likewise.
3394 (exp_test_upward): Likewise.
3395 (exp10_test): Likewise.
3396 (exp10_test_tonearest): Likewise.
3397 (exp10_test_towardzero): Likewise.
3398 (exp10_test_downward): Likewise.
3399 (exp10_test_upward): Likewise.
3400 (pow10_test): Likewise.
3401 (exp2_test): Likewise.
3402 (expm1_test): Likewise.
3403 (expm1_test_tonearest): Likewise.
3404 (expm1_test_towardzero): Likewise.
3405 (expm1_test_downward): Likewise.
3406 (expm1_test_upward): Likewise.
3407 (fabs_test): Likewise.
3408 (fdim_test): Likewise.
3409 (floor_test): Likewise.
3410 (fma_test): Likewise.
3411 (fma_test_towardzero): Likewise.
3412 (fma_test_downward): Likewise.
3413 (fma_test_upward): Likewise.
3414 (fmax_test): Likewise.
3415 (fmin_test): Likewise.
3416 (fmod_test): Likewise.
3417 (fpclassify_test): Likewise.
3418 (frexp_test): Likewise.
3419 (hypot_test): Likewise.
3420 (ilogb_test): Likewise.
3421 (isfinite_test): Likewise.
3422 (finite_test): Likewise.
3423 (isgreater_test): Likewise.
3424 (isgreaterequal_test): Likewise.
3425 (isinf_test): Likewise.
3426 (isless_test): Likewise.
3427 (islessequal_test): Likewise.
3428 (islessgreater_test): Likewise.
3429 (isnan_test): Likewise.
3430 (isnormal_test): Likewise.
3431 (issignaling_test): Likewise.
3432 (isunordered_test): Likewise.
3433 (j0_test): Likewise.
3434 (j1_test): Likewise.
3435 (jn_test): Likewise.
3436 (ldexp_test): Likewise.
3437 (lgamma_test): Likewise.
3438 (gamma_test): Likewise.
3439 (lrint_test): Likewise.
3440 (lrint_test_tonearest): Likewise.
3441 (lrint_test_towardzero): Likewise.
3442 (lrint_test_downward): Likewise.
3443 (lrint_test_upward): Likewise.
3444 (llrint_test): Likewise.
3445 (llrint_test_tonearest): Likewise.
3446 (llrint_test_towardzero): Likewise.
3447 (llrint_test_downward): Likewise.
3448 (llrint_test_upward): Likewise.
3449 (log_test): Likewise.
3450 (log10_test): Likewise.
3451 (log1p_test): Likewise.
3452 (log2_test): Likewise.
3453 (logb_test): Likewise.
3454 (logb_test_downward): Likewise.
3455 (lround_test): Likewise.
3456 (llround_test): Likewise.
3457 (modf_test): Likewise.
3458 (nearbyint_test): Likewise.
3459 (nextafter_test): Likewise.
3460 (nexttoward_test): Likewise.
3461 (pow_test): Likewise.
3462 (pow_test_tonearest): Likewise.
3463 (pow_test_towardzero): Likewise.
3464 (pow_test_downward): Likewise.
3465 (pow_test_upward): Likewise.
3466 (remainder_test): Likewise.
3467 (drem_test): Likewise.
3468 (remainder_test_tonearest): Likewise.
3469 (drem_test_tonearest): Likewise.
3470 (remainder_test_towardzero): Likewise.
3471 (drem_test_towardzero): Likewise.
3472 (remainder_test_downward): Likewise.
3473 (drem_test_downward): Likewise.
3474 (remainder_test_upward): Likewise.
3475 (drem_test_upward): Likewise.
3476 (remquo_test): Likewise.
3477 (rint_test): Likewise.
3478 (rint_test_tonearest): Likewise.
3479 (rint_test_towardzero): Likewise.
3480 (rint_test_downward): Likewise.
3481 (rint_test_upward): Likewise.
3482 (round_test): Likewise.
3483 (scalb_test): Likewise.
3484 (scalbn_test): Likewise.
3485 (scalbln_test): Likewise.
3486 (signbit_test): Likewise.
3487 (sin_test): Likewise.
3488 (sin_test_tonearest): Likewise.
3489 (sin_test_towardzero): Likewise.
3490 (sin_test_downward): Likewise.
3491 (sin_test_upward): Likewise.
3492 (sincos_test): Likewise.
3493 (sinh_test): Likewise.
3494 (sinh_test_tonearest): Likewise.
3495 (sinh_test_towardzero): Likewise.
3496 (sinh_test_downward): Likewise.
3497 (sinh_test_upward): Likewise.
3498 (sqrt_test): Likewise.
3499 (sqrt_test_tonearest): Likewise.
3500 (sqrt_test_towardzero): Likewise.
3501 (sqrt_test_downward): Likewise.
3502 (sqrt_test_upward): Likewise.
3503 (tan_test): Likewise.
3504 (tan_test_tonearest): Likewise.
3505 (tan_test_towardzero): Likewise.
3506 (tan_test_downward): Likewise.
3507 (tan_test_upward): Likewise.
3508 (tanh_test): Likewise.
3509 (tgamma_test): Likewise.
3510 (trunc_test): Likewise.
3511 (y0_test): Likewise.
3512 (y1_test): Likewise.
3513 (yn_test): Likewise.
3514 (significand_test): Likewise.
3516 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3517 individual tests in comment.
3518 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3519 (prev_max_error): New variable.
3520 (prev_real_max_error): Likewise.
3521 (prev_imag_max_error): Likewise.
3522 (compare_ulp_data): Don't refer to test names in comment.
3523 (find_test_ulps): Remove function.
3524 (find_function_ulps): Likewise.
3525 (find_complex_function_ulps): Likewise.
3526 (init_max_error): Take function name as argument. Look up ulps
3528 (print_ulps): Remove function.
3529 (print_max_error): Use prev_max_error instead of calling
3531 (print_complex_max_error): Use prev_real_max_error and
3532 prev_imag_max_error instead of calling find_complex_function_ulps.
3533 (check_float_internal): Take max_ulp parameter instead of calling
3534 find_test_ulps. Don't call print_ulps.
3535 (check_float): Update call to check_float_internal.
3536 (check_complex): Update calls to check_float_internal.
3537 (START): Pass argument to init_max_error.
3538 * math/gen-libm-test.pl (%results): Don't include "kind"
3540 (parse_ulps): Don't handle ulps of individual tests.
3541 (print_ulps_file): Likewise.
3542 (output_ulps): Likewise.
3543 * math/README.libm-test: Update.
3544 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3546 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3547 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3548 * sysdeps/arm/libm-test-ulps: Likewise.
3549 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3550 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3551 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3552 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3553 * sysdeps/microblaze/libm-test-ulps: Likewise.
3554 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3555 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3556 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3557 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3558 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3559 * sysdeps/sh/libm-test-ulps: Likewise.
3560 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3561 * sysdeps/tile/libm-test-ulps: Likewise.
3562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3564 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3566 * math/libm-test.inc (print_complex_max_error): Check separately
3567 whether real and imaginary errors are within allowed range and
3568 pass 0 to print_complex_function_ulps instead of value within
3571 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3573 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3575 (get_handles_fopen): Likewise.
3576 (do_write_test): Likewise.
3578 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3580 * libio/fileops.c (do_ftell): Use cached offset when
3582 * libio/iofwide.c (do_ftell_wide): Likewise.
3583 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3585 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3588 * libio/libioP.h (get_file_offset): New function.
3589 * libio/fileops.c (get_file_offset): Likewise.
3590 (do_ftell): Likewise.
3591 (_IO_new_file_seekoff): Split out ftell logic.
3592 * libio/wfileops.c (do_ftell_wide): Likewise.
3593 (_IO_wfile_seekoff): Split out ftell logic.
3594 * libio/tst-ftell-active-handler.c: New test case.
3595 * libio/Makefile (tests): Add it.
3597 2014-03-03 Roland McGrath <roland@hack.frob.com>
3599 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3600 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3602 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3605 * nscd/connections.c (nscd_init): Call do_exit.
3606 (start_threads): Call do_exit and notify_parent.
3607 (begin_drop_privileges): Call do_exit.
3608 (finish_drop_privileges): Likewise.
3609 * nscd/selinux.c (preserve_capabilities): Likewise.
3610 (install_real_capabilities): Likewise.
3611 (nscd_selinux_enabled): Likewise.
3612 (avc_create_thread): Likewise.
3613 (avc_alloc_lock): Likewise.
3614 (nscd_avc_init): Likewise.
3615 * nscd/nscd.c (parent_fd): New static variable.
3616 (main): Create a pipe between parent and child processes.
3617 Skip closing parent_fd.
3618 (monitor_child): New function.
3619 (do_exit): Likewise.
3620 (notify_parent): Likewise.
3621 * nscd/nscd.h (notify_parent): Likewise.
3622 (do_exit): Likewise.
3624 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3626 * malloc/malloc.c (__libc_calloc): Revert last change.
3628 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3632 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3634 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3638 (__libc_ifunc_impl_list): Likewise.
3639 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3640 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3641 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3642 * string/strrchr.c: Define STRRCHR.
3644 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3646 * benchtest/bench-strtok.c (simple_strtok): Delete.
3647 (strtok_string): Use as benchmark.
3648 * string/strtok (STRTOK): New macro.
3650 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3652 * manual/threads.texi: Add header and standard comments to all
3655 * elf/dl-lookup.c (check_match): New function.
3656 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3657 (do_lookup_x): Remove nested function check_match. Use non-nested
3658 function check_match.
3660 2014-02-28 Roland McGrath <roland@hack.frob.com>
3662 * csu/Makefile (generated, before-compile): Use += rather than =.
3663 * catgets/Makefile (generated, generated-dirs): Likewise.
3664 * debug/Makefile (generated): Likewise.
3665 * dlfcn/Makefile (generated): Likewise.
3666 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3667 * iconvdata/Makefile (before-compile, generated): Likewise.
3668 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3669 * libio/Makefile (generated): Likewise.
3670 * malloc/Makefile (generated): Likewise.
3671 * manual/Makefile (generated, generated-dirs): Likewise.
3672 * misc/Makefile (generated): Likewise.
3673 * posix/Makefile (generated): Likewise.
3674 * resolv/Makefile (generated): Likewise.
3675 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3676 * timezone/Makefile (generated, generated-dirs): Likewise.
3678 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3680 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3682 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3683 power8 implementation.
3684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3685 file: POWER8 llround ifunc implementation.
3686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3687 (__lllround): Add POWER8 implementation.
3688 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3689 POWER8 llround implementation.
3691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3692 power8 implementation.
3693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3694 file: POWER8 llrint ifunc implementation.
3695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3696 Add POWER8 implementation.
3697 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3698 POWER8 llrint implementation.
3700 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3701 power8 implementation.
3702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3703 file: POWER8 finite ifunc implementation.
3704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3705 Add POWER8 implementation.
3706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3708 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3709 POWER8 finite implementation.
3710 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3712 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3713 power8 implementation.
3714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3715 file: POWER8 isinf ifunc implementation.
3716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3717 POWER8 implementation.
3718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3720 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3721 isinf implementation.
3722 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3724 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3725 (INIT_ARCH): Add hwcap2 initialization.
3726 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3727 power8 implementation.
3728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3729 file: POWER8 isnan ifunc implementation.
3730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3731 POWER8 implementation.
3732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3734 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3735 isnan implementation.
3736 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3738 2014-02-27 Joey Ye <joey.ye@arm.com>
3740 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3741 (_FP_NANFRAC_Q): Set to zero.
3743 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3746 * math/auto-libm-test-in: New test inputs.
3747 * math/auto-libm-test-out: Regenerate.
3748 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3751 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3753 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3755 * scripts/evaluate-test.sh: Take new argument indicating whether
3756 failure is expected.
3757 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3758 indicating whether failure is expected.
3759 * conform/Makefile (test-xfail-run-conformtest): New variable.
3760 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3762 * posix/Makefile (test-xfail-annexc): New variable.
3763 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3765 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3767 * argp/Makefile: Include Makeconfig immediately after defining
3769 * assert/Makefile: Likewise.
3770 * benchtests/Makefile: Likewise.
3771 * catgets/Makefile: Likewise.
3772 * conform/Makefile: Likewise.
3773 * crypt/Makefile: Likewise.
3774 * csu/Makefile: Likewise.
3775 (all): Remove target.
3776 * ctype/Makefile: Include Makeconfig immediately after defining
3778 * debug/Makefile: Likewise.
3779 * dirent/Makefile: Likewise.
3780 * dlfcn/Makefile: Likewise.
3781 * gmon/Makefile: Likewise.
3782 * gnulib/Makefile: Likewise.
3783 * grp/Makefile: Likewise.
3784 * gshadow/Makefile: Likewise.
3785 * hesiod/Makefile: Likewise.
3786 * hurd/Makefile: Likewise.
3787 (all): Remove target.
3788 * iconvdata/Makefile: Include Makeconfig immediately after
3790 * inet/Makefile: Likewise.
3791 * intl/Makefile: Likewise.
3792 * io/Makefile: Likewise.
3793 * libio/Makefile: Likewise.
3794 (all): Remove target.
3795 * locale/Makefile: Include Makeconfig immediately after defining
3797 * login/Makefile: Likewise.
3798 * mach/Makefile: Likewise.
3799 (all): Remove target.
3800 * malloc/Makefile: Include Makeconfig immediately after defining
3802 (all): Remove target.
3803 * manual/Makefile: Include Makeconfig immediately after defining
3805 * math/Makefile: Likewise.
3806 * misc/Makefile: Likewise.
3807 * nis/Makefile: Likewise.
3808 * nss/Makefile: Likewise.
3809 * po/Makefile: Likewise.
3810 (all): Remove target.
3811 * posix/Makefile: Include Makeconfig immediately after defining
3813 * pwd/Makefile: Likewise.
3814 * resolv/Makefile: Likewise.
3815 * resource/Makefile: Likewise.
3816 * rt/Makefile: Likewise.
3817 * setjmp/Makefile: Likewise.
3818 * shadow/Makefile: Likewise.
3819 * signal/Makefile: Likewise.
3820 * socket/Makefile: Likewise.
3821 * soft-fp/Makefile: Likewise.
3822 * stdio-common/Makefile: Likewise.
3823 * stdlib/Makefile: Likewise.
3824 * streams/Makefile: Likewise.
3825 * string/Makefile: Likewise.
3826 * sunrpc/Makefile: Likewise.
3827 (all): Remove target.
3828 * sysvipc/Makefile: Include Makeconfig immediately after defining
3830 * termios/Makefile: Likewise.
3831 * time/Makefile: Likewise.
3832 * timezone/Makefile: Likewise.
3833 (all): Remove target.
3834 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3836 * wctype/Makefile: Likewise.
3838 2014-02-26 Steve Ellcey <sellcey@mips.com>
3840 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3841 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3842 (libc_feholdexcept_setround_mips): Ditto.
3843 (libc_feholdsetround): New.
3844 (libc_feholdsetroundf): New.
3845 (libc_feholdsetroundl): New.
3846 (libc_feupdateenv_test_mips): New.
3847 (libc_feupdateenv_test): New.
3848 (libc_feupdateenv_testf): New.
3849 (libc_feupdateenv_testl): New.
3850 (libc_feresetround): New.
3851 (libc_feresetroundf): New.
3852 (libc_feresetroundl): New.
3853 (libc_fetestexcept_mips): New.
3854 (libc_fetestexcept): New.
3855 (libc_fetestexceptf): New.
3856 (libc_fetestexceptl): New.
3858 (libc_feholdexcept_setround_mips_ctx): New.
3859 (libc_feholdexcept_setround_ctx): New.
3860 (libc_feholdexcept_setroundf_ctx): New.
3861 (libc_feholdexcept_setroundl_ctx): New.
3862 (libc_fesetenv_mips_ctx): New.
3863 (libc_fesetenv_ctx): New.
3864 (libc_fesetenv_ctxf): New.
3865 (libc_fesetenv_ctxl): New.
3866 (libc_feupdateenv_mips_ctx): New.
3867 (libc_feupdateenv_ctx): New.
3868 (libc_feupdateenvf_ctx): New.
3869 (libc_feupdateenvl_ctx): New.
3870 (libc_feholdsetround_mips_ctx): New.
3871 (libc_feholdsetround_ctx): New.
3872 (libc_feholdsetroundf_ctx): New.
3873 (libc_feholdsetroundl_ctx): New.
3874 (libc_feresetround_mips_ctx): New.
3875 (libc_feresetround_ctx): New.
3876 (libc_feresetroundf_ctx): New.
3877 (libc_feresetroundl_ctx): New.
3879 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3881 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3883 * manual/ipc.texi: New file.
3884 * manual/Makefile (chapters): Add ipc.
3885 * manual/job.texi: Add "Inter-Process Communication" to next.
3886 * manual/process.texi: Add "Inter-Process Communication" to prev.
3888 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3892 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3894 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3896 * manual/arith.texi: Fix spaces after sentences.
3897 * manual/charset.texi: Likewise.
3898 * manual/errno.texi: Likewise.
3899 * manual/install.texi: Likewise.
3900 * manual/llio.texi: Likewise.
3901 * manual/locale.texi: Likewise.
3902 * manual/maint.texi: Likewise.
3903 * manual/math.texi: Likewise.
3904 * manual/memory.texi: Likewise.
3905 * manual/message.texi: Likewise.
3906 * manual/probes.texi: Likewise.
3907 * manual/resource.texi: Likewise.
3908 * manual/signal.texi: Likewise.
3909 * manual/socket.texi: Likewise.
3910 * manual/stdio.texi: Likewise.
3911 * manual/string.texi: Likewise.
3912 * manual/time.texi: Likewise.
3913 * manual/users.texi: Likewise.
3915 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3918 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3919 _DEFAULT_SOURCE is defined.
3921 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3922 Carlos O'Donell <carlos@redhat.com>
3925 * elf/dl-tls.c (_dl_count_modids): New function.
3926 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3927 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3928 audit library and increment generation counter.
3929 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3930 * elf/tst-audit9.c: New file.
3931 * elf/tst-auditmod9a.c: New file.
3932 * elf/tst-auditmod9b.c: New file.
3933 * elf/Makefile: Add rules to build and run tst-audit9.
3935 2014-02-25 Florian Weimer <fweimer@redhat.com>
3938 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3940 2014-02-25 Will Newton <will.newton@linaro.org>
3942 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3943 (__longjmp): Restore sp and lr before restoring callee
3944 saved registers. Add longjmp and longjmp_target
3945 SystemTap probe point.
3946 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3947 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3948 Define to zero to match jmpbuf layout.
3949 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3950 (__sigsetjmp): Save sp and lr before saving callee
3951 saved registers. Add setjmp SystemTap probe point.
3953 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3955 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3957 2014-02-24 Andreas Schwab <schwab@suse.de>
3960 * elf/pldd.c (wait_for_ptrace_stop): New function.
3961 (main): Call it after attaching.
3963 2014-02-22 Roland McGrath <roland@hack.frob.com>
3965 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3966 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3967 Versions files is now verboten.
3968 * hurd/Versions (libc: GLIBC_2.0):
3969 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3970 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3971 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3972 * mach/Versions: Likewise.
3974 * csu/Versions: Remove unused %include.
3975 * resolv/Versions: Likewise.
3977 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3979 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3980 ($(objpfx)check-local-headers.out): Likewise.
3981 ($(objpfx)begin-end-check.out): Likewise.
3982 * Makerules (check-abi-%.out): Likewise.
3983 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3984 ($(objpfx)test2.cat): Likewise.
3985 ($(objpfx)de/libc.cat): Likewise.
3986 ($(objpfx)test-gencat.out): Likewise.
3987 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3988 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3989 ($(objpfx)noload-mem): Likewise.
3990 ($(objpfx)tst-pathopt.out): Likewise.
3991 ($(objpfx)tst-rtld-load-self.out): Likewise.
3992 ($(objpfx)tst-array1-cmp.out): Likewise.
3993 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3994 ($(objpfx)tst-array2-cmp.out): Likewise.
3995 ($(objpfx)tst-array3-cmp.out): Likewise.
3996 ($(objpfx)tst-array4-cmp.out): Likewise.
3997 ($(objpfx)tst-array5-cmp.out): Likewise.
3998 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3999 ($(objpfx)check-textrel.out): Likewise.
4000 ($(objpfx)check-execstack.out): Likewise.
4001 ($(objpfx)check-localplt.out): Likewise.
4002 ($(objpfx)order2-cmp.out): Likewise.
4003 ($(objpfx)tst-leaks1-mem): Likewise.
4004 ($(objpfx)tst-leaks1-static-mem): Likewise.
4005 ($(objpfx)tst-initorder-cmp.out): Likewise.
4006 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4007 ($(objpfx)tst-unused-dep.out): Likewise.
4008 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4009 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4010 * iconv/Makefile (test-iconvconfig): Likewise.
4011 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4012 ($(objpfx)iconv-test.out): Likewise.
4013 ($(objpfx)tst-tables.out): Likewise.
4014 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4015 ($(objpfx)tst-gettext.out): Likewise.
4016 ($(objpfx)tst-translit.out): Likewise.
4017 ($(objpfx)tst-gettext2.out): Likewise.
4018 ($(objpfx)tst-gettext4.out): Likewise.
4019 ($(objpfx)tst-gettext6.out): Likewise.
4020 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4021 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4022 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4023 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4024 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4025 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4026 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4027 ($(objpfx)wordexp-tst.out): Likewise.
4028 ($(objpfx)annexc.out): Likewise.
4029 ($(objpfx)tst-fnmatch-mem): Likewise.
4030 ($(objpfx)bug-regex2-mem): Likewise.
4031 ($(objpfx)bug-regex14-mem): Likewise.
4032 ($(objpfx)bug-regex21-mem): Likewise.
4033 ($(objpfx)bug-regex31-mem): Likewise.
4034 ($(objpfx)tst-vfork3-mem): Likewise.
4035 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4036 ($(objpfx)tst-pcre-mem): Likewise.
4037 ($(objpfx)tst-boost-mem): Likewise.
4038 ($(objpfx)tst-getconf.out): Likewise.
4039 ($(objpfx)bug-ga2-mem): Likewise.
4040 ($(objpfx)bug-glob2-mem): Likewise.
4041 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4042 ($(objpfx)mtrace-tst-leaks2): Likewise.
4043 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4044 ($(objpfx)tst-printf.out): Likewise.
4045 ($(objpfx)tst-setvbuf1.out): Likewise.
4046 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4047 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4048 ($(objpfx)tst-fmtmsg.out): Likewise.
4049 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4050 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4052 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4053 * bits/sigaction.h [__USE_MISC]: Likewise.
4054 * bits/waitstatus.h: Update #endif comments.
4055 * ctype/ctype.h: Likewise.
4056 * dirent/dirent.h: Likewise.
4057 [__USE_MISC]: Remove redundant conditionals.
4058 * grp/grp.h: Update #endif comments.
4059 [__USE_GNU]: Remove redundant conditionals.
4060 [__USE_MISC]: Likewise.
4061 * inet/netinet/in.h [__USE_GNU]: Likewise.
4062 * io/sys/stat.h [__USE_MISC]: Likewise.
4063 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4064 * libio/bits/stdio.h: Update #endif comments.
4065 [__USE_MISC]: Remove redundant conditionals.
4066 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4067 * libio/stdio.h: Update #endif comments.
4068 [__USE_MISC]: Remove redundant conditionals.
4069 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4070 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4071 * math/math.h: Update #else and #endif comments.
4072 [__USE_MISC]: Remove redundant conditionals.
4073 * misc/sys/uio.h: Update #endif comments.
4074 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4075 * posix/glob.h [__USE_MISC]: Likewise.
4076 * posix/sys/types.h: Update #endif comments.
4077 [__USE_MISC]: Remove redundant conditionals.
4078 * posix/sys/wait.h: Update #endif comments.
4079 [__USE_MISC]: Remove redundant conditionals.
4080 * posix/unistd.h: Update #endif comments.
4081 [__USE_MISC]: Remove redundant conditionals.
4082 * pwd/pwd.h [__USE_GNU]: Likewise.
4083 [__USE_MISC]: Likewise.
4084 * resolv/netdb.h [__USE_GNU]: Likewise.
4085 * signal/signal.h: Update #endif comments.
4086 [__USE_MISC]: Remove redundant conditionals.
4087 * stdlib/stdlib.h: Update #else and #endif comments.
4088 [__USE_MISC]: Remove redundant conditionals.
4089 [__USE_GNU]: Likewise.
4090 * string/bits/string2.h [__USE_MISC]: Likewise.
4091 * string/string.h: Update #endif comments.
4092 [__USE_MISC]: Remove redundant conditionals.
4093 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4095 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4096 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4097 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4099 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4103 [__USE_MISC]: Remove redundant conditionals.
4104 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4105 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4106 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4107 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4108 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4110 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4111 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4113 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4114 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4116 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4118 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4119 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4121 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4123 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4124 * sysdeps/x86/bits/string.h: Update #endif comments.
4125 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4127 * time/sys/time.h: Update #endif comments.
4128 * time/time.h: Likewise.
4129 [__USE_MISC]: Remove redundant conditionals.
4131 2014-02-21 Yury Gribov <y.gribov@samsung.com>
4134 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4136 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4138 * Versions.def (librt): Add GLIBC_2.17.
4140 2014-02-21 Adam Conrad <adconrad@0c3.net>
4142 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4143 synonym for _SYS_AUXV_H to allow direct inclusion.
4144 * sysdeps/sparc/bits/hwcap.h: Likewise.
4145 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4146 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4147 * sysdeps/sparc/sysdep.h: Likewise.
4149 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4151 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4153 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4155 * benchtests/bench-strrchr.c: Print length instead of position.
4157 2014-02-20 Joseph Myers <joseph@codesourcery.com>
4160 * sysdeps/unix/sysv/linux/kernel-features.h
4161 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4162 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4163 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4164 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4166 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4167 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4168 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4169 (__ASSUME_SENDMMSG): Define instead of using previous
4170 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4171 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4172 (__ASSUME_SENDMMSG_SYSCALL): Define.
4173 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4174 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4176 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4177 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4179 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4180 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4182 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4183 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4184 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4185 [__ASSUME_SENDMMSG]: Change conditionals to
4186 [__ASSUME_SENDMMSG_SOCKETCALL].
4187 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4188 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4190 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4191 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4193 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4194 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4195 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4196 [!__ASSUME_SENDMMSG]: Change conditional to
4197 [!__ASSUME_SENDMMSG_SOCKETCALL].
4198 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4199 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4203 * sysdeps/unix/sysv/linux/kernel-features.h
4204 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4205 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4206 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4207 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4208 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4209 [__i386__ || __sparc__]
4210 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4211 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4212 (__ASSUME_RECVMMSG): Define instead of using previous
4213 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4214 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4215 (__ASSUME_RECVMMSG_SYSCALL): Define.
4216 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4217 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4219 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4220 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4222 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4223 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4225 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4226 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4227 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4228 [__ASSUME_RECVMMSG]: Change condition to
4229 [__ASSUME_RECVMMSG_SOCKETCALL].
4230 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4231 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4233 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4234 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4235 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4237 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4238 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4239 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4240 [!__ASSUME_RECVMMSG]: Change condition to
4241 [!__ASSUME_RECVMMSG_SOCKETCALL].
4242 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4243 (__ASSUME_RECVMMSG_SYSCALL): Define.
4246 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4247 __powerpc__ || __s390__ || __sh__ || __sparc__]
4248 (__ASSUME_SOCKETCALL): Define.
4249 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4250 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4251 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4252 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4253 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4254 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4255 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4256 (__ASSUME_ACCEPT4): Define instead of using previous
4257 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4258 __powerpc__ || __sparc__ || __s390__)] condition.
4259 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4260 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4261 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4262 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4263 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4264 [!__ASSUME_ACCEPT4]: Change condition to
4265 [!__ASSUME_ACCEPT4_SOCKETCALL].
4266 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4267 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4268 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4269 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4270 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4271 __ASSUME_ACCEPT4_SYSCALL.
4272 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4273 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4274 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4275 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4276 __ASSUME_ACCEPT4_SYSCALL.
4277 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4278 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4279 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4280 [__ASSUME_ACCEPT4]: Change condition to
4281 [__ASSUME_ACCEPT4_SOCKETCALL].
4282 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4283 (__ASSUME_SOCKETCALL): Define.
4284 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4285 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4286 (__ASSUME_SOCKETCALL): Define.
4287 (__ASSUME_ACCEPT4): Remove.
4288 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4290 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4291 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4293 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4294 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4296 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4298 (HWCAP_ARM_LPAE): Likewise.
4299 (HWCAP_ARM_EVTSTRM): Likewise.
4300 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4301 Add vpfd32, lpae and evtstrm.
4302 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4305 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4307 * math/auto-libm-test-in: Add tests of clog10.
4308 * math/auto-libm-test-out: Regenerated.
4309 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4310 * sysdeps/i386/fpu/libm-test-ulps: Update.
4311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4313 2014-02-18 Andreas Schwab <schwab@suse.de>
4316 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4317 Store non-zero if the second buffer was newly allocated.
4318 (send_dg): Likewise.
4319 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4320 to send_vc and send_dg.
4321 (res_nsend): Pass NULL for ansp2_malloced.
4322 * resolv/res_query.c (__libc_res_nquery): Add parameter
4323 answerp2_malloced and pass it down to __libc_res_nsend.
4324 (res_nquery): Pass additional NULL to __libc_res_nquery.
4325 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4326 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4327 second answer buffer if answerp2_malloced was set.
4328 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4329 (__libc_res_nquerydomain): Add parameter
4330 answerp2_malloced and pass it down to __libc_res_nquery.
4331 (res_nquerydomain): Pass additional NULL to
4332 __libc_res_nquerydomain.
4333 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4334 additional NULL to __libc_res_nsend and __libc_res_nquery.
4335 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4336 additional NULL to __libc_res_nsearch.
4337 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4338 parameter of __libc_res_nsearch to check for separately allocated
4340 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4342 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4343 additional NULL to __libc_res_nquery.
4344 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4346 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4347 * include/resolv.h: Update prototypes of __libc_res_nquery,
4348 __libc_res_nsearch, __libc_res_nsend.
4350 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4352 * math/auto-libm-test-in: Add tests of fma.
4353 * math/auto-libm-test-out: Regenerated.
4354 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4355 (fma_towardzero_test_data): Likewise.
4356 (fma_downward_test_data): Likewise.
4357 (fma_upward_test_data): Likewise.
4358 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4360 (rounding_modes): Add values for new field.
4361 (func_calc_method): Add value mpfr_fff_f.
4362 (func_calc_desc): Add mpfr_fff_f union field.
4363 (test_function): Add field exact_args.
4364 (FUNC): Add macro argument EXACT_ARGS.
4365 (FUNC_mpfr_f_f): Update call to FUNC.
4366 (FUNC_mpfr_f_f): Likewise.
4367 (FUNC_mpfr_ff_f): Likewise.
4368 (FUNC_mpfr_if_f): Likewise.
4369 (FUNC_mpc_c_f): Likewise.
4370 (FUNC_mpc_c_c): Likewise.
4371 (test_functions): Add fma. Update calls to FUNC.
4372 (handle_input_arg): Add argument exact_args.
4373 (add_test): Update call to handle_input_arg.
4374 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4375 (output_for_one_input_case): Update call to calc_generic_results.
4376 Recalculate exact zero results in each rounding mode.
4378 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4379 non-negative before setting low bit.
4380 * math/auto-libm-test-in: Mark one asin test possibly having
4382 * math/auto-libm-test-out: Regenerated.
4383 * sysdeps/i386/fpu/libm-test-ulps: Update.
4384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4386 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4388 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4389 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4390 ports/sysdeps/unix/sysv/linux/microblaze.
4391 * README: Add missing listing for microblaze*-*-linux-gnu.
4393 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4395 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4396 * sysdeps/unix/sysv/linux/ia64: Move directory from
4397 ports/sysdeps/unix/sysv/linux/ia64.
4398 * README: Update listing for ia64-*-linux-gnu.
4400 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4401 Joseph Myers <joseph@codesourcery.com>
4403 * Makeconfig (test-name): New variable.
4404 (evaluate-test): Likewise.
4405 * Makerules (do-test-clean): Remove .test-result files.
4406 (common-mostlyclean): Likewise.
4407 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4408 * scripts/evaluate-test.sh: New file.
4410 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4412 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4413 separate $(objpfx)tst-fopenloc-cmp.out and
4414 $(objpfx)tst-fopenloc-mem.out targets.
4415 (tests): Update dependencies.
4416 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4417 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4418 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4419 (tst-rxspencer-no-utf8-ARGS): New variable.
4420 (tst-rxspencer-no-utf8-ENV): Likewise.
4421 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4422 instead of $(objpfx)tst-rxspencer-mem.
4423 ($(objpfx)tst-rxspencer-mem): Change target to
4424 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4425 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4426 * posix/tst-rxspencer-no-utf8.c: New file.
4428 * elf/Makefile ($(objpfx)order.out): Remove rule.
4429 [$(run-built-tests) = yes] (tests): Depend on
4430 $(objpfx)order-cmp.out.
4431 ($(objpfx)order-cmp.out): New rule.
4432 [$(run-built-tests) = yes] (tests): Depend on
4433 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4434 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4435 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4436 $(objpfx)tst-array5-static-cmp.out.
4437 ($(objpfx)tst-array1.out): Remove rule.
4438 ($(objpfx)tst-array1-cmp.out): New rule.
4439 ($(objpfx)tst-array1-static.out): Remove rule.
4440 ($(objpfx)tst-array1-static-cmp.out): New rule.
4441 ($(objpfx)tst-array2.out): Remove rule.
4442 ($(objpfx)tst-array2-cmp.out): New rule.
4443 ($(objpfx)tst-array3.out): Remove rule.
4444 ($(objpfx)tst-array3-cmp.out): New rule.
4445 ($(objpfx)tst-array4.out): Remove rule.
4446 ($(objpfx)tst-array4-cmp.out): New rule.
4447 ($(objpfx)tst-array5.out): Remove rule.
4448 ($(objpfx)tst-array5-cmp.out): New rule.
4449 ($(objpfx)tst-array5-static.out): Remove rule.
4450 ($(objpfx)tst-array5-static-cmp.out): New rule.
4451 [$(run-built-tests) = yes] (tests): Depend on
4452 $(objpfx)order2-cmp.out.
4453 ($(objpfx)order2.out): Remove rule.
4454 ($(objpfx)order2-cmp.out): New rule.
4455 ($(objpfx)tst-initorder.out): Remove rule.
4456 [$(run-built-tests) = yes] (tests): Depend on
4457 $(objpfx)tst-initorder-cmp.out.
4458 ($(objpfx)tst-initorder-cmp.out): New rule.
4459 ($(objpfx)tst-initorder2.out): Remove rule.
4460 [$(run-built-tests) = yes] (tests): Depend on
4461 $(objpfx)tst-initorder2-cmp.out.
4462 ($(objpfx)tst-initorder2-cmp.out): New rule.
4463 [$(run-built-tests) = yes] (tests): Depend on
4464 $(objpfx)tst-unused-dep-cmp.out.
4465 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4466 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4467 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4468 on $(objpfx)tst-setvbuf1-cmp.out.
4469 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4470 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4471 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4472 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4473 ($(objpfx)tst-svc.out): Remove rule.
4474 ($(objpfx)tst-svc-cmp.out): New rule.
4476 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4478 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4479 * ctype/ctype.h [__USE_MISC]: Likewise.
4480 * dirent/dirent.h [__USE_MISC]: Likewise.
4481 * grp/grp.h [__USE_MISC]: Likewise.
4482 * io/fcntl.h [__USE_MISC]: Likewise.
4483 * io/sys/stat.h [__USE_MISC]: Likewise.
4484 * libio/stdio.h [__USE_MISC]: Likewise.
4485 * posix/unistd.h [__USE_MISC]: Likewise.
4486 * pwd/pwd.h [__USE_MISC]: Likewise.
4487 * stdlib.h [__USE_MISC]: Likewise.
4488 * string/bits/string2.h [__USE_MISC]: Likewise.
4489 * string/string.h [__USE_MISC]: Likewise.
4490 * time/time.h [__USE_MISC]: Likewise.
4492 2014-02-13 Andreas Schwab <schwab@suse.de>
4495 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4496 second answer buffer if it was separately allocated.
4498 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4500 * sysdeps/mips/math-tests.h: Include <features.h>.
4501 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4502 (ROUNDING_TESTS_long_double): Do not define.
4503 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4504 (EXCEPTION_TESTS_long_double): Likewise.
4505 * sysdeps/mips/mips64/libm-test-ulps: Update.
4507 * include/features.h (__USE_BSD): Remove macro definitions.
4508 (__USE_SVID): Likewise.
4509 (_BSD_SOURCE): Likewise.
4510 (_SVID_SOURCE): Likewise.
4511 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4512 from definition of _DEFAULT_SOURCE.
4513 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4515 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4516 * bits/mman.h [__USE_BSD]: Likewise.
4517 * bits/termios.h [__USE_BSD]: Likewise.
4518 * bits/waitstatus.h [__USE_BSD]: Likewise.
4519 * ctype/ctype.h [__USE_SVID]: Likewise.
4520 * dirent/dirent.h [__USE_BSD]: Likewise.
4521 * grp/grp.h [__USE_SVID]: Likewise.
4522 [__USE_BSD]: Likewise.
4523 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4524 * io/fcntl.h [__USE_BSD]: Likewise.
4525 * io/ftw.h [__USE_BSD]: Likewise.
4526 * io/sys/stat.h [__USE_BSD]: Likewise.
4527 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4528 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4529 * libio/stdio.h [__USE_SVID]: Likewise.
4530 [__USE_BSD]: Likewise.
4531 * math/math.h [__USE_SVID]: Likewise.
4532 [__USE_BSD]: Likewise.
4533 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4534 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4535 * misc/search.h [__USE_SVID]: Likewise.
4536 * misc/sys/mman.h [__USE_BSD]: Likewise.
4537 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4538 * misc/sys/uio.h [__USE_BSD]: Likewise.
4539 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4540 * posix/glob.h [__USE_BSD]: Likewise.
4541 * posix/regex.h [__USE_BSD]: Likewise.
4542 * posix/sys/types.h [__USE_BSD]: Likewise.
4543 [__USE_SVID]: Likewise.
4544 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4545 * posix/sys/wait.h [__USE_BSD]: Likewise.
4546 [__USE_SVID]: Likewise.
4547 * posix/unistd.h [__USE_BSD]: Likewise.
4548 [__USE_SVID]: Likewise.
4549 * pwd/pwd.h [__USE_SVID]: Likewise.
4550 * resolv/netdb.h [__USE_BSD]: Likewise.
4551 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4552 * signal/signal.h [__USE_BSD]: Likewise.
4553 [__USE_SVID]: Likewise.
4554 * socket/sys/socket.h [__USE_BSD]: Likewise.
4555 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4556 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4557 [__USE_SVID]: Likewise.
4558 * string/bits/string2.h [__USE_BSD]: Likewise.
4559 [__USE_SVID]: Likewise.
4560 * string/bits/string3.h [__USE_BSD]: Likewise.
4561 * string/endian.h [__USE_BSD]: Likewise.
4562 * string/string.h [__USE_SVID]: Likewise.
4563 [__USE_BSD]: Likewise.
4564 * string/strings.h [__USE_BSD]: Likewise.
4565 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4566 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4567 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4568 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4569 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4570 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4572 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4574 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4575 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4577 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4578 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4580 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4582 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4583 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4584 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4586 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4588 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4589 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4590 * termios/termios.h [__USE_BSD]: Likewise.
4591 * time/sys/time.h [__USE_BSD]: Likewise.
4592 * time/time.h [__USE_BSD]: Likewise.
4593 [__USE_SVID]: Likewise.
4595 * Makefile (subdir_targets): Remove subdir_lint.out.
4597 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4598 (do-tst-printf): Likewise.
4599 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4600 $(objpfx)tst-printf.out.
4602 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4604 * Makerules (check-abi-%): Change target to
4605 $(objpfx)check-abi-%.out.
4606 (check-abi target): Update dependencies.
4607 (check-abi-pattern variable): Redirect output of diff to $@.
4608 (check-abi variable): Likewise.
4609 * elf/Makefile (check-abi): Update dependencies.
4611 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4613 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4614 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4616 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4617 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4618 value has largest subnormal exponent.
4619 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4620 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4621 * sysdeps/aarch64/soft-fp/sfp-machine.h
4622 (_FP_TININESS_AFTER_ROUNDING): New macro.
4623 * sysdeps/alpha/soft-fp/sfp-machine.h
4624 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4625 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4627 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4628 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4629 * sysdeps/mips/soft-fp/sfp-machine.h
4630 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4631 * sysdeps/powerpc/soft-fp/sfp-machine.h
4632 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4633 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4635 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4636 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4637 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4638 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4639 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4642 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4645 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4648 2014-02-12 Richard Henderson <rth@redhat.com>
4650 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4651 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4652 * sysdeps/unix/sysv/linux/alpha: Move directory from
4653 ports/sysdeps/unix/sysv/linux/alpha.
4654 * README: Update listing for alpha-*-linux-gnu.
4656 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4658 * include/features.h: Update comment documenting feature test
4660 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4662 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4663 (_SVID_SOURCE): Likewise.
4664 (_DEFAULT_SOURCE): Update description of default features.
4665 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4667 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4668 (S_ISVTX): Likewise.
4669 * manual/math.texi (Mathematical Constants): Likewise.
4670 * manual/signal.texi (Interrupted Primitives): Likewise.
4671 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4672 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4673 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4674 Don't refer to _SVID_SOURCE in warning text.
4676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4678 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4680 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4681 * sysdeps/mips/dl-lookup.c: Remove.
4682 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4684 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4687 * math/auto-libm-test-in: Add testcase for expl.
4688 * math/auto-libm-test-out: Regenerate.
4689 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4690 calculation of unsafe.
4691 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4693 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4695 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4696 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4697 ports/sysdeps/unix/sysv/linux/aarch64.
4698 * README: Update listing for aarch64*-*-linux-gnu.
4700 2014-02-11 Will Newton <will.newton@linaro.org>
4702 * manual/probes.texi (Mathematical Function Probes): Use
4703 "triggered" instead of "hit".
4705 * manual/probes.texi (Internal Probes): Add documentation
4706 of setjmp, longjmp and longjmp_target probes.
4708 * include/stap-probe.h: Add comment about probe argument
4711 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4712 definition. (tr_where, tr_freehook, tr_mallochook,
4713 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4715 2014-02-11 David S. Miller <davem@davemloft.net>
4717 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4718 processing int_tests.
4720 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4722 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4723 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4724 * sysdeps/unix/sysv/linux/mips: Move directory from
4725 ports/sysdeps/unix/sysv/linux/mips.
4726 * README: Update listing for mips-*-linux-gnu and
4729 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4731 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4732 * sysdeps/unix/sysv/linux/m68k: Move directory from
4733 ports/sysdeps/unix/sysv/linux/m68k.
4734 * README: Update listing for m68k-*-linux-gnu.
4736 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4738 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4739 * sysdeps/unix/sysv/linux/generic: Move directory from
4740 ports/sysdeps/unix/sysv/linux/generic.
4741 * sysdeps/unix/sysv/linux/tile: Move directory from
4742 ports/sysdeps/unix/sysv/linux/tile.
4743 * README: Update listing for tile*-*-linux-gnu.
4745 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4747 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4749 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4750 * catgets/open_catalog.c (__open_catalog): Likewise.
4751 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4752 * debug/confstr_chk.c: Likewise.
4753 * debug/fread_chk.c (__fread_chk): Likewise.
4754 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4755 * debug/getgroups_chk.c: Likewise.
4756 * debug/mbsnrtowcs_chk.c: Likewise.
4757 * debug/mbsrtowcs_chk.c: Likewise.
4758 * debug/mbstowcs_chk.c: Likewise.
4759 * debug/memcpy_chk.c: Likewise.
4760 * debug/memmove_chk.c: Likewise.
4761 * debug/mempcpy_chk.c: Likewise.
4762 * debug/memset_chk.c: Likewise.
4763 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4764 * debug/strcat_chk.c (__strcat_chk): Likewise.
4765 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4766 * debug/strncat_chk.c (__strncat_chk): Likewise.
4767 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4768 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4769 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4770 * debug/wcpncpy_chk.c: Likewise.
4771 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4772 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4773 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4774 * debug/wcsncpy_chk.c: Likewise.
4775 * debug/wcsnrtombs_chk.c: Likewise.
4776 * debug/wcsrtombs_chk.c: Likewise.
4777 * debug/wcstombs_chk.c: Likewise.
4778 * debug/wmemcpy_chk.c: Likewise.
4779 * debug/wmemmove_chk.c: Likewise.
4780 * debug/wmempcpy_chk.c: Likewise.
4781 * debug/wmemset_chk.c: Likewise.
4782 * dirent/scandirat.c (SCANDIRAT): Likewise.
4783 * dlfcn/dladdr1.c (dladdr1): Likewise.
4784 * dlfcn/dladdr.c (dladdr): Likewise.
4785 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4786 * dlfcn/dlerror.c (__dlerror): Likewise.
4787 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4788 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4789 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4790 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4791 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4792 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4793 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4794 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4796 * elf/dl-conflict.c: Likewise.
4797 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4798 * elf/dl-dst.h: Likewise.
4799 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4800 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4801 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4802 * elf/dl-init.c (call_init, _dl_init): Likewise.
4803 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4804 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4805 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4807 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4809 * elf/dl-minimal.c (__libc_memalign): Likewise.
4810 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4811 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4812 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4813 * elf/dl-sym.c (do_sym): Likewise.
4814 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4815 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4816 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4817 * elf/dl-writev.h (_dl_writev): Likewise.
4818 * elf/ldconfig.c (search_dir): Likewise.
4819 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4820 (dl_main): Likewise.
4821 * elf/setup-vdso.h (setup_vdso): Likewise.
4822 * grp/compat-initgroups.c (compat_call): Likewise.
4823 * grp/fgetgrent.c (fgetgrent): Likewise.
4824 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4825 * grp/putgrent.c (putgrent): Likewise.
4826 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4828 * hurd/hurdinit.c: Likewise.
4829 * iconvdata/8bit-gap.c (struct): Likewise.
4830 * iconvdata/ansi_x3.110.c : Likewise.
4831 * iconvdata/big5.c : Likewise.
4832 * iconvdata/big5hkscs.c : Likewise.
4833 * iconvdata/cp1255.c: Likewise.
4834 * iconvdata/cp1258.c : Likewise.
4835 * iconvdata/cp932.c : Likewise.
4836 * iconvdata/euc-cn.c: Likewise.
4837 * iconvdata/euc-jisx0213.c : Likewise.
4838 * iconvdata/euc-jp.c: Likewise.
4839 * iconvdata/euc-jp-ms.c : Likewise.
4840 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4841 * iconvdata/gb18030.c : Likewise.
4842 * iconvdata/gbbig5.c (const): Likewise.
4843 * iconvdata/gbgbk.c: Likewise.
4844 * iconvdata/gbk.c : Likewise.
4845 * iconvdata/ibm1364.c : Likewise.
4846 * iconvdata/ibm930.c : Likewise.
4847 * iconvdata/ibm932.c: Likewise.
4848 * iconvdata/ibm933.c : Likewise.
4849 * iconvdata/ibm935.c : Likewise.
4850 * iconvdata/ibm937.c : Likewise.
4851 * iconvdata/ibm939.c : Likewise.
4852 * iconvdata/ibm943.c: Likewise.
4853 * iconvdata/iso_11548-1.c: Likewise.
4854 * iconvdata/iso-2022-cn.c : Likewise.
4855 * iconvdata/iso-2022-cn-ext.c : Likewise.
4856 * iconvdata/iso-2022-jp-3.c: Likewise.
4857 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4858 * iconvdata/iso-2022-kr.c : Likewise.
4859 * iconvdata/iso646.c (gconv_end): Likewise.
4860 * iconvdata/iso_6937-2.c : Likewise.
4861 * iconvdata/iso_6937.c : Likewise.
4862 * iconvdata/iso8859-1.c: Likewise.
4863 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4864 * iconvdata/shift_jisx0213.c : Likewise.
4865 * iconvdata/sjis.c : Likewise.
4866 * iconvdata/t.61.c : Likewise.
4867 * iconvdata/tcvn5712-1.c : Likewise.
4868 * iconvdata/tscii.c: Likewise.
4869 * iconvdata/uhc.c : Likewise.
4870 * iconvdata/unicode.c (gconv_end): Likewise.
4871 * iconvdata/utf-16.c (gconv_end): Likewise.
4872 * iconvdata/utf-32.c (gconv_end): Likewise.
4873 * iconvdata/utf-7.c (base64): Likewise.
4874 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4875 * iconv/gconv_close.c (__gconv_close): Likewise.
4876 * iconv/gconv_open.c (__gconv_open): Likewise.
4877 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4878 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4879 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4880 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4881 (ucs4le_internal_loop_single): Likewise.
4882 * iconv/iconv.c (iconv): Likewise.
4883 * iconv/iconv_close.c: Likewise.
4884 * iconv/loop.c (SINGLE): Likewise.
4885 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4886 * include/atomic.h: Likewise.
4887 * inet/inet6_option.c (option_alloc): Likewise.
4888 * intl/bindtextdom.c (set_binding_values): Likewise.
4889 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4890 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4891 * intl/localealias.c (read_alias_file): Likewise.
4892 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4893 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4894 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4895 * libio/fmemopen.c (fmemopen): Likewise.
4896 * libio/iofgets.c (_IO_fgets): Likewise.
4897 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4898 * libio/iofgetws.c (fgetws): Likewise.
4899 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4900 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4901 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4902 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4903 * locale/findlocale.c (_nl_find_locale): Likewise.
4904 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4905 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4907 * locale/setlocale.c (setlocale): Likewise.
4908 * login/programs/pt_chown.c (main): Likewise.
4909 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4910 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4911 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4912 (mmap, mmap64, mremap, munmap): Likewise.
4913 * math/e_exp2l.c: Likewise.
4914 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4915 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4916 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4917 * math/s_catan.c (__catan): Likewise.
4918 * math/s_catanf.c (__catanf): Likewise.
4919 * math/s_catanh.c (__catanh): Likewise.
4920 * math/s_catanhf.c (__catanhf): Likewise.
4921 * math/s_catanhl.c (__catanhl): Likewise.
4922 * math/s_catanl.c (__catanl): Likewise.
4923 * math/s_ccosh.c (__ccosh): Likewise.
4924 * math/s_ccoshf.c (__ccoshf): Likewise.
4925 * math/s_ccoshl.c (__ccoshl): Likewise.
4926 * math/s_cexp.c (__cexp): Likewise.
4927 * math/s_cexpf.c (__cexpf): Likewise.
4928 * math/s_cexpl.c (__cexpl): Likewise.
4929 * math/s_clog10.c (__clog10): Likewise.
4930 * math/s_clog10f.c (__clog10f): Likewise.
4931 * math/s_clog10l.c (__clog10l): Likewise.
4932 * math/s_clog.c (__clog): Likewise.
4933 * math/s_clogf.c (__clogf): Likewise.
4934 * math/s_clogl.c (__clogl): Likewise.
4935 * math/s_csin.c (__csin): Likewise.
4936 * math/s_csinf.c (__csinf): Likewise.
4937 * math/s_csinh.c (__csinh): Likewise.
4938 * math/s_csinhf.c (__csinhf): Likewise.
4939 * math/s_csinhl.c (__csinhl): Likewise.
4940 * math/s_csinl.c (__csinl): Likewise.
4941 * math/s_csqrt.c (__csqrt): Likewise.
4942 * math/s_csqrtf.c (__csqrtf): Likewise.
4943 * math/s_csqrtl.c (__csqrtl): Likewise.
4944 * math/s_ctan.c (__ctan): Likewise.
4945 * math/s_ctanf.c (__ctanf): Likewise.
4946 * math/s_ctanh.c (__ctanh): Likewise.
4947 * math/s_ctanhf.c (__ctanhf): Likewise.
4948 * math/s_ctanhl.c (__ctanhl): Likewise.
4949 * math/s_ctanl.c (__ctanl): Likewise.
4950 * math/w_pow.c: Likewise.
4951 * math/w_powf.c: Likewise.
4952 * math/w_powl.c: Likewise.
4953 * math/w_scalb.c (sysv_scalb): Likewise.
4954 * math/w_scalbf.c (sysv_scalbf): Likewise.
4955 * math/w_scalbl.c (sysv_scalbl): Likewise.
4956 * misc/error.c (error_tail): Likewise.
4957 * misc/pselect.c (__pselect): Likewise.
4958 * nis/nis_callback.c (__nis_create_callback): Likewise.
4959 * nis/nis_call.c (__nisfind_server): Likewise.
4960 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4961 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4962 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4963 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4964 * nis/nis_lookup.c (nis_lookup): Likewise.
4965 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4966 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4967 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4968 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4969 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4970 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4971 * nis/nss_compat/compat-initgroups.c (add_group)
4972 (internal_getgrent_r): Likewise.
4973 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4974 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4975 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4976 (internal_getspnam_r): Likewise.
4977 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4978 (_nss_nis_getaliasbyname_r): Likewise.
4979 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4980 (_nss_nis_getntohost_r): Likewise.
4981 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4982 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4983 (_nss_nis_getgrgid_r): Likewise.
4984 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4985 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4986 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4987 (_nss_nis_gethostbyname4_r): Likewise.
4988 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4989 (initgroups_netid): Likewise.
4990 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4991 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4992 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4993 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4994 (_nss_nis_getprotobynumber_r): Likewise.
4995 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4996 (_nss_nis_getsecretkey): Likewise.
4997 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4998 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4999 (_nss_nis_getpwuid_r): Likewise.
5000 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5001 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5002 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5003 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5004 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5005 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5006 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5008 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5009 (_nss_nisplus_getntohost_r): Likewise.
5010 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5011 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5012 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5013 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5015 * nis/nss_nisplus/nisplus-initgroups.c
5016 (_nss_nisplus_initgroups_dyn): Likewise.
5017 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5018 (_nss_nisplus_getnetbyaddr_r): Likewise.
5019 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5020 (_nss_nisplus_getprotobynumber_r): Likewise.
5021 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5022 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5023 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5025 * nis/nss_nisplus/nisplus-service.c
5026 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5027 (_nss_nisplus_getservbyport_r): Likewise.
5028 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5029 (_nss_nisplus_getspnam_r): Likewise.
5030 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5032 * nscd/aicache.c (addhstaiX): Likewise.
5033 * nscd/cache.c (cache_search, prune_cache): Likewise.
5034 * nscd/connections.c (register_traced_file, send_ro_fd)
5035 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5036 (main_loop_epoll): Likewise.
5037 * nscd/grpcache.c (addgrbyX): Likewise.
5038 * nscd/hstcache.c (addhstbyX): Likewise.
5039 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5040 * nscd/mem.c (gc, mempool_alloc): Likewise.
5041 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5042 (addinnetgrX): Likewise.
5043 * nscd/nscd-client.h (__nscd_acquire_maplock)
5044 (__nscd_drop_map_ref): Likewise.
5045 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5046 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5047 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5049 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5050 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5051 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5052 (__nscd_get_map_ref): Likewise.
5053 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5054 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5056 * nscd/pwdcache.c (addpwbyX): Likewise.
5057 * nscd/selinux.c (preserve_capabilities): Likewise.
5058 * nscd/servicescache.c (addservbyX): Likewise.
5059 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5060 * posix/fnmatch.c (fnmatch): Likewise.
5061 * posix/getopt.c (_getopt_internal_r): Likewise.
5062 * posix/glob.c (glob, glob_in_dir): Likewise.
5063 * posix/wordexp.c (exec_comm_child): Likewise.
5064 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5065 (getanswer_r, gaih_getanswer_slice): Likewise.
5066 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5067 * resolv/res_init.c: Likewise.
5068 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5069 * resolv/res_query.c (__libc_res_nquery): Likewise.
5070 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5072 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5073 * stdio-common/perror.c (perror): Likewise.
5074 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5075 * stdio-common/tmpnam.c (tmpnam): Likewise.
5076 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5077 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5078 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5080 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5081 * stdlib/putenv.c (putenv): Likewise.
5082 * stdlib/setenv.c (__add_to_environ): Likewise.
5083 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5084 * stdlib/strtol_l.c (INTERNAL): Likewise.
5085 * string/memmem.c (memmem): Likewise.
5086 * string/strerror.c (strerror): Likewise.
5087 * string/strnlen.c (__strnlen): Likewise.
5088 * string/test-memmem.c (simple_memmem): Likewise.
5089 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5090 * sunrpc/pm_getport.c (__get_socket): Likewise.
5091 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5092 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5093 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5094 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5096 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5097 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5098 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5099 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5100 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5101 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5103 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5105 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5106 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5107 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5108 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5109 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5111 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5112 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5113 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5114 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5115 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5116 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5118 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5120 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5122 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5123 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5124 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5125 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5126 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5127 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5128 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5129 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5131 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5132 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5134 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5135 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5136 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5137 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5139 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5141 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5143 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5145 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5146 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5147 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5149 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5150 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5151 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5152 * sysdeps/posix/sleep.c: Likewise.
5153 * sysdeps/posix/tempname.c: Likewise.
5154 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5155 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5157 * sysdeps/powerpc/powerpc32/dl-machine.h
5158 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5159 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5160 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5161 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5162 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5164 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5165 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5166 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5167 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5168 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5169 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5170 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5171 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5172 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5173 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5174 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5175 (elf_machine_lazy_rel): Likewise.
5176 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5178 (elf_machine_lazy_rel): Likewise.
5179 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5180 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5181 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5182 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5183 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5184 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5185 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5186 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5188 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5189 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5190 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5191 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5192 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5193 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5194 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5195 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5196 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5197 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5198 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5200 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5201 (__posix_fallocate64_l64): Likewise.
5202 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5203 (posix_fallocate): Likewise.
5204 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5206 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5207 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5208 (getifaddrs_internal): Likewise.
5209 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5210 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5211 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5212 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5213 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5214 (__posix_fallocate64_l64): Likewise.
5215 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5217 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5218 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5219 (__get_clockfreq): Likewise.
5220 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5221 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5222 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5223 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5224 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5225 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5226 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5227 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5229 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5230 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5231 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5232 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5233 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5234 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5235 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5237 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5238 (posix_fallocate): Likewise.
5239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5240 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5241 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5242 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5243 (elf_machine_rela, elf_machine_rela_relative)
5244 (elf_machine_lazy_rel): Likewise.
5245 * time/asctime.c (asctime_internal): Likewise.
5246 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5247 * time/tzset.c (__tzset_parse_tz): Likewise.
5248 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5249 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5250 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5251 * wcsmbs/wcsmbsload.h: Likewise.
5254 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5256 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5257 (arena_get2): Remove THREAD_STATS conditionals.
5258 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5259 (__malloc_stats, int): Likewise.
5261 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5263 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5264 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5266 * manual/setjmp.texi: Fix typos/grammar errors.
5268 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5269 Only return early when n is <= 0. Delete unused return statement.
5271 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5272 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5273 * debug/tst-longjmp_chk3.c: New file.
5275 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5276 (test_main): Replace code with set_fortify_handler call.
5277 * debug/test-strcpy_chk.c: Likewise.
5278 * debug/tst-chk1.c: Likewise.
5279 * debug/tst-longjmp_chk.c: Likewise.
5280 * test-skeleton.c: Include fcntl.h & paths.h
5281 (set_fortify_handler): Define.
5283 * debug/tst-longjmp_chk.c: Add header comment and include
5285 (do_test): Mark static.
5286 (TEST_FUNCTION): Define.
5288 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5289 (IP_PMTUDISC_INTERFACE): Likewise.
5290 (IP_MULTICAST_IF): Likewise.
5291 (IP_MULTICAST_TTL): Likewise.
5292 (IP_MULTICAST_LOOP): Likewise.
5293 (IP_ADD_MEMBERSHIP): Likewise.
5294 (IP_DROP_MEMBERSHIP): Likewise.
5295 (IP_UNBLOCK_SOURCE): Likewise.
5296 (IP_BLOCK_SOURCE): Likewise.
5297 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5298 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5299 (IP_MSFILTER): Likewise.
5300 (MCAST_JOIN_GROUP): Likewise.
5301 (MCAST_BLOCK_SOURCE): Likewise.
5302 (MCAST_UNBLOCK_SOURCE): Likewise.
5303 (MCAST_LEAVE_GROUP): Likewise.
5304 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5305 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5306 (MCAST_MSFILTER): Likewise.
5307 (IP_MULTICAST_ALL): Likewise.
5308 (IP_UNICAST_IF): Likewise.
5310 * timezone/Makefile: Delete $(have-ksh) check.
5311 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5312 * timezone/tzselect.ksh: Add +x mode bits.
5314 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5315 (ANON_INODE_FS_MAGIC): Likewise.
5316 (BDEVFS_MAGIC): Likewise.
5317 (BINFMTFS_MAGIC): Likewise.
5318 (BTRFS_TEST_MAGIC): Likewise.
5319 (CRAMFS_MAGIC_WEND): Likewise.
5320 (DEBUGFS_MAGIC): Likewise.
5321 (ECRYPTFS_SUPER_MAGIC): Likewise.
5322 (EXT3_SUPER_MAGIC): Likewise.
5323 (EXT4_SUPER_MAGIC): Likewise.
5324 (FUTEXFS_SUPER_MAGIC): Likewise.
5325 (HOSTFS_SUPER_MAGIC): Likewise.
5326 (HUGETLBFS_MAGIC): Likewise.
5327 (MINIX3_SUPER_MAGIC): Likewise.
5328 (MTD_INODE_FS_MAGIC): Likewise.
5329 (NILFS_SUPER_MAGIC): Likewise.
5330 (OPENPROM_SUPER_MAGIC): Likewise.
5331 (PIPEFS_MAGIC): Likewise.
5332 (PSTOREFS_MAGIC): Likewise.
5333 (QNX6_SUPER_MAGIC): Likewise.
5334 (RAMFS_MAGIC): Likewise.
5335 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5336 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5337 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5338 (SECURITYFS_MAGIC): Likewise.
5339 (SELINUX_MAGIC): Likewise.
5340 (SMACK_MAGIC): Likewise.
5341 (SOCKFS_MAGIC): Likewise.
5342 (SQUASHFS_MAGIC): Likewise.
5343 (STACK_END_MAGIC): Likewise.
5344 (TMPFS_MAGIC): Likewise.
5345 (USBDEVICE_SUPER_MAGIC): Likewise.
5346 (V9FS_MAGIC): Likewise.
5347 (XENFS_SUPER_MAGIC): Likewise.
5348 (CRAMFS_MAGIC): Fix typo in comment.
5349 (EXT2_SUPER_MAGIC): Update comment.
5350 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5352 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5354 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5355 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5356 * sysdeps/unix/sysv/linux/arm: Move directory from
5357 ports/sysdeps/unix/sysv/linux/arm.
5358 * README: Update listing for arm-*-linux-gnueabi.
5360 * README: Remove mention of am33.
5362 2014-02-07 Roland McGrath <roland@hack.frob.com>
5364 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5365 than the comma operator, to avoid "rhs of comma has no effect"
5367 (__sigfillset, __sigandset, __sigorset): Likewise.
5368 * include/signal.h (__sigemptyset): Likewise.
5369 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5371 2014-02-07 Allan McRae <allan@archlinux.org>
5373 * version.h (RELEASE): Set to "development".
5374 (VERSION): Set to "2.19.90"
5375 * NEWS: Add 2.20 section.
5377 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5380 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5382 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5384 * manual/contrib.texi: Update entry for Carlos O'Donell,
5385 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5387 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5389 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5391 * sysdeps/unix/sysv/linux/kernel-features.h
5392 [__LINUX_KERNEL_VERSION >= 0x020621]
5393 (__ASSUME_PROC_PID_TASK_COMM): Define.
5395 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5398 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5399 conversion when destination buffer does not have enough space.
5400 * libio/tst-ftell-partial-wide.c: New test case.
5401 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5403 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5404 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5405 Leonard and Allan McRae.
5407 2014-02-04 David S. Miller <davem@davemloft.net>
5409 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5412 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5441 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5444 * shlib-versions: Likewise.
5446 2014-02-04 Roland McGrath <roland@hack.frob.com>
5447 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5449 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5450 (abilist-pattern): New variable, set to %-le.abilist.
5452 * Makerules (abilist-pattern): New variable.
5453 (vpath): Use $(abilist-pattern) in place of %.abilist.
5454 (check-abi-% pattern rule): Likewise.
5455 (check-abi, update-abi): Likewise.
5457 2014-02-04 Eric Wong <normalperson@yhbt.net>
5459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5461 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5463 * manual/startup.texi: Add next, previous, and top entries for
5464 the `Program Arguments' and `Environment Variables' nodes.
5466 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5468 * manual/macros.texi: Add comments before MTASC-safety macros.
5470 * manual/users.texi: Document MTASC-safety properties.
5472 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5473 (pthread_getspecific, pthread_setspecific): Format with
5474 @deftypefun, and add @safety note.
5475 * manual/signal.texi: Move comments that analyze the above
5476 functions to their home place.
5478 2014-02-03 Allan McRae <allan@archlinux.org>
5480 * po/sl.po: Update Slovenian translation from translation project.
5482 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5484 * manual/time.texi (timegm): Add missing blank after @c.
5485 Reported by Joseph Myers <joseph@codesourcery.com>.
5487 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5489 * manual/check-safety.sh: New.
5490 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5492 * manual/terminal.texi: Document MTASC-safety properties.
5494 * manual/filesys.texi: Document MTASC-safety properties.
5496 * manual/errno.texi: Document MTASC-safety properties.
5498 * manual/intro.texi: Document safety identifiers and
5501 * manual/string.texi (wcstok): Fix prototype.
5502 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5504 * manual/time.texi: Document MTASC-safety properties.
5506 * manual/string.texi: Document MTASC-safety properties.
5508 * manual/threads.texi: Document MTASC-safety properties.
5510 * manual/stdio.texi: Document MTASC-safety properties.
5512 * manual/syslog.texi: Document MTASC-safety properties.
5514 * manual/sysinfo.texi: Document MTASC-safety properties.
5516 * manual/startup.texi: Document MTASC-safety properties.
5518 * manual/socket.texi: Document MTASC-safety properties.
5520 * manual/signal.texi: Document MTASC-safety properties.
5522 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5524 * manual/setjmp.texi: Document MTASC-safety properties.
5526 * manual/search.texi: Document MTASC-safety properties.
5528 * manual/resource.texi: Document MTASC-safety properties.
5530 * manual/process.texi: Document MTASC-safety properties.
5532 * manual/platform.texi: Document MTASC-safety properties.
5534 * manual/pipe.texi: Document MTASC-safety properties.
5536 * manual/pattern.texi: Document MTASC-safety properties.
5538 * manual/message.texi: Document MTASC-safety properties.
5541 * manual/memory.texi: Document MTASC-safety properties.
5543 * manual/math.texi: Document MTASC-safety properties.
5545 * manual/locale.texi: Document MTASC-safety properties.
5547 * manual/llio.texi: Document MTASC-safety properties.
5549 * manual/libdl.texi: New.
5551 * manual/lang.texi: Document MTASC-safety properties.
5553 * manual/job.texi: Document MTASC-safety properties.
5555 * manual/getopt.texi: Document MTASC-safety properties.
5557 * manual/ctype.texi: Document MTASC-safety properties.
5559 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5562 * csu/libc-tls.c (static_map): Remove variable.
5563 (__libc_setup_tls): Use main executable's link map for TLS data.
5564 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5565 casing for LM_ID_BASE and GL(dl_nns).
5566 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5567 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5568 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5569 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5570 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5572 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5575 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5577 * manual/debug.texi: Document MTASC-safety properties.
5579 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5582 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5583 of __x86_64__ when disabling x87 inline functions.
5585 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5587 * manual/charset.texi: Document MTASC-safety properties.
5589 * manual/crypt.texi: Document MTASC-safety properties.
5591 * manual/conf.texi: Document MTASC-safety properties.
5593 * manual/arith.texi: Document MTASC-safety properties.
5595 * manual/argp.texi: Document MTASC-safety properties.
5597 * manual/macros.texi: Introduce macros to document multi
5598 thread, asynchronous signal and asynchronous cancellation
5600 * manual/intro.texi: Introduce the properties themselves.
5602 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5604 * sysdeps/sh/sh4/Makefile: New file.
5606 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5608 * math/gen-libm-test.pl ($srcdir): New variable.
5609 ($auto_input): Use it.
5611 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5614 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5615 access beyond array bounds when parsing netgroups file.
5617 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5618 the old buffer before realloc.
5620 2014-01-27 Allan McRae <allan@archlinux.org>
5622 * po/fr.po: Update French translation from translation project.
5624 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5626 * sysdeps/sh/libm-test-ulps: Regenerate.
5628 2014-01-24 David S. Miller <davem@davemloft.net>
5630 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5632 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5634 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5635 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5637 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5640 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5641 string pointers after reallocation.
5643 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5645 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5646 __SH4A__ instead of __SH_FPU_ANY__.
5648 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5650 * sysdeps/sh/fpu_control.h: New file.
5651 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5652 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5653 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5654 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5655 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5656 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5657 * sysdeps/sh/sys/ucontext.h: Remove.
5658 * sysdeps/sh/sys: Remove directory.
5660 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5662 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5663 s390/sys/ucontext.h.
5664 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5665 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5667 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5670 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5672 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5676 Adjust the vDSO correctly for internal calls.
5677 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5679 2014-01-20 Allan McRae <allan@archlinux.org>
5681 * po/ca.po: Update Catalan translation from translation project.
5683 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5685 * sysdeps/s390/sotruss-lib.c: New file.
5687 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5690 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5691 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5692 local calls issues by not having a PLT stub required for IFUNC calls.
5693 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5695 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5697 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5698 * math/test-fpucw-static.c: Likewise.
5700 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5703 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5705 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5707 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5708 implementation for powerpc.
5710 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5713 * sysdeps/posix/system.c (__libc_system): Do not enable
5714 asynchronous cancellation.
5716 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5719 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5720 handling only for numbers special also in the IEEE case.
5722 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5724 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5726 2014-01-11 Allan McRae <allan@archlinux.org>
5728 * po/bg.po: Update Bulgarian translation from translation project.
5730 * po/de.po: Update German translation from translation project.
5732 2014-01-10 Roland McGrath <roland@hack.frob.com>
5734 * sysdeps/generic/gcc-compat.h: New file.
5736 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5738 * benchtests/asin-inputs: Correct slow inputs.
5739 * benchtests/acos-inputs: Likewise.
5741 2014-01-10 Allan McRae <allan@archlinux.org>
5743 * po:sv.po: Update Swedish translation from translation project.
5745 * po/vi.po: Update Vietnamese translation from translation project.
5747 * po/eo.po: Update Esperanto translation from translation project.
5749 * po/cs.po: Update Czech translation from translation project.
5751 * po/nl.po: Update Dutch translation from translation project.
5753 * po/pl.po: Update Polish translation from translation project.
5755 * po/ru.po: Update Russian translation from translation project.
5757 * po/uk.po: Update Ukrainian translation from translation project.
5759 2014-01-08 Brooks Moses <bmoses@google.com>
5761 * elf/dl-load.c: Fix comment typo.
5763 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5765 * po/header.pot: Rename to...
5766 * po/pot.header: ... this.
5767 * po/Makefile: Use pot.header.
5769 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5770 Maxim Kuvyrkov <maxim@kugelworks.com>
5773 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5774 SRC and DEST against LEN.
5776 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5779 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5781 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5783 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5787 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5790 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5791 for large positive arguments.
5793 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5795 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5797 * math/auto-libm-test-in: Mark various tests with
5798 xfail-rounding:ldbl-128ibm.
5799 * math/auto-libm-test-out: Regenerated.
5802 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5803 Increase overflow threshold.
5805 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5808 * stdio-common/vfprintf.c: Check for integer overflow.
5810 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5812 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5813 the first argument and return value of __tls_get_addr_internal.
5815 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5817 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5818 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5820 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5822 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5823 * sysdeps/s390/rtld-global-offsets.sym: New file.
5824 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5826 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5827 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5828 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5830 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5831 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5837 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5838 halfs of GPRs for high_gprs contexts.
5839 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5840 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5842 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5844 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5846 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5847 for high GPRs (uc_high_gprs) and for future extensions
5849 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5850 for future extensions (__reserved).
5851 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5853 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5854 SC_HIGHGPRS offset definition.
5855 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5856 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5858 * Versions.def: Add GLIBC_2.19 for libpthread.
5859 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5860 siglongjmp for libpthread with GLIBC_2.19 symver.
5861 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5862 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5863 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5864 * sysdeps/s390/__longjmp.c: New file.
5865 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5866 * sysdeps/s390/longjmp.c: New file.
5867 * sysdeps/s390/setjmp.S: New file.
5868 * sysdeps/s390/sigjmp.S: New file.
5869 * sysdeps/s390/v1-longjmp.c: New file.
5870 * sysdeps/s390/v1-setjmp.h: New file.
5871 * sysdeps/s390/v1-sigjmp.c: New file.
5872 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5873 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5875 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5876 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5877 versioned symbols for ____longjmp_chk.
5878 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5888 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5889 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5890 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5891 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5892 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5893 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5894 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5895 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5896 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5897 * sysdeps/s390/rtld-__longjmp.c: New file.
5898 * sysdeps/s390/rtld-setjmp.S: New file.
5900 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5903 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5904 Return -__logl (x) for small positive arguments without evaluating
5907 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5909 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5911 (__ptrace_peeksiginfo_args): ... this.
5912 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5913 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5914 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5916 2014-01-06 Allan McRae <allan@archlinux.org>
5918 * inet/netinet/in.h: Fix typo in comment.
5920 2014-01-05 Andreas Jaeger <aj@suse.de>
5922 * sysdeps/i386/fpu/libm-test-ulps: Update.
5924 2014-01-05 Allan McRae <allan@archlinux.org>
5926 * po/libc.pot: Regenerated.
5928 * malloc/memusagestat.c: Fix gettext call formatting.
5930 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5932 * nscd/nscd.c: Improve usage() output.
5934 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5936 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5937 * sysdeps/unix/sysv/linux/configure: Regenerated.
5938 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5939 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5941 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5944 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5945 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5947 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5949 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5950 extra tokens at end of #undef directive.
5951 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5952 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5953 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5955 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5957 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5959 * math/auto-libm-test-in: Mark various tests with
5960 xfail-rounding:ldbl-128ibm.
5961 * math/auto-libm-test-out: Regenerated.
5963 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5966 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5967 numbers with subnormal high part when calculating exponent.
5970 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5974 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5976 (__ieee754_acoshl): Use __log1pl not __log1p.
5978 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5980 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5981 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5982 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5983 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5984 (reused_arena, arena_get2): Convert to GNU style.
5985 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5986 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5987 (memalign_check, __malloc_set_state): Likewise.
5988 * malloc/mallocbug.c (main): Likewise.
5989 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5990 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5991 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5992 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5993 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5994 (__posix_memalign, malloc_info): Likewise.
5995 * malloc/malloc.h: Likewise.
5996 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5997 (mallochook, memalignhook, reallochook, mabort): Likewise.
5998 * malloc/mcheck.h: Likewise.
5999 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6000 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6001 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6002 * malloc/morecore.c (__default_morecore): Likewise.
6003 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6004 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6005 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6006 (print_and_abort): Likewise.
6007 * malloc/obstack.h: Likewise.
6008 * malloc/set-freeres.c (__libc_freeres): Likewise.
6009 * malloc/tst-mallocstate.c (main): Likewise.
6010 * malloc/tst-mtrace.c (main): Likewise.
6011 * malloc/tst-realloc.c (do_test): Likewise.
6013 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6016 * nscd/netgroupcache.c (do_notfound): New function.
6017 (addgetnetgrentX): Use it.
6020 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6021 NSS_STATUS_NOTFOUND.
6023 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6025 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6028 2014-01-01 Allan McRae <allan@archlinux.org>
6030 * scripts/update-copyrights: Update configure input file suffix.
6032 * NEWS: Update copyright year.
6033 * catgets/gencat.c: Likewise.
6034 * csu/version.c: Likewise.
6035 * debug/catchsegv.sh: Likewise.
6036 * debug/pcprofiledump.c: Likewise.
6037 * debug/xtrace.sh: Likewise.
6038 * elf/ldconfig.c: Likewise.
6039 * elf/ldd.bash.in: Likewise.
6040 * elf/pldd.c: Likewise.
6041 * elf/sotruss.ksh: Likewise.
6042 * elf/sprof.c: Likewise.
6043 * iconv/iconv_prog.c: Likewise.
6044 * iconv/iconvconfig.c: Likewise.
6045 * locale/programs/locale.c: Likewise.
6046 * locale/programs/localedef.c: Likewise.
6047 * login/programs/pt_chown.c: Likewise.
6048 * malloc/memusage.sh: Likewise.
6049 * malloc/memusagestat.c: Likewise.
6050 * malloc/mtrace.pl: Likewise.
6051 * manual/libc.texinfo: Likewise.
6052 * nscd/nscd.c: Likewise.
6053 * nss/getent.c: Likewise.
6054 * nss/makedb.c: Likewise.
6055 * posix/getconf.c: Likewise.
6056 * scripts/test-installation.pl: Likewise.
6058 * All files with FSF copyright notices: Update copyright dates
6059 using scripts/update-copyrights.
6060 * intl/plural.c: Regenerated.
6061 * locale/programs/charmap-kw.h: Likewise.
6062 * locale/programs/locfile-kw.h: Likewise.
6064 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6066 * sysdeps/unix/sysv/linux/configure: Regenerated.
6067 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6068 the linux/fanotify.h header.
6069 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6070 HAVE_LINUX_FANOTIFY_H is defined.
6072 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6074 * benchtests/cos-inputs: New inputs.
6075 * benchtests/sin-inputs: Likewise.
6077 * benchtests/atan-inputs: New inputs. Fix name of multiple
6078 precision fallback inputs.
6080 * benchtests/atanh-inputs: New inputs.
6081 * benchtests/tanh-inputs: Likewise.
6083 * benchtests/acosh-inputs: New inputs.
6084 * benchtests/asinh-inputs: Likewise.
6086 * benchtests/cosh-inputs: New inputs.
6087 * benchtests/sinh-inputs: Likewise.
6089 * benchtests/acos-inputs: Add more inputs.
6090 * benchtests/asin-inputs: Likewise.
6092 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6095 * manual/arith.texi: Fix spelling.
6096 * manual/charset.texi: Likewise.
6097 * manual/errno.texi: Likewise.
6098 * manual/filesys.texi: Likewise.
6099 * manual/lang.texi: Likewise.
6100 * manual/llio.texi: Likewise.
6101 * manual/locale.texi: Likewise.
6102 * manual/message.texi: Likewise.
6103 * manual/resource.texi: Likewise.
6104 * manual/search.texi: Likewise.
6105 * manual/setjmp.texi: Likewise.
6106 * manual/stdio.texi: Likewise.
6107 * manual/string.texi: Likewise.
6108 * manual/sysinfo.texi: Likewise.
6109 * manual/time.texi: Likewise.
6111 2013-12-27 Carlos O'Donell <carlos@redhat.com>
6113 * po/sl.po: New file.
6115 2013-12-27 Mike Frysinger <vapier@gentoo.org>
6117 * .gitignore: Add core/.gdbinit/.gdb_history.
6119 2013-12-27 Allan McRae <allan@archlinux.org>
6122 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6123 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6125 2013-12-24 Brooks Moses <bmoses@google.com>
6127 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6128 all compilers that claim C++98 compliance, not just GCC.
6129 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6132 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6134 * NEWS: Restore accidentally deleted bug-fix entries.
6136 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6137 Ondřej Bílka <neleai@seznam.cz>
6140 * malloc/malloc.c (_int_free): Perform sanity check only if we
6143 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
6146 * manual/stdio.texi (String Input Conversions): Clarify that character
6147 classes are not supported.
6149 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6153 2013-12-22 Joseph Myers <joseph@codesourcery.com>
6156 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6157 Calculate results for small negative arguments directly rather
6158 than using reflection formula with special underflow handling.
6160 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6161 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6162 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6163 (fchflags): Likewise.
6165 (setlogin): Likewise.
6166 (sigaltstack): Likewise.
6169 (sigsetmask): Likewise.
6171 (waitpid): Likewise.
6172 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6173 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6175 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6176 * sysdeps/unix/bsd/Makefile: ... here.
6177 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6178 * sysdeps/unix/bsd/Versions: ... here.
6179 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6180 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6181 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6182 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6183 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6184 * sysdeps/unix/bsd/sigblock.c: ... here.
6185 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6186 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6187 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6188 * sysdeps/unix/bsd/sigvec.c: ... here.
6189 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6190 * sysdeps/unix/bsd/tcdrain.c: ... here.
6191 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6192 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6193 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6194 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6195 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6196 * sysdeps/unix/bsd/wait.c: ... here.
6197 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6198 * sysdeps/unix/bsd/wait3.c: ... here.
6199 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6200 * sysdeps/unix/bsd/waitpid.c: ... here.
6202 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6205 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6206 round-to-nearest for [!USE_AS_EXPM1L].
6207 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6208 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6209 more tests of exp and exp10. Expect some exp10 tests to miss
6210 exceptions or fail in directed rounding modes.
6211 * math/auto-libm-test-out: Regenerated.
6212 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6213 (exp10_test_tonearest): New function.
6214 (exp10_towardzero_test_data): New array.
6215 (exp10_test_towardzero): New function.
6216 (exp10_downward_test_data): New array.
6217 (exp10_test_downward): New function.
6218 (exp10_upward_test_data): New array.
6219 (exp10_test_upward): New function.
6220 (main): Call the new functions.
6221 * sysdeps/i386/fpu/libm-test-ulps: Update.
6222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6224 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6226 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6227 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6228 * math/auto-libm-test-out: Regenerated.
6229 * math/libm-test.inc (acosh_test_data): Add more tests.
6230 (atanh_test_data): Likewise.
6231 (ceil_test_data): Likewise.
6232 (copysign_test_data): Likewise.
6233 * sysdeps/i386/fpu/libm-test-ulps: Update.
6234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6236 * timezone/checktab.awk: Update from tzcode 2013i.
6237 * timezone/private.h: Likewise.
6238 * timezone/scheck.c: Likewise.
6239 * timezone/tzfile.h: Likewise.
6240 * timezone/tzselect.ksh: Likewise.
6241 * timezone/zdump.c: Likewise.
6242 * timezone/zic.c: Likewise.
6244 * math/auto-libm-test-in: Add tests of cpow.
6245 * math/auto-libm-test-out: Regenerated.
6246 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6247 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6249 (func_calc_desc): Add mpc_cc_c union field.
6250 (test_functions): Add cpow.
6251 (special_fill_2pi): New function.
6252 (special_real_inputs): Add 2pi.
6253 (calc_generic_results): Handle mpc_cc_c.
6254 * sysdeps/i386/fpu/libm-test-ulps: Update.
6255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6257 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6258 csqrt, ctan and ctanh.
6259 * math/auto-libm-test-out: Regenerated.
6260 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6261 (TEST_COND_x86): Likewise.
6262 (ccos_test_data): Use AUTO_TESTS_c_c.
6263 (ccosh_test_data): Likewise.
6264 (cexp_test_data): Likewise.
6265 (clog_test_data): Likewise.
6266 (csqrt_test_data): Likewise.
6267 (ctan_test_data): Likewise.
6268 (ctan_tonearest_test_data): Likewise.
6269 (ctan_towardzero_test_data): Likewise.
6270 (ctan_downward_test_data): Likewise.
6271 (ctan_upward_test_data): Likewise.
6272 (ctanh_test_data): Likewise.
6273 (ctanh_tonearest_test_data): Likewise.
6274 (ctanh_towardzero_test_data): Likewise.
6275 (ctanh_downward_test_data): Likewise.
6276 (ctanh_upward_test_data): Likewise.
6277 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6279 (func_calc_desc): Add mpc_c_c union field.
6280 (FUNC_mpc_c_c): New macro.
6281 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6282 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6284 (special_fill_min_subnorm_p120): New function.
6285 (special_real_inputs): Add min_subnorm_p120.
6286 (calc_generic_results): Handle mpc_c_c.
6287 * sysdeps/i386/fpu/libm-test-ulps: Update.
6288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6290 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6292 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6293 (do_sin_slow): New functions.
6294 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6295 (cslow2, csloww1, csloww2): Use the new functions.
6297 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6298 Use M to change sign of result instead of X. Assume X is
6300 (csloww1): Likewise.
6304 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6309 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6311 (sloww1): Don't adjust sign of DX.
6312 (csloww1): Likewise.
6313 (sloww2): Use X directly and don't adjust sign of DX.
6314 (csloww2): Likewise.
6316 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6318 * math/auto-libm-test-in: Add tests of cabs and carg.
6319 * math/auto-libm-test-out: Regenerated.
6320 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6321 (carg_test_data): Likewise.
6322 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6324 (func_calc_desc): Add mpc_c_f union field.
6325 (test_functions): Add cabs and carg.
6326 (calc_generic_results): Handle mpc_c_f.
6328 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6329 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6330 as a macro and a compat symbol.
6331 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6332 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6333 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6334 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6335 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6336 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6338 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6340 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6342 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6344 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6346 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6348 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6349 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6352 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6356 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6358 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6359 trailing whitespace removed.
6360 * scripts/config.guess: Update to version 2013-11-29.
6361 * scripts/config.sub: Update to version 2013-10-01.
6363 * math/auto-libm-test-in: Add tests of sincos.
6364 * math/auto-libm-test-out: Regenerated.
6365 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6366 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6368 (func_calc_desc): Add mpfr_f_11 union field.
6369 (test_functions): Add sincos.
6370 (calc_generic_results): Handle mpfr_f_11.
6371 * sysdeps/i386/fpu/libm-test-ulps: Update.
6372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6374 2013-12-19 Andreas Schwab <schwab@suse.de>
6376 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6378 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6379 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6380 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6382 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6384 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6385 * sysdeps/i386/fpu/libm-test-ulps: Update.
6386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6389 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6390 round-to-nearest mode when using frndint.
6391 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6392 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6393 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6395 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6397 * math/auto-libm-test-out: Regenerated.
6398 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6399 (TEST_COND_x86): Likewise.
6400 (expm1_tonearest_test_data): New array.
6401 (expm1_test_tonearest): New function.
6402 (expm1_towardzero_test_data): New array.
6403 (expm1_test_towardzero): New function.
6404 (expm1_downward_test_data): New array.
6405 (expm1_test_downward): New function.
6406 (expm1_upward_test_data): New array.
6407 (expm1_test_upward): New function.
6408 (main): Run the new test functions.
6409 * sysdeps/i386/fpu/libm-test-ulps: Update.
6410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6412 * include/features.h: Update comment documenting feature test
6413 macros. Mention _DEFAULT_SOURCE in comment.
6414 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6415 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6416 _BSD_SOURCE and _SVID_SOURCE.
6417 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6418 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6419 !_SVID_SOURCE]: Likewise.
6420 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6421 (__USE_POSIX_IMPLICITLY): Define.
6422 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6423 (_POSIX_SOURCE): Undefine and redefine.
6424 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6425 (_POSIX_C_SOURCE): Likewise.
6426 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6427 (Feature Test Macros): Update documentation of default features.
6429 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6431 * benchtests/Makefile: Add bench-strtok.
6432 * benchtests/bench-strtok.c: New file: strtok benchtest.
6434 2013-12-19 Allan McRae <allan@archlinux.org>
6436 * manual/install.texi: Suppress menu for plain text output.
6437 * INSTALL: Regenerated.
6439 2013-12-18 Brooks Moses <bmoses@google.com>
6442 * misc/getauxval.c: Include errno.h.
6443 (__getauxval): Set errno to ENOENT if the requested type is not
6445 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6446 don't declare with __attribute_const__.
6447 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6448 * manual/startup.texi: Document that getauxval sets errno.
6450 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6452 * math/auto-libm-test-in: Add tests of jn and yn.
6453 * math/auto-libm-test-out: Regenerated.
6454 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6455 (yn_test_data): Likewise.
6456 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6458 (func_calc_desc): Add mpfr_if_f union field.
6459 (FUNC_mpfr_if_f): New macro.
6460 (test_functions): Add jn and yn.
6461 (calc_generic_results): Assert type of second input for
6462 mpfr_ff_f. Handle mpfr_if_f.
6463 (output_for_one_input_case): Disable all checking for arguments
6464 fitting floating-point types in case of an integer argument.
6465 * sysdeps/i386/fpu/libm-test-ulps: Update.
6466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6469 Don't expect fegetround reference in libm.so.
6471 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6473 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6474 $(config-cflags-nofma).
6476 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6478 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6479 * math/auto-libm-test-out: Regenerated.
6482 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6483 to determine exponent and adjust argument to have exponent of -1.
6484 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6486 * math/auto-libm-test-out: Regenerated.
6487 * sysdeps/i386/fpu/libm-test-ulps: Update.
6488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6490 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6492 * manual/probes.texi: Remove cases when per-thread arenas are
6495 2013-12-18 Andreas Schwab <schwab@suse.de>
6497 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6498 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6499 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6500 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6501 * sysdeps/i386/i686/multiarch/Makefile: Update.
6502 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6504 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6506 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6507 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6509 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6512 Support TZ transition times < 00:00:00.
6513 This is needed for version-3 tz-format files; it supports time
6514 stamps past 2037 for America/Godthab (the only entry in the tz
6515 database for which this change is relevant).
6516 * manual/time.texi (TZ Variable): Document transition times
6517 from -167:59:59 through -00:00:01.
6518 * time/tzset.c (tz_rule): Time of day is now signed.
6519 (__tzset_parse_tz): Parse negative time of day.
6521 Document TZ transition times >= 25:00:00.
6522 * manual/time.texi (TZ Variable): Document transition times from
6523 25:00:00 through 167:59:59. These are already supported, and this
6524 support will help with version-3 tz-format files.
6526 * manual/time.texi (TZ Variable): Modernize North America example
6527 to reflect current (i.e., 2007-and-later) daylight saving rules.
6529 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6531 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6533 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6534 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6536 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6537 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6538 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6539 * sysdeps/unix/bsd/clock.c: Likewise.
6540 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6541 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6542 * sysdeps/unix/bsd/init-posix.c: Likewise.
6543 * sysdeps/unix/bsd/poll.c: Likewise.
6544 * sysdeps/unix/bsd/ptsname.c: Likewise.
6545 * sysdeps/unix/bsd/seekdir.c: Likewise.
6546 * sysdeps/unix/bsd/setegid.c: Likewise.
6547 * sysdeps/unix/bsd/seteuid.c: Likewise.
6548 * sysdeps/unix/bsd/setgid.c: Likewise.
6549 * sysdeps/unix/bsd/setrgid.c: Likewise.
6550 * sysdeps/unix/bsd/setruid.c: Likewise.
6551 * sysdeps/unix/bsd/setsid.c: Likewise.
6552 * sysdeps/unix/bsd/setuid.c: Likewise.
6553 * sysdeps/unix/bsd/sigaction.c: Likewise.
6554 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6555 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6556 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6557 * sysdeps/unix/bsd/telldir.c: Likewise.
6558 * sysdeps/unix/bsd/times.c: Likewise.
6559 * sysdeps/unix/bsd/usleep.c: Likewise.
6561 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6562 ($(objpfx)libbsd-compat.a): Remove rule.
6564 * include/features.h (__FAVOR_BSD): Do not define.
6565 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6566 features conflicting with POSIX.
6567 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6568 (_BSD_SOURCE): Remove description of not being a subset of other
6569 feature test macros.
6570 * manual/job.texi (getpgrp): Do not document BSD version.
6571 (getpgid): Do not document by reference to BSD getpgrp.
6572 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6573 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6574 * signal/signal.h [__FAVOR_BSD]: Likewise.
6575 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6576 instead of making contents conditional on [__FAVOR_BSD].
6577 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6579 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6583 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6586 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6587 values below 2**-450, not 2**-500.
6588 * math/auto-libm-test-in: Don't allow spurious underflow from
6590 * math/auto-libm-test-out: Regenerated.
6594 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6595 values of ha and hb and sort them after adjusting subnormal
6597 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6599 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6600 values of ea and eb and sort them after adjusting subnormal
6602 * math/auto-libm-test-in: Do not expect some hypot tests of
6603 subnormals to fail. Add more hypot tests.
6604 * math/auto-libm-test-out: Regenerated.
6606 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6609 * sysdeps/sh/s_fma.c: New file.
6610 * sysdeps/sh/s_fmaf.c: New file.
6611 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6613 * sysdeps/sh/Implies: Add sh/soft-fp.
6615 2013-12-16 Roland McGrath <roland@hack.frob.com>
6617 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6618 level of indirection to members `objname', `errstring', `malloced'.
6619 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6620 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6621 it as the __longjmp argument (just pass 1 instead).
6622 (_dl_catch_error): Initialize C with argument pointers and address of
6623 volatile local ERRCODE rather than copying values out of C at return.
6625 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6627 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6628 * math/auto-libm-test-out: Regenerated.
6629 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6630 (hypot_test_data): Likewise.
6631 (pow_test_data): Likewise.
6632 (pow_tonearest_test_data): Likewise.
6633 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6635 (func_calc_desc): Add mpfr_ff_f union field.
6636 (FUNC_mpfr_ff_f): New macro.
6637 (test_functions): Add atan2, hypot and pow.
6638 (special_fill_min): New function.
6639 (special_fill_minus_min): Likewise.
6640 (special_fill_min_subnorm): Likewise.
6641 (special_fill_minus_min_subnorm): Likewise.
6642 (special_real_inputs): Add min, -min, min_subnorm and
6644 (calc_generic_results): Handle mpfr_ff_f.
6645 * sysdeps/i386/fpu/libm-test-ulps: Update.
6646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6648 2013-12-16 Will Newton <will.newton@linaro.org>
6650 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6651 (Aligned Memory Blocks): Add documentation for aligned_alloc
6652 and suggest it as an alternative to posix_memalign.
6653 (Hooks for Malloc): Document __memalign_hook is also called
6654 for aligned_alloc. (Summary of Malloc): Add summary for
6655 aligned alloc. Document __memalign_hook is also called
6658 2013-12-16 Will Newton <will.newton@linaro.org>
6660 * manual/memory.texi (Malloc Examples): Clarify default
6661 alignment documentation. Suggest posix_memalign rather
6662 than memalign or valloc.
6663 (Aligned Memory Blocks): Remove suggestion to use memalign
6664 or valloc. Remove obsolete comment about BSD.
6665 Document memalign errno values and mark the function obsolete.
6666 Document posix_memalign returned error codes. Mark valloc
6667 as obsolete. (Hooks for Malloc): __memalign_hook is also
6668 called for posix_memalign and valloc.
6669 (Summary of Malloc): Add posix_memalign to function summary.
6670 __memalign_hook is also called for posix_memalign and valloc.
6672 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6674 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6678 (sloww): Use mynumber union. Expand ternary operator into
6680 (cslow): use mynumber union.
6682 2013-12-16 Allan McRae <allan@archlinux.org>
6684 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6685 * configure: Regenerated.
6687 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6690 * configure.ac: Added --enable-maintainer-mode. Check for
6691 autoconf when enabled.
6692 * configure: Regenerated.
6694 * nscd/nscd.service: New file.
6695 * nscd/nscd.tmpfiles: New file.
6697 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6700 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6701 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6702 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6703 (strstr): Add __strstr_sse2_unaligned ifunc.
6704 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6705 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6706 (strcasestr): Remove __strcasestr_sse42 ifunc.
6707 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6711 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6713 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6714 * sysdeps/sh/bits/fenv.h: ... here.
6715 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6717 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6719 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6721 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6722 hypotf multiarch implementations.
6723 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6725 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6726 multiarch hypot for PPC64.
6727 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6728 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6729 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6730 multiarch hypotf for PPC64.
6732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6733 modff multiarch implementations.
6734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6737 multiarch modf for PPC64.
6738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6741 multiarch modff for PPC64.
6743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6744 and logl multiarch implementations.
6745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6748 multiarch logb for PPC64.
6749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6752 multiarch logb for PPC64.
6753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6756 multiarch logb for PPC64.
6758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6759 isinff multiarch implementation.
6760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6764 multiarch isinf for PPC64.
6765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6768 multiarch isinff for PPC64.
6770 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6771 finitef multiarch implementation.
6772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6776 multiarch finite for PPC64.
6777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6780 multiarch finitef for PPC64.
6782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6783 lrint multiarch implementation.
6784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6788 multiarch llrint for PPC64.
6789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6790 multiarch lrint for PPC64.
6792 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6793 copysignf multiarch implementation.
6794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6799 multiarch copysign for PPC64.
6800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6801 multiarch copysignf for PPC64.
6803 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6804 multiarch implementation.
6805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6813 multiarch llround for PPC64.
6814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6815 multiarch trunc for PPC64.
6816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6817 multiarch truncf for PPC64.
6819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6820 multiarch implementation.
6821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6829 multiarch llround for PPC64.
6830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6831 multiarch round for PPC64.
6832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6833 multiarch roundf for PPC64.
6835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6836 multiarch implementation.
6837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6845 multiarch llround for PPC64.
6846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6847 multiarch floor for PPC64.
6848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6849 multiarch floorf for PPC64.
6851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6852 multiarch implementation.
6853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6861 multiarch llround for PPC64.
6862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6863 multiarch ceil for PPC64.
6864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6865 multiarch ceilf for PPC64.
6867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6868 multiarch implementation.
6869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6876 multiarch llround for PPC64.
6877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6878 multiarch lround for PPC64.
6880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6881 multiarch implementation.
6882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6889 multiarch isnan for PPC64.
6890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6891 multiarch isnanf for PPC64.
6893 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6894 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6895 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6896 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6897 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6900 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6901 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6902 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6903 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6906 multiarch implementations.
6907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6908 (__libc_ifunc_impl_list): Likewise.
6909 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6910 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6911 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6912 multiarch stpcpy for PPC64.
6914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6915 multiarch implementations.
6916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6917 (__libc_ifunc_impl_list): Likewise.
6918 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6919 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6920 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6921 multiarch strcpy for PPC64.
6923 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6924 redefine function name.
6925 (_wordcopy_fwd_dest_aligned): Likewise.
6926 (_wordcopy_bwd_aligned): Likewise.
6927 (_wordcopy_bwd_dest_aligned): Likewise.
6928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6929 multiarch implementations.
6930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6931 (__libc_ifunc_impl_list): Likewise.
6932 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6933 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6934 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6935 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6936 multiarch wcscpy for PPC64.
6938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6939 multiarch implementations.
6940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6941 (__libc_ifunc_impl_list): Likewise.
6942 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6943 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6944 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6945 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6946 multiarch wcscpy for PPC64.
6948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6949 multiarch implementations.
6950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6951 (__libc_ifunc_impl_list): Likewise.
6952 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6953 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6954 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6955 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6956 multiarch wcsrchr for PPC64.
6958 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6959 multiarch implementations.
6960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6961 (__libc_ifunc_impl_list): Likewise.
6962 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6963 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6964 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6965 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6966 multiarch wcschr for PPC64.
6968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6969 multiarch implementations.
6970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6971 (__libc_ifunc_impl_list): Likewise.
6972 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6973 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6974 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6975 multiarch strchrnul for PPC64.
6977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6980 (__libc_ifunc_impl_list): Likewise.
6981 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6982 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6983 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6984 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6990 (__libc_ifunc_impl_list): Likewise.
6991 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6992 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6993 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6994 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6998 multiarch implementations.
6999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7000 (__libc_ifunc_impl_list): Likewise.
7001 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7002 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7003 strncasecmp for PPC64.
7004 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7005 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7006 multiarch strncasecmp_l for PPC64.
7008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7009 multiarch implementations.
7010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7011 (__libc_ifunc_impl_list): Likewise.
7012 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7013 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7014 multiarch strcasecmp for PPC64.
7015 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7017 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7018 multiarch strcasecmp_l for PPC64.
7020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7023 (__libc_ifunc_impl_list): Likewise.
7024 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7025 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7026 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7032 (__libc_ifunc_impl_list): Likewise.
7033 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7034 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7035 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7041 (__libc_ifunc_impl_list): Likewise.
7042 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7043 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7044 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7045 rawmemrchr for PPC64.
7047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7050 (__libc_ifunc_impl_list): Likewise.
7051 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7052 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7053 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7059 (__libc_ifunc_impl_list): Likewise.
7060 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7061 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7062 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7068 (__libc_ifunc_impl_list): Likewise.
7069 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7070 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7071 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7074 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7075 avoid cretion of __bzero symbol.
7076 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7078 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7080 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7083 multiarch implementations.
7084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7085 (__libc_ifunc_impl_list): Likewise.
7086 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7087 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7088 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7089 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7091 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7092 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7093 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7094 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7095 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7097 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7099 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7103 (__libc_ifunc_impl_list): Likewise.
7104 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7105 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7106 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7107 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7111 multiarch for POWER/PPC64.
7112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7113 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7114 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7115 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7116 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7117 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7118 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7119 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7120 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7123 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7124 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7125 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7126 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7127 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7128 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7129 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7130 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7131 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7132 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7133 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7134 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7135 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7136 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7137 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7146 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7148 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7150 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7152 * benchtests/Makefile (bench): Add exp2 and log2.
7153 (LDLIBS-bench-exp2): Add -lm.
7154 (LDLIBS-bench-log2): Likewise.
7155 * benchtests/exp2-inputs: New inputs file.
7156 * benchtests/log2-inputs: New inputs file.
7157 * benchtests/log-inputs: Add new inputs.
7158 * benchtests/tan-inputs: Likewise.
7160 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7162 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7164 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7165 (csloww2): ... from here.
7167 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7168 instead of structures.
7169 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7170 (POLYNOMIAL): Likewise.
7171 (TAYLOR_SLOW): Likewise.
7179 (bsloww1): Likewise.
7180 (bsloww2): Likewise.
7183 (csloww1): Likewise.
7184 (csloww2): Likewise.
7186 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7188 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7189 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7190 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7191 * malloc/hooks.c (realloc_check): Likewise.
7193 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7194 * malloc/arena.c: Remove PER_THREAD conditional.
7195 [!PER_THREAD]: Remove code.
7196 (ptmalloc_unlock_all2): Likewise.
7197 (ptmalloc_init): Likewise.
7198 (_int_new_arena): Likewise.
7199 (arena_get2): Likewise.
7200 * malloc/hooks.c (__malloc_get_state): Likewise.
7201 (__malloc_set_state): Likewise.
7202 * malloc/malloc.c: Likewise.
7203 (struct malloc_state): Likewise.
7204 (struct malloc_par): Likewise.
7205 (__libc_realloc): Likewise.
7206 (__libc_mallopt): Likewise.
7208 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7210 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7212 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7214 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7215 macro to a function. Check for zero perturb_byte.
7216 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7218 * malloc/malloc.c: (force_reg): Remove.
7219 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7220 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7221 force_reg by atomic_forced_read.
7222 * malloc/arena.c (ptmalloc_init): Likewise.
7223 * malloc/hooks.c (top_check): Likewise.
7225 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7229 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7233 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7235 * math/auto-libm-test-in: Add tests of lgamma.
7236 * math/auto-libm-test-out: Regenerated.
7237 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7238 (M_LOG_2_SQRT_PIl): Likewise.
7239 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7240 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7242 (func_calc_desc): Add mpfr_f_f1 union field.
7251 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7252 (test_functions): Add lgamma.
7253 (calc_generic_results): Handle mpfr_f_f1.
7254 * sysdeps/i386/fpu/libm-test-ulps: Update.
7255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7257 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7259 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7260 __mpn_add_n for PowerPC64/POWER7.
7261 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7262 __mpn_sub_n for PowerPC64/POWER7.
7264 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7265 __mpn_addmul_1 for PowerPC64.
7266 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7267 __mpn_submul_1 for PowerPC64.
7268 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7270 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7273 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7276 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7278 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7280 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7282 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7283 add multiarch folders.
7284 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7285 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7286 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7287 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7288 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7289 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7290 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7291 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7292 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7293 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7294 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7303 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7309 multiarch __ieee754_hypot for PowerPC32.
7310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7315 multiarch __ieee754_hypotf for PowerPC32.
7317 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7318 long_double_symbol only if __logbl is defined.
7319 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7320 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7321 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7322 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7323 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7324 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7325 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7326 path for implementation.
7327 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7328 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7330 logb, and logbl multiarch implementations for PowerPC32.
7331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7336 multiarch logb for PowerPC32.
7337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7342 multiarch logbf for PowerPC32.
7343 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7347 multiarch logbl implementation for PowerPC32.
7349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7350 and modff multiarch implementations.
7351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7356 multiarch modf for PowerPC32.
7357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7362 multiarch modff for PowerPC32.
7364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7365 and lrintf multiarch implementations.
7366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7371 multiarch lrint for PowerPC32.
7372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7373 file: multiarch lrintf for PowerPC32.
7375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7376 and lroundf multiarch implementations.
7377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7384 multiarch lround for PowerPC32.
7385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7386 file: multiarch lroundf for PowerPC32.
7388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7389 copysign and copysignf multiarch implementations.
7390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7395 file: multiarch copysign for PowerPC32.
7396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7397 file: multiarch copysignf for PowerPC32.
7399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7400 and truncf multiarch implementations.
7401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7406 multiarch trunc for PowerPC32.
7407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7412 multiarch truncf for PowerPC32.
7414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7415 and roundf multiarch implementations.
7416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7421 multiarch round for PowerPC32.
7422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7427 multiarch roundf for PowerPC32.
7429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7430 and floorf multiarch implementations.
7431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7436 multiarch floor for PowerPC32.
7437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7442 multiarch floorf for PowerPC32.
7444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7445 and ceilf multiarch implementations.
7446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7451 multiarch ceil for PowerPC32.
7452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7457 multiarch ceilf for PowerPC32.
7459 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7461 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7464 and finitef multiarch implementations.
7465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7470 multiarch finite for PowerPC32.
7471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7474 file: multiarch finitef for PowerPC32.
7476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7477 and isinff multiarch implementations.
7478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7483 multiarch isinf for PowerPC32.
7484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7487 multiarch isinff for PowerPC32.
7489 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7490 alias when __isnan is defined.
7491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7492 and isnanf multiarch implementations.
7493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7502 multiarch isnan for PowerPC32.
7503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7508 multiarch isnanf for PowerPC32.
7510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7511 and sqrtf multiarch implementations.
7512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7517 multiarch sqrt for PowerPC32.
7518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7523 multiarch sqrtf for PowerPC32.
7525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7526 and llroundf multiarch implementations.
7527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7534 file: multiarch llround for PowerPC32.
7535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7536 file: multiarch llroundf for PowerPC32.
7538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7539 multiarch PowerPC32 fpu implementations.
7540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7545 multiarch llrint for PowerPC32.
7546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7555 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7557 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7559 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7561 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7562 multiarch wordcopy for PPC32.
7563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7566 (__libc_ifunc_impl_list): Likewise.
7567 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7568 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7569 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7570 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7571 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7572 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7574 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7582 multiarch wcscpy for PPC32.
7583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7586 (__libc_ifunc_impl_list): Likewise.
7587 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7588 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7589 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7590 sysdeps/powerpc/power6/wcscpy.c.
7592 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7600 multiarch wcsrchr for PPC32.
7601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7604 (__libc_ifunc_impl_list): Likewise.
7605 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7606 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7607 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7608 sysdeps/powerpc/power6/wcsrchr.c.
7610 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7616 multiarch wcschr for PPc32.
7617 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7619 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7620 (__libc_ifunc_impl_list): Likewise.
7621 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7622 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7623 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7624 sysdeps/powerpc/power6/wcschr.c.
7626 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7627 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7629 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7630 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7631 file: multiarch strchr for PPC32.
7632 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7634 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7635 (__libc_ifunc_impl_list): Likewise.
7637 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7639 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7641 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7643 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7644 multiarch strchrnul for PPC32.
7645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7648 (__libc_ifunc_impl_list): Likewise.
7650 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7652 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7653 multiarch strncasecmp for PPC32.
7654 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7656 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7657 multiarch strncasecmp_l for PPC32.
7658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7659 strncasecmp multiarch objects.
7660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7661 (__libc_ifunc_impl_list): Likewise.
7663 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7665 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7666 multiarch strncasecmp for PPC32.
7667 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7669 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7670 multiarch strcasecmp_l for PPC32.
7671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7674 (__libc_ifunc_impl_list): Likewise.
7676 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7678 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7680 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7681 multiarch strncmp for PPC32.
7682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7685 (__libc_ifunc_impl_list): Likewise.
7687 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7688 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7690 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7691 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7695 (__libc_ifunc_impl_list): Likewise.
7697 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7699 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7701 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7702 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7704 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7705 (__libc_ifunc_impl_list): Likewise.
7707 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7709 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7711 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7712 multiarch rawmemchr for PPC32.
7713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7716 (__libc_ifunc_impl_list): Likewise.
7718 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7720 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7722 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7723 file: memrchr multiarch for PPC32.
7724 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7726 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7727 (__libc_ifunc_impl_list): Likewise.
7729 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7730 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7732 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7733 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7734 multiarch memchr for PPC32.
7735 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7738 (__libc_ifunc_impl_list): Likewise.
7740 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7741 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7743 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7745 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7746 file: multiarch mempcpy for PPC32.
7747 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7749 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7750 (__libc_ifunc_impl_list): Likewise.
7752 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7753 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7754 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7755 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7756 multiarch bzero for PPC32.
7757 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7759 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7761 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7762 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7763 file: multiarch memset for PPC32.
7764 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7766 memset multiarch objects.
7767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7768 (__libc_ifunc_impl_list): Likewise.
7770 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7772 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7773 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7775 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7779 (__libc_ifunc_impl_list): Likewise.
7781 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7782 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7783 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7785 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7787 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7789 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7790 multiarch memcpy for PPC32.
7791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7794 (__libc_ifunc_impl_list): Likewise.
7796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7797 support multiarch for POWER/PPC32.
7798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7800 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7802 Implies file to make multiarch folder appers before the fpu and
7803 default folder for power4 configuration.
7805 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7807 * scripts/bench.pl: Append volatile keyword to type.
7809 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7811 * sysdeps/sh/sotruss-lib.c: New file.
7812 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7814 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7818 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7821 * math/w_tgamma.c: Include <errno.h>.
7822 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7823 * math/w_tgammaf.c: Include <errno.h>.
7824 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7825 * math/w_tgammal.c: Include <errno.h>.
7826 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7827 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7828 underflow. Add more tgamma tests.
7829 * math/auto-libm-test-out: Regenerated.
7830 * sysdeps/i386/fpu/libm-test-ulps: Update.
7831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7833 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7834 sin, sinh, tan, tanh, tgamma, y0 and y1.
7835 * math/auto-libm-test-out: Regenerated.
7836 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7837 (TEST_COND_x86): Likewise.
7838 (M_E2l): Remove macro.
7840 (M_2_SQRT_PIl): Likewise.
7841 (M_SQRT_PIl): Likewise.
7842 (M_1_DIV_El): Likewise.
7843 (log_test_data): Use AUTO_TESTS_f_f.
7844 (log10_test_data): Likewise.
7845 (log1p_test_data): Likewise.
7846 (log2_test_data): Likewise.
7847 (sin_test_data): Likewise.
7848 (sin_tonearest_test_data): Likewise.
7849 (sin_towardzero_test_data): Likewise.
7850 (sin_downward_test_data): Likewise.
7851 (sin_upward_test_data): Likewise.
7852 (sinh_test_data): Likewise.
7853 (sinh_tonearest_test_data): Likewise.
7854 (sinh_towardzero_test_data): Likewise.
7855 (sinh_downward_test_data): Likewise.
7856 (sinh_upward_test_data): Likewise.
7857 (tan_test_data): Likewise.
7858 (tan_tonearest_test_data): Likewise.
7859 (tan_towardzero_test_data): Likewise.
7860 (tan_downward_test_data): Likewise.
7861 (tan_upward_test_data): Likewise.
7862 (tanh_test_data): Likewise.
7863 (tgamma_test_data): Likewise.
7864 (y0_test_data): Likewise.
7865 (y1_test_data): Likewise.
7866 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7867 (special_real_inputs): Add pi/4.
7868 * sysdeps/i386/fpu/libm-test-ulps: Update.
7869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7871 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7873 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7874 "longjmp_target" static probes.
7875 (__longjmp): Rename to __longjmp_symbol.
7876 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7877 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7878 on which longjmp to generate.
7879 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7880 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7882 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7883 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7884 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7885 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7886 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7887 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7889 __longjmp_symbol based on which __longjmp to generate.
7890 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7892 (setjmp): Rename to setjmp_symbol.
7893 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7894 (_setjmp): Rename to _setjmp_symbol.
7895 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7896 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7897 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7898 which setjmp to generate.
7899 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7900 "longjmp_target" static probes.
7902 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7904 * benchtests/README: Add note about output arguments.
7905 * benchtests/bench-sincos.c: Remove file.
7906 * benchtests/sincos-inputs: New file.
7907 * scripts/bench.pl: Identify output arguments and define
7908 static variables for them.
7910 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7913 * Makefile (INSTALL): Add install-plain.texi as the primary
7915 * manual/install-plain.texi: New file.
7916 * manual/install.texi: Include node directive only for
7917 non-plaintext output.
7919 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7921 * stdlib/longlong.h: Update from GCC.
7925 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7926 * math/w_j0f.c (y0f): Likewise.
7927 * math/w_j0l.c (__y0l): Likewise.
7928 * math/w_j1.c (y1): Likewise.
7929 * math/w_j1f.c (y1f): Likewise.
7930 * math/w_j1l.c (__y1l): Likewise
7931 * math/w_jn.c (yn): Likewise.
7932 * math/w_jnf.c (ynf): Likewise.
7933 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7934 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7935 value for Bessel function domain errors outside _SVID_ mode.
7936 Adjust sign of return value for yn (negative integer, 0).
7937 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7938 by zero in return for negative x and set sign appropriately for
7940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7941 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7942 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7943 expectations in error cases.
7944 (y1_test_data): Likewise.
7945 (yn_test_data): Likewise.
7946 * sysdeps/i386/fpu/libm-test-ulps: Update.
7947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7949 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7951 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7952 "64" to "64-v1". Add "64-v2".
7953 (abi-64-options): Rename to ...
7954 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7955 (abi-64-condition): Rename to ...
7956 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7957 (abi-64-ld-soname): Rename to ...
7958 (abi-64-v1-ld-soname): ... this.
7959 (abi-64-v2-options): Define.
7960 (abi-64-v2-condition): Likewise.
7961 (abi-64-v2-ld-soname): Likewise.
7962 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7963 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7968 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7969 Alan Modra <amodra@gmail.com>
7971 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7972 New versions for use with the ELFv2 ABI.
7973 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7974 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7976 (struct La_ppc64v2_retval): Likewise.
7977 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7978 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7979 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7980 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7981 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7982 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7983 Do not save or restore CR.
7984 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7985 (_dl_profile_resolve): Do no save or restore CR. Support extended
7986 return values for ELFv2 ABI. Fix location of FPR return registers.
7987 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7988 updated values for _CALL_ELF == 2.
7989 (La_regs, La_retval, int_retval): Likewise.
7991 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7993 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7994 (FRAME_MIN_SIZE_PARM): Likewise.
7995 (FRAME_BACKCHAIN): Likewise.
7996 (FRAME_CR_SAVE): Likewise.
7997 (FRAME_LR_SAVE): Likewise.
7998 (FRAME_TOC_SAVE): Likewise.
7999 (FRAME_PARM_SAVE): Likewise.
8000 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8001 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8002 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8003 (call_mcount_parm_offset): New macro.
8004 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8005 (PROF): Use symbolic stack frame offsets.
8006 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8007 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8008 Redefine in terms of FRAME_MIN_SIZE.
8009 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8010 (_dl_profile_resolve): Likewise. Update comment.
8011 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8012 symbols stack frame offsets.
8013 (__sigsetjmp): Likewise.
8014 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8015 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8016 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8017 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8020 (FRAME_BACKCHAIN): Remove.
8021 (FRAME_CR_SAVE): Likewise.
8022 (FRAME_LR_SAVE): Likewise.
8023 (FRAME_COMPILER_DW): Likewise.
8024 (FRAME_LINKER_DW): Likewise.
8025 (FRAME_TOC_SAVE): Likewise.
8026 (FRAME_PARM_SAVE): Likewise.
8027 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8028 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8029 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8031 (CHECK_SP): Use symbolic stack frame offsets.
8032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8033 zone" instead of caller's parameter save area for temp storage.
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8035 Likewise. Also, use symbolic stack frame offsets.
8036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8037 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8038 our own stack frame instead of the caller's.
8039 (__socket): Use symbolic stack frame offsets.
8041 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8042 Alan Modra <amodra@gmail.com>
8044 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8046 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8047 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8048 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8050 (elf_machine_fixup_plt): Call it.
8051 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8053 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8054 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8055 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8056 r2 before calling target.
8058 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8059 Alan Modra <amodra@gmail.com>
8061 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8062 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8063 versions of macros to support ELFv2 ABI.
8064 (LOCALENTRY): New macro.
8065 (ENTRY, EALIGN): Use it.
8066 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8067 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8068 fall through into ENTRY entry point.
8069 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8070 Only define if _CALL_ELF != 2.
8072 (elf_machine_matches_host): Verify ABI version matches.
8073 (RTLD_START): Use LOCALENTRY.
8074 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8075 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8076 (PLT_ENTRY_WORDS): New macro.
8077 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8078 (elf_machine_runtime_setup): Support ELFv2 ABI.
8079 (elf_machine_fixup_plt): Likewise.
8080 (elf_machine_plt_conflict): Likewise.
8081 (resolve_ifunc): Likewise.
8082 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8083 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8086 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8088 (makecontext): Support ELFv2 ABI.
8089 * elf/elf.h (EF_PPC64_ABI): Define.
8091 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8093 * sysdeps/powerpc/powerpc64/sysdep.h
8094 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8095 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8096 (ENTRY) [ASSEMBLER]: ... but instead here ...
8097 (EALIGN) [ASSEMBLER]: ... and here.
8098 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8099 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8100 (ENTRY_2) [!ASSEMBLER]: Use it.
8101 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8102 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8103 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8104 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8105 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8107 Use PPC64_LOAD_FUNCPTR.
8109 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8111 2013-12-04 Alan Modra <amodra@gmail.com>
8113 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8114 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8115 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8116 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8118 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8119 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8120 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8121 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8122 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8123 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8125 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8128 (__makecontext): Fix incorrect CFI when backtracing out of
8129 context created via makecontext.
8130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8131 (__setcontext): Fix incorrect CFI during switch to new context.
8132 (__novec_setcontext): Likewise.
8134 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8137 * time/strptime_l.c (__strptime_internal): Allow modifiers
8139 * time/tst-strptime.c (day_tests): Add testcase.
8141 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8143 * scripts/bench.pl: Skip over blank lines.
8145 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8148 * manual/time.texi (Calendar Time): Clarify what timezone functions
8151 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8155 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8157 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8159 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8160 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8161 * debug/memset_chk.c (__memset_chk): Likewise.
8162 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8163 * debug/strncpy_chk.c: Likewise.
8165 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8169 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8170 (__ieee754_exp): For possibly underflowing results, check size of
8171 result and force underflow exception if required.
8172 * math/auto-libm-test-in: Add more tests of exp.
8173 * math/auto-libm-test-out: Regenerated.
8174 * sysdeps/i386/fpu/libm-test-ulps: Update.
8175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8178 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8179 * math/w_exp2f.c (__exp2f): Likewise.
8180 * math/w_exp2l.c (__exp2l): Likewise.
8181 * math/auto-libm-test-in: Do not allow missing errno on exp2
8183 * math/auto-libm-test-out: Regenerated.
8185 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8188 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8189 handle filename validation.
8190 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8193 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8196 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8197 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8198 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8200 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8201 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8202 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8203 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8204 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8205 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8206 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8207 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8208 Add more erfc tests.
8209 * math/auto-libm-test-out: Regenerated.
8210 * sysdeps/i386/fpu/libm-test-ulps: Update.
8211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8213 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8214 exp2, expm1, j0 and j1.
8215 * math/auto-libm-test-out: Regenerated.
8216 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8217 (erfc_test_data): Likewise.
8218 (exp_test_data): Likewise.
8219 (exp_tonearest_test_data): Likewise.
8220 (exp_towardzero_test_data): Likewise.
8221 (exp_downward_test_data): Likewise.
8222 (exp_upward_test_data): Likewise.
8223 (exp10_test_data): Likewise.
8224 (exp2_test_data): Likewise.
8225 (expm1_test_data): Likewise.
8226 (j0_test_data): Likewise.
8227 (j1_test_data): Likewise.
8228 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8229 (input_flag_type): Add flag_xfail_rounding.
8230 (input_flags): Add xfail-rounding.
8231 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8232 (output_for_one_input_case): Handle flag_xfail_rounding.
8233 * sysdeps/i386/fpu/libm-test-ulps: Update.
8234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8236 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8239 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8242 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8245 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8246 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8247 (STAP_PROBE0): New macro.
8248 (STAP_PROBE1): Likewise.
8249 (STAP_PROBE2): Likewise.
8250 (STAP_PROBE3): Likewise.
8251 (STAP_PROBE4): Likewise.
8253 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8255 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8257 2013-12-02 Steve Ellcey <sellcey@mips.com>
8259 * benchtests/Makefile (bench): Add sqrt.
8260 (LDLIBS-bench-sqrt): New.
8261 * benchtests/sqrt-input: New.
8263 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8265 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8266 (GAIH_EAI): Likewise.
8267 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8268 (gaih_inet): Likewise.
8269 (getaddrinfo): Don't use GAIH_EAI.
8271 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8272 (struct gaih): Remove definition.
8274 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8276 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8277 Use HERRNOP directly.
8279 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8283 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8285 * math/gen-auto-libm-tests.c (test_functions): Add more
8286 single-argument functions.
8287 (special_fill_pi_2): New function.
8288 (special_fill_minus_pi_2): Likewise.
8289 (special_fill_pi_6): Likewise.
8290 (special_fill_minus_pi_6): Likewise.
8291 (special_fill_pi_3): Likewise.
8292 (special_fill_2pi_3): Likewise.
8293 (special_fill_e): Likewise.
8294 (special_fill_1_e): Likewise.
8295 (special_fill_e_minus_1): Likewise.
8296 (special_real_inputs): Add more special inputs.
8297 (output_for_one_input_case): Do not require ERANGE on underflow to
8298 zero if round-to-nearest result does not underflow to zero, unless
8299 exact results required.
8300 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8301 atan, atanh, cbrt, cos and cosh.
8302 * math/auto-libm-test-out: Regenerated.
8303 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8304 (acos_tonearest_test_data): Likewise.
8305 (acos_towardzero_test_data): Likewise.
8306 (acos_downward_test_data): Likewise.
8307 (acos_upward_test_data): Likewise.
8308 (acosh_test_data): Likewise.
8309 (asin_test_data): Likewise.
8310 (asin_tonearest_test_data): Likewise.
8311 (asin_towardzero_test_data): Likewise.
8312 (asin_upward_test_data): Likewise.
8313 (asinh_test_data): Likewise.
8314 (atan_test_data): Likewise.
8315 (atanh_test_data): Likewise.
8316 (cbrt_test_data): Likewise.
8317 (cos_test_data): Likewise.
8318 (cos_tonearest_test_data): Likewise.
8319 (cos_towardzero_test_data): Likewise.
8320 (cos_downward_test_data): Likewise.
8321 (cos_upward_test_data): Likewise.
8322 (cosh_test_data): Likewise.
8323 (cosh_tonearest_test_data): Likewise.
8324 (cosh_towardzero_test_data): Likewise.
8325 (cosh_downward_test_data): Likewise.
8326 (cosh_upward_test_data): Likewise.
8327 * sysdeps/i386/fpu/libm-test-ulps: Update.
8328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8330 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8333 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8334 * math/w_exp10f.c (__exp10f): Likewise.
8335 * math/w_exp10l.c (__exp10l): Likewise.
8336 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8337 errno settings in existing tests.
8340 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8341 precision control set to double precision.
8342 * sysdeps/i386/fpu/w_sqrt.c: New file.
8343 * math/auto-libm-test-in: Add more tests.
8344 * math/auto-libm-test-out: Update.
8346 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8347 (sqrt_test_tonearest): New function.
8348 (sqrt_towardzero_test_data): New variable.
8349 (sqrt_test_towardzero): New function.
8350 (sqrt_downward_test_data): New variable.
8351 (sqrt_test_downward): New function.
8352 (sqrt_upward_test_data): New variable.
8353 (sqrt_test_upward): New function.
8354 (main): Call the new functions.
8356 * math/gen-auto-libm-tests.c: New file.
8357 * math/auto-libm-test-in: Likewise.
8358 * math/auto-libm-test-out: New generated file.
8359 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8361 (%beautify): Add generated representations of zero.
8362 (top level): Set $auto_input and call parse_auto_input.
8363 (beautify): Remove trailing "f" from hex float constants.
8364 (parse_args): Handle XFAIL_TEST.
8365 (convert_condition): New function.
8366 (or_value): Likewise.
8367 (or_cond_value): Likewise.
8368 (generate_testfile): Handle AUTO_TESTS_* lines.
8369 (parse_auto_input): New function.
8370 * math/libm-test.inc (XFAIL_TEST): New macro.
8371 (ERRNO_UNCHANGED): Update value.
8372 (ERRNO_EDOM): Likewise.
8373 (ERRNO_ERANGE): Likewise.
8374 (IGNORE_RESULT): Likewise.
8375 (TEST_COND_flt_32): New macro.
8376 (TEST_COND_dbl_64): Likewise.
8377 (TEST_COND_ldbl_96_intel): Likewise.
8378 (TEST_COND_ldbl_96_m68k): Likewise.
8379 (TEST_COND_ldbl_128): Likewise.
8380 (TEST_COND_ldbl_128ibm): Likewise.
8381 (TEST_COND_long32): Likewise.
8382 (TEST_COND_long64): Likewise.
8383 (TEST_COND_before_rounding): Likewise.
8384 (TEST_COND_after_rounding): Likewise.
8385 (enable_test): Handle XFAIL_TEST flag.
8386 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8387 with finite results.
8388 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8391 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8392 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8395 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8396 __tls_get_addr_internal instead of __tls_get_offset in order to
8397 avoid GOT pointer dependency. Make rtld export
8398 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8399 __tls_get_addr since we are a __tls_get_offset platform.
8400 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8401 GOT pointer being set up before.
8402 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8404 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8406 * manual/math.texi (Errors in Math Functions): Document accuracy
8410 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8411 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8414 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8416 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8418 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8419 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8420 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8423 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8424 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8425 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8427 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8428 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8429 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8430 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8431 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8433 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8435 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8437 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8438 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8439 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8440 atomic-feupdateenv and flt-rounds.
8441 * sysdeps/powerpc/nofpu/Versions (libc): Add
8442 __atomic_feholdexcept, __atomic_feclearexcept,
8443 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8444 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8445 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8446 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8447 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8452 * manual/arith.texi (FP Exceptions): Document that exceptions may
8453 not be raised when matherr is used.
8454 (Math Error Reporting): Document overflow in directed rounding
8455 modes. Document that errno may not be set when finite values are
8456 returned on overflow. Document intent to set errno on underflow
8457 only for underflow to zero.
8460 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8461 round-to-nearest then adjust result for other rounding modes.
8462 * include/fenv.h (fegetround): Use libm_hidden_proto.
8463 * math/fegetround.c (fegetround): Use libm_hidden_def.
8464 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8465 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8466 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8467 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8469 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8470 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8471 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8472 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8474 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8477 * nss/Versions (libnss_files): Add
8478 _nss_files_gethostbyname3_r.
8479 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8481 (HOST_DB_LOOKUP): Remove macro.
8482 (_nss_files_gethostbyname_r): Implement function without the
8483 HOST_DB_LOOKUP macro.
8484 (_nss_files_gethostbyname2_r): Likewise.
8486 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8488 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8490 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8492 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8493 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8496 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8498 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8499 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8500 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8501 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8502 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8503 __fe_nomask_env_priv and attribute_hidden.
8504 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8505 (libc_feupdateenv_test_ppc): Likewise.
8506 (libc_feresetround_ppc): Likewise.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8508 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8509 compat_symbol macro.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8511 (__fe_nomask_env): Likewise.
8512 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8514 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8516 * string/Makefile: Remove ifunc tests.
8517 * string/test-string.h: Define TEST_IFUNC.
8518 * string/test-bcopy-ifunc.c: Remove.
8519 * string/test-bzero-ifunc.c: Likewise.
8520 * string/test-memccpy-ifunc.c: Likewise.
8521 * string/test-memchr-ifunc.c: Likewise.
8522 * string/test-memcmp-ifunc.c: Likewise.
8523 * string/test-memcpy-ifunc.c: Likewise.
8524 * string/test-memmem-ifunc.c: Likewise.
8525 * string/test-memmove-ifunc.c: Likewise.
8526 * string/test-mempcpy-ifunc.c: Likewise.
8527 * string/test-memrchr-ifunc.c: Likewise.
8528 * string/test-memset-ifunc.c: Likewise.
8529 * string/test-rawmemchr-ifunc.c: Likewise.
8530 * string/test-stpcpy-ifunc.c: Likewise.
8531 * string/test-stpncpy-ifunc.c: Likewise.
8532 * string/test-strcasecmp-ifunc.c: Likewise.
8533 * string/test-strcasestr-ifunc.c: Likewise.
8534 * string/test-strcat-ifunc.c: Likewise.
8535 * string/test-strchr-ifunc.c: Likewise.
8536 * string/test-strchrnul-ifunc.c: Likewise.
8537 * string/test-strcmp-ifunc.c: Likewise.
8538 * string/test-strcpy-ifunc.c: Likewise.
8539 * string/test-strcspn-ifunc.c: Likewise.
8540 * string/test-strlen-ifunc.c: Likewise.
8541 * string/test-strncasecmp-ifunc.c: Likewise.
8542 * string/test-strncat-ifunc.c: Likewise.
8543 * string/test-strncmp-ifunc.c: Likewise.
8544 * string/test-strncpy-ifunc.c: Likewise.
8545 * string/test-strnlen-ifunc.c: Likewise.
8546 * string/test-strpbrk-ifunc.c: Likewise.
8547 * string/test-strrchr-ifunc.c: Likewise.
8548 * string/test-strspn-ifunc.c: Likewise.
8549 * string/test-strstr-ifunc.c: Likewise.
8551 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8553 * benchtests/Makefile: Remove ifunc tests.
8554 * benchtests/bench-string.h: Define TEST_IFUNC.
8555 * benchtests/bench-bcopy-ifunc.c: Remove.
8556 * benchtests/bench-bzero-ifunc.c: Likewise.
8557 * benchtests/bench-memccpy-ifunc.c: Likewise.
8558 * benchtests/bench-memchr-ifunc.c: Likewise.
8559 * benchtests/bench-memcmp-ifunc.c: Likewise.
8560 * benchtests/bench-memcpy-ifunc.c: Likewise.
8561 * benchtests/bench-memmem-ifunc.c: Likewise.
8562 * benchtests/bench-memmove-ifunc.c: Likewise.
8563 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8564 * benchtests/bench-memrchr-ifunc.c: Likewise.
8565 * benchtests/bench-memset-ifunc.c: Likewise.
8566 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8567 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8568 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8569 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8570 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8571 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8572 * benchtests/bench-strcat-ifunc.c: Likewise.
8573 * benchtests/bench-strchr-ifunc.c: Likewise.
8574 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8575 * benchtests/bench-strcmp-ifunc.c: Likewise.
8576 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8577 * benchtests/bench-strcpy-ifunc.c: Likewise.
8578 * benchtests/bench-strcspn-ifunc.c: Likewise.
8579 * benchtests/bench-strlen-ifunc.c: Likewise.
8580 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8581 * benchtests/bench-strncat-ifunc.c: Likewise.
8582 * benchtests/bench-strncmp-ifunc.c: Likewise.
8583 * benchtests/bench-strncpy-ifunc.c: Likewise.
8584 * benchtests/bench-strnlen-ifunc.c: Likewise.
8585 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8586 * benchtests/bench-strrchr-ifunc.c: Likewise.
8587 * benchtests/bench-strsep-ifunc.c: Likewise.
8588 * benchtests/bench-strspn-ifunc.c: Likewise.
8589 * benchtests/bench-strstr-ifunc.c: Likewise.
8591 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8593 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8595 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8597 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8598 * rt/aio.h: Likewise.
8599 * sysdeps/gnu/bits/utmp.h: Likewise.
8600 * sysdeps/gnu/bits/utmpx.h: Likewise.
8601 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8602 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8603 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8604 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8605 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8606 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8607 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8608 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8609 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8610 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8611 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8612 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8613 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8615 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8616 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8617 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8618 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8619 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8620 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8621 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8622 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8623 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8624 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8625 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8627 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8628 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8629 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8630 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8631 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8632 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8633 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8634 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8635 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8636 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8637 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8638 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8639 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8640 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8641 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8642 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8644 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8647 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8648 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8650 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8652 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8653 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8656 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8658 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8659 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8660 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8661 (__fesetround): Remove define.
8662 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8663 rounding and exceptions handling.
8664 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8665 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8666 (__fe_nomask_env): Likewise.
8667 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8668 __fegetround instead of fegetround.
8669 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8670 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8672 2013-11-21 Roland McGrath <roland@hack.frob.com>
8674 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8677 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8679 2013-11-21 Meador Inge <meadori@codesourcery.com>
8682 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8683 (encrypt_r): Likewise.
8684 * malloc/obstack.h (obstack_free): Likewise.
8685 * posix/unistd.h (encrypt): Likewise.
8687 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8689 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8690 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8691 DL_CALL_DT_FINI() that call the functions directly.
8692 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8693 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8694 * elf/dl-fini.c: Likewise.
8696 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8698 * malloc/hooks.c (memalign_check): Add alignment rounding.
8699 * malloc/malloc.c (_mid_memalign): New function.
8700 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8701 Implement by calling _mid_memalign.
8702 * manual/probes.texi (Memory Allocation Probes): Remove
8703 memory_valloc_retry and memory_pvalloc_retry.
8705 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8707 * locale/programs/locarchive.c (open_archive): Add const
8708 qualifier to ARCHIVEFNAME and copy default fname to
8712 * libio/tst-widetext.input: Rename Oriya to Odia.
8713 * locale/iso-639.def: Likewise.
8715 * manual/probes.texi (Mathematical Function Probes): Add
8716 documentation for sin, cos, asin and acos probes.
8717 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8718 (__sin32): Add slowasin probe.
8719 (__cos32): Add slowacos probe.
8720 (__mpsin): Add slowsin probe.
8721 (__mpcos): Add slowcos probe.
8723 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8726 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8727 thread-local __sim_exceptions_thread and global
8728 __sim_exceptions_global.
8729 (__sim_disabled_exceptions): Change to thread-local
8730 __sim_disabled_exceptions_thread and global
8731 __sim_disabled_exceptions_global.
8732 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8733 and global __sim_round_mode_global.
8734 (__simulate_exceptions): Use thread-local floating-point state and
8735 set global state from it as needed.
8736 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8737 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8738 __sim_round_mode_thread.
8739 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8740 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8741 and global __sim_exceptions_global.
8742 (__sim_disabled_exceptions): Change to thread-local
8743 __sim_disabled_exceptions_thread and global
8744 __sim_disabled_exceptions_global.
8745 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8746 and global __sim_round_mode_global.
8747 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8748 (SIM_SET_GLOBAL): Likewise.
8749 * sysdeps/powerpc/soft-fp/sfp-machine.h
8750 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8751 __sim_round_mode_thread.
8752 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8753 __sim_disabled_exceptions_thread.
8754 (__sim_exceptions): Change to __sim_exceptions_thread.
8755 (__sim_disabled_exceptions): Change to
8756 __sim_disabled_exceptions_thread.
8757 (__sim_round_mode): Change to __sim_round_mode_thread.
8758 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8759 thread-local floating-point state and set global state from it as
8761 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8762 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8763 (__sim_disabled_exceptions): Remove extern declaration.
8764 (feenableexcept): Use thread-local floating-point state and set
8765 global state from it as needed.
8766 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8768 (__sim_disabled_exceptions): Likewise.
8769 (__sim_round_mode): Likewise.
8770 (__fegetenv): Use thread-local floating-point state.
8771 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8772 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8773 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8774 floating-point state and set global state from it as needed.
8775 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8776 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8777 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8779 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8780 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8782 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8783 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8784 Use __sim_round_mode_thread.
8785 * math/test-fenv-tls.c: New file.
8786 * math/Makefile (tests): Add test-fenv-tls.
8787 ($(objpfx)test-fenv-tls): Depend on
8788 $(common-objpfx)nptl/libpthread.so.
8790 2013-11-19 Andreas Schwab <schwab@suse.de>
8792 * locale/programs/locale.c (show_info): Decode wordarray elements.
8793 * locale/categories.def (LC_MONETARY): Add element for
8794 _NL_MONETARY_CRNCYSTR.
8795 * locale/C-monetary.c (conversion_rate): New variable.
8796 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8799 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8801 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8802 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8804 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8806 * elf/Makefile (tst-auxv): New test.
8807 * elf/tst-auxv.c: New
8808 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8810 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8812 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8813 (hidden_proto): Caller changed.
8814 (hidden_tls_proto): New macro.
8815 (libc_hidden_tls_proto): Likewise.
8816 (rtld_hidden_tls_proto): Likewise.
8817 (libm_hidden_tls_proto): Likewise.
8818 (libresolv_hidden_tls_proto): Likewise.
8819 (librt_hidden_tls_proto): Likewise.
8820 (libdl_hidden_tls_proto): Likewise.
8821 (libnss_files_hidden_tls_proto): Likewise.
8822 (libnsl_hidden_tls_proto): Likewise.
8823 (libnss_nisplus_hidden_tls_proto): Likewise.
8824 (libutil_hidden_tls_proto): Likewise.
8826 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8829 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8830 (decompose_rpath): Defer expansion to fillin_rpath.
8831 (_dl_init_paths): Pass linkmap to fillin_rpath.
8833 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8835 * benchtests/Makefile: Add strsep.
8836 * benchtests/bench-strsep.c: New file: strsep benchtest.
8837 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8839 2013-11-18 Andreas Schwab <schwab@suse.de>
8841 * locale/programs/locale.c (show_info) [case byte]: Check for
8842 '\377' instead of '\177'.
8843 * locale/C-monetary.c (not_available): Always use "\377".
8844 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8845 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8846 detect unavailable sign_posn locale elements.
8847 * locale/localeconv.c (__localeconv): For grouping and
8848 mon_grouping handle "\177" and "\377" like no grouping.
8849 (INT_ELEM): New macro. Use it to set all numeric members.
8850 * locale/programs/ld-monetary.c (monetary_read)
8851 <tok_mon_grouping>: Normalize single -1 to the empty string.
8852 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8855 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8858 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8859 when we match (nil).
8860 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8862 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8864 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8865 (NO_TEST_INLINE): Update value.
8866 (ERRNO_UNCHANGED): Likewise.
8867 (ERRNO_EDOM): Likewise.
8868 (ERRNO_ERANGE): Likewise.
8869 (IGNORE_RESULT): Likewise.
8870 (check_float_internal): Check signs of NaN results if
8872 (check_complex): Pass TEST_NAN_SIGN flag through to second
8873 check_float_internal call.
8874 (copysign_test_data): Add tests with quiet NaNs as second
8875 argument. Use TEST_NAN_SIGN.
8876 (fabs_test_data): Add test of negative quiet NaN argument. Use
8878 (signbit_test_data): Add tests of quiet NaN argument.
8879 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8881 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8883 (parse_args): Handle function results specified as IGNORE.
8884 * math/libm-test.inc (IGNORE_RESULT): New macro.
8885 (check_float_internal): Do not check numerical result if flag
8887 (check_complex): Pass through IGNORE_RESULT to second
8888 check_float_internal call.
8889 (check_int): Do not check numerical result if flag IGNORE_RESULT
8891 (check_long): Likewise.
8892 (check_bool): Likewise.
8893 (check_longlong): Likewise.
8894 (lrint_test_data): Add tests of infinite and NaN arguments.
8895 (lrint_tonearest_test_data): Likewise.
8896 (lrint_towardzero_test_data): Likewise.
8897 (lrint_downward_test_data): Likewise.
8898 (lrint_upward_test_data): Likewise.
8899 (llrint_test_data): Likewise.
8900 (llrint_tonearest_test_data): Likewise.
8901 (llrint_towardzero_test_data): Likewise.
8902 (llrint_downward_test_data): Likewise.
8903 (llrint_upward_test_data): Likewise.
8904 (lround_test_data): Likewise.
8905 (llround_test_data): Likewise.
8907 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8908 (ERRNO_UNCHANGED): Update value.
8909 (ERRNO_EDOM): Likewise.
8910 (ERRNO_ERANGE): Likewise.
8911 (NO_TEST_INLINE_FLOAT): New macro.
8912 (NO_TEST_INLINE_DOUBLE): Likewise.
8913 (enable_test): New function.
8914 (RUN_TEST_f_f): Check enable_test before running test.
8915 (RUN_TEST_2_f): Likewise.
8916 (RUN_TEST_fff_f): Likewise.
8917 (RUN_TEST_c_f): Likewise.
8918 (RUN_TEST_f_f1): Likewise.
8919 (RUN_TEST_fF_f1): Likewise.
8920 (RUN_TEST_fI_f1): Likewise.
8921 (RUN_TEST_ffI_f1): Likewise.
8922 (RUN_TEST_c_c): Likewise.
8923 (RUN_TEST_cc_c): Likewise.
8924 (RUN_TEST_f_i): Likewise.
8925 (RUN_TEST_f_i_tg): Likewise.
8926 (RUN_TEST_ff_i_tg): Likewise.
8927 (RUN_TEST_f_b): Likewise.
8928 (RUN_TEST_f_b_tg): Likewise.
8929 (RUN_TEST_f_l): Likewise.
8930 (RUN_TEST_f_L): Likewise.
8931 (RUN_TEST_fFF_11): Likewise.
8932 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8934 (cosh_test_data): Likewise.
8935 (exp_test_data): Likewise.
8936 (expm1_test_data): Likewise.
8937 (hypot_test_data): Likewise.
8938 (pow_test_data): Likewise.
8939 (sinh_test_data): Likewise.
8940 (tanh_test_data): Likewise.
8941 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8944 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8945 tests with quiet NaN input and output.
8946 (acosh_test_data): Likewise.
8947 (asin_test_data): Likewise.
8948 (asinh_test_data): Likewise.
8949 (atan_test_data): Likewise.
8950 (atanh_test_data): Likewise.
8951 (atan2_test_data): Likewise.
8952 (cbrt_test_data): Likewise.
8953 (cos_test_data): Likewise.
8954 (cosh_test_data): Likewise.
8955 (erf_test_data): Likewise.
8956 (erfc_test_data): Likewise.
8957 (exp_test_data): Likewise.
8958 (exp10_test_data): Likewise.
8959 (exp2_test_data): Likewise.
8960 (expm1_test_data): Likewise.
8961 (hypot_test_data): Likewise.
8962 (j0_test_data): Likewise.
8963 (j1_test_data): Likewise.
8964 (jn_test_data): Likewise.
8965 (lgamma_test_data): Likewise.
8966 (log_test_data): Likewise.
8967 (log10_test_data): Likewise.
8968 (log1p_test_data): Likewise.
8969 (log2_test_data): Likewise.
8970 (pow_test_data): Likewise.
8971 (scalb_test_data): Likewise.
8972 (sin_test_data): Likewise.
8973 (sincos_test_data): Likewise.
8974 (sinh_test_data): Likewise.
8975 (tan_test_data): Likewise.
8976 (tanh_test_data): Likewise.
8977 (tgamma_test_data): Likewise.
8978 (y0_test_data): Likewise.
8979 (y1_test_data): Likewise.
8980 (yn_test_data): Likewise.
8983 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8984 argument being NaN and avoid computations with second argument in
8986 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8987 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8988 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8990 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8992 * locale/iso-639.def: Add Chitwani Tharu (the).
8994 2013-11-14 Andreas Schwab <schwab@suse.de>
8996 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8997 word instead of empty string.
8999 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9002 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9004 (__fe_nomask_env): Likewise.
9006 2013-11-13 Steve Ellcey <sellcey@mips.com>
9008 * benchtests/bench-timing.h: Include time.h.
9010 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9013 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9015 * sysdeps/unix/sysv/linux/configure: Regenerated.
9017 2013-11-13 Joseph Myers <joseph@codesourcery.com>
9020 * stdlib/strtod_l.c (round_and_return): Do not consider
9021 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9022 exponent one less than half the least subnormal exponent.
9023 * stdlib/test-strtod-round-data: Add more tests.
9024 * stdlib/tst-strtod-round.c (tests): Regenerated.
9026 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9029 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9030 (__fe_mask_env): Likewise.
9031 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9032 libm_hidden_proto and add function prototype.
9033 (__fe_mask_env): Add function prototype.
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9035 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9037 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9039 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9041 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9043 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9044 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9046 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9048 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9049 of htab_find_slot().
9051 2013-11-11 David S. Miller <davem@davemloft.net>
9054 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9055 symbol in the non-vis3 case in static builds.
9056 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9057 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9058 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9059 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9061 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9064 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9067 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9069 * benchtests/Makefile: Add bench-strtod.
9070 * benchtests/bench-strtod.c: New file: strtod benchtest
9072 2013-11-11 Andreas Schwab <schwab@suse.de>
9075 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9076 terminating NUL in key length.
9078 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9080 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9081 Add artificial ODP entry for vDSO symbol for PPC64.
9082 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9083 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9085 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9088 * nss/getent.c (services_keys): Recognize services starting with digit.
9090 2013-11-06 David S. Miller <davem@davemloft.net>
9093 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9094 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9096 2013-11-06 Will Newton <will.newton@linaro.org>
9098 * manual/memory.texi (Malloc Examples): Remove register
9099 keyword from examples.
9101 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
9103 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9105 2013-11-04 Joseph Myers <joseph@codesourcery.com>
9108 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9109 depending on [__GCC_IEC_559 > 0].
9110 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9111 depending on [__GCC_IEC_559_COMPLEX > 0].
9113 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
9115 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9118 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
9120 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9122 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
9125 * malloc/malloc (malloc_info): Do not handle first bin as
9128 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
9130 * locale/iso-639.def: Add Central Nahuatl (nhn).
9132 2013-11-01 Bruno Haible <bruno@clisp.org>
9135 * manual/math.texi (BSD Random): Specify range upper bound as
9138 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
9140 * locale/iso-639.def: Add Meadow Mari (mhr).
9142 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
9144 [BZ #14752], [BZ #15763]
9145 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9147 * rt/tst_shm.c: Add test for escaping directory.
9149 2013-10-31 Andreas Schwab <schwab@suse.de>
9152 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9153 followed by 'x' as part of digit sequence.
9154 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9156 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9159 * configure.ac: allow GNU Make 4.0 and greater.
9160 * configure: Regenerated.
9162 2013-10-30 Will Newton <will.newton@linaro.org>
9165 * malloc/hooks.c (memalign_check): Limit alignment to the
9166 maximum representable power of two.
9167 * malloc/malloc.c (__libc_memalign): Likewise.
9168 * malloc/tst-memalign.c (do_test): Add test for very
9169 large alignment values.
9170 * malloc/tst-posix_memalign.c (do_test): Likewise.
9172 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9175 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9176 (munmap_chunk): Likewise.
9177 (mremap_chunk): Likewise.
9179 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9182 * stdlib/div.c (div): Remove obsolete code.
9183 * stdlib/ldiv.c (ldiv): Likewise.
9184 * stdlib/lldiv.c (lldiv): Likewise.
9186 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9189 * nss/nss_files/files-XXX.c (get_contents_ret): New
9191 (get_contents): New function.
9192 (internal_getent): Use it. Expand size of LINEBUFLEN.
9194 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9196 * configure.in: Moved to ...
9197 * configure.ac: ... here. Change reference to configure.in
9199 * sysdeps/arm/preconfigure.ac: ... here.
9200 configure.in to configure.ac.
9201 * sysdeps/gnu/configure.in: Moved to ...
9202 * sysdeps/gnu/configure.ac: ... here.
9203 * sysdeps/i386/configure.in: Moved to ...
9204 * sysdeps/i386/configure.ac: ... here.
9205 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9206 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9207 * sysdeps/mach/configure.in: Moved to ...
9208 * sysdeps/mach/configure.ac: ... here.
9209 * sysdeps/mach/hurd/configure.in: Moved to ...
9210 * sysdeps/mach/hurd/configure.ac: ... here.
9211 * sysdeps/powerpc/configure.in: Moved to ...
9212 * sysdeps/powerpc/configure.ac: ... here.
9213 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9214 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9215 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9216 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9217 * sysdeps/s390/s390-32/configure.in: Moved to ...
9218 * sysdeps/s390/s390-32/configure.ac: ... here.
9219 * sysdeps/s390/s390-64/configure.in: Moved to ...
9220 * sysdeps/s390/s390-64/configure.ac: ... here.
9221 * sysdeps/sh/configure.in: Moved to ...
9222 * sysdeps/sh/configure.ac: ... here.
9223 * sysdeps/sparc/configure.in: Moved to ...
9224 * sysdeps/sparc/configure.ac: ... here.
9225 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9226 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9227 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9228 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9229 * sysdeps/x86_64/configure.in: Moved to ...
9230 * sysdeps/x86_64/configure.ac: ... here.
9231 * sysdeps/x86_64/preconfigure.in: Moved to ...
9232 * sysdeps/x86_64/preconfigure.ac: ... here.
9233 * aclocal.m4: Change reference to configure.in to configure.ac.
9234 * config.h.in: Likewise.
9235 * manual/install.texi: Likewise.
9236 * manual/maint.texi: Likewise.
9237 * Makefile: Likewise.
9238 * malloc/Makefile: Likewise.
9239 * nscd/Makefile: Likewise.
9240 * Makeconfig: Change reference to configure.in and
9241 preconfigure.in to configure.ac and preconfigure.ac
9243 * INSTALL: Regenerated.
9244 * configure: Likewise.
9245 * sysdeps/gnu/configure: Likewise.
9246 * sysdeps/i386/configure: Likewise.
9247 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9248 * sysdeps/mach/configure: Likewise.
9249 * sysdeps/mach/hurd/configure: Likewise.
9250 * sysdeps/powerpc/configure: Likewise.
9251 * sysdeps/powerpc/powerpc32/configure: Likewise.
9252 * sysdeps/powerpc/powerpc64/configure: Likewise.
9253 * sysdeps/s390/s390-32/configure: Likewise.
9254 * sysdeps/s390/s390-64/configure: Likewise.
9255 * sysdeps/sh/configure: Likewise.
9256 * sysdeps/sparc/configure: Likewise.
9257 * sysdeps/unix/sysv/linux/configure: Likewise.
9258 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9259 * sysdeps/x86_64/configure: Likewise.
9260 * sysdeps/x86_64/preconfigure: Likewise.
9262 2013-10-29 Andreas Schwab <schwab@suse.de>
9264 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9266 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9268 * benchtests/pow-inputs: Add new inputs.
9270 * benchtests/exp-inputs: Add new inputs.
9272 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9273 conditional check for return value.
9274 (__cos32): Likewise.
9276 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9278 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9279 to provide a boost for large inputs with word alignment.
9280 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9281 implementation based on optimized PPC64 strcpy.
9282 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9283 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9284 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9285 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9287 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9290 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9292 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9295 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9296 * time/tst-strptime.c (day_tests): Add testcase.
9298 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9301 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9303 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9306 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9307 MAP_FAILED on error.
9309 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9312 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9313 heap for large requests.
9315 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9318 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9319 result if the result has no associated interface.
9320 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9321 interface for all 127.X.Y.Z addresses.
9323 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9325 * locale/iso-639.def: Add Ligurian (lij)
9327 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9330 * sunrpc/rpc_main.c: Document rpcgen -5.
9332 2013-10-19 Michael Stahl <mstahl@redhat.com>
9334 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9336 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9339 * posix/glob.c: Match only directories when trailing slash is present.
9340 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9341 (main): Add testcase.
9343 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9346 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9348 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9350 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9351 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9352 AUTH_DES and cindex for FIPS 140-2.
9353 (DES Encryption): Add cindex FIPS 46-3.
9355 * locale/locarchive.h (struct locarhandle): Add fname.
9356 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9357 if an optional argument was specified to --list-archive,
9359 * locale/programs/locarchive.c (show_archive_content): Take new
9360 argument fname and pass it via ah.fname to open_archive.
9361 * locale/programs/localedef.h: Update decl.
9362 (open_archive): If AH->fname is non-null, open that file
9363 rather than the default file name, and don't ignore ENOENT.
9364 (create_archive): Set AH.fname to NULL.
9365 (delete_locales_from_archive): Likewise.
9366 (add_locales_to_archive): Likewise.
9367 * locale/programs/locfile.c (write_all_categories): Likewise.
9369 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9370 Aldy Hernandez <aldyh@redhat.com>
9372 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9373 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9374 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9375 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9376 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9377 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9378 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9379 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9380 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9381 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9382 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9383 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9384 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9385 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9386 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9388 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9390 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9392 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9394 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9395 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9397 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9398 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9399 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9400 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9402 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9403 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9404 * sysdeps/powerpc/preconfigure: Likewise.
9405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9407 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9408 Replace contents of file by #include of <fenv_libc.h>.
9409 * sysdeps/powerpc/soft-fp/sfp-machine.h
9410 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9412 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9413 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9414 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9415 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9416 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9417 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9419 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9420 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9421 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9422 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9423 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9425 Allow copysignl PLT reference to be missing.
9427 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9428 Joseph Myers <joseph@codesourcery.com
9431 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9433 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9435 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9437 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9438 * elf/tst-tls1.c: Likewise.
9439 * elf/tst-tls10.h: Likewise.
9440 * elf/tst-tls14.c: Likewise.
9441 * elf/tst-tls2.c: Likewise.
9442 * elf/tst-tls3.c: Likewise.
9443 * elf/tst-tls4.c: Likewise.
9444 * elf/tst-tls5.c: Likewise.
9445 * elf/tst-tls6.c: Likewise.
9446 * elf/tst-tls7.c: Likewise.
9447 * elf/tst-tls8.c: Likewise.
9448 * elf/tst-tls9.c: Likewise.
9449 * elf/tst-tlsmod1.c: Likewise.
9450 * elf/tst-tlsmod13.c: Likewise.
9451 * elf/tst-tlsmod13a.c: Likewise.
9452 * elf/tst-tlsmod14a.c: Likewise.
9453 * elf/tst-tlsmod16a.c: Likewise.
9454 * elf/tst-tlsmod16b.c: Likewise.
9455 * elf/tst-tlsmod2.c: Likewise.
9456 * elf/tst-tlsmod3.c: Likewise.
9457 * elf/tst-tlsmod4.c: Likewise.
9458 * elf/tst-tlsmod5.c: Likewise.
9459 * elf/tst-tlsmod6.c: Likewise.
9461 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9464 * malloc/malloc.c: remove checks for statistics.
9466 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9469 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9470 * inet/tst-network.c: Add testcase.
9472 2013-10-17 Andreas Schwab <schwab@suse.de>
9475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9476 to determine canonical name.
9478 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9480 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9481 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9491 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9492 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9493 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9501 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9502 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9503 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9504 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9505 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9506 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9507 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9508 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9509 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9510 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9511 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9512 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9515 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9517 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9527 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9528 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9529 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9530 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9531 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9532 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9533 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9535 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9536 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9537 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9539 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9542 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9543 make result into a quiet NaN.
9545 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9547 * soft-fp/adddf3.c: Fix horizontal whitespace.
9548 * soft-fp/addsf3.c: Likewise.
9549 * soft-fp/addtf3.c: Likewise.
9550 * soft-fp/divdf3.c: Likewise.
9551 * soft-fp/divsf3.c: Likewise.
9552 * soft-fp/divtf3.c: Likewise.
9553 * soft-fp/double.h: Likewise.
9554 * soft-fp/eqdf2.c: Likewise.
9555 * soft-fp/eqsf2.c: Likewise.
9556 * soft-fp/eqtf2.c: Likewise.
9557 * soft-fp/extenddftf2.c: Likewise.
9558 * soft-fp/extended.h: Likewise.
9559 * soft-fp/extendsfdf2.c: Likewise.
9560 * soft-fp/extendsftf2.c: Likewise.
9561 * soft-fp/extendxftf2.c: Likewise.
9562 * soft-fp/fixdfdi.c: Likewise.
9563 * soft-fp/fixdfsi.c: Likewise.
9564 * soft-fp/fixdfti.c: Likewise.
9565 * soft-fp/fixsfdi.c: Likewise.
9566 * soft-fp/fixsfsi.c: Likewise.
9567 * soft-fp/fixsfti.c: Likewise.
9568 * soft-fp/fixtfdi.c: Likewise.
9569 * soft-fp/fixtfsi.c: Likewise.
9570 * soft-fp/fixtfti.c: Likewise.
9571 * soft-fp/fixunsdfdi.c: Likewise.
9572 * soft-fp/fixunsdfsi.c: Likewise.
9573 * soft-fp/fixunsdfti.c: Likewise.
9574 * soft-fp/fixunssfdi.c: Likewise.
9575 * soft-fp/fixunssfsi.c: Likewise.
9576 * soft-fp/fixunssfti.c: Likewise.
9577 * soft-fp/fixunstfdi.c: Likewise.
9578 * soft-fp/fixunstfsi.c: Likewise.
9579 * soft-fp/fixunstfti.c: Likewise.
9580 * soft-fp/floatdidf.c: Likewise.
9581 * soft-fp/floatdisf.c: Likewise.
9582 * soft-fp/floatditf.c: Likewise.
9583 * soft-fp/floatsidf.c: Likewise.
9584 * soft-fp/floatsisf.c: Likewise.
9585 * soft-fp/floatsitf.c: Likewise.
9586 * soft-fp/floattidf.c: Likewise.
9587 * soft-fp/floattisf.c: Likewise.
9588 * soft-fp/floattitf.c: Likewise.
9589 * soft-fp/floatundidf.c: Likewise.
9590 * soft-fp/floatundisf.c: Likewise.
9591 * soft-fp/floatunditf.c: Likewise.
9592 * soft-fp/floatunsidf.c: Likewise.
9593 * soft-fp/floatunsisf.c: Likewise.
9594 * soft-fp/floatunsitf.c: Likewise.
9595 * soft-fp/floatuntidf.c: Likewise.
9596 * soft-fp/floatuntisf.c: Likewise.
9597 * soft-fp/floatuntitf.c: Likewise.
9598 * soft-fp/fmadf4.c: Likewise.
9599 * soft-fp/fmasf4.c: Likewise.
9600 * soft-fp/fmatf4.c: Likewise.
9601 * soft-fp/gedf2.c: Likewise.
9602 * soft-fp/gesf2.c: Likewise.
9603 * soft-fp/getf2.c: Likewise.
9604 * soft-fp/ledf2.c: Likewise.
9605 * soft-fp/lesf2.c: Likewise.
9606 * soft-fp/letf2.c: Likewise.
9607 * soft-fp/muldf3.c: Likewise.
9608 * soft-fp/mulsf3.c: Likewise.
9609 * soft-fp/multf3.c: Likewise.
9610 * soft-fp/negdf2.c: Likewise.
9611 * soft-fp/negsf2.c: Likewise.
9612 * soft-fp/negtf2.c: Likewise.
9613 * soft-fp/op-1.h: Likewise.
9614 * soft-fp/op-2.h: Likewise.
9615 * soft-fp/op-4.h: Likewise.
9616 * soft-fp/op-8.h: Likewise.
9617 * soft-fp/op-common.h: Likewise.
9618 * soft-fp/quad.h: Likewise.
9619 * soft-fp/single.h: Likewise.
9620 * soft-fp/soft-fp.h: Likewise.
9621 * soft-fp/sqrtdf2.c: Likewise.
9622 * soft-fp/sqrtsf2.c: Likewise.
9623 * soft-fp/sqrttf2.c: Likewise.
9624 * soft-fp/subdf3.c: Likewise.
9625 * soft-fp/subsf3.c: Likewise.
9626 * soft-fp/subtf3.c: Likewise.
9627 * soft-fp/truncdfsf2.c: Likewise.
9628 * soft-fp/trunctfdf2.c: Likewise.
9629 * soft-fp/trunctfsf2.c: Likewise.
9630 * soft-fp/trunctfxf2.c: Likewise.
9631 * soft-fp/unorddf2.c: Likewise.
9632 * soft-fp/unordsf2.c: Likewise.
9633 * soft-fp/unordtf2.c: Likewise.
9635 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9637 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9638 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9640 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9642 * elf/dl-libc.c: Clear initfini list after freeing.
9644 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9646 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9647 * soft-fp/addsf3.c: Likewise.
9648 * soft-fp/addtf3.c: Likewise.
9649 * soft-fp/divdf3.c: Likewise.
9650 * soft-fp/divsf3.c: Likewise.
9651 * soft-fp/divtf3.c: Likewise.
9652 * soft-fp/double.h: Likewise.
9653 * soft-fp/eqdf2.c: Likewise.
9654 * soft-fp/eqsf2.c: Likewise.
9655 * soft-fp/eqtf2.c: Likewise.
9656 * soft-fp/extenddftf2.c: Likewise.
9657 * soft-fp/extended.h: Likewise.
9658 * soft-fp/extendsfdf2.c: Likewise.
9659 * soft-fp/extendsftf2.c: Likewise.
9660 * soft-fp/extendxftf2.c: Likewise.
9661 * soft-fp/fixdfdi.c: Likewise.
9662 * soft-fp/fixdfsi.c: Likewise.
9663 * soft-fp/fixdfti.c: Likewise.
9664 * soft-fp/fixsfdi.c: Likewise.
9665 * soft-fp/fixsfsi.c: Likewise.
9666 * soft-fp/fixsfti.c: Likewise.
9667 * soft-fp/fixtfdi.c: Likewise.
9668 * soft-fp/fixtfsi.c: Likewise.
9669 * soft-fp/fixtfti.c: Likewise.
9670 * soft-fp/fixunsdfdi.c: Likewise.
9671 * soft-fp/fixunsdfsi.c: Likewise.
9672 * soft-fp/fixunsdfti.c: Likewise.
9673 * soft-fp/fixunssfdi.c: Likewise.
9674 * soft-fp/fixunssfsi.c: Likewise.
9675 * soft-fp/fixunssfti.c: Likewise.
9676 * soft-fp/fixunstfdi.c: Likewise.
9677 * soft-fp/fixunstfsi.c: Likewise.
9678 * soft-fp/fixunstfti.c: Likewise.
9679 * soft-fp/floatdidf.c: Likewise.
9680 * soft-fp/floatdisf.c: Likewise.
9681 * soft-fp/floatditf.c: Likewise.
9682 * soft-fp/floatsidf.c: Likewise.
9683 * soft-fp/floatsisf.c: Likewise.
9684 * soft-fp/floatsitf.c: Likewise.
9685 * soft-fp/floattidf.c: Likewise.
9686 * soft-fp/floattisf.c: Likewise.
9687 * soft-fp/floattitf.c: Likewise.
9688 * soft-fp/floatundidf.c: Likewise.
9689 * soft-fp/floatundisf.c: Likewise.
9690 * soft-fp/floatunsidf.c: Likewise.
9691 * soft-fp/floatunsisf.c: Likewise.
9692 * soft-fp/floatuntidf.c: Likewise.
9693 * soft-fp/floatuntisf.c: Likewise.
9694 * soft-fp/floatuntitf.c: Likewise.
9695 * soft-fp/fmadf4.c: Likewise.
9696 * soft-fp/fmasf4.c: Likewise.
9697 * soft-fp/fmatf4.c: Likewise.
9698 * soft-fp/gedf2.c: Likewise.
9699 * soft-fp/gesf2.c: Likewise.
9700 * soft-fp/getf2.c: Likewise.
9701 * soft-fp/ledf2.c: Likewise.
9702 * soft-fp/lesf2.c: Likewise.
9703 * soft-fp/letf2.c: Likewise.
9704 * soft-fp/muldf3.c: Likewise.
9705 * soft-fp/mulsf3.c: Likewise.
9706 * soft-fp/multf3.c: Likewise.
9707 * soft-fp/negdf2.c: Likewise.
9708 * soft-fp/negsf2.c: Likewise.
9709 * soft-fp/negtf2.c: Likewise.
9710 * soft-fp/op-1.h: Likewise.
9711 * soft-fp/op-2.h: Likewise.
9712 * soft-fp/op-4.h: Likewise.
9713 * soft-fp/op-8.h: Likewise.
9714 * soft-fp/op-common.h: Likewise.
9715 * soft-fp/quad.h: Likewise.
9716 * soft-fp/single.h: Likewise.
9717 * soft-fp/soft-fp.h: Likewise.
9718 * soft-fp/sqrtdf2.c: Likewise.
9719 * soft-fp/sqrtsf2.c: Likewise.
9720 * soft-fp/sqrttf2.c: Likewise.
9721 * soft-fp/subdf3.c: Likewise.
9722 * soft-fp/subsf3.c: Likewise.
9723 * soft-fp/subtf3.c: Likewise.
9724 * soft-fp/truncdfsf2.c: Likewise.
9725 * soft-fp/trunctfdf2.c: Likewise.
9726 * soft-fp/trunctfsf2.c: Likewise.
9727 * soft-fp/trunctfxf2.c: Likewise.
9728 * soft-fp/unorddf2.c: Likewise.
9729 * soft-fp/unordsf2.c: Likewise.
9730 * soft-fp/unordtf2.c: Likewise.
9732 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9735 * misc/error.c (error_tail): Fix possible buffer overflow.
9737 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9740 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9743 2013-10-14 P. J. McDermott <pj@pehjota.net>
9746 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9747 testing pipefail option.
9749 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9751 * soft-fp/double.h: Indent preprocessor directives inside #if.
9752 * soft-fp/extended.h: Likewise.
9753 * soft-fp/op-2.h: Likewise.
9754 * soft-fp/op-4.h: Likewise.
9755 * soft-fp/op-common.h: Likewise.
9756 * soft-fp/quad.h: Likewise.
9757 * soft-fp/single.h: Likewise.
9758 * soft-fp/soft-fp.h: Likewise.
9760 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9762 * iconv/iconv_prog.c: Fix typos.
9763 * stdio-common/psiginfo-data.h: Likewise.
9765 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9768 * locale/setlocale.c: Fix typo.
9770 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9773 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9774 signaling NaN arguments.
9775 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9776 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9779 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9781 * soft-fp/gesf2.c (__gesf2): Likewise.
9782 * soft-fp/getf2.c (__getf2): Likewise.
9783 * soft-fp/ledf2.c (__ledf2): Likewise.
9784 * soft-fp/lesf2.c (__lesf2): Likewise.
9785 * soft-fp/letf2.c (__letf2): Likewise.
9787 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9788 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9789 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9790 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9791 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9792 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9793 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9794 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9795 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9796 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9797 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9798 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9799 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9800 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9801 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9802 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9803 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9804 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9805 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9806 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9807 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9808 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9809 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9810 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9811 * soft-fp/floattidf.c (__floattidf): Likewise.
9812 * soft-fp/floattisf.c (__floattisf): Likewise.
9813 * soft-fp/floattitf.c (__floattitf): Likewise.
9814 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9815 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9816 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9817 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9818 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9819 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9820 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9821 * soft-fp/gesf2.c (__gesf2): Likewise.
9822 * soft-fp/getf2.c (__getf2): Likewise.
9823 * soft-fp/ledf2.c (__ledf2): Likewise.
9824 * soft-fp/lesf2.c (__lesf2): Likewise.
9825 * soft-fp/letf2.c (__letf2): Likewise.
9827 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9828 Undefine and redefine.
9829 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9830 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9831 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9832 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9833 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9834 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9835 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9836 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9837 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9838 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9839 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9840 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9841 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9842 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9843 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9846 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9847 without decrementing exponent if mantissa >= that for the
9849 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9850 denominator, not >. Decrement exponent in < case instead of
9851 incrementing in >= case.
9852 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9853 without decrementing exponent if mantissa >= that for the
9856 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9857 computing saturated result for unsigned overflow.
9859 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9860 Jeff Law <law@redhat.com>
9862 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9863 (atan2Mp): Add systemtap probe marker.
9864 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9865 (__ieee754_log): Add systemtap probe marker.
9866 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9867 (atanMp): Add systemtap probe marker.
9868 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9869 (tanMp): Add systemtap probe marker.
9870 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9871 (__slowexp): Add systemtap probe marker.
9872 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9873 (__slowpow): Add systemtap probe marker.
9874 * manual/probes.texi: Document probes.
9876 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9879 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9881 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9883 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9884 written to buffer but not flushed.
9885 * libio/iofwrite_u.c: Likewise.
9886 * libio/iopadn.c: Return bytes returned even if EOF was
9888 * libio/iowpadn.c: Likewise.
9889 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9890 if _IO_padn does not write the whole buffer.
9891 [!COMPILE_WPRINTF] (PAD): Likewise.
9893 2013-10-10 David S. Miller <davem@davemloft.net>
9895 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9898 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9900 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9901 instead of FSF address.
9902 * soft-fp/fixdfti.c: Likewise.
9903 * soft-fp/fixsfti.c: Likewise.
9904 * soft-fp/fixtfti.c: Likewise.
9905 * soft-fp/fixunsdfti.c: Likewise.
9906 * soft-fp/fixunssfti.c: Likewise.
9907 * soft-fp/fixunstfti.c: Likewise.
9908 * soft-fp/floattidf.c: Likewise.
9909 * soft-fp/floattisf.c: Likewise.
9910 * soft-fp/floattitf.c: Likewise.
9911 * soft-fp/floatuntidf.c: Likewise.
9912 * soft-fp/floatuntisf.c: Likewise.
9913 * soft-fp/floatuntitf.c: Likewise.
9914 * soft-fp/trunctfxf2.c: Likewise.
9916 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9917 * soft-fp/fixdfti.c: Likewise.
9918 * soft-fp/fixsfti.c: Likewise.
9919 * soft-fp/fixtfti.c: Likewise.
9920 * soft-fp/fixunsdfti.c: Likewise.
9921 * soft-fp/fixunssfti.c: Likewise.
9922 * soft-fp/fixunstfti.c: Likewise.
9923 * soft-fp/floattidf.c: Likewise.
9924 * soft-fp/floattisf.c: Likewise.
9925 * soft-fp/floattitf.c: Likewise.
9926 * soft-fp/floatuntidf.c: Likewise.
9927 * soft-fp/floatuntisf.c: Likewise.
9928 * soft-fp/floatuntitf.c: Likewise.
9929 * soft-fp/trunctfxf2.c: Likewise.
9931 2013-10-10 David S. Miller <davem@davemloft.net>
9933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9935 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9937 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9938 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9939 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9940 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9941 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9942 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9943 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9945 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9946 for NaNs before doing comparisons on argument.
9947 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9950 2013-10-10 Will Newton <will.newton@linaro.org>
9952 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9953 passed to _int_memalign does not overflow.
9955 2013-10-10 Torvald Riegel <triegel@redhat.com>
9957 * scripts/bench.pl: Add include-sources directive.
9958 * benchtests/README: Update documentation.
9960 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9962 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9963 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9964 instead of FP_INIT_ROUNDMODE.
9965 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9966 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9969 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9970 copy class of input value.
9971 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9972 not handle exceptions.
9973 * soft-fp/negsf2.c (__negsf2): Likewise.
9974 * soft-fp/negtf2.c (__negtf2): Likewise.
9975 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9977 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9979 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9980 semicolon. From Linux kernel.
9982 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9984 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9986 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9989 * manual/socket.texi: Added statement about buffer
9990 for gethostbyname2_r.
9992 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9994 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9995 Use .p2align directive instead, throughout.
9996 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9997 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9998 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9999 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10000 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10001 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10002 * sysdeps/x86_64/strchr.S: Likewise.
10003 * sysdeps/x86_64/strrchr.S: Likewise.
10005 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10007 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10009 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10011 * sysdeps/generic/math_private.h (__mpsin1): Remove
10013 (__mpcos1): Likewise.
10014 (__mpsin): New argument __range_reduce.
10015 (__mpcos): Likewise.
10016 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10017 (slow): Use __mpsin and __mpcos.
10021 (sloww1): Likewise.
10022 (sloww2): Likewise.
10023 (bsloww): Likewise.
10024 (bsloww1): Likewise.
10025 (bsloww2): Likewise.
10026 (cslow2): Likewise.
10027 (csloww): Likewise.
10028 (csloww1): Likewise.
10029 (csloww2): Likewise.
10030 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10031 range_reduce. Merge in __mpsin1.
10032 (__mpcos): Likewise.
10033 (__mpsin1): Remove.
10034 (__mpcos1): Likewise.
10036 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10038 * locale/loadlocale.c (_nl_intern_locale_data): Use
10040 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10041 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10042 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10043 obstack data is appropriately aligned.
10044 (obstack_int32_grow_fast): Likewise.
10045 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10046 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10047 (add_locale_uint32_array): Likewise.
10049 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10051 * benchtests/Makefile: Remove ARGLIST and RET variables.
10052 ($(objpfx)bench-%.c): Pass only function name to the script.
10053 * benchtests/README: Update documentation.
10054 * benchtests/acos-inputs: Add new directives.
10055 * benchtests/acosh-inputs: Likewise.
10056 * benchtests/asin-inputs: Likewise.
10057 * benchtests/asinh-inputs: Likewise.
10058 * benchtests/atan-inputs: Likewise.
10059 * benchtests/atanh-inputs: Likewise.
10060 * benchtests/cos-inputs: Likewise.
10061 * benchtests/cosh-inputs: Likewise.
10062 * benchtests/exp-inputs: Likewise.
10063 * benchtests/log-inputs: Likewise.
10064 * benchtests/pow-inputs: Likewise.
10065 * benchtests/rint-inputs: Likewise.
10066 * benchtests/sin-inputs: Likewise.
10067 * benchtests/sinh-inputs: Likewise.
10068 * benchtests/tan-inputs: Likewise.
10069 * benchtests/tanh-inputs: Likewise.
10070 * scripts/bench.pl: Add support for new directives.
10072 2013-10-07 Alan Modra <amodra@gmail.com>
10074 * README: Fix careless merge.
10076 2013-10-05 Alan Modra <amodra@gmail.com>
10078 * NEWS: Mention powerpc64le support and bugs fixed.
10079 * README: Both big-endian and little-endian powerpc64 supported.
10081 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10083 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10084 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10085 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10086 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10088 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10090 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10093 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10095 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10096 Move -mhard-float appending from
10097 ports/sysdeps/powerpc/powerpc32/Makefile.
10098 [$(with-fp) = yes] (ASFLAGS): Likewise.
10099 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10100 * sysdeps/powerpc/nofpu: Move directory from
10101 ports/sysdeps/powerpc/nofpu.
10102 * sysdeps/powerpc/soft-fp: Move directory from
10103 ports/sysdeps/powerpc/soft-fp.
10104 * sysdeps/powerpc/powerpc32/405: Move directory from
10105 ports/sysdeps/powerpc/powerpc32/405.
10106 * sysdeps/powerpc/powerpc32/440: Move directory from
10107 ports/sysdeps/powerpc/powerpc32/440.
10108 * sysdeps/powerpc/powerpc32/464: Move directory from
10109 ports/sysdeps/powerpc/powerpc32/464.
10110 * sysdeps/powerpc/powerpc32/476: Move directory from
10111 ports/sysdeps/powerpc/powerpc32/476.
10112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10113 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10115 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10117 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10119 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10121 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10122 * README: Update for powerpc-*-linux-gnu software floating point
10125 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10126 case to powerpc/powerpc32*.
10127 * sysdeps/unix/sysv/linux/configure: Regenerated.
10129 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10130 (_FPU_MASK_OM): Define as 0x04.
10131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10136 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10139 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10142 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10145 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10146 and setcontext_e500.
10148 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10150 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10152 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10154 * manual/threads.texi (Default Thread Attributes): Fix typo.
10156 2013-10-04 Will Newton <will.newton@linaro.org>
10158 * malloc/Makefile: Add tst-memalign.
10159 * malloc/tst-memalign.c: New file.
10161 * malloc/tst-posix_memalign.c: Add comments.
10162 (do_test): Add comments and call free on all potentially
10163 allocated pointers. Add space after cast.
10165 * malloc/tst-pvalloc.c: Add comments.
10166 (do_test): Add comments and call free on all potentially
10167 allocated pointers. Remove duplicate check for NULL pointer.
10168 Add space after cast.
10170 * malloc/tst-valloc.c: Add comments.
10171 (do_test): Add comments and call free on all potentially
10172 allocated pointers. Remove duplicate check for NULL pointer.
10173 Add space after cast.
10175 2013-10-04 Alan Modra <amodra@gmail.com>
10177 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10178 Use stdint types in rather than __attribute__((mode())).
10179 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10181 2013-10-04 Alan Modra <amodra@gmail.com>
10183 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10184 Correct handling of unaligned relocs for little-endian.
10185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10187 2013-10-04 Alan Modra <amodra@gmail.com>
10189 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10190 * configure: Regenerate.
10191 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10192 * shlib-versions: Likewise.
10194 2013-10-04 Alan Modra <amodra@gmail.com>
10196 * string/tester.c (test_memrchr): Increment reported test cycle.
10198 2013-10-04 Alan Modra <amodra@gmail.com>
10200 * string/test-memcpy.c (do_one_test): When reporting errors, print
10201 string address and don't overrun end of string.
10203 2013-10-04 Alan Modra <amodra@gmail.com>
10205 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10206 insrdi. Make better use of reg selection to speed exit slightly.
10207 Schedule entry path a little better. Remove useless "are we done"
10208 checks on entry to main loop. Handle wrapping around zero address.
10209 Correct main loop count. Handle single left-over word from main
10210 loop inline rather than by using loop_small. Remove extra word
10211 case in loop_small caused by wrong loop count. Add little-endian
10213 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10214 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10216 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10217 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10218 support. Avoid rlwimi.
10219 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10221 2013-10-04 Alan Modra <amodra@gmail.com>
10223 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10224 insrdi. Formatting.
10225 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10226 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10227 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10228 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10229 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10230 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10232 2013-10-04 Alan Modra <amodra@gmail.com>
10234 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10235 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10236 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10237 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10238 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10239 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10240 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10241 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10242 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10243 use of regs. Use power7 mtocrf. Tidy function tails.
10245 2013-10-04 Alan Modra <amodra@gmail.com>
10247 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10248 Formatting. Consistently use rXXX register defines or rN defines.
10249 Use early exit labels that avoid restoring unused non-volatile regs.
10250 Make cr field use more consistent with rWORDn compares. Rename
10251 regs used as shift registers for unaligned loop, using rN defines
10252 for short lifetime/multiple use regs.
10253 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10254 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10255 addi 1,1,64 to pop stack frame. Simplify return value code.
10256 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10258 2013-10-04 Alan Modra <amodra@gmail.com>
10260 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10261 support. Correct typos, formatting. Optimize tail. Use insrdi
10262 rather than rlwimi.
10263 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10264 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10265 little-endian support. Correct typos.
10266 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10267 rather than rlwimi.
10268 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10269 in loop and entry code to keep "and." results.
10270 (strchr): Add little-endian support. Comment. Move cntlzd
10272 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10274 2013-10-04 Alan Modra <amodra@gmail.com>
10276 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10277 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10278 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10279 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10281 2013-10-04 Alan Modra <amodra@gmail.com>
10283 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10284 (rTMP): Define as r11.
10285 (strcmp): Add little-endian support. Optimise tail.
10286 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10287 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10288 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10289 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10290 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10291 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10292 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10294 2013-10-04 Alan Modra <amodra@gmail.com>
10296 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10297 little-endian support. Remove unnecessary "are we done" tests.
10298 Handle "s" wrapping around zero and extremely large "size".
10299 Correct main loop count. Handle single left-over word from main
10300 loop inline rather than by using small_loop. Correct comments.
10301 Delete "zero" tail, use "end_max" instead.
10302 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10304 2013-10-04 Alan Modra <amodra@gmail.com>
10306 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10307 support. Don't branch over align.
10308 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10309 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10310 support. Rearrange tmp reg use to suit. Comment.
10311 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10313 2013-10-04 Alan Modra <amodra@gmail.com>
10315 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10317 2013-10-04 Alan Modra <amodra@gmail.com>
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10320 conditional form of branch and link when obtaining pc.
10321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10323 2013-10-04 Alan Modra <amodra@gmail.com>
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10330 2013-10-04 Alan Modra <amodra@gmail.com>
10332 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10333 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10334 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10335 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10336 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10337 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10338 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10339 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10340 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10341 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10343 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10344 Alistair Popple <alistair@ozlabs.au.ibm.com>
10345 Alan Modra <amodra@gmail.com>
10348 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10349 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10350 _dl_hwcap access for little-endian.
10351 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10352 destroy vmx regs when saving unaligned.
10353 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10354 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10355 destroy vmx regs when saving unaligned.
10357 2013-10-04 Alan Modra <amodra@gmail.com>
10359 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10360 Don't use a union to pack hi/low value.
10362 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10364 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10366 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10367 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10368 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10369 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10370 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10372 2013-10-04 Alan Modra <amodra@gmail.com>
10374 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10375 constants to usual value for .cst8 section, and remove redundant
10377 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10378 constant for 0x1p52. Load little-endian words of double from
10379 correct stack offsets.
10381 2013-10-04 Alan Modra <amodra@gmail.com>
10383 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10384 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10385 words of double from correct stack offsets.
10386 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10387 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10388 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10389 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10390 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10391 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10392 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10393 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10394 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10395 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10396 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10397 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10398 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10399 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10400 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10401 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10402 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10404 2013-10-04 Alan Modra <amodra@gmail.com>
10406 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10407 64-bit int/double union.
10408 (_FPU_SETCW): Likewise.
10409 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10410 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10412 2013-10-04 Alan Modra <amodra@gmail.com>
10414 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10415 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10417 2013-10-04 Alan Modra <amodra@gmail.com>
10419 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10420 use vector int constants.
10421 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10423 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10425 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10426 array with long long.
10427 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10428 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10429 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10430 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10431 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10432 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10433 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10434 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10435 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10436 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10437 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10438 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10439 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10441 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10443 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10444 (__signbit): Likewise. Correct for little-endian.
10445 (__signbitl): Call __signbit.
10446 (lrint): Correct for little-endian.
10447 (lrintf): Call lrint.
10449 2013-10-04 Alan Modra <amodra@gmail.com>
10451 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10452 union 32-bit int array member with 64-bit int array.
10453 (t515, tm256): Double rather than long double.
10454 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10456 2013-10-04 Alan Modra <amodra@gmail.com>
10458 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10460 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10461 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10462 version of math_ldbl.h.
10464 2013-10-04 Alan Modra <amodra@gmail.com>
10466 [BZ #15734], [BZ #15735]
10467 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10468 all uses of ieee875 long double macros and unions. Simplify test
10469 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10470 ldbl_extract_mantissa value for ix,iy exponents. Properly
10471 normalize after ldbl_extract_mantissa, and don't add hidden bit
10472 already handled. Don't treat low word of ieee854 mantissa like
10473 low word of IBM long double and mask off bit when testing for
10475 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10476 all uses of ieee875 long double macros and unions. Simplify tests
10477 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10478 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10479 two1022, instead use their values. Recognise that tests for large
10480 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10481 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10482 Rewrite all uses of ieee875 long double macros and unions. Simplify
10483 test for 0.0L and nan. Correct negation.
10484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10485 ieee875 long double macros and unions. Correct output for large
10486 magnitude x. Correct absolute value calculation.
10487 (__erfcl): Likewise.
10488 * math/libm-test.inc: Add tests for errors discovered in IBM long
10489 double versions of fmodl, remainderl, erfl and erfcl.
10491 2013-10-04 Alan Modra <amodra@gmail.com>
10493 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10494 all uses of ieee854 long double macros and unions. Simplify tests
10495 for long doubles that are fully specified by the high double.
10496 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10498 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10499 Remove dead code too.
10500 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10501 (__ieee754_ynl): Likewise.
10502 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10503 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10504 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10505 Remove dead code too.
10506 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10507 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10508 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10509 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10511 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10513 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10514 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10515 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10516 Comment on variable precision.
10517 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10518 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10520 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10521 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10522 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10523 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10524 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10526 2013-10-04 Alan Modra <amodra@gmail.com>
10528 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10530 all uses of ieee854 long double macros and unions.
10531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10532 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10533 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10534 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10535 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10536 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10538 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10539 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10540 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10541 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10542 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10543 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10544 Simplify sign and nan test too.
10545 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10546 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10547 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10548 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10550 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10551 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10553 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10554 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10555 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10556 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10557 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10558 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10560 2013-10-04 Alan Modra <amodra@gmail.com>
10562 * stdio-common/printf_size.c (__printf_size): Don't use
10563 union ieee854_long_double in fpnum union.
10564 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10565 signbit macro to retrieve sign from long double.
10566 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10567 retrieve sign from long double.
10568 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10569 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10570 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10571 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10572 * math/test-misc.c (main): Don't use union ieee854_long_double.
10574 2013-10-04 Alan Modra <amodra@gmail.com>
10577 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10578 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10579 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10580 calculation. Remove unnecessary test for denormal exponent.
10581 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10582 Correct handling of denormals. Avoid undefined shift behaviour.
10583 Correct normalisation of low mantissa when low double is denormal.
10584 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10585 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10586 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10587 Correct normalisation of low mantissa. Test for overflow of high
10588 mantissa and normalise.
10589 (ldbl_nearbyint): Use more readable constant for two52.
10590 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10591 (__mpn_construct_long_double): Fix test for overflow of high
10592 mantissa and correct normalisation. Avoid undefined shift.
10594 2013-10-04 Alan Modra <amodra@gmail.com>
10596 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10597 (union ibm_extended_long_double): Define as an array of ieee754_double.
10598 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10599 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10600 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10601 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10602 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10603 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10604 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10605 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10606 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10607 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10608 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10610 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10612 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10613 page size instead of calling getpagesize.
10615 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10616 (LOCFILE_ALIGN_MASK): Likewise.
10617 (LOCFILE_ALIGN_UP): Likewise.
10618 (LOCFILE_ALIGNED_P): Likewise.
10619 * locale/programs/ld-collate.c (collate_output): Use the new
10620 macros instead of __alignof__ (int32_t).
10621 * locale/weight.h (findidx): Likewise.
10623 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10626 * manual/string.texi: Fix strncat and wcsncat.
10628 2013-10-03 Brooks Moses <bmoses@google.com>
10631 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10632 * Makerules: ...here, and adjust associated comments.
10634 2013-10-02 Will Newton <will.newton@linaro.org>
10636 * malloc/Makefile: Add tst-pvalloc.
10637 * malloc/tst-pvalloc.c: New file.
10639 2013-10-02 Will Newton <will.newton@linaro.org>
10641 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10642 improve test coverage.
10644 2013-10-02 Will Newton <will.newton@linaro.org>
10646 * malloc/Makefile: Add tst-posix_memalign.
10647 * malloc/tst-posix_memalign.c: New file.
10649 2013-10-01 Eric Blake <eblake@redhat.com>
10651 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10652 Use __THROWNL rather than __THROW on static functions.
10654 2013-09-30 Petr Machata <pmachata@redhat.com>
10656 * elf/elf.h (R_AARCH64_ABS16): New macro.
10657 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10658 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10659 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10660 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10661 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10662 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10663 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10664 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10665 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10666 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10667 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10668 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10669 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10670 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10671 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10672 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10673 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10674 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10675 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10676 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10677 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10678 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10679 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10680 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10681 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10682 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10683 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10684 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10685 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10686 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10687 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10688 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10689 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10690 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10691 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10692 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10693 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10694 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10695 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10696 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10697 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10698 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10699 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10700 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10701 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10702 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10703 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10704 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10705 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10706 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10707 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10708 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10709 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10710 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10711 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10712 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10713 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10714 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10715 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10716 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10717 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10718 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10719 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10720 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10721 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10722 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10723 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10724 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10725 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10726 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10727 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10728 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10729 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10730 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10731 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10732 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10733 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10734 (R_AARCH64_TLSDESC_LDR): Likewise.
10735 (R_AARCH64_TLSDESC_ADD): Likewise.
10736 (R_AARCH64_TLSDESC_CALL): Likewise.
10738 2013-09-30 Andreas Schwab <schwab@suse.de>
10741 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10742 the nss database lookup.
10743 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10746 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10748 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10750 2013-09-28 P. J. McDermott <pj@pehjota.net>
10752 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10753 ${Bash-specific parameter/pattern/string} parameter expansion.
10754 * sysdeps/unix/make-syscalls.sh: Likewise.
10756 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10758 * sysdeps/sh/stackguard-macros.h: New file.
10760 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10764 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10765 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10766 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10767 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10769 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10771 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10772 Fix thread ID register.
10774 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10776 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10777 [POSIX || UNIX98]: Require rather than permitting all symbols from
10779 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10780 element of struct sched_param.
10781 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10782 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10783 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10784 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10787 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10789 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10790 argument calculation.
10792 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10794 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10796 [POSIX] (pthread_attr_t): Do not require type.
10797 [POSIX] (pthread_cond_t): Likewise.
10798 [POSIX] (pthread_condattr_t): Likewise.
10799 [POSIX] (pthread_key_t): Likewise.
10800 [POSIX] (pthread_mutex_t): Likewise.
10801 [POSIX] (pthread_mutexattr_t): Likewise.
10802 [POSIX] (pthread_once_t): Likewise.
10803 [POSIX] (pthread_t): Likewise.
10804 [POSIX-based standards] (pthread_atfork): Expect function.
10806 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10807 Richard Sandiford <richard@codesourcery.com>
10809 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10810 (swap_endianness_p): New extern variable.
10811 (set_big_endian): New inline function.
10812 (maybe_swap_uint32): Likewise.
10813 (maybe_swap_uint32_array): Likewise.
10814 (maybe_swap_uint32_obstack): Likewise.
10815 * locale/programs/locfile.c: Include <stdbool.h>.
10816 (swap_endianness_p): New variable.
10817 (add_locale_uint32): Call maybe_swap_uint32.
10818 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10819 (write_locale_data): Call maybe_swap_uint32_array.
10820 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10822 (obstack_int32_grow_fast): Likewise.
10823 (output_weightwc): Call maybe_swap_uint32_obstack.
10824 (collate_output): Likewise.
10825 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10826 (OPT_LITTLE_ENDIAN): Likewise.
10827 (options): Add --little-endian and --big-endian options.
10828 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10829 * locale/programs/locarchive.c: Include "locfile.h".
10833 (create_archive): Use the new macros to access fields of
10834 structures directly mapped from or written to locale archives.
10835 (oldlocrecentcmp): Likewise.
10836 (enlarge_archive): Likewise.
10837 (insert_name): Likewise.
10838 (add_alias): Likewise.
10839 (add_locale): Likewise.
10840 (delete_locales_from_archive): Likewise.
10841 (show_archive_content): Likewise.
10842 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10845 2013-09-24 Roland McGrath <roland@hack.frob.com>
10847 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10848 http://www.gnu.org/doc/freemanuals.texi.
10849 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10851 2013-09-24 Will Newton <will.newton@linaro.org>
10853 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10856 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10858 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10861 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10863 * manual/threads.texi (POSIX Threads): Fix a typo.
10865 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10868 * string/tst-strcoll-overflow.c: New test case.
10869 * string/Makefile (xtests): Add tst-strcoll-overflow.
10870 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10871 cache if string sizes may cause integer overflow.
10874 * string/strcoll_l.c (coll_seq): New members rule, idx,
10875 save_idx and back_us.
10876 (get_next_seq_nocache): New function.
10877 (do_compare_nocache): New function.
10878 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10881 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10884 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10885 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10886 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10889 * elf/Makefile (tests): Add tst-ptrguard1.
10890 (tests-static): Add tst-ptrguard1-static.
10891 (tst-ptrguard1-ARGS): Define.
10892 (tst-ptrguard1-static-ARGS): Define.
10893 * elf/tst-ptrguard1.c: New file.
10894 * elf/tst-ptrguard1-static.c: New file.
10895 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10896 * sysdeps/i386/stackguard-macros.h: Likewise.
10897 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10898 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10899 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10900 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10901 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10902 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10904 2013-09-23 Hector Marco <hecmargi@upv.es>
10905 Ismael Ripoll <iripoll@disca.upv.es>
10906 Carlos O'Donell <carlos@redhat.com>
10909 * sysdeps/generic/stackguard-macros.h: Define
10910 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10911 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10912 Define __pointer_chk_guard_local.
10913 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10914 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10916 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10919 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10921 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10923 * include/string.h (__ffs): Declare as hidden.
10924 * string/ffs.c (__ffs): Define as hidden.
10925 * sysdeps/i386/ffs.c (__ffs): Likewise.
10926 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10927 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10928 * sysdeps/s390/ffs.c (__ffs): Likewise.
10929 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10931 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10933 * NEWS: Mention malloc probes.
10935 * malloc/arena.c (new_heap): New memory_heap_new probe.
10936 (grow_heap): New memory_heap_more probe.
10937 (shrink_heap): New memory_heap_less probe.
10938 (heap_trim): New memory_heap_free probe.
10939 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10940 (systrim): New memory_sbrk_less probe.
10941 * manual/probes.texi: Document them.
10943 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10944 * manual/probes.texi: Document it.
10946 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10947 (__libc_realloc): Add memory_realloc_retry probe.
10948 (__libc_memalign): Add memory_memalign_retry probe.
10949 (__libc_valloc): Add memory_valloc_retry probe.
10950 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10951 (__libc_calloc): Add memory_calloc_retry probe.
10952 * manual/probes.texi: Document them.
10954 * malloc/arena.c (get_free_list): Add probe
10955 memory_arena_reuse_free_list.
10956 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10957 and memory_arena_reuse.
10958 (arena_get2) [!PER_THREAD]: Likewise.
10959 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10960 memory_arena_reuse_realloc.
10961 * manual/probes.texi: Document them.
10963 * malloc/malloc.c (__libc_free): Add
10964 memory_mallopt_free_dyn_thresholds probe.
10965 (__libc_mallopt): Add multiple memory_mallopt probes.
10966 * manual/probes.texi: Document them.
10968 * malloc/malloc.c: Include stap-probe.h.
10969 (__libc_mallopt): Add memory_mallopt probe.
10970 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10971 * manual/probes.texi: New.
10972 * manual/Makefile (chapters): Add probes.
10973 * manual/threads.texi: Set next node.
10975 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10977 [BZ #15963, #13985]
10978 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10979 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10980 Add `Chinese' to `nan' entry name.
10982 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10984 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10985 (POLYNOMIAL): Likewise.
10986 (TAYLOR_SINCOS): Likewise.
10987 (TAYLOR_SLOW): Likewise.
10988 (__sin): Use TAYLOR_SINCOS.
10990 (slow): Use TAYLOR_SLOW.
10992 (bsloww): Likewise.
10993 (csloww): Likewise.
10995 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10997 * stdlib/strtod_l.c: Fix buffer overrun.
10999 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11001 * benchtests/Makefile (bench): Add sincos.
11002 * benchtests/bench-sincos.c: New file.
11004 * math/libm-test.inc (cos_test_data): New test inputs.
11005 (sin_test_data): Likewise.
11007 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11013 (sloww1): Likewise.
11014 (sloww2): Likewise.
11015 (bsloww1): Likewise.
11016 (bsloww2): Likewise.
11017 (cslow2): Likewise.
11018 (csloww1): Likewise.
11019 (csloww2): Likewise.
11021 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11026 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11030 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11032 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11033 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11034 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11035 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11036 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11037 * elf/cache.c (print_entry): Handle the new cache flags.
11039 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11040 Aldy Hernandez <aldyh@redhat.com>
11042 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11043 Change condition to [_SOFT_FLOAT].
11044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11056 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11059 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11062 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11064 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11065 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11066 (__longjmp): Use LOAD_GP to load saved GPRs.
11067 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11068 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11069 (__sigsetjmp): Use SAVE_GP to save GPRs.
11071 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11072 Do not append -msoft-float.
11073 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11075 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11077 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11079 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11082 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11083 (_FPU_GETCW): Use initial "__" on variable and field names but not
11084 on macro parameter name.
11085 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11086 parentheses around reference to macro parameter.
11088 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11090 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11092 (ctype_startup): Use uint32_t in cast and sizeof for
11095 2013-09-11 Jia Liu <proljc@gmail.com>
11097 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11099 [__FreeBSD__]: Likewise.
11101 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
11103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11104 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11105 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11106 (strchr): Remove __strchr_sse42 ifunc selection.
11107 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11108 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11110 2013-09-11 Will Newton <will.newton@linaro.org>
11112 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11113 parameter to RES. Remove hardcoded 1000 value.
11114 * benchtests/bench-skeleton.c (main): Pass RES parameter
11115 to TIMING_INIT and multiply result by 1000.
11117 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11121 2013-09-11 Andreas Schwab <schwab@suse.de>
11123 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11125 (O_TMPFILE) [__USE_GNU]: Define.
11126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11129 2013-09-11 Will Newton <will.newton@linaro.org>
11132 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11135 2013-09-11 Will Newton <will.newton@linaro.org>
11138 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11141 2013-09-11 Will Newton <will.newton@linaro.org>
11144 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11147 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
11149 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11150 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11155 2013-09-10 Allan McRae <allan@archlinux.org>
11158 * manual/arith.texi (Parsing of Floats): Clarify
11162 * manual/install.texi (Running make install): Mention
11164 * INSTALL: Regenerated.
11166 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11168 * csu/init-first.c (_init): Remove the !SHARED condition around
11169 FPU control word initialization.
11170 * elf/dl-support.c (_dl_fpu_control): New variable.
11171 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11172 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11173 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11174 * math/test-fpucw-static.c: New file.
11175 * math/test-fpucw-ieee.c: New file.
11176 * math/test-fpucw-ieee-static.c: New file.
11177 * math/Makefile (tests): Add `test-fpucw-ieee' and
11179 (tests-static): New variable.
11180 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11182 [($(build-shared),yes)]
11183 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11185 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11188 2013-09-09 Allan McRae <allan@archlinux.org>
11191 * manual/string.texi (Collation Functions): Fix typo in
11193 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11196 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11199 * libio/memstream.c (open_memstream): Fix memory leak.
11200 * libio/wmemstream.c (open_wmemstream): Likewise.
11203 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11205 2013-09-09 Will Newton <will.newton@linaro.org>
11207 * malloc/Makefile: Add tst-realloc to tests.
11208 * malloc/tst-realloc.c: New file.
11210 2013-09-09 Allan McRae <allan@archlinux.org>
11213 * COPYING: Update from GNU website to fix FSF address.
11214 * COPYING.LIB: Likewise.
11216 2013-09-06 David S. Miller <davem@davemloft.net>
11218 * po/zh_TW.po: Update Chinese (traditional) translation from
11219 translation project.
11221 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11222 Joseph Myers <joseph@codesourcery.com>
11224 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11226 (obstack_chunk_alloc): New macro.
11227 (obstack_chunk_free): Likewise.
11228 (record_offset): New function.
11229 (init_locale_data): Likewise.
11230 (align_locale_data): Likewise.
11231 (add_locale_empty): Likewise.
11232 (add_locale_raw_data): Likewise.
11233 (add_locale_raw_obstack): Likewise.
11234 (add_locale_string): Likewise.
11235 (add_locale_wstring): Likewise.
11236 (add_locale_uint32): Likewise.
11237 (add_locale_uint32_array): Likewise.
11238 (add_locale_char): Likewise.
11239 (start_locale_structure): Likewise.
11240 (end_locale_structure): Likewise.
11241 (start_locale_prelude): Likewise.
11242 (end_locale_prelude): Likewise.
11243 (write_locale_data): Take locale_file structure rather than an
11245 * locale/programs/locfile.h: Include "obstack.h".
11246 (struct locale_file): Change to store locale file contents instead
11248 (init_locale_data): New prototype.
11249 (align_locale_data): Likewise.
11250 (add_locale_empty): Likewise.
11251 (add_locale_raw_data): Likewise.
11252 (add_locale_raw_obstack): Likewise.
11253 (add_locale_string): Likewise.
11254 (add_locale_wstring): Likewise.
11255 (add_locale_uint32): Likewise.
11256 (add_locale_uint32_array): Likewise.
11257 (add_locale_char): Likewise.
11258 (start_locale_structure): Likewise.
11259 (end_locale_structure): Likewise.
11260 (start_locale_prelude): Likewise.
11261 (end_locale_prelude): Likewise.
11262 (write_locale_data): Update prototype.
11263 * locale/programs/3level.h (struct TABLE): Remove result field.
11264 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11265 Use new locale_file interface.
11266 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11267 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11268 * locale/programs/ld-address.c (address_output): Use new
11269 locale_file interface.
11270 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11272 (collate_finish): Don't call collseq_table_finalize.
11273 (collate_output): Use new locale_file interface.
11274 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11276 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11277 (TABLE): Move defines earlier in file.
11278 (ELEMENT): Likewise.
11279 (DEFAULT): Likewise.
11280 (wctrans_table_add): Move macro and inline function earlier in
11282 (struct wctype_table): Move type earlier in file.
11283 (add_locale_wctype_table): New static prototype.
11284 (struct locale_ctype_t): Use logical types instead of struct iovec
11285 pointers for members.
11286 (ctype_output): Use new locale_file interface.
11287 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11288 new locale_file interface.
11289 (allocate_arrays): Update for use of new locale_file interface.
11290 * locale/programs/ld-identification.c (identification_output): Use
11291 new locale_file interface.
11292 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11293 * locale/programs/ld-messages.c (messages_output): Likewise.
11294 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11295 * locale/programs/ld-name.c (name_output): Likewise.
11296 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11297 * locale/programs/ld-paper.c (paper_output): Likewise.
11298 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11299 * locale/programs/ld-time.c (time_output): Likewise.
11301 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11303 * benchtests/Makefile: Add memrchr benchmark.
11304 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11305 benchmark as memrchr.
11306 * benchtests/bench-memrchr-ifunc.c: New file.
11307 * benchtests/bench-memrchr.c: New file.
11309 2013-09-06 Will Newton <will.newton@linaro.org>
11311 * benchtests/Makefile (string-bench): Add memcpy.
11313 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11314 Cong Wang <amwang@redhat.com>
11317 * sysdeps/unix/sysv/linux/bits/in.h
11318 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11319 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11320 before __USE_KERNEL_IPV6_DEFS uses.
11321 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11323 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11324 sockaddr_in6, or ipv6_mreq.
11326 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11328 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11329 memory access for final bytes in some large inputs.
11330 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11332 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11334 * string/test-memrchr.c: New file.
11335 * string/test-memrchr-ifunc.c: New file.
11336 * string/Makefile: Add new memrchr testcase.
11338 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11340 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11341 fanotify_init returns EPERM.
11343 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11345 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11347 (top level): Treat second token from macro or constant entries for
11348 allowed headers as allowed.
11349 * include/complex.h: Condition internal declarations on
11351 * include/fenv.h: Condition include of <stdbool.h> and internal
11352 declarations on [!_ISOMAC].
11354 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11357 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11359 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11361 * configure.in (--enable-versioning): Remove configure option.
11362 (libc_cv_asm_symver_directive): Remove configure test.
11363 (libc_cv_ld_version_script_option): Likewise.
11364 (VERSIONING): Remove variable and AC_SUBST.
11365 (DO_VERSIONING): Remove AC_DEFINE.
11366 * configure: Regenerated.
11367 * config.h.in (DO_VERSIONING): Remove macro.
11368 * Makerules [$(versioning) = yes]: Change conditionals to
11369 [$(build-shared) = yes].
11370 * config.make.in (versioning): Remove variable.
11371 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11372 [$(build-shared) = yes].
11373 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11374 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11375 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11376 [$(build-shared) = yes].
11377 * extra-lib.mk [$(versioning) = yes]: Likewise.
11378 * hurd/Makefile [$(versioning) = yes]: Likewise.
11379 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11381 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11383 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11384 [SHARED && !NO_HIDDEN].
11385 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11387 [SHARED && DO_VERSIONING]: Likewise..
11388 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11389 [$(build-shared) = yes].
11390 * manual/install.texi (--disable-versioning): Remove
11392 * INSTALL: Regenerated.
11393 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11395 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11396 [$(build-shared) = yes].
11397 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11398 * sysdeps/i386/i686/multiarch/strstr-c.c
11399 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11400 [SHARED && !NO_HIDDEN].
11401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11402 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11403 * sysdeps/powerpc/powerpc32/dl-machine.c
11404 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11405 * sysdeps/powerpc/powerpc32/sysdep.h
11406 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11407 to [SHARED && PIC && !NO_HIDDEN].
11408 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11409 conditional to [SHARED].
11411 2013-09-04 Will Newton <will.newton@linaro.org>
11413 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11414 * benchtests/bench-string.h: Include bench-timing.h instead
11415 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11416 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11417 call to HP_TIMING_DIFF_INIT.
11418 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11419 instead of hp-timing.h macros.
11420 * benchtests/bench-memchr.c: Likewise.
11421 * benchtests/bench-memcmp.c: Likewise.
11422 * benchtests/bench-memcpy.c: Likewise.
11423 * benchtests/bench-memmem.c: Likewise.
11424 * benchtests/bench-memmove.c: Likewise.
11425 * benchtests/bench-memset.c: Likewise.
11426 * benchtests/bench-rawmemchr.c: Likewise.
11427 * benchtests/bench-strcasecmp.c: Likewise.
11428 * benchtests/bench-strcasestr.c: Likewise.
11429 * benchtests/bench-strcat.c: Likewise.
11430 * benchtests/bench-strchr.c: Likewise.
11431 * benchtests/bench-strcmp.c: Likewise.
11432 * benchtests/bench-strcpy.c: Likewise.
11433 * benchtests/bench-strcpy_chk.c: Likewise.
11434 * benchtests/bench-strlen.c: Likewise.
11435 * benchtests/bench-strncasecmp.c: Likewise.
11436 * benchtests/bench-strncat.c: Likewise.
11437 * benchtests/bench-strncmp.c: Likewise.
11438 * benchtests/bench-strncpy.c: Likewise.
11439 * benchtests/bench-strnlen.c: Likewise.
11440 * benchtests/bench-strpbrk.c: Likewise.
11441 * benchtests/bench-strrchr.c: Likewise.
11442 * benchtests/bench-strspn.c: Likewise.
11443 * benchtests/bench-strstr.c: Likewise.
11445 2013-09-04 Will Newton <will.newton@linaro.org>
11447 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11449 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11453 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11454 * math/libm-test.inc (lgamma_test_data): Add more tests.
11455 * sysdeps/i386/fpu/libm-test-ulps: Update.
11456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11458 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11460 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11461 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11464 Add strcmp-sse2-unaligned
11465 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11467 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11469 * Versions.def (libc): Add GLIBC_2.19.
11471 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11473 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11474 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11476 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11479 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11480 intermediate calculations in recurrence.
11481 (__ieee754_ynf): Likewise.
11482 * math/libm-test.inc (jn_test_data): Do not allow spurious
11483 underflow exception. Add more tests.
11484 (yn_test_data): Add more tests.
11485 * sysdeps/i386/fpu/libm-test-ulps: Update.
11486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11488 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11490 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11492 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11494 * csu/init-first.c: Fix then/than typos.
11495 * locale/programs/ld-collate.c: Likewise.
11496 * locale/programs/linereader.h: Likewise.
11497 * manual/charset.texi: Likewise.
11498 * manual/filesys.texi: Likewise.
11499 * manual/stdio.texi: Likewise.
11500 * manual/string.texi: Likewise.
11501 * stdlib/fmtmsg.c: Likewise.
11502 * sysdeps/i386/stpncpy.S: Likewise.
11503 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11504 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11505 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11506 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11508 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11510 * elf/dl-open.c: Fix typos.
11511 * iconvdata/gbbig5.c: Likewise.
11512 * iconvdata/iso-2022-jp.c: Likewise.
11513 * iconv/gconv_int.h: Likewise.
11514 * iconv/loop.c: Likewise.
11515 * nis/rpcsvc/nis.h: Likewise.
11516 * resolv/ns_name.c: Likewise.
11517 * stdio-common/vfscanf.c: Likewise.
11518 * streams/stropts.h: Likewise.
11519 * sunrpc/rpc_thread.c: Likewise.
11520 * sysdeps/i386/strpbrk.S: Likewise.
11521 * sysdeps/ieee754/k_standard.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11524 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11525 * sysdeps/mach/hurd/profil.c: Likewise.
11526 * sysdeps/s390/dl-procinfo.h: Likewise.
11527 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11528 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11529 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11530 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11531 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11533 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11535 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11536 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11538 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11540 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11541 aix specific files.
11542 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11543 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11544 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11545 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11546 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11547 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11548 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11549 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11551 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11552 Roland McGrath <roland@hack.frob.com>
11554 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11555 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11557 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11559 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11560 __executable_start symbol instead of _start.
11562 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11564 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11565 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11567 * sysdeps/gnu/ldsodefs.h: ... this new file.
11569 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11570 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11571 instead of ELFOSABI_LINUX.
11573 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11574 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11575 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11576 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11578 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11579 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11582 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11583 (ibm_extended_long_double): Add ieee_nan member.
11584 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11585 (do_test): New function.
11587 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11589 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11590 functions, renamed from truncdfsf_test, trunctfsf_test,
11592 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11594 (do_test): Run all these.
11596 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11598 * argp/argp-help.c: Fix typos.
11599 * argp/argp-parse.c: Likewise.
11600 * debug/backtracesyms.c: Likewise.
11601 * elf/elf.h: Likewise.
11602 * malloc/malloc.c: Likewise.
11603 * nis/nis_print.c: Likewise.
11604 * resolv/res_comp.c: Likewise.
11605 * stdlib/stdlib.h: Likewise.
11606 * sunrpc/clnt_tcp.c: Likewise.
11607 * sunrpc/clnt_udp.c: Likewise.
11608 * sunrpc/clnt_unix.c: Likewise.
11609 * sysdeps/unix/bsd/ptsname.c: Likewise.
11610 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11611 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11618 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11620 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11622 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11625 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11628 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11629 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11630 ($(objpfx)bug-dl-leaf): New rule.
11631 ($(objpfx)bug-dl-leaf.so): Likewise.
11632 ($(objpfx)bug-dl-leaf.out): Likewise.
11633 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11634 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11635 * dlfcn/bug-dl-leaf.c: New test.
11636 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11637 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11638 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11639 (dlclose): Likewise.
11640 (dlmopen): Likewise.
11642 2013-08-27 Roland McGrath <roland@hack.frob.com>
11644 * include/netdb.h [!_ISOMAC]:
11645 Don't include <tls.h>.
11646 (h_errno, __libc_h_errno): Move declaration and macros out of
11649 * include/resolv.h [_RESOLV_H_]:
11650 Don't include <tls.h>.
11651 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11652 * resolv/res_libc.c: Don't include <tls.h>.
11653 (_res): Use __attribute__ ((nocommon)) in place of
11654 __attribute__ ((section (".bss"))).
11656 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11657 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11659 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11661 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11662 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11664 * resolv/res_mkquery.c: Include <sys/time.h>.
11666 * inet/ifreq.c: Moved to ...
11667 * sysdeps/unix/ifreq.c: ... here.
11668 * inet/ifreq.c: New file, true stub version.
11670 * socket/sa_len.c: New file.
11671 * socket/Makefile (aux): Add it.
11672 * sysdeps/unix/sysv/linux/Makefile
11673 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11674 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11675 and #include <socket/sa_len.c>.
11676 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11677 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11679 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11680 * bits/socket.h: ... here.
11682 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11683 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11684 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11686 2013-08-27 Andreas Schwab <schwab@suse.de>
11689 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11690 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11691 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11692 * string/test-strcasecmp.c (test_main): Run tests in several
11694 * string/test-strncasecmp.c (test_main): Likewise.
11696 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11697 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11698 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11700 (__strncasecmp_ssse3) [PIC]: Likewise.
11702 2013-08-26 Roland McGrath <roland@hack.frob.com>
11704 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11706 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11707 instead of explicitly declaring xdecrypt.
11708 * nis/nss_nis/nis-publickey.c: Likewise.
11710 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11713 * nscd/aicache.c: Include res_hconf.h.
11714 (addhstaiX): Initialize res_hconf.
11716 2013-08-26 Andreas Schwab <schwab@suse.de>
11718 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11719 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11721 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11723 * nscd/aicache.c (addhstaiX): Fix indentation.
11725 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11727 * configure.ac: Quote $build_pt_chown test.
11728 * configure: Regenerated.
11730 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11733 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11734 * math/s_cexpf.c (__cexpf): Likewise.
11735 * math/s_cexpl.c (__cexpl): Likewise.
11736 * math/libm-test.inc (cexp_test_data): Correct expected return
11737 value for NaN + i0. Add another test.
11739 2013-08-22 David S. Miller <davem@davemloft.net>
11741 * po/ca.po: Update Catalan translation from translation project.
11742 * po/uk.po: Add Ukrainian translations from translation project.
11744 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11747 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11748 is infinite, not alongside NaN test.
11749 * math/s_fdimf.c (__fdimf): Likewise.
11750 * math/s_fdiml.c (__fdiml): Likewise.
11751 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11752 errno is unchanged.
11754 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11756 * argp/argp-help.c: Fix typos.
11757 * crypt/speeds.c: Likewise.
11758 * csu/check_fds.c: Likewise.
11759 * elf/dl-load.c: Likewise.
11760 * elf/dl-open.c: Likewise.
11761 * elf/reldep3.c: Likewise.
11762 * elf/reldep.c: Likewise.
11763 * elf/sprof.c: Likewise.
11764 * iconv/iconv_charmap.c: Likewise.
11765 * iconv/skeleton.c: Likewise.
11766 * iconv/strtab.c: Likewise.
11767 * io/lockf64.c: Likewise.
11768 * libio/libioP.h: Likewise.
11769 * resolv/gai_notify.c: Likewise.
11770 * resolv/ns_name.c: Likewise.
11771 * resolv/ns_samedomain.c: Likewise.
11772 * resolv/res_send.c: Likewise.
11773 * stdlib/random.c: Likewise.
11774 * sunrpc/rpc/xdr.h: Likewise.
11775 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11776 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11777 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11778 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11779 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11780 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11782 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11783 * sysdeps/mach/hurd/check_fds.c: Likewise.
11784 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11785 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11786 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11787 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11788 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11789 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11790 * sysdeps/pthread/aio_notify.c: Likewise.
11791 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11792 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11793 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11794 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11795 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11797 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11799 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11800 version if bit_Slow_SSE4_2 is set.
11801 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11802 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11804 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11807 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11808 trampoline stack frame information.
11809 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11810 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11811 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11812 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11813 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11814 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11815 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11816 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11818 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11819 interrupting a syscall and set with option SA_SIGINFO.
11821 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11824 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11825 argument is infinite.
11826 * math/s_cprojf.c (__cprojf): Likewise.
11827 * math/s_cprojl.c (__cprojl): Likewise.
11828 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11829 * math/libm-test.inc (cproj_test_data): Add more tests.
11831 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11833 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11834 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11835 size. Use __ffs to determine corresponding shift.
11837 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11838 Roland McGrath <roland@hack.frob.com>
11840 * Makefile (INSTALL): Remove trailing blank lines from output of
11843 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11845 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11846 Align 32 bit compat elf_greg to 8 bytes.
11848 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11850 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11852 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11854 * string/strcoll_l.c (coll_seq): New structure.
11855 (get_next_seq_cached): New function.
11856 (get_next_seq): New function.
11857 (do_compare): New function.
11858 (STRCOLL): Use GNU style definition. Simplify implementation
11859 by using get_next_seq, get_next_seq_cached and do_compare.
11861 2013-08-16 Florian Weimer <fweimer@redhat.com>
11865 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11867 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11869 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11870 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11871 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11873 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11874 GETDENTS_64BIT_ALIGNED.
11875 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11876 * manual/filesys.texi (Reading/Closing Directory): Document
11877 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11879 * manual/conf.texi (Limits for Files): Add portability note to
11880 NAME_MAX, PATH_MAX.
11881 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11883 2013-08-13 Andreas Schwab <schwab@suse.de>
11886 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11888 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11889 LDBL_MAX_EXP >= 16384]: Add tests for it.
11891 2013-08-12 David S. Miller <davem@davemloft.net>
11893 * version.h (RELEASE): Set to "development".
11894 (VERSION): Set to "2.18.90".
11895 * NEWS: Add 2.19 section.
11897 2013-08-03 David S. Miller <davem@davemloft.net>
11899 * po/ko.po: Update Korean translation from translation project.
11901 2013-08-01 David S. Miller <davem@davemloft.net>
11903 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11904 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11907 2013-07-30 David S. Miller <davem@davemloft.net>
11909 * po/fr.po: Update French translation from translation project.
11911 2013-07-28 David S. Miller <davem@davemloft.net>
11913 * po/cs.po: Update Czech translation from translation project.
11915 * po/sv.po: Update Swedish translation from translation project.
11917 2013-07-27 David S. Miller <davem@davemloft.net>
11919 * po/eo.po: Update Esperanto translation from translation project.
11921 * po/vi.po: Update Vietnamese translation from translation project.
11923 * po/de.po: Update German translation from translation project.
11925 2013-07-26 David S. Miller <davem@davemloft.net>
11927 * po/bg.po: Update Bulgarian translation from translation project.
11929 * po/nl.po: Update Dutch translation from translation project.
11930 * po/pl.po: Update Polish translation from translation project.
11931 * po/ru.po: Update Russian translation from translation project.
11933 2013-07-24 David S. Miller <davem@davemloft.net>
11935 * po/libc.pot: Update.
11937 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11939 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11940 variable page size.
11941 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11942 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11943 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11945 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11947 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11949 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11950 Andreas Schwab <schwab@suse.de>
11951 Roland McGrath <roland@hack.frob.com>
11952 Joseph Myers <joseph@codesourcery.com>
11953 Carlos O'Donell <carlos@redhat.com>
11956 * config.h.in: Define HAVE_PT_CHOWN.
11957 * config.make.in (build-pt-chown): New variable.
11958 * configure.in (--enable-pt_chown): New configure option.
11959 * configure: Regenerate.
11960 * login/Makefile: Include Makeconfig. Build pt_chown only if
11961 build-pt-chown is enabled.
11962 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11963 pt_chown to fix pty ownership.
11964 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11966 * manual/install.texi (Configuring and compiling): Mention
11967 --enable-pt_chown. Add @findex for grantpt.
11968 * INSTALL: Regenerate.
11970 2013-07-20 David S. Miller <davem@davemloft.net>
11972 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11973 difference between 32-bit and 64-bit.
11975 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11978 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11979 Avoid system header dependency with -ffreestanding.
11980 ($(objpfx)bits/syscall%d): Likewise.
11982 2013-07-13 David S. Miller <davem@davemloft.net>
11984 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11985 underflows from atanl/atan2l due to bug 15319.
11986 (casinh_test_data): Likewise.
11988 2013-07-07 David S. Miller <davem@davemloft.net>
11990 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11992 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11994 * sysdeps/i386/fpu/libm-test-ulps: Update.
11995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11997 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11999 * configure.in (--enable-lock-elision): Fix message text.
12000 * INSTALL: Regenerate.
12001 * configure: Regenerate.
12003 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12007 2013-07-03 Andreas Jaeger <aj@suse.de>
12009 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12011 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12012 (ptrace_peeksiginfo_args): Add.
12013 (__ptrace_peeksiginfo_flags): Add.
12014 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12015 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12016 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12018 2013-07-03 Allan McRae <allan@archlinux.org>
12020 * sysdeps/i386/fpu/libm-test-ulps: Update.
12022 2013-07-02 David S. Miller <davem@davemloft.net>
12024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12026 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12030 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12032 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12035 2013-07-02 Andi Kleen <ak@linux.intel.com>
12037 * config.h.in (ENABLE_LOCK_ELISION): Add.
12038 * configure.in (--enable-lock-elision): Add option.
12039 * manual/install.texi: Document --enable lock elision.
12040 * configure: Regenerate
12041 * INSTALL: Regenerate.
12043 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12045 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12046 SSE4.2 strcasecmp for libc.a.
12047 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12049 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12052 * soft-fp/op-common.h (_FP_FMA): New macro.
12053 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12054 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12055 (_FP_MUL_MEAT_1_imm): ... here.
12056 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12057 (_FP_MUL_MEAT_1_wide): ... here.
12058 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12059 (_FP_MUL_MEAT_1_hard): ... here.
12060 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12061 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12062 (_FP_MUL_MEAT_2_wide): ... here.
12063 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12064 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12065 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12066 (_FP_MUL_MEAT_2_gmp): ... here.
12067 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12068 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12069 (_FP_MUL_MEAT_4_wide): ... here.
12070 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12071 (_FP_MUL_MEAT_4_gmp): ... here.
12072 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12073 (_FP_WFRACBITS_DW_S): Likewise.
12074 (_FP_WFRACXBITS_DW_S): Likewise.
12075 (_FP_HIGHBIT_DW_S): Likewise.
12076 (FP_FMA_S): Likewise.
12077 (_FP_FRAC_HIGH_DW_S): Likewise.
12078 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12079 (_FP_WFRACBITS_DW_D): Likewise.
12080 (_FP_WFRACXBITS_DW_D): Likewise.
12081 (_FP_HIGHBIT_DW_D): Likewise.
12082 (FP_FMA_D): Likewise.
12083 (_FP_FRAC_HIGH_DW_D): Likewise.
12084 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12085 (_FP_WFRACBITS_DW_E): Likewise.
12086 (_FP_WFRACXBITS_DW_E): Likewise.
12087 (_FP_HIGHBIT_DW_E): Likewise.
12088 (FP_FMA_E): Likewise.
12089 (_FP_FRAC_HIGH_DW_E): Likewise.
12090 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12091 (_FP_WFRACBITS_DW_Q): Likewise.
12092 (_FP_WFRACXBITS_DW_Q): Likewise.
12093 (_FP_HIGHBIT_DW_Q): Likewise.
12094 (FP_FMA_Q): Likewise.
12095 (_FP_FRAC_HIGH_DW_Q): Likewise.
12096 * soft-fp/fmasf4.c: New file.
12097 * soft-fp/fmadf4.c: Likewise.
12098 * soft-fp/fmatf4.c: Likewise.
12100 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12103 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12105 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12107 (index_Slow_SSE4_2): Likewise.
12108 (index_Prefer_PMINUB_for_stringop): Likewise.
12109 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12110 bit_Slow_SSE4_2 is set.
12111 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12112 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12114 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12116 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12117 rtld_global._dl_hwcap2.
12118 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12120 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12121 POWER8 feature descriptions defined in _dl_hwcap2.
12122 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12123 string handling for POWER8 feature bits.
12124 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12125 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12126 _dl_powerpc_cap_flags.
12127 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12128 * sysdeps/powerpc/rtld-global-offsets.sym
12129 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12130 _dl_hwcap2 in the rtld_global_ro structure.
12132 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12134 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12135 hardware capabilities in support of AT_HWCAP2.
12136 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12137 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12139 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12140 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12141 explicitly the unknown a_type display mechanism is used.
12142 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12143 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12145 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12146 to macro prototype for AT_HWCAP2 support.
12147 * sysdeps/i386/dl-procinfo.h: Likewise.
12148 * sysdeps/s390/dl-procinfo.h: Likewise.
12149 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12150 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12151 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12152 return -1 for unknown a_type display fallback.
12153 * sysdeps/sparc/dl-procinfo.h: Likewise.
12154 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12155 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12157 2013-06-28 Joseph Myers <joseph@codesourcery.com>
12159 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12160 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12162 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12165 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12166 mprotect making __stack_prot writable.
12168 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12169 Joseph Myers <joseph@codesourcery.com>
12171 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12172 as being properly aligned.
12174 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12176 * dlfcn/modstatic5.c: New file.
12177 * dlfcn/tststatic5.c: New file.
12178 * dlfcn/Makefile (tests): Add tststatic5.
12179 (tests-static): Likewise.
12180 (modules-names): Add modstatic5.
12181 (tststatic5-ENV): New variable.
12182 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12185 * elf/dl-support.c (_dl_main_map): New variable.
12186 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12187 (_dl_nns, _dl_load_adds): Set to 1.
12188 (_dl_initial_searchlist): Refer to _dl_main_map.
12189 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12190 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12191 call to _dl_get_origin.
12192 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12194 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12195 * dlfcn/modstatic3.c: New file.
12196 * dlfcn/tststatic3.c: New file.
12197 * dlfcn/tststatic4.c: New file.
12198 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12199 (tests-static): Likewise.
12200 (modules-names): Add modstatic3.
12201 (tststatic3-ENV, tststatic4-ENV): New variables.
12202 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12203 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12205 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12207 * configure.in (CC): Require GCC version 4.4 or later.
12208 * configure: Regenerated.
12209 * manual/install.texi (Tools for Compilation): Update GCC version
12211 * INSTALL: Regenerated.
12213 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12216 * string/test-memcmp.c (check2): New.
12217 (main): Call check2.
12219 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12221 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12224 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12226 (dl_open_worker) [!SHARED]: ... here.
12228 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12230 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12232 2013-06-25 Richard Henderson <rth@redhat.com>
12234 * locale/programs/locarchive.c: Include <libc-internal.h>
12236 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12238 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12239 trailing whitespace removed.
12241 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12244 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12245 * locale/programs/locarchive.c: Include libc-mmap.h.
12246 (prepare_address_space): Take two new outputs (the mmap base and len).
12247 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12249 (create_archive): Declare new mmap base and len values for
12250 prepare_address_space, and store the result in ah.
12251 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12252 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12253 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12254 Declare new mmap base and len values for
12255 prepare_address_space, and store the result in new_ah.
12256 (open_archive): Declare new mmap base and len values for
12257 prepare_address_space, and store the result in ah.
12258 (close_archive): If ah->mmap_base is not NULL, use that and
12259 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12260 * sysdeps/generic/libc-mmap.h: New file.
12262 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12264 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12265 (ALIGN_UP): Likewise.
12266 (PTR_ALIGN_DOWN): Likewise.
12267 (PTR_ALIGN_UP): Likewise.
12269 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12271 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12272 entry mapped to PPC_PLATFORM_POWER8.
12273 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12275 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12276 (_dl_string_platform): Add case for exporting platform position for
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12279 search path to sysdeps/powerpc/powerpc32/power8 directory.
12280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12281 search path to sysdeps/powerpc/powerpc64/power8 directory.
12282 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12283 power7 directories.
12284 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12285 power7 directories.
12287 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12289 * INSTALL: Regenerate.
12291 * nscd/connections.c (nscd_init): Fix comment.
12293 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12295 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12298 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12299 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12301 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12303 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12305 (DL_DST_REQ_STATIC): Remove macro.
12307 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12310 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12311 with a shift of 0 bits.
12313 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12315 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12318 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12321 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12323 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12325 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12326 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12327 accepts -fno-tree-loop-distribute-patterns.
12328 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12329 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12331 * string/memset.c (memset): Likewise.
12332 * string/test-memmove.c (simple_memmove): Disable loop transformation
12334 * string/test-memset.c (simple_memset): Likewise.
12335 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12336 * benchtests/bench-memset.c (simple_memset): Likewise.
12337 * configure: Regenerated.
12339 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12341 * math/test-misc.c (main): Ignore fesetround failure when failures
12342 of subsequent rounding tests would be ignored.
12345 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12346 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12347 * math/fegetenv.c (__fegetenv): Return 0.
12348 * math/fegetexcept.c (fegetexcept): Return 0.
12349 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12351 * math/feholdexcpt.c (feholdexcept): Return 0.
12352 * math/fesetenv.c (__fesetenv): Return 0.
12353 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12354 argument FE_TONEAREST.
12355 * math/feupdateenv.c (__feupdateenv): Return 0.
12356 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12358 2013-06-18 Roland McGrath <roland@hack.frob.com>
12360 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12361 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12362 ($(objpfx)rtld-%.os rules): Use them.
12364 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12366 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12369 2013-06-17 Roland McGrath <roland@hack.frob.com>
12371 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12372 length of target pattern, then descending length of dependency pattern.
12373 * configure.in (AWK): Require gawk 3.1.2 or newer.
12374 * manual/install.texi (Tools for Compilation): Say that we do.
12375 * configure: Regenerated.
12377 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12378 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12379 * scripts/sysd-rules.awk: ... this new script.
12380 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12381 than a glob-style pattern.
12383 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12385 * math/test-misc.c (main): Do not treat incorrectly rounded
12386 conversions as failure unless ROUNDING_TESTS passes.
12388 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12391 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12392 restore exception state around main square root computation, then
12393 check for inexactness explicitly.
12395 * math/libm-test.inc (fma_test_data): Add another test.
12397 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12399 * manual/threads.texi (Non-POSIX Extensions): New document
12400 node. Document pthread_getattr_default_np and
12401 pthread_setattr_default_np.
12403 * Versions.def (libpthread): Add GLIBC_2.18.
12404 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12413 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12424 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12427 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12429 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12430 H.J. Lu <hjl.tools@gmail.com>
12433 * sysdeps/x86_64/rtld-memset.c: Remove file.
12434 * sysdeps/x86_64/rtld-memset.S: New file.
12436 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12438 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12439 (test_in_one_mode): Take arguments for whether the rounding mode
12440 is supported for each floating-point type.
12441 (do_test): Pass new arguments to test_in_one_mode using
12444 2013-06-13 Roland McGrath <roland@hack.frob.com>
12446 * posix/tst-waitid.c (do_test): Distinguish different instances of
12447 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12448 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12449 before entering the kernel for waitpid.
12451 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12453 * NEWS: Fix note on clock function precision. Text by Roland
12456 2013-06-13 Roland McGrath <roland@hack.frob.com>
12458 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12459 it into place only when and if the sanity check passes.
12461 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12463 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12464 output for whether conversion result is exact. Take argument
12465 indicating whether type is IBM long double.
12466 (round_for_all): Change need_exact field to ibm_ld.
12467 * stdlib/tst-strtod-round.c (struct exactness): New type.
12468 (struct test): Change bool ld_ok field to struct exactness exact.
12469 (TEST): Update all definitions for change to field.
12470 (tests): Regenerate array contents.
12471 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12472 field value. Check for IBM long double here.
12473 (do_test): Update calls to test_in_one_mode.
12475 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12478 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12479 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12481 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12484 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12485 generated by the compiler on loop optimizations.
12486 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12487 general definitions.
12489 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12491 * math/bug-nextafter.c: Include <math-tests.h>.
12492 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12494 * math/bug-nexttoward.c: Include <math-tests.h>.
12495 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12497 * math/test-misc.c: Include <math-tests.h>.
12498 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12501 2013-06-12 Andreas Jaeger <aj@suse.de>
12503 * po/ia.po: Update Interlingua translation from translation
12506 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12508 * include/fenv.h: Include stdbool.h.
12509 (struct rm_ctx): New structure.
12510 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12512 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12513 (SET_RESTORE_ROUNDF): Likewise.
12514 (SET_RESTORE_ROUNDL): Likewise.
12515 (SET_RESTORE_ROUND_NOEX): Likewise.
12516 (SET_RESTORE_ROUND_NOEXF): Likewise.
12517 (SET_RESTORE_ROUND_NOEXL): Likewise.
12518 (SET_RESTORE_ROUND_53BIT): Likewise.
12519 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12520 (libc_feresetround_noexf_ctx): Likewise.
12521 (libc_feresetround_noexl_ctx): Likewise.
12522 (libc_feholdsetround_53bit_ctx): Likewise.
12523 (libc_feresetround_53bit_ctx): Likewise.
12524 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12525 (libc_feholdexcept_setround_sse_ctx): New function.
12526 (libc_fesetenv_sse_ctx): Likewise.
12527 (libc_feupdateenv_sse_ctx): Likewise.
12528 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12529 (libc_feholdexcept_setround_387_ctx): Likewise.
12530 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12531 (libc_feholdsetround_387_prec_ctx): Likewise.
12532 (libc_feholdsetround_387_ctx): Likewise.
12533 (libc_feholdsetround_387_53bit_ctx): Likewise.
12534 (libc_feholdsetround_sse_ctx): Likewise.
12535 (libc_feresetround_sse_ctx): Likewise.
12536 (libc_feresetround_387_ctx): Likewise.
12537 (libc_feupdateenv_387_ctx): Likewise.
12538 (libc_feholdexcept_setroundf_ctx): Define macro.
12539 (libc_fesetenvf_ctx): Likewise.
12540 (libc_feupdateenvf_ctx): Likewise.
12541 (libc_feholdsetroundf_ctx): Likewise.
12542 (libc_feresetroundf_ctx): Likewise.
12543 (libc_feholdexcept_setround_ctx): Likewise.
12544 (libc_fesetenv_ctx): Likewise.
12545 (libc_feupdateenv_ctx): Likewise.
12546 (libc_feholdsetround_ctx): Likewise.
12547 (libc_feresetround_ctx): Likewise.
12548 (libc_feholdexcept_setroundl_ctx): Likewise.
12549 (libc_feupdateenvl_ctx): Likewise.
12550 (libc_feholdsetroundl_ctx): Likewise.
12551 (libc_feresetroundl_ctx): Likewise.
12552 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12553 (libc_feresetround_53bit_ctx): Likewise.
12555 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12557 * locale/iso-639.def: Convert to UTF-8.
12559 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12561 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12562 (EXCEPTION_TESTS_double): Likewise.
12563 (EXCEPTION_TESTS_long_double): Likewise.
12564 (EXCEPTION_TESTS): Likewise.
12565 * math/libm-test.inc (test_exceptions): Only test exceptions if
12566 EXCEPTION_TESTS (FLOAT).
12568 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12570 * benchtests/Makefile (string-bench): Add strcpy_chk and
12572 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12573 * benchtests/bench-stpcpy_chk.c: New file.
12574 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12575 * benchtests/bench-strcpy_chk.c: New file.
12576 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12578 (do_test): Likewise.
12580 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12582 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12583 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12584 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12585 with tabs where appropriate.
12586 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12588 [PPC_PLATFORM_PPC440]: Likewise.
12589 [PPC_PLATFORM_PPC464]: Likewise.
12590 [PPC_PLATFORM_PPC476]: Likewise.
12591 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12592 ppc464, and ppc476 platform strings merging from ports/
12595 2013-06-11 Andreas Schwab <schwab@suse.de>
12598 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12599 (from_ucs4_idx): Regenerate.
12600 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12601 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12602 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12603 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12604 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12605 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12606 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12607 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12608 from FROM_LOOP and TO_LOOP specific macros.
12609 (BODY): Handle combining characters.
12610 * iconvdata/BIG5HKSCS.irreversible: Update.
12611 * iconvdata/BIG5HKSCS.precomposed: New file.
12612 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12614 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12616 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12618 * include/sys/time.h: Fix indentation and add copyright header.
12620 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12621 (do_test): Likewise.
12622 * string/test-memchr.c (do_one_test): Likewise.
12623 (do_test): Likewise.
12624 * string/test-memcmp.c (do_one_test): Likewise.
12625 (do_test): Likewise.
12626 * string/test-memcpy.c (do_one_test): Likewise.
12627 (do_test): Likewise.
12628 * string/test-memmem.c (do_one_test): Likewise.
12629 (do_test): Likewise.
12630 (do_random_tests): Likewise.
12631 * string/test-memmove.c (do_one_test): Likewise.
12632 (do_test): Likewise.
12633 * string/test-memset.c (do_one_test): Likewise.
12634 (do_test): Likewise.
12635 * string/test-rawmemchr.c (do_one_test): Likewise.
12636 (do_test): Likewise.
12637 * string/test-strcasecmp.c (do_one_test): Likewise.
12638 (do_test): Likewise.
12639 * string/test-strcasestr.c (do_one_test): Likewise.
12640 (do_test): Likewise.
12641 * string/test-strcat.c (do_one_test): Likewise.
12642 (do_test): Likewise.
12643 * string/test-strchr.c (do_one_test): Likewise.
12644 (do_test): Likewise.
12645 * string/test-strcmp.c (do_one_test): Likewise.
12646 (do_test): Likewise.
12647 * string/test-strcpy.c (do_one_test): Likewise.
12648 (do_test): Likewise.
12649 * string/test-string.h: Likewise.
12650 (test_init): Likewise.
12651 * string/test-strlen.c (do_one_test): Likewise.
12652 (do_test): Likewise.
12653 * string/test-strncasecmp.c (do_one_test): Likewise.
12654 (do_test): Likewise.
12655 * string/test-strncat.c (do_one_test): Likewise.
12656 (do_test): Likewise.
12657 * string/test-strncmp.c (do_one_test): Likewise.
12658 (do_test_limit): Likewise.
12659 (do_test): Likewise.
12660 * string/test-strncpy.c (do_one_test): Likewise.
12661 (do_test): Likewise.
12662 * string/test-strnlen.c (do_one_test): Likewise.
12663 (do_test): Likewise.
12664 * string/test-strpbrk.c (do_one_test): Likewise.
12665 (do_test): Likewise.
12666 * string/test-strrchr.c (do_one_test): Likewise.
12667 (do_test): Likewise.
12668 * string/test-strspn.c (do_one_test): Likewise.
12669 (do_test): Likewise.
12670 * string/test-strstr.c (do_one_test): Likewise.
12671 (do_test): Likewise.
12673 * benchtests/Makefile (string-bench): Add string benchmarks.
12674 * benchtests/bench-bcopy-ifunc.c: New file.
12675 * benchtests/bench-bcopy.c: New file.
12676 * benchtests/bench-bzero-ifunc.c: New file.
12677 * benchtests/bench-bzero.c: New file.
12678 * benchtests/bench-memccpy-ifunc.c: New file.
12679 * benchtests/bench-memccpy.c: New file.
12680 * benchtests/bench-memchr-ifunc.c: New file.
12681 * benchtests/bench-memchr.c: New file.
12682 * benchtests/bench-memcmp-ifunc.c: New file.
12683 * benchtests/bench-memcmp.c: New file.
12684 * benchtests/bench-memmem-ifunc.c: New file.
12685 * benchtests/bench-memmem.c: New file.
12686 * benchtests/bench-memmove-ifunc.c: New file.
12687 * benchtests/bench-memmove.c: New file.
12688 * benchtests/bench-mempcpy-ifunc.c: New file.
12689 * benchtests/bench-mempcpy.c: New file.
12690 * benchtests/bench-memset-ifunc.c: New file.
12691 * benchtests/bench-memset.c: New file.
12692 * benchtests/bench-rawmemchr-ifunc.c: New file.
12693 * benchtests/bench-rawmemchr.c: New file.
12694 * benchtests/bench-stpcpy-ifunc.c: New file.
12695 * benchtests/bench-stpcpy.c: New file.
12696 * benchtests/bench-stpncpy-ifunc.c: New file.
12697 * benchtests/bench-stpncpy.c: New file.
12698 * benchtests/bench-strcasecmp-ifunc.c: New file.
12699 * benchtests/bench-strcasecmp.c: New file.
12700 * benchtests/bench-strcasestr-ifunc.c: New file.
12701 * benchtests/bench-strcasestr.c: New file.
12702 * benchtests/bench-strcat-ifunc.c: New file.
12703 * benchtests/bench-strcat.c: New file.
12704 * benchtests/bench-strchr-ifunc.c: New file.
12705 * benchtests/bench-strchr.c: New file.
12706 * benchtests/bench-strchrnul-ifunc.c: New file.
12707 * benchtests/bench-strchrnul.c: New file.
12708 * benchtests/bench-strcmp-ifunc.c: New file.
12709 * benchtests/bench-strcmp.c: New file.
12710 * benchtests/bench-strcpy-ifunc.c: New file.
12711 * benchtests/bench-strcpy.c: New file.
12712 * benchtests/bench-strcspn-ifunc.c: New file.
12713 * benchtests/bench-strcspn.c: New file.
12714 * benchtests/bench-strlen-ifunc.c: New file.
12715 * benchtests/bench-strlen.c: New file.
12716 * benchtests/bench-strncasecmp-ifunc.c: New file.
12717 * benchtests/bench-strncasecmp.c: New file.
12718 * benchtests/bench-strncat-ifunc.c: New file.
12719 * benchtests/bench-strncat.c: New file.
12720 * benchtests/bench-strncmp-ifunc.c: New file.
12721 * benchtests/bench-strncmp.c: New file.
12722 * benchtests/bench-strncpy-ifunc.c: New file.
12723 * benchtests/bench-strncpy.c: New file.
12724 * benchtests/bench-strnlen-ifunc.c: New file.
12725 * benchtests/bench-strnlen.c: New file.
12726 * benchtests/bench-strpbrk-ifunc.c: New file.
12727 * benchtests/bench-strpbrk.c: New file.
12728 * benchtests/bench-strrchr-ifunc.c: New file.
12729 * benchtests/bench-strrchr.c: New file.
12730 * benchtests/bench-strspn-ifunc.c: New file.
12731 * benchtests/bench-strspn.c: New file.
12732 * benchtests/bench-strstr-ifunc.c: New file.
12733 * benchtests/bench-strstr.c: New file.
12735 * benchtests/Makefile: Disable parallel execution of targets.
12736 (string-bench): Add memcpy.
12737 (benchset): New variable to store a list of benchmark sets.
12738 (bench-func): Renamed from bench.
12739 (bench-set): New target.
12740 (bench): Depend on bench-func and bench-set.
12741 * benchtests/README: Add section on benchmark sets.
12742 * benchtests/bench-memcpy-ifunc.c: New file.
12743 * benchtests/bench-memcpy.c: New file.
12744 * benchtests/bench-string.h: New file.
12746 2013-06-11 Andreas Schwab <schwab@suse.de>
12749 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12750 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12751 values in the triple.
12752 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12753 terminator in the group key.
12755 2013-06-11 Andreas Jaeger <aj@suse.de>
12757 * po/zh_TW.po: Update Chinese (traditional) translation from
12758 translation project.
12760 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12762 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12763 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12764 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12765 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12766 (clock_getcpuclockid): Likewise.
12767 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12768 Add weak_alias and libc_hidden_def.
12769 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12770 * rt/clock_gettime.c (clock_gettime): Rename to
12771 __clock_gettime. Add weak_alias and libc_hidden_def.
12772 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12773 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12774 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12775 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12776 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12778 * rt/clock_settime.c (clock_settime): Rename to
12779 __clock_settime. Add weak_alias and libc_hidden_def.
12780 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12782 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12784 * mach/err_boot.sub: Remove trailing whitespace.
12785 * mach/err_ipc.sub: Likewise.
12786 * mach/err_mach.sub: Likewise.
12788 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12789 (ROUNDING_TESTS_double): Likewise.
12790 (ROUNDING_TESTS_long_double): Likewise.
12791 (ROUNDING_TESTS): Likewise.
12792 * math/libm-test.inc: Include <math-tests.h>.
12793 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12794 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12795 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12796 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12798 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12800 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12803 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12805 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12806 otherwise empty TRANS lines.
12807 * sysdeps/gnu/errlist.c: Regenerated.
12809 * catgets/gencat.c (error_print): Use (void) in function
12811 * crypt/crypt_util.c (__init_des): Likewise.
12812 * crypt/speeds.c (Stop): Likewise.
12814 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12815 * inet/ruserpass.c (token): Likewise.
12816 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12817 * intl/localealias.c (extend_alias_table): Likewise.
12818 * intl/plural-exp.c (init_germanic_plural): Likewise.
12819 * libio/fcloseall.c (__fcloseall): Likewise.
12820 * libio/genops.c (_IO_flush_all): Likewise.
12821 (_IO_flush_all_linebuffered): Likewise.
12822 (_IO_cleanup): Likewise.
12823 (_IO_iter_begin): Likewise.
12824 (_IO_iter_end): Likewise.
12825 (_IO_list_lock): Likewise.
12826 (_IO_list_unlock): Likewise.
12827 (_IO_list_resetlock): Likewise.
12828 * libio/getchar.c (getchar): Likewise.
12829 * libio/getchar_u.c (getchar_unlocked): Likewise.
12830 * libio/getwchar.c (getwchar): Likewise.
12831 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12832 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12833 * login/getpt.c (__getpt): Likewise.
12834 * login/tst-utmp.c (main): Likewise.
12835 * malloc/hooks.c (__malloc_check_init): Likewise.
12836 * malloc/malloc.c (__malloc_stats): Likewise.
12837 * malloc/mtrace.c (tr_break): Likewise.
12838 (mtrace): Likewise.
12839 (muntrace): Likewise.
12840 * misc/fstab.c (endfsent): Likewise.
12841 * misc/getclktck.c (__getclktck): Likewise.
12842 * misc/getdtsz.c (__getdtablesize): Likewise.
12843 * misc/gethostid.c (gethostid): Likewise.
12844 * misc/getpagesize.c (__getpagesize): Likewise.
12845 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12846 (__get_nprocs): Likewise.
12847 (__get_phys_pages): Likewise.
12848 (__get_avphys_pages): Likewise.
12849 * misc/getttyent.c (getttyent): Likewise.
12850 (setttyent): Likewise.
12851 (endttyent): Likewise.
12852 * misc/getusershell.c (getusershell): Likewise.
12853 (endusershell): Likewise.
12854 (setusershell): Likewise.
12855 (initshells): Likewise.
12856 * misc/hsearch.c (__hdestroy): Likewise.
12857 * misc/sync.c (sync): Likewise.
12858 * misc/syslog.c (closelog_internal): Likewise.
12859 (closelog): Likewise.
12860 * misc/ttyslot.c (ttyslot): Likewise.
12861 * misc/vhangup.c (vhangup): Likewise.
12862 * posix/fork.c (__fork): Likewise.
12863 * posix/getegid.c (__getegid): Likewise.
12864 * posix/geteuid.c (__geteuid): Likewise.
12865 * posix/getgid.c (__getgid): Likewise.
12866 * posix/getpid.c (__getpid): Likewise.
12867 * posix/getppid.c (__getppid): Likewise.
12868 * posix/getuid.c (__getuid): Likewise.
12869 * posix/pause.c (pause): Likewise.
12870 * posix/setpgrp.c (setpgrp): Likewise.
12871 * posix/setsid.c (__setsid): Likewise.
12872 * posix/test-vfork.c (noop): Likewise.
12873 * resolv/gethnamaddr.c (_endhtent): Likewise.
12874 (_gethtent): Likewise.
12875 (ht_endhostent): Likewise.
12876 (gethostent): Likewise.
12877 (dns_service): Likewise.
12878 * stdlib/drand48.c (drand48): Likewise.
12879 * stdlib/lrand48.c (lrand48): Likewise.
12880 * stdlib/mrand48.c (mrand48): Likewise.
12881 * stdlib/rand.c (rand): Likewise.
12882 * stdlib/random.c (__random): Likewise.
12883 * stdlib/setenv.c (clearenv): Likewise.
12884 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12885 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12886 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12887 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12888 (__get_nprocs): Likewise.
12889 (__get_phys_pages): Likewise.
12890 (__get_avphys_pages): Likewise.
12891 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12892 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12893 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12894 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12895 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12896 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12897 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12898 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12899 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12900 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12901 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12902 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12903 * sysdeps/posix/clock.c (clock): Likewise.
12904 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12905 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12906 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12907 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12908 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12910 (__get_nprocs_conf): Likewise.
12911 (__get_phys_pages): Likewise.
12912 (__get_avphys_pages): Likewise.
12913 * time/clock.c (clock): Likewise.
12914 * time/tzset.c (__tzname_max): Likewise.
12916 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12918 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12919 (__bswap_32): Do not use "register".
12920 * crypt/crypt.c (_ufc_doit_r): Likewise.
12921 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12922 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12923 * gmon/gmon.c (__monstartup): Likewise.
12924 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12925 * hurd/hurdmalloc.c (more_memory): Likewise.
12926 (malloc): Likewise.
12928 (realloc): Likewise.
12929 (malloc_fork_prepare): Likewise.
12930 (malloc_fork_parent): Likewise.
12931 (malloc_fork_child): Likewise.
12932 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12933 (_svcauth_des): Likewise.
12934 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12935 * inet/inet_net.c (inet_network): Likewise.
12936 * inet/inet_netof.c (inet_netof): Likewise.
12937 * inet/rcmd.c (__validuser2_sa): Likewise.
12938 * io/fts.c (fts_open): Likewise.
12939 (fts_load): Likewise.
12940 (fts_close): Likewise.
12941 (fts_read): Likewise.
12942 (fts_children): Likewise.
12943 (fts_build): Likewise.
12944 (fts_stat): Likewise.
12945 (fts_sort): Likewise.
12946 (fts_alloc): Likewise.
12947 (fts_lfree): Likewise.
12948 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12949 (_IO_file_xsgetn): Likewise.
12950 (_IO_file_xsgetn_mmap): Likewise.
12951 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12952 (_IO_cookie_write): Likewise.
12953 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12954 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12955 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12956 * malloc/obstack.c (_obstack_begin): Likewise.
12957 (_obstack_begin_1): Likewise.
12958 (_obstack_newchunk): Likewise.
12959 (_obstack_allocated_p): Likewise.
12960 (obstack_free): Likewise.
12961 (_obstack_memory_used): Likewise.
12962 * misc/getttyent.c (getttynam): Likewise.
12963 (getttyent): Likewise.
12966 * misc/getusershell.c (initshells): Likewise.
12967 * misc/syslog.c (__vsyslog_chk): Likewise.
12968 * misc/ttyslot.c (ttyslot): Likewise.
12969 * nis/nis_hash.c (__nis_hash): Likewise.
12970 * posix/fnmatch_loop.c (FCT): Likewise.
12971 * posix/getconf.c (print_all): Likewise.
12973 * posix/getopt.c (exchange): Likewise.
12974 * posix/glob.c (globfree): Likewise.
12975 (prefix_array): Likewise.
12976 (__glob_pattern_type): Likewise.
12977 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12978 (NS_GET32): Likewise.
12979 (NS_PUT16): Likewise.
12980 (NS_PUT32): Likewise.
12981 * resolv/gethnamaddr.c (getanswer): Likewise.
12982 (gethostbyname2): Likewise.
12983 (gethostbyaddr): Likewise.
12984 (_gethtent): Likewise.
12985 (_gethtbyname2): Likewise.
12986 (_gethtbyaddr): Likewise.
12987 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12988 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12989 * resolv/res_init.c (__res_vinit): Likewise.
12990 (net_mask): Likewise.
12991 * resolv/res_mkquery.c (outchar): Likewise.
12993 * stdio-common/printf_fp.c (outchar): Likewise.
12995 * stdio-common/printf_fphex.c (outchar): Likewise.
12997 * stdio-common/printf_size.c (outchar): Likewise.
12999 * stdio-common/test_rdwr.c (main): Likewise.
13000 * stdio-common/tfformat.c (matches): Likewise.
13001 * stdio-common/vfprintf.c (outchar): Likewise.
13002 (printf_unknown): Likewise.
13003 (buffered_vfprintf): Likewise.
13004 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13005 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13006 (ReadFile): Likewise.
13007 * stdlib/qsort.c (SWAP): Likewise.
13008 (_quicksort): Likewise.
13009 * stdlib/setenv.c (__add_to_environ): Likewise.
13010 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13011 * stdlib/strtol_l.c (__strtol_l): Likewise.
13012 * stdlib/tst-strtod.c (main): Likewise.
13013 * stdlib/tst-strtol.c (main): Likewise.
13014 * stdlib/tst-strtoll.c (main): Likewise.
13015 * string/bits/string2.h (__strcmp_cc): Likewise.
13016 (__strcmp_cg): Likewise.
13017 (__strcspn_c1): Likewise.
13018 (__strcspn_c2): Likewise.
13019 (__strcspn_c3): Likewise.
13020 (__strspn_c1): Likewise.
13021 (__strspn_c2): Likewise.
13022 (__strspn_c3): Likewise.
13023 (__strsep_1c): Likewise.
13024 (__strsep_2c): Likewise.
13025 (__strsep_3c): Likewise.
13026 * string/memccpy.c (__memccpy): Likewise.
13027 * string/stpcpy.c (__stpcpy): Likewise.
13028 * string/strcmp.c (strcmp): Likewise.
13029 * string/strrchr.c (strrchr): Likewise.
13030 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13032 * sysdeps/mach/hurd/getcwd.c
13033 (_hurd_canonicalize_directory_name_internal): Likewise.
13034 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13035 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13036 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13037 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13038 Likewise, in both definitions.
13039 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13041 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13042 64] (__bswap_64): Likewise.
13043 * time/test_time.c (main): Likewise.
13044 * time/tzfile.c (__tzfile_read): Likewise.
13045 (__tzfile_compute): Likewise.
13046 * time/tzset.c (__tzset_parse_tz): Likewise.
13047 (tzset_internal): Likewise.
13048 (compute_change): Likewise.
13049 * wcsmbs/wcscat.c (__wcscat): Likewise.
13050 * wcsmbs/wcschr.c (wcschr): Likewise.
13051 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13052 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13053 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13054 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13055 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13056 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13057 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13058 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13059 * wcsmbs/wmemset.c (wmemset): Likewise.
13061 2013-06-06 Joseph Myers <joseph@codesourcery.com>
13063 * scripts/config.guess: Update to version 2013-05-16.
13064 * scripts/config.sub: Update to version 2013-04-24.
13065 * scripts/install-sh: Update to version 2011-11-20.07.
13066 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13067 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13069 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13071 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13072 * elf/sln.c: Likewise.
13073 * hurd/hurd/ioctl.h: Likewise.
13074 * hurd/hurdmalloc.c: Likewise.
13075 * hurd/xattr.c: Likewise.
13076 * include/shlib-compat.h: Likewise.
13077 * inet/ruserpass.c: Likewise.
13078 * libio/iofgets_u.c: Likewise.
13079 * libio/iofgetws_u.c: Likewise.
13080 * locale/programs/ld-identification.c: Likewise.
13081 * locale/programs/ld-time.c: Likewise.
13082 * mach/msg-destroy.c: Likewise.
13083 * nss/nss_files/files-netgrp.c: Likewise.
13084 * resolv/res_data.c: Likewise.
13085 * soft-fp/op-1.h: Likewise.
13086 * soft-fp/op-2.h: Likewise.
13087 * soft-fp/op-4.h: Likewise.
13088 * soft-fp/op-common.h: Likewise.
13089 * stdio-common/printf_fphex.c: Likewise.
13090 * stdlib/strtod_l.c: Likewise.
13091 * sunrpc/rpc/clnt.h: Likewise.
13092 * sysdeps/generic/framestate.c: Likewise.
13093 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13094 * sysdeps/i386/bsd-setjmp.S: Likewise.
13095 * sysdeps/i386/__longjmp.S: Likewise.
13096 * sysdeps/i386/setjmp.S: Likewise.
13097 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13098 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13099 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13107 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13108 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13113 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13115 * sysdeps/ieee754/support.c: Likewise.
13116 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13117 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13118 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13119 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13120 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13121 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13122 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13123 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13124 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13125 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13126 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13127 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13128 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13129 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13130 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13131 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13132 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13135 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
13137 * posix/transbug.c: Remove executable mode.
13139 2013-06-05 Joseph Myers <joseph@codesourcery.com>
13141 * crypt/speeds.c: Remove trailing whitespace.
13142 * dlfcn/default.c: Likewise.
13143 * elf/ifuncdep2.c: Likewise.
13144 * elf/ifuncmain1.c: Likewise.
13145 * elf/ifuncmain1vis.c: Likewise.
13146 * elf/testobj.h: Likewise.
13147 * elf/tst-stackguard1.c: Likewise.
13148 * gmon/sys/gmon.h: Likewise.
13149 * hurd/hurdmsg.c: Likewise.
13150 * hurd/new-fd.c: Likewise.
13151 * hurd/ports-get.c: Likewise.
13152 * iconvdata/ibm1008_420.c: Likewise.
13153 * inet/tst-getni1.c: Likewise.
13154 * inet/tst-getni2.c: Likewise.
13155 * libio/ioungetc.c: Likewise.
13156 * libio/wfiledoalloc.c: Likewise.
13157 * manual/libm-err-tab.pl: Likewise.
13158 * math/w_dremf.c: Likewise.
13159 * misc/ftruncate.c: Likewise.
13160 * posix/bug-glob2.c: Likewise.
13161 * posix/tst-pcre.c: Likewise.
13162 * posix/wait4.c: Likewise.
13163 * resolv/README: Likewise.
13164 * resolv/res_debug.h: Likewise.
13165 * resolv/tst-inet_ntop.c: Likewise.
13166 * setjmp/bug269-setjmp.c: Likewise.
13167 * soft-fp/extended.h: Likewise.
13168 * soft-fp/op-1.h: Likewise.
13169 * soft-fp/op-2.h: Likewise.
13170 * soft-fp/op-4.h: Likewise.
13171 * soft-fp/op-8.h: Likewise.
13172 * soft-fp/testit.c: Likewise.
13173 * stdio-common/bug16.c: Likewise.
13174 * stdlib/random.c: Likewise.
13175 * sunrpc/rpcsvc/rquota.x: Likewise.
13176 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13177 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13178 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13179 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13180 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13181 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13182 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13183 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13184 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13185 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13186 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13187 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13188 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13189 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13190 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13191 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13192 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13194 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13197 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13203 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13205 * sysdeps/ieee754/s_lib_version.c: Likewise.
13206 * sysdeps/mach/hurd/check_fds.c: Likewise.
13207 * sysdeps/mach/hurd/getsockname.c: Likewise.
13208 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13209 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13210 * sysdeps/powerpc/bits/link.h: Likewise.
13211 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13212 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13213 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13214 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13215 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13216 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13217 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13218 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13219 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13220 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13221 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13222 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13223 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13224 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13225 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13226 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13227 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13228 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13229 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13230 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13231 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13232 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13233 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13234 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13235 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13237 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13238 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13239 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13240 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13241 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13242 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13243 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13244 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13245 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13246 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13247 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13248 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13249 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13250 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13251 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13252 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13253 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13254 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13255 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13256 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13257 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13258 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13259 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13260 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13261 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13262 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13263 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13264 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13265 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13266 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13267 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13268 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13269 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13270 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13271 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13272 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13273 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13274 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13275 * sysdeps/powerpc/sysdep.h: Likewise.
13276 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13277 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13278 * sysdeps/sh/dl-trampoline.S: Likewise.
13279 * sysdeps/sh/memset.S: Likewise.
13280 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13281 * sysdeps/sh/strlen.S: Likewise.
13282 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13283 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13284 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13285 * sysdeps/sparc/sparc32/rem.S: Likewise.
13286 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13287 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13288 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13289 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13290 * sysdeps/sparc/sparc32/urem.S: Likewise.
13291 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13292 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13293 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13294 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13295 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13296 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13297 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13298 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13299 * sysdeps/unix/bsd/times.c: Likewise.
13300 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13301 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13305 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13306 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13307 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13308 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13309 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13310 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13311 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13312 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13313 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13314 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13315 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13316 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13317 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13318 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13319 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13320 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13321 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13322 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13323 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13324 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13325 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13326 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13327 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13328 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13329 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13330 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13331 * sysdeps/x86_64/strcspn.S: Likewise.
13333 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13335 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13336 generated file. Regenerate properly from gen-translit.pl.
13337 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13338 locale/C-translit.h.
13340 2013-06-05 Andreas Schwab <schwab@suse.de>
13343 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13344 week as 6 instead of -1.
13345 * time/tst-strptime.c (day_tests): Add test case.
13347 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13349 * sysdeps/generic/math_private.h
13350 (libc_feholdexcept_setround_53bit): Replace with
13351 libc_feholdsetround_53bit.
13352 (libc_feupdateenv_53bit): Replace with
13353 libc_feresetround_53bit.
13354 (SET_RESTORE_ROUND_53BIT): Adjust.
13356 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13358 * string/test-strchrnul.c: Add copyright header.
13360 * posix/tst-getaddrinfo4.c: Increase test timeout.
13362 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13365 * math/libm-test.inc (MAX_EXP): Remove
13367 (ulp): Use MIN_EXP - MANT_DIG.
13368 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13370 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13372 * po/be.po: Revert last change.
13373 * po/zh_CN.po: Likewise.
13374 * po/header.pot: Likewise.
13376 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13378 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13379 link-libc-deps to empty as target-specific variable.
13380 * Makerules (link-libc-args): New variable.
13381 (libc-for-link): Likewise.
13382 (link-libc-deps): Likewise.
13383 (lib%.so): Depend on $(link-libc-deps). Link with
13385 (build-module): Link with $(link-libc-args).
13386 (build-module-asneeded): Likewise.
13387 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13389 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13390 target-specific variable.
13391 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13392 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13393 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13395 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13397 ($(objpfx)libpcprofile.so): Likewise.
13398 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13400 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13401 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13402 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13404 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13405 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13406 * login/Makefile ($(objpfx)libutil.so): Likewise.
13407 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13408 * math/Makefile ($(objpfx)libm.so): Likewise.
13409 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13410 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13411 variable instead of depending directly on libc.
13412 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13413 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13415 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13417 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13418 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13419 ($(objpfx)libanl.so): Likewise.
13420 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13422 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13424 * sysdeps/i386/fpu/Makefile: Remove file.
13425 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13426 ($(objpfx)libm.so): Remove dependency on ld.so.
13428 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13431 * nis/yp_xdr.c (XDRMAXNAME): Define.
13432 (XDRMAXRECORD): Define.
13433 (xdr_domainname): Use XDRMAXNAME.
13434 (xdr_mapname): Likewise.
13435 (xdr_peername): Likewise.
13436 (xdr_keydat): Use XDRMAXRECORD.
13437 (xdr_valdat): Likewise.
13439 2013-05-30 Jeff Law <law@redhat.com>
13442 * manual/errno.texi (ESTALE): Update to account for more than
13443 just NFS file systems.
13444 * sysdeps/gnu/errlist.c: Regenerated.
13446 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13449 * elf/Makefile (tests): Add tst-null-argv.
13450 (modules-names): Add tst-null-argv-lib.
13451 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13452 (tst-null-argv-ENV): Set environment for tst-null-argv.
13453 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13454 (RTLD_PROGNAME): New macro.
13455 * elf/tst-null-argv.c: New test case.
13456 * elf/tst-null-argv-lib.c: Library for test case.
13457 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13458 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13459 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13460 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13461 * elf/dl-init.c (call_init): Likewise.
13462 (_dl_init): Likewise.
13463 * elf/dl-load.c (print_search_path): Likewise.
13464 (_dl_map_object): Likewise.
13465 * elf/dl-lookup.c (do_lookup_x): Likewise.
13466 (add_dependency): Likewise.
13467 (_dl_lookup_symbol_x): Likewise.
13468 (_dl_debug_bindings): Likewise.
13469 * elf/dl-open.c (_dl_show_scope): Likewise.
13470 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13471 * elf/dl-version.c (match_symbol): Likewise.
13472 (_dl_check_map_versions): Likewise.
13473 * elf/rtld.c (dl_main): Likewise.
13474 (print_unresolved): Use RTLD_PROGNAME.
13475 (print_missing_version): Likewise.
13476 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13477 (elf_machine_rela): Likewise.
13478 * sysdeps/powerpc/powerpc32/dl-machine.c
13479 (__process_machine_rela): Likewise.
13480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13482 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13484 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13486 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13487 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13489 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13491 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13493 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13495 * po/be.po: Add descriptive title.
13496 * po/zh_CN.po: Likewise.
13497 * po/header.pot: Likewise.
13499 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13501 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13503 (enlarge_archive): Likewise.
13505 2013-05-28 Ben North <ben@redfrontdoor.org>
13507 * manual/arith.texi (frexp): It is the magnitude of the return
13508 value which lies in [0.5, 1), not the return value itself.
13510 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13514 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13516 * stdio-common/bug26.c (main): Correct fscanf template.
13518 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13519 declare _dl_skip_args.
13521 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13524 * manual/platform.texi: Add missing @end deftypefun.
13526 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13529 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13530 bit of mantissa of 2^16382.
13531 * math/libm-test.inc (hypot_test_data): Add more tests.
13533 * math/libm-test.inc: Add drem and pow10 to list of tested
13535 (pow10_test): New function.
13536 (drem_test): Likewise.
13537 (drem_test_tonearest): Likewise.
13538 (drem_test_towardzero): Likewise.
13539 (drem_test_downward): Likewise.
13540 (drem_test_upward): Likewise.
13541 (main): Call the new functions.
13543 * math/libm-test.inc (finite_test_data): Remove.
13544 (finite_test): Run tests from isfinite_test_data.
13545 (gamma_test_data): Remove.
13546 (gamma_test): Run tests from lgamma_test_data.
13547 * sysdeps/i386/fpu/libm-test-ulps: Update.
13548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13550 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13552 * manual/platform.texi: Add PowerPC PPR function set documentation.
13553 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13556 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13558 * math/libm-test.inc (MAX_EXP): Define.
13560 (ulp): New function.
13561 (check_float_internal): Use ULPDIFF.
13562 (cpow_test): Disable failing test.
13563 (check_ulp): Test ulp() implemetnation.
13564 (main): Call check_ulp before starting tests.
13566 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13568 * math/gen-libm-test.pl (generate_testfile): Do not handle
13569 START_DATA and END_DATA.
13570 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13572 (acos_tonearest_test_data): Likewise.
13573 (acos_towardzero_test_data): Likewise.
13574 (acos_downward_test_data): Likewise.
13575 (acos_upward_test_data): Likewise.
13576 (acosh_test_data): Likewise.
13577 (asin_test_data): Likewise.
13578 (asin_tonearest_test_data): Likewise.
13579 (asin_towardzero_test_data): Likewise.
13580 (asin_downward_test_data): Likewise.
13581 (asin_upward_test_data): Likewise.
13582 (asinh_test_data): Likewise.
13583 (atan_test_data): Likewise.
13584 (atanh_test_data): Likewise.
13585 (atan2_test_data): Likewise.
13586 (cabs_test_data): Likewise.
13587 (cacos_test_data): Likewise.
13588 (cacosh_test_data): Likewise.
13589 (carg_test_data): Likewise.
13590 (casin_test_data): Likewise.
13591 (casinh_test_data): Likewise.
13592 (catan_test_data): Likewise.
13593 (catanh_test_data): Likewise.
13594 (cbrt_test_data): Likewise.
13595 (ccos_test_data): Likewise.
13596 (ccosh_test_data): Likewise.
13597 (ceil_test_data): Likewise.
13598 (cexp_test_data): Likewise.
13599 (cimag_test_data): Likewise.
13600 (clog_test_data): Likewise.
13601 (clog10_test_data): Likewise.
13602 (conj_test_data): Likewise.
13603 (copysign_test_data): Likewise.
13604 (cos_test_data): Likewise.
13605 (cos_tonearest_test_data): Likewise.
13606 (cos_towardzero_test_data): Likewise.
13607 (cos_downward_test_data): Likewise.
13608 (cos_upward_test_data): Likewise.
13609 (cosh_test_data): Likewise.
13610 (cosh_tonearest_test_data): Likewise.
13611 (cosh_towardzero_test_data): Likewise.
13612 (cosh_downward_test_data): Likewise.
13613 (cosh_upward_test_data): Likewise.
13614 (cpow_test_data): Likewise.
13615 (cproj_test_data): Likewise.
13616 (creal_test_data): Likewise.
13617 (csin_test_data): Likewise.
13618 (csinh_test_data): Likewise.
13619 (csqrt_test_data): Likewise.
13620 (ctan_test_data): Likewise.
13621 (ctan_tonearest_test_data): Likewise.
13622 (ctan_towardzero_test_data): Likewise.
13623 (ctan_downward_test_data): Likewise.
13624 (ctan_upward_test_data): Likewise.
13625 (ctanh_test_data): Likewise.
13626 (ctanh_tonearest_test_data): Likewise.
13627 (ctanh_towardzero_test_data): Likewise.
13628 (ctanh_downward_test_data): Likewise.
13629 (ctanh_upward_test_data): Likewise.
13630 (erf_test_data): Likewise.
13631 (erfc_test_data): Likewise.
13632 (exp_test_data): Likewise.
13633 (exp_tonearest_test_data): Likewise.
13634 (exp_towardzero_test_data): Likewise.
13635 (exp_downward_test_data): Likewise.
13636 (exp_upward_test_data): Likewise.
13637 (exp10_test_data): Likewise.
13638 (exp2_test_data): Likewise.
13639 (expm1_test_data): Likewise.
13640 (fabs_test_data): Likewise.
13641 (fdim_test_data): Likewise.
13642 (finite_test_data): Likewise.
13643 (floor_test_data): Likewise.
13644 (fma_test_data): Likewise.
13645 (fma_towardzero_test_data): Likewise.
13646 (fma_downward_test_data): Likewise.
13647 (fma_upward_test_data): Likewise.
13648 (fmax_test_data): Likewise.
13649 (fmin_test_data): Likewise.
13650 (fmod_test_data): Likewise.
13651 (fpclassify_test_data): Likewise.
13652 (frexp_test_data): Likewise.
13653 (gamma_test_data): Likewise.
13654 (hypot_test_data): Likewise.
13655 (ilogb_test_data): Likewise.
13656 (isfinite_test_data): Likewise.
13657 (isgreater_test_data): Likewise.
13658 (isgreaterequal_test_data): Likewise.
13659 (isinf_test_data): Likewise.
13660 (isless_test_data): Likewise.
13661 (islessequal_test_data): Likewise.
13662 (islessgreater_test_data): Likewise.
13663 (isnan_test_data): Likewise.
13664 (isnormal_test_data): Likewise.
13665 (issignaling_test_data): Likewise.
13666 (isunordered_test_data): Likewise.
13667 (j0_test_data): Likewise.
13668 (j1_test_data): Likewise.
13669 (jn_test_data): Likewise.
13670 (ldexp_test_data): Likewise.
13671 (lgamma_test_data): Likewise.
13672 (lrint_test_data): Likewise.
13673 (lrint_tonearest_test_data): Likewise.
13674 (lrint_towardzero_test_data): Likewise.
13675 (lrint_downward_test_data): Likewise.
13676 (lrint_upward_test_data): Likewise.
13677 (llrint_test_data): Likewise.
13678 (llrint_tonearest_test_data): Likewise.
13679 (llrint_towardzero_test_data): Likewise.
13680 (llrint_downward_test_data): Likewise.
13681 (llrint_upward_test_data): Likewise.
13682 (log_test_data): Likewise.
13683 (log10_test_data): Likewise.
13684 (log1p_test_data): Likewise.
13685 (log2_test_data): Likewise.
13686 (logb_test_data): Likewise.
13687 (logb_downward_test_data): Likewise.
13688 (lround_test_data): Likewise.
13689 (llround_test_data): Likewise.
13690 (modf_test_data): Likewise.
13691 (nearbyint_test_data): Likewise.
13692 (nextafter_test_data): Likewise.
13693 (nexttoward_test_data): Likewise.
13694 (pow_test_data): Likewise.
13695 (pow_tonearest_test_data): Likewise.
13696 (pow_towardzero_test_data): Likewise.
13697 (pow_downward_test_data): Likewise.
13698 (pow_upward_test_data): Likewise.
13699 (remainder_test_data): Likewise.
13700 (remainder_tonearest_test_data): Likewise.
13701 (remainder_towardzero_test_data): Likewise.
13702 (remainder_downward_test_data): Likewise.
13703 (remainder_upward_test_data): Likewise.
13704 (remquo_test_data): Likewise.
13705 (rint_test_data): Likewise.
13706 (rint_tonearest_test_data): Likewise.
13707 (rint_towardzero_test_data): Likewise.
13708 (rint_downward_test_data): Likewise.
13709 (rint_upward_test_data): Likewise.
13710 (round_test_data): Likewise.
13711 (scalb_test_data): Likewise.
13712 (scalbn_test_data): Likewise.
13713 (scalbln_test_data): Likewise.
13714 (signbit_test_data): Likewise.
13715 (sin_test_data): Likewise.
13716 (sin_tonearest_test_data): Likewise.
13717 (sin_towardzero_test_data): Likewise.
13718 (sin_downward_test_data): Likewise.
13719 (sin_upward_test_data): Likewise.
13720 (sincos_test_data): Likewise.
13721 (sinh_test_data): Likewise.
13722 (sinh_tonearest_test_data): Likewise.
13723 (sinh_towardzero_test_data): Likewise.
13724 (sinh_downward_test_data): Likewise.
13725 (sinh_upward_test_data): Likewise.
13726 (sqrt_test_data): Likewise.
13727 (tan_test_data): Likewise.
13728 (tan_tonearest_test_data): Likewise.
13729 (tan_towardzero_test_data): Likewise.
13730 (tan_downward_test_data): Likewise.
13731 (tan_upward_test_data): Likewise.
13732 (tanh_test_data): Likewise.
13733 (tgamma_test_data): Likewise.
13734 (trunc_test_data): Likewise.
13735 (y0_test_data): Likewise.
13736 (y1_test_data): Likewise.
13737 (yn_test_data): Likewise.
13738 (significand_test_data): Likewise.
13740 * math/gen-libm-test.pl (@functions): Remove variable.
13741 (generate_testfile): Don't handle START and END lines.
13742 * math/libm-test.inc (START): New macro.
13744 (END_COMPLEX): Likewise.
13745 (acos_test): Use END macro without arguments.
13746 (acos_test_tonearest): Likewise.
13747 (acos_test_towardzero): Likewise.
13748 (acos_test_downward): Likewise.
13749 (acos_test_upward): Likewise.
13750 (acosh_test): Likewise.
13751 (asin_test): Likewise.
13752 (asin_test_tonearest): Likewise.
13753 (asin_test_towardzero): Likewise.
13754 (asin_test_downward): Likewise.
13755 (asin_test_upward): Likewise.
13756 (asinh_test): Likewise.
13757 (atan_test): Likewise.
13758 (atanh_test): Likewise.
13759 (atan2_test): Likewise.
13760 (cabs_test): Likewise.
13761 (cacos_test): Use END_COMPLEX macro without arguments.
13762 (cacosh_test): Likewise.
13763 (carg_test): Use END macro without arguments.
13764 (casin_test): Use END_COMPLEX macro without arguments.
13765 (casinh_test): Likewise.
13766 (catan_test): Likewise.
13767 (catanh_test): Likewise.
13768 (cbrt_test): Use END macro without arguments.
13769 (ccos_test): Use END_COMPLEX macro without arguments.
13770 (ccosh_test): Likewise.
13771 (ceil_test): Use END macro without arguments.
13772 (cexp_test): Use END_COMPLEX macro without arguments.
13773 (cimag_test): Use END macro without arguments.
13774 (clog_test): Use END_COMPLEX macro without arguments.
13775 (clog10_test): Likewise.
13776 (conj_test): Likewise.
13777 (copysign_test): Use END macro without arguments.
13778 (cos_test): Likewise.
13779 (cos_test_tonearest): Likewise.
13780 (cos_test_towardzero): Likewise.
13781 (cos_test_downward): Likewise.
13782 (cos_test_upward): Likewise.
13783 (cosh_test): Likewise.
13784 (cosh_test_tonearest): Likewise.
13785 (cosh_test_towardzero): Likewise.
13786 (cosh_test_downward): Likewise.
13787 (cosh_test_upward): Likewise.
13788 (cpow_test): Use END_COMPLEX macro without arguments.
13789 (cproj_test): Likewise.
13790 (creal_test): Use END macro without arguments.
13791 (csin_test): Use END_COMPLEX macro without arguments.
13792 (csinh_test): Likewise.
13793 (csqrt_test): Likewise.
13794 (ctan_test): Likewise.
13795 (ctan_test_tonearest): Likewise.
13796 (ctan_test_towardzero): Likewise.
13797 (ctan_test_downward): Likewise.
13798 (ctan_test_upward): Likewise.
13799 (ctanh_test): Likewise.
13800 (ctanh_test_tonearest): Likewise.
13801 (ctanh_test_towardzero): Likewise.
13802 (ctanh_test_downward): Likewise.
13803 (ctanh_test_upward): Likewise.
13804 (erf_test): Use END macro without arguments.
13805 (erfc_test): Likewise.
13806 (exp_test): Likewise.
13807 (exp_test_tonearest): Likewise.
13808 (exp_test_towardzero): Likewise.
13809 (exp_test_downward): Likewise.
13810 (exp_test_upward): Likewise.
13811 (exp10_test): Likewise.
13812 (exp2_test): Likewise.
13813 (expm1_test): Likewise.
13814 (fabs_test): Likewise.
13815 (fdim_test): Likewise.
13816 (finite_test): Likewise.
13817 (floor_test): Likewise.
13818 (fma_test): Likewise.
13819 (fma_test_towardzero): Likewise.
13820 (fma_test_downward): Likewise.
13821 (fma_test_upward): Likewise.
13822 (fmax_test): Likewise.
13823 (fmin_test): Likewise.
13824 (fmod_test): Likewise.
13825 (fpclassify_test): Likewise.
13826 (frexp_test): Likewise.
13827 (gamma_test): Likewise.
13828 (hypot_test): Likewise.
13829 (ilogb_test): Likewise.
13830 (isfinite_test): Likewise.
13831 (isgreater_test): Likewise.
13832 (isgreaterequal_test): Likewise.
13833 (isinf_test): Likewise.
13834 (isless_test): Likewise.
13835 (islessequal_test): Likewise.
13836 (islessgreater_test): Likewise.
13837 (isnan_test): Likewise.
13838 (isnormal_test): Likewise.
13839 (issignaling_test): Likewise.
13840 (isunordered_test): Likewise.
13841 (j0_test): Likewise.
13842 (j1_test): Likewise.
13843 (jn_test): Likewise.
13844 (ldexp_test): Likewise.
13845 (lgamma_test): Likewise.
13846 (lrint_test): Likewise.
13847 (lrint_test_tonearest): Likewise.
13848 (lrint_test_towardzero): Likewise.
13849 (lrint_test_downward): Likewise.
13850 (lrint_test_upward): Likewise.
13851 (llrint_test): Likewise.
13852 (llrint_test_tonearest): Likewise.
13853 (llrint_test_towardzero): Likewise.
13854 (llrint_test_downward): Likewise.
13855 (llrint_test_upward): Likewise.
13856 (log_test): Likewise.
13857 (log10_test): Likewise.
13858 (log1p_test): Likewise.
13859 (log2_test): Likewise.
13860 (logb_test): Likewise.
13861 (logb_test_downward): Likewise.
13862 (lround_test): Likewise.
13863 (llround_test): Likewise.
13864 (modf_test): Likewise.
13865 (nearbyint_test): Likewise.
13866 (nextafter_test): Likewise.
13867 (nexttoward_test): Likewise.
13868 (pow_test): Likewise.
13869 (pow_test_tonearest): Likewise.
13870 (pow_test_towardzero): Likewise.
13871 (pow_test_downward): Likewise.
13872 (pow_test_upward): Likewise.
13873 (remainder_test): Likewise.
13874 (remainder_test_tonearest): Likewise.
13875 (remainder_test_towardzero): Likewise.
13876 (remainder_test_downward): Likewise.
13877 (remainder_test_upward): Likewise.
13878 (remquo_test): Likewise.
13879 (rint_test): Likewise.
13880 (rint_test_tonearest): Likewise.
13881 (rint_test_towardzero): Likewise.
13882 (rint_test_downward): Likewise.
13883 (rint_test_upward): Likewise.
13884 (round_test): Likewise.
13885 (scalb_test): Likewise.
13886 (scalbn_test): Likewise.
13887 (scalbln_test): Likewise.
13888 (signbit_test): Likewise.
13889 (sin_test): Likewise.
13890 (sin_test_tonearest): Likewise.
13891 (sin_test_towardzero): Likewise.
13892 (sin_test_downward): Likewise.
13893 (sin_test_upward): Likewise.
13894 (sincos_test): Likewise.
13895 (sinh_test): Likewise.
13896 (sinh_test_tonearest): Likewise.
13897 (sinh_test_towardzero): Likewise.
13898 (sinh_test_downward): Likewise.
13899 (sinh_test_upward): Likewise.
13900 (sqrt_test): Likewise.
13901 (tan_test): Likewise.
13902 (tan_test_tonearest): Likewise.
13903 (tan_test_towardzero): Likewise.
13904 (tan_test_downward): Likewise.
13905 (tan_test_upward): Likewise.
13906 (tanh_test): Likewise.
13907 (tgamma_test): Likewise.
13908 (trunc_test): Likewise.
13909 (y0_test): Likewise.
13910 (y1_test): Likewise.
13911 (yn_test): Likewise.
13912 (significand_test): Likewise.
13914 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13917 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13919 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13922 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13923 __ppc_mdoio and __ppc_mdoom.
13924 * manual/platform.texi: Document new functions __ppc_yield,
13925 __ppc_mdoio and __ppc_mdoom.
13927 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13929 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13930 (main): Mention "tls" pseudo-hwcap is legacy.
13931 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13933 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13935 * math/gen-libm-test.pl (parse_args): Output only string of
13936 arguments as text for test name, not full call or descriptions of
13937 tests for extra outputs.
13938 (generate_testfile): Do not pass function name to parse_args.
13939 Generate this_func variable from START.
13940 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13942 (struct test_ff_f_data): Likewise.
13943 (test_ff_f_data_nexttoward): Likewise.
13944 (struct test_fi_f_data): Likewise.
13945 (struct test_fl_f_data): Likewise.
13946 (struct test_if_f_data): Likewise.
13947 (struct test_fff_f_data): Likewise.
13948 (struct test_c_f_data): Likewise.
13949 (struct test_f_f1_data): Likewise. Remove field extra_name.
13950 (struct test_fF_f1_data): Likewise.
13951 (struct test_ffI_f1_data): Likewise.
13952 (struct test_c_c_data): Rename test_name field to arg_str.
13953 (struct test_cc_c_data): Likewise.
13954 (struct test_f_i_data): Likewise.
13955 (struct test_ff_i_data): Likewise.
13956 (struct test_f_l_data): Likewise.
13957 (struct test_f_L_data): Likewise.
13958 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13960 (COMMON_TEST_SETUP): New macro.
13961 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13962 (COMMON_TEST_CLEANUP): Likewise.
13963 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13964 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13966 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13967 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13969 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13970 (RUN_TEST_fff_f): Take argument string. Call new setup and
13972 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13973 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13975 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13976 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13978 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13979 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13981 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13982 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13984 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13985 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13987 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13988 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13990 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13991 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13993 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13994 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13996 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13997 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13999 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14000 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14002 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14003 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14005 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14006 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14008 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14009 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14011 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14012 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14014 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14015 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14017 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14019 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14021 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14022 to _sifields.sigfault.
14023 (si_addr_lsb): Define new macro.
14024 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14025 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14026 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14028 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14031 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14033 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14035 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14036 loading the domain.
14038 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14040 * math/gen-libm-test.pl (parse_args): Do not include expected
14041 result in test name.
14042 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14043 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14044 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14045 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14046 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14049 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14051 * benchtests/Makefile: Sort function entries.
14053 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14054 tanh, asinh, acosh, atanh.
14055 * benchtests/acos-inputs: New file.
14056 * benchtests/acosh-inputs: New file.
14057 * benchtests/asin-inputs: New file.
14058 * benchtests/asinh-inputs: New file.
14059 * benchtests/atanh-inputs: New file.
14060 * benchtests/cosh-inputs: New file.
14061 * benchtests/log-inputs: New file.
14062 * benchtests/sinh-inputs: New file.
14063 * benchtests/tanh-inputs: New file.
14065 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14068 * posix/tst-getaddrinfo4.c: New test.
14069 * posix/Makefile (tests): Add it.
14071 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14074 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14075 when no services were used.
14076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14077 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14079 2013-05-21 Andreas Schwab <schwab@suse.de>
14082 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14083 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14085 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14086 redundant variable declarations and reallocation of buffer when
14087 parsing as IPv6 address. Always set NSS status when called from
14088 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14089 buffer too small. Correct computation of needed size.
14090 * nss/Makefile (tests): Add test-digits-dots.
14091 * nss/test-digits-dots.c: New test.
14093 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14095 * benchtests/Makefile: Remove instructions for adding
14097 * benchtests/README: New file to explain how to execute and
14098 enhance the benchmark tests.
14100 2013-05-21 Andreas Schwab <schwab@suse.de>
14103 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14104 * setjmp/tst-sigsetjmp.c: New test.
14106 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14108 * sysdeps/x86_64/memset.S (memset): New implementation.
14109 (__bzero): Likewise.
14110 (__memset_tail): New function.
14112 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14114 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14115 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14116 __memcpy_sse2_unaligned ifunc selection.
14117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14118 Add memcpy-sse2-unaligned.S.
14119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14120 Add: __memcpy_sse2_unaligned.
14122 2013-05-19 Joseph Myers <joseph@codesourcery.com>
14125 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14126 math_force_eval before restoring floating-point envrionment.
14127 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14128 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14130 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14132 (__nearbyintl): Use math_force_eval before restoring
14133 floating-point environment.
14134 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14136 * math/gen-libm-test.pl (special_functions): Remove.
14137 (parse_args): Don't handle TEST_extra. Handle functions with no
14139 * math/libm-test.inc (struct test_sincos_data): Replace with
14140 struct test_fFF_11_data.
14141 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14142 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14143 (sincos_test_data): Change element type to struct
14144 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14145 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14146 RUN_TEST_LOOP_sincos.
14147 * math/README.libm-test: Don't mention special handling of
14148 individual functions.
14149 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14150 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14151 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14152 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14153 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14156 * math/gen-libm-test.pl (get_variable): Remove function.
14157 (parse_args): Don't show pointer parameters to call in test
14158 names. Use "extra output N" in test names for extra outputs
14159 rather than naming variables.
14161 2013-05-18 Joseph Myers <joseph@codesourcery.com>
14164 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14165 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14166 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14168 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14170 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14173 * math/gen-libm-test.pl (@tests): Remove variable.
14174 ($count): Likewise.
14175 (new_test): Remove function.
14176 (show_exceptions): New function.
14177 (special_functions): Use show_exceptions instead of new_test.
14178 (parse_args): Likewise.
14179 (generate_testfile): Pass only function name in generated call to
14180 print_max_error or print_complex_max_error.
14181 (get_ulps): Do not handle complex tests specially.
14182 (output_test): Rename to ...
14183 (get_all_ulps_for_test): ... this. Return a string rather than
14184 printing to a file. Require ulps to be present.
14185 (output_ulps): Generate arrays rather than #defines.
14186 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14187 (struct ulp_data): New type.
14188 (BUILD_COMPLEX_ULP): Remove macro.
14189 (compare_ulp_data): New function.
14190 (find_ulps): Likewise.
14191 (find_test_ulps): Likewise.
14192 (find_function_ulps): Likewise.
14193 (find_complex_function_ulps): Likewise.
14194 (print_max_error): Determine allowed ulps using
14195 find_function_ulps.
14196 (print_complex_max_error): Determine allowed ulps using
14197 find_complex_function_ulps.
14198 (check_float_internal): Determine max ulps using find_test_ulps.
14199 (check_float): Do not take max_ulp parameter. Update call to
14200 check_float_internal.
14201 (check_complex): Likewise.
14202 (check_int): Do not take max_ulp parameter.
14203 (check_long): Likewise.
14204 (check_bool): Likewise.
14205 (check_longlong): Likewise.
14206 (struct test_f_f_data): Remove max_ulp field.
14207 (struct test_ff_f_data): Likewise.
14208 (struct test_ff_f_data_nexttoward): Likewise.
14209 (struct test_fi_f_data): Likewise.
14210 (struct test_fl_f_data): Likewise.
14211 (struct test_if_f_data): Likewise.
14212 (struct test_fff_f_data): Likewise.
14213 (struct test_c_f_data): Likewise.
14214 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14215 (struct test_fF_f1_data): Likewise.
14216 (struct test_ffI_f1_data): Likewise.
14217 (struct test_c_c_data): Remove max_ulp field.
14218 (struct test_cc_c_data): Likewise.
14219 (struct test_f_i_data): Likewise.
14220 (struct test_ff_i_data): Likewise.
14221 (struct test_f_l_data): Likewise.
14222 (struct test_f_L_data): Likewise.
14223 (struct test_sincos_data): Likewise.
14224 (RUN_TEST_f_f): Do not handle ulps.
14225 (RUN_TEST_LOOP_f_f): Likewise.
14226 (RUN_TEST_2_f): Likewise.
14227 (RUN_TEST_LOOP_2_f): Likewise.
14228 (RUN_TEST_fff_f): Likewise.
14229 (RUN_TEST_LOOP_fff_f): Likewise.
14230 (RUN_TEST_c_f): Likewise.
14231 (RUN_TEST_LOOP_c_f): Likewise.
14232 (RUN_TEST_f_f1): Likewise.
14233 (RUN_TEST_LOOP_f_f1): Likewise.
14234 (RUN_TEST_fF_f1): Likewise.
14235 (RUN_TEST_LOOP_fF_f1): Likewise.
14236 (RUN_TEST_fI_f1): Likewise.
14237 (RUN_TEST_LOOP_fI_f1): Likewise.
14238 (RUN_TEST_ffI_f1): Likewise.
14239 (RUN_TEST_LOOP_ffI_f1): Likewise.
14240 (RUN_TEST_c_c): Likewise.
14241 (RUN_TEST_LOOP_c_c): Likewise.
14242 (RUN_TEST_cc_c): Likewise.
14243 (RUN_TEST_LOOP_cc_c): Likewise.
14244 (RUN_TEST_f_i): Likewise.
14245 (RUN_TEST_LOOP_f_i): Likewise.
14246 (RUN_TEST_f_i_tg): Likewise.
14247 (RUN_TEST_LOOP_f_i_tg): Likewise.
14248 (RUN_TEST_ff_i_tg): Likewise.
14249 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14250 (RUN_TEST_f_b): Likewise.
14251 (RUN_TEST_LOOP_f_b): Likewise.
14252 (RUN_TEST_f_b_tg): Likewise.
14253 (RUN_TEST_LOOP_f_b_tg): Likewise.
14254 (RUN_TEST_f_l): Likewise.
14255 (RUN_TEST_LOOP_f_l): Likewise.
14256 (RUN_TEST_f_L): Likewise.
14257 (RUN_TEST_LOOP_f_L): Likewise.
14258 (RUN_TEST_sincos): Likewise.
14259 (RUN_TEST_LOOP_sincos): Likewise.
14261 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14265 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14266 main case of finite arguments, set rounding mode to FE_TONEAREST
14267 and discard exceptions.
14268 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14270 (remainder_tonearest_test_data): New variable.
14271 (remainder_test_tonearest): New function.
14272 (remainder_towardzero_test_data): New variable.
14273 (remainder_test_towardzero): New function.
14274 (remainder_downward_test_data): New variable.
14275 (remainder_test_downward): New function.
14276 (remainder_upward_test_data): New variable.
14277 (remainder_test_upward): New function.
14278 (main): Call the new test functions.
14280 * math/libm-test.inc (struct test_f_f1_data): Remove field
14282 (struct test_fF_f1_data): Likewise.
14283 (struct test_ffI_f1_data): Likewise.
14284 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14285 based on value of EXTRA_EXPECTED.
14286 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14287 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14288 EXTRA_VAR based on value of EXTRA_EXPECTED.
14289 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14290 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14291 EXTRA_VAR based on value of EXTRA_EXPECTED.
14292 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14293 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14294 EXTRA_VAR based on value of EXTRA_EXPECTED.
14295 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14296 * math/gen-libm-test.pl (parse_args): Don't output initializers
14297 for extra output values.
14299 * math/libm-test.inc (check_int): Expect result to be exactly
14300 equal to expected value and do not handle ulps.
14301 (check_long): Likewise.
14302 (check_longlong): Likewise.
14304 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14306 (cimag_test_data): Likewise.
14307 (conj_test_data): Likewise.
14308 (copysign_test_data): Likewise.
14309 (cproj_test_data): Likewise.
14310 (creal_test_data): Likewise.
14311 (fabs_test_data): Likewise.
14312 (fdim_test_data): Likewise.
14313 (finite_test_data): Likewise.
14314 (floor_test_data): Likewise.
14315 (fmax_test_data): Likewise.
14316 (fmin_test_data): Likewise.
14317 (fmod_test_data): Likewise.
14318 (fpclassify_test_data): Likewise.
14319 (frexp_test_data): Likewise.
14320 (ilogb_test_data): Likewise.
14321 (isfinite_test_data): Likewise.
14322 (isgreater_test_data): Likewise.
14323 (isgreaterequal_test_data): Likewise.
14324 (isinf_test_data): Likewise.
14325 (isless_test_data): Likewise.
14326 (islessequal_test_data): Likewise.
14327 (islessgreater_test_data): Likewise.
14328 (isnan_test_data): Likewise.
14329 (isnormal_test_data): Likewise.
14330 (issignaling_test_data): Likewise.
14331 (isunordered_test_data): Likewise.
14332 (ldexp_test_data): Likewise.
14333 (lrint_test_data): Likewise.
14334 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14335 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14336 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14337 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14338 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14339 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14341 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14342 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14343 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14344 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14346 (lrint_downward_test_data): Test for "inexact" exceptions.
14347 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14348 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14349 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14351 (lrint_upward_test_data): Test for "inexact" exceptions.
14352 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14354 (llrint_test_data): Test for "inexact" exceptions.
14355 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14356 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14357 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14358 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14359 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14360 (llrint_downward_test_data): Test for "inexact" exceptions.
14361 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14362 (llrint_upward_test_data): Test for "inexact" exceptions.
14363 (logb_test_data): Likewise.
14364 (logb_downward_test_data): Likewise.
14365 (nextafter_test_data): Likewise.
14366 (nexttoward_test_data): Likewise.
14367 (remainder_test_data): Likewise.
14368 (remquo_test_data): Likewise.
14369 (scalbn_test_data): Likewise.
14370 (scalbln_test_data): Likewise.
14371 (signbit_test_data): Likewise.
14372 (sqrt_test_data): Likewise.
14373 (significand_test_data): Likewise.
14375 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14378 * benchtests/bench-modf.c (struct args): Mark arg0 as
14380 * scripts/bench.pl: Mark members of struct args as volatile.
14382 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14385 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14386 negative infinity on POWER6 or lower.
14387 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14389 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14392 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14393 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14394 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14395 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14396 (_FP_SETQNAN): New macro.
14397 (_FP_SETQNAN_SEMIRAW): Likewise.
14398 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14399 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14400 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14401 (FP_EXTEND): Use _FP_FRAC_SNANP.
14402 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14403 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14405 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14407 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14410 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14412 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14413 with DIVIDE_BY_ZERO_EXCEPTION.
14414 (gamma_test_data): Likewise.
14415 (lgamma_test_data): Likewise.
14416 (log_test_data): Likewise.
14417 (log10_test_data): Likewise.
14418 (log2_test_data): Likewise.
14419 (tgamma_test_data): Likewise.
14421 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14422 (acos_test_tonearest): Likewise.
14423 (acos_test_towardzero): Likewise.
14424 (acos_test_downward): Likewise.
14425 (acos_test_upward): Likewise.
14426 (acosh_test): Likewise.
14427 (asin_test): Likewise.
14428 (asin_test_tonearest): Likewise.
14429 (asin_test_towardzero): Likewise.
14430 (asin_test_downward): Likewise.
14431 (asin_test_upward): Likewise.
14432 (asinh_test): Likewise.
14433 (atan_test): Likewise.
14434 (atanh_test): Likewise.
14435 (atan2_test): Likewise.
14436 (cabs_test): Likewise.
14437 (cacos_test): Likewise.
14438 (cacosh_test): Likewise.
14439 (casin_test): Likewise.
14440 (casinh_test): Likewise.
14441 (catan_test): Likewise.
14442 (catanh_test): Likewise.
14443 (cbrt_test): Likewise.
14444 (ccos_test): Likewise.
14445 (ccosh_test): Likewise.
14446 (cexp_test): Likewise.
14447 (clog_test): Likewise.
14448 (clog10_test): Likewise.
14449 (cos_test): Likewise.
14450 (cos_test_tonearest): Likewise.
14451 (cos_test_towardzero): Likewise.
14452 (cos_test_downward): Likewise.
14453 (cos_test_upward): Likewise.
14454 (cosh_test): Likewise.
14455 (cosh_test_tonearest): Likewise.
14456 (cosh_test_towardzero): Likewise.
14457 (cosh_test_downward): Likewise.
14458 (cosh_test_upward): Likewise.
14459 (cpow_test): Likewise.
14460 (csin_test): Likewise.
14461 (csinh_test): Likewise.
14462 (csqrt_test): Likewise.
14463 (ctan_test): Likewise.
14464 (ctan_test_tonearest): Likewise.
14465 (ctan_test_towardzero): Likewise.
14466 (ctan_test_downward): Likewise.
14467 (ctan_test_upward): Likewise.
14468 (ctanh_test): Likewise.
14469 (ctanh_test_tonearest): Likewise.
14470 (ctanh_test_towardzero): Likewise.
14471 (ctanh_test_downward): Likewise.
14472 (ctanh_test_upward): Likewise.
14473 (erf_test): Likewise.
14474 (erfc_test): Likewise.
14475 (exp_test): Likewise.
14476 (exp_test_tonearest): Likewise.
14477 (exp_test_towardzero): Likewise.
14478 (exp_test_downward): Likewise.
14479 (exp_test_upward): Likewise.
14480 (exp10_test): Likewise.
14481 (exp2_test): Likewise.
14482 (expm1_test): Likewise.
14483 (fmod_test): Likewise.
14484 (gamma_test): Likewise.
14485 (hypot_test): Likewise.
14486 (j0_test): Likewise.
14487 (j1_test): Likewise.
14488 (jn_test): Likewise.
14489 (lgamma_test): Likewise.
14490 (log_test): Likewise.
14491 (log10_test): Likewise.
14492 (log1p_test): Likewise.
14493 (log2_test): Likewise.
14494 (logb_test_downward): Likewise.
14495 (pow_test): Likewise.
14496 (pow_test_tonearest): Likewise.
14497 (pow_test_towardzero): Likewise.
14498 (pow_test_downward): Likewise.
14499 (pow_test_upward): Likewise.
14500 (remainder_test): Likewise.
14501 (remquo_test): Likewise.
14502 (sin_test): Likewise.
14503 (sin_test_tonearest): Likewise.
14504 (sin_test_towardzero): Likewise.
14505 (sin_test_downward): Likewise.
14506 (sin_test_upward): Likewise.
14507 (sincos_test): Likewise.
14508 (sinh_test): Likewise.
14509 (sinh_test_tonearest): Likewise.
14510 (sinh_test_towardzero): Likewise.
14511 (sinh_test_downward): Likewise.
14512 (sinh_test_upward): Likewise.
14513 (sqrt_test): Likewise.
14514 (tan_test): Likewise.
14515 (tan_test_tonearest): Likewise.
14516 (tan_test_towardzero): Likewise.
14517 (tan_test_downward): Likewise.
14518 (tan_test_upward): Likewise.
14519 (tanh_test): Likewise.
14520 (tgamma_test): Likewise.
14521 (y0_test): Likewise.
14522 (y1_test): Likewise.
14523 (yn_test): Likewise.
14525 * math/gen-libm-test.pl (adjust_arg): Remove function.
14526 (special_function): Remove argument $in_func. Only handle
14527 generating output for tables of tests, not inside functions.
14528 (parse_args): Likewise.
14529 (generate_testfile): Remove variable $in_func. Update call to
14531 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14532 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14533 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14534 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14535 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14536 (MAX_VALUE_INIT): Rename macro to max_value.
14537 (MIN_VALUE_INIT): Rename macro to min_value.
14538 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14539 (plus_zero): Remove variable.
14540 (minus_zero): Likewise.
14541 (plus_infty): Likewise.
14542 (minus_infty): Likewise.
14543 (qnan_value): Likewise.
14544 (max_value): Likewise.
14545 (min_value): Likewise.
14546 (min_subnorm_value): Likewise.
14548 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14550 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14551 uint64_t or uint32_t usage.
14552 * crypt/sha256-block.c: Likewise.
14553 * crypt/sha256-crypt.c: Likewise.
14554 * crypt/sha256.c: Likewise.
14555 * crypt/sha512-block.c: Likewise.
14556 * crypt/sha512-crypt.c: Likewise.
14557 * crypt/sha512.c: Likewise.
14558 * debug/backtrace-tst.c: Likewise.
14559 * debug/pcprofiledump.c: Likewise.
14560 * elf/cache.c: Likewise.
14561 * elf/dl-cache.c: Likewise.
14562 * elf/dl-misc.c: Likewise.
14563 * elf/dl-profile.c: Likewise.
14564 * elf/dl-support.c: Likewise.
14565 * elf/ldconfig.c: Likewise.
14566 * elf/sprof.c: Likewise.
14567 * iconv/dummy-repertoire.c: Likewise.
14568 * iconv/iconv_charmap.c: Likewise.
14569 * iconv/skeleton.c: Likewise.
14570 * iconvdata/8bit-generic.c: Likewise.
14571 * iconvdata/cp737.h: Likewise.
14572 * iconvdata/cp775.h: Likewise.
14573 * iconvdata/ibm1008.h: Likewise.
14574 * iconvdata/ibm1025.h: Likewise.
14575 * iconvdata/ibm1046.h: Likewise.
14576 * iconvdata/ibm1097.h: Likewise.
14577 * iconvdata/ibm1112.h: Likewise.
14578 * iconvdata/ibm1122.h: Likewise.
14579 * iconvdata/ibm1123.h: Likewise.
14580 * iconvdata/ibm1124.h: Likewise.
14581 * iconvdata/ibm1129.h: Likewise.
14582 * iconvdata/ibm1130.h: Likewise.
14583 * iconvdata/ibm1132.h: Likewise.
14584 * iconvdata/ibm1133.h: Likewise.
14585 * iconvdata/ibm1137.h: Likewise.
14586 * iconvdata/ibm1140.h: Likewise.
14587 * iconvdata/ibm1141.h: Likewise.
14588 * iconvdata/ibm1142.h: Likewise.
14589 * iconvdata/ibm1143.h: Likewise.
14590 * iconvdata/ibm1144.h: Likewise.
14591 * iconvdata/ibm1145.h: Likewise.
14592 * iconvdata/ibm1146.h: Likewise.
14593 * iconvdata/ibm1147.h: Likewise.
14594 * iconvdata/ibm1148.h: Likewise.
14595 * iconvdata/ibm1149.h: Likewise.
14596 * iconvdata/ibm1153.h: Likewise.
14597 * iconvdata/ibm1154.h: Likewise.
14598 * iconvdata/ibm1155.h: Likewise.
14599 * iconvdata/ibm1156.h: Likewise.
14600 * iconvdata/ibm1157.h: Likewise.
14601 * iconvdata/ibm1158.h: Likewise.
14602 * iconvdata/ibm1160.h: Likewise.
14603 * iconvdata/ibm1161.h: Likewise.
14604 * iconvdata/ibm1162.h: Likewise.
14605 * iconvdata/ibm1163.h: Likewise.
14606 * iconvdata/ibm1164.h: Likewise.
14607 * iconvdata/ibm1166.h: Likewise.
14608 * iconvdata/ibm1167.h: Likewise.
14609 * iconvdata/ibm12712.h: Likewise.
14610 * iconvdata/ibm1390.h: Likewise.
14611 * iconvdata/ibm1399.h: Likewise.
14612 * iconvdata/ibm16804.h: Likewise.
14613 * iconvdata/ibm4517.h: Likewise.
14614 * iconvdata/ibm4899.h: Likewise.
14615 * iconvdata/ibm4909.h: Likewise.
14616 * iconvdata/ibm4971.h: Likewise.
14617 * iconvdata/ibm5347.h: Likewise.
14618 * iconvdata/ibm803.h: Likewise.
14619 * iconvdata/ibm856.h: Likewise.
14620 * iconvdata/ibm901.h: Likewise.
14621 * iconvdata/ibm902.h: Likewise.
14622 * iconvdata/ibm9030.h: Likewise.
14623 * iconvdata/ibm9066.h: Likewise.
14624 * iconvdata/ibm921.h: Likewise.
14625 * iconvdata/ibm922.h: Likewise.
14626 * iconvdata/ibm9448.h: Likewise.
14627 * iconvdata/isiri-3342.h: Likewise.
14628 * iconvdata/jis0201.h: Likewise.
14629 * include/link.h: Likewise.
14630 * include/netdb.h: Likewise.
14631 * inet/check_native.c: Likewise.
14632 * inet/check_pf.c: Likewise.
14633 * inet/getipv4sourcefilter.c: Likewise.
14634 * inet/getnameinfo.c: Likewise.
14635 * inet/getsourcefilter.c: Likewise.
14636 * inet/htonl.c: Likewise.
14637 * inet/setipv4sourcefilter.c: Likewise.
14638 * inet/setsourcefilter.c: Likewise.
14639 * inet/test-inet6_opt.c: Likewise.
14640 * inet/tst-network.c: Likewise.
14641 * locale/C-collate.c: Likewise.
14642 * locale/C-ctype.c: Likewise.
14643 * locale/C-time.c: Likewise.
14644 * locale/C-translit.h: Likewise.
14645 * locale/loadarchive.c: Likewise.
14646 * locale/programs/3level.h: Likewise.
14647 * locale/programs/charmap.c: Likewise.
14648 * locale/programs/charmap.h: Likewise.
14649 * locale/programs/ld-address.c: Likewise.
14650 * locale/programs/ld-collate.c: Likewise.
14651 * locale/programs/ld-ctype.c: Likewise.
14652 * locale/programs/ld-identification.c: Likewise.
14653 * locale/programs/ld-measurement.c: Likewise.
14654 * locale/programs/ld-messages.c: Likewise.
14655 * locale/programs/ld-monetary.c: Likewise.
14656 * locale/programs/ld-name.c: Likewise.
14657 * locale/programs/ld-numeric.c: Likewise.
14658 * locale/programs/ld-paper.c: Likewise.
14659 * locale/programs/ld-telephone.c: Likewise.
14660 * locale/programs/ld-time.c: Likewise.
14661 * locale/programs/linereader.c: Likewise.
14662 * locale/programs/locale.c: Likewise.
14663 * locale/programs/locarchive.c: Likewise.
14664 * locale/programs/locfile.h: Likewise.
14665 * locale/programs/repertoire.c: Likewise.
14666 * locale/programs/simple-hash.c: Likewise.
14667 * locale/programs/simple-hash.h: Likewise.
14668 * malloc/memusage.c: Likewise.
14669 * malloc/memusagestat.c: Likewise.
14670 * nis/nis_defaults.c: Likewise.
14671 * nis/nis_hash.c: Likewise.
14672 * nis/nis_print.c: Likewise.
14673 * nis/nis_xdr.c: Likewise.
14674 * nscd/connections.c: Likewise.
14675 * nscd/hstcache.c: Likewise.
14676 * nscd/nscd_gethst_r.c: Likewise.
14677 * nscd/nscd_getserv_r.c: Likewise.
14678 * nscd/nscd_helper.c: Likewise.
14679 * nscd/servicescache.c: Likewise.
14680 * nss/makedb.c: Likewise.
14681 * nss/nss_db/db-XXX.c: Likewise.
14682 * nss/nss_db/db-initgroups.c: Likewise.
14683 * nss/nss_db/db-netgrp.c: Likewise.
14684 * nss/nss_files/files-network.c: Likewise.
14685 * nss/nss_files/files-parse.c: Likewise.
14686 * posix/bug-regex5.c: Likewise.
14687 * posix/fnmatch_loop.c: Likewise.
14688 * posix/regcomp.c: Likewise.
14689 * posix/regexec.c: Likewise.
14690 * posix/tst-rfc3484-2.c: Likewise.
14691 * posix/tst-rfc3484-3.c: Likewise.
14692 * posix/tst-rfc3484.c: Likewise.
14693 * resolv/nss_dns/dns-canon.c: Likewise.
14694 * resolv/nss_dns/dns-network.c: Likewise.
14695 * resolv/res_init.c: Likewise.
14696 * resolv/res_mkquery.c: Likewise.
14697 * resolv/tst-aton.c: Likewise.
14698 * stdlib/cxa_atexit.c: Likewise.
14699 * stdlib/cxa_finalize.c: Likewise.
14700 * stdlib/gen-fpioconst.c: Likewise.
14701 * stdlib/strtol_l.c: Likewise.
14702 * string/tst-endian.c: Likewise.
14703 * sunrpc/auth_des.c: Likewise.
14704 * sunrpc/clnt_udp.c: Likewise.
14705 * sunrpc/rtime.c: Likewise.
14706 * sunrpc/svcauth_des.c: Likewise.
14707 * sunrpc/xdr.c: Likewise.
14708 * sunrpc/xdr_intXX_t.c: Likewise.
14709 * sunrpc/xdr_rec.c: Likewise.
14710 * sysdeps/generic/ldconfig.h: Likewise.
14711 * sysdeps/generic/ldsodefs.h: Likewise.
14712 * sysdeps/generic/memusage.h: Likewise.
14713 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14714 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14715 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14716 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14717 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14718 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14719 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14720 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14721 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14723 * sysdeps/posix/getaddrinfo.c: Likewise.
14724 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14725 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14726 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14727 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14728 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14729 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14730 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14731 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14732 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14733 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14734 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14735 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14736 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14737 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14738 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14739 * sysdeps/x86_64/dl-tls.h: Likewise.
14740 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14741 * time/alt_digit.c: Likewise.
14742 * time/era.c: Likewise.
14743 * wcsmbs/tst-c16c32-1.c: Likewise.
14745 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14747 * math/libm-test.inc (struct test_sincos_data): New type.
14748 (RUN_TEST_LOOP_sincos): New macro.
14749 (sincos_test_data): New variable.
14750 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14752 2013-05-16 Richard Henderson <rth@redhat.com>
14754 * math/atest-exp2.c (LIMB64): New macro.
14755 (CONSTSZ): New macro.
14756 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14758 (print_mpn_fp): ... to function scope.
14759 (read_mpn_hex): Remove.
14760 (get_log2): Remove.
14761 (exp2_mpn): Use mp_log2.
14762 (main): Use mp_exp1.
14764 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14766 * math/libm-test.inc: Remove comment about not testing "inexact"
14768 (INEXACT_EXCEPTION): New macro.
14769 (NO_INEXACT_EXCEPTION): Likewise.
14770 (INVALID_EXCEPTION_OK): Update value.
14771 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14772 (OVERFLOW_EXCEPTION_OK): Likewise.
14773 (UNDERFLOW_EXCEPTION_OK): Likewise.
14774 (IGNORE_ZERO_INF_SIGN): Likewise.
14775 (ERRNO_UNCHANGED): Likewise.
14776 (ERRNO_EDOM): Likewise.
14777 (ERRNO_ERANGE): Likewise.
14778 (test_exceptions): Handle testing "inexact" exceptions.
14779 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14780 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14781 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14782 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14784 (rint_towardzero_test_data): Likewise.
14785 (rint_downward_test_data): Likewise.
14786 (rint_upward_test_data): Likewise.
14788 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14789 with OVERFLOW_EXCEPTION.
14790 (exp10_test_data): Likewise.
14791 (exp2_test_data): Likewise.
14792 (expm1_test_data): Likewise.
14793 (lgamma_test_data): Likewise.
14794 (pow_test_data): Likewise.
14795 (tgamma_test_data): Likewise.
14796 (yn_test_data): Remove duplicate test of overflow.
14798 * math/libm-test.inc (struct test_cc_c_data): New type.
14799 (RUN_TEST_LOOP_cc_c): New macro.
14800 (cpow_test_data): New variable.
14801 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14803 * math/libm-test.inc (struct test_f_L_data): New type.
14804 (RUN_TEST_LOOP_f_L): New macro.
14805 (llrint_test_data): New variable.
14806 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14807 (llrint_tonearest_test_data): New variable.
14808 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14809 (llrint_towardzero_test_data): New variable.
14810 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14811 (llrint_downward_test_data): New variable.
14812 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14813 (llrint_upward_test_data): New variable.
14814 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14815 (llround_test_data): New variable.
14816 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14818 2013-05-13 Peter Collingbourne <pcc@google.com>
14820 * math/atest-exp2.c (get_log2): Remove const attribute.
14822 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14824 * math/libm-test.inc (struct test_f_l_data): New type.
14825 (RUN_TEST_LOOP_f_l): New macro.
14826 (lrint_test_data): New variable.
14827 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14828 (lrint_tonearest_test_data): New variable.
14829 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14830 (lrint_towardzero_test_data): New variable.
14831 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14832 (lrint_downward_test_data): New variable.
14833 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14834 (lrint_upward_test_data): New variable.
14835 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14836 (lround_test_data): New variable.
14837 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14839 2013-05-15 Peter Collingbourne <pcc@google.com>
14841 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14842 (EXTRACT_WORDS64) Use where appropriate.
14843 (INSERT_WORDS64) Likewise.
14845 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14846 constraints with x constraints.
14847 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14849 * malloc/obstack.c (_obstack_compat): Add initializer.
14851 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14853 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14854 si_trapno and add si_addr_lsb to _sifields.sigfault.
14855 (si_trapno): Remove macro.
14856 (si_addr_lsb): Define new macro.
14857 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14859 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14861 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14862 instead of TEST_f_l.
14863 (llrint_test_tonearest): Likewise.
14864 (llrint_test_towardzero): Likewise.
14865 (llrint_test_downward): Likewise.
14866 (llrint_test_upward): Likewise.
14867 (llround_test): Likewise.
14869 * math/libm-test.inc (struct test_f_i_data): Add comment.
14870 (RUN_TEST_LOOP_f_b): New macro.
14871 (RUN_TEST_LOOP_f_b_tg): Likewise.
14872 (finite_test_data): New variable.
14873 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14874 (isfinite_test_data): New variable.
14875 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14876 (isinf_test_data): New variable.
14877 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14878 (isnan_test_data): New variable.
14879 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14880 (isnormal_test_data): New variable.
14881 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14882 (issignaling_test_data): New variable.
14883 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14884 (signbit_test_data): New variable.
14885 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14887 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14888 with INVALID_EXCEPTION.
14889 (acosh_test_data): Likewise.
14890 (asin_test_data): Likewise.
14891 (atanh_test_data): Likewise.
14892 (fmod_test_data): Likewise.
14893 (log_test_data): Likewise.
14894 (log10_test_data): Likewise.
14895 (log2_test_data): Likewise.
14896 (pow_test_data): Likewise.
14897 (sqrt_test_data): Likewise.
14898 (y0_test_data): Likewise.
14899 (y1_test_data): Likewise.
14900 (yn_test_data): Likewise.
14902 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14905 * math/libm-test.inc (struct test_ff_i_data): New type.
14906 (RUN_TEST_LOOP_ff_i_tg): New macro.
14907 (isgreater_test_data): New variable.
14908 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14909 (isgreaterequal_test_data): New variable.
14910 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14911 (isless_test_data): New variable.
14912 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14913 (islessequal_test_data): New variable.
14914 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14915 (islessgreater_test_data): New variable.
14916 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14917 (isunordered_test_data): New variable.
14918 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14920 2013-05-14 David S. Miller <davem@davemloft.net>
14922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14924 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14926 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14928 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14930 (struct test_f_i_data): Change type of max_ulp to int.
14932 * math/libm-test.inc (test_ffI_f1_data): New type.
14933 (RUN_TEST_LOOP_ffI_f1): New macro.
14934 (remquo_test_data): New variable.
14935 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14937 * setjmp/tst-setjmp-fp.c: New file.
14938 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14939 (link-libm): New variable.
14940 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14942 * math/libm-test.inc (struct test_f_i_data): New type.
14943 (RUN_TEST_LOOP_f_i): New macro.
14944 (RUN_TEST_LOOP_f_i_tg): Likewise.
14945 (fpclassify_test_data): New variable.
14946 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14947 (ilogb_test_data): New variable.
14948 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14950 * math/libm-test.inc (scalbln_test): Correct function name in END
14953 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14954 (RUN_TEST_LOOP_fI_f1): New macro.
14955 (frexp_test_data): New variable.
14956 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14958 * math/libm-test.inc (struct test_fF_f1_data): New type.
14959 (RUN_TEST_LOOP_fF_f1): New macro.
14960 (modf_test_data): New variable.
14961 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14963 * math/libm-test.inc (struct test_f_f1_data): New type.
14964 (RUN_TEST_LOOP_f_f1): New macro.
14965 (gamma_test_data): New variable.
14966 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14967 (lgamma_test_data): New variable.
14968 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14970 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14972 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14973 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14974 (main): Comment "tls" pseudo-hwcap.
14976 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14978 * math/libm-test.inc (struct test_fl_f_data): New type.
14979 (RUN_TEST_LOOP_fl_f): New variable.
14980 (scalbln_test_data): New variable.
14981 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14983 * math/libm-test.inc (struct test_fi_f_data): New type.
14984 (RUN_TEST_LOOP_fi_f): New macro.
14985 (ldexp_test_data): New variable.
14986 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14987 (scalbn_test_data): New variable.
14988 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14990 * math/libm-test.inc (struct test_c_f_data): New type.
14991 (RUN_TEST_LOOP_c_f): New macro.
14992 (cabs_test_data): New variable.
14993 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14994 (carg_test_data): New variable.
14995 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14996 (cimag_test_data): New variable.
14997 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14998 (creal_test_data): New variable.
14999 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15001 * math/libm-test.inc (struct test_if_f_data): New type.
15002 (RUN_TEST_LOOP_if_f): New macro.
15003 (jn_test_data): New variable.
15004 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15005 (yn_test_data): New variable.
15006 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15008 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15010 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15012 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15013 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15015 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15017 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15018 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15019 (bench-deps): Add bench-timing.h.
15020 * benchtests-bench-skeleton.c: Include bench-timing.h.
15021 (main): Use TIMING_* macros instead of clock_gettime.
15022 * benchtests/bench-timing.h: New file.
15025 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15026 Renamed from _LIB_VERSION.
15027 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15029 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15031 * math/libm-test.inc (struct test_fff_f_data): New type.
15032 (RUN_TEST_LOOP_fff_f): New macro.
15033 (fma_test_data): New variable.
15034 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15035 (fma_towardzero_test_data): New variable.
15036 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15037 (fma_downward_test_data): New variable.
15038 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15039 (fma_upward_test_data): New variable.
15040 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15042 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15043 (struct test_c_c_data): New type.
15044 (RUN_TEST_LOOP_c_c): New macro.
15045 (cacos_test_data): New variable.
15046 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15047 (cacosh_test_data): New variable.
15048 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15049 (casin_test_data): New variable.
15050 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15051 (casinh_test_data): New variable.
15052 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15053 (catan_test_data): New variable.
15054 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15055 (catanh_test_data): New variable.
15056 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15057 (ccos_test_data): New variable.
15058 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15059 (ccosh_test_data): New variable.
15060 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15061 (cexp_test_data): New variable.
15062 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15063 (clog_test_data): New variable.
15064 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15065 (clog10_test_data): New variable.
15066 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15067 (conj_test_data): New variable.
15068 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15069 (cproj_test_data): New variable.
15070 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15071 (csin_test_data): New variable.
15072 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15073 (csinh_test_data): New variable.
15074 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15075 (csqrt_test_data): New variable.
15076 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15077 (ctan_test_data): New variable.
15078 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15079 (ctan_tonearest_test_data): New variable.
15080 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15081 (ctan_towardzero_test_data): New variable.
15082 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15083 (ctan_downward_test_data): New variable.
15084 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15085 (ctan_upward_test_data): New variable.
15086 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15087 (ctanh_test_data): New variable.
15088 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15089 (ctanh_tonearest_test_data): New variable.
15090 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15091 (ctanh_towardzero_test_data): New variable.
15092 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15093 (ctanh_downward_test_data): New variable.
15094 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15095 (ctanh_upward_test_data): New variable.
15096 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15097 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15100 * math/libm-test.inc (struct test_ff_f_data): New type.
15101 (struct test_ff_f_data_nexttoward): Likewise.
15102 (RUN_TEST_LOOP_2_f): New macro.
15103 (RUN_TEST_LOOP_ff_f): Likewise.
15104 (atan2_test_data): New variable.
15105 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15106 (copysign_test_data): New variable.
15107 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15108 (fdim_test_data): New variable.
15109 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15110 (fmax_test_data): New variable.
15111 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15112 (fmin_test_data): New variable.
15113 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15114 (fmod_test_data): New variable.
15115 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15116 (hypot_test_data): New variable.
15117 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15118 (nextafter_test_data): New variable.
15119 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15120 (nexttoward_test_data): New variable.
15121 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15122 (pow_test_data): New variable.
15123 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15124 (pow_tonearest_test_data): New variable.
15125 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15126 (pow_towardzero_test_data): New variable.
15127 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15128 (pow_downward_test_data): New variable.
15129 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15130 (pow_upward_test_data): New variable.
15131 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15132 (remainder_test_data): New variable.
15133 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15134 (scalb_test_data): New variable.
15135 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15136 * sysdeps/i386/fpu/libm-test-ulps: Update.
15138 2013-05-11 Joseph Myers <joseph@codesourcery.com>
15140 * math/libm-test.inc (fma_test): Use max_value instead of local
15142 (nextafter_test): Likewise.
15144 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15145 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15146 (acos_downward_test_data): New variable.
15147 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15148 (acos_upward_test_data): New variable.
15149 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15150 (acosh_test_data): New variable.
15151 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15152 (asin_test_data): New variable.
15153 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15154 (asin_tonearest_test_data): New variable.
15155 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15156 (asin_towardzero_test_data): New variable.
15157 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15158 (asin_downward_test_data): New variable.
15159 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15160 (asin_upward_test_data): New variable.
15161 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15162 (asinh_test_data): New variable.
15163 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15164 (atan_test_data): New variable.
15165 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15166 (atanh_test_data): New variable.
15167 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15168 (cbrt_test_data): New variable.
15169 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15170 (ceil_test_data): New variable.
15171 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15172 (cos_test_data): New variable.
15173 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15174 (cos_tonearest_test_data): New variable.
15175 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15176 (cos_towardzero_test_data): New variable.
15177 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15178 (cos_downward_test_data): New variable.
15179 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15180 (cos_upward_test_data): New variable.
15181 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15182 (cosh_test_data): New variable.
15183 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15184 (cosh_tonearest_test_data): New variable.
15185 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15186 (cosh_towardzero_test_data): New variable.
15187 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15188 (cosh_downward_test_data): New variable.
15189 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15190 (cosh_upward_test_data): New variable.
15191 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15192 (erf_test_data): New variable.
15193 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15194 (erfc_test_data): New variable.
15195 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15196 (exp_test_data): New variable.
15197 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15198 (exp_tonearest_test_data): New variable.
15199 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15200 (exp_towardzero_test_data): New variable.
15201 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15202 (exp_downward_test_data): New variable.
15203 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15204 (exp_upward_test_data): New variable.
15205 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15206 (exp10_test_data): New variable.
15207 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15208 (exp2_test_data): New variable.
15209 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15210 (expm1_test_data): New variable.
15211 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15212 (fabs_test_data): New variable.
15213 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15214 (floor_test_data): New variable.
15215 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15216 (j0_test_data): New variable.
15217 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15218 (j1_test_data): New variable.
15219 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15220 (log_test_data): New variable.
15221 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15222 (log10_test_data): New variable.
15223 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15224 (log1p_test_data): New variable.
15225 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15226 (log2_test_data): New variable.
15227 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15228 (logb_test_data): New variable.
15229 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15230 (logb_downward_test_data): New variable.
15231 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15232 (nearbyint_test_data): New variable.
15233 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15234 (rint_test_data): New variable.
15235 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15236 (rint_tonearest_test_data): New variable.
15237 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15238 (rint_towardzero_test_data): New variable.
15239 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15240 (rint_downward_test_data): New variable.
15241 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15242 (rint_upward_test_data): New variable.
15243 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15244 (round_test_data): New variable.
15245 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15246 (sin_test_data): New variable.
15247 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15248 (sin_tonearest_test_data): New variable.
15249 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15250 (sin_towardzero_test_data): New variable.
15251 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15252 (sin_downward_test_data): New variable.
15253 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15254 (sin_upward_test_data): New variable.
15255 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15256 (sinh_test_data): New variable.
15257 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15258 (sinh_tonearest_test_data): New variable.
15259 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15260 (sinh_towardzero_test_data): New variable.
15261 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15262 (sinh_downward_test_data): New variable.
15263 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15264 (sinh_upward_test_data): New variable.
15265 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15266 (sqrt_test_data): New variable.
15267 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15268 (tan_test_data): New variable.
15269 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15270 (tan_tonearest_test_data): New variable.
15271 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15272 (tan_towardzero_test_data): New variable.
15273 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15274 (tan_downward_test_data): New variable.
15275 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15276 (tan_upward_test_data): New variable.
15277 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15278 (tanh_test_data): New variable.
15279 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15280 (tgamma_test_data): New variable.
15281 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15282 (trunc_test_data): New variable.
15283 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15284 (y0_test_data): New variable.
15285 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15286 (y1_test_data): New variable.
15287 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15288 (significand_test_data): New variable.
15289 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15291 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15294 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15296 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15298 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15300 2013-05-10 Andreas Jaeger <aj@suse.de>
15303 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15304 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15306 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15308 * math/gen-libm-test.pl (adjust_arg): New function.
15309 (special_functions): Handle generating output in both functions
15311 (parse_args): Likewise.
15312 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15313 $in_func argument to parse_args.
15314 * math/libm-test.inc (struct test_f_f_data): New type.
15315 (IF_ROUND_INIT_): New macro.
15316 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15317 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15318 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15319 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15320 (ROUND_RESTORE_): Likewise.
15321 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15322 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15323 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15324 (ROUND_RESTORE_FE_UPWARD): Likewise.
15325 (RUN_TEST_LOOP_f_f): New macro.
15326 (acos_test_data): New variable.
15327 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15328 (acos_tonearest_test_data): New variable.
15329 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15331 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15333 * benchtests/bench-skeleton.c (startup): Fix coding style.
15335 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15338 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15339 negative infinity argument.
15340 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15341 negative infinity argument.
15342 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15343 negative infinity argument.
15344 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15347 2013-05-10 Florian Weimer <fweimer@redhat.com>
15349 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15350 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15351 * iconv/iconv_prog.c (main): Likewise.
15352 * locale/programs/charmap-dir.c (charmap_readdir)
15353 (fopen_uncompressed): Likewise.
15354 * locale/programs/locfile.c (siblings_uncached)
15355 (write_locale_data): Use lstat64 instead of lstat.
15356 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15359 2013-05-10 Andreas Jaeger <aj@suse.de>
15362 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15364 Include <locale.h>.
15366 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15368 * elf/dl-close.c (_dl_close_worker): Add comments.
15370 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15373 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15375 (__ieee754_rem_pio2l): Update comments.
15378 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15380 (__ieee754_rem_pio2l): Update comments.
15382 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15383 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15385 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15388 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15389 (M_PI_34_LOG10El): Likewise.
15390 (M_PI2_LOG10El): Likewise.
15391 (M_PI4_LOG10El): Likewise.
15392 (M_PI_LOG10El): Likewise.
15394 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15398 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15400 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15401 (MINUS_ZERO_INIT): Likewise.
15402 (PLUS_INFTY_INIT): Likewise.
15403 (MINUS_INFTY_INIT): Likewise.
15404 (QNAN_VALUE_INIT): Likewise.
15405 (MAX_VALUE_INIT): Likewise.
15406 (MIN_VALUE_INIT): Likewise.
15407 (MIN_SUBNORM_VALUE_INIT): Likewise.
15408 (plus_zero): Initialize with PLUS_ZERO_INIT.
15409 (minus_zero): Initialize with MINUS_ZERO_INIT.
15410 (plus_infty): Initialize with PLUS_INFTY_INIT.
15411 (minus_infty): Initialize with MINUS_INFTY_INIT.
15412 (qnan_value): Initialize with QNAN_VALUE_INIT.
15413 (max_value): Initialize with MAX_VALUE_INIT.
15414 (min_value): Initialize with MIN_VALUE_INIT.
15415 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15417 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15418 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15419 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15420 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15422 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15423 (RUN_TEST_2_f): Likewise.
15424 (RUN_TEST_ff_f): Likewise.
15425 (RUN_TEST_fi_f): Likewise.
15426 (RUN_TEST_fl_f): Likewise.
15427 (RUN_TEST_fff_f): Likewise.
15428 (RUN_TEST_c_f): Likewise.
15429 (RUN_TEST_f_f1): Likewise.
15430 (RUN_TEST_fF_f1): Likewise.
15431 (RUN_TEST_fI_f1): Likewise.
15432 (RUN_TEST_ffI_f1): Likewise.
15433 (RUN_TEST_c_c): Likewise.
15434 (RUN_TEST_cc_c): Likewise.
15435 (RUN_TEST_f_i): Likewise.
15436 (RUN_TEST_f_i_tg): Likewise.
15437 (RUN_TEST_ff_i_tg): Likewise.
15438 (RUN_TEST_f_b): Likewise.
15439 (RUN_TEST_f_b_tg): Likewise.
15440 (RUN_TEST_f_l): Likewise.
15441 (RUN_TEST_f_L): Likewise.
15442 (RUN_TEST_sincos): Likewise.
15443 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15444 whether to show exceptions. Do not include ");\n" in return
15446 (special_functions): Output call to RUN_TEST_sincos instead of
15447 check_float calls. Update calls to new_test.
15448 (parse_args): Output call to single RUN_TEST_* macro instead of
15449 check_* calls and other assignments. Update calls to new_test.
15455 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15456 input to result for tgamma overflow.
15457 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15458 (gamma_coeff): New variable.
15459 (NCOEFF): New macro.
15460 (gamma_positive): New function.
15461 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15462 underflow here. Use gamma_positive instead of exp (lgamma) for
15464 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15465 (gamma_coeff): New variable.
15466 (NCOEFF): New macro.
15467 (gammaf_positive): New function.
15468 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15469 underflow here. Use gamma_positive instead of exp (lgamma) for
15471 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15472 (gamma_coeff): New variable.
15473 (NCOEFF): New macro.
15474 (gammal_positive): New function.
15475 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15476 underflow here. Use gamma_positive instead of exp (lgamma) for
15478 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15479 (gamma_coeff): New variable.
15480 (NCOEFF): New macro.
15481 (gammal_positive): New function.
15482 (__ieee754_gammal_r): Handle positive infinity, overflow and
15483 underflow here. Handle NaN the same as positive infinity. Remove
15484 check x < 0xffffffff for negative integers. Use gamma_positive
15485 instead of exp (lgamma) for other arguments.
15486 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15487 (gamma_coeff): New variable.
15488 (NCOEFF): New macro.
15489 (gammal_positive): New function.
15490 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15491 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15492 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15495 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15496 * sysdeps/generic/math_private.h (__gamma_productf): New
15498 (__gamma_product): Likewise.
15499 (__gamma_productl): Likewise.
15500 * math/Makefile (libm-calls): Add gamma_product.
15501 * math/libm-test.inc (tgamma_test): Add more tests.
15502 * sysdeps/i386/fpu/libm-test-ulps: Update.
15503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15505 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15507 * benchtests/bench-skeleton.c (main): Preheat CPU.
15509 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15511 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15513 2013-05-07 Roland McGrath <roland@hack.frob.com>
15515 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15516 and _dl_skip_args_internal.
15518 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15520 * manual/message.texi (Message Translation): Talk about users.
15521 Message to key mapping impacts design.
15523 2013-05-06 Roland McGrath <roland@hack.frob.com>
15525 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15527 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15529 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15530 * sysdeps/wordsize-64/glob64.c: ... here.
15532 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15533 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15536 * debug/getlogin_r_chk.c: Moved to ...
15537 * login/getlogin_r_chk.c: ... here.
15538 * debug/Makefile (routines): Move getlogin_r_chk to ...
15539 * login/Makefile (routines): ... here.
15540 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15541 * login/Versions (libc: GLIBC_2.4): ... here.
15543 * io/poll.c (__poll): Renamed from poll.
15544 Add libc_hidden_def.
15545 (poll): Define as weak alias.
15547 * debug/ptsname_r_chk.c: Moved to ...
15548 * login/ptsname_r_chk.c: ... here.
15549 * debug/Makefile (routines): Move ptsname_r_chk to ...
15550 * login/Makefile (routines): ... here.
15551 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15552 * login/Versions (libc: GLIBC_2.4): ... here.
15554 * posix/getlogin.c: Moved to ...
15555 * login/getlogin.c: ... here.
15556 * posix/getlogin_r.c: Moved to ...
15557 * login/getlogin_r.c: ... here.
15558 * posix/getlogin_r.c: Moved to ...
15559 * login/getlogin_r.c: ... here.
15560 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15561 * login/Makefile (routines): ... here.
15562 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15563 * login/Versions (libc: GLIBC_2.0): ... here.
15565 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15566 (setrlimit): Define as weak alias.
15568 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15569 Call __ names for open, ftruncate, and close.
15570 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15571 (truncate): Define as weak alias.
15573 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15575 * math/gen-libm-test.pl (parse_args): Initialize x before each
15576 test of frexp, modf and remquo.
15578 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15579 test signgam value.
15581 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15585 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15587 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15589 2013-05-06 Roland McGrath <roland@hack.frob.com>
15591 * elf/dl-writev.h: New file.
15592 * elf/dl-misc.c: Include it.
15593 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15594 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15596 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15598 * math/libm-test.inc (noXFails): Remove variable.
15599 (noXPasses): Likewise.
15600 (BUILD_COMPLEX_INT): Remove macro.
15601 (print_screen): Remove xfail argument.
15602 (print_screen_max_error): Likewise.
15603 (update_stats): Likewise.
15604 (print_max_error): Likewise. Update calls to other affected
15606 (print_complex_max_error): Likewise.
15607 (test_single_exception): Update calls to print_screen.
15608 (test_single_errno): Likewise.
15609 (check_float_internal): Remove xfail argument. Update calls to
15610 other affected functions.
15611 (check_float): Likewise.
15612 (check_complex): Likewise.
15613 (check_int): Likewise.
15614 (check_long): Likewise.
15615 (check_bool): Likewise.
15616 (check_longlong): Likewise.
15617 (main): Don't print noXFails and noXPasses.
15618 * math/gen-libm-test.pl (top level): Don't mention expected
15619 failure handling in comment.
15620 (new_test): Don't handle expected failures.
15621 (parse_args): Don't mention expected failure handling in comment.
15622 (generate_testfile): Don't handle expected failures.
15623 (parse_ulps): Likewise.
15624 (print_ulps_file): Likewise.
15625 (get_failure): Remove function.
15626 (output_test): Don't handle expected failures.
15627 * make/README.libm-test: Don't mention expected failure handling.
15629 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15630 (minus_zero): Likewise.
15631 (plus_infty): Likewise.
15632 (minus_infty): Likewise.
15633 (qnan_value): Likewise.
15634 (max_value): Likewise.
15635 (min_value): Likewise.
15636 (min_subnorm_value): Likewise.
15637 (initialize): Do not initialize those variables dynamically.
15639 2013-05-03 Roland McGrath <roland@hack.frob.com>
15641 * io/open.c (__open_2): Moved to ...
15642 * io/open_2.c: ... this new file.
15643 * io/open64.c (__open64_2): Moved to ...
15644 * io/open64_2.c: ... this new file.
15645 * io/openat.c (__openat_2): Moved to ...
15646 * io/openat_2.c: ... this new file.
15647 * io/openat64.c (__openat64_2): Moved to ...
15648 * io/openat64_2.c: ... this new file.
15649 * io/Makefile (routines): Add them.
15650 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15651 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15652 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15653 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15654 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15655 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15656 (__openat64): Add hidden_ver.
15657 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15658 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15660 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15661 Separately conditionalize setting of GLRO(dl_sysinfo) so
15662 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15663 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15665 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15667 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15668 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15670 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15671 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15672 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15673 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15674 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15676 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15678 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15679 test signgam value.
15681 * math/libm-test.inc (hypot_test): Do not use
15682 IGNORE_ZERO_INF_SIGN.
15684 2013-05-03 Andreas Jaeger <aj@suse.de>
15686 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15688 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15689 (PF_MAX): Adjust for VSOCK change.
15691 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15695 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15698 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15699 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15700 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15702 2013-05-02 David S. Miller <davem@davemloft.net>
15704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15706 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15708 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15710 2013-05-01 Roland McGrath <roland@hack.frob.com>
15712 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15714 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15717 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15718 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15719 Use __attribute__ ((__gnu_inline__)).
15720 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15721 Don't use __attribute__ ((__gnu_inline__)).
15723 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15726 * math/s_catan.c (__catan): Handle small real or imaginary part of
15727 input specially to avoid spurious underflow.
15728 * math/s_catanf.c (__catanf): Likewise.
15729 * math/s_catanh.c (__catanh): Likewise.
15730 * math/s_catanhf.c (__catanhf): Likewise.
15731 * math/s_catanhl.c (__catanhl): Likewise.
15732 * math/s_catanl.c (__catanl): Likewise.
15733 * math/libm-test.inc (catan_test): Add more tests.
15734 (catanh_test): Likewise.
15735 * sysdeps/i386/fpu/libm-test-ulps: Update.
15736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15738 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15742 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15745 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15746 accurately for denominator in atan2.
15747 * math/s_catanf.c (__catanf): Likewise.
15748 * math/s_catanh.c (__catanh): Likewise.
15749 * math/s_catanhf.c (__catanhf): Likewise.
15750 * math/s_catanhl.c (__catanhl): Likewise.
15751 * math/s_catanl.c (__catanl): Likewise.
15752 * math/libm-test.inc (catan_test): Add more tests.
15753 (catanh_test): Likewise.
15754 * sysdeps/i386/fpu/libm-test-ulps: Update.
15755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15757 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15759 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15761 * benchtests/Makefile (bench): Remove slow benchmarks.
15762 * benchtests/atan-inputs: Add slow benchmark inputs.
15763 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15764 (BENCH_FUNC): Accept variant offset.
15766 * benchtests/bench-skeleton.c (main): Run benchmark for each
15768 * benchtests/cos-inputs: Add slow benchmark inputs.
15769 * benchtests/exp-inputs: Likewise.
15770 * benchtests/pow-inputs: Likewise.
15771 * benchtests/sin-inputs: Likewise.
15772 * benchtests/slowatan-inputs: Remove.
15773 * benchtests/slowatan.c: Remove.
15774 * benchtests/slowcos-inputs: Remove.
15775 * benchtests/slowcos.c: Remove.
15776 * benchtests/slowexp-inputs: Remove.
15777 * benchtests/slowexp.c: Remove.
15778 * benchtests/slowpow-inputs: Remove.
15779 * benchtests/slowpow.c: Remove.
15780 * benchtests/slowsin-inputs: Remove.
15781 * benchtests/slowsin.c: Remove.
15782 * benchtests/slowtan-inputs: Remove.
15783 * benchtests/slowtan.c: Remove.
15784 * benchtests/tan-inputs: Add slow benchmark inputs.
15785 * scripts/bench.pl: Parse comments and directives.
15787 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15789 ($(objpfx)bench-%.c): Remove *-ITER.
15790 * benchtests/bench-modf.c: Remove definition of ITER.
15791 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15792 (main): Loop for DURATION seconds instead of fixed number of
15794 * scripts/bench.pl: Don't expect iterations in parameters.
15796 2013-04-29 Roland McGrath <roland@hack.frob.com>
15798 * io/fchdir.c (__fchdir): Renamed from fchdir.
15799 (fchdir): Define as weak alias.
15801 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15803 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15804 (ERRNO_EDOM): Likewise.
15805 (ERRNO_ERANGE): Likewise.
15806 (noErrnoTests): New variable.
15807 (init_max_error): Set errno to 0.
15808 (test_single_errno): New function.
15809 (test_errno): Likewise.
15810 (check_float_internal): Call test_errno. Set errno to 0.
15811 (check_complex): Refer to errno tests in comment.
15812 (check_int): Call test_errno. Set errno to 0.
15813 (check_long): Likewise.
15814 (check_bool): Likewise.
15815 (check_longlong): Likewise.
15816 (cos_test): Use ERRNO_* flags for errno tests instead of
15818 (expm1_test): Likewise.
15819 (fmod_test): Likewise.
15820 (ilogb_test): Likewise.
15821 (lgamma_test): Likewise.
15822 (pow_test): Likewise.
15823 (remainder_test): Likewise.
15824 (sin_test): Likewise.
15825 (tan_test): Likewise.
15826 (yn_test): Likewise.
15827 (initialize): Set errno to 0.
15828 (main): Print number of errno tests.
15829 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15831 2013-04-29 Andreas Jaeger <aj@suse.de>
15834 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15838 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15839 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15843 * stdlib/random.c (__initstate): Return NULL if
15847 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15848 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15851 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15855 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15857 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15858 of individual tests.
15859 (casin_test): Likewise.
15860 (casinh_test): Likewise.
15862 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15865 * math/s_catan.c (__catan): Handle arguments with large real or
15866 imaginary part separately without squaring.
15867 * math/s_catanf.c (__catanf): Likewise.
15868 * math/s_catanh.c (__catanh): Likewise.
15869 * math/s_catanhf.c (__catanhf): Likewise.
15870 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15872 (__catanhl): Handle arguments with large real or imaginary part
15873 separately without squaring.
15874 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15876 (__catanl): Handle arguments with large real or imaginary part
15877 separately without squaring.
15878 * math/libm-test.inc (catan_test): Add more tests.
15879 (catanh_test): Likewise.
15880 * sysdeps/i386/fpu/libm-test-ulps: Update.
15881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15883 2013-04-27 Andreas Jaeger <aj@suse.de>
15886 * stdlib/stdlib.h: Update guards for qecvt.
15887 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15890 2013-04-27 Allan McRae <allan@archlinux.org>
15892 * sysdeps/i386/fpu/libm-test-ulps: Update.
15894 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15897 * math/s_catan.c: Include <float.h>.
15898 (__catan): Ensure underflow exception occurs for underflowed
15900 * math/s_catanf.c: Include <float.h>.
15901 (__catanf): Ensure underflow exception occurs for underflowed
15903 * math/s_catanh.c: Include <float.h>.
15904 (__catanh): Ensure underflow exception occurs for underflowed
15906 * math/s_catanhf.c: Include <float.h>.
15907 (__catanhf): Ensure underflow exception occurs for underflowed
15909 * math/s_catanhl.c: Include <float.h>.
15910 (__catanhl): Ensure underflow exception occurs for underflowed
15912 * math/s_catanl.c: Include <float.h>.
15913 (__catanl): Ensure underflow exception occurs for underflowed
15915 * math/libm-test.inc (catan_test): Add more tests.
15916 (catanh_test): Likewise.
15919 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15920 underflowed result.
15921 * math/s_ccoshf.c (__ccoshf): Likewise.
15922 * math/s_ccoshl.c (__ccoshl): Likewise.
15923 * math/s_csin.c (__csin): Likewise.
15924 * math/s_csinf.c (__csinf): Likewise.
15925 * math/s_csinh.c (__csinh): Likewise.
15926 * math/s_csinhf.c (__csinhf): Likewise.
15927 * math/s_csinhl.c (__csinhl): Likewise.
15928 * math/s_csinl.c (__csinl): Likewise.
15929 * math/libm-test.inc (ccos_test): Add more tests.
15930 (ccosh_test): Likewise.
15931 (csin_test): Likewise.
15932 (csinh_test): Likewise.
15934 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15936 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15937 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15938 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15939 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15940 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15941 powerpc/power5+/fpu folders.
15942 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15945 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15949 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15951 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15952 additions to variable.
15953 [$(config-machine) = x86_64] (modules-names): Likewise.
15954 ($(objpfx)tst-audit3): Remove dependency.
15955 ($(objpfx)tst-audit3.out): Likewise.
15956 ($(objpfx)tst-audit4): Likewise.
15957 ($(objpfx)tst-audit4.out): Likewise.
15958 ($(objpfx)tst-audit5): Likewise.
15959 ($(objpfx)tst-audit5.out): Likewise.
15960 ($(objpfx)tst-audit6): Likewise.
15961 ($(objpfx)tst-audit6.out): Likewise.
15962 ($(objpfx)tst-audit7): Likewise.
15963 ($(objpfx)tst-audit7.out): Likewise.
15964 (tst-audit3-ENV): Remove variable.
15965 (tst-audit4-ENV): Likewise.
15966 (tst-audit5-ENV): Likewise.
15967 (tst-audit6-ENV): Likewise.
15968 (tst-audit7-ENV): Likewise.
15969 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15970 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15971 addition to variable.
15972 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15973 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15974 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15975 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15976 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15977 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15978 tst-audit3, tst-audit4 and tst-audit5.
15979 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15980 tst-audit6 and tst-audit7.
15981 [$(subdir) = elf] (modules-names): Add audit modules for those
15983 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15984 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15985 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15986 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15987 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15988 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15989 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15990 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15991 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15992 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15993 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15994 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15995 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15996 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15997 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15998 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16000 [$(subdir) = elf && $(config-cflags-avx) = yes]
16001 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16002 [$(subdir) = elf && $(config-cflags-avx) = yes]
16003 (CFLAGS-tst-auditmod4a.c): Likewise.
16004 [$(subdir) = elf && $(config-cflags-avx) = yes]
16005 (CFLAGS-tst-auditmod4b.c): Likewise.
16006 [$(subdir) = elf && $(config-cflags-avx) = yes]
16007 (CFLAGS-tst-auditmod6b.c): Likewise.
16008 [$(subdir) = elf && $(config-cflags-avx) = yes]
16009 (CFLAGS-tst-auditmod6c.c): Likewise.
16010 [$(subdir) = elf && $(config-cflags-avx) = yes]
16011 (CFLAGS-tst-auditmod7b.c): Likewise.
16012 * elf/tst-audit3.c: Move to ...
16013 * sysdeps/x86_64/tst-audit3.c: ... here.
16014 * elf/tst-audit4.c: Move to ...
16015 * sysdeps/x86_64/tst-audit4.c: ... here.
16016 * elf/tst-audit5.c: Move to ...
16017 * sysdeps/x86_64/tst-audit5.c: ... here.
16018 * elf/tst-audit6.c: Move to ...
16019 * sysdeps/x86_64/tst-audit6.c: ... here.
16020 * elf/tst-audit7.c: Move to ...
16021 * sysdeps/x86_64/tst-audit7.c: ... here.
16022 * elf/tst-auditmod3a.c: Move to ...
16023 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16024 * elf/tst-auditmod3b.c: Move to ...
16025 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16026 * elf/tst-auditmod4a.c: Move to ...
16027 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16028 * elf/tst-auditmod4b.c: Move to ...
16029 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16030 * elf/tst-auditmod5a.c: Move to ...
16031 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16032 * elf/tst-auditmod5b.c: Move to ...
16033 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16034 * elf/tst-auditmod6a.c: Move to ...
16035 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16036 * elf/tst-auditmod6b.c: Move to ...
16037 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16038 * elf/tst-auditmod6c.c: Move to ...
16039 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16040 * elf/tst-auditmod7a.c: Move to ...
16041 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16042 * elf/tst-auditmod7b.c: Move to ...
16043 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16045 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16048 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16049 define unconditionally.
16050 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16051 define unconditionally.
16052 (INT8_C, INT16_C, etc.): Likewise.
16054 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16056 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16057 __ehdr_start with hidden visibility.
16059 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16061 2013-04-24 Carlos O'Donell <carlos@redhat.com>
16063 * math/libm-test.inc (cos_test): Use accurate hex constants.
16064 (sincost_test): Likewise.
16066 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16068 * math/libm-test.inc (catan_test): Add more tests.
16069 (catanh_test): Likewise.
16071 * math/s_catanf.c (__catanf): Use suffixed floating-point
16073 * math/s_catanhf.c (__catanhf): Likewise.
16074 * math/s_catanhl.c (__catanhl): Likewise.
16075 * math/s_catanl.c (__catanl): Likewise.
16078 * math/s_catan.c (__catan): Calculate imaginary part of result
16079 with log1p not log unless computing log of number close to 0.
16080 * math/s_catanf.c (__catanf): Likewise.
16081 * math/s_catanl.c (__catanl): Likewise.
16082 * math/s_catanh.c (__catanh): Calculate real part of result with
16083 log1p not log unless computing log of number close to 0.
16084 * math/s_catanhf.c (__catanhf): Likewise.
16085 * math/s_catanhl.c (__catanhl): Likewise.
16086 * math/libm-test.inc (catan_test): Add more tests.
16087 (catanh_test): Likewise.
16088 * sysdeps/i386/fpu/libm-test-ulps: Update.
16089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16091 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16093 * benchtests/Makefile: Mention files in which fast and slow
16094 paths of math functions are implemented.
16096 2013-04-23 Roland McGrath <roland@hack.frob.com>
16098 * sysdeps/posix/timespec_get.c: New file.
16100 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16102 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16104 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16106 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16107 powerpc/power5/fpu folders.
16108 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16109 * benchtests/Makefile: Add modf testcase.
16110 * benchtests/bench-modf.c: New file: Benchmark test for mo
16112 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16115 * time/Makefile (tests): Add tst-strptime-whitespace.
16116 * time/strptime_l.c (get_number): Use ISSPACE.
16117 (__strptime_internal): Likewise.
16118 * time/tst-strptime-whitespace.c: New test case.
16120 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16122 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16124 (_nss_files_init): Set it here.
16126 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16128 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16129 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16132 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16134 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16136 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16138 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16141 2013-04-21 David S. Miller <davem@davemloft.net>
16143 * po/ru.po: Update Russion translation from translation project.
16145 2013-04-17 Adam Conrad <adconrad@0c3.net>
16147 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16150 2013-04-17 Carlos O'Donell <carlos@redhat.com>
16152 * configure.in: Remove i386 configure warning. Remove i386 case.
16153 * configure: Regenerate.
16154 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16155 Add example to error message.
16156 * sysdeps/i386/configure: Regenerate.
16158 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16160 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16162 * benchtests/cos-inputs: New file.
16163 * benchtests/slowcos-inputs: New file.
16164 * benchtests/slowcos.c: New file.
16165 * benchtests/slowtan-inputs: New file.
16166 * benchtests/slowtan.c: New file.
16167 * benchtests/tan-inputs: New file.
16169 2013-04-16 Roland McGrath <roland@hack.frob.com>
16171 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16174 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16176 * benchtests/Makefile: Include cppflags-iterator.mk to add
16177 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16179 * Makefile.in (bench-clean): New target.
16180 * benchtests/Makefile (bench-clean): Likewise.
16182 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16184 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16186 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16188 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16190 2013-04-15 Andreas Schwab <schwab@suse.de>
16192 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16193 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16194 * nscd/pwdcache.c (cache_addpw): Likewise.
16195 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16198 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16200 * benchtests/Makefile (bench): Write all output to
16201 bench-out.tmp together.
16203 2013-04-15 Andreas Schwab <schwab@suse.de>
16205 * nscd/nscd.c (main): Don't fork again after closing files.
16207 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16209 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16211 * benchtests/Rules (bench-deps): Collect dependencies into a
16212 single variable. Add Makefile to dependencies.
16213 ($(objpfx)bench-%.c): Depend on bench-deps.
16215 2013-04-12 Roland McGrath <roland@hack.frob.com>
16216 Xavier Roche <roche+kml2@exalead.com>
16219 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16220 just that it's a file descriptor.
16221 * manual/llio.texi (Synchronizing AIO Operations): Update description
16222 for EBADF error from aio_fsync.
16224 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16226 * Rules (bench): Move target definition...
16227 * benchtests/Makefile: ... here.
16229 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16231 * math/libm-test.inc (cos_test): Fix PI/2 test.
16232 (sincos_test): Likewise.
16233 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16234 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16236 2013-04-11 Andreas Schwab <schwab@suse.de>
16239 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16240 accept exponent character only when digits were seen.
16241 * stdio-common/Makefile (tests): Add bug26.
16242 * stdio-common/bug26.c: New file.
16245 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16248 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16250 * Makeconfig (rtld-prefix): Define built linker prefix.
16251 * Rules (run-bench): Use it.
16252 * math/Makefile (run-regen-ulps): Likewise.
16254 * Rules (bench): Remove eval.
16256 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16257 Roland McGrath <roland@hack.frob.com>
16258 Ondrej Bilka <neleai@seznam.cz>
16261 * time/getdate.c: Include ctype.h and alloca.h.
16262 (__getdate_r): Trim leading and trailing spaces of input.
16263 * time/tst-getdate.c (tests): Add tests with leading and
16266 2013-04-08 Roland McGrath <roland@hack.frob.com>
16269 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16270 when computing value.
16272 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16274 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16275 Use testrun.sh to run libm tests.
16278 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16280 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16283 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16285 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16287 * Makefile.in (regen-ulps): New target.
16288 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16289 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16290 [ifneq (no,$(PERL)] (regen-ulps): New target.
16291 [ifeq (no,$(PERL)] (regen-ulps): New target.
16292 * math/libm-test.inc (ulps_file_name): Define.
16293 (output_dir): New variable.
16294 (options): Add "output-dir" option.
16295 (parse_opt): Handle 'o' case.
16296 (main): If output_dir is non-NULL use it as a prefix
16298 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16300 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16302 [BZ #10060, #10062]
16303 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16304 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16305 fail configure if __sync_val_compare_and_swap is not inlined.
16306 * sysdeps/i386/configure: Regenerate.
16307 * configure.in: Build for i686 when configured for i386.
16308 * configure: Regenerate.
16309 * README: Remove i386 reference.
16311 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16313 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16314 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16316 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16318 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16319 (lmsnanval): New variables.
16320 (F): Add conversion tests.
16321 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16322 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16324 * stdio-common/tstdiomisc.c (F): Properly collect individual
16327 [BZ #14686, #15336]
16328 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16329 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16330 Instead, use input NaN values or generate a qNaN by arithmetic
16331 operation. Also fix bugs to comply with the standard.
16332 * math/libm-test.inc (remainder_test): Add more tests.
16334 [BZ #15335, #15342]
16335 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16336 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16337 input NaN values or generate a qNaN by arithmetic operation.
16339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16342 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16345 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16348 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16349 underflowed result.
16350 * math/s_cexpf.c (__cexpf): Likewise.
16351 * math/s_cexpl.c (__cexpl): Likewise.
16352 * math/libm-test.inc (cexp_test): Add more tests.
16354 2013-04-03 Andreas Schwab <schwab@suse.de>
16357 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16358 order arrays from heap if bigger than alloca cutoff.
16360 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16362 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16363 (SNAN_TESTS_double): Refer to GCC PR56831.
16364 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16367 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16369 * Rules (bench): Move bench.out after the run is complete.
16371 * Rules (bench): Echo currently running benchmark.
16373 * benchtests/Makefile (bench): Add atan and slowatan.
16374 * benchtests/atan-inputs: New file.
16375 * benchtests/slowatan-inputs: New file.
16376 * benchtests/slowatan.c: New file.
16378 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16379 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16383 * sysdeps/unix/sysv/linux/kernel-features.h
16384 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16385 __ASSUME_XFS_RESTRICTED_CHOWN.
16386 * sysdeps/unix/sysv/linux/pathconf.c
16387 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16388 Save and restore errno.
16390 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16393 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16394 arguments using __kernel_casinh.
16395 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16396 arguments using __kernel_casinhf.
16397 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16398 arguments using __kernel_casinhl.
16399 * math/libm-test.inc (cacosh_test): Add more tests.
16400 * sysdeps/i386/fpu/libm-test-ulps: Update.
16401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16403 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16405 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16406 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16408 * bench/Makefile (bench): Add sin and slowsin.
16409 * benchtests/sin-inputs: New file.
16410 * benchtests/slowsin-inputs: New file.
16411 * benchtests/slowsin.c: New file.
16413 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16414 (bench): Add slowexp and slowpow.
16415 (exp-ITER): Increase iterations.
16416 (pow-ITER): Likewise.
16417 * benchtests/exp-inputs: Change input.
16418 * benchtests/pow-inputs: Likewise.
16419 * benchtests/slowexp-inputs: New file.
16420 * benchtests/slowexp.c: New file.
16421 * benchtests/slowpow-inputs: New file.
16422 * benchtests/slowpow.c: New file.
16424 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16426 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16428 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16429 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16430 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16431 * benchtests/Makefile: Add rint benchtest.
16432 * benchtests/rint-inputs: Input for rint benchtest.
16434 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16436 * Versions.def (libm): Add GLIBC_2.18.
16437 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16438 hidden libm prototypes.
16439 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16440 * math/Makefile (libm-calls): Add s_issignaling.
16441 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16442 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16443 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16445 * math/math.h [__USE_GNU] (issignaling): New macro.
16446 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16447 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16448 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16449 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16450 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16451 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16452 * manual/arith.texi (issignaling): New section.
16453 * manual/libm-err-tab.pl (@all_functions): Update comment.
16454 * math/gen-libm-test.pl (parse_args): Apply special handling for
16456 * math/libm-test.inc (print_float, issignaling_test): New
16458 (check_float_internal): Add issignaling checks.
16459 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16460 default definition.
16461 * sysdeps/powerpc/math-tests.h: New file.
16462 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16464 * math/test-snan.c (TEST_FUNC): Likewise.
16466 2013-03-30 David S. Miller <davem@davemloft.net>
16468 * po/de.po: Update from translation team.
16470 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16473 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16474 imaginary part less than 1.0 and real part less than 0.5
16476 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16477 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16478 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16479 (cacos_test): Add more tests.
16480 (casin_test): Likewise.
16481 (casinh_test): Likewise.
16482 * sysdeps/i386/fpu/libm-test-ulps: Update.
16483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16485 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16487 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16488 ONE with its value.
16490 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16491 (__pow_mp): Replace ONE and MONE with their values.
16492 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16493 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16494 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16495 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16496 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16497 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16499 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16501 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16502 (__pow_mp): Replace ZERO and MZERO with their values.
16503 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16504 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16505 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16506 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16507 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16508 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16511 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16513 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16515 2013-03-28 Roland McGrath <roland@hack.frob.com>
16517 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16518 Declare with __attribute__ ((weak)).
16519 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16520 Call __call_tls_dtors only if it's not NULL.
16522 2013-03-28 Roland McGrath <roland@hack.frob.com>
16524 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16525 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16526 magic __ehdr_start linker symbol if it's defined.
16527 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16528 them up here if it was already done.
16530 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16531 (_dl_aux_init): Use const in cast when setting it.
16532 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16533 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16534 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16536 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16538 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16539 * csu/libc-tls.c: Nor here.
16540 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16542 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16543 (__libc_message): Never call vsyslog.
16545 2013-03-28 Alan Modra <amodra@gmail.com>
16547 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16549 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16552 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16559 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16562 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16563 Don't add gid passed as argument.
16565 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16567 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16570 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16571 imaginary part between 1.0 and 1.5 and real part less than 0.5
16573 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16574 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16575 * math/libm-test.inc (cacos_test): Add more tests.
16576 (casin_test): Likewise.
16577 (casinh_test): Likewise.
16578 * sysdeps/i386/fpu/libm-test-ulps: Update.
16579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16581 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16583 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16586 (denorm): Likewise.
16587 (__dbl_mp): Likewise.
16588 (add_magnitudes): Likewise.
16589 (sub_magnitudes): Likewise.
16597 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16599 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16600 (__dubcos): Likewise.
16601 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16602 (__ieee754_acos): Likewise.
16603 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16604 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16605 (__exp1): Likewise.
16606 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16607 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16609 (my_log2): Likewise.
16610 (checkint): Likewise.
16611 * sysdeps/ieee754/dbl-64/e_remainder.c
16612 (__ieee754_remainder): Likewise.
16613 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16614 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16615 (bsloww): Likewise.
16616 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16618 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16619 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16620 MANTISSA_STORE_T to store computations on mantissa. Use
16621 macros for rounding and division.
16622 (denorm): Likewise.
16623 (__dbl_mp): Likewise.
16624 (add_magnitudes): Likewise.
16625 (sub_magnitudes): Likewise.
16628 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16629 powers of two in terms of TWOPOW macro.
16630 (mp_no): Make type of mantissa as MANTISSA_T.
16631 [!RADIXI]: Define RADIXI.
16632 [!TWO52]: Define TWO52.
16633 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16635 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16637 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16638 llroundl symbol when building for PPC32.
16640 2013-03-24 Mark H Weaver <mhw@netris.org>
16642 * manual/arith.texi (Normalization Functions): Fix prototypes for
16643 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16645 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16648 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16649 high value to check if expl overflow.
16650 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16651 to check for underflow and overflow.
16652 * math/libm-test.inc: Add exp test.
16654 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16657 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16660 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16662 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16665 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16667 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16668 wrap blocks consisting of several statements.
16670 * sysdeps/generic/math-tests.h: New file.
16671 * sysdeps/i386/fpu/math-tests.h: Likewise.
16672 * math/test-snan.c: Include it.
16673 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16675 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16678 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16679 (__ieee754_j0l): Do not improve calculations using cos of twice
16680 input for inputs above LDBL_MAX / 2.0L.
16681 (__ieee754_y0l): Likewise.
16682 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16683 (__ieee754_j1l): Do not improve calculations using cos of twice
16684 input for inputs above LDBL_MAX / 2.0L.
16685 (__ieee754_y1l): Likewise.
16686 * math/libm-test.inc (j0_test): Add another test.
16687 (j1_test): Likewise.
16688 (y0_test): Likewise.
16689 (y1_test): Likewise.
16690 * sysdeps/i386/fpu/libm-test-ulps: Update.
16692 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16694 * Rules ($(objpfx)bench-%.c): Include code from a C source
16697 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16700 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16701 imaginary part 1.0 and real part less than 0.5 specially.
16702 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16703 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16704 * math/libm-test.inc (cacos_test): Add more tests.
16705 (casin_test): Likewise.
16706 (casinh_test): Likewise.
16707 * sysdeps/i386/fpu/libm-test-ulps: Update.
16708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16710 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16712 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16713 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16715 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16717 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16718 * config.make.in (config-cflags-sse4): Remove variable.
16719 (config-cflags-avx): Likewise.
16720 (config-cflags-sse2avx): Likewise.
16721 (config-cflags-novzeroupper): Likewise.
16722 (config-asflags-i686): Likewise.
16723 (have-mfma4): Likewise.
16724 (have-as-vis3): Likewise.
16726 * configure.in (MIG): Do not AC_SUBST.
16727 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16728 (libc_cv_cc_sse4): Do not AC_SUBST.
16729 (libc_cv_cc_avx): Likewise.
16730 (libc_cv_cc_sse2avx): Likewise.
16731 (libc_cv_cc_novzeroupper): Likewise.
16732 (libc_cv_cc_fma4): Likewise.
16733 (libc_cv_as_i686): Likewise.
16734 (libc_cv_sparc_as_vis3): Likewise.
16735 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16737 (config-asflags-i686): Likewise.
16738 (config-cflags-avx): Likewise.
16739 (config-cflags-sse2avx): Likewise.
16740 (have-mfma4): Likewise.
16741 (config-cflags-novzeroupper): Likewise.
16742 * sysdeps/mach/configure.in (MIG): Likewise.
16743 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16744 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16746 (config-cflags-avx): Likewise.
16747 (config-cflags-sse2avx): Likewise.
16748 (have-mfma4): Likewise.
16749 (config-cflags-novzeroupper): Likewise.
16750 * configure: Regenerated.
16751 * sysdeps/i386/configure: Likewise.
16752 * sysdeps/mach/configure: Likewise.
16753 * sysdeps/sparc/configure: Likewise.
16754 * sysdeps/x86_64/configure: Likewise.
16756 2013-03-20 Roland McGrath <roland@hack.frob.com>
16759 * locale/programs/localedef.c (options): Put N_ translation marker
16760 on argument names, not just descriptions.
16762 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16764 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16766 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16769 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16771 2013-03-19 Roland McGrath <roland@hack.frob.com>
16773 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16774 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16775 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16776 [!BEFORE_ABORT] (before_abort): New function.
16777 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16778 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16779 (writev_for_fatal): New function.
16780 (WRITEV_FOR_FATAL): New macro; call that.
16781 (backtrace_and_maps): New function.
16782 (BEFORE_ABORT): New macro; call that.
16783 (struct str_list): Type removed.
16784 (__libc_message, __libc_fatal): Functions removed.
16785 Include <sysdeps/posix/libc_fatal.c> instead.
16787 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16789 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16791 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16794 2013-03-19 Andreas Schwab <schwab@suse.de>
16796 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16797 * sysdeps/gnu/configure: Regenerate.
16799 * configure.in: Substitute libc_cv_rtlddir.
16800 * configure: Regenerate.
16801 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16802 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16803 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16804 * elf/Makefile (install-others, CFLAGS-interp.c)
16805 (ldso_install, common-ldd-rewrite): Likewise.
16806 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16807 $(inst_slibdir)/$(rtld-installed-name).
16808 * scripts/rellns-sh: Add -p option.
16809 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16812 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16814 * manual/nptl.texi: Renamed to ...
16815 * manual/threads.texi: ... this.
16816 * manual/Makefile (chapters): Update.
16818 2013-03-18 Roland McGrath <roland@hack.frob.com>
16821 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16822 on argument names, not just descriptions.
16823 * malloc/memusagestat.c (options): Likewise.
16824 * nss/getent.c (options): Likewise.
16826 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16829 * iconv/iconv_prog.c (options): Put N_ translation marker
16830 on argument names, not just descriptions.
16831 * iconv/iconvconfig.c (options): Likewise.
16833 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16835 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16836 implementation which is faster on all x86_64 architectures.
16837 Tested on AMD, Intel Nehalem, SNB, IVB.
16838 * sysdeps/x86_64/strnlen.S: Likewise.
16840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16841 Remove all multiarch strlen and strnlen versions.
16842 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16843 Remove strlen and strnlen related parts.
16845 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16846 Inline strlen part.
16847 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16849 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16850 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16851 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16852 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16853 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16854 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16856 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16858 * manual/memory.texi (Malloc Tunable Parameters):
16859 Sort parameters alphabetically. Add comments for missing entries.
16861 2013-03-17 David S. Miller <davem@davemloft.net>
16863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16865 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16868 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16869 for arguments at most half maximum finite value.
16870 * math/libm-test.inc (j0_test): Add more tests.
16871 (j1_test): Likewise.
16872 (y0_test): Likewise.
16873 (y1_test): Likewise.
16874 * sysdeps/i386/fpu/libm-test-ulps: Update.
16875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16878 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16879 1 / x and functions P and Q for arguments above 0x1p256L.
16880 (__ieee754_y0l): Likewise.
16881 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16882 (__ieee754_y1l): Likewise.
16883 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16884 (j1_test): Likewise.
16885 (y0_test): Likewise.
16886 (y1_test): Likewise.
16888 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16890 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16893 2013-03-15 Roland McGrath <roland@hack.frob.com>
16895 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16896 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16897 zero since it's initialized to EXEC_PAGESIZE.
16899 * sysdeps/unix/sysv/linux/ldsodefs.h
16900 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16901 * sysdeps/generic/ldsodefs.h: ... here.
16903 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16905 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16907 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16909 * math/test-snan.c: Renamed from
16910 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16911 * math/Makefile (tests): Add test-snan.
16912 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16915 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16916 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16918 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16919 __builtin_nan family of functions.
16920 * math/libm-test.inc (initialize): Initialize qnan_value with
16921 __builtin_nan family of functions.
16922 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16924 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16926 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16927 storage class. Initialize qNaN_var and sNaN_var with
16928 __builtin_nan and __builtin_nans families of functions,
16931 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16932 (sqrt_test): Remove duplicate test with qNaN input.
16933 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16934 (round_test, signbit_test, significand_test): Note missing +/-Inf
16935 as well as qNaN tests.
16937 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16938 qNaN_var. Fix a few strings, too.
16939 * math/libm-test.inc (nan_value): Rename to qnan_value.
16940 * math/gen-libm-test.pl (%beautify): Adjust to that.
16941 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16942 * math/test-misc.c (main): Likewise.
16943 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16944 to __qnan_bytes, and __qnan_union, respectively.
16945 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16947 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16948 and lqnanval, respectively.
16949 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16950 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16951 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16952 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16954 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16955 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16958 * math/test-misc.c (main): Fix copy'n'pastos.
16959 * misc/tst-efgcvt.c (special): Likewise.
16961 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16962 Remove declarations.
16964 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16966 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16967 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16968 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16969 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16971 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16973 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16974 macro to return vdso values correctly in IFUNC implementations.
16975 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16976 Optimization by using IFUNC.
16978 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16979 Richard Henderson <rth@redhat.com>
16980 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16982 * Makefile.in (bench): New target.
16983 * NEWS: Mention the benchmark framework.
16984 * Rules (bench): Likewise.
16985 (binaries-bench): Generate binaries for functions to
16987 * benchtests/Makefile: New makefile for benchmark tests.
16988 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16990 * benchtests/exp-inputs: New input file for EXP function.
16991 * benchtests/pow-inputs: New input file for POW function.
16992 * scripts/bench.pl: New script to generate source files for
16993 benchmark programs.
16995 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16997 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16998 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16999 computations on mantissa. Use macros for rounding and
17001 (denorm): Likewise.
17002 (__dbl_mp): Likewise.
17003 (add_magnitudes): Likewise.
17004 (sub_magnitudes): Likewise.
17007 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17008 powers of two in terms of TWOPOW macro.
17009 (mp_no): Make type of mantissa as MANTISSA_T.
17010 [!RADIXI]: Define RADIXI.
17011 [!TWO52]: Define TWO52.
17012 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17014 * manual/nptl.texi (cindex): Modify threads to pthreads.
17016 2013-03-15 Joseph Myers <joseph@codesourcery.com>
17018 * sysdeps/x86_64/preconfigure: Regenerated.
17020 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17023 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17025 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17026 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17028 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17029 * math/libm-test.inc (j0_test): Do not allow one spurious
17030 underflow exception.
17031 (y1_test): Likewise.
17033 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17035 * manual/Makefile (chapters): Add nptl.
17036 * manual/debug.texi (Debugging Support): Add link to Threads
17038 * manual/nptl.texi: New file.
17040 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17042 2013-03-14 Petr Baudis <pasky@ucw.cz>
17044 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17045 for non-NULL pointer before the memory validity test. Pointed
17046 out by Holger Brunck <holger.brunck@keymile.com>.
17048 2013-03-13 Andreas Schwab <schwab@suse.de>
17050 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17053 2013-03-13 Joseph Myers <joseph@codesourcery.com>
17055 * timezone/zic.c: Update from tzcode 2013b.
17057 2013-03-12 Carlos O'Donell <carlos@redhat.com>
17059 * manual/install.texi (Configuring and compiling):
17060 Mention i686 and i586.
17061 * INSTALL: Regenerate.
17063 2013-03-12 Roland McGrath <roland@hack.frob.com>
17065 * sysdeps/init_array/elf-init.c: New file.
17067 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17068 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17070 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17071 __gmon_start__ as global, but as static with a .preinit_array pointer.
17072 * sysdeps/init_array/gmon-start.c: New file. Use that.
17073 * sysdeps/init_array/crti.S: New file, empty except for comments.
17074 * sysdeps/init_array/crtn.S: Likewise.
17076 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17078 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17081 Remove Prefer_SSE_for_memop.
17082 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17083 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17084 HAS_PREFER_SSE_FOR_MEMOP.
17085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17087 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17088 Remove bzero, memset ifunc support.
17089 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17090 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17091 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17092 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17094 2013-03-11 Andreas Schwab <schwab@suse.de>
17097 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17100 (GLIBC_2.16): Remove pthread_atfork.
17102 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17104 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17105 (ptestcases.h): Likewise.
17107 2013-03-08 Roland McGrath <roland@hack.frob.com>
17109 * Makeconfig ($(common-objpfx)config.status): Depend on
17110 sysdeps/*/preconfigure{,.in} too.
17112 2013-03-08 Joseph Myers <joseph@codesourcery.com>
17114 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17115 (__free_hook): Use void * instead of __malloc_ptr_t.
17116 (__malloc_hook): Likewise.
17117 (__realloc_hook): Likewise.
17118 (__memalign_hook): Likewise.
17119 (__after_morecore_hook): Likewise.
17120 * malloc/arena.c (save_malloc_hook): Likewise.
17121 (save_free_hook): Likewise.
17122 * malloc/hooks.c (malloc_hook_ini): Likewise.
17123 (realloc_hook_ini): Likewise.
17124 (memalign_hook_ini): Likewise.
17125 * malloc/malloc.c (malloc_hook_ini): Likewise.
17126 (realloc_hook_ini): Likewise.
17127 (memalign_hook_ini): Likewise.
17128 (__free_hook): Likewise.
17129 (__malloc_hook): Likewise.
17130 (__realloc_hook): Likewise.
17131 (__memalign_hook): Likewise.
17132 (__libc_malloc): Likewise.
17133 (__libc_free): Likewise.
17134 (__libc_realloc): Likewise.
17135 (__libc_memalign): Likewise.
17136 (__libc_valloc): Likewise.
17137 (__libc_pvalloc): Likewise.
17138 (__libc_calloc): Likewise.
17139 (__posix_memalign): Likewise.
17140 * malloc/morecore.c (__sbrk): Likewise.
17141 (__default_morecore): Likewise.
17143 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17145 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17146 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17147 __malloc_ptrdiff_t.
17149 * malloc/malloc.h (__malloc_size_t): Remove macro.
17150 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17152 (old_memalign_hook): Likewise.
17153 (old_realloc_hook): Likewise.
17154 (struct hdr): Likewise.
17156 (mallochook): Likewise.
17157 (memalignhook): Likewise.
17158 (reallochook): Likewise.
17159 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17160 (tr_old_realloc_hook): Likewise.
17161 (tr_old_memalign_hook): Likewise.
17162 (tr_mallochook): Likewise.
17163 (tr_reallochook): Likewise.
17164 (tr_memalignhook): Likewise.
17166 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17168 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17169 default_ldbl_pack and using as default implementation.
17170 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17172 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17173 redundant definition.
17174 (ldbl_insert_mantissa): Likewise.
17175 (ldbl_canonicalize): Likewise.
17176 (ldbl_nearbyint): Likewise.
17177 (ldbl_pack): Rename to ldbl_pack_ppc.
17178 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17179 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17180 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17182 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17185 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17186 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17187 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17189 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17190 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17191 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17193 2013-03-07 Andreas Jaeger <aj@suse.de>
17195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17198 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17200 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17201 Include mpa.h and declare __MPEXP.
17202 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17203 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17204 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17205 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17206 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17207 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17208 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17210 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17211 (__slowpow): Use long double EXPL and LOGL functions to
17213 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17214 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17215 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17216 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17217 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17218 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17221 intermediate variable to calculate exponent.
17223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17227 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17228 [!NO__SQR]: Define __sqr.
17229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17230 and NO__SQR. Remove all code except __mul and __sqr. Include
17231 sysdeps/ieee754/dbl-64/mpa.c.
17232 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17235 * posix/Makefile (tests): Add tst-pathconf.
17236 * posix/tst-pathconf.c: New test case.
17237 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17239 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17241 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17243 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17245 2013-03-06 Andreas Jaeger <aj@suse.de>
17247 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17248 definition via __MAP_ANONYMOUS.
17250 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17251 it's not part of Linux headers.
17253 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17254 (MAP_HUGE_MASK): Define.
17256 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17258 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17261 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17262 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17264 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17267 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17269 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17270 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17271 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17272 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17273 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17274 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17276 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17280 Handle f2fs and efivarfs.
17282 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17285 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17286 (EFIVARFS_MAGIC): Add.
17287 (F2FS_LINK_MAX): Add.
17289 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17291 * stdio-common/vfprintf.c: Replace __builtin_expect with
17294 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17297 * sysdeps/generic/bp-sym.h: Remove file.
17298 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17299 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17300 <bp-sym.h> and <bp-asm.h>.
17301 (__longjmp): Don't use BP_SYM.
17302 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17304 (memcpy): Don't use BP_SYM.
17305 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17306 <bp-sym.h> and <bp-asm.h>.
17307 (memcpy): Don't use BP_SYM.
17308 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17310 (memcpy): Don't use BP_SYM.
17311 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17313 (memset): Don't use BP_SYM.
17314 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17315 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17316 (__bzero): Don't use BP_SYM.
17317 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17318 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17319 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17320 <bp-sym.h> and <bp-asm.h>.
17321 (memcmp): Don't use BP_SYM. Remove comment about bounded
17323 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17324 <bp-sym.h> and <bp-asm.h>.
17325 (memcpy): Don't use BP_SYM.
17326 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17327 <bp-sym.h> and <bp-asm.h>.
17328 (memset): Don't use BP_SYM.
17329 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17330 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17331 (__bzero): Don't use BP_SYM.
17332 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17333 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17334 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17335 <bp-sym.h> and <bp-asm.h>.
17336 (strncmp): Don't use BP_SYM. Remove comment about bounded
17338 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17339 <bp-sym.h> and <bp-asm.h>.
17340 (memcpy): Don't use BP_SYM.
17341 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17342 <bp-sym.h> and <bp-asm.h>.
17343 (memset): Don't use BP_SYM.
17344 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17345 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17346 (__bzero): Don't use BP_SYM.
17347 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17348 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17349 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17350 <bp-sym.h> and <bp-asm.h>.
17351 (__memchr): Don't use BP_SYM.
17352 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17353 <bp-sym.h> and <bp-asm.h>.
17354 (memcmp): Don't use BP_SYM. Remove comment about bounded
17356 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17357 <bp-sym.h> and <bp-asm.h>.
17358 (memcpy): Don't use BP_SYM.
17359 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17360 <bp-sym.h> and <bp-asm.h>.
17361 (__mempcpy): Don't use BP_SYM.
17362 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17363 <bp-sym.h> and <bp-asm.h>.
17364 (__memrchr): Don't use BP_SYM.
17365 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17366 <bp-sym.h> and <bp-asm.h>.
17367 (memset): Don't use BP_SYM.
17368 (__bzero): Likewise.
17369 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17370 <bp-sym.h> and <bp-asm.h>.
17371 (__rawmemchr): Don't use BP_SYM.
17372 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17373 <bp-sym.h> and <bp-asm.h>.
17374 (__STRCMP): Don't use BP_SYM.
17375 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17376 <bp-sym.h> and <bp-asm.h>.
17377 (strchr): Don't use BP_SYM.
17378 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17379 <bp-sym.h> and <bp-asm.h>.
17380 (__strchrnul): Don't use BP_SYM.
17381 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17382 <bp-sym.h> and <bp-asm.h>.
17383 (strlen): Don't use BP_SYM.
17384 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17385 <bp-sym.h> and <bp-asm.h>.
17386 (strncmp): Don't use BP_SYM. Remove comment about bounded
17388 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17389 <bp-sym.h> and <bp-asm.h>.
17390 (__strnlen): Don't use BP_SYM.
17391 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17392 <bp-sym.h> and <bp-asm.h>.
17393 (__GI__setjmp): Don't use BP_SYM.
17394 (_setjmp): Likewise.
17395 (__sigsetjmp): Likewise.
17396 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17397 (L(start_addresses)): Don't use BP_SYM.
17398 (_start): Likewise.
17399 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17401 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17402 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17403 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17404 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17405 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17407 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17408 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17409 about bounded pointers.
17410 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17411 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17412 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17414 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17415 about bounded pointers. Remove GKM FIXME comments.
17416 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17417 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17419 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17420 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17421 Remove GKM FIXME comments.
17422 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17423 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17424 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17426 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17427 about bounded pointers. Remove GKM FIXME comment.
17428 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17430 (strncmp): Don't use BP_SYM. Remove comment about bounded
17432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17433 <bp-sym.h> and <bp-asm.h>.
17434 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17436 <bp-sym.h> and <bp-asm.h>.
17437 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17440 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17442 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17445 2013-03-05 David S. Miller <davem@davemloft.net>
17447 * po/es.po: Update from translation team.
17449 2013-03-05 Andreas Jaeger <aj@suse.de>
17451 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17452 <bits/mman-linux.h>.
17453 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17455 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17456 <bits/mman-linux.h> to end of file.
17457 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17459 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17460 <bits/mman-linux.h> to end of file.
17461 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17463 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17464 <bits/mman-linux.h> to end of file.
17466 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17467 (MCL_CURRENT, MCL_FUTURE): Define here.
17469 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17472 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17474 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17476 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17478 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17479 fourth parameter needed for rt_sigprocmask syscall.
17480 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17481 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17482 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17483 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17484 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17485 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17487 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17490 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17491 comment about bounded pointers.
17492 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17493 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17495 2013-03-04 Andreas Jaeger <aj@suse.de>
17497 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17498 common definitions.
17500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17501 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17502 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17503 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17504 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17505 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17507 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17510 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17511 __ieee754_sqrl instead of __sqrl.
17513 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17515 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17516 * sysdeps/powerpc/fpu_control.h: ... here.
17517 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17518 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17519 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17520 * sysdeps/powerpc/bits/mathinline.h: ... here.
17522 2013-03-01 Roland McGrath <roland@hack.frob.com>
17524 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17525 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17526 to just [NEED_DL_SYSINFO_DSO].
17527 * elf/dl-support.c: Likewise.
17528 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17529 * elf/rtld.c (dl_main): Likewise.
17530 * elf/setup-vdso.h (setup_vdso): Likewise.
17531 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17532 * sysdeps/unix/sysv/linux/dl-sysdep.c
17533 (_dl_discover_osversion): Likewise.
17535 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17537 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17538 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17540 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17542 * NEWS: Mention libm performance improvements and non-x86 PI
17545 * csu/libc-start.c (__pthread_initialize_minimal): Change
17546 function arguments.
17547 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17549 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17552 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17553 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17554 <bp-sym.h> and <bp-asm.h>.
17555 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17556 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17558 (memcpy): Don't use BP_SYM.
17559 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17561 (__mpn_add_n): Don't use BP_SYM.
17562 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17563 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17565 (__mpn_addmul_1): Don't use BP_SYM.
17566 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17567 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17569 (_setjmp): Don't use BP_SYM.
17570 (__novmx_setjmp): Likewise.
17571 (__GI__setjmp): Likewise.
17572 (__vmx_setjmp): Likewise.
17573 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17575 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17576 (__bzero): Don't use BP_SYM.
17577 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17578 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17579 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17580 <bp-sym.h> and <bp-asm.h>.
17581 (memcpy): Don't use BP_SYM.
17582 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17583 <bp-sym.h> and <bp-asm.h>.
17584 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17585 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17586 <bp-sym.h> and <bp-asm.h>.
17587 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17588 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17590 (__mpn_lshift): Don't use BP_SYM.
17591 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17592 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17594 (memset): Don't use BP_SYM.
17595 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17596 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17597 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17599 (__mpn_mul_1): Don't use BP_SYM.
17600 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17601 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17602 <bp-sym.h> and <bp-asm.h>.
17603 (memcmp): Don't use BP_SYM.
17604 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17605 <bp-sym.h> and <bp-asm.h>.
17606 (memcpy): Don't use BP_SYM.
17607 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17608 <bp-sym.h> and <bp-asm.h>.
17609 (memset): Don't use BP_SYM.
17610 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17611 <bp-sym.h> and <bp-asm.h>.
17612 (strncmp): Don't use BP_SYM.
17613 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17614 <bp-sym.h> and <bp-asm.h>.
17615 (memcpy): Don't use BP_SYM.
17616 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17617 <bp-sym.h> and <bp-asm.h>.
17618 (memset): Don't use BP_SYM.
17619 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17620 <bp-sym.h> and <bp-asm.h>.
17621 (__memchr): Don't use BP_SYM.
17622 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17623 <bp-sym.h> and <bp-asm.h>.
17624 (memcmp): Don't use BP_SYM.
17625 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17626 <bp-sym.h> and <bp-asm.h>.
17627 (memcpy): Don't use BP_SYM.
17628 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17629 <bp-sym.h> and <bp-asm.h>.
17630 (__mempcpy): Don't use BP_SYM.
17631 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17632 <bp-sym.h> and <bp-asm.h>.
17633 (__memrchr): Don't use BP_SYM.
17634 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17635 <bp-sym.h> and <bp-asm.h>.
17636 (memset): Don't use BP_SYM.
17637 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17638 <bp-sym.h> and <bp-asm.h>.
17639 (__rawmemchr): Don't use BP_SYM.
17640 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17641 <bp-sym.h> and <bp-asm.h>.
17642 (__STRCMP): Don't use BP_SYM.
17643 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17644 <bp-sym.h> and <bp-asm.h>.
17645 (strchr): Don't use BP_SYM.
17646 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17647 <bp-sym.h> and <bp-asm.h>.
17648 (__strchrnul): Don't use BP_SYM.
17649 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17650 <bp-sym.h> and <bp-asm.h>.
17651 (strlen): Don't use BP_SYM.
17652 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17653 <bp-sym.h> and <bp-asm.h>.
17654 (strncmp): Don't use BP_SYM.
17655 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17656 <bp-sym.h> and <bp-asm.h>.
17657 (__strnlen): Don't use BP_SYM.
17658 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17660 (__mpn_rshift): Don't use BP_SYM.
17661 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17662 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17663 <bp-sym.h> and <bp-asm.h>.
17664 (__sigsetjmp): Don't use BP_SYM.
17665 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17666 (L(start_addresses)): Don't use BP_SYM.
17667 (_start): Likewise.
17668 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17670 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17671 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17672 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17673 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17675 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17676 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17677 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17678 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17680 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17682 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17683 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17685 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17687 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17688 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17689 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17691 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17693 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17695 (strncmp): Don't use BP_SYM,
17696 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17698 (__mpn_sub_n): Don't use BP_SYM.
17699 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17700 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17702 (__mpn_submul_1): Don't use BP_SYM.
17703 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17705 <bp-sym.h> and <bp-asm.h>.
17706 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17708 <bp-sym.h> and <bp-asm.h>.
17709 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17712 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17715 Use ZK to minimize writes to Z.
17716 (sub_magnitudes): Simplify code a bit.
17717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17718 Use ZK to minimize writes to Z.
17719 (sub_magnitudes): Simplify code a bit.
17721 2013-02-27 Roland McGrath <roland@hack.frob.com>
17723 * csu/gmon-start.c: Add special exception to license text.
17725 2013-02-27 Richard Henderson <rth@redhat.com>
17727 * scripts/config.guess: Update from config.git.
17728 * scripts/config.sub: Likewise.
17730 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17732 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17734 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17736 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17738 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17740 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17742 2013-02-26 Roland McGrath <roland@hack.frob.com>
17744 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17745 [$(build-shared = yes].
17747 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17749 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17750 (__mul): Reduce iterations for calculating mantissa.
17752 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17754 (__mpranred): Likewise.
17757 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17758 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17760 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17762 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17763 Define __attribute__.
17765 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17767 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17769 * posix/regex_internal.h (__attribute): Remove.
17770 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17771 (re_string_context_at): Likewise.
17772 (bitset_not): Use __attribute__ and mark function as possibly
17774 (bitset_merge): Likewise.
17775 (bitset_mask): Likewise.
17776 (re_string_char_size_at): Likewise.
17777 (re_string_wchar_at): Likewise.
17778 (re_string_elem_size_at): Likewise.
17780 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17782 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17786 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17790 (denorm): Likewise.
17791 (__dbl_mp): Likewise.
17792 (add_magnitudes): Likewise.
17793 (sub_magnitudes): Likewise.
17797 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17800 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17803 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17807 up changes with default code.
17808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17811 2013-02-24 Allan McRae <allan@archlinux.org>
17813 * manual/socket.texi (The Internet Namespace): Order menu items
17814 to match that in the file.
17816 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17817 node listing of the info page menu.
17819 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17822 * sysdeps/i386/bp-asm.h: Remove file.
17823 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17824 (PARMS): Do not use macros from bp-asm.h.
17828 (__mpn_add_n): Do not use BP_SYM
17829 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17831 (PARMS): Do not use macros from bp-asm.h.
17834 (__mpn_addmul_1): Do not use BP_SYM
17835 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17837 (PARMS): Do not use macros from bp-asm.h.
17838 (SIGMSK): Likewise.
17839 (_setjmp): Likewise. Do not use BP_SYM.
17840 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17842 (PARMS): Do not use macros from bp-asm.h.
17843 (SIGMSK): Likewise.
17844 (setjmp): Likewise. Do not use BP_SYM.
17845 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17847 (PARMS): Do not use macros from bp-asm.h.
17848 (__frexp): Do not use BP_SYM.
17850 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17852 (PARMS): Do not use macros from bp-asm.h.
17853 (__frexpf): Do not use BP_SYM.
17854 (frexpf): Likewise.
17855 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17857 (PARMS): Do not use macros from bp-asm.h.
17858 (__frexpl): Do not use BP_SYM.
17859 (frexpl): Likewise.
17860 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17862 (PARMS): Do not use macros from bp-asm.h.
17863 (__remquo): Do not use BP_SYM.
17864 (remquo): Likewise.
17865 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17867 (PARMS): Do not use macros from bp-asm.h.
17868 (__remquof): Do not use BP_SYM.
17869 (remquof): Likewise.
17870 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17872 (PARMS): Do not use macros from bp-asm.h.
17873 (__remquol): Do not use BP_SYM.
17874 (remquol): Likewise.
17875 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17877 (PARMS): Do not use macros from bp-asm.h.
17880 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17881 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17883 (PARMS): Do not use macros from bp-asm.h.
17884 (strlen): Do not use BP_SYM.
17885 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17887 (PARMS): Do not use macros from bp-asm.h.
17891 (__mpn_add_n): Do not use BP_SYM.
17892 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17894 (PARMS): Do not use macros from bp-asm.h.
17897 (__mpn_addmul_1): Do not use BP_SYM.
17898 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17901 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17903 (PARMS): Do not use macros from bp-asm.h.
17906 (__mpn_lshift): Do not use BP_SYM.
17907 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17909 (PARMS): Do not use macros from bp-asm.h.
17913 (memcpy): Likewise. Do not use BP_SYM.
17914 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17915 libc_hidden_def and weak_alias.
17916 (mempcpy): Do not use BP_SYM in weak_alias.
17917 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17919 (PARMS): Do not use macros from bp-asm.h.
17922 [!BZERO_P] (CHR): Likewise.
17923 (memset): Likewise. Do not use BP_SYM.
17924 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17926 (PARMS): Do not use macros from bp-asm.h.
17929 (__mpn_mul_1): Do not use BP_SYM.
17930 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17932 (PARMS): Do not use macros from bp-asm.h.
17935 (__mpn_rshift): Do not use BP_SYM.
17936 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17938 (PARMS): Do not use macros from bp-asm.h.
17941 (strchr): Likewise. Do not use BP_SYM.
17942 (index): Do not use BP_SYM in weak_alias.
17943 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17945 (PARMS): Do not use macros from bp-asm.h.
17948 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17949 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17951 (PARMS): Do not use macros from bp-asm.h.
17952 (strlen): Do not use BP_SYM.
17953 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17955 (PARMS): Do not use macros from bp-asm.h.
17959 (__mpn_sub_n): Do not use BP_SYM.
17960 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17962 (PARMS): Do not use macros from bp-asm.h.
17965 (__mpn_submul_1): Do not use BP_SYM.
17966 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17968 (PARMS): Do not use macros from bp-asm.h.
17972 (__mpn_add_n): Do not use BP_SYM.
17973 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17976 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17978 (PARMS): Do not use macros from bp-asm.h.
17981 (memcmp): Do not use BP_SYM.
17982 (bcmp): Do not use BP_SYM in weak_alias.
17983 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17985 (PARMS): Do not use macros from bp-asm.h.
17989 (memcpy): Likewise. Do not use BP_SYM.
17990 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17992 (PARMS): Do not use macros from bp-asm.h.
17996 (memmove): Likewise. Do not use BP_SYM.
17997 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17999 (PARMS): Do not use macros from bp-asm.h.
18003 (__mempcpy): Likewise. Do not use BP_SYM.
18004 (mempcpy): Do not use BP_SYM in weak_alias.
18005 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18007 (PARMS): Do not use macros from bp-asm.h.
18010 [!BZERO_P] (CHR): Likewise.
18011 (memset): Likewise. Do not use BP_SYM.
18012 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18014 (PARMS): Do not use macros from bp-asm.h.
18016 (strcmp): Do not use BP_SYM.
18017 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18019 (PARMS): Do not use macros from bp-asm.h.
18022 [USE_AS_STRTOK_R] (SAVE): Likewise.
18023 (FUNCTION): Likewise. Do not use BP_SYM.
18024 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18026 (strtok_r): Likewise.
18027 (__GI___strtok_r): Likewise.
18028 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18029 (PARMS): Do not use macros from bp-asm.h.
18032 (__mpn_lshift): Do not use BP_SYM.
18033 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18034 (PARMS): Do not use macros from bp-asm.h.
18037 (__memchr): Do not use BP_SYM.
18038 (memchr): Do not use BP_SYM in weak_alias.
18039 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18040 (PARMS): Do not use macros from bp-asm.h.
18043 (memcmp): Do not use BP_SYM.
18044 (bcmp): Do not use BP_SYM in weak_alias.
18045 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18046 (PARMS): Do not use macros from bp-asm.h.
18049 (__mpn_mul_1): Do not use BP_SYM.
18050 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18052 (PARMS): Do not use macros from bp-asm.h.
18055 (__rawmemchr): Do not use BP_SYM.
18056 (rawmemchr): Do not use BP_SYM in weak_alias.
18057 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18058 (PARMS): Do not use macros from bp-asm.h.
18061 (__mpn_rshift): Do not use BP_SYM.
18062 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18063 (PARMS): Do not use macros from bp-asm.h.
18064 (SIGMSK): Likewise.
18065 (__sigsetjmp): Likewise. Do not use BP_SYM.
18066 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18067 (_start): Do not use BP_SYM.
18068 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18069 (PARMS): Do not use macros from bp-asm.h.
18072 (__stpcpy): Likewise. Do not use BP_SYM.
18073 (stpcpy): Do not use BP_SYM in weak_alias.
18074 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18076 (PARMS): Do not use macros from bp-asm.h.
18080 (__stpncpy): Likewise. Do not use BP_SYM.
18081 (stpncpy): Do not use BP_SYM in weak_alias.
18082 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18083 (PARMS): Do not use macros from bp-asm.h.
18086 (strchr): Likewise. Do not use BP_SYM.
18087 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18089 (PARMS): Do not use macros from bp-asm.h.
18092 (__strchrnul): Likewise. Do not use BP_SYM.
18093 (strchrnul): Do not use BP_SYM in weak_alias.
18094 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18096 (PARMS): Do not use macros from bp-asm.h.
18098 (strcspn): Do not use BP_SYM.
18099 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18101 (PARMS): Do not use macros from bp-asm.h.
18104 (strpbrk): Likewise. Do not use BP_SYM.
18105 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18107 (PARMS): Do not use macros from bp-asm.h.
18110 (strrchr): Likewise. Do not use BP_SYM.
18111 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18112 (PARMS): Do not use macros from bp-asm.h.
18114 (strspn): Do not use BP_SYM.
18115 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18116 (PARMS): Do not use macros from bp-asm.h.
18120 (FUNCTION): Likewise. Do not use BP_SYM.
18121 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18123 (strtok_r): Likewise.
18124 (__GI___strtok_r): Likewise.
18125 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18126 (PARMS): Do not use macros from bp-asm.h.
18130 (__mpn_sub_n): Do not use BP_SYM.
18131 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18133 (PARMS): Do not use macros from bp-asm.h.
18136 (__mpn_submul_1): Do not use BP_SYM.
18137 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18139 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18141 (PARMS): Do not use macros from bp-asm.h.
18146 (__clone): Do not use BP_SYM.
18147 (clone): Do not use BP_SYM in weak_alias.
18148 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18150 (PARMS): Do not use macros from bp-asm.h.
18152 (__mmap64): Do not use BP_SYM.
18153 (mmap64): Do not use BP_SYM in weak_alias.
18154 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18155 <bp-sym.h> and <bp-asm.h>.
18156 (PARMS): Do not use macros from bp-asm.h.
18157 (__posix_fadvise64_l64): Do not use BP_SYM.
18158 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18159 (PARMS): Do not use macros from bp-asm.h.
18161 (semtimedop): Do not use BP_SYM.
18162 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18165 2013-02-21 Allan McRae <allan@archlinux.org>
18167 * manual/message.texi (Charset conversion in gettext):
18168 Move @end statement to beginning of line.
18170 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18177 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18178 (denorm): Likewise.
18179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18182 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18184 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18185 tail-call to the resolved function if pltexit isn't needed.
18187 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18190 or Y being zero as being unlikely.
18191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18194 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18196 * manual/nss.texi (System Databases and Name Service Switch):
18197 Remove frobnicate @pxref.
18199 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18201 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18202 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18204 2013-02-20 Petr Machata <pmachata@redhat.com>
18206 * elf/elf.h (R_ARM_TARGET1): New macro.
18207 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18208 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18209 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18210 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18211 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18212 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18213 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18214 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18215 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18216 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18217 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18218 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18219 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18220 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18221 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18222 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18223 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18224 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18225 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18226 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18227 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18228 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18229 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18230 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18231 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18232 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18233 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18234 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18235 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18236 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18237 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18238 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18239 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18240 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18241 (R_ARM_THM_GOT_BREL12): Likewise.
18242 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18243 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18244 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18245 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18246 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18247 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18248 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18249 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18250 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18252 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18254 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18255 __attribute_used__ to __attribute__ ((unused)).
18257 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18259 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18262 comment formatting.
18263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18265 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18268 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18270 (ENTER): Remove both macro definitions.
18272 (CHECK_BOUNDS_LOW): Likewise.
18273 (CHECK_BOUNDS_HIGH): Likewise.
18274 (CHECK_BOUNDS_BOTH): Likewise.
18275 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18276 (RETURN_BOUNDED_POINTER): Likewise.
18277 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18278 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18279 (POP_ERRNO_LOCATION_RETURN): Likewise.
18280 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18281 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18282 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18284 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18285 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18286 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18287 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18288 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18289 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18290 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18291 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18292 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18293 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18294 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18295 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18296 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18297 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18299 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18300 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18302 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18303 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18304 * sysdeps/i386/i586/memset.S (memset): Likewise.
18305 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18306 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18307 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18309 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18310 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18311 Change uses of L(2) to L(out).
18312 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18313 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18314 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18315 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18316 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18318 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18319 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18321 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18322 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18323 (RETURN): Do not use macro LEAVE.
18324 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18325 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18326 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18327 * sysdeps/i386/i686/memset.S (memset): Likewise.
18328 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18329 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18330 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18331 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18333 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18334 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18335 L(1_2) and L(1_3) into L(1).
18336 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18337 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18338 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18339 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18340 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18341 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18342 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18343 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18344 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18346 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18347 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18348 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18349 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18350 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18351 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18352 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18353 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18354 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18355 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18356 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18357 * sysdeps/i386/strspn.S (strspn): Likewise.
18358 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18360 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18361 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18362 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18363 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18364 L(1_3) into L(1_1).
18365 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18366 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18367 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18369 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18371 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18373 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18376 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18378 * math/atest-exp.c (exp_mpn): Remove ROUND.
18379 * math/atest-exp2.c (exp_mpn): Likewise.
18380 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18382 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18383 * stdlib/tst-tls-atexit-lib.c: Likewise.
18384 * stdlib/tst-tls-atexit.c: Likewise.
18386 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18388 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18389 and __attribute_alloc_size__.
18391 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18393 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18394 __attribute_alloc_size__.
18395 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18396 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18398 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18400 * include/programs/xmalloc.h: New file.
18401 * catgets/gencat.c: Include it.
18402 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18403 * elf/pldd.c: Likewise.
18404 * iconv/iconv_charmap.c: Likewise.
18405 * iconv/iconvconfig.c: Likewise.
18406 * iconv/strtab.c: Likewise.
18407 * locale/programs/locale.c: Likewise.
18408 * locale/programs/localedef.h: Likewise.
18409 * locale/programs/simple-hash.c: Likewise.
18410 * nscd/nscd.h: Likewise.
18411 * nss/makedb.c: Likewise.
18412 * sysdeps/generic/ldconfig.h: Likewise.
18414 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18416 * Versions.def: Add GLIBC_2.18.
18417 * include/link.h (struct link_map): New member l_tls_dtor_count.
18418 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18419 (__call_tls_dtors): Likewise.
18420 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18421 __cxa_thread_atexit_impl.
18422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18430 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18438 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18439 (tests): Add test case tst-tls-atexit.
18440 (modules-names): Add shared library for tst-tls-atexit.
18441 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18442 (GLIBC_PRIVATE): Add __call_tls_dtors.
18443 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18445 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18446 * stdlib/tst-tls-atexit.c: New test case.
18447 * stdlib/tst-tls-atexit-lib.c: New test case.
18449 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18451 * elf/Versions (ld): Add _dl_find_dso_for_object.
18452 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18453 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18454 (dl_open_worker): Use _dl_find_dso_for_object.
18455 * elf/dl-sym.c (do_sym): Likewise.
18456 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18458 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18460 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18461 Syntactic changes only.
18462 (_dl_runtime_profile): Do a tail-call to the resolved function.
18464 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18467 * sysdeps/x86_64/bp-asm.h: Remove file.
18468 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18469 <bp-sym.h> and <bp-asm.h>.
18470 (__clone): Do not use BP_SYM.
18471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18472 <bp-sym.h> and <bp-asm.h>.
18473 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18474 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18476 (_setjmp): Do not use BP_SYM.
18477 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18479 (setjmp): Do not use BP_SYM.
18480 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18482 (mempcpy): Do not use BP_SYM in weak_alias.
18483 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18485 (strchr): Do not use BP_SYM.
18486 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18488 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18489 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18490 (_start): Do not use BP_SYM.
18491 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18493 (strcat): Do not use BP_SYM.
18494 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18496 (STRCMP): Do not use BP_SYM.
18497 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18499 (STRCPY): Do not use BP_SYM.
18500 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18502 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18504 (FUNCTION): Do not use BP_SYM.
18505 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18507 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18509 2013-02-17 Andreas Jaeger <aj@suse.de>
18511 * time/Versions: Sort entries.
18512 * string/Versions: Likewise.
18513 * resolv/Versions: Likewise.
18514 * posix/Versions: Likewise.
18515 * iconv/Versions: Likewise.
18516 * elf/Versions: Likewise.
18517 * wcsmbs/Versions: Likewise.
18519 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18521 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18522 loop termination condition.
18524 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18525 variable to calculate EZ.
18528 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18529 the lower precision input.
18531 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18534 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18535 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18536 (run-via-rtld-prefix): Do not handle %-bp tests.
18537 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18538 (all-object-suffixes): Remove .ob.
18539 (bppfx): Remove variable.
18540 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18541 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18542 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18543 [$(build-bounded) = yes] (libtype.ob): Likewise.
18544 * Makerules (elide-routines.ob): Remove variable.
18545 (do-tests-clean): Do not handle *-bp.out.
18546 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18547 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18548 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18549 (tests): Do not include $(tests-bp.out).
18550 (xtests): Do not include $(xtests-bp.out).
18551 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18552 [$(build-bounded) = yes] ($(addprefix
18553 $(objpfx),$(binaries-bounded))): Remove rule.
18554 ($(objpfx)%-bp.out): Remove rule.
18555 * config.make.in (build-bounded): Remove variable.
18556 * crypt/Makefile [$(build-bounded) = yes]
18557 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18558 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18559 append to variable.
18560 [$(build-bounded) = yes] (install-lib): Likewise.
18561 [$(build-bounded) = yes] (generated): Likewise.
18562 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18564 * intl/Makefile [$(build-bounded) = yes]
18565 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18566 * math/Makefile [$(build-bounded) = yes]
18567 ($(tests:%=$(objpfx)%-bp): Likewise.
18568 * misc/Makefile [$(build-bounded) = yes]
18569 ($(objpfx)tst-tsearch-bp): Likewise.
18570 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18571 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18573 * string/Makefile (o-objects.ob): Remove variable.
18574 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18575 (CFLAGS-.ob): Remove variable.
18576 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18577 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18578 both definitions of variable.
18579 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18580 (ASFLAGS-.ob): Remove variable.
18582 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18585 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18586 Remove __BOUNDED_POINTERS__ from condition.
18587 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18588 * string/bits/string2.h [!__NO_STRING_INLINES &&
18589 !__BOUNDED_POINTERS__]: Likewise.
18590 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18592 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18593 Remove conditional code.
18594 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18595 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18596 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18600 * csu/libc-start.c: Do not include <bp-sym.h>.
18601 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18602 * elf/dl-open.c: Do not include <bp-sym.h>.
18603 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18604 * math/fegetenv.c: Do not include <bp-sym.h>.
18605 (fegetenv): Do not use BP_SYM in versioned symbols.
18606 * nptl/sysdeps/pthread/bits/libc-lockP.h
18607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18610 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18612 (__pthread_mutex_destroy): Likewise.
18613 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18614 (__pthread_mutex_lock): Likewise.
18615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18616 (__pthread_mutex_trylock): Likewise.
18617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18618 (__pthread_mutex_unlock): Likewise.
18619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18620 (__pthread_mutexattr_init): Likewise.
18621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18622 (__pthread_mutexattr_destroy): Likewise.
18623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18624 (__pthread_mutexattr_settype): Likewise.
18625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18626 (__pthread_rwlock_init): Likewise.
18627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18628 (__pthread_rwlock_destroy): Likewise.
18629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18630 (__pthread_rwlock_rdlock): Likewise.
18631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18632 (__pthread_rwlock_tryrdlock): Likewise.
18633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18634 (__pthread_rwlock_wrlock): Likewise.
18635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18636 (__pthread_rwlock_trywrlock): Likewise.
18637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18638 (__pthread_rwlock_unlock): Likewise.
18639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18640 (__pthread_key_create): Likewise.
18641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18642 (__pthread_setspecific): Likewise.
18643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18644 (__pthread_getspecific): Likewise.
18645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18648 (_pthread_cleanup_push_defer): Likewise.
18649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18650 (_pthread_cleanup_pop_restore): Likewise.
18651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18652 (pthread_setcancelstate): Likewise.
18653 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18655 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18656 (memchr): Do not use BP_SYM in weak_alias.
18657 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18658 (fegetenv): Do not use BP_SYM in versioned symbols.
18659 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18660 (fesetenv): Do not use BP_SYM in versioned symbols.
18661 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18662 (feupdateenv): Do not use BP_SYM in versioned symbols.
18663 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18664 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18665 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18666 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18667 (open64): Do not use BP_SYM in weak_alias.
18668 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18669 (fegetenv): Do not use BP_SYM in versioned symbols.
18670 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18671 (fesetenv): Do not use BP_SYM in versioned symbols.
18672 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18673 (feupdateenv): Do not use BP_SYM in versioned symbols.
18674 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18675 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18676 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18677 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18678 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18679 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18680 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18682 (__libc_start_main): Do not use BP_SYM.
18684 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18687 redundant return line.
18689 (denorm): Likewise.
18690 (dbl_mp): Likewise.
18691 (sub_magnitudes): Likewise.
18697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18699 (denorm): Likewise.
18700 (dbl_mp): Likewise.
18701 (sub_magnitudes): Likewise.
18708 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18710 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18711 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18714 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18715 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18717 of __mul for squares.
18718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18722 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18723 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18725 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18728 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18730 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18731 prototype or function definition. Rename ubp_* variables and
18732 parameters. Remove argv definitions conditional on
18733 [__BOUNDED_POINTERS__].
18734 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18735 * elf/dl-runtime.c (_dl_fixup): Likewise.
18736 * include/set-hooks.h (RUN_HOOK): Likewise.
18737 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18739 * string/strcpy.c (strcpy): Do not use __unbounded.
18740 * sysdeps/generic/frame.h (struct layout): Likewise.
18741 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18742 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18743 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18744 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18745 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18746 (__backtrace): Likewise.
18747 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18749 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18750 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18751 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18753 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18754 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18755 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18756 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18757 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18758 Do not use __unbounded.
18759 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18760 Rename __unboundedrlimits parameter to rlimits in prototype.
18761 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18762 Do not use __unbounded.
18763 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18764 not use __ptrvalue.
18765 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18766 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18767 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18768 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18769 __ptrvalue or __unbounded.
18770 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18771 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18773 (__new_msgctl): Do not use __ptrvalue.
18774 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18776 (__libc_msgrcv): Do not use __ptrvalue.
18777 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18778 startup_info): Do not use __unbounded.
18779 (__libc_start_main): Likewise. Rename ubp_* variables and
18780 parameters. Remove argv definitions conditional on
18781 [__BOUNDED_POINTERS__].
18782 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18784 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18786 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18788 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18790 (__new_shmctl): Do not use __ptrvalue.
18791 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18792 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18794 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18795 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18796 (__libc_sigaction): Likewise.
18797 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18798 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18800 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18802 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18804 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18806 * string/mempcpy.c: Implement by calling memcpy.
18808 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18810 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18815 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18816 values in the mantissa.
18818 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18819 minimize writes to Z.
18820 (sub_magnitudes): Simplify code a bit.
18822 2013-02-12 Roland McGrath <roland@hack.frob.com>
18824 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18825 from the message. The linker prefixes all warnings with that already.
18827 2013-02-12 Andreas Schwab <schwab@suse.de>
18830 * posix/regexec.c (extend_buffers): Add parameter min_len.
18831 (check_matching): Pass minimum needed length.
18832 (clean_state_log_if_needed): Likewise.
18833 (get_subexp): Likewise.
18834 * posix/Makefile (tests): Add bug-regex34.
18835 (bug-regex34-ENV): Define.
18836 * posix/bug-regex34.c: New file.
18839 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18840 elements compare against the byte sequence of it, not its name.
18841 * posix/Makefile (tests): Add bug-regex35.
18842 (bug-regex35-ENV): Define.
18843 * posix/bug-regex35.c: New file.
18845 2013-02-11 Tom de Vries <tom@codesourcery.com>
18847 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18849 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18850 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18851 (CHECK_EOL): Add undef.
18853 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18855 * bits/stdlib-bsearch.h: New file.
18856 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18857 * stdlib/stdlib.h: Likewise.
18859 2013-02-11 Roland McGrath <roland@hack.frob.com>
18861 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18862 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18864 * manual/search.texi (Array Search Function): Add missing const in
18866 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18867 declaration to use rlim_t.
18868 (Basic Scheduling Functions): Remove erroneous const from
18869 sched_getparam prototype. Remove erroneous * from
18870 sched_get_priority_max and sched_get_priority_min prototypes.
18871 (Resource Usage): Fix summary @comment on vtimes to refer to
18872 sys/vtimes.h rather than vtimes.h.
18873 Add missing *s in vtimes prototype.
18874 (Limits on Resources): Fix ulimit prototype to return long int.
18875 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18876 prototypes to use long int rather than double.
18877 (BSD Random): Fix initstate and setstate to use char *, not void *.
18878 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18879 prototype to make second argument 'struct aiocb64 *const[]'.
18880 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18881 (Status of AIO Operations): Remove erroneous const in aio_return and
18882 aio_return64 prototypes.
18883 (Synchronizing I/O): Fix sync prototype to return void.
18884 * manual/startup.texi (Suboptions): Remove an erroneous const in
18885 getsubopt prototype.
18886 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18887 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18888 use size_t rather than int.
18889 (Scanning All Users): Likewise for getpwent_r.
18890 (Setting Groups): Add missing const to setgroups prototype.
18891 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18892 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18893 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18894 'const void *' rather than 'const char *'.
18895 (Host Address Functions): Likewise for inet_ntop.
18896 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18897 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18898 ssize_t for return value.
18899 (Sending Data): Likewise for send, sendto, sendmsg.
18900 (Socket Option Functions): Add a missing const in setsockopt prototype.
18901 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18902 use wchar_t for the argument.
18903 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18904 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18906 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18907 double/float/long double for second argument.
18908 Fix return types of significand, significandf, significandl.
18909 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18910 argument in fchmod prototype.
18911 (File Owner): Use uid_t and gid_t in fchown prototype.
18912 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18913 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18914 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18915 use 'const struct dirent **' as argument types to CMP function pointer
18917 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18918 (File Times): Fix summary magic @comment for struct utimbuf and utime
18919 to refer to utime.h, not time.h.
18920 * manual/string.texi (Argz Functions): Add missing const in
18921 argz_extract and argz_next prototypes.
18922 (Finding Tokens in a String): Likewise for basename.
18923 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18924 (Copying and Concatenation): Fix typo in wmemmove prototype.
18925 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18926 (Signal Stack): Remove erroneous const in sigstack prototype.
18927 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18929 (Simple Calendar Time): Likewise for stime.
18930 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18932 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18933 say sys/sysctl.h instead.
18934 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18935 and vsyslog prototypes.
18937 2013-02-11 Tom de Vries <tom@codesourcery.com>
18939 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18942 2013-02-11 Roland McGrath <roland@hack.frob.com>
18944 * misc/sys/mman.h: Fix typo in mremap comment.
18946 2013-02-08 Roland McGrath <roland@hack.frob.com>
18948 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18949 the '\0' terminator.
18951 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18954 * debug/segfault.c: Don't include <bp-checks.h>.
18955 * sysdeps/generic/bp-checks.h: Remove file.
18956 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18957 (__GETDENTS): Don't use CHECK_N.
18958 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18959 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18960 (__getgroups): Don't use CHECK_N.
18961 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18962 (setgroups): Don't use CHECK_N.
18963 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18964 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18965 (__libc_msgrcv): Don't use CHECK_N.
18966 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18967 (__libc_msgsnd): Don't use CHECK_N.
18968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18970 (__libc_pread): Don't use CHECK_N.
18971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18972 include <bp-checks.h>.
18973 (__libc_pread64): Don't use CHECK_N.
18974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18975 include <bp-checks.h>.
18976 (__libc_pwrite): Don't use CHECK_N.
18977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18978 include <bp-checks.h>.
18979 (__libc_pwrite64): Don't use CHECK_N.
18980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18982 (__libc_pread): Don't use CHECK_N.
18983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18984 include <bp-checks.h>.
18985 (__libc_pread64): Don't use CHECK_N.
18986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18987 include <bp-checks.h>.
18988 (__libc_pwrite): Don't use CHECK_N.
18989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18990 include <bp-checks.h>.
18991 (__libc_pwrite64): Don't use CHECK_N.
18992 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18993 (do_pread): Don't use CHECK_N.
18994 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18995 (do_pread64): Don't use CHECK_N.
18996 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18997 (do_pwrite): Don't use CHECK_N.
18998 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18999 (do_pwrite64): Don't use CHECK_N.
19000 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19001 (__libc_readv): Don't use CHECK_N.
19002 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19003 (semop): Don't use CHECK_N.
19004 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19006 (semtimedop): Don't use CHECK_N.
19007 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19008 (__libc_pread): Don't use CHECK_N.
19009 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19011 (__libc_pread64): Don't use CHECK_N.
19012 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19014 (__libc_pwrite): Don't use CHECK_N.
19015 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19017 (__libc_pwrite64): Don't use CHECK_N.
19018 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19020 (__libc_msgrcv): Don't use CHECK_N.
19021 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19022 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19023 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19024 (__libc_writev): Don't use CHECK_N.
19026 2013-02-08 Roland McGrath <roland@hack.frob.com>
19028 * string/strcpy.c: Removed unused variable.
19030 * Makeconfig (+sysdep-includes): Define with := rather than =.
19031 Use an existing include/ subdir of each sysdeps dir before it.
19033 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19035 * nscd/connection.c (register_traced_file): Comment function.
19036 [HAVE_INOTIFY] (union __inev): Define.
19037 [HAVE_INOTIFY] (inotify_check_files): New function.
19038 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19039 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19041 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19043 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19045 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19046 loaded if not already and that a failure is permanent.
19048 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19051 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19052 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19054 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19057 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19058 (CHECK_1_NULL_OK): Likewise.
19059 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19060 (__fxstat): Do not use CHECK_1.
19061 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19063 (___fxstat64): Do not use CHECK_1.
19064 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19066 (__fxstatat): Do not use CHECK_1.
19067 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19069 (__fxstatat64): Do not use CHECK_1.
19070 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19072 (__fxstat): Do not use CHECK_1.
19073 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19075 (__fxstatat): Do not use CHECK_1.
19076 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19078 (__getresgid): Do not use CHECK_1.
19079 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19081 (__getresuid): Do not use CHECK_1.
19082 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19084 (__lxstat): Do not use CHECK_1.
19085 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19087 (__old_msgctl): Do not use CHECK_1.
19088 (__new_msgctl): Likewise.
19089 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19091 (__new_setrlimit): Do not use CHECK_1.
19092 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19094 (__old_shmctl): Do not use CHECK_1.
19095 (__new_shmctl): Likewise.
19096 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19098 (__xstat): Do not use CHECK_1.
19099 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19100 (__lxstat): Do not use CHECK_1.
19101 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19103 (___lxstat64): Do not use CHECK_1.
19104 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19105 (__old_msgctl): Do not use CHECK_1.
19106 (__new_msgctl): Likewise.
19107 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19109 (__gettimeofday): Do not use CHECK_1.
19110 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19111 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19112 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19114 (__gettimeofday): Do not use CHECK_1.
19115 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19116 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19117 (__new_shmctl): Do not use CHECK_1.
19118 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19120 (do_sigtimedwait): Do not use CHECK_1.
19121 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19123 (do_sigwaitinfo): Do not use CHECK_1.
19124 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19126 (msgctl): Do not use CHECK_1.
19127 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19129 (shmctl): Do not use CHECK_1.
19130 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19131 (ustat): Do not use CHECK_1.
19132 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19134 (__fxstat): Do not use CHECK_1.
19135 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19137 (__fxstatat): Do not use CHECK_1.
19138 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19140 (__lxstat): Do not use CHECK_1.
19141 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19143 (__xstat): Do not use CHECK_1.
19144 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19145 (__xstat): Do not use CHECK_1.
19146 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19147 (___xstat64): Do not use CHECK_1.
19150 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19152 (CHECK_BOUNDS_HIGH): Likewise.
19153 * string/strcpy.c: Do not include <bp-checks.h>.
19154 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19156 2013-02-07 Roland McGrath <roland@hack.frob.com>
19158 * nscd/nscd-client.h (__nscd_drop_map_ref):
19159 Add __attribute__ ((unused)).
19160 * nis/nss-nisplus.h (niserr2nss): Likewise.
19162 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19163 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19165 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19166 Remove inline keyword.
19167 * include/rounding-mode.h (round_away): Likewise.
19168 * libio/wfileops.c (adjust_wide_data): Likewise.
19169 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19170 (__m128i_strloadu_tolower): Likewise.
19171 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19172 (__m128i_strloadu_tolower): Likewise.
19173 * time/mktime.c (ydhms_diff): Likewise.
19174 * locale/elem-hash.h (elem_hash): Likewise.
19175 * locale/setlocale.c (setdata): Likewise.
19176 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19177 (re_string_wchar_at): Likewise.
19178 (bitset_not, bitset_merge, bitset_mask): Likewise.
19179 [!(__GNUC__ > 3)] (inline): Remove macro.
19180 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19181 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19182 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19183 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19184 * string/memcmp.c (memcmp_bytes): Likewise.
19185 * locale/programs/locarchive.c (compute_hashval): Likewise.
19186 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19187 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19188 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19189 * nss/getent.c (print_rpc, print_protocols): Likewise.
19190 (print_passwd, print_group, print_aliases): Likewise.
19191 * nis/nss-nisplus.h (niserr2nss): Likewise.
19192 * nscd/connections.c (restart_p): Likewise.
19193 Change return type to bool.
19195 2013-02-05 Roland McGrath <roland@hack.frob.com>
19197 * Makeconfig (all-Depend-files): Add existing
19198 $(sorted-subdirs:=/Depend) files.
19199 (all-subdirs): Remove nss.
19200 * sysdeps/unix/inet/Subdirs: Add it here instead.
19201 * hesiod/Depend: New file.
19203 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19204 instead of calling alloca.
19206 * io/lseek.c (__lseek): Rename to __libc_lseek.
19207 Define __lseek as an alias.
19209 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19211 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19213 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19214 else clause and remove check for non-standard endianness.
19216 2013-02-04 David S. Miller <davem@davemloft.net>
19218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19220 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19223 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19224 (__ubp_memchr): Remove prototype.
19225 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19226 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19227 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19228 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19229 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19231 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19232 (__ubp_memchr): Likewise.
19233 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19234 (__ubp_memchr): Likewise.
19235 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19236 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19237 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19238 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19240 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19241 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19242 (__getcwd): Do not use CHECK_STRING.
19243 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19245 (__real_chown): Do not use CHECK_STRING.
19246 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19248 (fchownat): Do not use CHECK_STRING.
19249 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19251 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19253 (__lchown): Do not use CHECK_STRING.
19254 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19255 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19256 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19257 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19259 include <bp-checks.h>.
19260 (truncate64): Do not use CHECK_STRING.
19261 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19263 (__real_chown): Do not use CHECK_STRING.
19264 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19266 (__lchown): Do not use CHECK_STRING.
19267 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19269 (__chown): Do not use CHECK_STRING.
19270 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19272 (truncate64): Do not use CHECK_STRING.
19273 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19275 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19276 (__xmknod): Do not use CHECK_STRING.
19277 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19279 (__xmknodat): Do not use CHECK_STRING.
19280 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19281 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19283 2013-02-04 Andreas Schwab <schwab@suse.de>
19286 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19287 * include/netdb.h: Likewise for h_errno.
19288 * elf/tst-stackguard1.c: Include <tls.h>.
19290 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19292 * elf/link.h (struct link_map): Extend the l_addr comment.
19293 * include/link.h (struct link_map): Likewise.
19295 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19298 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19299 (BOUNDED_1): Remove macro.
19300 * debug/backtrace.c: Don't include <bp-checks.h>.
19301 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19302 (__backtrace): Likewise.
19303 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19305 (__backtrace): Don't use BOUNDED_1.
19306 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19308 (__backtrace): Don't use BOUNDED_1.
19309 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19310 (__backtrace): Don't use BOUNDED_1.
19311 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19312 (shmat): Don't use BOUNDED_N.
19314 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19317 * sysdeps/generic/bp-start.h: Remove file.
19318 * csu/libc-start.c: Don't include <bp-start.h>.
19319 (LIBC_START_MAIN): Set up __environ directly instead of using
19320 INIT_ARGV_and_ENVIRON.
19321 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19325 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19327 (CHECK_FCNTL): Likewise.
19328 (CHECK_N_PAGES): Likewise.
19331 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19333 (CHECK_SIGSET_NULL_OK): Likewise.
19334 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19336 (sigpending): Don't use CHECK_SIGSET.
19337 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19339 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19340 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19342 (do_sigsuspend): Don't use CHECK_SIGSET.
19343 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19345 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19346 (do_sigwait): Don't use CHECK_SIGSET.
19347 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19349 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19350 include <bp-checks.h>.
19351 (sigpending): Don't use CHECK_SIGSET.
19352 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19353 include <bp-checks.h>.
19354 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19355 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19357 (sigpending): Don't use CHECK_SIGSET.
19358 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19360 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19363 * sysdeps/generic/bp-semctl.h: Remove file.
19364 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19365 <bp-checks.h> and <bp-semctl.h>.
19366 (__old_semctl): Don't use CHECK_SEMCTL.
19367 (__new_semctl): Likewise.
19368 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19370 (__old_semctl): Don't use CHECK_SEMCTL.
19371 (__new_semctl): Likewise.
19372 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19373 <bp-checks.h> and <bp-semctl.h>.
19374 (__old_semctl): Don't use CHECK_SEMCTL.
19375 (__new_semctl): Likewise.
19376 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19377 <bp-checks.h> and <bp-semctl.h>.
19378 (semctl): Don't use CHECK_SEMCTL.
19381 * Makerules (elide-bp-thunks): Remove variable.
19382 (elide-routines.oS): Don't use $(elide-bp-thunks).
19383 (elide-routines.os): Likewise.
19384 (elide-routines.o): Likewise.
19385 (elide-routines.op): Likewise.
19386 (elide-routines.og): Likewise.
19387 (objects): Don't use $(bp-thunks).
19388 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19390 (common-generated): Do not add s-proto-bp.d.
19391 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19394 Do not generate makefile rules for bounded-pointer thunks.
19395 * sysdeps/generic/bp-thunks.h: Remove file.
19396 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19397 * sysdeps/unix/s-proto-bp.S: Likewise.
19400 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19401 parts of result separately when argument is not close to line from
19402 -i to i and one part of argument is small.
19403 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19404 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19405 * math/libm-test.inc (cacos_test): Add more tests.
19406 (casin_test): Likewise.
19407 (casinh_test): Likewise.
19408 * sysdeps/i386/fpu/libm-test-ulps: Update.
19409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19411 2013-01-31 David S. Miller <davem@davemloft.net>
19413 * po/de.po: Update from translation team.
19415 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19417 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19419 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19421 * configure.in (_AC_PROG_CC_C89): New definition.
19422 * configure: Regenerate.
19424 * configure.in (AC_PROG_CPP): New definition.
19425 * configure: Regenerate.
19427 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19429 * debug/tst-backtrace.h: New file.
19430 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19431 (ret): Remove variable.
19433 (FAIL): Remove macro.
19434 (NO_INLINE): Likewise.
19435 (fn1): Use match function instead of strstr.
19436 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19437 (ret): Remove variable.
19439 (FAIL): Remove macro.
19440 (NO_INLINE): Likewise.
19441 (fn): Use match function instead of strstr.
19442 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19443 (ret): Remove variable.
19445 (FAIL): Remove macro.
19446 (NO_INLINE): Likewise.
19447 (handle_signal): Use match function instead of strstr.
19448 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19449 (ret): Remove variable.
19451 (FAIL): Remove macro.
19452 (NO_INLINE): Likewise.
19453 (handle_signal): Use match function instead of strstr.
19455 2013-01-23 Roland McGrath <roland@hack.frob.com>
19457 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19459 2013-01-23 David S. Miller <davem@davemloft.net>
19461 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19462 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19463 argument of CAS if possible.
19464 * sysdeps/sparc/sparc64/bits/atomic.h
19465 (__arch_compare_and_exchange_val_32_acq): Likewise.
19466 (__arch_compare_and_exchange_val_64_acq): Likewise.
19468 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19470 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19471 * sysdeps/posix/ulimit.c: ... this.
19472 Include <limits.h>.
19473 * sysdeps/unix/bsd/ulimit.c: Remove file.
19475 2013-01-23 Adam Conrad <adconrad@0c3.net>
19477 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19478 (LDFLAGS-tst-array5): Likewise.
19480 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19483 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19484 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19485 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19486 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19488 2013-01-21 David S. Miller <davem@davemloft.net>
19490 * sysdeps/sparc/backtrace.c: New file.
19491 * sysdeps/sparc/sparc32/backtrace.h: New file.
19492 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19493 * sysdeps/sparc/sparc64/backtrace.h: New file.
19494 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19495 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19498 2013-01-21 Andreas Schwab <schwab@suse.de>
19501 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19504 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19510 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19511 Mark Mitchell <mark@codesourcery.com>
19512 Tom de Vries <tom@codesourcery.com>
19513 Paul Pluzhnikov <ppluzhnikov@google.com>
19515 * debug/tst-backtrace2.c: New file.
19516 * debug/tst-backtrace3.c: Likewise.
19517 * debug/tst-backtrace4.c: Likewise.
19518 * debug/tst-backtrace5.c: Likewise.
19519 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19520 (CFLAGS-tst-backtrace3.c): Likewise.
19521 (CFLAGS-tst-backtrace4.c): Likewise.
19522 (CFLAGS-tst-backtrace5.c): Likewise.
19523 (LDFLAGS-tst-backtrace2): Likewise.
19524 (LDFLAGS-tst-backtrace3): Likewise.
19525 (LDFLAGS-tst-backtrace4): Likewise.
19526 (LDFLAGS-tst-backtrace5): Likewise.
19527 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19528 tst-backtrace4 and tst-backtrace5.
19530 2013-01-18 Anton Blanchard <anton@samba.org>
19531 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19533 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19534 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19535 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19536 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19538 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19539 "+r" and remove output regs list as redundant. Add explicit inline
19540 asm to specify register of return val to work around compiler codegen
19541 bug. Remove (int) cast on return value. Add return type parameter to
19542 use in macro so that this macro does not truncate return value for
19544 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19545 pass to INTERNAL_VSYSCALL_NCS.
19546 (INLINE_VSYSCALL): Add 'long int' as return type to
19547 INTERNAL_VSYSCALL_NCS macro invocation.
19548 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19549 INTERNAL_VSYSCALL_NCS macro invocation.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19552 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19555 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19556 Fix application of SIMD FP exception mask.
19558 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19559 mp_no from a power of two.
19560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19561 __mpexp_twomm1. Use __pow_mp.
19563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19566 2013-01-17 David S. Miller <davem@davemloft.net>
19568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19570 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19573 * include/complex.h: Condition contents on [!_COMPLEX_H].
19574 (__kernel_casinhf): New prototype.
19575 (__kernel_casinh): Likewise.
19576 (__kernel_casinhl): Likewise.
19577 * math/Makefile (libm_calls): Add k_casinh.
19578 * math/k_casinh.c: New file.
19579 * math/k_casinhf.c: Likewise.
19580 * math/k_casinhl.c: Likewise.
19581 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19582 finite nonzero arguments.
19583 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19584 finite nonzero arguments.
19585 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19586 finite nonzero arguments.
19587 * math/s_casinh.c: Do not include <float.h>.
19588 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19589 * math/s_casinhf.c: Do not include <float.h>.
19590 (__casinhf): Move code for finite nonzero arguments to
19592 * math/s_casinhl.c: Do not include <float.h>.
19593 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19595 (__casinhl): Move code for finite nonzero arguments to
19597 * math/libm-test.inc (cacos_test): Add more tests.
19598 * sysdeps/i386/fpu/libm-test-ulps: Update.
19599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19601 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19603 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19604 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19605 [!HAVE_MREMAP]: Remove [defined linux] case.
19606 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19608 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19610 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19612 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19614 * elf/elf.h (R_386_SIZE32): New relocation.
19615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19617 (elf_machine_rela): Likewise.
19618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19619 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19621 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19623 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19624 (FP_FAST_FMA): Do not define.
19625 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19626 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19627 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19628 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19629 !_SOFT_FLOAT]: Likewise.
19630 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19631 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19633 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19634 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19635 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19636 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19637 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19638 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19641 2013-01-16 Andreas Schwab <schwab@suse.de>
19644 * include/stdlib.h (__mktemp): Add declaration.
19645 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19646 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19648 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19650 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19652 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19653 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19654 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19656 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19657 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19659 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19661 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19662 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19663 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19665 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19666 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19668 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19670 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19672 2013-01-15 David S. Miller <davem@davemloft.net>
19674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19675 trunc{,f} to libm-sysdep_routes.
19676 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19686 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19687 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19688 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19689 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19690 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19691 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19694 nearbyint{,f} to libm-sysdep_routes.
19695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19706 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19708 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19709 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19711 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19712 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19713 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19715 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19716 libc_feholdexcept and libc_fesetenv.
19718 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19720 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19722 2013-01-14 David S. Miller <davem@davemloft.net>
19724 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19725 (SPARC_ASM_VIS2_IFUNC): Likewise.
19726 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19728 use of 'siam' instruction.
19729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19762 routines to libm-sysdep_routines.
19763 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19766 fdim/fdimf to libm-sysdep_routines.
19767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19775 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19776 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19777 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19778 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19780 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19782 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19783 to optimize copies.
19785 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19790 local variable MPTWO.
19791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19794 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19796 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19799 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19801 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19803 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19805 * manual/pattern.texi (glob_t): Document gl_flags.
19806 (glob64_t): Likewise.
19808 2013-01-11 David S. Miller <davem@davemloft.net>
19810 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19811 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19812 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19813 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19814 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19815 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19816 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19817 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19818 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19819 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19820 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19821 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19822 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19824 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19825 sparc V9 rather than using V8 code.
19826 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19827 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19829 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19831 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19834 2013-01-11 Roland McGrath <roland@hack.frob.com>
19836 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19837 not in the main loop.
19838 * configure: Regenerated.
19840 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19842 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19843 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19845 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19846 [!__GLIBC_HAVE_LONG_LONG] case.
19847 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19848 condition to just #else.
19849 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19850 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19851 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19852 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19854 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19855 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19856 #elif condition to just #else.
19857 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19858 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19859 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19860 #elif condition to just #else.
19862 2013-01-11 Steve Ellcey <sellcey@mips.com>
19864 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19865 (EF_MIPS_ARCH_64): Fix value.
19866 (EF_MIPS_ARCH_32R2): New.
19867 (EF_MIPS_ARCH_64R2): New.
19869 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19871 * Makeconfig (+link-pie-before-libc): New.
19872 (+link-pie-after-libc): Likewise.
19873 (+link-pie-tests): Likewise.
19874 (+link-pie): Rewritten.
19875 (link-before-libc): Remove $(config-LDFLAGS).
19876 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19877 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19878 (config-LDFLAGS): Renamed to ...
19879 (rtld-LDFLAGS): This.
19880 (rtld-tests-LDFLAGS): New macro.
19881 (link-libc-rpath-link): Likewise.
19882 (link-libc-tests-rpath-link): Likewise.
19883 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19884 (link-libc): Prepand $(link-libc-rpath-link).
19885 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19886 (test-program-prefix): New macro.
19887 (test-via-rtld-prefix): Likewise.
19888 (test-program-cmd): Likewise.
19889 (host-test-program-cmd): Likewise.
19890 * Makefile ($(common-objpfx)testrun.sh): Replace
19891 $(run-program-prefix) with $(test-program-prefix).
19892 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19894 ($(common-objpfx)shlib.lds): Likewise.
19895 (build-module-helper): Likewise.
19896 ($(common-objpfx)format.lds): Likewise.
19897 * Rules (binaries-pie-tests): New.
19898 (binaries-pie-notests): Likewise.
19899 (binaries-pie): Rewritten.
19900 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19901 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19902 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19903 (make-test-out): Replace $(host-built-program-cmd) with
19904 $(host-test-program-cmd).
19905 * config.make.in (build-hardcoded-path-in-tests): New variable.
19906 * configure.in (--enable-hardcoded-path-in-tests): New configure
19908 (hardcoded_path_in_tests): New AC_SUBST.
19909 * configure: Regenerated.
19910 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19911 $(built-program-cmd) with $(test-program-cmd).
19912 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19913 (test_program_cmd): This.
19914 * elf/Makefile ($(objpfx)order.out): Run test with
19915 $(test-program-prefix).
19916 ($(objpfx)order2.out): Likewise.
19917 ($(objpfx)tst-initorder.out): Likewise.
19918 ($(objpfx)tst-initorder2.out): Likewise.
19919 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19920 $(test-program-cmd).
19921 ($(objpfx)tst-array1-static.out): Likewise.
19922 ($(objpfx)tst-array2.out): Likewise.
19923 ($(objpfx)tst-array3.out): Likewise.
19924 ($(objpfx)tst-array4.out): Likewise.
19925 ($(objpfx)tst-array5.out): Likewise.
19926 ($(objpfx)tst-array5-static.out): Likewise.
19927 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19928 $(test-program-cmd).
19929 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19930 $(run-program-prefix) with $(test-program-prefix).
19931 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19932 (test_program_prefix): This.
19933 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19934 $(run-program-prefix) with $(test-program-prefix).
19935 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19936 (test_program_prefix): This.
19937 * iconvdata/tst-tables.sh: Likewise.
19938 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19939 $(run-program-prefix) with $(test-program-prefix).
19940 ($(objpfx)tst-translit.out): Likewise.
19941 ($(objpfx)tst-gettext2.out): Likewise.
19942 ($(objpfx)tst-gettext4.out): Likewise.
19943 ($(objpfx)tst-gettext6.out): Likewise.
19944 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19945 (test_program_prefix): This.
19946 * intl/tst-gettext2.sh: Likewise.
19947 * intl/tst-gettext4.sh Likewise.
19948 * intl/tst-gettext6.sh: Likewise.
19949 * intl/tst-translit.sh: Likewise.
19950 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19951 with $(test-program-cmd).
19952 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19953 $(run-program-prefix) with $(test-program-prefix).
19954 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19955 (test_program_prefix): This.
19956 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19957 $(run-program-prefix) with $(test-program-prefix).
19958 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19959 (test_program_prefix): This.
19960 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19961 * posix/Makefile ($(objpfx)globtest.out): Replace
19962 $(run-via-rtld-prefix) and $(test-wrapper) with
19963 $(test-program-prefix) and $(test-via-rtld-prefix).
19964 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19965 $(test-program-prefix).
19966 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19967 $(host-test-program-cmd).
19968 (tst-spawn-ARGS): Likewise.
19969 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19970 $(test-program-prefix).
19971 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19972 (test_via_rtld_prefix): This.
19973 (test_wrapper): Renamed to ...
19974 (test_program_prefix): This.
19975 (run_program_prefix): Replaced by test_program_prefix.
19976 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19977 (test_program_prefix): This.
19978 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19979 with $(host-test-program-cmd).
19980 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19981 $(run-program-prefix) with $(test-program-prefix).
19982 ($(objpfx)tst-printf.out): Likewise.
19983 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19984 $(test-program-cmd).
19985 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19986 (test_program_prefix): This.
19987 * stdio-common/tst-unbputc.sh: Likewise.
19988 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19989 $(run-program-prefix) with $(test-program-prefix).
19990 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19991 (test_program_prefix): This.
19992 * string/Makefile ($(objpfx)tst-svc.out): Replace
19993 $(built-program-cmd) with $(test-program-cmd).
19995 2013-01-11 Andreas Jaeger <aj@suse.de>
19998 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19999 value. Sync with Linux 3.7.
20001 2013-01-10 David S. Miller <davem@davemloft.net>
20003 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20004 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20005 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20007 2013-01-10 Roland McGrath <roland@hack.frob.com>
20009 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20011 * configure: Regenerated.
20013 2013-01-10 David S. Miller <davem@davemloft.net>
20015 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20016 sparc V9 rather than using V8 code.
20017 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20018 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20020 2013-01-10 Roland McGrath <roland@hack.frob.com>
20022 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20023 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20024 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20025 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20026 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20027 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20028 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20029 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20030 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20031 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20032 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20033 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20034 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20035 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20036 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20037 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20038 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20039 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20040 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20041 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20042 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20043 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20044 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20045 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20046 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20047 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20048 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20050 2013-01-10 David S. Miller <davem@davemloft.net>
20052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20054 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20056 * posix/Makefile (tests-static): New variable.
20057 (tests): Add $(tests-static).
20058 (tst-exec-static-ARGS): New variable.
20059 (tst-spawn-static-ARGS): Likewise.
20060 * posix/tst-exec-static.c: New file.
20061 * posix/tst-spawn-static.c: Likewise.
20062 * posix/tst-exec.c: Support run directly.
20063 * posix/tst-spawn.c: Likewise.
20065 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20067 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20069 * math/bits/mathcalls.h (llrint): Likewise.
20070 (llround): Likewise.
20071 * stdlib/stdlib.h (struct drand48_data): Likewise.
20072 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20073 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20074 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20076 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20078 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20079 (elf_greg_t): Likewise.
20080 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20081 (__jmp_buf): Likewise.
20082 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20084 (llrint): Likewise, for all definitions.
20085 (llrintl): Likewise.
20087 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20088 Remove [__GNUC__] condition.
20089 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20090 condition to just [__USE_ISOC99].
20091 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20093 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20096 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20097 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20099 (_POSIX_V6_ILP32_OFF32): Likewise.
20100 (_XBS5_ILP32_OFF32): Likewise.
20101 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20102 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20104 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20106 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20108 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20109 doubles __mpexp_twomm1. Adjust usage.
20110 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20113 2013-01-10 Andreas Schwab <schwab@suse.de>
20116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20117 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20119 2013-01-09 David S. Miller <davem@davemloft.net>
20122 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20123 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20124 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20125 (TCP_FASTOPEN): Define.
20126 (tcp_repair_opt): New structure.
20127 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20129 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20130 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20131 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20132 (tcp_cookie_transactions): New structure.
20134 2013-01-09 Anton Blanchard <anton@samba.org>
20136 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20137 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20138 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20139 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20141 2013-01-09 Joseph Myers <joseph@codesourcery.com>
20143 * include/features.h (__USE_ANSI): Remove.
20145 2013-01-09 Roland McGrath <roland@hack.frob.com>
20147 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20149 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20151 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20153 * sysdeps/s390/fpu/libm-test-ulps: Update.
20155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20157 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20161 (denorm): Likewise.
20162 (__mp_dbl): Likewise.
20163 (__dbl_mp): Likewise.
20164 (add_magnitudes): Likewise.
20165 (sub_magnitudes): Likewise.
20171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20175 (denorm): Likewise.
20176 (__mp_dbl): Likewise.
20177 (__dbl_mp): Likewise.
20178 (add_magnitudes): Likewise.
20179 (sub_magnitudes): Likewise.
20185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20189 (denorm): Likewise.
20190 (__mp_dbl): Likewise.
20191 (__dbl_mp): Likewise.
20192 (add_magnitudes): Likewise.
20193 (sub_magnitudes): Likewise.
20200 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20202 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20203 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20204 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20205 2 && __USE_EXTERN_INLINES]: Likewise.
20207 2013-01-08 Andreas Jaeger <aj@suse.de>
20210 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20212 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20213 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20215 2013-01-07 Anton Blanchard <anton@samba.org>
20217 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20218 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20219 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20220 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20221 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20222 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20223 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20224 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20226 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20227 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20228 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20229 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20230 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20231 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20232 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20233 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20234 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20235 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20236 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20237 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20238 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20240 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20241 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20242 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20243 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20244 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20246 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20247 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20249 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20250 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20251 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20252 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20253 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20254 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20255 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20256 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20257 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20258 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20259 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20261 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20263 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20264 (__MALLOC_PMT): Likewise.
20265 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20266 [__GNUC__], only on [_LIBC].
20267 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20268 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20269 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20270 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20271 forward declaration.
20272 (realloc_hook_ini): Likewise.
20273 (memalign_hook_ini): Likewise.
20274 (__libc_memalign): Do not use __MALLOC_PMT in variable
20276 (__libc_valloc): Likewise.
20277 (__libc_pvalloc): Likewise.
20278 (__libc_calloc): Likewise.
20279 (__posix_memalign): Likewise.
20282 * math/s_casinh.c: Include <float.h>.
20283 (__casinh): Do not do computation with squaring and square root
20284 for large arguments.
20285 * math/s_casinhf.c: Include <float.h>.
20286 (__casinhf): Do not do computation with squaring and square root
20287 for large arguments.
20288 * math/s_casinhl.c: Include <float.h>.
20289 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20290 (__casinhl): Do not do computation with squaring and square root
20291 for large arguments.
20292 * math/libm-test.inc (casin_test): Add more tests.
20293 (casinh_test): Likewise.
20294 * sysdeps/i386/fpu/libm-test-ulps: Update.
20295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20297 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20299 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20300 (__x86_64_raw_data_cache_size): Likewise.
20301 (__x86_64_data_cache_size_half): Likewise.
20302 (__x86_64_raw_data_cache_size_half): Likewise.
20303 (__x86_64_shared_cache_size): Likewise.
20304 (__x86_64_raw_shared_cache_size): Likewise.
20305 (__x86_64_shared_cache_size_half): Likewise.
20306 (__x86_64_raw_shared_cache_size_half): Likewise.
20307 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20309 (__x86_data_cache_size): This.
20310 (__x86_64_raw_data_cache_size): Renamed to ...
20311 (__x86_raw_data_cache_size): This.
20312 (__x86_64_data_cache_size_half): Renamed to ...
20313 (__x86_data_cache_size_half): This.
20314 (__x86_64_raw_data_cache_size_half): Renamed to ...
20315 (__x86_raw_data_cache_size_half): This.
20316 (__x86_64_shared_cache_size): Renamed to ...
20317 (__x86_shared_cache_size): This.
20318 (__x86_64_raw_shared_cache_size): Renamed to ...
20319 (__x86_raw_shared_cache_size): This.
20320 (__x86_64_shared_cache_size_half): Renamed to ...
20321 (__x86_shared_cache_size_half): This.
20322 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20323 (__x86_raw_shared_cache_size_half): This.
20324 * sysdeps/x86_64/memcpy.S: Updated.
20325 * sysdeps/x86_64/memset.S: Likewise.
20326 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20328 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20330 2013-01-04 David S. Miller <davem@davemloft.net>
20332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20334 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20336 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20337 1 to avoid redefinition warning.
20338 (__USE_GNU): Don't define.
20339 (init_signaling_nan): Protoize.
20341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20343 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20345 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20347 (__cpymn): Likewise.
20348 (norm): Remove commented code.
20349 (denorm): Likewise.
20350 (__mp_dbl): Likewise.
20352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20353 (__cpymn): Likewise.
20354 (norm): Remove commented code.
20355 (denorm): Likewise.
20356 (__mp_dbl): Likewise.
20359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20360 mp_no value for 1.0 and 2.0.
20361 (norm): Use RADIXI instead of radixi.d.
20362 (denorm): Likewise.
20363 (__mul): Use 0.0 instead of zero.d.
20364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20365 mp_no value for 1.0 and 2.0.
20366 (norm): Use RADIXI instead of radixi.d.
20367 (denorm): Likewise.
20368 (__mul): Use 0.0 instead of zero.d.
20370 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20373 * math/s_casinh.c (__casinh): Reduce finite argument to first
20374 quadrant then set signs of results at the end.
20375 * math/s_casinhf.c (__casinhf): Likewise.
20376 * math/s_casinhl.c (__casinhl): Likewise.
20377 * math/libm-test.inc (casin_test): Add more tests.
20378 (casinh_test): Likewise.
20379 * sysdeps/i386/fpu/libm-test-ulps: Update.
20380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20382 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20384 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20386 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20388 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20390 (denorm): Likewise.
20391 (__mp_dbl): Likewise.
20394 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20395 and adjust the header comment.
20397 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20398 variable name from declaration.
20400 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20403 Initialize COMMON_CPUID_INDEX_7 element.
20404 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20405 (CPUID_RTM): Likewise.
20406 (HAS_RTM): Likewise.
20407 (COMMON_CPUID_INDEX_7): New enum.
20409 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20412 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20413 size is zero, record memory as freed.
20415 2013-01-03 Andreas Jaeger <aj@suse.de>
20417 * po/ia.po: Add new Interlingua translation.
20419 2012-01-03 Allan McRae <allan@archlinux.org>
20421 * locale/programs/localedef.c: Fix description of '--posix' flag.
20423 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20425 * NEWS: Update dates in second copyright notice.
20426 * README: Update copyright dates in example.
20427 * manual/libc.texinfo: Update copyright dates.
20428 * scripts/test-installation.pl: Update copyright date in --version
20431 * hurd/ctty-input.c: Fix copyright notice formatting.
20432 * hurd/ctty-output.c: Likewise.
20433 * hurd/dtable.c: Likewise.
20434 * hurd/hurd-raise.c: Likewise.
20435 * hurd/hurdprio.c: Likewise.
20436 * hurd/msgportdemux.c: Likewise.
20437 * misc/sys/file.h: Likewise.
20438 * misc/sys/ioctl.h: Likewise.
20439 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20440 * sysdeps/mach/hurd/chdir.c: Likewise.
20441 * sysdeps/mach/hurd/fchdir.c: Likewise.
20442 * sysdeps/mach/hurd/rename.c: Likewise.
20443 * sysdeps/mach/hurd/rmdir.c: Likewise.
20444 * sysdeps/mach/hurd/seekdir.c: Likewise.
20445 * sysdeps/mach/hurd/setsid.c: Likewise.
20446 * sysdeps/posix/wait3.c: Likewise.
20448 * All files with FSF copyright notices: Update copyright dates
20449 using scripts/update-copyrights.
20450 * intl/plural.c: Regenerated.
20451 * locale/programs/charmap-kw.h: Likewise.
20452 * locale/programs/locfile-kw.h: Likewise.
20454 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20456 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20459 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20460 calculation loop and add branch prediction.
20462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20463 check access beyond bounds of m1np.
20465 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20467 (__inv): Remove local variable MPTWO to use the global
20469 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20470 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20472 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20473 MP3HALFS static const.
20475 2013-01-01 David S. Miller <davem@davemloft.net>
20477 * po/ca.po: Update from translation team.
20479 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20481 * scripts/update-copyrights: New file.
20482 * Makeconfig: Reformat copyright notice.
20483 * ctype/ctype.h: Likewise.
20484 * debug/swprintf_chk.c: Likewise.
20485 * elf/dl-cache.c: Likewise.
20486 * elf/dl-debug.c: Likewise.
20487 * elf/dl-object.c: Likewise.
20488 * grp/initgroups.c: Likewise.
20489 * hurd/Makefile: Likewise.
20490 * hurd/hurd/signal.h: Likewise.
20491 * hurd/hurdfault.c: Likewise.
20492 * hurd/hurdioctl.c: Likewise.
20493 * hurd/hurdlookup.c: Likewise.
20494 * hurd/intr-msg.c: Likewise.
20495 * iconv/gconv_open.c: Likewise.
20496 * libio/swprintf.c: Likewise.
20497 * locale/lc-ctype.c: Likewise.
20498 * locale/nl_langinfo.c: Likewise.
20499 * mach/Machrules: Likewise.
20500 * mach/Makefile: Likewise.
20501 * malloc/obstack.h: Likewise.
20502 * manual/Makefile: Likewise.
20503 * manual/tsort.awk: Likewise.
20504 * misc/bits/stab.def: Likewise.
20505 * nis/nis_print_group_entry.c: Likewise.
20506 * nis/nis_table.c: Likewise.
20507 * nis/nss_compat/compat-pwd.c: Likewise.
20508 * nis/nss_compat/compat-spwd.c: Likewise.
20509 * po/Makefile: Likewise.
20510 * posix/fnmatch.c: Likewise.
20511 * posix/regex.h: Likewise.
20512 * resolv/Makefile: Likewise.
20513 * resolv/nss_dns/dns-network.c: Likewise.
20514 * resolv/res_hconf.c: Likewise.
20515 * scripts/gen-sorted.awk: Likewise.
20516 * soft-fp/soft-fp.h: Likewise.
20517 * stdio-common/printf.h: Likewise.
20518 * stdlib/monetary.h: Likewise.
20519 * stdlib/random.c: Likewise.
20520 * stdlib/random_r.c: Likewise.
20521 * sysdeps/generic/Makefile: Likewise.
20522 * sysdeps/gnu/Makefile: Likewise.
20523 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20525 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20527 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20533 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20534 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20535 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20536 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20537 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20538 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20539 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20540 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20541 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20542 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20543 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20544 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20545 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20546 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20547 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20548 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20549 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20550 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20551 * sysdeps/mach/hurd/errnos.awk: Likewise.
20552 * sysdeps/mach/hurd/fork.c: Likewise.
20553 * sysdeps/mach/hurd/getcwd.c: Likewise.
20554 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20555 * sysdeps/mach/hurd/mmap.c: Likewise.
20556 * sysdeps/mach/hurd/utimes.c: Likewise.
20557 * sysdeps/mach/hurd/xmknod.c: Likewise.
20558 * sysdeps/posix/profil.c: Likewise.
20559 * sysdeps/posix/readdir_r.c: Likewise.
20560 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20561 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20562 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20563 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20565 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20566 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20567 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20569 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20570 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20571 * sysdeps/pthread/lio_listio.c: Likewise.
20572 * sysdeps/sparc/dl-procinfo.h: Likewise.
20573 * sysdeps/unix/i386/sysdep.S: Likewise.
20574 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20575 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20576 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20577 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20579 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20580 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20581 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20582 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20583 * sysdeps/wordsize-32/divdi3.c: Likewise.
20584 * time/sys/time.h: Likewise.
20585 * wcsmbs/Makefile: Likewise.
20587 2013-01-01 David S. Miller <davem@davemloft.net>
20589 * po/fr.po: Update from translation team.
20591 * catgets/gencat.c: Update copyright year.
20592 * csu/version.c: Likewise.
20593 * debug/catchsegv.sh: Likewise.
20594 * debug/pcprofiledump.c: Likewise.
20595 * debug/xtrace.sh: Likewise.
20596 * elf/ldconfig.c: Likewise.
20597 * elf/ldd.bash.in: Likewise.
20598 * elf/pldd.c: Likewise.
20599 * elf/sotruss.ksh: Likewise.
20600 * elf/sprof.c: Likewise.
20601 * iconv/iconv_prog.c: Likewise.
20602 * iconv/iconvconfig.c: Likewise.
20603 * locale/programs/locale.c: Likewise.
20604 * locale/programs/localedef.c: Likewise.
20605 * login/programs/pt_chown.c: Likewise.
20606 * malloc/memusage.sh: Likewise.
20607 * malloc/memusagestat.c: Likewise.
20608 * malloc/mtrace.pl: Likewise.
20609 * nscd/nscd.c: Likewise.
20610 * nss/getent.c: Likewise.
20611 * nss/makedb.c: Likewise.
20612 * posix/getconf.c: Likewise.
20614 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20616 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20619 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20621 * math/bits/mathcalls.h (modf): Use __nonnull.
20623 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20625 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20626 (split): Use macro CN instead of the bare value.
20627 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20629 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20630 instead of the bare value.
20631 (power1): Likewise.
20633 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20635 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20637 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20639 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20641 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20642 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20643 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20644 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20646 2012-12-28 Andreas Jaeger <aj@suse.de>
20648 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20649 values are from Linux 3.7.
20651 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20652 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20654 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20656 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20659 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20661 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20662 variables with preprocessor constants.
20663 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20664 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20665 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20667 2012-12-27 Bruno Haible <bruno@clisp.org>
20670 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20673 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20676 and use variable directly.
20677 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20679 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20681 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20682 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20684 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20686 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20687 include directive. Remove local variable MPONE.
20688 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20689 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20690 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20692 2012-12-25 David S. Miller <davem@davemloft.net>
20694 * version.h (RELEASE): Set to "development".
20695 (VERSION): Set to "2.17.90".
20696 * NEWS: Add 2.18 section.
20698 2012-12-21 David S. Miller <davem@davemloft.net>
20700 * po/hr.po: Update from translation team.
20702 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20704 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20706 2012-12-19 Steve Ellcey <sellcey@mips.com>
20708 * NEWS: Mention new memcpy for MIPS.
20710 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20712 * manual/contrib.texi (Contributors): Spelling correction.
20714 2012-12-15 David S. Miller <davem@davemloft.net>
20716 * po/ru.po: Update from translation team.
20718 2012-12-13 David S. Miller <davem@davemloft.net>
20720 * NEWS: Mention IFUNC testsuite enhancements.
20722 * po/pl.po: Update from translation team.
20723 * po/bg.po: Likewise.
20725 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20726 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20728 2012-12-11 David S. Miller <davem@davemloft.net>
20730 * po/sv.po: Update from translation team.
20732 * po/vi.po: Update from translation team.
20734 * po/cs.po: Update from translation team.
20736 * po/de.po: Update from translation team.
20737 * po/eo.po: Likewise.
20738 * po/nl.po: Likewise.
20740 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20743 * manual/argp.texi (Argp Helper Functions): Move node to follow
20744 Argp Parsing State.
20747 * manual/conf.texi (Limits on File System Capacity): Mention if
20748 terminating null is included in the max size.
20750 2012-12-10 Andreas Jaeger <aj@suse.de>
20752 * po/cs.po: Update from translation team.
20754 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20756 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20757 void pointer and cast to uintptr_t.
20758 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20760 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20761 * sysdeps/s390/s390-64/memset.S: Likewise.
20763 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20766 * menual/message.texi (Message Translation): Fix typos.
20767 (Helper programs for gettext): Likewise.
20769 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20772 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20775 2012-12-07 David S. Miller <davem@davemloft.net>
20777 * po/libc.pot: Update.
20779 2012-12-07 Richard Henderson <rth@redhat.com>
20782 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20783 normal/normal case to before the switch.
20784 (_FP_DIV): Likewise.
20786 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20787 Mike Frysinger <vapier@gentoo.org>
20789 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20790 check for __NR_fadvise64_64.
20792 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20794 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20795 0, not just to plain "0" as a statement.
20796 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20799 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20801 * NEWS: Use sourceware.org in Bugzilla URL.
20803 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20806 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20808 * stdio-common/tst-put-error.c (do_test): Add newline to the
20809 padded test to ensure flush.
20811 2012-12-05 Jeff Law <law@redhat.com>
20813 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20815 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20817 * README: Don't refer to ports add-on as distributed separately.
20818 Mention AArch64 in list of systems supported in the ports add-on.
20820 * LICENSES: Add more non-FSF copyright and license notices.
20822 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20825 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20827 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20828 10000 as width of padded output.
20830 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20832 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20834 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20835 variable LX with __attribute__ ((unused)).
20836 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20838 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20840 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20841 with __attribute__ ((unused)).
20843 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20845 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20847 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20849 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20850 (CFLAGS-nldbl-acos.c): New variable.
20851 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20852 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20853 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20854 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20855 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20856 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20857 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20858 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20859 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20860 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20861 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20862 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20863 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20864 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20865 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20866 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20867 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20868 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20869 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20870 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20871 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20872 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20873 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20874 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20875 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20876 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20877 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20878 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20879 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20880 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20881 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20882 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20883 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20884 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20885 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20886 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20887 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20888 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20889 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20890 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20891 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20892 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20893 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20894 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20895 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20896 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20897 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20898 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20899 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20900 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20901 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20902 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20903 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20904 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20905 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20906 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20907 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20908 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20909 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20910 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20911 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20912 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20913 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20914 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20915 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20916 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20917 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20918 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20919 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20920 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20921 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20922 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20923 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20924 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20925 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20926 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20927 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20928 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20929 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20930 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20931 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20932 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20933 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20934 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20935 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20936 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20937 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20938 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20939 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20940 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20941 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20942 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20943 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20944 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20945 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20946 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20947 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20950 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20953 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20954 whole low double instead of just low 47 bits when splitting values
20957 2012-12-03 Allan McRae <allan@archlinux.org>
20959 * manual/stdio.texi (Predefined Printf Handlers): Remove
20960 @hsep and @vsep usage.
20962 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20964 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20965 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20967 2012-12-03 Jeff Law <law@redhat.com>
20969 * time/sys/time.h (settimeofday): Do not mark TV argument
20972 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20974 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20975 when currently writing and seek to current position when not.
20976 * libio/Makefile (tests): Remove bug-fclose1.
20977 * libio/bug-fclose1.c: Delete.
20979 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20981 * manual/arith.texi (feenableexcept): Fix typo.
20982 (fedisableexcept): Likewise.
20984 2012-11-30 Roland McGrath <roland@hack.frob.com>
20986 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20987 second, differently-typed declaration, rather than a cast.
20989 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20991 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20992 * include/rpc/svc.h: ... here.
20994 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20997 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20998 depending n and resplen2 to catch cases where answer
21001 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21003 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21004 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21006 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21008 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21010 2012-11-29 Roland McGrath <roland@hack.frob.com>
21012 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21014 2012-11-28 Jeff Law <law@redhat.com>
21017 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21018 dataset_temporary. Track alloca usage into alloca_used.
21019 If dataset is large allocate and release it via malloc/free.
21021 2012-06-04 Florian Weimer <fweimer@redhat.com>
21024 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21026 2012-11-28 David S. Miller <davem@davemloft.net>
21028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21030 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21033 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21034 of pi/2 rounded to nearest to 64 bits.
21035 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21036 nearest to 64 bits.
21037 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21040 2012-11-28 Jeff Law <law@redhat.com>
21041 Martin Osvald <mosvald@redhat.com>
21044 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21045 * sunrpc/svc.c: Include time.h.
21046 (__svc_accept_failed): New function.
21047 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21048 any reason other than EINTR, call __svc_accept_failed.
21049 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21050 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21052 2012-11-28 Andreas Schwab <schwab@suse.de>
21054 * scripts/abilist.awk: Also handle indirect functions in .opd
21057 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21060 * sysdeps/x86/fpu/powl_helper.c: New file.
21061 * sysdeps/x86/fpu/Makefile: Likewise.
21062 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21064 (__ieee754_powl): Use __powl_helper for finite arguments except
21065 integer exponents below 8.
21066 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21068 (__ieee754_powl): Use __powl_helper for finite arguments except
21069 integer exponents below 8.
21070 * math/libm-test.inc (pow_test): Add more tests and enable some
21071 previously disabled tests.
21072 * sysdeps/i386/fpu/libm-test-ulps: Update.
21073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21075 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21076 Carlos O'Donell <carlos_odonell@mentor.com>
21078 * nss/makedb.c (is_prime): Assert that input is odd and greater
21079 than 4. Note that fact in a comment too.
21080 (next_prime): Add 4 to input.
21082 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21085 * libio/Makefile (tests): Add test case tst-fwrite-error.
21086 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21087 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21088 * libio/tst-fwrite-error.c: New test case.
21090 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21092 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21093 before casting to void *.
21094 * include/libc-internal.h (__pointer_type): New macro.
21095 (__integer_if_pointer_type_sub): Likewise.
21096 (__integer_if_pointer_type): Likewise.
21097 (cast_to_integer): Likewise.
21098 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21099 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21100 before casting to atomic64_t.
21101 (atomic_exchange_acq): Likewise.
21102 (__arch_exchange_and_add_body): Likewise.
21103 (__arch_add_body): Likewise.
21104 (atomic_add_negative): Likewise.
21105 (atomic_add_zero): Likewise.
21107 2012-11-26 Joseph Myers <joseph@codesourcery.com>
21109 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21110 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21111 (add_fdes): Likewise.
21112 (linear_search_fdes): Likewise.
21113 (binary_search_unencoded_fdes): Likewise.
21115 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21117 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21119 2012-11-24 Adam Conrad <adconrad@0c3.net>
21121 * configure.in: Autodetect C++ header directories.
21122 * configure: Regenerated.
21124 2012-11-23 Mike Frysinger <vapier@gentoo.org>
21126 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21128 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21132 2012-11-22 Joseph Myers <joseph@codesourcery.com>
21134 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21135 LDBL_MANT_DIG == 106]: Disable some tests.
21136 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21138 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21142 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21143 input for small inputs. Return +/- pi/2 for large inputs.
21144 * math/libm-test.inc (atan_test): Add more tests.
21146 * sysdeps/generic/unwind-dw2-fde-glibc.c
21147 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21148 __attribute__ ((unused)).
21151 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21152 x * y if x and y are nonzero and z is zero.
21155 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21156 nonzero exponents with absolute value below 0x1p-117 to +/-
21160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21161 up arguments below 2**-450, not just those below 2**-500.
21162 * math/libm-test.inc (hypot_test): Add another test.
21165 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21166 Return a+b for ratio over 2**120, not 2**60.
21167 * math/libm-test.inc (hypot_test): Add another test.
21169 * math/libm-test.inc (clog_test): Use
21170 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21171 (clog10_test): Likewise.
21174 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21176 2012-11-22 Andreas Schwab <schwab@suse.de>
21178 * sysdeps/i386/fpu/libm-test-ulps: Update.
21180 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21182 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21183 printf output with newline.
21185 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21188 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21189 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21190 -z nodlopen, -z initfirst and -z execstack support.
21191 * configure: Regenerated.
21193 * elf/elf.h (DF_1_NODIRECT): New macro.
21194 (DF_1_IGNMULDEF): Likewise.
21195 (DF_1_NOKSYMS): Likewise.
21196 (DF_1_NOHDR): Likewise.
21197 (DF_1_EDITED): Likewise.
21198 (DF_1_NORELOC): Likewise.
21199 (DF_1_SYMINTPOSE): Likewise.
21200 (DF_1_GLOBAUDIT): Likewise.
21201 (DF_1_SINGLETON): Likewise.
21202 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21203 DT_1_SUPPORTED_MASK bits.
21204 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21206 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21208 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21210 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21212 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21215 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21216 (sendmmsg): Move declarations...
21217 * socket/sys/socket.h: ... here.
21218 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21219 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21221 * socket/recvmmsg.c: ... this new file.
21222 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21223 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21224 definition of __sendmmsg hidden.
21225 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21226 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21227 Move ENOSYS stub into and include it from...
21228 * socket/sendmmsg.c: ... this new file.
21229 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21230 (sysdep_routines): Move recvmmsg and sendmmsg...
21231 * socket/Makefile (routines): ... here.
21232 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21233 (GLIBC_PRIVATE): Add __sendmmsg.
21234 * include/sys/socket.h (__sendmmsg): Add declarations.
21235 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21238 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21240 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21241 variable I1 with __attribute__ ((unused)).
21242 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21244 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21246 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21247 DUMMY variables with __attribute__ ((unused)).
21249 * bits/byteswap.h: Include <bits/types.h>.
21250 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21252 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21254 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21255 string_t. Do not manually set errno.
21256 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21257 length with __strnlen. Make sure to both set errno and return it on
21260 2012-11-19 David S. Miller <davem@davemloft.net>
21262 With help from Joseph Myers.
21263 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21264 very large arguments properly.
21265 * math/libm-test.inc (atan_test): New tests.
21266 (atan2_test): New tests.
21267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21270 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21273 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21276 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21277 [POSIX] (EADDRNOTAVAIL): Likewise.
21278 [POSIX] (EAFNOSUPPORT): Likewise.
21279 [POSIX] (EALREADY): Likewise.
21280 [POSIX] (ECONNABORTED): Likewise.
21281 [POSIX] (ECONNREFUSED): Likewise.
21282 [POSIX] (ECONNRESET): Likewise.
21283 [POSIX] (EDESTADDRREQ): Likewise.
21284 [POSIX] (EDQUOT): Likewise.
21285 [POSIX] (EHOSTUNREACH): Likewise.
21286 [POSIX] (EIDRM): Likewise.
21287 [POSIX] (EISCONN): Likewise.
21288 [POSIX] (ELOOP): Likewise.
21289 [POSIX] (EMULTIHOP): Likewise.
21290 [POSIX] (ENETDOWN): Likewise.
21291 [POSIX] (ENETUNREACH): Likewise.
21292 [POSIX] (ENOBUFS): Likewise.
21293 [POSIX] (ENODATA): Likewise.
21294 [POSIX] (ENOLINK): Likewise.
21295 [POSIX] (ENOMSG): Likewise.
21296 [POSIX] (ENOPROTOOPT): Likewise.
21297 [POSIX] (ENOSR): Likewise.
21298 [POSIX] (ENOSTR): Likewise.
21299 [POSIX] (ENOTCONN): Likewise.
21300 [POSIX] (ENOTSOCK): Likewise.
21301 [POSIX] (EOPNOTSUPP): Likewise.
21302 [POSIX] (EOVERFLOW): Likewise.
21303 [POSIX] (EPROTO): Likewise.
21304 [POSIX] (EPROTONOSUPPORT): Likewise.
21305 [POSIX] (EPROTOTYPE): Likewise.
21306 [POSIX] (ESTALE): Likewise.
21307 [POSIX] (ETIME): Likewise.
21308 [POSIX] (ETXTBSY): Likewise.
21309 [POSIX] (EWOULDBLOCK): Likewise.
21310 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21311 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21312 [POSIX] (SEEK_CUR): Likewise.
21313 [POSIX] (SEEK_END): Likewise.
21314 [POSIX || UNIX98] (mode_t): Do not require.
21315 [POSIX] (off_t): Likewise.
21316 [POSIX] (pid_t): Likewise.
21317 [POSIX] (sys/stat.h): Do not allow header.
21318 [POSIX] (unistd.h): Likewise.
21319 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21320 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21321 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21322 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21324 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21325 sigevent): Specify elements.
21326 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21328 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21329 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21331 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21332 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21333 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21334 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21335 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21336 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21337 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21338 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21339 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21340 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21341 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21342 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21343 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21344 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21346 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21348 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21350 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21352 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21353 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21354 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21355 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21356 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21357 Specify lower bound on value.
21358 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21359 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21360 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21361 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21362 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21363 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21364 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21365 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21367 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21369 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21370 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21371 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21372 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21373 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21374 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21375 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21376 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21377 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21378 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21379 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21380 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21381 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21382 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21383 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21384 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21386 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21388 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21389 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21390 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21391 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21392 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21393 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21395 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21396 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21397 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21398 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21399 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21400 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21401 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21403 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21404 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21405 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21406 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21407 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21408 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21409 specify as optional.
21410 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21411 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21412 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21413 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21414 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21415 [XPG3] (NL_LANGMAX): Likewise.
21416 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21417 [POSIX || XPG3] (NL_NMAX): Likewise.
21418 [POSIX || XPG3] (NL_SETMAX): Likewise.
21419 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21420 [XPG3] (NZERO): Likewise.
21421 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21422 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21423 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21424 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21425 (REG_ERANGE): Expect.
21426 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21428 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21429 Use (void) in prototype.
21430 [POSIX] (*_t): Allow.
21431 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21432 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21433 (WRDE_BADVAL): Expect.
21435 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21437 [XPG3 || XPG4] (O_RSYNC): Likewise.
21438 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21440 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21441 [XPG3 || XPG4] (sigqueue): Likewise.
21442 [XPG3 || XPG4] (sigtimedwait): Likewise.
21443 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21444 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21445 [XPG3 || XPG4] (vsnprintf): Likewise.
21446 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21448 [XPG3 || XPG4] (blksize_t): Likewise.
21449 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21451 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21452 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21453 [XPG3 || XPG4] (struct itimerspec): Likewise.
21454 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21455 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21456 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21457 [XPG3 || XPG4] (clockid_t): Likewise.
21458 [XPG3 || XPG4] (timer_t): Likewise.
21459 [XPG3 || XPG4] (clock_getres): Likewise.
21460 [XPG3 || XPG4] (clock_gettime): Likewise.
21461 [XPG3 || XPG4] (clock_settime): Likewise.
21462 [XPG3 || XPG4] (nanosleep): Likewise.
21463 [XPG3 || XPG4] (timer_create): Likewise.
21464 [XPG3 || XPG4] (timer_delete): Likewise.
21465 [XPG3 || XPG4] (timer_gettime): Likewise.
21466 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21467 [XPG3 || XPG4] (timer_settime): Likewise.
21468 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21469 [XPG3 || XPG4] (getlogin_r): Likewise.
21470 [XPG3 || XPG4] (pread): Likewise.
21471 [XPG3 || XPG4] (pthread_atfork): Likewise.
21472 [XPG3 || XPG4] (pwrite): Likewise.
21475 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21478 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21480 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21481 finalizing MALLSTREAM.
21483 * sysdeps/mach/hurd/syncfs.c: New file.
21485 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21488 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21489 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21490 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21491 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21492 (_nss_dns_gethostbyname4_r): Likewise.
21493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21494 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21496 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21499 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21501 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21503 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21504 * elf/cache.c (print_entry): Print ",AArch64" for
21507 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21508 * elf/cache.c (print_entry): Print ",hard-float" for
21511 2012-11-18 David S. Miller <davem@davemloft.net>
21513 With help from Joseph Myers.
21514 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21516 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21518 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21519 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21521 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21522 * math/libm-test.inc (y0_test): New tests.
21523 (y1_test): New tests.
21524 * sysdeps/i386/fpu/libm-test-ulps: Update.
21525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21528 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21530 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21532 * configure: Regenerated.
21534 2012-11-17 David S. Miller <davem@davemloft.net>
21537 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21538 nonzero exponents with absolute value below 0x1p-128 to +/-
21541 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21543 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21545 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21547 * posix/getconf-speclist.c: New file.
21548 * posix/posix-envs.def: Likewise.
21549 * posix/confstr.c (START_ENV_GROUP): New macro.
21550 (END_ENV_GROUP): Likewise.
21551 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21552 (KNOWN_PRESENT_ENV_STRING): Likewise.
21553 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21554 (UNKNOWN_ENVIRONMENT): Likewise.
21555 (confstr): Include posix-envs.def instead of handling
21556 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21557 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21558 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21559 (END_ENV_GROUP): Likewise.
21560 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21561 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21562 (UNKNOWN_ENVIRONMENT): Likewise.
21563 (__sysconf): Include posix-envs.def instead of handling associated
21564 cases directly here.
21565 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21566 preprocessing getconf-speclist.c rather than running getconf or
21567 generating empty file.
21569 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21571 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21573 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21576 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21578 2012-11-16 David S. Miller <davem@davemloft.net>
21580 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21581 smaller than LDBL_EPSILON/2.0L, just return xm1.
21583 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21585 * elf/tst-array1.c (init): Set constructor priority to 1000.
21586 (fini): Set destructor priority to 1000.
21587 * elf/tst-array2dep.c: Likewise.
21589 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21592 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21593 (_IO_new_file_xsputn): Also return EOF if none of the input
21594 data was written when overflow failed.
21595 * libio/iopadn.c (_IO_padn): Likewise.
21596 * libio/iowpadn.c (_IO_wpadn): Likewise.
21597 * stdio-common/tst-put-error.c: Add copyright notice.
21598 (do_test): Add case for printing padded string.
21599 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21600 _IO_padn returned error.
21601 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21602 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21605 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21607 * libio/libioP.h: Add comment note that the references to C++
21608 bits are now obsolete.
21610 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21612 * math/libm-test.inc (check_complex): Use asprintf.
21614 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21616 * debug/pcprofiledump.c (print_version): Update copyright year.
21617 * malloc/memusagestat.c (print_version): Likewise.
21619 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21622 * elf/Makefile (tests): Add tst-audit8.
21623 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21624 ($(objpfx)tst-audit8.out): New target.
21625 (tst-audit8-ENV): New variable.
21626 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21627 audit if l_reloc_result is NULL.
21628 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21629 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21630 * elf/tst-audit8.c: New file.
21632 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21634 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21635 * misc/Makefile (CFLAGS-select.c): Define.
21636 * posix/Makefile (CFLAGS-pause.c): Define.
21638 2012-11-13 David S. Miller <davem@davemloft.net>
21640 * crypt/Makefile: Move test targets after toplevel Rules
21641 inclusion. Grab any necessary sysdep routines when linking.
21642 * crypt/md5.c (md5_process_block): Remove define, we will always
21643 name it __md5_process_block.
21644 (md5_finish_ctx): Update md5_process_block call.
21645 (md5_stream): Likewise.
21646 (md5_process_bytes): Likewise.
21647 (md5_process_block): Rename to __md5_process_block and move to ...
21648 * crypt/md5-block.c: ... here.
21649 * crypt/sha256.c (sha256_process_block): Move to ...
21650 * crypt/sha256-block.c: ... here.
21651 * crypt/sha512.c (sha512_process_block): Move to ...
21652 * crypt/sha512-block.c: ... here.
21653 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21655 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21656 * sysdeps/sparc/sparc64/multiarch/Makefile
21657 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21659 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21660 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21662 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21663 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21664 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21665 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21666 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21667 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21668 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21669 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21670 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21672 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21673 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21675 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21677 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21679 * timezone/tzselect.ksh: Update from tzcode git revision
21680 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21681 * timezone/zdump.c: Likewise.
21682 * timezone/zic.c: Likewise.
21683 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21684 in TZVERSION setting, not $(PKGVERSION).
21685 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21686 REPORT_BUGS_TO settings.
21689 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21692 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21694 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21695 detection to immediately after _FP_ROUND().
21696 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21699 2012-11-11 David S. Miller <davem@davemloft.net>
21701 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21703 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21704 __close rather than their public counterparts.
21706 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21708 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21710 [UNIX98] (sem_timedwait): Do not expect.
21711 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21712 [XPG4 || UNIX98] (sockatmark): Do not expect.
21713 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21714 (clock_getcpuclockid): Do not expect.
21715 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21716 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21718 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21719 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21720 [UNIX98] (vwscanf): Likewise.
21721 [UNIX98] (vswscanf): Likewise.
21723 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21725 * timezone/version.h: Remove file.
21726 * timezone/README: Do not refer to version.h.
21727 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21728 $(objpfx)version.h.
21729 ($(objpfx)zdump.o): Likewise.
21730 ($(objpfx)version.h): New target.
21732 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21734 * timezone/README: Don't mention modification to tzselect.ksh.
21735 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21736 work on unmodified tzselect.ksh. Substitute version numbers in
21739 * Makefile (format-me): Remove.
21740 (INSTALL): Adjust indentation. Use commands directly instead of
21741 using $(format-me).
21743 * aclocal.m4 (ACX_PKGVERSION): New macro.
21744 (ACX_BUGURL): Likewise.
21745 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21746 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21747 (REPORT_BUGS_TO): Likewise.
21748 * configure: Regenerated.
21749 * config.h.in (PKGVERSION): New macro.
21750 (REPORT_BUGS_TO): Likewise.
21751 * config.make.in (PKGVERSION): New variable.
21752 (PKGVERSION_TEXI): Likewise.
21753 (REPORT_BUGS_TO): Likewise.
21754 (REPORT_BUGS_TEXI): Likewise.
21755 * Makefile (format-me): Use -I$(common-objpfx)manual.
21756 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21757 ($(common-objpfx)manual/%): New target.
21758 (manual/%): Remove target.
21759 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21760 (print_version): Use PKGVERSION.
21761 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21762 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21763 and REPORT_BUGS_TO.
21764 ($(objpfx)xtrace): Likewise.
21765 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21766 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21767 (print_version): Use PKGVERSION.
21768 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21769 (do_version): Use PKGVERSION.
21770 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21772 (common-ldd-rewrite): Likewise.
21773 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21774 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21775 (print_version): Use PKGVERSION.
21776 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21777 * elf/pldd.c (argp_program_bug_address): Remove variable.
21778 (more_help): New function.
21779 (argp): Use more_help.
21780 (print_version): Use PKGVERSION.
21781 * elf/sln.c (main): Use PKGVERSION.
21782 (usage): Use REPORT_BUGS_TO.
21783 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21784 (top level): Use PKGVERSION.
21785 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21786 (print_version): Use PKGVERSION.
21787 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21788 (print_version): Use PKGVERSION.
21789 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21790 (print_version): Use PKGVERSION.
21791 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21792 (print_version): Use PKGVERSION.
21793 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21794 (print_version): Use PKGVERSION.
21795 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21796 (print_version): Use PKGVERSION.
21797 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21799 ($(objpfx)memusage): Likewise.
21800 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21801 (do_version): Use PKGVERSION.
21802 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21803 (print_version): Use PKGVERSION.
21804 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21805 ($PKGVERSION): New variable.
21806 ($REPORT_BUGS_TO): Likewise.
21807 (usage): Use $REPORT_BUGS_TO.
21808 (top level): Use $PKGVERSION.
21809 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21810 ($(objpfx)pkgvers.texi): New rule.
21811 ($(objpfx)stamp-pkgvers): Likewise.
21812 * manual/install.texi: Include pkgvers.texi.
21813 (--with-pkgversion): Document new configure option.
21814 (--with-bugurl): Likewise.
21815 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21816 than necessarily for this particular distribution. Use
21817 REPORT_BUGS_TO for where to report bugs.
21818 * INSTALL: Regenerated.
21819 * manual/libc.texinfo: Include pkgvers.texi.
21820 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21821 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21822 (print_version): Use PKGVERSION.
21823 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21824 (print_version): Use PKGVERSION.
21825 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21826 (print_version): Use PKGVERSION.
21827 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21828 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21830 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21831 (print_version): Use PKGVERSION.
21832 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21833 (print_version): Use PKGVERSION.
21834 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21837 * timezone/checktab.awk: Update from tzcode 2012i.
21838 * timezone/ialloc.c: Likewise.
21839 * timezone/private.h: Likewise.
21840 * timezone/scheck.c: Likewise.
21841 * timezone/tzfile.h: Likewise.
21842 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21843 (TZVERSION): Hardcode tzcode version number.
21844 * timezone/zdump.c: Update from tzcode 2012i.
21845 * timezone/zic.c: Likewise.
21846 * timezone/version.h: New file.
21847 * timezone/README: Describe version.h. Update upstream location.
21850 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21851 (mktemp): Enable declaration.
21852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21853 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21854 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21855 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21857 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21859 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21861 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21863 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21865 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21869 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21870 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21871 for copies of such integer values.
21872 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21873 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21875 2012-11-09 Andreas Jaeger <aj@suse.de>
21877 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21878 definitions and declarations that are provided by
21879 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21881 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21883 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21884 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21885 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21888 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21890 * elf/elf.h: Update comment before AArch64 relocations.
21892 2012-11-07 David S. Miller <davem@davemloft.net>
21894 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21895 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21896 (__start_context): Declare.
21897 (__makecontext_ret): Delete.
21898 (__makecontext): Hook up __start_context instead of
21900 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21901 (sysdep_routines): Add __start_context when in stdlib.
21903 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21905 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21906 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21907 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21909 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21910 (READELF): New variable. Use it instead of hardcoded "readelf".
21912 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21914 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21915 * sysdeps/x86/Makefile: Here.
21916 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21917 * sysdeps/x86/tst-xmmymm.sh: This.
21919 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21921 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21923 [UNIX98] (pthread_barrier_t): Do not expect.
21924 [UNIX98] (pthread_barrierattr_t): Likewise.
21925 [UNIX98] (pthread_spinlock_t): Likewise.
21926 [UNIX98] (pthread_barrier_destroy): Likewise.
21927 [UNIX98] (pthread_barrier_init): Likewise.
21928 [UNIX98] (pthread_barrier_wait): Likewise.
21929 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21930 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21931 [UNIX98] (pthread_barrierattr_init): Likewise.
21932 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21933 [UNIX98] (pthread_getcpuclockid): Likewise.
21934 [UNIX98] (pthread_mutex_timedlock): Likewise.
21935 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21936 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21937 [UNIX98] (pthread_sigmask): Likewise.
21938 [UNIX98] (pthread_spin_destroy): Likewise.
21939 [UNIX98] (pthread_spin_init): Likewise.
21940 [UNIX98] (pthread_spin_lock): Likewise.
21941 [UNIX98] (pthread_spin_trylock): Likewise.
21942 [UNIX98] (pthread_spin_unlock): Likewise.
21943 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21945 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21946 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21947 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21948 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21949 [XPG3 || XPG4] (pthread_key_t): Likewise.
21950 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21951 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21952 [XPG3 || XPG4] (pthread_once_t): Likewise.
21953 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21954 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21955 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21956 [XPG3 || XPG4] (pthread_t): Likewise.
21958 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21960 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21962 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21963 Change function return type to int.
21965 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21966 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21967 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21968 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21969 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21970 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21971 [!POSIX] (posix_madvise): Likewise.
21972 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21974 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21975 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21976 (mode_t): Likewise.
21977 (posix_mem_offset): Likewise.
21978 (posix_typed_mem_get_info): Likewise.
21979 (posix_typed_mem_open): Likewise.
21981 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21982 Change condition to [XOPEN2K8].
21984 * conform/conformtest.pl: Preprocess allow-header data with -x c
21985 instead of from stdin.
21986 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21987 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21988 [C99-based standards] (cerfc): Likewise.
21989 [C99-based standards] (cexp2): Likewise.
21990 [C99-based standards] (cexpm1): Likewise.
21991 [C99-based standards] (clog10): Likewise.
21992 [C99-based standards] (clog1p): Likewise.
21993 [C99-based standards] (clog2): Likewise.
21994 [C99-based standards] (clgamma): Likewise.
21995 [C99-based standards] (ctgamma): Likewise.
21996 [C99-based standards] (cerff): Likewise.
21997 [C99-based standards] (cerfcf): Likewise.
21998 [C99-based standards] (cexp2f): Likewise.
21999 [C99-based standards] (cexpm1f): Likewise.
22000 [C99-based standards] (clog10f): Likewise.
22001 [C99-based standards] (clog1pf): Likewise.
22002 [C99-based standards] (clog2f): Likewise.
22003 [C99-based standards] (clgammaf): Likewise.
22004 [C99-based standards] (ctgammaf): Likewise.
22005 [C99-based standards] (cerfl): Likewise.
22006 [C99-based standards] (cerfcl): Likewise.
22007 [C99-based standards] (cexp2l): Likewise.
22008 [C99-based standards] (cexpm1l): Likewise.
22009 [C99-based standards] (clog10l): Likewise.
22010 [C99-based standards] (clog1pl): Likewise.
22011 [C99-based standards] (clog2l): Likewise.
22012 [C99-based standards] (clgammal): Likewise.
22013 [C99-based standards] (ctgammal): Likewise.
22014 * conform/data/inttypes.h-data [C99-based standards]: Include
22015 stdint.h-data. Remove all expectations for stdint.h contents.
22016 [C99-based standards] (PRI*): Do not allow.
22017 [C99-based standards] (SCN*): Likewise.
22018 [C99-based standards] (*_t): Likewise.
22019 [C99-based-standards] (PRId8): Expect macro.
22020 [C99-based-standards] (PRIi8): Likewise.
22021 [C99-based-standards] (PRIo8): Likewise.
22022 [C99-based-standards] (PRIu8): Likewise.
22023 [C99-based-standards] (PRIx8): Likewise.
22024 [C99-based-standards] (PRIX8): Likewise.
22025 [C99-based-standards] (SCNd8): Likewise.
22026 [C99-based-standards] (SCNi8): Likewise.
22027 [C99-based-standards] (SCNo8): Likewise.
22028 [C99-based-standards] (SCNu8): Likewise.
22029 [C99-based-standards] (SCNx8): Likewise.
22030 [C99-based-standards] (PRIdLEAST8): Likewise.
22031 [C99-based-standards] (PRIiLEAST8): Likewise.
22032 [C99-based-standards] (PRIoLEAST8): Likewise.
22033 [C99-based-standards] (PRIuLEAST8): Likewise.
22034 [C99-based-standards] (PRIxLEAST8): Likewise.
22035 [C99-based-standards] (PRIXLEAST8): Likewise.
22036 [C99-based-standards] (SCNdLEAST8): Likewise.
22037 [C99-based-standards] (SCNiLEAST8): Likewise.
22038 [C99-based-standards] (SCNoLEAST8): Likewise.
22039 [C99-based-standards] (SCNuLEAST8): Likewise.
22040 [C99-based-standards] (SCNxLEAST8): Likewise.
22041 [C99-based-standards] (PRIdFAST8): Likewise.
22042 [C99-based-standards] (PRIiFAST8): Likewise.
22043 [C99-based-standards] (PRIoFAST8): Likewise.
22044 [C99-based-standards] (PRIuFAST8): Likewise.
22045 [C99-based-standards] (PRIxFAST8): Likewise.
22046 [C99-based-standards] (PRIXFAST8): Likewise.
22047 [C99-based-standards] (SCNdFAST8): Likewise.
22048 [C99-based-standards] (SCNiFAST8): Likewise.
22049 [C99-based-standards] (SCNoFAST8): Likewise.
22050 [C99-based-standards] (SCNuFAST8): Likewise.
22051 [C99-based-standards] (SCNxFAST8): Likewise.
22052 [C99-based-standards] (PRId16): Likewise.
22053 [C99-based-standards] (PRIi16): Likewise.
22054 [C99-based-standards] (PRIo16): Likewise.
22055 [C99-based-standards] (PRIu16): Likewise.
22056 [C99-based-standards] (PRIx16): Likewise.
22057 [C99-based-standards] (PRIX16): Likewise.
22058 [C99-based-standards] (SCNd16): Likewise.
22059 [C99-based-standards] (SCNi16): Likewise.
22060 [C99-based-standards] (SCNo16): Likewise.
22061 [C99-based-standards] (SCNu16): Likewise.
22062 [C99-based-standards] (SCNx16): Likewise.
22063 [C99-based-standards] (PRIdLEAST16): Likewise.
22064 [C99-based-standards] (PRIiLEAST16): Likewise.
22065 [C99-based-standards] (PRIoLEAST16): Likewise.
22066 [C99-based-standards] (PRIuLEAST16): Likewise.
22067 [C99-based-standards] (PRIxLEAST16): Likewise.
22068 [C99-based-standards] (PRIXLEAST16): Likewise.
22069 [C99-based-standards] (SCNdLEAST16): Likewise.
22070 [C99-based-standards] (SCNiLEAST16): Likewise.
22071 [C99-based-standards] (SCNoLEAST16): Likewise.
22072 [C99-based-standards] (SCNuLEAST16): Likewise.
22073 [C99-based-standards] (SCNxLEAST16): Likewise.
22074 [C99-based-standards] (PRIdFAST16): Likewise.
22075 [C99-based-standards] (PRIiFAST16): Likewise.
22076 [C99-based-standards] (PRIoFAST16): Likewise.
22077 [C99-based-standards] (PRIuFAST16): Likewise.
22078 [C99-based-standards] (PRIxFAST16): Likewise.
22079 [C99-based-standards] (PRIXFAST16): Likewise.
22080 [C99-based-standards] (SCNdFAST16): Likewise.
22081 [C99-based-standards] (SCNiFAST16): Likewise.
22082 [C99-based-standards] (SCNoFAST16): Likewise.
22083 [C99-based-standards] (SCNuFAST16): Likewise.
22084 [C99-based-standards] (SCNxFAST16): Likewise.
22085 [C99-based-standards] (PRId32): Likewise.
22086 [C99-based-standards] (PRIi32): Likewise.
22087 [C99-based-standards] (PRIo32): Likewise.
22088 [C99-based-standards] (PRIu32): Likewise.
22089 [C99-based-standards] (PRIx32): Likewise.
22090 [C99-based-standards] (PRIX32): Likewise.
22091 [C99-based-standards] (SCNd32): Likewise.
22092 [C99-based-standards] (SCNi32): Likewise.
22093 [C99-based-standards] (SCNo32): Likewise.
22094 [C99-based-standards] (SCNu32): Likewise.
22095 [C99-based-standards] (SCNx32): Likewise.
22096 [C99-based-standards] (PRIdLEAST32): Likewise.
22097 [C99-based-standards] (PRIiLEAST32): Likewise.
22098 [C99-based-standards] (PRIoLEAST32): Likewise.
22099 [C99-based-standards] (PRIuLEAST32): Likewise.
22100 [C99-based-standards] (PRIxLEAST32): Likewise.
22101 [C99-based-standards] (PRIXLEAST32): Likewise.
22102 [C99-based-standards] (SCNdLEAST32): Likewise.
22103 [C99-based-standards] (SCNiLEAST32): Likewise.
22104 [C99-based-standards] (SCNoLEAST32): Likewise.
22105 [C99-based-standards] (SCNuLEAST32): Likewise.
22106 [C99-based-standards] (SCNxLEAST32): Likewise.
22107 [C99-based-standards] (PRIdFAST32): Likewise.
22108 [C99-based-standards] (PRIiFAST32): Likewise.
22109 [C99-based-standards] (PRIoFAST32): Likewise.
22110 [C99-based-standards] (PRIuFAST32): Likewise.
22111 [C99-based-standards] (PRIxFAST32): Likewise.
22112 [C99-based-standards] (PRIXFAST32): Likewise.
22113 [C99-based-standards] (SCNdFAST32): Likewise.
22114 [C99-based-standards] (SCNiFAST32): Likewise.
22115 [C99-based-standards] (SCNoFAST32): Likewise.
22116 [C99-based-standards] (SCNuFAST32): Likewise.
22117 [C99-based-standards] (SCNxFAST32): Likewise.
22118 [C99-based-standards] (PRId64): Likewise.
22119 [C99-based-standards] (PRIi64): Likewise.
22120 [C99-based-standards] (PRIo64): Likewise.
22121 [C99-based-standards] (PRIu64): Likewise.
22122 [C99-based-standards] (PRIx64): Likewise.
22123 [C99-based-standards] (PRIX64): Likewise.
22124 [C99-based-standards] (SCNd64): Likewise.
22125 [C99-based-standards] (SCNi64): Likewise.
22126 [C99-based-standards] (SCNo64): Likewise.
22127 [C99-based-standards] (SCNu64): Likewise.
22128 [C99-based-standards] (SCNx64): Likewise.
22129 [C99-based-standards] (PRIdLEAST64): Likewise.
22130 [C99-based-standards] (PRIiLEAST64): Likewise.
22131 [C99-based-standards] (PRIoLEAST64): Likewise.
22132 [C99-based-standards] (PRIuLEAST64): Likewise.
22133 [C99-based-standards] (PRIxLEAST64): Likewise.
22134 [C99-based-standards] (PRIXLEAST64): Likewise.
22135 [C99-based-standards] (SCNdLEAST64): Likewise.
22136 [C99-based-standards] (SCNiLEAST64): Likewise.
22137 [C99-based-standards] (SCNoLEAST64): Likewise.
22138 [C99-based-standards] (SCNuLEAST64): Likewise.
22139 [C99-based-standards] (SCNxLEAST64): Likewise.
22140 [C99-based-standards] (PRIdFAST64): Likewise.
22141 [C99-based-standards] (PRIiFAST64): Likewise.
22142 [C99-based-standards] (PRIoFAST64): Likewise.
22143 [C99-based-standards] (PRIuFAST64): Likewise.
22144 [C99-based-standards] (PRIxFAST64): Likewise.
22145 [C99-based-standards] (PRIXFAST64): Likewise.
22146 [C99-based-standards] (SCNdFAST64): Likewise.
22147 [C99-based-standards] (SCNiFAST64): Likewise.
22148 [C99-based-standards] (SCNoFAST64): Likewise.
22149 [C99-based-standards] (SCNuFAST64): Likewise.
22150 [C99-based-standards] (SCNxFAST64): Likewise.
22151 [C99-based-standards] (PRIdMAX): Likewise.
22152 [C99-based-standards] (PRIiMAX): Likewise.
22153 [C99-based-standards] (PRIoMAX): Likewise.
22154 [C99-based-standards] (PRIuMAX): Likewise.
22155 [C99-based-standards] (PRIxMAX): Likewise.
22156 [C99-based-standards] (PRIXMAX): Likewise.
22157 [C99-based-standards] (SCNdMAX): Likewise.
22158 [C99-based-standards] (SCNiMAX): Likewise.
22159 [C99-based-standards] (SCNoMAX): Likewise.
22160 [C99-based-standards] (SCNuMAX): Likewise.
22161 [C99-based-standards] (SCNxMAX): Likewise.
22162 [C99-based-standards] (PRIdPTR): Likewise.
22163 [C99-based-standards] (PRIiPTR): Likewise.
22164 [C99-based-standards] (PRIoPTR): Likewise.
22165 [C99-based-standards] (PRIuPTR): Likewise.
22166 [C99-based-standards] (PRIxPTR): Likewise.
22167 [C99-based-standards] (PRIXPTR): Likewise.
22168 [C99-based-standards] (SCNdPTR): Likewise.
22169 [C99-based-standards] (SCNiPTR): Likewise.
22170 [C99-based-standards] (SCNoPTR): Likewise.
22171 [C99-based-standards] (SCNuPTR): Likewise.
22172 [C99-based-standards] (SCNxPTR): Likewise.
22173 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22175 * conform/data/stdint.h-data: Update comments to clarify
22177 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22179 [C99-based standards] (INT8_MAX): Likewise.
22180 [C99-based standards] (INT16_MIN): Likewise.
22181 [C99-based standards] (INT16_MAX): Likewise.
22182 [C99-based standards] (INT32_MIN): Likewise.
22183 [C99-based standards] (INT32_MAX): Likewise.
22184 [C99-based standards] (INT64_MIN): Likewise.
22185 [C99-based standards] (INT64_MAX): Likewise.
22186 [C99-based standards] (UINT8_MAX): Likewise.
22187 [C99-based standards] (UINT16_MAX): Likewise.
22188 [C99-based standards] (UINT32_MAX): Likewise.
22189 [C99-based standards] (UINT64_MAX): Likewise.
22190 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22191 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22192 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22193 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22194 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22195 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22196 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22197 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22198 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22199 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22200 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22201 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22202 [C99-based standards] (INT_FAST8_MIN): Likewise.
22203 [C99-based standards] (INT_FAST8_MAX): Likewise.
22204 [C99-based standards] (INT_FAST16_MIN): Likewise.
22205 [C99-based standards] (INT_FAST16_MAX): Likewise.
22206 [C99-based standards] (INT_FAST32_MIN): Likewise.
22207 [C99-based standards] (INT_FAST32_MAX): Likewise.
22208 [C99-based standards] (INT_FAST64_MIN): Likewise.
22209 [C99-based standards] (INT_FAST64_MAX): Likewise.
22210 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22211 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22212 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22213 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22214 [C99-based standards] (INTPTR_MIN): Likewise.
22215 [C99-based standards] (INTPTR_MAX): Likewise.
22216 [C99-based standards] (UINTPTR_MAX): Likewise.
22217 [C99-based standards] (INTMAX_MIN): Likewise.
22218 [C99-based standards] (INTMAX_MAX): Likewise.
22219 [C99-based standards] (UINTMAX_MAX): Likewise.
22220 [C99-based standards] (PTRDIFF_MIN): Likewise.
22221 [C99-based standards] (PTRDIFF_MAX): Likewise.
22222 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22223 [C99-based standards] (SIZE_MAX): Likewise.
22224 [C99-based standards] (WCHAR_MAX): Likewise.
22225 [C99-based standards] (WINT_MAX): Likewise.
22226 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22227 constraint on value.
22228 [C99-based standards] (WCHAR_MIN): Likewise.
22229 [C99-based standards] (WINT_MIN): Likewise.
22230 [C99-based standards] (*_t): Allow.
22231 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22232 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22233 Include math.h-data and complex.h-data. Remove all expectations
22234 of math.h and complex.h contents.
22235 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22237 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22238 (struct tm): Expect tag.
22239 [C99-based-standards] (wcstof): Expect function.
22240 [C99-based-standards] (wcstold): Likewise.
22241 [C99-based-standards] (wcstoll): Likewise.
22242 [C99-based-standards] (wcstoull): Likewise.
22243 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22244 macro-int-constant. Specify type.
22245 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22246 constraint on value.
22247 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22249 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22251 [ISO C standards]: Do not allow headers.
22252 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22253 wcs[abcdefghijklmnopqrstuvwxyz]*.
22254 [ISO C standards] (*_t): Do not allow.
22255 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22257 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22258 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22260 [ISO C standards]: Do not allow headers.
22261 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22262 is[abcdefghijklmnopqrstuvwxyz]*.
22263 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22264 to[abcdefghijklmnopqrstuvwxyz]*.
22265 [ISO C standards] (*_t): Do not allow.
22266 * conform/data/stdalign.h-data: New file.
22267 * conform/data/stdbool.h-data: Likewise.
22268 * conform/data/stdnoreturn.h-data: Likewise.
22270 2012-11-07 Roland McGrath <roland@hack.frob.com>
22273 * manual/filesys.texi (Directory Entries): Typo fix.
22274 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22276 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22278 * elf/elf.h (EM_AARCH64): New macro.
22279 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22280 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22281 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22282 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22283 (R_AARCH64_TLSDESC): Likewise.
22284 (NT_ARM_TLS): Likewise.
22285 (NT_ARM_HW_BREAK): Likewise.
22286 (NT_ARM_HW_WATCH): Likewise.
22288 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22291 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22292 (__ieee754_powl): Saturate nonzero exponents with absolute value
22293 below 0x1p-79 to +/- 0x1p-79.
22294 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22295 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22296 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22297 nonzero exponents with absolute value below 0x1p-32 to +/-
22299 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22300 (__ieee754_powl): Saturate nonzero exponents with absolute value
22301 below 0x1p-79 to +/- 0x1p-79.
22302 * math/libm-test.inc (pow_test): Add more tests.
22304 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22306 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22307 _dl_s390_cap_flags with kernel. Increase string length.
22308 (_dl_s390_platforms): Add z196 and zEC12.
22310 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22312 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22313 Change XOPEN21K to XOPEN2K.
22315 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22317 * string/memmove.c: Use memcpy when possible.
22319 2012-11-06 Andreas Jaeger <aj@suse.de>
22321 * po/eo.po: Update from translation team.
22323 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22327 exponent and small x and y exponents, scale x or y up. Increase
22328 by 2 the exponent used in scaling up.
22329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22331 * math/libm-test.inc (fma_test): Add more tests.
22332 (fma_test_towardzero): Likewise.
22333 (fma_test_downward): Likewise.
22334 (fma_test_upward): Likewise.
22336 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22339 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22343 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22344 namespace for names of struct fields.
22345 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22347 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22348 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22350 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22353 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22355 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22357 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22361 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22364 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22368 definitely overflow as x * y not x * y + z.
22369 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22370 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22371 * math/libm-test.inc (fma_test): Add more tests.
22372 (fma_test_towardzero): Likewise.
22373 (fma_test_downward): Likewise.
22374 (fma_test_upward): Likewise.
22376 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22380 * include/stub-tag.h: Remove file.
22381 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22383 * manual/maint.texi (Porting): Don't reference it.
22384 * Makerules ($(objpfx)stubs): Likewise.
22385 * dirent/closedir.c: Don't include <stub-tag.h>.
22386 * dirent/dirfd.c: Likewise.
22387 * dirent/fdopendir.c: Likewise.
22388 * dirent/getdents.c: Likewise.
22389 * dirent/getdents64.c: Likewise.
22390 * dirent/opendir.c: Likewise.
22391 * dirent/readdir.c: Likewise.
22392 * dirent/readdir64.c: Likewise.
22393 * dirent/readdir64_r.c: Likewise.
22394 * dirent/readdir_r.c: Likewise.
22395 * dirent/rewinddir.c: Likewise.
22396 * dirent/seekdir.c: Likewise.
22397 * dirent/telldir.c: Likewise.
22398 * gmon/profil.c: Likewise.
22399 * grp/setgroups.c: Likewise.
22400 * inet/if_index.c: Likewise.
22401 * io/access.c: Likewise.
22402 * io/chdir.c: Likewise.
22403 * io/chmod.c: Likewise.
22404 * io/chown.c: Likewise.
22405 * io/close.c: Likewise.
22406 * io/dup.c: Likewise.
22407 * io/dup2.c: Likewise.
22408 * io/dup3.c: Likewise.
22409 * io/euidaccess.c: Likewise.
22410 * io/faccessat.c: Likewise.
22411 * io/fchdir.c: Likewise.
22412 * io/fchmod.c: Likewise.
22413 * io/fchmodat.c: Likewise.
22414 * io/fchown.c: Likewise.
22415 * io/fchownat.c: Likewise.
22416 * io/fcntl.c: Likewise.
22417 * io/flock.c: Likewise.
22418 * io/fstatfs.c: Likewise.
22419 * io/fstatfs64.c: Likewise.
22420 * io/fstatvfs.c: Likewise.
22421 * io/fstatvfs64.c: Likewise.
22422 * io/futimens.c: Likewise.
22423 * io/fxstat.c: Likewise.
22424 * io/fxstat64.c: Likewise.
22425 * io/fxstatat.c: Likewise.
22426 * io/fxstatat64.c: Likewise.
22427 * io/getcwd.c: Likewise.
22428 * io/isatty.c: Likewise.
22429 * io/lchmod.c: Likewise.
22430 * io/lchown.c: Likewise.
22431 * io/link.c: Likewise.
22432 * io/linkat.c: Likewise.
22433 * io/lseek.c: Likewise.
22434 * io/lseek64.c: Likewise.
22435 * io/lxstat64.c: Likewise.
22436 * io/mkdir.c: Likewise.
22437 * io/mkdirat.c: Likewise.
22438 * io/mkfifo.c: Likewise.
22439 * io/mkfifoat.c: Likewise.
22440 * io/open.c: Likewise.
22441 * io/open64.c: Likewise.
22442 * io/openat.c: Likewise.
22443 * io/openat64.c: Likewise.
22444 * io/pipe.c: Likewise.
22445 * io/pipe2.c: Likewise.
22446 * io/poll.c: Likewise.
22447 * io/posix_fadvise.c: Likewise.
22448 * io/posix_fadvise64.c: Likewise.
22449 * io/posix_fallocate.c: Likewise.
22450 * io/posix_fallocate64.c: Likewise.
22451 * io/read.c: Likewise.
22452 * io/readlink.c: Likewise.
22453 * io/readlinkat.c: Likewise.
22454 * io/rmdir.c: Likewise.
22455 * io/sendfile.c: Likewise.
22456 * io/sendfile64.c: Likewise.
22457 * io/statfs.c: Likewise.
22458 * io/statfs64.c: Likewise.
22459 * io/statvfs.c: Likewise.
22460 * io/statvfs64.c: Likewise.
22461 * io/symlink.c: Likewise.
22462 * io/symlinkat.c: Likewise.
22463 * io/ttyname.c: Likewise.
22464 * io/ttyname_r.c: Likewise.
22465 * io/umask.c: Likewise.
22466 * io/unlink.c: Likewise.
22467 * io/unlinkat.c: Likewise.
22468 * io/utime.c: Likewise.
22469 * io/utimensat.c: Likewise.
22470 * io/write.c: Likewise.
22471 * io/xmknod.c: Likewise.
22472 * io/xmknodat.c: Likewise.
22473 * io/xstat.c: Likewise.
22474 * io/xstat64.c: Likewise.
22475 * login/getpt.c: Likewise.
22476 * login/grantpt.c: Likewise.
22477 * login/unlockpt.c: Likewise.
22478 * math/e_acoshl.c: Likewise.
22479 * math/e_acosl.c: Likewise.
22480 * math/e_asinl.c: Likewise.
22481 * math/e_atan2l.c: Likewise.
22482 * math/e_atanhl.c: Likewise.
22483 * math/e_coshl.c: Likewise.
22484 * math/e_expl.c: Likewise.
22485 * math/e_fmodl.c: Likewise.
22486 * math/e_gammal_r.c: Likewise.
22487 * math/e_hypotl.c: Likewise.
22488 * math/e_j0l.c: Likewise.
22489 * math/e_j1l.c: Likewise.
22490 * math/e_jnl.c: Likewise.
22491 * math/e_lgammal_r.c: Likewise.
22492 * math/e_log10l.c: Likewise.
22493 * math/e_log2l.c: Likewise.
22494 * math/e_logl.c: Likewise.
22495 * math/e_powl.c: Likewise.
22496 * math/e_rem_pio2l.c: Likewise.
22497 * math/e_sinhl.c: Likewise.
22498 * math/e_sqrtl.c: Likewise.
22499 * math/fclrexcpt.c: Likewise.
22500 * math/fedisblxcpt.c: Likewise.
22501 * math/feenablxcpt.c: Likewise.
22502 * math/fegetenv.c: Likewise.
22503 * math/fegetexcept.c: Likewise.
22504 * math/fegetround.c: Likewise.
22505 * math/feholdexcpt.c: Likewise.
22506 * math/fesetenv.c: Likewise.
22507 * math/fesetround.c: Likewise.
22508 * math/feupdateenv.c: Likewise.
22509 * math/fgetexcptflg.c: Likewise.
22510 * math/fraiseexcpt.c: Likewise.
22511 * math/fsetexcptflg.c: Likewise.
22512 * math/ftestexcept.c: Likewise.
22513 * math/k_cosl.c: Likewise.
22514 * math/k_rem_pio2l.c: Likewise.
22515 * math/k_sinl.c: Likewise.
22516 * math/k_tanl.c: Likewise.
22517 * math/s_asinhl.c: Likewise.
22518 * math/s_atanl.c: Likewise.
22519 * math/s_cbrtl.c: Likewise.
22520 * math/s_erfl.c: Likewise.
22521 * math/s_expm1l.c: Likewise.
22522 * math/s_log1pl.c: Likewise.
22523 * math/s_tanhl.c: Likewise.
22524 * misc/acct.c: Likewise.
22525 * misc/brk.c: Likewise.
22526 * misc/chflags.c: Likewise.
22527 * misc/chroot.c: Likewise.
22528 * misc/fchflags.c: Likewise.
22529 * misc/fgetxattr.c: Likewise.
22530 * misc/flistxattr.c: Likewise.
22531 * misc/fremovexattr.c: Likewise.
22532 * misc/fsetxattr.c: Likewise.
22533 * misc/fsync.c: Likewise.
22534 * misc/ftruncate.c: Likewise.
22535 * misc/futimes.c: Likewise.
22536 * misc/futimesat.c: Likewise.
22537 * misc/getdomain.c: Likewise.
22538 * misc/getdtsz.c: Likewise.
22539 * misc/gethostid.c: Likewise.
22540 * misc/gethostname.c: Likewise.
22541 * misc/getloadavg.c: Likewise.
22542 * misc/getpagesize.c: Likewise.
22543 * misc/getsysstats.c: Likewise.
22544 * misc/getxattr.c: Likewise.
22545 * misc/gtty.c: Likewise.
22546 * misc/ioctl.c: Likewise.
22547 * misc/lgetxattr.c: Likewise.
22548 * misc/listxattr.c: Likewise.
22549 * misc/llistxattr.c: Likewise.
22550 * misc/lremovexattr.c: Likewise.
22551 * misc/lsetxattr.c: Likewise.
22552 * misc/lutimes.c: Likewise.
22553 * misc/madvise.c: Likewise.
22554 * misc/mincore.c: Likewise.
22555 * misc/mlock.c: Likewise.
22556 * misc/mlockall.c: Likewise.
22557 * misc/mmap.c: Likewise.
22558 * misc/mprotect.c: Likewise.
22559 * misc/msync.c: Likewise.
22560 * misc/munlock.c: Likewise.
22561 * misc/munlockall.c: Likewise.
22562 * misc/munmap.c: Likewise.
22563 * misc/preadv.c: Likewise.
22564 * misc/preadv64.c: Likewise.
22565 * misc/ptrace.c: Likewise.
22566 * misc/pwritev.c: Likewise.
22567 * misc/pwritev64.c: Likewise.
22568 * misc/readv.c: Likewise.
22569 * misc/reboot.c: Likewise.
22570 * misc/remap_file_pages.c: Likewise.
22571 * misc/removexattr.c: Likewise.
22572 * misc/revoke.c: Likewise.
22573 * misc/select.c: Likewise.
22574 * misc/setdomain.c: Likewise.
22575 * misc/setegid.c: Likewise.
22576 * misc/seteuid.c: Likewise.
22577 * misc/sethostid.c: Likewise.
22578 * misc/sethostname.c: Likewise.
22579 * misc/setregid.c: Likewise.
22580 * misc/setreuid.c: Likewise.
22581 * misc/setxattr.c: Likewise.
22582 * misc/sstk.c: Likewise.
22583 * misc/stty.c: Likewise.
22584 * misc/swapoff.c: Likewise.
22585 * misc/swapon.c: Likewise.
22586 * misc/sync.c: Likewise.
22587 * misc/syncfs.c: Likewise.
22588 * misc/syscall.c: Likewise.
22589 * misc/truncate.c: Likewise.
22590 * misc/ualarm.c: Likewise.
22591 * misc/usleep.c: Likewise.
22592 * misc/ustat.c: Likewise.
22593 * misc/utimes.c: Likewise.
22594 * misc/vhangup.c: Likewise.
22595 * misc/writev.c: Likewise.
22596 * posix/_exit.c: Likewise.
22597 * posix/alarm.c: Likewise.
22598 * posix/execve.c: Likewise.
22599 * posix/fexecve.c: Likewise.
22600 * posix/fork.c: Likewise.
22601 * posix/fpathconf.c: Likewise.
22602 * posix/getaddrinfo.c: Likewise.
22603 * posix/getegid.c: Likewise.
22604 * posix/geteuid.c: Likewise.
22605 * posix/getgid.c: Likewise.
22606 * posix/getgroups.c: Likewise.
22607 * posix/getlogin.c: Likewise.
22608 * posix/getlogin_r.c: Likewise.
22609 * posix/getpgid.c: Likewise.
22610 * posix/getpid.c: Likewise.
22611 * posix/getppid.c: Likewise.
22612 * posix/getresgid.c: Likewise.
22613 * posix/getresuid.c: Likewise.
22614 * posix/getsid.c: Likewise.
22615 * posix/getuid.c: Likewise.
22616 * posix/glob64.c: Likewise.
22617 * posix/nanosleep.c: Likewise.
22618 * posix/pathconf.c: Likewise.
22619 * posix/pause.c: Likewise.
22620 * posix/posix_madvise.c: Likewise.
22621 * posix/pread.c: Likewise.
22622 * posix/pread64.c: Likewise.
22623 * posix/pwrite.c: Likewise.
22624 * posix/pwrite64.c: Likewise.
22625 * posix/sched_getaffinity.c: Likewise.
22626 * posix/sched_getp.c: Likewise.
22627 * posix/sched_gets.c: Likewise.
22628 * posix/sched_primax.c: Likewise.
22629 * posix/sched_primin.c: Likewise.
22630 * posix/sched_rr_gi.c: Likewise.
22631 * posix/sched_setaffinity.c: Likewise.
22632 * posix/sched_setp.c: Likewise.
22633 * posix/sched_sets.c: Likewise.
22634 * posix/sched_yield.c: Likewise.
22635 * posix/setgid.c: Likewise.
22636 * posix/setlogin.c: Likewise.
22637 * posix/setpgid.c: Likewise.
22638 * posix/setresgid.c: Likewise.
22639 * posix/setresuid.c: Likewise.
22640 * posix/setsid.c: Likewise.
22641 * posix/setuid.c: Likewise.
22642 * posix/sleep.c: Likewise.
22643 * posix/spawni.c: Likewise.
22644 * posix/sysconf.c: Likewise.
22645 * posix/times.c: Likewise.
22646 * posix/wait.c: Likewise.
22647 * posix/wait3.c: Likewise.
22648 * posix/wait4.c: Likewise.
22649 * posix/waitpid.c: Likewise.
22650 * resolv/gai_sigqueue.c: Likewise.
22651 * resource/getpriority.c: Likewise.
22652 * resource/getrlimit.c: Likewise.
22653 * resource/getrusage.c: Likewise.
22654 * resource/nice.c: Likewise.
22655 * resource/setpriority.c: Likewise.
22656 * resource/setrlimit.c: Likewise.
22657 * resource/ulimit.c: Likewise.
22658 * rt/aio_cancel.c: Likewise.
22659 * rt/aio_fsync.c: Likewise.
22660 * rt/aio_read.c: Likewise.
22661 * rt/aio_sigqueue.c: Likewise.
22662 * rt/aio_suspend.c: Likewise.
22663 * rt/aio_write.c: Likewise.
22664 * rt/clock_getres.c: Likewise.
22665 * rt/clock_gettime.c: Likewise.
22666 * rt/clock_nanosleep.c: Likewise.
22667 * rt/clock_settime.c: Likewise.
22668 * rt/lio_listio.c: Likewise.
22669 * rt/mq_close.c: Likewise.
22670 * rt/mq_getattr.c: Likewise.
22671 * rt/mq_notify.c: Likewise.
22672 * rt/mq_open.c: Likewise.
22673 * rt/mq_receive.c: Likewise.
22674 * rt/mq_send.c: Likewise.
22675 * rt/mq_setattr.c: Likewise.
22676 * rt/mq_timedreceive.c: Likewise.
22677 * rt/mq_timedsend.c: Likewise.
22678 * rt/mq_unlink.c: Likewise.
22679 * rt/shm_open.c: Likewise.
22680 * rt/shm_unlink.c: Likewise.
22681 * rt/timer_create.c: Likewise.
22682 * rt/timer_delete.c: Likewise.
22683 * rt/timer_getoverr.c: Likewise.
22684 * rt/timer_gettime.c: Likewise.
22685 * rt/timer_settime.c: Likewise.
22686 * setjmp/__longjmp.c: Likewise.
22687 * setjmp/setjmp.c: Likewise.
22688 * signal/kill.c: Likewise.
22689 * signal/killpg.c: Likewise.
22690 * signal/raise.c: Likewise.
22691 * signal/sigaction.c: Likewise.
22692 * signal/sigaltstack.c: Likewise.
22693 * signal/sigblock.c: Likewise.
22694 * signal/sigignore.c: Likewise.
22695 * signal/sigintr.c: Likewise.
22696 * signal/signal.c: Likewise.
22697 * signal/sigpause.c: Likewise.
22698 * signal/sigpending.c: Likewise.
22699 * signal/sigqueue.c: Likewise.
22700 * signal/sigreturn.c: Likewise.
22701 * signal/sigset.c: Likewise.
22702 * signal/sigsetmask.c: Likewise.
22703 * signal/sigstack.c: Likewise.
22704 * signal/sigsuspend.c: Likewise.
22705 * signal/sigtimedwait.c: Likewise.
22706 * signal/sigvec.c: Likewise.
22707 * signal/sigwait.c: Likewise.
22708 * signal/sigwaitinfo.c: Likewise.
22709 * signal/sysv_signal.c: Likewise.
22710 * socket/accept.c: Likewise.
22711 * socket/accept4.c: Likewise.
22712 * socket/bind.c: Likewise.
22713 * socket/connect.c: Likewise.
22714 * socket/getpeername.c: Likewise.
22715 * socket/getsockname.c: Likewise.
22716 * socket/getsockopt.c: Likewise.
22717 * socket/isfdtype.c: Likewise.
22718 * socket/listen.c: Likewise.
22719 * socket/recv.c: Likewise.
22720 * socket/recvfrom.c: Likewise.
22721 * socket/recvmsg.c: Likewise.
22722 * socket/send.c: Likewise.
22723 * socket/sendmsg.c: Likewise.
22724 * socket/sendto.c: Likewise.
22725 * socket/setsockopt.c: Likewise.
22726 * socket/shutdown.c: Likewise.
22727 * socket/sockatmark.c: Likewise.
22728 * socket/socket.c: Likewise.
22729 * socket/socketpair.c: Likewise.
22730 * stdio-common/ctermid.c: Likewise.
22731 * stdio-common/cuserid.c: Likewise.
22732 * stdio-common/remove.c: Likewise.
22733 * stdio-common/rename.c: Likewise.
22734 * stdio-common/renameat.c: Likewise.
22735 * stdio-common/tempname.c: Likewise.
22736 * stdlib/getcontext.c: Likewise.
22737 * stdlib/makecontext.c: Likewise.
22738 * stdlib/setcontext.c: Likewise.
22739 * stdlib/swapcontext.c: Likewise.
22740 * stdlib/system.c: Likewise.
22741 * streams/fattach.c: Likewise.
22742 * streams/fdetach.c: Likewise.
22743 * streams/getmsg.c: Likewise.
22744 * streams/getpmsg.c: Likewise.
22745 * streams/putmsg.c: Likewise.
22746 * streams/putpmsg.c: Likewise.
22747 * sysdeps/unix/bsd/getpt.c: Likewise.
22748 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22749 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22750 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22753 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22754 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22755 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22756 * sysvipc/msgctl.c: Likewise.
22757 * sysvipc/msgget.c: Likewise.
22758 * sysvipc/msgrcv.c: Likewise.
22759 * sysvipc/msgsnd.c: Likewise.
22760 * sysvipc/semctl.c: Likewise.
22761 * sysvipc/semget.c: Likewise.
22762 * sysvipc/semop.c: Likewise.
22763 * sysvipc/semtimedop.c: Likewise.
22764 * sysvipc/shmat.c: Likewise.
22765 * sysvipc/shmctl.c: Likewise.
22766 * sysvipc/shmdt.c: Likewise.
22767 * sysvipc/shmget.c: Likewise.
22768 * termios/tcdrain.c: Likewise.
22769 * termios/tcflow.c: Likewise.
22770 * termios/tcflush.c: Likewise.
22771 * termios/tcgetattr.c: Likewise.
22772 * termios/tcgetpgrp.c: Likewise.
22773 * termios/tcsendbrk.c: Likewise.
22774 * termios/tcsetattr.c: Likewise.
22775 * termios/tcsetpgrp.c: Likewise.
22776 * time/adjtime.c: Likewise.
22777 * time/clock.c: Likewise.
22778 * time/getitimer.c: Likewise.
22779 * time/gettimeofday.c: Likewise.
22780 * time/setitimer.c: Likewise.
22781 * time/settimeofday.c: Likewise.
22782 * time/stime.c: Likewise.
22783 * time/time.c: Likewise.
22785 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22787 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22790 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22792 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22794 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22798 FE_TONEAREST before applying Dekker multiplication and Knuth
22799 addition. Clear inexact exceptions and check for exact zero
22800 results afterwards.
22801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22802 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22803 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22804 * math/libm-test.inc (fma_test): Add more tests.
22805 (fma_test_towardzero): Likewise.
22806 (fma_test_downward): Likewise.
22807 (fma_test_upward): Likewise.
22808 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22810 (libc_fesetround): New macro.
22811 (libc_fesetroundf): Likewise.
22812 (libc_fesetroundl): Likewise.
22813 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22815 (libc_fesetround_387): Likewise.
22816 (libc_fesetroundf): New macro.
22817 (libc_fesetround): Likewise.
22818 (libc_fesetroundl): Likewise.
22819 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22821 (libc_fesetroundf): New macro.
22822 (libc_fesetround): Likewise.
22823 (libc_fesetroundl): Likewise.
22824 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22825 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22826 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22828 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22829 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22831 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22832 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22834 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22838 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22839 integer constant usable in #if and use that to give value to enum
22841 (FE_DIVBYZERO): Likewise.
22842 (FE_UNDERFLOW): Likewise.
22843 (FE_OVERFLOW): Likewise.
22844 (FE_INVALID): Likewise.
22845 (FE_INVALID_SNAN): Likewise.
22846 (FE_INVALID_ISI): Likewise.
22847 (FE_INVALID_IDI): Likewise.
22848 (FE_INVALID_ZDZ): Likewise.
22849 (FE_INVALID_IMZ): Likewise.
22850 (FE_INVALID_COMPARE): Likewise.
22851 (FE_INVALID_SOFTWARE): Likewise.
22852 (FE_INVALID_SQRT): Likewise.
22853 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22854 (FE_TONEAREST): Likewise.
22855 (FE_TOWARDZERO): Likewise.
22856 (FE_UPWARD): Likewise.
22857 (FE_DOWNWARD): Likewise.
22858 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22859 (FE_DIVBYZERO): Likewise.
22860 (FE_OVERFLOW): Likewise.
22861 (FE_UNDERFLOW): Likewise.
22862 (FE_INEXACT): Likewise.
22863 (FE_TONEAREST): Likewise.
22864 (FE_DOWNWARD): Likewise.
22865 (FE_UPWARD): Likewise.
22866 (FE_TOWARDZERO): Likewise.
22867 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22868 (FE_UNDERFLOW): Likewise.
22869 (FE_OVERFLOW): Likewise.
22870 (FE_DIVBYZERO): Likewise.
22871 (FE_INVALID): Likewise.
22872 (FE_TONEAREST): Likewise.
22873 (FE_TOWARDZERO): Likewise.
22874 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22875 (FE_OVERFLOW): Likewise.
22876 (FE_UNDERFLOW): Likewise.
22877 (FE_DIVBYZERO): Likewise.
22878 (FE_INEXACT): Likewise.
22879 (FE_TONEAREST): Likewise.
22880 (FE_TOWARDZERO): Likewise.
22881 (FE_UPWARD): Likewise.
22882 (FE_DOWNWARD): Likewise.
22883 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22884 (FE_DIVBYZERO): Likewise.
22885 (FE_OVERFLOW): Likewise.
22886 (FE_UNDERFLOW): Likewise.
22887 (FE_INEXACT): Likewise.
22888 (FE_TONEAREST): Likewise.
22889 (FE_DOWNWARD): Likewise.
22890 (FE_UPWARD): Likewise.
22891 (FE_TOWARDZERO): Likewise.
22893 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22895 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22897 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22899 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22900 commands. Quote $PWD.
22901 (blacklist_exports): Don't use remove_newlines. Replace "declare
22903 (remove_newlines): Remove.
22905 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22907 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22908 * stdlib/stdlib.h (atof): Moved to ...
22909 * include/bits/stdlib-float.h: Here. New file.
22910 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22911 * stdlib/bits/stdlib-float.h: New file.
22912 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22914 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22917 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22919 * conform/conformtest.pl (@headers): Add fenv.h.
22920 * conform/data/fenv.h-data: New file.
22921 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22922 include of <math/fenv.h>.
22924 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22925 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22926 && !UNIX98]. Enables tests for XOPEN2K8.
22927 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22928 POSIX2008]: Likewise.
22930 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22931 (struct rusage): Do not expect type or its members.
22934 * math/math.h (FP_NAN): Define macro to integer constant usable in
22935 #if and use that to give value to enum constant.
22936 (FP_INFINITE): Likewise.
22937 (FP_ZERO): Likewise.
22938 (FP_SUBNORMAL): Likewise.
22939 (FP_NORMAL): Likewise.
22941 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22943 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22944 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22947 2012-11-02 Roland McGrath <roland@hack.frob.com>
22949 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22950 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22951 autoconf-time if not.
22952 * configure.in: Remove AC_PREREQ.
22954 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22956 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22957 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22958 of the internal implementation.
22960 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22962 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22963 except include of <misc/sys/syslog.h>.
22965 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22968 function returns with a NULL context exit with zero.
22970 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22972 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22974 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22976 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22977 (run_program_cmd): This.
22978 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22979 (tst_langinfo): New variable. Use it.
22981 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22983 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22984 floating point opcodes.
22986 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22988 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22991 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22993 * sysdeps/mach/hurd/powerpc: Remove directory.
22994 * sysdeps/mach/powerpc: Likewise.
22996 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22998 * scripts/check-local-headers.sh: Ignore c++ headers.
23000 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23002 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23003 __libc_cleanup_region_start argument.
23005 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23010 x * y using scaling, not as x * y + z.
23011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23012 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23013 * math/libm-test.inc (fma_test): Add more tests.
23014 (fma_test_towardzero): Likewise.
23015 (fma_test_downward): Likewise.
23016 (fma_test_upward): Likewise.
23018 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23020 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23022 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23024 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23027 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23029 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23031 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23038 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23041 Fix the order of the list for glibc 2.17.
23042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23045 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23049 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23052 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23053 for low part of x being zero before using __atanl (y).
23054 * math/libm-test.inc (atan2_test): Add another test.
23056 * manual/install.texi (Configuring and compiling): Document
23057 general use of test-wrapper and test-wrapper-env.
23058 * INSTALL: Regenerated.
23060 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23061 (__fma): Do not extract and scale down low bits on after-rounding
23062 systems when result rounded to normal precision would have normal
23064 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23065 (__fmal): Do not extract and scale down low bits on after-rounding
23066 systems when result rounded to normal precision would have normal
23068 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23069 (__fmal): Do not extract and scale down low bits on after-rounding
23070 systems when result rounded to normal precision would have normal
23072 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23074 (fma_test): Add more tests.
23075 (fma_test_towardzero): Likewise.
23076 (fma_test_downward): Likewise.
23077 (fma_test_upward): Likewise.
23079 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23081 * sysdeps/i386/tininess.h: Renamed to ...
23082 * sysdeps/x86/tininess.h: This.
23083 * sysdeps/x86_64/tininess.h: Removed.
23085 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23087 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23088 input. Use $(build-program-cmd).
23089 ($(objpfx)tst-array1-static.out): Likewise.
23090 ($(objpfx)tst-array2.out): Likewise.
23091 ($(objpfx)tst-array3.out): Likewise.
23092 ($(objpfx)tst-array4.out): Likewise.
23093 ($(objpfx)tst-array5.out): Likewise.
23094 ($(objpfx)tst-array5-static.out): Likewise.
23096 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23098 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23101 * nss/nsswitch.h (nss_interface_function): Provide new
23102 macro for use with NSS functions.
23103 * grp/initgroups.c: Use new macro.
23104 * nss/getXXbyYY.c: Likewise.
23105 * nss/getXXbyYY_r.c: Likewise.
23106 * nss/getXXent.c: Likewise.
23107 * nss/getXXent_r.c: Likewise.
23108 * sysdeps/posix/getaddrinfo.c: Likewise.
23110 2012-10-30 Andreas Jaeger <aj@suse.de>
23112 * po/ru.po: Update Russion translation from translation project.
23114 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23118 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23119 result and shift together with sticky bit instead of replicating
23120 round-to-nearest rounding.
23121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23123 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23124 missing underflow exceptions.
23125 (fma_test_towardzero): Add more tests.
23126 (fma_test_downward): Likewise.
23127 (fma_test_upward): Likewise.
23130 * sysdeps/generic/tininess.h: New file.
23131 * sysdeps/i386/tininess.h: Likewise.
23132 * sysdeps/sh/tininess.h: Likewise.
23133 * sysdeps/x86_64/tininess.h: Likewise.
23134 * stdlib/tst-strtod-underflow.c: Likewise.
23135 * stdlib/tst-tininess.c: Likewise.
23136 * stdlib/strtod_l.c: Include <tininess.h>.
23137 (round_and_return): Do not set errno for exact underflow cases.
23138 Force an underflow exception when setting errno for underflow.
23139 Determine underflow based on rounding to normal precision if
23140 TININESS_AFTER_ROUNDING.
23141 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23142 ERANGE for exact underflow cases.
23143 * stdlib/Makefile (tests): Add tst-tininess and
23144 tst-strtod-underflow.
23145 ($(objpfx)tst-tininess): Use $(link-libm).
23146 ($(objpfx)tst-strtod-underflow): Likewise.
23148 2012-10-30 Andreas Jaeger <aj@suse.de>
23151 * elf/Makefile (tests): Remove conditional for have-initfini-array
23152 since this is now always required and the variable does not exist
23154 (tests-static): Likewise.
23155 (modules-names): Likewise.
23157 * po/eo.po: Add Esperanto translation from translation project.
23159 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23160 merged with constructor/destructor.
23161 (init_array): Likewise.
23162 * elf/tst-array2dep.c (fini_array): Likewise.
23163 (init_array): Likewise.
23165 2012-10-29 Mike Frysinger <vapier@gentoo.org>
23167 * manual/message.texi: Delete @cartouche tags.
23169 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23171 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23173 * sysdeps/mach/hurd/fsync.c: Likewise.
23175 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23176 [_POSIX_REALTIME_SIGNALS]: Change condition to
23177 [_POSIX_REALTIME_SIGNALS > 0].
23179 2012-10-27 Andreas Jaeger <aj@suse.de>
23181 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23182 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23184 [__WORDSIZE != 64]: Likewise.
23186 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23188 * iconvdata/tst-table.sh: Remove ${SHELL}.
23189 * iconvdata/tst-tables.sh: Likewise.
23191 2012-10-25 David S. Miller <davem@davemloft.net>
23193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23194 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23200 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23201 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23204 2012-10-25 Roland McGrath <roland@hack.frob.com>
23206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23207 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23210 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23211 Jim Blandy <jimb@codesourcery.com>
23213 * scripts/cross-test-ssh.sh: New file.
23214 * manual/install.texi (Configuring and compiling): Document use of
23216 * INSTALL: Regenerated.
23218 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23220 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23223 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23225 * Makeconfig (run-program-prefix): Fix comment.
23227 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23228 Jim Blandy <jimb@codesourcery.com>
23230 * Makeconfig (test-wrapper): New variable,
23231 (test-wrapper-env): Likewise.
23232 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23233 (run-built-tests): Define to yes.
23234 (run-program-prefix): Use $(test-wrapper).
23235 (built-program-cmd): Likewise.
23236 * Rules (make-test-out): Use $(test-wrapper-env) and
23237 $(host-built-program-cmd).
23238 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23239 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23241 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23242 $(test-wrapper-env) to tst-rtld-load-self.sh.
23243 ($(objpfx)order2.out): Use $(test-wrapper).
23244 ($(objpfx)tst-initorder.out): Likewise.
23245 ($(objpfx)tst-initorder2.out): Likewise.
23246 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23247 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23248 (test_wrapper_env): New variable. Use it to run ld.so.
23249 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23250 Use it to run ld.so.
23251 (test_wrapper_env): Likewise.
23252 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23253 $(test-wrapper) to run-iconv-test.sh.
23254 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23255 (ICONV): Use $test_wrapper.
23256 * posix/Makefile ($(objpfx)globtest.out): Pass
23257 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23258 globtest.sh, not $(run-program-prefix).
23259 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23260 (test_wrapper): Likewise.
23261 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23262 set together with run_via_rtld_prefix.
23263 (run_program_prefix): Define in terms of test_wrapper and
23264 run_via_rtld_prefix.
23266 2012-10-24 Roland McGrath <roland@hack.frob.com>
23268 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23269 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23273 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23274 Declare __clock_getres, __clock_gettime, __clock_settime,
23275 __clock_nanosleep, and __clock_getcpuclockid.
23276 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23277 Remove librt_hidden_def (clock_gettime).
23278 * sysdeps/unix/clock_gettime.c: Likewise.
23279 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23280 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23281 * rt/clock_getres.c: Define __clock_getres as an alias.
23282 * sysdeps/posix/clock_getres.c: Likewise.
23283 * rt/clock_settime.c: Define __clock_settime as an alias.
23284 * sysdeps/unix/clock_settime.c: Likewise.
23285 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23286 * sysdeps/unix/clock_nanosleep.c: Likewise.
23287 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23288 * rt/clock-compat.c: New file.
23289 * rt/Makefile (librt-routines): Add clock-compat and move
23290 $(clock-routines) to ...
23291 (routines): ... here, new variable.
23292 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23293 Don't add get_clockfreq here.
23294 * rt/Versions (libc: GLIBC_2.17): New version set.
23295 Add clock_* symbols here.
23296 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23297 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23298 (GLIBC_2.17): Add clock_* symbols.
23299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23310 * NEWS: Mention the move.
23312 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23313 Use __open, __read, __close rather than their public counterparts.
23314 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23315 (__get_clockfreq_via_cpuinfo): Likewise.
23316 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23317 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23319 * config.h.in (HAVE_IFUNC): New #undef.
23320 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23322 * configure: Regenerated.
23324 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23326 * configure.in: Move READELF check to start of file.
23327 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23328 libc_cv_asm_gnu_indirect_function in the process.
23329 * configure: Regenerated.
23331 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23333 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23334 send the output to /dev/null.
23335 (libc_cv_cc_with_libunwind): Likewise.
23336 (libc_cv_as_noexecstack): Likewise.
23337 * configure: Regenerate.
23339 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23341 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23343 * posix/globtest.sh (TMPDIR): Do not set.
23344 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23345 (testout): Likewise.
23347 2012-10-24 Andreas Jaeger <aj@suse.de>
23349 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23350 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23351 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23352 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23353 posix_fadvise64, posix_fallocate64.
23355 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23356 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23357 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23359 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23361 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23364 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23365 <bits/fcntl-linux.h>.
23366 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23369 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23370 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23371 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23372 [__WORDSIZE != 64]: Likewise.
23374 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23376 * Makeconfig (run-built-tests): New variable.
23377 * Rules [$(cross-compiling) = yes]: Change condition to
23378 [$(run-built-tests) = no].
23379 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23380 to [$(run-built-tests) = yes].
23381 * elf/Makefile [$(cross-compiling) = no]: Likewise
23382 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23383 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23384 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23385 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23386 * io/Makefile [$(cross-compiling) = no]: Likewise.
23387 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23388 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23389 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23390 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23391 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23392 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23393 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23394 * string/Makefile [$(cross-compiling) = no]: Likewise.
23396 * posix/Makefile ($(objpfx)globtest.out): Pass
23397 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23398 $(rtld-installed-name).
23399 * posix/globtest.sh (elf_objpfx): Remove variable.
23400 (rtld_installed_name): Likewise.
23401 (library_path): Likewise.
23402 (run_program_prefix): New variable. Use for running globtest
23405 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23406 Joseph Myers <joseph@codesourcery.com>
23408 * Makeconfig (host-built-program-cmd): New variable.
23409 * elf/Makefile (tst-stackguard1-ARGS): Use
23410 $(host-built-program-cmd).
23411 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23412 (tst-spawn-ARGS): Likewise.
23413 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23415 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23416 Jim Blandy <jimb@codesourcery.com>
23418 * Makeconfig (run-via-rtld-prefix): New variable.
23419 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23420 (built-program-cmd): Likewise.
23422 2012-10-22 Andreas Jaeger <aj@suse.de>
23424 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23425 __O_RSYNC if it exists, otherwise to O_SYNC.
23427 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23428 Joseph Myers <joseph@codesourcery.com>
23430 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23432 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23434 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23437 2012-10-22 Andreas Jaeger <aj@suse.de>
23439 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23444 bits/fcntl-linux.h.
23446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23447 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23454 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23455 Joseph Myers <joseph@codesourcery.com>
23457 * config.make.in (NM): New variable.
23459 2012-10-21 Andreas Jaeger <aj@suse.de>
23461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23462 definitions and declarations that are provided by
23463 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23465 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23468 * elf/Makefile (tests-static): Add tst-leaks1-static.
23469 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23470 ($(objpfx)tst-leaks1-static): New rule.
23471 ($(objpfx)tst-leaks1-static-mem): Likewise.
23472 (tst-leaks1-static-ENV): New macro.
23473 * elf/dl-open.c (dl_open_worker): Check the main application
23474 only if SHARED is defined.
23475 * elf/tst-leaks1-static.c: New file.
23477 2012-10-20 Andreas Jaeger <aj@suse.de>
23479 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23480 generic values for Linux.
23481 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23482 and declarations that are provided by <bits/fcntl-linux.h> and
23483 include <bits/fcntl-linux.h>.
23484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23487 2012-10-20 Roland McGrath <roland@hack.frob.com>
23489 * io/fcntl.h: Move include of <bits/types.h> to the top and
23490 include it unconditionally.
23492 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23494 * wcsmbs/Makefile (tests-ifunc): New variable.
23495 (tests): Add $(tests-ifunc).
23496 * wcsmbs/test-wcschr-ifunc.c: New file.
23497 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23498 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23499 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23500 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23501 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23503 * string/Makefile (tests-ifunc): New variable.
23504 (tests): Add $(tests-ifunc).
23505 * string/test-memccpy.c (TEST_NAME): New macro.
23506 * string/test-memchr.c (TEST_NAME): Likewise.
23507 * string/test-memcmp.c (TEST_NAME): Likewise.
23508 * string/test-memcpy.c (TEST_NAME): Likewise.
23509 * string/test-memmem.c (TEST_NAME): Likewise.
23510 * string/test-memmove.c (TEST_NAME): Likewise.
23511 * string/test-memset.c (TEST_NAME): Likewise.
23512 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23513 * string/test-stpcpy.c (TEST_NAME): Likewise.
23514 * string/test-stpncpy.c (TEST_NAME): Likewise.
23515 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23516 * string/test-strcasestr.c (TEST_NAME): Likewise.
23517 * string/test-strcat.c (TEST_NAME): Likewise.
23518 * string/test-strchr.c (TEST_NAME): Likewise.
23519 * string/test-strcmp.c(TEST_NAME): Likewise.
23520 * string/test-strcpy.c (TEST_NAME): Likewise.
23521 * string/test-strcspn.c (TEST_NAME): Likewise.
23522 * string/test-strlen.c (TEST_NAME): Likewise.
23523 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23524 * string/test-strncmp.c (TEST_NAME): Likewise.
23525 * string/test-strncpy.c (TEST_NAME): Likewise.
23526 * string/test-strnlen.c (TEST_NAME): Likewise.
23527 * string/test-strpbrk.c (TEST_NAME): Likewise.
23528 * string/test-strrchr.c (TEST_NAME): Likewise.
23529 * string/test-strspn.c (TEST_NAME): Likewise.
23530 * string/test-strstr.c (TEST_NAME): Likewise.
23531 * string/test-bcopy-ifunc.c: New file.
23532 * string/test-bzero-ifunc.c: Likewise.
23533 * string/test-memccpy-ifunc.c: Likewise.
23534 * string/test-memchr-ifunc.c: Likewise.
23535 * string/test-memcmp-ifunc.c: Likewise.
23536 * string/test-memcpy-ifunc.c: Likewise.
23537 * string/test-memmem-ifunc.c: Likewise.
23538 * string/test-memmove-ifunc.c: Likewise.
23539 * string/test-mempcpy-ifunc.c: Likewise.
23540 * string/test-memset-ifunc.c: Likewise.
23541 * string/test-rawmemchr-ifunc.c: Likewise.
23542 * string/test-stpcpy-ifunc.c: Likewise.
23543 * string/test-stpncpy-ifunc.c: Likewise.
23544 * string/test-strcasecmp-ifunc.c: Likewise.
23545 * string/test-strcasestr-ifunc.c: Likewise.
23546 * string/test-strcat-ifunc.c: Likewise.
23547 * string/test-strchr-ifunc.c: Likewise.
23548 * string/test-strchrnul-ifunc.c: Likewise.
23549 * string/test-strcmp-ifunc.c: Likewise.
23550 * string/test-strcpy-ifunc.c: Likewise.
23551 * string/test-strcspn-ifunc.c: Likewise.
23552 * string/test-strlen-ifunc.c: Likewise.
23553 * string/test-strncasecmp-ifunc.c: Likewise.
23554 * string/test-strncat-ifunc.c: Likewise.
23555 * string/test-strncmp-ifunc.c: Likewise.
23556 * string/test-strncpy-ifunc.c: Likewise.
23557 * string/test-strnlen-ifunc.c: Likewise.
23558 * string/test-strpbrk-ifunc.c: Likewise.
23559 * string/test-strrchr-ifunc.c: Likewise.
23560 * string/test-strspn-ifunc.c: Likewise.
23561 * string/test-strstr-ifunc.c: Likewise.
23563 * debug/Makefile (tests-ifunc): New variable.
23564 (tests): Add $(tests-ifunc).
23565 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23566 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23567 * debug/test-stpcpy_chk-ifunc.c: New file.
23568 * debug/test-strcpy_chk-ifunc.c: Likewise.
23570 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23573 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23574 header is not read in.
23576 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23578 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23579 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23580 directly. Pass built executable to script as
23581 $(built-program-cmd).
23582 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23583 $testprogram without using LD_LIBRARY_PATH and $ldso.
23585 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23586 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23587 $(rtld-installed-name).
23588 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23589 (rtld_installed_name): Likewise.
23590 (library_path): Likewise.
23591 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23592 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23593 $(run-program-prefix) to tst-tables.sh.
23594 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23595 it to run tst-table-from and tst-table-to.
23596 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23597 Pass it to tst-table.sh.
23598 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23599 $(run-program-prefix) to tst-gettext.sh.
23600 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23602 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23604 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23605 to run tst-gettext.
23606 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23607 to run tst-gettext2.
23608 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23609 to run tst-translit.
23610 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23611 $(run-program-prefix) to tst-mtrace.sh.
23612 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23614 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23615 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23616 $(rtld-installed-name).
23617 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23618 (rtld_installed_name): Likewise.
23619 (run_program_prefix): New variable. Use it to run wordexp-test.
23621 * Makeconfig (ARCH): Remove all definitions.
23622 (machine): Likewise.
23623 [ARCH]: Remove conditional code.
23624 [!objdir]: Give error.
23625 [!objdir] (objpfx): Remove.
23626 [!objdir] (common-objpfx): Likewise.
23627 [!objdir] (common-objdir): Likewise.
23628 * configure.in (config_makefile): Remove. Hardcode Makefile in
23629 AC_CONFIG_FILES call.
23630 * configure: Regenerated.
23633 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23635 (testout): Likewise.
23637 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23638 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23639 $(rtld-installed-name).
23640 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23641 (rtld_installed_name): Likwise.
23642 (runit): Remove function.
23643 (run_getconf): New variable, Use it for running getconf binary.
23645 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23648 * string/test-memmem.c (check_result): New function.
23649 (do_one_test): Use it.
23650 (check1): New function.
23651 (test_main): Use it.
23653 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23655 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23657 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23659 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23660 (_G_LSEEK64): Likewise.
23661 (_G_MMAP64): Likewise.
23662 (_G_FSTAT64): Likewise.
23663 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23664 (_G_LSEEK64): Likewise.
23665 (_G_MMAP64): Likewise.
23666 (_G_FSTAT64): Likewise.
23667 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23668 unconditional. Call __mmap64 directly.
23669 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23670 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23671 __lseek64 directly.
23672 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23673 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23675 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23676 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23677 __lseek64 directly.
23678 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23679 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23680 __lseek64 directly.
23681 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23682 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23683 __lseek64 directly.
23684 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23685 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23686 __fxstat64 directly.
23687 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23688 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23690 (freopen64) [!_G_OPEN64]: Remove conditional code.
23691 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23693 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23694 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23696 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23697 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23699 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23700 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23702 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23703 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23705 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23706 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23708 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23709 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23711 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23713 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23716 * manual/memory.texi (Malloc Tunable Parameters): Add note
23717 about free list pointers overwriting some perturb bytes.
23718 Wording suggested by Roland McGrath.
23720 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23722 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23723 (lgamma_test): Likewise.
23724 (tgamma_test): Likewise.
23726 2012-10-16 Florian Weimer <fweimer@redhat.com>
23729 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23730 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23732 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23734 * NEWS: Mention BZ #14716.
23735 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23736 when removing AVAILABLE1_USES_J macro.
23738 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23740 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23741 (__bswap_64): __uint64_t for unsigned 64-bit int.
23743 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23745 * include/string.h (memmem): Declare libc hidden alias.
23746 * string/memmem.c (memmem): Define libc hidden alias.
23747 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23748 __read, __close instead of open, read, close.
23750 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23752 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23753 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23755 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23756 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23757 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23759 (__rawmemchr_sse2): Likewise.
23760 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23761 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23762 (__strchr_sse2): Likewise.
23763 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23764 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23765 (__strcasecmp_sse2): Likewise.
23766 (__strncasecmp_sse2): Likewise.
23767 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23768 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23769 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23770 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23771 (__strrchr_sse2): Likewise.
23772 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23774 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23775 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23776 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23777 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23778 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23779 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23780 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23781 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23782 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23783 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23784 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23785 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23786 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23787 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23788 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23789 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23790 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23791 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23792 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23793 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23794 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23795 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23796 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23797 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23798 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23799 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23800 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23801 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23802 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23803 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23805 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23807 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23808 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23809 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23810 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23812 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23814 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23815 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23816 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23817 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23819 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23820 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23821 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23822 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23823 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23824 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23825 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23826 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23827 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23828 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23829 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23830 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23831 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23832 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23833 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23834 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23835 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23836 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23837 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23838 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23839 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23840 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23841 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23842 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23843 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23844 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23845 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23846 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23847 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23848 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23849 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23850 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23851 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23852 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23853 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23854 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23855 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23856 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23857 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23858 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23859 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23861 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23862 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23863 * include/ifunc-impl-list.h: New file.
23864 * misc/ifunc-impl-list.c: Likewise.
23865 * misc/Makefile (routines): Add ifunc-impl-list.
23866 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23867 * string/test-string.h: Include <ifunc-impl-list.h>.
23868 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23869 TEST_NAME]: New variables.
23870 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23872 (test_init): Call __libc_ifunc_impl_list to initialize
23873 func_list if TEST_IFUNC and TEST_NAME are defined.
23875 * string/Makefile (strop-tests): Add bcopy and bzero.
23876 * string/test-bcopy.c: New file.
23877 * string/test-bzero.c: Likewise.
23878 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23880 * string/test-memset.c: Support bzero test if TEST_BZERO is
23882 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23884 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23886 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23889 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23891 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23892 * configure: Regenerated.
23894 * Makeconfig (+link-static-before-libc): Don't include
23895 $(link-static-libc).
23897 * libio/libio.h (_IO_pos_t): Remove.
23899 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23901 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23904 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23906 * crypt/crypt-entry.c: Include fips-private.h.
23907 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23908 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23909 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23910 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23912 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23914 * crypt/crypt-private.h: Include stdbool.h.
23915 (_ufc_setup_salt_r): Return bool.
23916 * crypt/crypt-entry.c: Include errno.h.
23917 (__crypt_r): Return NULL with EINVAL for bad salt.
23918 * crypt/crypt_util.c (bad_for_salt): New.
23919 (_ufc_setup_salt_r): Check that salt is long enough and within
23920 the specified alphabet.
23921 * crypt/badsalttest.c: New file.
23922 * crypt/Makefile (tests): Add it.
23923 ($(objpfx)badsalttest): New.
23925 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23927 * NEWS: Add entry for BZ #14602.
23929 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23931 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23933 * math/libm-test.inc: Update comment listing what functions and
23935 (isgreater_test): New function.
23936 (isgreaterequal_test): Likewise.
23937 (isless_test): Likewise.
23938 (islessequal_test): Likewise.
23939 (islessgreater_test): Likewise.
23940 (isunordered_test): Likewise.
23941 (main): Call the new functions.
23943 2012-10-09 Roland McGrath <roland@hack.frob.com>
23945 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23946 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23947 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23948 * sysdeps/i386/configure: Regenerated.
23949 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23950 * sysdeps/mach/configure: Regenerated.
23951 * sysdeps/mach/hurd/configure: Regenerated.
23952 * sysdeps/powerpc/configure: Regenerated.
23953 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23954 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23955 * sysdeps/s390/s390-32/configure: Regenerated.
23956 * sysdeps/s390/s390-64/configure: Regenerated.
23957 * sysdeps/sh/configure: Regenerated.
23958 * sysdeps/sparc/configure: Regenerated.
23959 * sysdeps/unix/sysv/linux/configure: Regenerated.
23960 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23961 * sysdeps/x86_64/configure: Regenerated.
23963 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23964 defined. Don't check if MAP is NULL.
23966 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23968 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23969 (_G_stat64): Likewise.
23970 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23971 (_G_stat64): Likewise.
23972 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23973 instead of struct _G_stat64.
23974 * libio/fileops.c (mmap_remap_check): Likewise.
23975 (decide_maybe_mmap): Likewise.
23976 (_IO_new_file_seekoff): Likewise.
23977 (_IO_file_stat): Likewise.
23978 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23980 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23981 instead of struct _G_stat64.
23982 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23984 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23987 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23989 (CHECK_EOL): New macro.
23990 (two_way_short_needle): Check beginning of haystack for EOL. Use
23992 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23993 Replace with CHECK_EOL.
23994 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23995 Replace with CHECK_EOL.
23997 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23999 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24001 * math/libm-test.inc: Update comment listing what functions and
24003 (finite_test): New function.
24004 (isinf_test): Likewise.
24005 (isnan_test): Likewise.
24006 (fpclassify_test): Test subnormal input.
24007 (isfinite_test): Likewise.
24008 (isnormal_test): Likewise.
24009 (main): Call the new functions.
24011 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24014 * Makerules (%.dynsym): Force C locale when running
24015 $(OBJDUMP) --dynamic-syms.
24017 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24019 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24022 2012-10-06 David S. Miller <davem@davemloft.net>
24024 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24025 upper 32-bits of the length value in %o2 since we use branch-on-register
24026 tests which consider the entire 64-bit register.
24028 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24030 * string/test-strstr.c (check2): Add a test for page boundary.
24032 2012-10-05 David S. Miller <davem@davemloft.net>
24034 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24035 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24037 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24039 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24040 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24041 and bzero when HWCAP_SPARC_CRYPTO is present.
24043 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24046 * string/test-strstr.c (check2): New function.
24047 (test_main): Call check2.
24049 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24051 * string/bug-strcasestr1.c (do_test): Moved to ...
24052 * string/test-strcasestr.c (check1): Here. New function.
24053 (do_one_test): Break out result checking code into ...
24054 (check_result): This. New function.
24055 (do_one_test): Call check_result.
24056 (test_main): Call check1.
24057 * string/bug-strchr1.c (do_test): Moved to ...
24058 * string/test-strchr.c (check1): Here. New function.
24059 (do_one_test): Break out result checking code into ...
24060 (check_result): This. New function.
24061 (do_one_test): Call check_result.
24062 (test_main): Call check1.
24063 * string/bug-strstr1.c (main): Moved to ...
24064 * string/test-strstr.c (check1): Here. New function.
24065 (do_one_test): Break out result checking code into ...
24066 (check_result): This. New function.
24067 (do_one_test): Call check_result.
24068 (test_main): Call check1.
24069 * string/bug-strcasestr1.c: Removed.
24070 * string/bug-strchr1.c: Likewise.
24071 * string/bug-strstr1.c: Likewise.
24073 * elf/Makefile (dl-routines): Add hwcaps.
24074 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24075 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24076 (_dl_important_hwcaps): Moved to ...
24077 * elf/dl-hwcaps.c: Here. New file.
24078 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24081 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24082 if IS_IN_rtld isn't defined.
24084 * elf/dl-support.c (_dl_sysinfo_map): New.
24085 Include "get-dynamic-info.h" and "setup-vdso.h".
24086 (_dl_non_dynamic_init): Call setup_vdso.
24087 * elf/dynamic-link.h: Don't include <assert.h>.
24088 (elf_get_dynamic_info): Moved to ...
24089 * elf/get-dynamic-info.h: Here. New file.
24090 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24091 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24092 * elf/setup-vdso.h: Here. New file.
24093 * elf/rtld.c: Include "setup-vdso.h".
24094 (dl_main): Call setup_vdso.
24096 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24098 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24099 creal in comment listing functions tested. List finite, isinf,
24100 isnan, isless, islessequal, isgreater, isgreaterequal,
24101 islessgreater, isunordered, lgamma_r and pow10 as functions and
24102 macros not tested. Mention which functions not tested are aliases
24103 for other functions. Fix typo. Note that signs of NaNs are not
24106 * scripts/config.guess: Update from config.git.
24107 * scripts/config.sub: Likewise.
24109 2012-10-04 Roland McGrath <roland@hack.frob.com>
24111 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24112 * misc/madvise.c (madvise): Renamed to __madvise.
24113 Make madvise a weak alias.
24114 * include/sys/mman.h: Declare __madvise.
24115 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24116 * sysdeps/unix/syscalls.list
24117 (madvise): Make __madvise the strong name, and madvise a weak alias.
24118 * sysdeps/unix/sysv/linux/syscalls.list
24119 (madvise, mmap): Remove redundant entries.
24120 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24121 * malloc/malloc.c (mtrim): Likewise.
24122 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24124 2012-10-03 Roland McGrath <roland@hack.frob.com>
24126 * sysdeps/mach/hurd/dl-cache.c: File removed.
24127 * config.h.in (USE_LDCONFIG): New #undef.
24128 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24129 * configure: Regenerated.
24130 * elf/Makefile (dl-routines): Add dl-cache only under
24131 [$(use-ldconfig) = yes].
24132 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24133 cache on [USE_LDCONFIG].
24134 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24136 * elf/rtld.c (dl_main): Likewise.
24138 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24140 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24141 _SC_LEVEL4_CACHE_LINESIZE.
24143 2012-10-03 Roland McGrath <roland@hack.frob.com>
24145 * sysdeps/unix/bsd/confstr.h: File removed.
24147 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
24149 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24152 2012-10-02 Roland McGrath <roland@hack.frob.com>
24154 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24155 Make 'mapoff' field ElfW(Off) rather than off_t.
24157 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24159 * nscd/Makefile: Remove nscd-cflags and all its users.
24160 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24161 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24164 * malloc.c (malloc_printerr): Clarify error message.
24166 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24170 Set bit_FMA_Usable if FMA is supported.
24171 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24173 (bit_FMA4_Usable): Updated.
24174 (index_FMA_Usable): New macro.
24175 (CPUID_FMA): Likewise
24176 (HAS_FMA): Defined with bit_FMA_Usable.
24178 2012-10-01 Roland McGrath <roland@hack.frob.com>
24180 * bits/types.h (__swblk_t): Type removed.
24181 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24182 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24184 (__SWBLK_T_TYPE): Likewise.
24185 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24186 (__SWBLK_T_TYPE): Likewise.
24187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24188 (__SWBLK_T_TYPE): Likewise.
24189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24190 (__SWBLK_T_TYPE): Likewise.
24192 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24193 Honza Horak <hhorak@redhat.com>
24195 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24196 (xdr_mapname): Use YPMAXMAP as maxsize.
24197 (xdr_peername): Use YPMAXPEER as maxsize.
24198 (xdr_keydat): Use YPAXRECORD as maxsize.
24199 (xdr_valdat): Use YPMAXRECORD as maxsize.
24201 2012-10-01 Roland McGrath <roland@hack.frob.com>
24203 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24205 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24206 * csu/init-first.c: ... here.
24207 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24208 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24209 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24210 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24211 * sysdeps/i386/init-first.c: File removed.
24212 * sysdeps/sh/init-first.c: File removed.
24214 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24218 if x * y might underflow to zero and z is zero.
24219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24220 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24221 * math/libm-test.inc (min_subnorm_value): New variable.
24222 (fma_test): Add more tests.
24223 (fma_test_towardzero): Likewise.
24224 (fma_test_downward): Likewise
24225 (fma_test_upward): Likewise.
24226 (initialize): Set min_subnorm_value.
24228 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24233 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24234 mode for addition resulting in exact zero.
24235 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24238 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24240 * math/libm-test.inc (fma_test): Add more tests.
24241 (fma_test_towardzero): New function.
24242 (fma_test_downward): Likewise.
24243 (fma_test_upward): Likewise.
24244 (main): Call the new functions.
24246 2012-09-28 David S. Miller <davem@davemloft.net>
24248 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24250 2012-09-28 Roland McGrath <roland@hack.frob.com>
24252 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24253 instead of SIGALRM.
24255 * sysdeps/gnu/_G_config.h: Moved to ...
24256 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24257 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24258 * sysdeps/generic/_G_config.h: ... here.
24260 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24262 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24264 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24265 Conditionalize target on [libnss_test1.so-version].
24267 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24269 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24270 (elfobjdir): Move out of conditionals.
24272 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24273 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24274 (__nss_lookup_function): Conditionalize label remove_from_tree on
24275 [!DO_STATIC_NSS || SHARED], matching its only use.
24277 2012-09-28 David S. Miller <davem@davemloft.net>
24279 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24280 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24282 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24284 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24286 when HWCAP_SPARC_CRYPTO is present.
24288 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24290 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24292 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24295 * stdio-common/vfprintf.c (process_string_arg): Revert
24298 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24300 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24302 * stdio-common/tst-sprintf.c: Include <locale.h>
24303 (main): Test sprintf's handling of incomplete multibyte
24306 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24308 * elf/dl-runtime.c (VERSYMIDX): Removed.
24309 * elf/dl-version.c (VERSYMIDX): Likewise.
24310 * elf/do-rel.h (VERSYMIDX): Likewise.
24311 (VALIDX): Likewise.
24312 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24313 * elf/rtld.c (VALIDX): Likewise.
24314 (ADDRIDX): Likewise.
24315 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24316 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24317 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24318 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24319 (VALIDX): Likewise.
24320 (ADDRIDX): Likewise.
24322 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24324 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24326 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24329 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24331 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24332 addresses are in the same scope as 192.0.2/24.
24333 * posix/gai.conf: Document new scope table defaults.
24335 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24338 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24339 for ftell. Compute offsets from write pointers instead.
24340 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24342 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24345 * libio/Makefile (tests): New test case tst-fseek.
24346 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24347 combination works in wide mode.
24348 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24349 state when the external buffer state changes.
24351 2012-09-27 David S. Miller <davem@davemloft.net>
24354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24355 pass reloc->r_addend in as the 'high' argument to
24356 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24360 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24362 * rt/tst-aio2.c: Include <pthread.h>.
24363 * rt/tst-aio3.c: Likewise.
24365 2012-09-27 Steve Ellcey <sellcey@mips.com>
24367 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24369 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24371 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24372 contents on [SHARED].
24374 2012-09-26 Marek Polacek <polacek@redhat.com>
24378 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24379 for C++ and GCC <4.3 as well as for non GCC compilers.
24381 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24385 2012-09-25 Roland McGrath <roland@hack.frob.com>
24387 * Makefile.in (all, install): Declare with .PHONY.
24388 Reported by Michael Hope <michael.hope@linaro.org>.
24390 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24392 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24393 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24395 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24397 (sydep_routines): Add the new and the internal functions.
24398 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24399 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24401 (GLIBC_2.17): Add the new function.
24402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24403 (GLIBC_2.17): Likewise.
24404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24405 (GLIBC_2.17): Likewise.
24406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24407 (GLIBC_2.17): Likewise.
24408 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24410 2012-09-25 Alan Modra <amodra@gmail.com>
24412 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24413 Add release barrier before setting once_control to say
24414 initialisation is done. Add hints on lwarx. Use macro in
24416 (clear_once_control): Add release barrier.
24418 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24421 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24423 * math/s_clog10.c (__clog10): Likewise.
24424 * math/s_clog10f.c (__clog10f): Likewise.
24425 * math/s_clog10l.c (__clog10l): Likewise.
24426 * math/s_clogf.c (__clogf): Likewise.
24427 * math/s_clogl.c (__clogl): Likewise.
24428 * math/Makefile (libm-calls): Add x2y2m1.
24429 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24430 (__x2y2m1): Likewise.
24431 (__x2y2m1l): Likewise.
24432 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24433 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24434 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24435 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24436 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24437 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24438 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24439 * sysdeps/i386/fpu/libm-test-ulps: Update.
24440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24443 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24444 int as type of variable DEPTH.
24445 (glob): Use size_t instead of int as type of variables NEWCOUNT
24448 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24450 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24451 Add s_sincosf-sse2.
24452 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24453 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24454 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24455 macros for using routine as __sincosf_ia32.
24456 Use macro for function declaration and weak_alias.
24457 * sysdeps/i386/fpu/libm-test-ulps: Update.
24459 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24462 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24463 subnormal argument.
24464 * math/s_cexpf.c (__cexpf): Likewise.
24465 * math/s_csinf.c (__csinf): Likewise.
24466 * math/s_csinhf.c (__csinhf): Likewise.
24467 * math/s_ctanf.c (__ctanf): Likewise.
24468 * math/s_ctanhf.c (__ctanhf): Likewise.
24469 * math/s_ccosh.c (__ccoshf): Likewise.
24470 * math/s_cexp.c (__cexpl): Likewise.
24471 * math/s_csin.c (__csin): Likewise.
24472 * math/s_csinh.c (__csinh): Likewise.
24473 * math/s_ctan.c (__ctan): Likewise.
24474 * math/s_ctanh.c (ctanh): Likewise.
24475 * math/s_ccoshl.c (__ccoshl): Likewise.
24476 * math/s_cexpl.c (__cexpl): Likewise.
24477 * math/s_csinl.c (__csinl): Likewise.
24478 * math/s_csinhl.c (__csinhl): Likewise.
24479 * math/s_ctanl.c (__ctanl): Likewise.
24480 * math/s_ctanhl.c (__ctanhl): Likewise.
24482 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24484 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24485 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24486 (_IO_off_t): Define to __off_t, not _G_off_t.
24487 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24488 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24489 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24490 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24491 type of __dummy and __dummy2 fields.
24492 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24493 (_G_ssize_t): Likewise.
24494 (_G_off_t): Likewise.
24495 (_G_pid_t): Likewise.
24496 (_G_uid_t): Likewise.
24497 (_G_wchar_t): Likewise.
24498 (_G_wint_t): Likewise.
24499 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24500 (_G_ssize_t): Likewise.
24501 (_G_off_t): Likewise.
24502 (_G_pid_t): Likewise.
24503 (_G_uid_t): Likewise.
24504 (_G_wchar_t): Likewise.
24505 (_G_wint_t): Likewise.
24506 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24507 (_G_ssize_t): Likewise.
24508 (_G_off_t): Likewise.
24509 (_G_pid_t): Likewise.
24510 (_G_uid_t): Likewise.
24511 (_G_wchar_t): Likewise.
24512 (_G_wint_t): Likewise.
24514 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24516 * malloc/arena.c: Include malloc-sysdep.h.
24517 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24518 is sufficient to shrink the heap or an unmap is needed.
24519 * sysdeps/generic/malloc-sysdep.h: New file. Define
24520 new function check_may_shrink_heap.
24521 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24522 new function check_may_shrink_heap.
24524 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24526 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24529 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24531 * catgets/test-gencat.sh: Add "set -e".
24532 * elf/tst-pathopt.sh: Likewise.
24533 * grp/tst_fgetgrent.sh: Likewise.
24534 * iconvdata/run-iconv-test.sh: Likewise.
24535 * intl/tst-gettext.sh: Likewise.
24536 * intl/tst-gettext2.sh: Likewise.
24537 * intl/tst-gettext4.sh: Likewise.
24538 * intl/tst-gettext6.sh: Likewise.
24539 * intl/tst-translit.sh: Likewise.
24540 * io/ftwtest-sh: Likewise.
24541 * libio/test-freopen.sh: Likewise.
24542 * malloc/tst-mtrace.sh: Likewise.
24543 * posix/globtest.sh: Likewise.
24544 * posix/tst-getconf.sh: Likewise.
24545 * posix/wordexp-tst.sh: Likewise.
24546 * stdio-common/tst-printf.sh: Likewise.
24547 * stdio-common/tst-unbputc.sh: Likewise.
24548 * stdlib/tst-fmtmsg.sh: Likewise.
24549 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24550 * catgets/Makefile: Do not specify -e option when running
24551 testsuite shell scripts.
24552 * elf/Makefile: Likewise.
24553 * grp/Makefile: Likewise.
24554 * iconvdata/Makefile: Likewise.
24555 * intl/Makefile: Likewise.
24556 * io/Makefile: Likewise.
24557 * libio/Makefile: Likewise.
24558 * malloc/Makefile: Likewise.
24559 * posix/Makefile: Likewise.
24560 * stdio-common/Makefile: Likewise.
24561 * stdlib/Makefile: Likewise.
24562 * sysdeps/x86_64/Makefile: Likewise.
24564 * io/ftwtest-sh: Add copyright header.
24565 * posix/globtest.sh: Likewise.
24566 * posix/tst-getconf.sh: Likewise.
24567 * posix/wordexp-tst.sh: Likewise.
24568 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24570 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24573 * Makeconfig (+link): Defined as $(+link-static) if
24574 $(build-shared) isn't yes.
24575 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24577 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24579 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24582 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24583 new chunk size with MALLOC_ALIGN_MASK.
24585 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24588 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24590 (__printf_fphex): Determine rounding using get_rounding_mode and
24592 * stdio-common/tst-printf-round.c (struct hex_test): New
24594 (hex_tests): New variable.
24595 (test_hex_in_one_mode): New function.
24596 (do_test): Also run tests for hex float output.
24598 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24600 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24601 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24602 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24603 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24604 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24605 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24606 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24607 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24609 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24611 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24612 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24613 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24614 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24616 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24619 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24621 * elf/tst-rtld-load-self.sh: New test.
24622 * elf/Makefile: Run it.
24624 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24626 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24627 (tst-writev-ENV): Remove.
24628 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24630 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24632 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24634 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24636 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24638 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24640 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24641 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24642 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24645 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24648 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24649 * config.make.in (have-cpp-asm-debuginfo): Removed.
24650 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24651 * configure: Regenerated.
24653 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24656 * stdio-common/printf_fp.c: Include <stdbool.h> and
24658 (___printf_fp): Determine rounding using get_rounding_mode and
24660 * stdio-common/tst-printf-round.c: New file.
24661 * stdio-common/Makefile (tests): Add tst-printf-round.
24662 (link-libm): New variable.
24663 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24665 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24668 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24669 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24671 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24674 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24676 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24677 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24678 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24679 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24681 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24684 * include/rounding-mode.h: New file.
24685 * sysdeps/generic/get-rounding-mode.h: Likewise.
24686 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24687 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24688 (MAX_VALUE): New macro.
24689 (MIN_VALUE): Likewise.
24690 (overflow_value): New function.
24691 (underflow_value): Likewise.
24692 (round_and_return): Use overflow_value and underflow_value to
24693 determine return values in overflow and underflow cases. Use
24694 round_away to determine rounding depending on rounding mode.
24695 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24696 determine return values in overflow and underflow cases.
24697 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24698 (struct test_results): New structure.
24699 (struct test): Use struct test_results to store expected results
24700 for all rounding modes.
24701 (TEST): Include expected results for all rounding modes.
24702 (test_in_one_mode): New function.
24703 (do_test): Use test_in_one_mode to compute and check results.
24704 Check results for all rounding modes.
24705 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24708 2012-12-09 Allan McRae <allan@archlinux.org>
24710 * sysdeps/i386/fpu/libm-test-ulps: Update
24712 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24714 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24715 (_G_int32_t): Likewise.
24716 (_G_uint16_t): Likewise.
24717 (_G_uint32_t): Likewise.
24718 (_G_HAVE_BOOL): Likewise.
24719 (_G_HAVE_ATEXIT): Likewise.
24720 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24721 (_G_HAVE_IO_FILE_OPEN): Likewise.
24722 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24723 (_G_int32_t): Likewise.
24724 (_G_uint16_t): Likewise.
24725 (_G_uint32_t): Likewise.
24726 (_G_HAVE_BOOL): Likewise.
24727 (_G_HAVE_ATEXIT): Likewise.
24728 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24729 (_G_HAVE_IO_FILE_OPEN): Likewise.
24730 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24731 (_G_int32_t): Likewise.
24732 (_G_uint16_t): Likewise.
24733 (_G_uint32_t): Likewise.
24734 (_G_HAVE_BOOL): Likewise.
24735 (_G_HAVE_ATEXIT): Likewise.
24736 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24737 (_G_HAVE_IO_FILE_OPEN): Likewise.
24739 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24741 * csu/libc-tls.c: Update copyright years.
24743 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24745 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24746 [!_G_USING_THUNKS]: Remove conditional code.
24747 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24748 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24750 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24751 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24752 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24753 (_G_VTABLE_LABEL_PREFIX): Likewise.
24754 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24755 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24756 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24757 (_G_VTABLE_LABEL_PREFIX): Likewise.
24758 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24759 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24760 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24761 (_G_VTABLE_LABEL_PREFIX): Likewise.
24762 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24764 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24766 * libio/Makefile: Include ../Makeconfig before tests.
24767 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24768 only if $(build-shared) is yes.
24770 * iconv/gconv_db.c: Update copyright years.
24772 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24774 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24775 unwind info if defined PIC. Fix special cases description.
24776 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24778 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24780 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24782 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24784 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24786 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24789 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24790 (LDLIBS-tst-chk4): This.
24791 (LDFLAGS-tst-chk5): Renamed to ...
24792 (LDLIBS-tst-chk5): This.
24793 (LDFLAGS-tst-chk6): Renamed to ...
24794 (LDLIBS-tst-chk6): This.
24795 (LDFLAGS-tst-lfschk4): Renamed to ...
24796 (LDLIBS-tst-lfschk4): This.
24797 (LDFLAGS-tst-lfschk5): Renamed to ...
24798 (LDLIBS-tst-lfschk5): This.
24799 (LDFLAGS-tst-lfschk6): Renamed to ...
24800 (LDLIBS-tst-lfschk6): This.
24802 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24803 on $(common-objpfx)soversions.mk.
24805 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24808 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24811 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24813 * malloc/arena.c (arena_get_retry): New function that gets
24814 another arena for the caller to try its request on.
24815 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24816 current arena cannot fulfill the request.
24817 (__libc_memalign): Likewise.
24818 (__libc_memalign): Likewise.
24819 (__libc_pvalloc): Likewise.
24820 (__libc_calloc): Likewise.
24822 2012-09-05 John Tobey <john.tobey@gmail.com>
24825 * manual/arith.texi (Operations on Complex): Fix description
24826 of carg branch cut.
24828 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24831 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24835 * manual/memory.texi (Memory): Make order of menu items match
24838 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24840 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24841 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24842 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24844 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24846 * csu/libc-tls.c (static_dtv): Renamed to ...
24847 (_dl_static_dtv): This. Make it global.
24848 (_dl_initial_dtv): Removed.
24849 (__libc_setup_tls): Updated.
24850 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24851 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24854 2012-09-06 Petr Machata <pmachata@redhat.com>
24856 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24857 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24858 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24859 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24861 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24864 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24865 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24868 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24871 * Makeconfig (link-static-before-libc): Replace $(+prector)
24873 (link-static-after-libc): Replace $(+postctor) with
24875 (link-bounded): Replace $(+prector)/$(+postctor) with
24876 $(+prectorT)/$(+postctorT).
24877 (+prectorT): New macro.
24878 (+postctorT): Likewise.
24880 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24882 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24883 (round_str): Handle values above the maximum for IBM long double
24885 * stdlib/tst-strtod-round.c (tests): Regenerated.
24887 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24889 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24891 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24892 zarch_nohighgprs around the zarch optimized routines.
24893 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24894 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24895 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24898 2012-09-05 David S. Miller <davem@davemloft.net>
24900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24902 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24903 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24904 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24905 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24908 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24910 * malloc/arena.c: Fold copyright years.
24911 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24913 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24915 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24917 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24919 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24921 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24923 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24924 change internal state upon failure.
24926 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24928 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24929 * malloc/memusage.c (mmap): Likewise.
24930 (mmap64, mremap): Likewise. Adjust name in comment.
24932 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24934 * libio/fileops.c: Fix typos in comments.
24935 * libio/oldfileops.c: Likewise.
24936 * libio/wfileops.c: Likewise.
24938 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24941 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24942 (tst-malloc-usable-ENV): Set environment for test case.
24943 * malloc/hooks.c (malloc_check_get_size): New function to get
24945 * malloc/malloc.c (musable): Use malloc_check_get_size.
24946 * malloc/tst-malloc-usable.c: New test case.
24948 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24950 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24952 2012-09-05 Allan McRae <allan@archlinux.org>
24955 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24956 determine header location.
24957 * configure: Regenerated.
24959 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24961 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24963 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24964 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24966 (test): Regenerate.
24968 2012-09-04 David S. Miller <davem@davemloft.net>
24970 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24971 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24972 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24974 2012-09-04 Florian Weimer <fweimer@redhat.com>
24976 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24979 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24981 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24984 * libio/iogetdelim.c: Include <limits.h>.
24985 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24986 + len + 1 would overflow.
24988 2012-09-03 Andreas Jaeger <aj@suse.de>
24990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24991 * sysdeps/i386/fpu/libm-test-ulps: Update.
24993 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24995 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24996 Add s_sinf-sse2, s_conf-sse2.
24998 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24999 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25000 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25001 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25003 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25004 for using routine as __sinf_ia32.
25005 Use macro for function declaration and weak_alias.
25006 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25007 for using routine as __cosf_ia32.
25008 Use macro for function declaration and weak_alias.
25010 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25011 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25013 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25014 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25017 * math/libm-test.inc (cos_test): Add more test cases.
25018 (sin_test): Likewise.
25019 (sincos_test): Likewise.
25021 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25023 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25024 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25026 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25028 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25031 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25032 first element of the GOT.
25033 (elf_machine_load_address): Return the difference between
25034 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25036 2012-09-01 Allan McRae <allan@archlinux.org>
25039 * configure.in (AWK): Require gawk version 3.0 or later.
25040 * configure: Regenerated.
25042 2012-09-01 Joseph Myers <joseph@codesourcery.com>
25044 * sysdeps/unix/sysv/linux/kernel-features.h
25045 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25046 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25047 [__NR_clock_getres]: Make code unconditional.
25048 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25049 (clock_getcpuclockid): Remove code left unreachable by removal of
25051 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25052 code unconditional.
25053 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25054 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25055 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25056 Make code unconditional.
25057 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25058 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25059 * sysdeps/unix/sysv/linux/clock_settime.c
25060 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25062 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25063 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25065 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25068 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25069 scripts/test-installation.pl.
25071 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25072 and $ld_so_version if it is set.
25074 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25077 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25078 failure if reading from procfs failed.
25079 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25081 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25083 * sysdeps/unix/sysv/linux/kernel-features.h
25084 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25085 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25086 Remove conditional code.
25087 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25088 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25089 Remove conditional code.
25090 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25091 * sysdeps/unix/sysv/linux/i386/fxstat.c
25092 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25093 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25094 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25095 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25096 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25097 * sysdeps/unix/sysv/linux/i386/lxstat.c
25098 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25099 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25100 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25101 Remove conditional code.
25102 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25103 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25104 Remove conditional code.
25105 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25106 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25107 <kernel-features.h>.
25108 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25110 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25111 Remove conditional code.
25112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25113 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25114 Remove conditional.
25116 2012-08-27 Mike Frysinger <vapier@gentoo.org>
25119 * NEWS: Add fixed bug number.
25121 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25124 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25125 underflowing exponent in case of negative sign.
25126 * stdlib/tst-strtod-round-data: Add more tests.
25127 * stdlib/tst-strtod-round.c (tests): Regenerated.
25130 * stdlib/strtod_l.c (NDIG): Remove.
25131 (HEXNDIG): Likewise.
25132 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25133 smallest representable value.
25134 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25135 lie within an exact representation of 1/2 ulp of the result.
25136 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25138 (TENS_P9_IDX): Define unconditionally.
25139 (TENS_P9_SIZE): Likewise.
25140 (TENS_P10_IDX): Likewise.
25141 (TENS_P10_SIZE): Likewise.
25142 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25143 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25144 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25145 entries for 10^2^13 and 10^2^14.
25146 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25147 (TENS_P13_IDX): Define.
25148 (TENS_P13_SIZE): Likewise.
25149 (TENS_P14_IDX): Likewise.
25150 (TENS_P14_SIZE): Likewise.
25151 (_fpioconst_pow10): Change array size to
25152 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25154 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25155 1024]: Add entries for 10^2^13 and 10^2^14.
25156 [LAST_POW10 > _LAST_POW10]: Remove #error.
25157 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25158 (_fpioconst_pow10): Change array size to
25159 FPIOCONST_POW10_ARRAY_SIZE.
25160 * stdlib/gen-fpioconst.c: New file.
25161 * stdlib/gen-tst-strtod-round.c: Likewise.
25162 * stdlib/tst-strtod-round-data: Likewise.
25163 * stdlib/tst-strtod-round.c: Likewise.
25164 * stdlib/Makefile (tests): Add tst-strtod-round.
25167 * stdlib/strtod_l.c: Include <stdint.h>.
25168 (NDEBUG): Do not define.
25169 (round_and_return): Change EXPONENT parameter to type intmax_t.
25170 Rearrange calculations to avoid internal overflow possibilities.
25171 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25172 Rearrange calculations to avoid internal overflow possibilities.
25173 Assert that number fits inside MPNSIZE limbs.
25174 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25175 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25176 calculations and add assertions to avoid internal overflow
25177 possibilities. Add casts to avoid signed/unsigned operations.
25178 * stdlib/tst-strtod-overflow.c: New file.
25179 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25181 2012-08-25 Marek Polacek <polacek@redhat.com>
25183 * time/time.h: Fix some typos in comments.
25185 2012-08-23 Roland McGrath <roland@hack.frob.com>
25187 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25188 * posix/tst-rfc3484-2.c: Likewise.
25189 * posix/tst-rfc3484-3.c: Likewise.
25191 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25193 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25194 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25196 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25198 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25199 #include of fxstatat64.c.
25201 2012-08-22 Roland McGrath <roland@hack.frob.com>
25203 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25204 * shadow/getspent_r.c: Likewise.
25205 * shadow/getspnam.c: Likewise.
25206 * shadow/getspnam_r.c: Likewise.
25207 * gshadow/getsgent.c: Likewise.
25208 * gshadow/getsgent_r.c: Likewise.
25209 * gshadow/getsgnam.c: Likewise.
25210 * gshadow/getsgnam_r.c: Likewise.
25211 * inet/getnetbyad.c: Likewise.
25212 * inet/getnetbyad_r.c: Likewise.
25213 * inet/getnetbynm.c: Likewise.
25214 * inet/getnetbynm_r.c: Likewise.
25215 * inet/getnetent.c: Likewise.
25216 * inet/getnetent_r.c: Likewise.
25217 * inet/getproto.c: Likewise.
25218 * inet/getproto_r.c: Likewise.
25219 * inet/getprtent.c: Likewise.
25220 * inet/getprtent_r.c: Likewise.
25221 * inet/getprtname.c: Likewise.
25222 * inet/getprtname_r.c: Likewise.
25223 * inet/getrpcbyname.c: Likewise.
25224 * inet/getrpcbyname_r.c: Likewise.
25225 * inet/getrpcbynumber.c: Likewise.
25226 * inet/getrpcbynumber_r.c: Likewise.
25227 * inet/getrpcent.c: Likewise.
25228 * inet/getrpcent_r.c: Likewise.
25229 * inet/getaliasent.c: Likewise.
25230 * inet/getaliasent_r.c: Likewise.
25231 * inet/getaliasname.c: Likewise.
25232 * inet/getaliasname_r.c: Likewise.
25233 * nscd/getgrgid_r.c: Likewise.
25234 * nscd/getgrnam_r.c: Likewise.
25235 * nscd/gethstbyad_r.c: Likewise.
25236 * nscd/gethstbynm3_r.c: Likewise.
25237 * nscd/getpwnam_r.c: Likewise.
25238 * nscd/getpwuid_r.c: Likewise.
25239 * nscd/getsrvbynm_r.c: Likewise.
25240 * nscd/getsrvbypt_r.c: Likewise.
25241 * nscd/gai.c: Likewise.
25243 * configure.in (build_nscd): New substituted variable, set
25244 by --disable-build-nscd and defaults to $use_nscd.
25245 * configure: Regenerated.
25246 * config.make.in (build-nscd): New substituted variable.
25247 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25248 Change conditional to require [$(build-nscd) = yes] as well.
25249 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25252 * configure.in (use_nscd): New substituted variable, set by
25253 --disable-nscd. If enabled, define USE_NSCD.
25254 * configure: Regenerated.
25255 * config.h.in: Add USE_NSCD.
25256 * config.make.in (use-nscd): New substituted variable.
25257 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25258 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25259 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25260 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25261 (CFLAGS-getgrnam_r.c): Likewise.
25262 (CFLAGS-initgroups.c): Likewise.
25263 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25264 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25266 * inet/getnetgrent_r.c
25267 (nscd_setnetgrent): New function, broken out of ...
25268 (setnetgrent): ... here. Call it.
25269 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25270 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25271 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25272 * nscd/Makefile (routines, aux): Move definitions after include of
25273 Makeconfig. Conditionalize on [$(use-nscd) != no].
25274 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25275 Conditionalize on [USE_NSCD].
25276 (is_nscd, nscd_init_cb): Likewise.
25277 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25278 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25279 * nss/nss_db/db-init.c: Likewise.
25280 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25282 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25283 (make_request): Use it.
25284 (cache_valid_p): New function.
25285 (__check_pf): Use it.
25286 * NEWS: Add item for --disable-nscd.
25288 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25290 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25291 to support sed >= 4.2.1-20-ga9bf076.
25292 * configure: Regenerated.
25294 2012-08-22 Roland McGrath <roland@hack.frob.com>
25296 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25297 Conditionalize whole body on [IREL].
25299 2012-08-22 Jeff Law <law@redhat.com>
25302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25303 if the family is PF_UNSPEC.
25305 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25307 * Makerules (lib-version): Rename from V.
25308 (install-lib-nosubdir): Change V to lib-version.
25310 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25313 * powerpc32/power6/wcschr.c: New file.
25314 * powerpc32/power6/wcscpy.c: New file.
25315 * powerpc32/power6/wcsrchr.c: New file.
25316 * powerpc64/power6/wcschr.c: New file.
25317 * powerpc64/power6/wcscpy.c: New file.
25318 * powerpc64/power6/wcsrchr.c: New file.
25320 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25322 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25323 (two_way_short_needle): Use it.
25324 * string/strstr.c (AVAILABLE1_USES_J): Define.
25325 * string/strcasestr.c: Likewise.
25327 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25329 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25332 * NEWS: Add an entry.
25333 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25334 define their defaults.
25335 (two_way_short_needle): Detect end-of-string on-the-fly.
25336 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25337 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25338 * string/bug-strcasestr1.c: New test.
25339 * string/Makefile: Run it.
25341 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25344 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25345 the first character.
25347 2012-08-21 Roland McGrath <roland@hack.frob.com>
25349 * csu/elf-init.c (__libc_csu_irel): Function removed.
25350 * csu/libc-start.c (apply_irel): New function.
25351 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25353 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25355 * sysdeps/unix/sysv/linux/kernel-features.h
25356 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25357 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25358 <kernel-features.h>.
25359 [__NR_fadvise64_64]: Make code unconditional.
25360 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25361 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25362 !__NR_fadvise64_64)]: Likewise.
25363 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25364 !__NR_fadvise64_64))]: Likewise.
25365 [__NR_fadvise64]: Make code unconditional.
25366 [!__NR_fadvise64]: Remove conditional code.
25367 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25368 <kernel-features.h>.
25369 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25371 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25374 not include <kernel-features.h>.
25375 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25377 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25379 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25380 include <kernel-features.h>.
25381 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25383 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25386 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25388 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25389 slight instruction rearrangements per scrollpipe analysis.
25390 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25392 2012-08-20 Roland McGrath <roland@hack.frob.com>
25394 * manual/syslog.texi (syslog; vsyslog, closelog):
25395 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25396 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25398 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25399 DSOCAPS to match condition on defining it.
25401 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25403 * sysdeps/unix/sysv/linux/kernel-features.h
25404 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25406 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25407 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25409 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25410 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25412 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25413 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25415 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25416 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25418 * sysdeps/unix/sysv/linux/kernel-features.h
25419 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25420 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25422 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25423 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25424 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25425 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25426 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25427 Make code unconditional.
25428 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25429 (__mmap64) [!__NR_mmap2]: Likewise.
25430 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25431 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25432 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25433 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25434 [__NR_mmap2]: Make code unconditional.
25435 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25436 (__mmap64) [!__NR_mmap2]: Likewise.
25438 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25440 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25442 2012-08-18 Andreas Jaeger <aj@suse.de>
25444 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25446 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25448 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25449 * include/unistd.h (__have_sock_cloexec): Likewise.
25450 (__have_pipe2): Likewise.
25451 (__have_dup3): Likewise.
25453 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25456 * include/unistd.h (__have_pipe2): Change define into an extern int.
25457 (__have_dup3): Likewise.
25458 * socket/have_sock_cloexec.c: Include fcntl.h.
25459 (__have_pipe2): New variable.
25460 (__have_dup3): Likewise.
25462 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25464 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25466 2012-08-17 Marek Polacek <polacek@redhat.com>
25468 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25469 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25471 2012-08-17 Roland McGrath <roland@hack.frob.com>
25473 * configure.in: Add AC_SUBST for sysheaders.
25474 * configure: Regenerated.
25475 * config.make.in (sysheaders): New substituted variable.
25477 * sysdeps/unix/mkfifo.c: Moved ...
25478 * sysdeps/posix/mkfifo.c: ... here.
25479 * sysdeps/unix/mkfifoat.c: Moved ...
25480 * sysdeps/posix/mkfifoat.c: ... here.
25482 * sysdeps/unix/utime.c: Moved ...
25483 * sysdeps/posix/utime.c: ... here.
25485 * sysdeps/unix/time.c: Moved ...
25486 * sysdeps/posix/time.c: ... here.
25487 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25488 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25490 * sysdeps/unix/nice.c: Moved ...
25491 * sysdeps/posix/nice.c: ... here.
25493 * sysdeps/unix/alarm.c: Moved ...
25494 * sysdeps/posix/alarm.c: ... here.
25496 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25498 2012-08-17 Jeff Law <law@redhat.com>
25500 * intl/Makefile (codeset_mo): New variable.
25501 ($(codeset_mo)): New target.
25502 (tst-codeset.out): Depend on that. Remove explicit rule.
25503 (tst-gettext3.out, tst-gettext5.out): Likewise.
25504 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25505 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25506 * intl/tst-codeset.sh: Remove.
25507 * intl/tst-gettext3.sh: Likewise.
25508 * intl/tst-gettext5.sh: Likewise.
25510 2012-08-17 Roland McGrath <roland@hack.frob.com>
25512 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25513 * sysdeps/unix/syscalls.list: ... here.
25515 * sysdeps/posix/getaddrinfo.c
25516 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25517 (gaiconf_init, gaiconf_reload): Use them.
25518 [!_STATBUF_ST_NSEC]
25519 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25520 Define using time_t rather than struct timespec.
25522 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25523 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25525 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25527 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25528 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25531 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25532 __libc_cleanup_push argument.
25534 * bits/param.h: New file.
25535 * misc/sys/param.h: New file.
25536 * include/sys/param.h: New file.
25537 * misc/Makefile (headers): Add bits/param.h.
25538 * sysdeps/generic/sys/param.h: File removed.
25539 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25540 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25541 * sysdeps/mach/hurd/bits/param.h: New file.
25542 * sysdeps/mach/hurd/sys/param.h: File removed.
25544 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25547 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25549 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25550 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25553 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25554 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25555 rather than -D_IO_MTSAFE_IO conditionally.
25556 * stdio-common/Makefile (CPPFLAGS): Likewise.
25557 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25558 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25559 Use $(libio-mtsafe).
25560 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25561 of -D_IO_MTSAFE_IO.
25562 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25563 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25564 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25565 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25566 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25567 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25568 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25569 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25570 (CFLAGS-fread_u_chk.c): Likewise.
25571 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25572 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25573 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25574 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25575 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25576 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25577 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25578 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25579 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25581 * libio/Makefile: Test [$(libc-reentrant) = yes]
25582 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25585 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25586 * sysdeps/pthread/configure: File removed.
25587 * sysdeps/pthread/Makeconfig: New file.
25588 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25589 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25591 2012-08-16 Gary Benson <gbenson@redhat.com>
25593 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25594 unmapping the first object in a namespace.
25596 2012-08-16 Roland McGrath <roland@hack.frob.com>
25598 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25599 (__internal_setnetgrent): ... this. Add internal_function to
25600 definition. Add libc_hidden_def.
25601 (setnetgrent): Update caller.
25602 (internal_endnetgrent): Renamed to ...
25603 (__internal_endnetgrent): ... this. Add internal_function to
25604 definition. Add libc_hidden_def.
25605 (endnetgrent): Update caller.
25606 (internal_getnetgrent_r): Renamed to ...
25607 (__internal_getnetgrent_r): ... this. Add internal_function to
25608 definition. Add libc_hidden_def.
25609 (__getnetgrent_r): Update caller.
25610 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25612 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25614 * stdlib/longlong.h: Update from GCC.
25616 2012-08-16 Roland McGrath <roland@hack.frob.com>
25618 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25619 on _QL, which is set by umul_ppmm but never used.
25620 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25621 variables, which are set by GMP macros but never used.
25622 * stdio-common/_itowa.c (_itowa): Likewise.
25623 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25624 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25626 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25628 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25629 struct La_sh_regs is not constant.
25630 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25631 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25632 and struct La_sparc64_regs are not constant.
25634 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25636 * sysdeps/unix/sysv/linux/kernel-features.h
25637 (__ASSUME_POSIX_TIMERS): Remove.
25638 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25639 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25640 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25641 Make code unconditional.
25642 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25643 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25644 Make code unconditional.
25645 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25646 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25647 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25648 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25649 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25650 Make code unconditional.
25651 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25652 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25653 (__libc_missing_posix_timers): Remove.
25655 2012-08-15 Roland McGrath <roland@hack.frob.com>
25657 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25658 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25660 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25662 * elf/dl-sym.c: Include <stdlib.h>.
25664 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25665 constants, which avoids warnings in 32-bit builds.
25667 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25668 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25670 * misc/lseek.c: File moved to ...
25671 * io/lseek.c: ... here.
25673 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25675 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25676 shifting LEN more than 31 bits at once.
25678 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25681 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25682 segmentation fault for a case of two empty input strings.
25683 * string/test-strncasecmp.c (check1): Renamed to...
25684 (bz12205): ...this.
25685 (bz14195): Add new testcase for two empty input strings and N > 0.
25686 (test_main): Call new testcase, adapt for renamed function.
25688 2012-08-15 Andreas Jaeger <aj@suse.de>
25691 * crypt/md5test2.c: New test, based on test supplied by Serge
25692 Belyshev <belyshev@depni.sinp.msu.ru>.
25693 * crypt/Makefile (xtests): Add md5test-giant..
25694 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25696 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25699 * crypt/md5.c (md5_process_block): Don't assume the buffer
25700 length is less than 2**32.
25701 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25702 length is less than 2**64.
25704 2012-08-15 Roland McGrath <roland@hack.frob.com>
25706 * string/str-two-way.h: Include <sys/param.h>.
25707 (MAX): Macro removed.
25709 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25710 Move #define and #undef of memmove to just before and after
25711 including <string.h>.
25713 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25714 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25715 and after including <string.h>. Move declarations of
25716 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25717 to before #include "string/memmove.c".
25719 * include/dirent.h: Declare __getdirentries.
25721 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25722 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25724 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25726 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25727 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25728 * sysdeps/i386/configure: Regenerated.
25729 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25730 STABS_CURRENT_FILE, and STABS_FUN.
25731 (END): Remove call to STABS_FUN_END.
25732 (STABS_CURRENT_FILE1): Delete.
25733 (STABS_CURRENT_FILE): Likewise.
25734 (STABS_FUN): Likewise.
25735 (STABS_FUN_END): Likewise.
25736 (STABS_FUN2): Likewise.
25737 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25738 * sysdeps/x86_64/configure: Regenerated.
25740 2012-08-14 Roland McGrath <roland@hack.frob.com>
25742 * elf/dl-open.c: Include <atomic.h>.
25743 * elf/dl-lookup.c: Likewise.
25745 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25747 * sysdeps/unix/sysv/linux/kernel-features.h
25748 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25749 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25751 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25753 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25754 condition on __ASSUME_CLONE_THREAD_FLAGS.
25756 2012-08-14 Andreas Jaeger <aj@suse.de>
25758 * sysdeps/i386/fpu/libm-test-ulps: Update.
25760 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25762 * include/atomic.h (atomic_exchange_and_add): Split into ...
25763 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25766 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25770 2012-08-13 Jeff Law <law@redhat.com>
25772 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25773 null byte in the output string.
25775 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25777 * sysdeps/unix/sysv/linux/kernel-features.h
25778 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25779 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25780 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25781 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25782 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25783 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25784 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25786 2012-08-09 Jeff Law <law@redhat.com>
25789 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25790 When avoid_arena is set, don't retry in the that arena. Pick the
25791 next one, whatever it might be.
25792 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25793 (arena_lock): Pass in new parameter to arena_get2.
25794 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25796 (__libc_malloc): Unify retrying after main arena failure with
25797 __libc_memalign version.
25798 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25800 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25803 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25804 to __redirect_strstr.
25805 (__strstr_sse42): Use typeof __redirect_strstr.
25806 (__strstr_ia32): Likewise.
25807 (__libc_strstr): New prototype.
25808 (strstr): Renamed to ...
25809 (__libc_strstr): This.
25810 (strstr): New strong alias of __libc_strstr.
25811 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25812 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25815 (__libc_time): New prototype.
25816 (time_ifunc): Replace time with __libc_time.
25817 (time): New strong alias and hidden definition of __libc_time.
25818 (__GI_time): Remove strong alias.
25819 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25820 Include <stddef.h>.
25821 (memmove): Redefined to __redirect_memmove.
25822 (__memmove_sse2): Use typeof __redirect_memmove.
25823 (__memmove_ssse3): Likewise.
25824 (__memmove_ssse3_back): Likewise.
25825 (__libc_memmove): New prototype.
25826 (memmove): Renamed to ...
25827 (__libc_memmove): This.
25828 (memmove): New strong alias of __libc_memmove.
25830 2012-08-08 Mark Salter <msalter@redhat.com>
25833 (R_MN10300_TLS_GD): Define.
25834 (R_MN10300_TLS_LD): Likewise.
25835 (R_MN10300_TLS_LDO): Likewise.
25836 (R_MN10300_TLS_GOTIE): Likewise.
25837 (R_MN10300_TLS_IE): Likewise.
25838 (R_MN10300_TLS_LE): Likewise.
25839 (R_MN10300_TLS_DTPMOD): Likewise.
25840 (R_MN10300_TLS_DTPOFF): Likewise.
25841 (R_MN10300_TLS_TPOFF): Likewise.
25842 (R_MN10300_SYM_DIFF): Likewise.
25843 (R_MN10300_ALIGN): Likewise.
25844 (R_MN10300_NUM): Update.
25846 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25848 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25851 2012-08-08 Roland McGrath <roland@hack.frob.com>
25853 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25855 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25856 sysdeps/unix -> sysdeps/posix move.
25857 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25859 2012-08-07 Allan McRae <allan@archlinux.org>
25862 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25863 (SUNOS_CPP): Likewise.
25864 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25866 (open_input): Call CPP using execvp.
25868 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25870 * sysdeps/unix/sysv/linux/kernel-features.h
25871 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25872 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25873 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25874 (__ASSUME_WAITID_SYSCALL): Likewise.
25875 * sysdeps/unix/sysv/linux/dl-execstack.c
25876 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25877 code unconditional.
25878 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25880 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25881 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25882 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25884 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25886 [__ASSUME_WAITID_SYSCALL]: Likewise.
25887 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25889 2012-08-07 Roland McGrath <roland@hack.frob.com>
25891 * sysdeps/unix/closedir.c: Renamed to ...
25892 * sysdeps/posix/closedir.c: ... here.
25893 * sysdeps/unix/dirfd.c: Renamed to ...
25894 * sysdeps/posix/dirfd.c: ... here.
25895 * sysdeps/unix/dirstream.h: Renamed to ...
25896 * sysdeps/posix/dirstream.h: ... here.
25897 * sysdeps/unix/fdopendir.c: Renamed to ...
25898 * sysdeps/posix/fdopendir.c: ... here.
25899 * sysdeps/unix/opendir.c: Renamed to ...
25900 * sysdeps/posix/opendir.c: ... here.
25901 * sysdeps/unix/readdir.c: Renamed to ...
25902 * sysdeps/posix/readdir.c: ... here.
25903 * sysdeps/unix/readdir_r.c: Renamed to ...
25904 * sysdeps/posix/readdir_r.c: ... here.
25905 * sysdeps/unix/rewinddir.c: Renamed to ...
25906 * sysdeps/posix/rewinddir.c: ... here.
25907 * sysdeps/unix/seekdir.c: Renamed to ...
25908 * sysdeps/posix/seekdir.c: ... here.
25909 * sysdeps/unix/telldir.c: Renamed to ...
25910 * sysdeps/posix/telldir.c: ... here.
25911 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25912 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25913 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25914 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25916 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25917 * bits/fcntl.h: ... here.
25919 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25921 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25922 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25923 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25924 (struct flock): Move l_start, l_len to the beginning.
25925 Use __pid_t for l_pid.
25926 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25927 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25928 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25929 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25930 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25931 [__USE_LARGEFILE64] (struct flock64): New type.
25932 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25934 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25935 * bits/dirent.h: ... here.
25937 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25938 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25940 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25942 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25943 Change from 2.6.0 to 2.6.16.
25944 * sysdeps/unix/sysv/linux/configure: Regenerated.
25945 * sysdeps/unix/sysv/linux/kernel-features.h
25946 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25947 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25949 (__ASSUME_UTIMES): Likewise.
25950 (__ASSUME_CLONE_STOPPED): Remove.
25951 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25952 architectures, not kernel version.
25953 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25954 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25955 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25956 (__ASSUME_WAITID_SYSCALL): Likewise.
25957 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25958 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25959 * README: State 2.6.16 as minimum Linux kernel version. Do not
25960 refer to older versions.
25962 2012-08-06 Roland McGrath <roland@hack.frob.com>
25964 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25965 Define alphasort64 as an alias.
25966 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25967 Define versionsort64 as an alias.
25968 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25969 Define scandir64 as an alias.
25970 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25971 Define scandirat64 as an alias.
25972 * dirent/alphasort64.c (alphasort64):
25973 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25974 * dirent/versionsort64.c: Likewise.
25975 * dirent/scandir64.c: Likewise.
25976 * dirent/scandirat64.c: Likewise.
25977 * sysdeps/wordsize-64/alphasort.c: File removed.
25978 * sysdeps/wordsize-64/alphasort64.c: File removed.
25979 * sysdeps/wordsize-64/scandir.c: File removed.
25980 * sysdeps/wordsize-64/scandir64.c: File removed.
25981 * sysdeps/wordsize-64/scandirat.c: File removed.
25982 * sysdeps/wordsize-64/scandirat64.c: File removed.
25983 * sysdeps/wordsize-64/versionsort.c: File removed.
25984 * sysdeps/wordsize-64/versionsort64.c: File removed.
25985 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25986 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25987 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25988 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25989 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25990 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25991 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25992 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25994 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25996 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25998 [defined __arch64__ || defined __sparcv9]
25999 (__INO_T_MATCHES_INO64_T): New macro.
26000 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26001 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26002 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26003 * sysdeps/unix/sysv/linux/bits/dirent.h
26004 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26005 (_DIRENT_MATCHES_DIRENT64): New macro.
26007 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26008 Define lockf64 as an alias.
26009 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26010 Define fseeko64 as an alias.
26011 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26012 Define ftello64 as an alias.
26013 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26014 Define _IO_fgetpos64 and fgetpos64 as aliases.
26015 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26016 Define _IO_fsetpos64 and fsetpos64 as aliases.
26017 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26018 Conditionalize body on this.
26019 * libio/fseeko64.c: Likewise.
26020 * libio/ftello64.c: Likewise.
26021 * libio/iofgetpos64.c: Likewise.
26022 * libio/iofsetpos64.c: Likewise.
26023 * sysdeps/wordsize-64/lockf.c: File removed.
26024 * sysdeps/wordsize-64/lockf64.c: File removed.
26025 * sysdeps/wordsize-64/fseeko.c: File removed.
26026 * sysdeps/wordsize-64/fseeko64.c: File removed.
26027 * sysdeps/wordsize-64/ftello.c: File removed.
26028 * sysdeps/wordsize-64/ftello64.c: File removed.
26029 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26030 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26031 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26032 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26033 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26034 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26035 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26036 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26037 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26038 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26039 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26040 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26041 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26042 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26044 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26046 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26048 [defined __arch64__ || defined __sparcv9]
26049 (__OFF_T_MATCHES_OFF64_T): New macro.
26050 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26051 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26052 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26053 (__OFF_T_MATCHES_OFF64_T): New macro.
26055 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26057 * stdlib/secure-getenv.c (__secure_getenv): Replace
26058 GLIBC_2_16 with GLIBC_2_17.
26060 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26062 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26063 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26065 2012-08-03 David S. Miller <davem@davemloft.net>
26067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26069 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26071 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26073 (__ASSUME_CORRECT_SI_PID): Likewise.
26074 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26075 (__ASSUME_TMPFS_NAME): Likewise.
26076 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26077 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26078 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26079 (HAVE_AUX_SECURE): Make definition unconditional.
26080 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26081 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26083 2012-08-03 Roland McGrath <roland@hack.frob.com>
26085 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26086 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26087 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26088 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26089 __eloop_threshold instead of SYMLOOP_MAX.
26091 * sysdeps/generic/eloop-threshold.h: New file.
26092 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26094 * elf/chroot_canon.c (chroot_canon): Likewise.
26096 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26099 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26100 Change to 2.6.0 everywhere.
26101 * sysdeps/unix/sysv/linux/configure: Regenerated.
26102 * sysdeps/unix/sysv/linux/kernel-features.h
26103 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26104 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26106 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26107 (__ASSUME_FUTEX_REQUEUE): Remove.
26108 (__ASSUME_STATFS64): Define unconditionally.
26109 (__ASSUME_AT_SECURE): Likewise.
26110 (__ASSUME_CORRECT_SI_PID): Likewise.
26111 (__ASSUME_TGKILL): Define without depending on kernel version for
26113 (__ASSUME_UTIMES): Likewise.
26114 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26116 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26117 (__ASSUME_TMPFS_NAME): Likewise.
26118 * README: Update reference to Linux kernel versions.
26120 2012-08-02 Marek Polacek <polacek@redhat.com>
26123 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26124 libc_cv_asm_type_prefix with %.
26125 * configure: Regenerated.
26126 * include/libc-symbols.h: Remove comment about
26127 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26128 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26129 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26130 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26131 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26132 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26133 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26134 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26135 * elf/tst-unique2mod1.c: Likewise.
26136 * elf/tst-unique1mod2.c: Likewise.
26137 * elf/tst-unique1mod1.c: Likewise.
26138 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26139 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26140 Replace ASM_TYPE_DIRECTIVE with .type.
26141 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26142 * sysdeps/i386/sysdep.h: Likewise.
26143 * sysdeps/x86_64/sysdep.h: Likewise.
26144 * sysdeps/sh/sysdep.h: Likewise.
26145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26146 Do not define ASM_TYPE_DIRECTIVE.
26147 * sysdeps/powerpc/sysdep.h: Likewise.
26148 * sysdeps/powerpc/powerpc32/sysdep.h:
26149 Replace ASM_TYPE_DIRECTIVE with .type.
26150 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26151 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26152 * sysdeps/i386/fpu/e_powf.S: Likewise.
26153 * sysdeps/i386/fpu/e_expl.S: Likewise.
26154 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26155 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26156 * sysdeps/i386/fpu/e_pow.S: Likewise.
26157 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26158 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26159 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26160 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26161 * sysdeps/i386/fpu/e_log2.S: Likewise.
26162 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26163 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26164 * sysdeps/i386/fpu/e_powl.S: Likewise.
26165 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26166 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26167 * sysdeps/i386/fpu/e_logl.S: Likewise.
26168 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26169 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26170 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26171 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26172 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26173 * sysdeps/i386/fpu/e_log.S: Likewise.
26174 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26175 * sysdeps/i386/fpu/e_logf.S: Likewise.
26176 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26177 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26178 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26179 * sysdeps/i386/fpu/e_log10.S: Likewise.
26180 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26181 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26182 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26183 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26184 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26185 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26186 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26187 * sysdeps/i386/i686/strtok.S: Likewise.
26188 * sysdeps/i386/i386-mcount.S: Likewise.
26189 * sysdeps/i386/strtok.S: Likewise.
26190 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26191 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26192 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26193 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26194 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26195 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26196 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26197 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26198 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26199 * sysdeps/x86_64/_mcount.S: Likewise.
26200 * sysdeps/x86_64/strtok.S: Likewise.
26201 * sysdeps/sh/_mcount.S: Likewise.
26203 2012-08-01 Roland McGrath <roland@hack.frob.com>
26205 * libio/iofopen.c: Include <fcntl.h>.
26206 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26207 (_IO_fopen64, fopen64): Define as aliases.
26208 * libio/iofopen64.c: Include <fcntl.h>.
26209 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26210 Conditionalize body on this.
26211 * sysdeps/wordsize-64/iofopen.c: File removed.
26212 * sysdeps/wordsize-64/iofopen64.c: File removed.
26214 2012-08-01 Marek Polacek <polacek@redhat.com>
26216 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26217 Use dlfcn directly instead of a variable.
26218 (binfmt-subdir): Do not define.
26221 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26223 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26224 Remove all definitions.
26225 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26226 <kernel-features.h>.
26227 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26228 (miss_F_GETOWN_EX): Remove all definitions.
26229 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26231 [!__ASSUME_FCNTL64]: Remove conditional code.
26232 [__ASSUME_FCNTL64]: Make code unconditional.
26233 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26234 <kernel-features.h>.
26235 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26236 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26237 (lockf64) [__NR_fcntl64]: Make code unconditional.
26238 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26240 * sysdeps/unix/sysv/linux/kernel-features.h
26241 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26242 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26243 Make code unconditional.
26244 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26245 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26247 [__NR_vfork]: Make code unconditional.
26248 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26249 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26251 [__NR_vfork]: Make code unconditional.
26252 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26253 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26255 2012-08-01 Roland McGrath <roland@hack.frob.com>
26257 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26258 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26260 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26261 Define mkstemp64 as an alias.
26262 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26263 Define mkstemps64 as an alias.
26264 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26265 Define mkostemp64 as an alias.
26266 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26267 Define mkostemps64 as an alias.
26268 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26269 Conditionalize body on this.
26270 * misc/mkostemp64.c: Likewise.
26271 * misc/mkostemps64.c: Likewise.
26272 * misc/mkstemps64.c: Likewise.
26273 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26274 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26275 * sysdeps/wordsize-64/mkostemp.c: File removed.
26276 * sysdeps/wordsize-64/mkstemp.c: File removed.
26277 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26278 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26279 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26280 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26283 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26284 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26285 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26286 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26288 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26289 compat_symbol macros from <shlib-compat.h> rather than the underlying
26290 default_symbol_version and symbol_version macros, so that DEFAULT
26291 lines in shlib-versions are respected.
26292 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26294 2012-08-01 Florian Weimer <fweimer@redhat.com>
26296 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26297 Declare with warn_unused_result.
26298 (setgid, setregid, setegid, setresgid): Likewise.
26299 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26301 * WUR-REPORT: Remove set*id functions.
26303 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26305 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26307 2012-07-31 Roland McGrath <roland@hack.frob.com>
26310 * include/sys/socket.h (__libc_accept, __libc_accept4):
26311 Add attribute_hidden.
26312 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26314 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26316 * inet/getnetgrent_r.c (setup): Likewise.
26318 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26320 2012-07-31 David S. Miller <davem@davemloft.net>
26322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26324 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26327 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26328 value between 1.0 and 2.0 and smaller part has absolute value less
26330 * math/s_clog10.c (__clog10): Likewise.
26331 * math/s_clog10f.c (__clog10f): Likewise.
26332 * math/s_clog10l.c (__clog10l): Likewise.
26333 * math/s_clogf.c (__clogf): Likewise.
26334 * math/s_clogl.c (__clogl): Likewise.
26335 * math/libm-test.inc (clog_test): Add more tests.
26336 (clog10_test): Likewise.
26337 * sysdeps/i386/fpu/libm-test-ulps: Update.
26338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26340 2012-07-31 Florian Weimer <fweimer@redhat.com>
26342 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26343 Exit with zero in case no suitable GID is found, and write a
26344 message to standard error.
26346 2012-07-30 Roland McGrath <roland@hack.frob.com>
26348 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26350 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26351 (MAXPATHLEN): Removed.
26352 (NOGROUP, NODEV): New macros.
26353 (setbit, clrbit, isset, isclr): New macros.
26354 (howmany, roundup, powerof2): New macros.
26355 (DEV_BSIZE): New macro.
26357 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26358 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26360 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26361 definition on [!__NO_LONG_DOUBLE_MATH].
26363 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26364 PTR_MANGLE and PTR_DEMANGLE.
26366 * socket/accept4.c (accept4): Rename to __libc_accept4.
26367 Define accept4 as a weak alias.
26369 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26370 on [_DIRENT_HAVE_D_TYPE].
26371 * io/ftw.c (ftw_dir): Likewise.
26373 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26375 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26377 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26378 Use the BSD numbers rather than the arbitrary ones we had.
26379 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26380 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26381 (SIGXCPU, SIGXFSZ): New macros.
26384 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26385 initializer on [_LIBC_REENTRANT].
26387 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26388 definitions inside [_POSIX_MAPPED_FILES].
26390 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26392 * dirent/opendir.c: Include <fcntl.h>.
26394 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26395 (__libc_getspecific): Likewise.
26396 (__libc_key_create): Likewise.
26398 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26399 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26400 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26401 (tmpfile64): Define as alias.
26402 * sysdeps/wordsize-64/tmpfile.c: File removed.
26403 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26404 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26405 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26407 * stdio-common/vfscanf.c: Include <stdbool.h>.
26408 * nss/makedb.c: Likewise.
26409 * stdio-common/_i18n_number.h: Likewise.
26410 * argp/argp-help.c: Likewise.
26411 * posix/wordexp.c: Likewise.
26412 * sysdeps/posix/spawni.c: Likewise.
26413 * nss/nss_files/files-initgroups.c: Likewise.
26414 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26415 * nss/nss_files/files-initgroups.c: Likewise.
26416 * nss/nss_db/db-netgrp.c: Likewise.
26417 * nss/nss_db/db-initgroups.c: Likewise.
26418 * io/fchmodat.c: Include <sys/stat.h>.
26420 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26421 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26423 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26426 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26427 Add multiple inclusion protection.
26429 2012-07-27 David S. Miller <davem@davemloft.net>
26431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26433 2012-07-27 Gary Benson <gbenson@redhat.com>
26436 * elf/rtld.c: Include <stap-probe.h>.
26437 (dl_main): Added static probes "init_start" and "init_complete".
26438 * elf/dl-load.c: Include <stap-probe.h>.
26439 (lose): Take new parameter "nsid".
26440 Added static probe "map_failed".
26441 (_dl_map_object_from_fd): Pass namespace id to lose.
26442 Added static probe "map_start".
26443 (open_verify): Pass namespace id to lose.
26444 * elf/dl-open.c: Include <stap-probe.h>.
26445 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26446 and "reloc_complete".
26447 * elf/dl-close.c: Include <stap-probe.h>.
26448 (_dl_close_worker): Added static probes "unmap_start" and
26450 * elf/rtld-debugger-interface.txt: New file documenting the above.
26452 2012-07-26 Roland McGrath <roland@hack.frob.com>
26454 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26455 rather than a string variable.
26456 * sunrpc/rpc_main.c (h_output): Likewise.
26457 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26459 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26461 * inet/check_native.c: New file.
26463 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26466 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26467 if larger part has absolute value 1.0.
26468 * math/s_clog10.c (__clog10): Likewise.
26469 * math/s_clog10f.c (__clog10f): Likewise.
26470 * math/s_clog10l.c (__clog10l): Likewise.
26471 * math/s_clogf.c (__clogf): Likewise.
26472 * math/s_clogl.c (__clogl): Likewise.
26473 * math/libm-test.inc (clog_test): Add more tests.
26474 (clog10_test): Likewise.
26475 * sysdeps/i386/fpu/libm-test-ulps: Update.
26476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26478 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26479 (pltexit): Likewise.
26480 (La_regs): Likewise.
26481 (La_retval): Likewise.
26482 (int_retval): Likewise.
26483 Update #error for removed macros to refer only to definitions in
26485 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26487 (pltexit): Likewise.
26488 (La_regs): Likewise.
26489 (La_retval): Likewise.
26490 (int_retval): Likewise.
26491 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26493 (pltexit): Likewise.
26494 (La_regs): Likewise.
26495 (La_retval): Likewise.
26496 (int_retval): Likewise.
26497 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26499 (pltexit): Likewise.
26500 (La_regs): Likewise.
26501 (La_retval): Likewise.
26502 (int_retval): Likewise.
26503 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26505 (pltexit): Likewise.
26506 (La_regs): Likewise.
26507 (La_retval): Likewise.
26508 (int_retval): Likewise.
26509 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26511 (pltexit): Likewise.
26512 (La_regs): Likewise.
26513 (La_retval): Likewise.
26514 (int_retval): Likewise.
26515 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26517 (pltexit): Likewise.
26518 (La_regs): Likewise.
26519 (La_retval): Likewise.
26520 (int_retval): Likewise.
26521 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26522 macro definitions in tst-audit.h.
26523 * sysdeps/i386/tst-audit.h: New file.
26524 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26525 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26526 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26527 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26528 * sysdeps/sh/tst-audit.h: Likewise.
26529 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26530 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26531 * sysdeps/x86_64/tst-audit.h: Likewise.
26533 2012-07-26 Andreas Jaeger <aj@suse.de>
26535 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26538 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26539 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26540 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26542 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26543 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26544 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26546 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26549 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26551 (si_call_addr, si_syscall, si_arch): Define new macro.
26552 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26554 (si_call_addr, si_syscall, si_arch): Define new marcro.
26555 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26557 (si_call_addr, si_syscall, si_arch): Define new macro.
26558 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26560 (si_call_addr, si_syscall, si_arch): Define new macro.
26562 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26565 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26566 Change to 2.4.21 where previously 2.4.1.
26567 * sysdeps/unix/sysv/linux/configure: Regenerated.
26568 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26569 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26570 Linux kernel version.
26571 (__ASSUME_STD_AUXV): Remove.
26572 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26574 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26575 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26576 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26577 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26578 (__ASSUME_NETLINK_SUPPORT): Likewise.
26579 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26580 (__no_netlink_support): Remove conditional definition.
26581 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26583 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26584 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26585 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26586 (if_nameindex_ioctl): Remove.
26587 (if_nameindex_netlink): Do not handle __no_netlink_support.
26588 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26590 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26591 Remove conditional code.
26592 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26594 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26596 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26597 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26598 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26600 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26601 [!__ASSUME_STD_AUXV]: Remove conditional code.
26602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26603 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26604 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26606 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26607 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26609 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26611 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26612 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26614 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26616 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26619 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26622 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26623 code unconditional.
26624 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26626 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26628 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26631 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26633 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26636 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26637 code unconditional.
26638 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26640 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26642 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26645 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26646 code unconditional.
26647 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26649 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26651 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26654 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26656 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26657 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26658 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26659 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26660 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26661 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26662 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26663 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26664 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26665 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26666 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26667 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26668 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26669 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26670 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26671 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26672 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26673 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26674 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26676 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26677 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26678 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26680 2012-07-25 Florian Weimer <fweimer@redhat.com>
26682 * Versions.def: Add GLIBC_2.17.
26683 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26684 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26685 Introduce __libc_secure_getenv.
26686 * stdlib/Versions (2.17): Add secure_getenv
26687 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26688 * stdlib/secure-getenv.c: Rename __secure_getenv to
26689 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26690 symbol __secure_getenv for GLIBC_2.0.
26691 * stdlib/tst-secure-getenv.c: New.
26692 * stdlib/Makefile (tests): Add testcase.
26693 * manual/startup.texi (Environment Access): Document
26695 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26696 __libc_secure_getenv.
26697 * inet/ruserpass.c (ruserpass): Likewise.
26698 * malloc/mtrace.c (mtrace): Likewise.
26699 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26700 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26701 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26702 * sysdeps/posix/tempname.c: Likewise. Evaluate
26703 HAVE_SECURE_GETENV.
26704 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26705 __secure_getenv to __libc_secure_getenv.
26706 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26719 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26721 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26722 (struct La_i86_retval): Likewise.
26723 (struct La_x86_64_regs): Likewise.
26724 (struct La_x86_64_retval): Likewise.
26725 (struct La_x32_regs): Likewise.
26726 (struct La_x32_retval): Likewise.
26727 (struct La_ppc32_regs): Likewise.
26728 (struct La_ppc32_retval): Likewise.
26729 (struct La_ppc64_regs): Likewise.
26730 (struct La_ppc64_retval): Likewise.
26731 (struct La_sh_regs): Likewise.
26732 (struct La_sh_retval): Likewise.
26733 (struct La_s390_32_regs): Likewise.
26734 (struct La_s390_32_retval): Likewise.
26735 (struct La_s390_64_regs): Likewise.
26736 (struct La_s390_64_retval): Likewise.
26737 (struct La_sparc32_regs): Likewise.
26738 (struct La_sparc32_retval): Likewise.
26739 (struct La_sparc64_regs): Likewise.
26740 (struct La_sparc64_retval): Likewise.
26741 (struct audit_ifaces): Remove architecture-specific pltenter and
26743 * sysdeps/i386/ldsodefs.h: New file.
26744 * sysdeps/powerpc/ldsodefs.h: Likewise.
26745 * sysdeps/s390/ldsodefs.h: Likewise.
26746 * sysdeps/sh/ldsodefs.h: Likewise.
26747 * sysdeps/sparc/ldsodefs.h: Likewise.
26748 * sysdeps/x86_64/ldsodefs.h: Likewise.
26750 2012-07-25 Marek Polacek <polacek@redhat.com>
26753 * math/libm-test.inc (yn_test): Add another test.
26754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26755 to ERANGE when the result is +-Inf.
26756 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26757 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26758 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26759 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26761 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26763 * conform/data/time.h-data (NULL): Use macro-constant. Require
26765 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26767 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26769 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26771 * configure.in <sysdeps resolving>: Correct printing
26773 * configure: Regenerate.
26775 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26777 * math/w_ilogb.c: Include <limits.h>.
26778 * math/w_ilogbl.c: Likewise.
26780 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26782 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26783 va_copy. Document allowing for unavailable va_copy only as
26784 pre-C99 compatibility.
26785 * manual/string.texi (Copying and Concatenation): Use va_copy
26786 instead of __va_copy in concat example.
26788 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26790 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26791 (__sendto): Use create_address_port. Initialize APORT and deallocate
26794 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26795 with O_NOLINK passed to __file_name_lookup.
26797 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26798 with O_NOLINK passed to __file_name_lookup.
26800 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26801 negative N or less than NGIDS.
26803 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26804 type to string_t. Set ERANGE as errno and return it if NAME is not big
26805 enough. Use memcpy instead of strncpy.
26807 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26809 * elf/Makefile (check-data): Remove.
26810 (localplt.data): New vpath directive.
26811 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26812 instead of $(check-data).
26813 * scripts/data/localplt-generic.data: Move to ...
26814 * sysdeps/generic/localplt.data: ... here.
26815 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26816 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26817 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26820 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26823 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26826 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26829 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26832 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26836 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26838 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26839 PPC32 and PPC64 files.
26840 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26841 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26843 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26845 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26846 __makecontext_ret to ...
26847 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26848 ... here and call exit if uc_link is NULL. New file.
26849 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26850 __makecontext_ret.S.
26851 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26852 __makecontext_ret to ...
26853 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26854 ... here and call exit if uc_link is NULL. New file.
26855 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26856 __makecontext_ret.S.
26858 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26860 * elf/elf.h (R_390_IRELATIVE): New definition.
26861 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26862 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26863 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26864 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26865 (elf_machine_lazy_rel): Likewise.
26866 * sysdeps/s390/dl-irel.h: New file.
26867 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26868 * sysdeps/s390/s390-64/memset.S: New asm code.
26869 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26870 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26871 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26872 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26873 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26874 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26875 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26876 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26877 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26878 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26879 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26880 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26881 * sysdeps/s390/s390-32/memset.S: New asm code.
26882 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26884 2012-07-17 Marek Polacek <polacek@redhat.com>
26887 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26888 * sysdeps/s390/s390-64/configure.in: Likewise.
26889 * sysdeps/sparc/configure.in: Likewise.
26890 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26891 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26892 * sysdeps/i386/configure.in: Likewise.
26893 * sysdeps/x86_64/configure.in: Likewise.
26894 * sysdeps/sh/configure.in: Likewise.
26895 * sysdeps/s390/s390-32/configure: Regenerated.
26896 * sysdeps/s390/s390-64/configure: Likewise.
26897 * sysdeps/x86_64/configure: Likewise.
26898 * sysdeps/sh/configure: Likewise.
26899 * sysdeps/powerpc/powerpc64/configure: Likewise.
26900 * sysdeps/powerpc/powerpc32/configure: Likewise.
26901 * sysdeps/sparc/configure: Likwise.
26902 * sysdeps/i386/configure: Likewise.
26904 * elf/dl-open.c: Comment fixes.
26906 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26908 * Makefile [CXX] (check-data): Remove.
26909 [CXX] (c++-types.data): New vpath directive.
26910 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26911 vpath. Do not allow for C++ type data being missing.
26912 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26913 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26914 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26915 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26916 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26917 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26918 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26921 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26924 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26927 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26930 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26933 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26936 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26939 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26942 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26943 definitions to architecture-specific files.
26944 (TLS_IE): Likewise.
26945 (TLS_LD): Likewise.
26946 (TLS_GD): Likewise.
26947 * sysdeps/i386/tls-macros.h: New file.
26948 * sysdeps/powerpc/tls-macros.h: Likewise.
26949 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26950 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26951 * sysdeps/sh/tls-macros.h: Likewise.
26952 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26953 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26954 * sysdeps/x86_64/tls-macros.h: Likewise.
26956 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26958 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26959 zero value for regular exit case.
26961 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26962 (__start_context): Preserve zero value for regular exit case.
26964 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26965 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26967 * manual/setjmp.texi (setcontext): Clarify normal process
26968 termination when uc_link is the null pointer.
26969 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26972 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26974 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26975 preprocessor. Test for each exception mask separately.
26977 2012-07-16 Andreas Jaeger <aj@suse.de>
26979 * po/ru.po: Update from translation team.
26981 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26983 * conform/data/string.h-data (NULL): Use macro-constant. Require
26985 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26986 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26987 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26988 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26991 2012-07-13 Andreas Jaeger <aj@suse.de>
26993 * po/fr.po: Update from translation team.
26995 2012-07-12 Marek Polacek <polacek@redhat.com>
26998 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26999 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27002 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27005 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27006 Change to 2.4.1 where previously 2.4.0.
27007 * sysdeps/unix/sysv/linux/configure: Regenerated.
27008 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27009 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27011 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27012 (__ASSUME_AT_CLKTCK): Remove.
27013 (__ASSUME_AT_PAGESIZE): Likewise.
27014 (__ASSUME_AT_XID): Likewise.
27015 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27016 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27017 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27019 (HAVE_AUX_PAGESIZE): Likewise.
27020 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27021 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27022 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27024 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27028 the temporary buffer used to invoke __gethostbyname2_r,
27029 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27030 host_data / struct gaih_addrtuple.
27031 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27032 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27033 header file nss/nsswitch.h.
27034 * nss/nsswitch.h (global scope): Add definition of implementation
27035 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27036 resolv/nss_dns/dns-host.c).
27038 2012-07-11 Andreas Jaeger <aj@suse.de>
27040 * po/fr.po: Update from translation team.
27042 * po/sv.po: Update from translation team
27043 * po/fr.po: Another update from translation team.
27045 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27047 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27048 for subnormals or multiply small sinh result by itself.
27049 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27052 2012-07-11 David S. Miller <davem@davemloft.net>
27054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27056 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27059 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27060 (INTERNAL_MARK): Shift it here.
27062 2012-07-10 Marek Polacek <polacek@redhat.com>
27065 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27066 libc_cv_asm_global_directive with .globl.
27067 * configure: Regenerated.
27068 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27070 * sysdeps/i386/configure: Regenerated.
27071 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27073 * sysdeps/x86_64/configure: Regenerated.
27074 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27075 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27076 * elf/tst-unique2mod2.c: Likewise.
27077 * elf/tst-unique2mod1.c: Likewise.
27078 * elf/tst-unique1mod2.c: Likewise.
27079 * elf/tst-unique1mod1.c: Likewise.
27080 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27081 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27082 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27083 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27084 * sysdeps/mach/sysdep.h: Likewise.
27085 * sysdeps/i386/sysdep.h: Likewise.
27086 * sysdeps/i386/i386-mcount.S: Likewise.
27087 * sysdeps/x86_64/_mcount.S: Likewise.
27088 * sysdeps/x86_64/sysdep.h: Likewise.
27089 * sysdeps/sh/_mcount.S: Likewise.
27090 * sysdeps/sh/sysdep.h: Likewise.
27091 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27092 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27093 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27094 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27095 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27096 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27097 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27098 * locale/localeinfo.h: Likewise.
27099 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27100 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27102 2012-07-09 Roland McGrath <roland@hack.frob.com>
27105 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27107 * manual/message.texi (The Uniforum approach): Likewise.
27108 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27109 (glibc iconv Implementation): Likewise.
27111 2012-07-09 Joseph Myers <joseph@codesourcery.com>
27114 * math/s_clog.c (__clog): Avoid scaling a value down where that
27115 could result in underflow.
27116 * math/s_clog10.c (__clog10): Likewise.
27117 * math/s_clog10f.c (__clog10f): Likewise.
27118 * math/s_clog10l.c (__clog10l): Likewise.
27119 * math/s_clogf.c (__clogf): Likewise.
27120 * math/s_clogl.c (__clogl): Likewise.
27121 * math/libm-test.inc (clog_test): Add more tests.
27122 (clog10_test): Likewise.
27123 * sysdeps/i386/fpu/libm-test-ulps: Update.
27124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27126 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27129 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27130 by 7 not 8 to examine high bit of fractional part.
27133 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27134 for call to __mcount_internal.
27135 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27136 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27137 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27139 2012-07-06 Joseph Myers <joseph@codesourcery.com>
27142 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27143 approximation for values within 0x1p-13f of an odd multiple of
27145 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27146 exception. Add more tests.
27147 * sysdeps/i386/fpu/libm-test-ulps: Update.
27150 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27151 inputs and return -1 for them. Do not check for +Inf in case not
27152 reachable for +Inf.
27153 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27154 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27155 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27156 and return -1 for them. Do not check for +Inf in case not
27157 reachable for +Inf.
27158 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27160 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27161 and return -1 for them. Do not check for +Inf in case not
27162 reachable for +Inf.
27163 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27164 spurious underflow.
27165 * sysdeps/i386/fpu/libm-test-ulps: Update.
27166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27168 2012-07-06 Mike Frysinger <vapier@gentoo.org>
27170 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27172 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27176 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27177 could result in spurious underflow. Scale down values above
27178 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27179 * math/s_csqrtf.c (__csqrtf): Likewise.
27180 * math/s_csqrtl.c (__csqrtl): Likewise.
27181 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27182 spurious underflow.
27183 * sysdeps/i386/fpu/libm-test-ulps: Update.
27184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27186 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27188 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27190 * catgets/xopen-msg.awk: New file.
27191 * catgets/xopen-msg.sed: Removed.
27193 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27195 * intl/po2test.awk: New file.
27196 * intl/po2test.sed: Removed.
27198 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27201 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27202 or multiply small sinh result by itself.
27203 * math/s_ctanf.c (__ctanf): Likewise.
27204 * math/s_ctanh.c (__ctanh): Likewise.
27205 * math/s_ctanhf.c (__ctanhf): Likewise.
27206 * math/s_ctanhl.c (__ctanhl): Likewise.
27207 * math/s_ctanl.c (__ctanl): Likewise.
27208 * math/libm-test.inc (ctan_test_tonearest): New function.
27209 (ctan_test_towardzero): Likewise.
27210 (ctan_test_downward): Likewise.
27211 (ctan_test_upward): Likewise.
27212 (ctanh_test_tonearest): Likewise.
27213 (ctanh_test_towardzero): Likewise.
27214 (ctanh_test_downward): Likewise.
27215 (ctanh_test_upward): Likewise.
27216 (main): Call these new functions.
27217 * sysdeps/i386/fpu/libm-test-ulps: Update.
27218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27220 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27222 * .gitignore: Delete /ports entry.
27224 2012-07-03 Andreas Jaeger <aj@suse.de>
27226 * po/bg.po: Update from translation team.
27227 * po/cs.po: Likewise.
27228 * po/de.po: Likewise.
27229 * po/hr.po: Likewise.
27230 * po/nl.pl: Likewise.
27231 * po/pl.po: Likewise.
27232 * po/vi.po: Likewise.
27234 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27236 * Makeconfig [!+link] (+link-before-libc): New variable.
27237 [!+link] (+link-after-libc): Likewise.
27238 [!+link] (+link-tests): Likewise.
27239 [!+link] (+link): Define in terms of $(+link-before-libc) and
27240 $(+link-after-libc).
27241 [!+link-static] (+link-static-before-libc): New variable.
27242 [!+link-static] (+link-static-after-libc): Likewise.
27243 [!+link-static] (+link-static-tests): Likewise.
27244 [!+link-static] (+link-static): Define in terms of
27245 $(+link-static-before-libc) and $(+link-static-after-libc).
27246 [build-shared] (link-libc-before-gnulib): New variable.
27247 [build-shared] (link-libc-tests): Likewise.
27248 [build-shared] (link-libc): Define in terms of
27249 $(link-libc-before-gnulib).
27250 [!build-shared] (link-libc-tests): New variable.
27251 (link-libc-static-tests): New variable.
27252 [!gnulib] (gnulib-arch): New variable.
27253 [!gnulib] (gnulib-tests): Likewise.
27254 [!gnulib] (static-gnulib-arch): Likewise.
27255 [!gnulib] (static-gnulib-tests): Likewise.
27256 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27257 Define with "=" instead of ":=".
27258 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27259 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27260 * Rules (binaries-all-notests): New variable.
27261 (binaries-all-tests): Likewise.
27262 (binaries-static-notests): Likewise.
27263 (binaries-static-tests): Likewise.
27264 (binaries-all): Define using $(binaries-all-notests) and
27265 $(binaries-all-tests).
27266 (binaries-static): Define using $(binaries-static-notests) and
27267 $(binaries-static-tests).
27268 (binaries-shared-tests): New variable.
27269 (binaries-shared-notests): Likewise.
27270 (binaries-shared): Remove variable.
27271 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27272 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27273 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27274 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27275 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27276 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27277 * elf/Makefile (sln-modules): New variable.
27278 (extra-objs): Add $(sln-modules:=.o).
27279 (ldconfig-modules): Add static-stubs.
27280 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27281 * elf/static-stubs.c: New file.
27284 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27285 by 7 not 8 to examine high bit of fractional part. Use volatile
27286 variables when splitting into final array of floats if
27287 __FLT_EVAL_METHOD__ != 0.
27288 * math/libm-test.inc (cos_test): Add another test.
27289 (sin_test): Likewise.
27290 * sysdeps/i386/fpu/libm-test-ulps: Update.
27293 * math/libm-test.inc (cosh_test): Add more tests.
27295 * version.h (RELEASE): Set to "development".
27296 (VERSION): Set to "2.16.90".
27298 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27300 * NEWS: Update copyright. Remove last-updated date.
27301 Mention math library bug fixes and timezone data changes.
27302 * README: Mention GNU/Hurd, x32, and HPPA support status.
27304 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27306 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27308 2012-06-27 Andreas Jaeger <aj@suse.de>
27310 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27312 2012-06-25 Andreas Jaeger <aj@suse.de>
27314 * sysdeps/s390/fpu/libm-test-ulps: Update.
27316 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27317 Thomas Schwinge <thomas@codesourcery.com>
27319 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27320 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27321 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27324 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27326 * sysdeps/mach/start.c: Remove file.
27327 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27328 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27329 * sysdeps/sh/init-first.c: Likewise.
27331 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27332 registers for frame unwinding purposes, add CFI directives.
27333 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27334 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27335 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27338 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27339 __fortify_fail returning.
27340 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27342 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27343 sysdeps/sh/____longjmp_chk.S.
27344 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27345 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27346 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27347 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27349 * sysdeps/sh/abort-instr.h: New file.
27350 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27351 process in case exit returns.
27353 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27354 initialize the GOT register before use.
27356 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27357 calculation of ARGC > 4.
27359 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27360 meaningful names to some local labels.
27362 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27363 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27365 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27366 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27367 (__arch_compare_and_exchange_val_16_acq): Likewise.
27368 (__arch_compare_and_exchange_val_32_acq): Likewise.
27369 (atomic_exchange_and_add): Fix gUSA sequence.
27370 (atomic_add): Likewise.
27371 (atomic_add_negative): Likewise.
27372 (atomic_add_zero): Likewise.
27373 (atomic_bit_test_set): Likewise.
27375 2012-06-22 Andreas Schwab <schwab@redhat.com>
27378 * include/link.h (struct link_map): Add l_free_initfini.
27379 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27381 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27382 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27383 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27386 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27388 * configure.in: Use AC_LANG_SOURCE.
27389 * configure: Regenerate.
27391 2012-06-22 Roland McGrath <roland@hack.frob.com>
27393 * configure.in (libc_cv_localstatedir): New substituted variable.
27394 * configure: Regenerated.
27395 * config.make.in (localstatedir): New variable, substituted from
27396 libc_cv_localstatedir.
27397 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27398 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27399 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27400 * sysdeps/gnu/configure: Regenerated.
27402 2012-06-21 Jeff Law <law@redhat.com>
27405 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27406 free. Simplify list management for _LIBC case.
27408 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27411 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27412 Clear sign bit of 64-bit integer value before comparing against
27415 * sysdeps/mach/configure: Regenerated.
27417 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27420 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27422 2012-06-21 Jeff Law <law@redhat.com>
27425 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27426 uint16_t for elements in the "seen" array to avoid char overflows.
27427 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27428 * elf/dl-open.c (dl_open_worker): Likewise.
27430 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27432 * scripts/list-sources.sh: Scan PORTS for translations.
27433 * po/libc.pot: Regenerated.
27435 2012-06-21 Andreas Jaeger <aj@suse.de>
27438 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27440 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27441 * bits/byteswap-16.h (__bswap_16): Likewise.
27442 * bits/byteswap.h (__bswap_constant_16): Likewise.
27444 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27447 * sysdeps/i386/fpu_control.h: Removed.
27448 * sysdeps/x86_64/fpu_control.h: Moved to ...
27449 * sysdeps/x86/fpu_control.h: Here.
27451 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27452 (_FPU_SETCW): Likewise.
27454 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27457 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27458 * sysdeps/x86/fpu/bits/mathinline.h: This.
27459 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27463 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27464 functions if __x86_64__ is defined.
27466 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27468 * string/endian.h: Add !__ASSEMBLER__ condition for including
27469 conversion interfaces.
27471 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27474 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27475 of ABS(x) in calculating zero to negative powers other than odd
27477 * math/libm-test.inc (pow_test): Add more tests.
27479 2012-06-15 Andreas Jaeger <aj@suse.de>
27481 * manual/contrib.texi (Contributors): Update entry of Liubov
27482 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27485 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27487 * string/string.h: Add __wur to GNU version of strerror_r.
27489 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27492 * string/Makefile (tests): Add tst-strtok_r.
27493 * string/tst-strtok_r.c: New file.
27494 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27495 RAX_LP/RDX_LP on SAVE_PTR.
27497 2012-06-14 Roland McGrath <roland@hack.frob.com>
27499 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27501 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27503 * libm_test.inc (csqrt_test): Allow more spurious underflow
27505 (j0_test): Likewise.
27506 (j1_test): Likewise.
27507 (y0_test): Likewise.
27508 (y1_test): Likewise.
27510 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27512 * po/Makefile (libc.pot): Use UTF-8 charset.
27514 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27517 Suppress sign-conversion warning from FD_SET.
27518 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27519 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27520 not unsigned long int.
27521 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27523 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27527 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27528 __extern_always_inline instead of __extern_inline.
27529 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27530 (__signbit): Likewise.
27531 (__signbitl): Support C++ namespace.
27532 (lrintf): New inline function.
27534 (llrintf): Likewise.
27535 (llrint): Likewise.
27545 (floorf): Likewise.
27546 (nearbyint): Likewise.
27547 (nearbyintf): Likewise.
27549 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27551 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27552 non-default versions.
27554 2012-06-11 Roland McGrath <roland@hack.frob.com>
27557 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27559 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27561 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27562 (FE_UPWARD, FE_DOWNWARD): Don't define.
27563 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27564 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27566 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27568 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27569 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27571 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27573 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27574 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27575 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27576 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27578 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27581 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27582 * sysdeps/i386/fpu/Implies: New file.
27583 * sysdeps/x86_64/fpu/Implies: Likewise.
27584 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27585 * sysdeps/x86/fpu/bits/fenv.h: This.
27587 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27590 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27593 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27594 character 0xffff that matches the last element of the
27597 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27602 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27605 values higher than 25.6283.
27607 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27609 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27610 subnormal exponent extraction and add some __builtin_expect.
27611 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27612 Fix for subnormal mantissa calculation.
27614 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27616 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27617 cpu2 is -1 and errno is not ENOSYS.
27619 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27622 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27623 * sysdeps/x86/bits/string.h: This.
27624 * sysdeps/x86_64/bits/string.h: Removed.
27626 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27627 if not compiling for x86-64, but compiling for >= i486.
27629 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27630 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27632 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27633 New macro from Linux kernel 3.4.0.
27634 (FP_XSTATE_MAGIC2): Likewise.
27635 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27636 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27637 (struct _fpx_sw_bytes): New struct.
27638 (struct _xsave_hdr): Likewise.
27639 (struct _ymmh_state): Likewise.
27640 (struct _xstate): Likewise.
27642 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27643 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27644 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27645 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27646 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27647 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27649 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27650 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27651 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27652 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27653 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27654 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27656 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27659 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27660 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27661 (sysdep_headers): Include sys/platform/ppc.h.
27662 * sysdeps/powerpc/test-gettimebase.c: Test for
27663 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27664 * manual/Makefile (appendices): Include platform.texi.
27665 * manual/contrib.texi (Contributors): Update @node pointers.
27666 * manual/maint.texi (Maintenance): Likewise.
27667 (Platform): New node.
27668 * manual/platform.texi: New file. Document the new features.
27670 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27671 Jakub Jelinek <jakub@redhat.com>
27674 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27675 where __builtin_expect is unavailable.
27677 2012-06-03 David S. Miller <davem@davemloft.net>
27679 * stdlib/longlong.h: Updated from GCC.
27681 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27684 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27685 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27688 (GLIBC_2.16): Likewise.
27690 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27692 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27694 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27697 (default-abi): New variable.
27698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27699 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27701 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27703 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27705 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27708 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27709 definition. Document in comment.
27711 2012-06-01 David S. Miller <davem@davemloft.net>
27713 * stdlib/longlong.h: Updated from GCC.
27715 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27718 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27719 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27720 sys/debugreg.h sys/io.h here.
27721 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27722 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27724 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27725 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27726 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27727 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27728 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27729 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27731 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27732 Define only if __x86_64__ is defined.
27734 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27737 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27738 Use int64_t for variable i.
27739 * math/libm-test.inc (fmod_test): Add more tests.
27741 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27742 z computation is not scheduled after fetestexcept.
27743 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27744 Use math_force_eval instead of asm to ensure calculation scheduled
27745 before exception test.
27746 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27747 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27749 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27752 computation is not scheduled after fetestexcept.
27754 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27757 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27758 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27760 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27762 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27763 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27765 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27768 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27770 (__WCHAR_MIN): Support __WORDSIZE == 64.
27771 (__WCHAR_MAX): Likewise.
27773 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27774 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27777 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27778 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27781 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27782 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27784 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27785 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27787 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27788 Defined to 1 if __x86_64__ isn't defined.
27789 (_STAT_VER_LINUX_OLD): New.
27790 (st_atime): Remove duplicate.
27791 (st_mtime): Likewise.
27792 (st_ctime): Likewise.
27794 2012-05-31 David S. Miller <davem@davemloft.net>
27796 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27799 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27801 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27805 * elf/dl-reloc.c: Include <_itoa.h>.
27806 (_dl_reloc_bad_type): Remove use of INTUSE.
27807 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27808 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27809 * stdio-common/psiginfo.c (psiginfo): Likewise.
27810 * stdio-common/psignal.c (psignal): Likewise.
27811 * string/strsignal.c (strsignal): Likewise.
27812 * include/signal.h (_sys_siglist): Declare hidden proto.
27813 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27814 INTVARDEF with libc_hidden_data_def.
27815 * stdio-common/itoa-udigits.c: Likewise.
27816 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27817 (_itoa_lower_digits_internal): Remove declaration.
27818 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27819 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27820 (_sys_sigabbrev_internal): Remove aliases.
27821 (_sys_siglist): Define hidden alias.
27823 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27828 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27831 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27832 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27834 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27835 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27836 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27837 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27838 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27839 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27841 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27842 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27843 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27845 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27853 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27854 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27855 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27857 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27858 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27859 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27860 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27861 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27862 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27864 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27865 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27867 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27868 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27870 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27871 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27872 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27874 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27875 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27877 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27879 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27880 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27881 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27883 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27885 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27887 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27889 * math/math.h (M_El): Use two more decimal places.
27890 (M_LOG2El): Likewise.
27891 (M_LOG10El): Likewise.
27892 (M_LN2l): Likewise.
27893 (M_LN10l): Likewise.
27895 (M_PI_2l): Likewise.
27896 (M_PI_4l): Likewise.
27897 (M_1_PIl): Likewise.
27898 (M_2_PIl): Likewise.
27899 (M_2_SQRTPIl): Likewise.
27900 (M_SQRT2l): Likewise.
27901 (M_SQRT1_2l): Likewise.
27903 2012-05-31 David S. Miller <davem@davemloft.net>
27905 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27906 values between float registers.
27907 * sysdeps/sparc/sparc64/memset.S: Likewise.
27908 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27910 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27912 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27913 -D_FORTIFY_SOURCE=1.
27914 (CPPFLAGS-tst-longjmp_chk.c): Define.
27915 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27916 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27917 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27918 CFLAGS-tst-wchar-h.c.
27920 2012-05-31 Marek Polacek <polacek@redhat.com>
27923 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27924 __endmntent_internal): Remove declaration.
27925 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27926 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27927 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27929 2012-05-30 David S. Miller <davem@davemloft.net>
27931 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27932 (___Q_simulate_exceptions): Use real FP ops rather than writing
27934 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27937 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27940 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27941 * sysdeps/x86/bits/xtitypes.h: This.
27943 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27944 * sysdeps/x86/bits/wordsize.h: This.
27946 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27947 * sysdeps/x86/bits/huge_vall.h: This.
27949 * sysdeps/i386/bits/select.h: Removed.
27950 * sysdeps/x86_64/bits/select.h: Renamed to ...
27951 * sysdeps/x86/bits/select.h: This.
27953 * sysdeps/i386/bits/setjmp.h: Removed.
27954 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27955 * sysdeps/x86/bits/setjmp.h: This.
27957 * sysdeps/i386/bits/mathdef.h: Removed.
27958 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27959 * sysdeps/x86/bits/mathdef.h: This.
27961 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27964 * include/sys/socket.h (__connect_internal)
27965 (__libc_sa_len_internal): Remove declaration.
27966 (__connect, __libc_sa_len): Declare hidden_proto.
27967 (SA_LEN): Remove use of INTUSE.
27968 * socket/connect.c: Add libc_hidden_def.
27969 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27970 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27971 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27973 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27974 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27975 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27976 of adding _internal alias.
27978 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27981 * sysdeps/i386/bits/link.h: Removed.
27982 * sysdeps/i386/bits/linkmap.h: Likewise.
27983 * sysdeps/x86_64/bits/link.h: Renamed to ...
27984 * sysdeps/x86/bits/link.h: This.
27985 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27986 * sysdeps/x86/bits/linkmap.h: This.
27988 * sysdeps/i386/bits/endian.h: Removed.
27989 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27990 * sysdeps/x86/bits/endian.h: This.
27992 * sysdeps/i386/bits/byteswap.h: Removed.
27993 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27994 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27995 * sysdeps/x86/bits/byteswap.h: This.
27996 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27997 * sysdeps/x86/bits/byteswap-16.h: This.
27998 * sysdeps/i386/Implies: Add x86.
27999 * sysdeps/x86_64/Implies: Likewise.
28001 2012-05-30 David S. Miller <davem@davemloft.net>
28003 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28004 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28005 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28006 (FP_TRAPPING_EXCEPTIONS): Define.
28007 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28008 (FP_TRAPPING_EXCEPTIONS): Define.
28009 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28010 subnormals only when inexact has been signalled or underflow
28011 exceptions are enabled.
28012 (_FP_PACK_CANONICAL): Likewise.
28014 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28018 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28020 2012-05-30 Richard Henderson <rth@twiddle.net>
28022 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28023 with #ifndef NOT_IN_libc.
28025 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28026 marked to avoid plt entry.
28028 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28031 * Makeconfig (default-abi): New macro.
28032 (abi-includes): Likewise.
28033 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28034 $(abi-$(default-abi)-lib-soname) for soname if defined.
28035 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28037 * Makefile (installed-stubs): Likewise.
28038 * include/stubs-biarch.h: Removed.
28039 * scripts/lib-names.awk: Only handle one library at a time.
28040 * scripts/soversions.awk: Remove WORDSIZE support.
28041 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28043 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28045 (syscall-list-default-condition): Likewise.
28046 (syscall-list-default-condition): Likewise.
28047 (syscall-list-includes): Likewise.
28048 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28049 syscall-list-* with abi-*. Handle undefined abi-variants.
28050 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28051 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28052 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28053 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28054 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28055 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28057 (syscall-list-32-options): Likewise.
28058 (syscall-list-32-condition): Likewise.
28059 (syscall-list-64-options): Likewise.
28060 (syscall-list-64-condition): Likewise.
28061 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28063 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28066 (abi-64-ld-soname): New macro.
28067 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28068 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28071 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28072 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28074 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28076 * sysdeps/unix/sysv/linux/kernel-features.h
28077 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28078 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28079 include <kernel-features.h>.
28080 [!__NR_ftruncate64]: Remove conditional code.
28081 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28082 [__NR_ftruncate64]: Make code unconditional.
28083 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28084 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28085 include <kernel-features.h>.
28086 [!__NR_ftruncate64]: Remove conditional code.
28087 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28088 [__NR_ftruncate64]: Make code unconditional.
28089 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28091 include <kernel-features.h>.
28092 [!__NR_ftruncate64]: Remove conditional code.
28093 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28094 [__NR_ftruncate64]: Make code unconditional.
28095 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28097 include <kernel-features.h>.
28098 [!__NR_ftruncate64]: Remove conditional code.
28099 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28100 [__NR_ftruncate64]: Make code unconditional.
28101 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28103 * configure.in (libc_cv_fpie): Weaken to a compile test using
28104 LIBC_TRY_CC_OPTION.
28105 * configure: Regenerated.
28107 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28122 2012-05-27 David S. Miller <davem@davemloft.net>
28124 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28126 (__Q_simulate_exceptions): Return void. Change to simulate
28127 exceptions by writing into the %fsr.
28128 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28129 (__Qp_handle_exceptions): Likewise.
28131 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28132 __Qp_handle_exceptions.
28133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28134 __Qp_handle_exceptions.
28135 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28136 as unused and give dummy FP_RND_NEAREST initializer.
28137 (FP_INHIBIT_RESULTS): Define.
28138 (___Q_simulate_exceptions): Update declaration.
28139 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28141 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28142 as unused and give dummy FP_RND_NEAREST initializer.
28143 (__Qp_handle_exceptions): Update declaration.
28144 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28147 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28149 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28150 the temporary FPU control word.
28151 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28152 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28153 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28154 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28155 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28156 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28157 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28158 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28159 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28160 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28161 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28163 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28165 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28168 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28170 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28171 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28172 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28173 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28175 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28176 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28179 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28181 * po/h.po: Update from translation team.
28183 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28185 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28187 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28188 handling of denormals.
28189 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28190 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28191 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28192 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28193 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28198 2012-05-26 Marek Polacek <polacek@redhat.com>
28201 * math/libm-test.inc (fma_test): Don't always expect underflow
28204 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28207 * elf/tst-execstack.c: Include stackinfo.h.
28208 (do_test): Adjust test case to ensure that pthread_getattr_np
28209 behaviour remains the same after marking stack executable.
28211 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28213 * sysdeps/unix/sysv/linux/kernel-features.h
28214 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28215 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28217 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28218 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28219 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28221 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28222 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28224 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28226 * configure.in: Define the default includes to being none.
28227 * configure: Regenerated.
28229 2012-05-25 Roland McGrath <roland@hack.frob.com>
28231 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28232 * sysdeps/x86_64/setjmp.S: Likewise.
28233 * sysdeps/i386/bsd-setjmp.S: Likewise.
28234 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28235 * sysdeps/i386/setjmp.S: Likewise.
28236 * sysdeps/i386/__longjmp.S: Likewise.
28237 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28238 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28240 * include/stap-probe.h: New file.
28241 * configure.in: Handle --enable-systemtap.
28242 * configure: Regenerated.
28243 * config.h.in (USE_STAP_PROBE): New #undef.
28244 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28245 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28246 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28248 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28252 to 2.4.0 where earlier.
28253 * sysdeps/unix/sysv/linux/configure: Regenerated.
28254 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28255 <kernel-features.h>.
28256 [__ASSUME_32BITUIDS]: Make code unconditional.
28257 [!__ASSUME_32BITUIDS]: Remove conditional code.
28258 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28259 <kernel-features.h>.
28260 [__ASSUME_32BITUIDS]: Make code unconditional.
28261 [!__ASSUME_32BITUIDS]: Remove conditional code.
28262 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28263 [__ASSUME_32BITUIDS]: Make code unconditional.
28264 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28265 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28266 <kernel-features.h>.
28267 [__ASSUME_32BITUIDS]: Make code unconditional.
28268 [!__ASSUME_32BITUIDS]: Remove conditional code.
28269 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28270 <kernel-features.h>.
28271 [__ASSUME_32BITUIDS]: Make code unconditional.
28272 [!__ASSUME_32BITUIDS]: Remove conditional code.
28273 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28274 <kernel-features.h>.
28275 [__ASSUME_32BITUIDS]: Make code unconditional.
28276 [!__ASSUME_32BITUIDS]: Remove conditional code.
28277 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28278 <kernel-features.h>.
28279 [__ASSUME_32BITUIDS]: Make code unconditional.
28280 [!__ASSUME_32BITUIDS]: Remove conditional code.
28281 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28282 <kernel-features.h>.
28283 [__ASSUME_32BITUIDS]: Make code unconditional.
28284 [!__ASSUME_32BITUIDS]: Remove conditional code.
28285 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28286 <kernel-features.h>.
28287 [__ASSUME_32BITUIDS]: Make code unconditional.
28288 [!__ASSUME_32BITUIDS]: Remove conditional code.
28289 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28290 <kernel-features.h>.
28291 [__ASSUME_32BITUIDS]: Make code unconditional.
28292 [!__ASSUME_32BITUIDS]: Remove conditional code.
28293 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28294 <kernel-features.h>.
28295 [__ASSUME_32BITUIDS]: Make code unconditional.
28296 [!__ASSUME_32BITUIDS]: Remove conditional code.
28297 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28298 <kernel-features.h>.
28299 [__ASSUME_32BITUIDS]: Make code unconditional.
28300 [!__ASSUME_32BITUIDS]: Remove conditional code.
28301 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28302 <kernel-features.h>.
28303 [__ASSUME_32BITUIDS]: Make code unconditional.
28304 [!__ASSUME_32BITUIDS]: Remove conditional code.
28305 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28306 <kernel-features.h>.
28307 [__NR_setresgid] (__setresgid): Do not declare.
28308 [__ASSUME_32BITUIDS]: Make code unconditional.
28309 [!__ASSUME_32BITUIDS]: Remove conditional code.
28310 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28311 <kernel-features.h>.
28312 [__NR_setresuid] (__setresuid): Do not declare.
28313 [__ASSUME_32BITUIDS]: Make code unconditional.
28314 [!__ASSUME_32BITUIDS]: Remove conditional code.
28315 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28316 <kernel-features.h>.
28317 [__ASSUME_32BITUIDS]: Make code unconditional.
28318 [!__ASSUME_32BITUIDS]: Remove conditional code.
28319 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28320 <kernel-features.h>.
28321 [__ASSUME_32BITUIDS]: Make code unconditional.
28322 [!__ASSUME_32BITUIDS]: Remove conditional code.
28323 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28324 <kernel-features.h>.
28325 [__ASSUME_32BITUIDS]: Make code unconditional.
28326 [!__ASSUME_32BITUIDS]: Remove conditional code.
28327 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28328 <kernel-features.h>.
28329 [__ASSUME_32BITUIDS]: Make code unconditional.
28330 [!__ASSUME_32BITUIDS]: Remove conditional code.
28331 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28332 <kernel-features.h>.
28333 [__ASSUME_32BITUIDS]: Make code unconditional.
28334 [!__ASSUME_32BITUIDS]: Remove conditional code.
28335 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28336 <kernel-features.h>.
28337 [__ASSUME_32BITUIDS]: Make code unconditional.
28338 [!__ASSUME_32BITUIDS]: Remove conditional code.
28339 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28340 <kernel-features.h>.
28341 [__ASSUME_32BITUIDS]: Make code unconditional.
28342 [!__ASSUME_32BITUIDS]: Remove conditional code.
28343 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28344 <kernel-features.h>.
28345 [__ASSUME_32BITUIDS]: Make code unconditional.
28346 [!__ASSUME_32BITUIDS]: Remove conditional code.
28347 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28348 <kernel-features.h>.
28349 [__ASSUME_32BITUIDS]: Make code unconditional.
28350 [!__ASSUME_32BITUIDS]: Remove conditional code.
28351 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28352 <kernel-features.h>.
28353 [__ASSUME_32BITUIDS]: Make code unconditional.
28354 [!__ASSUME_32BITUIDS]: Remove conditional code.
28355 * sysdeps/unix/sysv/linux/kernel-features.h
28356 (__ASSUME_SETRESUID_SYSCALL): Remove.
28357 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28358 (__ASSUME_32BITUIDS): Likewise.
28359 (__ASSUME_LDT_WORKS): Likewise.
28360 (__ASSUME_O_DIRECTORY): Likewise.
28361 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28362 architecture but not kernel version.
28363 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28364 (__ASSUME_MMAP2_SYSCALL): Likewise.
28365 (__ASSUME_STAT64_SYSCALL): Likewise.
28366 (__ASSUME_IPC64): Likewise.
28367 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28368 <kernel-features.h>.
28369 [__ASSUME_32BITUIDS]: Make code unconditional.
28370 [!__ASSUME_32BITUIDS]: Remove conditional code.
28371 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28372 <kernel-features.h>.
28373 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28374 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28375 132096]: Remove conditional code.
28376 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28377 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28378 <kernel-features.h>.
28379 [__ASSUME_32BITUIDS]: Make code unconditional.
28380 [!__ASSUME_32BITUIDS]: Remove conditional code.
28381 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28382 <kernel-features.h>.
28383 [__ASSUME_32BITUIDS]: Make code unconditional.
28384 [!__ASSUME_32BITUIDS]: Remove conditional code.
28385 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28386 <kernel-features.h>.
28387 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28389 (__setresgid): Do not declare.
28390 [__ASSUME_32BITUIDS]: Make code unconditional.
28391 [!__ASSUME_32BITUIDS]: Remove conditional code.
28392 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28393 <kernel-features.h>.
28394 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28396 (__setresuid): Do not declare.
28397 [__ASSUME_32BITUIDS]: Make code unconditional.
28398 [!__ASSUME_32BITUIDS]: Remove conditional code.
28399 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28400 <kernel-features.h>.
28401 [__ASSUME_32BITUIDS]: Make code unconditional.
28402 [!__ASSUME_32BITUIDS]: Remove conditional code.
28403 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28404 <kernel-features.h>.
28405 [__ASSUME_32BITUIDS]: Make code unconditional.
28406 [!__ASSUME_32BITUIDS]: Remove conditional code.
28408 2012-05-25 Richard Henderson <rth@twiddle.net>
28410 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28411 dl_hwcap to ifunc resolver.
28412 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28414 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28415 dl_hwcap to ifunc resolver.
28416 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28418 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28421 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28422 for |x| <= 2**-26, not 2**-57.
28423 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28426 2012-05-24 Jeff Law <law@redhat.com>
28428 * stdio-common/Makefile (tests): Add bug25.
28429 * stdio-common/bug25.c: New test.
28431 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28434 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28435 multiple of MALLOC_ALIGNMENT in size.
28436 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28438 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28440 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28442 (FILENAME_MAX): Use macro-int-constant.
28443 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28444 (_IOFBF): Use macro-int-constant.
28445 (_IOLBF): Likewise.
28446 (_IONBF): Likewise.
28447 (SEEK_CUR): Likewise.
28448 (SEEK_END): Likewise.
28449 (SEEK_SET): Likewise.
28450 (TMP_MAX): Likewise.
28451 (EOF): Use macro-int-constant. Require < 0.
28452 (NULL): Use macro-constant. Require == 0.
28453 (stdin): Require type to be FILE *.
28454 (stdout): Likewise.
28455 (stderr): Likewise.
28456 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28457 macro-int-constant.
28458 (EXIT_SUCCESS): Likewise.
28459 (NULL): Use macro-constant. Require == 0.
28460 (RAND_MAX): Use macro-int-constant.
28461 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28462 [C99-based standards] (strtof): Require function.
28463 [C99-based standards] (strtold): Likewise.
28464 [C99-based standards] (strtoll): Likewise.
28465 [C99-based standards] (strtoull): Likewise.
28466 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28467 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28468 [ISO || ISO99 || ISO11] (math.h): Likewise.
28469 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28470 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28471 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28473 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28476 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28477 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28478 * intl/dgettext.c (DCGETTEXT): Likewise.
28479 * intl/gettext.c (DCGETTEXT): Likewise.
28480 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28481 * posix/regex_internal.h (gettext): Likewise.
28482 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28483 Remove declaration.
28484 * include/argz.h (__argz_count_internal)
28485 (__argz_stringify_internal): Remove declaration.
28486 (__argz_count, __argz_stringify): Declare hidden proto.
28487 * intl/dcgettext.c: Remove use of INTDEF.
28488 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28489 * string/argz-stringify.c: Likewise.
28490 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28491 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28492 Declare hidden proto.
28493 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28494 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28495 Declare hidden proto.
28496 * include/stdio.h (__asprintf_internal): Don't declare.
28497 (__asprintf): Don't define as macro. Declare hidden proto.
28498 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28499 (__fsetlocking): Declare hidden proto.
28500 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28501 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28503 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28504 (_IO_setlinebuf): Remove use of INTUSE.
28505 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28506 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28507 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28508 Remove declaration.
28509 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28510 (_IO_do_flush): Remove use of INTUSE.
28511 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28512 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28513 (_IO_adjust_column, _IO_least_wmarker)
28514 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28515 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28516 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28517 (_IO_default_doallocate, _IO_wdefault_doallocate)
28518 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28519 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28520 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28521 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28522 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28523 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28524 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28525 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28526 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28527 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28528 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28529 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28530 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28532 (_IO_flush_all_internal, _IO_adjust_column_internal)
28533 (_IO_default_uflow_internal, _IO_default_finish_internal)
28534 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28535 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28536 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28537 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28538 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28539 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28540 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28541 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28542 (_IO_file_close_internal, _IO_file_close_it_internal)
28543 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28544 (_IO_file_init_internal, _IO_file_attach_internal)
28545 (_IO_file_fopen_internal, _IO_file_read_internal)
28546 (_IO_file_sync_internal, _IO_file_seek_internal)
28547 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28548 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28549 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28550 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28551 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28552 (_IO_list_all_internal, _IO_link_in_internal)
28553 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28554 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28555 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28556 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28557 (_IO_do_write_internal, _IO_padn_internal)
28558 (_IO_getline_info_internal, _IO_getline_internal)
28559 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28560 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28561 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28562 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28563 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28564 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28565 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28566 with libc_hidden_ver, remove use of INTUSE.
28567 * libio/genops.c: Likewise.
28568 * libio/freopen.c: Likewise.
28569 * libio/freopen64.c: Likewise.
28570 * libio/iofclose.c: Likewise.
28571 * libio/iofdopen.c: Likewise.
28572 * libio/iofflush.c: Likewise.
28573 * libio/iofflush_u.c: Likewise.
28574 * libio/iofgets.c: Likewise.
28575 * libio/iofgets_u.c: Likewise.
28576 * libio/iofopen.c: Likewise.
28577 * libio/iofopncook.c: Likewise.
28578 * libio/iofread.c: Likewise.
28579 * libio/iofread_u.c: Likewise.
28580 * libio/ioftell.c: Likewise.
28581 * libio/iofwrite.c: Likewise.
28582 * libio/iogetline.c: Likewise.
28583 * libio/iogets.c: Likewise.
28584 * libio/iogetwline.c: Likewise.
28585 * libio/iopadn.c: Likewise.
28586 * libio/iopopen.c: Likewise.
28587 * libio/ioseekoff.c: Likewise.
28588 * libio/ioseekpos.c: Likewise.
28589 * libio/iosetbuffer.c: Likewise.
28590 * libio/iosetvbuf.c: Likewise.
28591 * libio/ioungetc.c: Likewise.
28592 * libio/ioungetwc.c: Likewise.
28593 * libio/iovdprintf.c: Likewise.
28594 * libio/iovsprintf.c: Likewise.
28595 * libio/iovsscanf.c: Likewise.
28596 * libio/memstream.c: Likewise.
28597 * libio/obprintf.c: Likewise.
28598 * libio/oldfileops.c: Likewise.
28599 * libio/oldiofclose.c: Likewise.
28600 * libio/oldiofdopen.c: Likewise.
28601 * libio/oldiofopen.c: Likewise.
28602 * libio/oldiopopen.c: Likewise.
28603 * libio/oldstdfiles.c: Likewise.
28604 * libio/putc.c: Likewise.
28605 * libio/setbuf.c: Likewise.
28606 * libio/setlinebuf.c: Likewise.
28607 * libio/stdfiles.c: Likewise.
28608 * libio/strops.c: Likewise.
28609 * libio/vasprintf.c: Likewise.
28610 * libio/vscanf.c: Likewise.
28611 * libio/vsnprintf.c: Likewise.
28612 * libio/vswprintf.c: Likewise.
28613 * libio/wfiledoalloc.c: Likewise.
28614 * libio/wfileops.c: Likewise.
28615 * libio/wgenops.c: Likewise.
28616 * libio/wmemstream.c: Likewise.
28617 * libio/wstrops.c: Likewise.
28618 * libio/__fpurge.c: Likewise.
28619 * libio/__fsetlocking.c: Likewise.
28620 * assert/assert.c: Likewise.
28621 * debug/fgets_chk.c: Likewise.
28622 * debug/fgets_u_chk.c: Likewise.
28623 * debug/fread_chk.c: Likewise.
28624 * debug/fread_u_chk.c: Likewise.
28625 * debug/gets_chk.c: Likewise.
28626 * debug/obprintf_chk.c: Likewise.
28627 * debug/vasprintf_chk.c: Likewise.
28628 * debug/vdprintf_chk.c: Likewise.
28629 * debug/vsnprintf_chk.c: Likewise.
28630 * debug/vsprintf_chk.c: Likewise.
28631 * malloc/mtrace.c: Likewise.
28632 * misc/error.c: Likewise.
28633 * misc/syslog.c: Likewise.
28634 * stdio-common/asprintf.c: Likewise.
28635 * stdio-common/fxprintf.c: Likewise.
28636 * stdio-common/getw.c: Likewise.
28637 * stdio-common/isoc99_fscanf.c: Likewise.
28638 * stdio-common/isoc99_scanf.c: Likewise.
28639 * stdio-common/isoc99_vfscanf.c: Likewise.
28640 * stdio-common/isoc99_vscanf.c: Likewise.
28641 * stdio-common/isoc99_vsscanf.c: Likewise.
28642 * stdio-common/printf-prs.c: Likewise.
28643 * stdio-common/printf_fp.c: Likewise.
28644 * stdio-common/printf_fphex.c: Likewise.
28645 * stdio-common/printf_size.c: Likewise.
28646 * stdio-common/putw.c: Likewise.
28647 * stdio-common/scanf.c: Likewise.
28648 * stdio-common/sprintf.c: Likewise.
28649 * stdio-common/tmpfile.c: Likewise.
28650 * stdio-common/vfprintf.c: Likewise.
28651 * stdio-common/vfscanf.c: Likewise.
28652 * stdlib/strfmon_l.c: Likewise.
28653 * sunrpc/openchild.c: Likewise.
28654 * sunrpc/xdr_stdio.c: Likewise.
28655 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28656 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28658 2012-05-24 Roland McGrath <roland@hack.frob.com>
28660 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28662 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28663 in the third column, to generate for the shared library an IFUNC
28664 that uses _dl_vdso_vsym.
28665 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28666 * Makeconfig (object-suffixes-noshared): New variable.
28668 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28669 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28670 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28671 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28674 * include/sys/time.h (__gettimeofday): Remove macro.
28675 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28676 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28678 (__gettimeofday): Add libc_hidden_def.
28679 (gettimeofday): Add libc_hidden_weak.
28680 * sysdeps/mach/gettimeofday.c: Likewise.
28681 * sysdeps/posix/gettimeofday.c: Likewise.
28682 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28683 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28684 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28685 (__gettimeofday_internal): Remove strong_alias.
28686 (__gettimeofday): Add libc_hidden_def.
28687 (gettimeofday): Add libc_hidden_weak.
28688 * sysdeps/unix/syscalls.list (gettimeofday):
28689 Remove __gettimeofday_internal alias.
28691 2012-05-24 Daniel Jacobowitz <drow@false.org>
28692 H.J. Lu <hongjiu.lu@intel.com>
28695 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28696 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28697 (largebin_index_32_big): New.
28698 (largebin_index): Use it for 16-byte alignment.
28699 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28700 correction with front_misalign.
28702 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28730 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28731 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28733 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28737 * math/libm-test.inc (exp_test): Add test from bug 14036.
28738 (pow_test): Add test from bug 10846.
28740 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28742 (special_function): Do not include flags in test name.
28743 (parse_args): Likewise.
28744 * sysdeps/i386/fpu/libm-test-ulps: Update.
28745 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28746 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28747 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28750 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28752 * math/libm-test.inc ("Philosophy"): Update comment about
28754 (UNDERFLOW_EXCEPTION): New macro.
28755 (UNDERFLOW_EXCEPTION_OK): Likewise.
28756 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28757 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28758 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28759 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28760 (INVALID_EXCEPTION_OK): Update value.
28761 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28762 (OVERFLOW_EXCEPTION_OK): Likewise.
28763 (IGNORE_ZERO_INF_SIGN): Likewise.
28764 (test_exceptions): Handle underflow exceptions.
28765 (acos_test): Update for underflow exception expectations.
28766 (cexp_test): Likewise.
28767 (clog_test): Likewise.
28768 (clog10_test): Likewise.
28769 (csqrt_test): Likewise.
28770 (ctan_test): Likewise.
28771 (ctanh_test): Likewise.
28772 (exp_test): Likewise.
28773 (exp10_test): Likewise.
28774 (exp2_test): Likewise.
28775 (expm1_test): Likewise.
28776 (fma_test): Likewise.
28777 (j0_test): Likewise.
28778 (jn_test): Likewise.
28779 (nexttoward_test): Likewise.
28780 (pow_test): Likewise.
28781 (scalbn_test): Likewise.
28782 (scalbln_test): Likewise.
28783 (tan_test): Likewise.
28784 (y1_test): Likewise.
28785 * sysdeps/i386/fpu/libm-test-ulps: Update.
28786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28788 2012-05-23 David S. Miller <davem@davemloft.net>
28790 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28791 (__libc_sigaction): Remove unused local variables.
28793 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28795 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28797 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28799 mktime: avoid signed integer overflow
28800 * time/mktime.c (__mktime_internal): Do not mishandle the case
28801 where diff == INT_MIN.
28803 mktime: simplify computation of average
28804 * time/mktime.c (ranged_convert): Use new time_t_avg function
28805 instead of rolling our own (probably-slower) code.
28807 mktime: do not assume signed right shift propagates sign bit
28808 * time/mktime.c (isdst_differ): New static function.
28809 (__mktime_internal): No need to normalize tm_isdst now.
28810 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28813 mktime: merge another wrapv change from gnulib
28814 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28815 from some compilers.
28817 mktime: remove incorrect attempt at unusual arithmetics
28818 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28819 The code didn't really work on such machines anyway.
28820 (TYPE_MINIMUM): Assume two's complement.
28821 (twos_complement_arithmetic): Verify that long_int and time_t
28822 are two's complement (or unsigned, in the latter case).
28824 mktime: check signed shifts on long_int and time_t, too
28825 * time/mktime.c (SHR): Check that shifts work as desired
28826 on the types long_int and time_t too, as SHR is used on
28829 mktime: do not assume 'long' is wide enough
28830 * time/mktime.c (verify): Move decl up.
28831 (long_int): New type.
28832 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28833 to remove assumption in the code that 'long' is wide enough to
28834 store year values. This assumption is not true on x32 and on
28835 some non-glibc platforms.
28837 mktime: merge wrapv change from gnulib
28838 * time/mktime.c (WRAPV): New macro.
28839 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28840 (guess_time_tm, __mktime_internal): Do not assume that signed
28841 integer overflow wraps around; modern compilers generate code
28842 where this assumption is no longer valid.
28844 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28846 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28847 Replace "jmp L(pseudo_end)" with "ret".
28848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28851 2012-05-23 Andreas Jaeger <aj@suse.de>
28853 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28854 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28856 2012-05-23 Andreas Jaeger <aj@suse.de>
28857 Maximilian Attems <max@stro.at>
28859 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28862 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28864 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28865 code so that pseudo_end is just ret and the stack pointer is
28866 correct also for static library in error case.
28868 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28870 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28871 move to syscalls.list.
28872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28877 * manual/install.texi (Running make install): Do not mention Linux
28878 kernel version for which pt_chown is not needed.
28879 (Linux): Do not mention problems with nscd with 2.0 kernels.
28880 * INSTALL: Regenerated.
28882 2012-05-23 Andreas Jaeger <aj@suse.de>
28884 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28885 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28887 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28888 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28889 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28890 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28891 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28892 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28893 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28894 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28895 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28896 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28897 * sysdeps/unix/sysv/linux/bits/in.h
28898 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28900 2012-05-22 Roland McGrath <roland@hack.frob.com>
28902 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28903 (PREPARE_VERSION): Just use assert instead, it will be elided
28904 under [NDEBUG] anyway.
28906 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28908 * sysdeps/unix/sysv/linux/Makefile: Include
28909 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28910 (sysdep_routines): Remove sysctl.
28911 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28912 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28913 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28915 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28917 2012-05-22 Andreas Jaeger <aj@suse.de>
28919 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28920 that pseudo_end is just ret and the stack pointer is correct also
28921 for static library in error case.
28923 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28926 * nss/nsswitch.c (defconfig_entries): New variable.
28927 (__nss_database_lookup): Don't leak defconfig entries.
28928 (nss_parse_service_list): Don't leak on error paths.
28929 (free_database_entries): New function.
28930 (free_defconfig): New function.
28931 (free_mem): Move common code to free_database_entries.
28933 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28935 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28937 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28939 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28940 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28943 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28944 (INTERNAL_SYSCALL_TYPES): Likewise.
28945 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28946 (LOAD_REGS_TYPES_[1-6]): Likewise.
28947 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28948 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28950 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28952 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28953 copysignl for GLIBC_2_0.
28954 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28955 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28957 logbl for GLIBC_2_0.
28958 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28959 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28961 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28964 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28966 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28969 * time/mktime.c: Update copyright years.
28971 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28973 mktime: merge comment-quoting-style change from gnulib
28974 * time/mktime.c: Quote 'like this' in comments.
28975 The GNU coding standards suggest that we no longer quote `like this',
28976 as "`" and "'" are typically rendered asymmetrically nowadays.
28977 The typical gnulib style is to quote 'like this' when quoting
28978 code, and "like this" when quoting English.
28980 * time/mktime.c (compile-command): Add "-I.".
28982 mktime: merge mktime-internal.h change from gnulib
28983 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28985 mktime: merge time_r change from gnulib
28986 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28988 mktime: merge DEBUG change from gnulib
28989 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28990 case system <time.h> has a #define.
28992 mktime: merge <sys/types.h> change from gnulib
28993 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28994 since <time.t> is now guaranteed to define time_t.
28996 mktime: merge HAVE_CONFIG_H change from gnulib
28997 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28999 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29004 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29006 (struct rusage): Use anonymous union to pad each field to
29009 2012-05-21 David S. Miller <davem@davemloft.net>
29011 * Makefules (o-iterator): Remove .s cases.
29012 (compile-command.s): Delete.
29013 (COMPILE.s): Delete.
29014 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29016 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29018 * configure.in (libc_cv_predef_stack_protector): Only consider
29019 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29020 * configure: Regenerated.
29022 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29025 New macro. Use R*LP on int and pointer.
29026 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29027 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29028 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29029 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29031 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29032 [__WORDSIZE_TIME64_COMPAT32] instead of
29033 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29034 (struct utmp): Likewise.
29035 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29036 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29038 (__WORDSIZE_TIME64_COMPAT32): This.
29039 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29040 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29041 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29042 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29043 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29044 (__WORDSIZE_TIME64_COMPAT32): New macro.
29046 2012-05-21 Andreas Jaeger <aj@suse.de>
29048 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29049 only if [SHARED]. Add prototype for __wcschr_ia32.
29051 2012-05-21 Roland McGrath <roland@hack.frob.com>
29053 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29054 of %rbp unmolested in the jmp_buf while mangling the low bits.
29055 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29056 unmolested high bits of %rbp while demangling the low bits.
29057 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29059 2012-05-21 Andreas Jaeger <aj@suse.de>
29061 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29062 * sunrpc/svc_simple.c: Use it for registerrpc.
29063 * sunrpc/xcrypt.c: Use it for passwd2des.
29065 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29067 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29069 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29070 Don't define if [__SYSCALL_WORDSIZE != 32].
29071 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29074 2012-05-21 Bruno Haible <bruno@clisp.org>
29075 Andreas Jaeger <aj@suse.de>
29077 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29078 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29079 inptr and inend for must_buffer_ch.
29080 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29081 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29082 * stdio-common/Makefile (tests): Remove bug15.
29083 (bug15-ENV): Remove macro.
29084 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29087 2012-05-19 Andreas Jaeger <aj@suse.de>
29088 Roland McGrath <roland@hack.frob.com>
29090 * manual/contrib.texi: Completely rewritten. It contains now an
29091 alphabetical list of contributors and their contributions.
29093 2012-05-21 Richard Henderson <rth@twiddle.net>
29095 * misc/getauxval.c (__getauxval): Use unsigned long int.
29096 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29097 (getauxval): Use unsigned long int.
29099 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29101 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29103 2012-05-21 Roland McGrath <roland@hack.frob.com>
29105 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29106 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29107 __alignof__ (long double).
29109 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29113 2012-05-20 Richard Henderson <rth@twiddle.net>
29115 * misc/getauxval.c: New file.
29116 * misc/sys/auxv.h: New file.
29117 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29118 (routines): Add getauxval.
29119 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29120 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29121 * elf/dl-sysdep.c (_dl_auxv): Remove.
29122 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29123 * elf/dl-support.c (_dl_auxv): New variable.
29124 (_dl_aux_init): Initialize it.
29125 * manual/startup.texi (Auxiliary Vector): New node.
29126 * sysdeps/generic/bits/hwcap.h: New file.
29127 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29128 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29129 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29130 * sysdeps/sparc/sysdep.h: ... here. Include it.
29131 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29132 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29138 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29144 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29148 2012-05-19 David S. Miller <davem@davemloft.net>
29150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29152 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29155 * math/s_ccosh.c: Include <float.h>
29156 (__ccosh): Avoid internal overflow calculating sinh and cosh
29157 values before multiplying by sin and cos values.
29158 * math/s_ccoshf.c: Likewise.
29159 * math/s_ccoshl.c: Likewise.
29160 * math/s_csin.c: Likewise.
29161 * math/s_csinf.c: Likewise.
29162 * math/s_csinl.c: Likewise.
29163 * math/s_csinh.c: Likewise.
29164 * math/s_csinhf.c: Likewise.
29165 * math/s_csinhl.c: Likewise.
29166 * math/libm-test.inc (ccos_test): Add more tests.
29167 (ccosh_test): Likewise.
29168 (csin_test): Likewise.
29169 (csinh_test): Likewise.
29170 * sysdeps/i386/fpu/libm-test-ulps: Update.
29171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29173 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29175 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29176 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29178 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29180 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29182 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29183 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29184 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29185 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29186 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29187 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29188 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29189 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29190 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29191 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29192 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29193 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29194 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29195 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29196 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29197 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29198 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29199 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29200 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29201 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29202 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29203 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29204 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29205 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29206 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29207 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29208 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29209 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29210 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29211 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29212 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29214 2012-05-18 Andreas Jaeger <aj@suse.de>
29216 * csu/.gitignore: Delete.
29218 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29220 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29221 (timex): Use __syscall_slong_t.
29223 2012-05-18 Andreas Jaeger <aj@suse.de>
29224 Carlos O'Donell <carlos_odonell@mentor.com>
29226 * manual/install.texi (Configuring and compiling): Update
29227 description about files modified in the source directory.
29228 * INSTALL: Regenerated.
29230 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29232 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29233 value. Use "or" to set return value to -1.
29234 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29235 negate return value.
29237 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29239 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29240 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29241 failure if the compiler has Graphite support disabled.
29242 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29244 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29245 (CFLAGS-memmove.c): Likewise.
29246 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29249 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29251 * sysdeps/x86_64/x32/_itoa.h: New file.
29253 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29254 getdents system call only if kernel and user dirents have the
29255 same d_ino and d_off.
29257 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29258 LLONG_MAX != LONG_MAX.
29259 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29260 (_fitoa_word): Likewise.
29262 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29264 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29265 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29266 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29268 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29269 include <bits/wordsize.h>. Check __x86_64__ instead of
29271 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29272 if __x86_64__ is defined. Use anonymous union on fpstate.
29274 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29277 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29279 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29280 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29281 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29282 Refer to _rtld_local_ro instead of _rtld_global_ro.
29283 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29285 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29287 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29289 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29290 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29291 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29293 * sysdeps/powerpc/powerpc32/dl-machine.c
29294 (__elf_machine_runtime_setup) [PROF]: Don't reference
29297 2012-05-18 Andreas Jaeger <aj@suse.de>
29299 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29300 function only available for GCCs before 3.4 since GCC 3.4
29301 introduced a builtin.
29303 (llrintf): Likewise.
29304 (llrint): Likewise.
29311 (nearbyint): Likewise.
29312 (nearbyintf): Likewise.
29316 (floorf): Likewise.
29318 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29320 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29321 on both fields and cast pointer to __syscall_ulong_t.
29323 * bits/types.h (__fsword_t): New type.
29324 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29325 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29326 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29327 (__FSWORD_T_TYPE): Likewise.
29328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29329 (__FSWORD_T_TYPE): Likewise.
29330 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29331 (__FSWORD_T_TYPE): Likewise.
29332 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29333 (__FSWORD_T_TYPE): Likewise.
29334 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29335 __SWORD_TYPE with __fsword_t.
29336 (statfs64): Likewise.
29338 2012-05-17 David S. Miller <davem@davemloft.net>
29340 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29342 2012-05-17 Andreas Jaeger <aj@suse.de>
29344 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29347 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29349 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29351 2012-05-17 Andreas Jaeger <aj@suse.de>
29353 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29356 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29358 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29360 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29362 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29363 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29365 2012-05-17 Andreas Jaeger <aj@suse.de>
29366 Carlos O'Donell <carlos_odonell@mentor.com>
29369 * sysdeps/x86_64/multiarch/init-arch.h
29370 (bit_YMM_Usable): Rename to...
29371 (bit_AVX_Usable): ... this.
29372 (bit_FMA4_Usable): New macro.
29373 (bit_XMM_state): New macro.
29374 (bit_YMM_state): New macro.
29375 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29376 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29377 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29378 (CPUID_OSXSAVE): New macro.
29379 (CPUID_AVX): New macro.
29380 (CPUID_FMA4): New macro.
29381 (index_YMM_Usable): Rename to...
29382 (index_AVX_Usable): ... this.
29383 (HAS_AVX): Use HAS_ARCH_FEATURE.
29384 (HAS_FMA4): Likewise.
29385 (HAS_YMM_USABLE): Remove.
29386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29387 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29389 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29390 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29391 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29392 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29393 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29395 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29397 * math/libm-test.c: Support platforms without multiple rounding modes.
29398 * math/bug-nextafter.c: Support platforms without FP exceptions.
29399 * math/bug-nexttoward.c: Likewise.
29400 * math/test-fenv.c: Likewise.
29401 * math/test-misc.c: Likewise.
29402 * stdlib/bug-getcontext.c: Likewise.
29404 2012-05-17 Andreas Jaeger <aj@suse.de>
29406 * manual/examples/search.c (critter_cmp): Change signature to
29408 * manual/string.texi (Collation Functions): Likewise.
29410 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29412 * bits/types.h: Fold copyright years.
29413 * bits/typesizes.h: Likewise.
29414 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29415 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29416 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29417 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29418 * time/time.h: Likewise.
29420 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29423 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29424 in instead of returning them. Return void.
29425 (__libc_mallinfo): Accumulate over all arenas.
29426 (__malloc_stats): Adjust for change in int_mallinfo interface.
29428 2012-05-16 Roland McGrath <roland@hack.frob.com>
29431 * configure.in (NM): Add AC_CHECK_TOOL for it.
29432 (libc_extra_cflags): New substituted variable.
29433 Check for -fstack-protector being used implicitly.
29434 * configure: Regenerated.
29435 * config.make.in (config-extra-cflags): New variable,
29436 gets @libc_extra_cflags@.
29437 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29440 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29441 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29442 * configure: Regenerated.
29443 * config.make.in (CPPUNDEFS): New substituted variable.
29444 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29445 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29446 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29448 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29450 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29451 (mq_attr): Use __syscall_slong_t.
29453 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29455 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29456 Check __x86_64__ instead of __WORDSIZE.
29457 (_STAT_VER_LINUX): Likewise.
29458 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29459 __syscall_ulong_t and __syscall_slong_t.
29460 (stat64): Likewise.
29462 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29464 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29466 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29468 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29470 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29472 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29475 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29476 include <bits/wordsize.h>. Check __x86_64__ instead of
29478 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29480 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29482 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29483 include <bits/wordsize.h>. Check __x86_64__ instead of
29485 (user_regs_struct): Use "__extension__ unsigned long long"
29486 instead of "unsigned long" if __x86_64__ is defined.
29487 (user): Likewise. Pad after pointer field if __ILP32__ is
29490 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29492 * configure.in (makeinfo): Require version 4.5 or later. Allow
29494 * configure: Regenerated.
29495 * manual/install.texi (texinfo): Increase version requirement to
29497 * INSTALL: Regenerated.
29499 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29501 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29503 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29505 * sysdeps/x86_64/x32/ffs.c: New file.
29507 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29509 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29510 defined. Use __syscall_ulong_t.
29511 (shminfo): Use __syscall_ulong_t.
29512 (shm_info): Likewise.
29514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29517 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29519 (msgqnum_t): Use __syscall_ulong_t.
29520 (msglen_t): Likewise.
29521 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29524 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29525 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29527 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29529 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29530 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29532 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29535 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29536 include <bits/wordsize.h>. Check __x86_64__ instead of
29539 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29540 "unsigned long long int" if __x86_64__ is defined.
29541 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29543 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29544 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29545 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29547 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29549 (GET_PC): Cast to uintptr_t first.
29550 (GET_FRAME): Likewise.
29551 (GET_STACK): Likewise.
29553 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29554 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29555 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29556 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29557 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29558 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29559 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29560 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29561 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29562 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29563 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29564 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29565 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29566 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29567 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29568 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29569 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29570 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29571 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29572 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29573 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29574 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29575 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29576 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29577 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29578 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29579 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29580 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29581 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29583 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29585 * Makerules (+depfiles): Also collect depfiles from .oS in
29587 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29588 .oS, $(libnldbl-routines)).
29590 * Makerules (native-compile-mkdep-flags): Define.
29591 * sunrpc/Makefile (extra-objs): Add $(addprefix
29592 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29593 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29594 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29595 calling $(make-target-directory).
29597 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29599 * bits/types.h (__snseconds_t): Removed.
29600 * time/time.h (struct timespec): Replace __snseconds_t with
29602 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29603 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29606 (__SNSECONDS_T_TYPE): Likewise.
29607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29608 (__SNSECONDS_T_TYPE): Likewise.
29609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29610 (__SNSECONDS_T_TYPE): Likewise.
29612 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29614 * sysdeps/mach/hurd/bits/typesizes.h
29615 (__SYSCALL_SLONG_TYPE): New macro.
29616 (__SYSCALL_ULONG_TYPE): Likewise.
29618 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29620 * bits/types.h (__syscall_slong_t): New type.
29621 (__syscall_ulong_t): Likewise.
29623 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29624 (__SYSCALL_ULONG_TYPE): Likewise.
29625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29626 (__SYSCALL_SLONG_TYPE): Likewise.
29627 (__SYSCALL_ULONG_TYPE): Likewise.
29628 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29629 (__SYSCALL_SLONG_TYPE): Likewise.
29630 (__SYSCALL_ULONG_TYPE): Likewise.
29631 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29632 (__SYSCALL_SLONG_TYPE): Likewise.
29633 (__SYSCALL_ULONG_TYPE): Likewise.
29635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29637 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29638 Add sigaltstack-offsets.sym.
29639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29640 <sigaltstack-offsets.h>.
29641 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29642 longjmp_msg pointer.
29643 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29644 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29646 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29648 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29650 * elf/stackguard-macros.h: Remove file.
29651 * sysdeps/generic/stackguard-macros.h: New file.
29652 * sysdeps/i386/stackguard-macros.h: Likewise.
29653 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29654 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29655 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29656 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29657 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29658 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29659 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29660 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29661 <elf/stackguard-macros.h>.
29664 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29665 __aligned__ in attribute.
29666 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29667 (gregset_t): Likewise.
29669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29671 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29672 * sysdeps/x86_64/64/Implies-after: Here. New file.
29673 * sysdeps/x86_64/x32/Implies-after: New file.
29675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29677 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29678 and access return value for _dl_profile_fixup. Use R10_LP to
29681 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29683 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29687 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29688 * sysdeps/x86_64/x32/sysdep.h: New file.
29690 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29692 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29693 * sysdeps/x86_64/setjmp.S: Likewise.
29695 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29697 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29698 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29699 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29700 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29701 remove unused global constant.
29703 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29705 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29706 include of <not-cancel.h>.
29708 2012-05-15 Roland McGrath <roland@hack.frob.com>
29710 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29712 2012-05-15 Jeff Law <law@redhat.com>
29713 Andreas Jaeger <aj@suse.de>
29716 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29718 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29719 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29720 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29721 code changing __hst_map_handle.map.
29723 2012-05-15 Roland McGrath <roland@hack.frob.com>
29725 * configure.in (sysnames): Look for Implies-before and Implies-after
29727 * configure: Regenerated.
29729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29731 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29732 8-byte data alignment with LP_SIZE alignment.
29734 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29736 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29739 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29741 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29745 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29746 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29747 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29749 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29753 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29754 (stackinfo_sub_sp): Likewise.
29756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29763 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29766 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29768 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29773 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29777 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29778 into R11_LP and load __x86_64_shared_cache_size_half into
29781 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29783 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29786 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29790 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29792 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29794 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29795 powerpc32/power7/fpu/s_logb.c via #include.
29796 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29797 powerpc32/power7/fpu/s_logbf.c via #include.
29798 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29799 powerpc32/power7/fpu/s_logbl.c via #include.
29801 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29803 * README.libm: Remove file.
29805 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29807 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29808 count for x32. Use R*_LP and omit operand-size suffix.
29810 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29812 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29813 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29814 * sysdeps/x86_64/x32/shlib-versions: New file.
29816 2012-05-14 Roland McGrath <roland@hack.frob.com>
29818 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29819 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29820 Use _dl_fatal_printf instead.
29822 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29824 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29825 set if not set by the user. Do not allow for being unset.
29826 * sysdeps/unix/sysv/linux/configure: Regenerated.
29828 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29830 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29831 the `q' suffix from lea and replace .quad with ASM_ADDR.
29833 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29836 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29838 (PTR_DEMANGLE): Likewise.
29840 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29842 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29844 (ASM_ADDR): Likewise.
29845 (RAX_LP): Likewise.
29846 (RBP_LP): Likewise.
29847 (RBX_LP): Likewise.
29848 (RCX_LP): Likewise.
29849 (RDI_LP): Likewise.
29850 (RSI_LP): Likewise.
29851 (RSP_LP): Likewise.
29854 (R10_LP): Likewise.
29855 (R10_LP): Likewise.
29856 (R11_LP): Likewise.
29857 (R12_LP): Likewise.
29858 (R13_LP): Likewise.
29859 (R14_LP): Likewise.
29860 (R15_LP): Likewise.
29862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29864 * sysdeps/x86_64/x32/dl-machine.h: New file.
29866 2012-05-14 Andreas Jaeger <aj@suse.de>
29868 * manual/Makefile (subdir): Remove export of subdir.
29869 (all): Remove target.
29870 (.PHONY): Remove all from list.
29871 (mkinstalldirs): Remove.
29872 (.PHONY): Remove installdirs from list.
29873 ($(inst_infodir)/libc.info): Use make-target-directory.
29874 (installdirs): Remove.
29875 (subdir_%): Remove.
29876 (glibc-targets): Remove.
29879 ($(objpfx)stubs ../po/manual.pot): Remove.
29880 ($(objpfx)stamp%): Remove.
29881 (make-target-directory): Remove.
29882 (subdir_install): Remove.
29883 (routines): Remove.
29890 * manual/.gitignore: Remove, it's not needed anymore.
29891 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29893 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29895 (texis): Renamed to $(objpfx)texis.
29896 (texis-path): New, contains path to generated files.
29897 (chapters.%): Use texis-path for complete path, add extra argument
29899 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29900 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29901 (summary,texi, stamp-summary): Use complete path of
29902 files. Generate files in build dir.
29903 (dir-add.texi): Build in build dir.
29904 (libm-err.texi,stamp-libm-err): Likewise.
29905 (version.texi, stamp-version): Likewise.
29906 (.%c.texi): Likewise.
29907 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29908 (mostlyclean): Remove target.
29909 (realclean): Remove target.
29910 (generated): Add new variable with contents from mostlyclean and
29911 realclean, remove entries duplicated in common-mostlyclean, add
29912 stamp-libm-err and stamp-version.
29913 (generated-dirs): Add libc directory.
29914 ($(inst_infodir)/libc.info): Install files from build dir.
29916 * manual/install.texi (Configuring and compiling): Adjust since
29917 the info files are not part of the tar ball anymore.
29919 2012-05-14 Andreas Jaeger <aj@suse.de>
29921 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29924 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29927 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29928 to 2.2.0 where earlier.
29929 * sysdeps/unix/sysv/linux/configure: Regenerated.
29930 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29931 Remove conditional code.
29932 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29933 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29934 Remove conditional code.
29935 [!__NR_lchown]: Likewise.
29936 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29937 [__NR_lchown]: Likewise.
29938 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29939 comment referencing __ASSUME_LCHOWN_SYSCALL.
29940 * sysdeps/unix/sysv/linux/i386/sigaction.c
29941 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29942 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29943 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29944 Remove conditional code.
29945 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29946 (__protocol_available): Remove #if 0 code.
29947 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29949 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29950 * sysdeps/unix/sysv/linux/kernel-features.h
29951 (__ASSUME_GETCWD_SYSCALL): Don't define.
29952 (__ASSUME_REALTIME_SIGNALS): Likewise.
29953 (__ASSUME_PREAD_SYSCALL): Likewise.
29954 (__ASSUME_PWRITE_SYSCALL): Likewise.
29955 (__ASSUME_POLL_SYSCALL): Likewise.
29956 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29957 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29959 (__ASSUME_SIOCGIFNAME): Don't define.
29960 (__ASSUME_MSG_NOSIGNAL): Likewise.
29961 (__ASSUME_SENDFILE): Define unconditionally.
29962 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29963 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29965 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29966 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29967 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29968 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29969 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29970 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29971 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29973 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29974 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29976 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29977 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29979 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29980 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29982 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29983 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29985 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29986 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29988 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29989 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29991 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29992 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29994 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29995 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29996 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29997 Remove conditional code.
29998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29999 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30000 Remove conditional code.
30001 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30002 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30003 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30004 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30005 Remove conditional code.
30006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30007 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30008 Remove conditional code.
30009 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30010 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30011 Remove conditional code.
30012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30013 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30014 Remove conditional code.
30015 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30016 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30017 Remove conditional code.
30018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30019 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30020 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30021 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30022 * sysdeps/unix/sysv/linux/sigaction.c
30023 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30024 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30025 * sysdeps/unix/sysv/linux/sigpending.c
30026 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30027 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30028 * sysdeps/unix/sysv/linux/sigprocmask.c
30029 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30030 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30031 * sysdeps/unix/sysv/linux/sigsuspend.c
30032 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30033 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30034 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30035 (__libc_missing_rt_sigs): Remove.
30036 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30037 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30038 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30039 Remove conditional code.
30040 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30041 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30043 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30044 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30045 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30046 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30048 2012-05-14 Andreas Jaeger <aj@suse.de>
30050 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30051 it's not used in glibc.
30052 (__coshm1): Likewise.
30053 (__acosh1p): Likewise.
30056 * manual/string.texi (Copying and Concatenation): Add missing
30057 variable in concat example.
30058 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30060 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30063 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30064 __builtin_clzl with __builtin_clzll.
30066 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30069 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30072 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30074 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30075 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30076 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30077 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30079 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30081 * NEWS: Update ia64 info.
30083 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30085 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30088 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30090 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30091 * sysdeps/unix/syscalls.list (dup3): Likewise.
30092 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30093 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30095 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30097 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30098 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30100 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30102 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30104 (TLS_IE): Use mov/add instead of movq/addq to load thread
30106 (TLS_GD_PREFIX): New.
30109 2012-05-11 David S. Miller <davem@davemloft.net>
30111 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30112 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30113 (_FPU_SETCW): Likewise.
30115 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30117 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30118 is 32-byte aligned.
30120 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30123 * iconvdata/gb18030.c: Update tables.
30124 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30125 characters specially.
30126 (BODY for TO_LOOP): Add encoding of missing ranges.
30128 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30131 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30132 * sysdeps/mach/hurd/dup3.c: Likewise.
30133 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30134 * sysdeps/powerpc/memmove.c:: Likewise.
30136 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30138 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30139 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30141 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30143 * elf/elf.h (R_X86_64_RELATIVE64): New.
30144 (R_X86_64_NUM): Updated.
30145 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30146 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30147 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30148 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30149 tst-quad1pie tst-quad2pie
30150 (modules-names): Add tst-quadmod1 tst-quadmod2.
30151 ($(objpfx)tst-quad1): New dependency.
30152 ($(objpfx)tst-quad2): Likewise.
30153 ($(objpfx)tst-quad1pie): Likewise.
30154 ($(objpfx)tst-quad2pie): Likewise.
30155 * sysdeps/x86_64/tst-quad1.c: New file.
30156 * sysdeps/x86_64/tst-quad1pie.c: New file.
30157 * sysdeps/x86_64/tst-quad2.c: Likewise.
30158 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30159 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30160 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30161 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30162 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30164 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30166 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30167 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30168 * streams/stropts.h (t_scalar_t): Define type.
30170 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30171 (_PATH_PRESERVE): Set to "/var/lib".
30172 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30174 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30177 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30178 if __dir_mkfile succeeded.
30180 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30181 checking for _hurd_dtablesize. Unlock it right after having
30182 finished _hurd_dtable allocation.
30184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30186 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30187 * sysdeps/mach/hurd/configure: Regenerated.
30188 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30189 special-casing to...
30190 * sysdeps/gnu/configure.in: ... this new file.
30191 * sysdeps/unix/sysv/linux/configure: Regenerated.
30192 * sysdeps/gnu/configure: New generated file.
30194 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30195 for Linux: use nsec instead of usec, as well as:
30196 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30197 members of type struct timespec.
30198 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30200 (struct stat64): Likewise.
30201 (_STATBUF_ST_NSEC): New macro.
30202 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30204 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30205 __strtoul_internal rather than strtoul.
30207 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30209 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30212 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30214 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30215 which preserves existing values.
30216 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30218 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30220 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30221 TIMEOUT values. Return EINVAL for NFDS values either negative or
30222 greater than FD_SETSIZE.
30224 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30226 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30227 allocated, call __vm_protect to finish enabling the existing space, and
30228 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30229 allocate the remainder.
30231 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30233 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30234 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30236 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30238 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30239 sysdeps/mach/hurd/readlink.c.
30241 * posix/tst-sysconf.c (posix_options): Only use
30242 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30243 _POSIX_SYNCHRONIZED_IO when they are defined
30244 * sysdeps/mach/hurd/bits/posix_opt.h:
30245 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30246 (_XOPEN_REALTIME): Undefine macro.
30247 (_XOPEN_REALTIME_THREADS): Undefine macro.
30248 (_XOPEN_SHM): Undefine macro.
30249 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30251 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30253 (_POSIX_ASYNC_IO): Undefine macro.
30254 (_POSIX_PRIORITIZED_IO): Undefine macro.
30255 (_POSIX_SPIN_LOCKS): Define macro to -1.
30257 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30258 SA_NODEFER, SA_RESETHAND.
30259 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30260 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30263 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30265 * elf/Makefile (pldd-modules): Define unconditionally.
30267 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30269 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30271 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30273 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30274 Return ENOENT when name is empty.
30275 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30277 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30279 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30281 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30283 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30285 Fix mlock in all cases except non-readable pages.
30286 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30287 instead of VM_PROT_ALL as parameter to __vm_wire function.
30289 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30290 (__mkdir): When path is `/', just fail with EEXIST.
30291 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30293 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30295 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30296 <sys/uio.h> (for writev).
30297 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30298 and <sys/param.h> (for MIN).
30300 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30302 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30303 REQUESTED_TIME. Properly set the remaining time and return EINTR
30306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30308 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30309 Depend on against $(link-rpcuserlibs).
30311 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30313 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30314 (__libc_stack_end): Do not use attribute_relro.
30315 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30316 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30317 to libthread-provided value.
30318 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30321 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30324 * bits/libc-lock.h (__libc_once_get): New macro.
30325 * sysdeps/mach/bits/libc-lock.h: Likewise.
30326 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30327 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30328 instead of using implementation details.
30330 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30331 * libio/freopen.c: Likewise.
30332 * libio/freopen64.c: Likewise.
30333 * misc/syslog.c: Likewise.
30334 * nscd/connections.c: Likewise.
30335 * nscd/netgroupcache.c: Likewise.
30336 * sysdeps/posix/getcwd.c: Likewise.
30338 2012-05-10 Roland McGrath <roland@hack.frob.com>
30340 * math/w_ilogbf.c: Add #include <limits.h>.
30342 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30344 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30345 path instead of returning without unlocking.
30347 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30348 immediate-write ioctls.
30349 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30351 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30353 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30354 __builtin_frame_address instead of making assumptions about the
30355 location of the return address relative to DATA. Force early load of
30356 the return address.
30357 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30358 __builtin_frame_address.
30361 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30362 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30363 implement dup3 and do some further code clean-ups.
30364 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30365 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30367 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30369 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30371 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30372 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30373 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30374 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30375 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30378 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30379 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30380 when handler == SIG_ERR, not when handler != SIG_ERR.
30382 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30384 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30385 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30388 accept4 for GNU Hurd.
30389 * include/sys/socket.h (__libc_accept4): New prototype.
30390 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30391 to implement __libc_accept4.
30392 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30394 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30396 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30397 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30398 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30399 signal-defines.sym.
30401 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30403 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30405 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30407 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30408 assertion on O_CLOEXEC flag.
30409 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30410 * hurd/intern-fd.c: Likewise.
30411 * hurd/port2fd.c: Likewise.
30413 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30416 * bits/in.h (IPV6_PKTINFO): Define new macro.
30417 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30419 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30424 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30426 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30427 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30428 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30429 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30430 * math/libm-test.inc (logb_test) : Additional logb tests.
30432 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30433 Andreas Jaeger <aj@suse.de>
30435 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30436 * configure: Regenerated.
30437 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30438 * config.make.in (link-obsolete-rpc): New substituted variable.
30439 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30440 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30441 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30442 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30443 so that libc.a contains the symbols.
30444 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30445 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30446 * sunrpc/auth_none.c: Likewise.
30447 * sunrpc/auth_unix.c: Likewise.
30448 * sunrpc/authdes_prot.c: Likewise.
30449 * sunrpc/authuxprot.c: Likewise.
30450 * sunrpc/clnt_gen.c: Likewise.
30451 * sunrpc/clnt_perr.c: Likewise.
30452 * sunrpc/clnt_raw.c: Likewise.
30453 * sunrpc/clnt_simp.c: Likewise.
30454 * sunrpc/clnt_tcp.c: Likewise.
30455 * sunrpc/clnt_udp.c: Likewise.
30456 * sunrpc/clnt_unix.c: Likewise.
30457 * sunrpc/des_crypt.c: Likewise.
30458 * sunrpc/des_soft.c: Likewise.
30459 * sunrpc/get_myaddr.c: Likewise.
30460 * sunrpc/key_call.c: Likewise.
30461 * sunrpc/key_prot.c: Likewise.
30462 * sunrpc/netname.c: Likewise.
30463 * sunrpc/pm_getmaps.c: Likewise.
30464 * sunrpc/pm_getport.c: Likewise.
30465 * sunrpc/pmap_clnt.c: Likewise.
30466 * sunrpc/pmap_prot.c: Likewise.
30467 * sunrpc/pmap_prot2.c: Likewise.
30468 * sunrpc/pmap_rmt.c: Likewise.
30469 * sunrpc/publickey.c: Likewise.
30470 * sunrpc/rpc_cmsg.c: Likewise.
30471 * sunrpc/rpc_common.c: Likewise.
30472 * sunrpc/rpc_dtable.c: Likewise.
30473 * sunrpc/rpc_prot.c: Likewise.
30474 * sunrpc/rpc_thread.c: Likewise.
30475 * sunrpc/rtime.c: Likewise.
30476 * sunrpc/svc.c: Likewise.
30477 * sunrpc/svc_auth.c: Likewise.
30478 * sunrpc/svc_raw.c: Likewise.
30479 * sunrpc/svc_run.c: Likewise.
30480 * sunrpc/svc_tcp.c: Likewise.
30481 * sunrpc/svc_udp.c: Likewise.
30482 * sunrpc/svc_unix.c: Likewise.
30483 * sunrpc/svcauth_des.c: Likewise.
30484 * sunrpc/xcrypt.c: Likewise.
30485 * sunrpc/xdr.c: Likewise.
30486 * sunrpc/xdr_array.c: Likewise.
30487 * sunrpc/xdr_float.c: Likewise.
30488 * sunrpc/xdr_intXX_t.c: Likewise.
30489 * sunrpc/xdr_mem.c: Likewise.
30490 * sunrpc/xdr_rec.c: Likewise.
30491 * sunrpc/xdr_ref.c: Likewise.
30492 * sunrpc/xdr_sizeof.c: Likewise.
30493 * sunrpc/xdr_stdio.c: Likewise.
30495 2012-05-10 Roland McGrath <roland@hack.frob.com>
30497 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30498 change. Update copyright years.
30500 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30502 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30504 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30505 Joseph Myers <joseph@codesourcery.com>
30506 Paul Pluzhnikov <ppluzhnikov@google.com>
30509 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30511 [cross-compiling] (extra-libs): Likewise.
30512 [cross-compiling] (extra-libs-others): Likewise.
30513 [cross-compiling] (librpcsvc-routines): Likewise.
30514 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30515 [cross-compiling] (omit-deps): Likewise.
30516 (sunrpc-CPPFLAGS): New variable.
30517 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30518 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30519 (cross-rpcgen-objs): New variable.
30520 (extra-objs): Append $(cross-rpcgen-objs).
30521 ($(cross-rpcgen-objs)): New rule.
30522 ($(objpfx)cross-rpcgen): Likewise.
30523 (rpcgen-cmd): Define to use $(built-program-file). Expand
30525 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30526 ($(objpfx)x%.stmp): Likewise.
30527 * sunrpc/proto.h [IS_IN_build] (_): Define.
30528 [IS_IN_build] (_libc_intl_domainname): Likewise.
30530 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30532 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30533 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30534 and R_X86_64_TPOFF64.
30536 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30538 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30539 sysdeps/unix/sysv/syscalls.list.
30542 * sysdeps/unix/sysv/syscalls.list: Remove file.
30544 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30547 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30548 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30549 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30550 (__LC_IDENTIFICATION): Make these macros useful in #if
30551 expressions, as required by C99.
30553 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30555 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30556 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30559 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30561 * stdlib/longlong.h: Updated from GCC.
30563 2012-05-09 Andreas Jaeger <aj@suse.de>
30565 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30566 default is first entry.
30567 (run_mode): Set type.
30568 (main): Remove informal message about syslog.
30569 (options): Fix typo.
30572 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30575 (llrintf): Likewise.
30576 (llrint): Likewise.
30579 (nearbyint): Likewise.
30580 (nearbyintf): Likewise.
30582 2012-05-09 Andreas Jaeger <aj@suse.de>
30583 Pedro Alves <palves@redhat.com>
30585 * nscd/nscd.c (run_mode): Use enum.
30586 (main): Cleanup coding style issue.
30588 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30589 Andreas Jaeger <aj@suse.de>
30591 * nscd/nscd.c (go_background): Replaced with...
30592 (run_mode): ... this.
30593 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30594 (options): Add -F --foreground.
30595 (main): Implement it.
30596 (parse_opt): Parse it.
30598 2012-05-09 Andreas Jaeger <aj@suse.de>
30601 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30602 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30603 -Wconversion warning.
30604 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30607 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30609 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30611 (LC_ALL): Use macro-int-constant.
30612 (LC_COLLATE): Likewise.
30613 (LC_CTYPE): Likewise.
30614 (LC_MESSAGES): Likewise.
30615 (LC_MONETARY): Likewise.
30616 (LC_NUMERIC): Likewise.
30617 (LC_TIME): Likewise.
30618 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30619 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30620 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30621 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30623 [C99-based standards] (float_t): Expect type.
30624 [C99-based standards] (double_t): Expect type.
30625 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30627 [C99-based standards] (HUGE_VALL): Likewise.
30628 [C99-based standards] (INFINITY): Likewise.
30629 [C99-based standards] (NAN): Likewise.
30630 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30631 [C99-based standards] (FP_NAN): Likewise.
30632 [C99-based standards] (FP_NORMAL): Likewise.
30633 [C99-based standards] (FP_SUBNORMAL): Likewise.
30634 [C99-based standards] (FP_ZERO): Likewise.
30635 [C99-based standards] (FP_FAST_FMA): Use
30636 optional-macro-int-constant. Specify type. Require == 1.
30637 [C99-based standards] (FP_FAST_FMAF): Likewise.
30638 [C99-based standards] (FP_FAST_FMAL): Likewise.
30639 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30640 [C99-based standards] (FP_ILOGBNAN): Likewise.
30641 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30643 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30644 [C99-based standards] (math_errhandling): Specify type.
30645 [ISO99 || ISO11] (signgam): Do not allow.
30646 [non-C99-based standards] (copysignf): Do not allow.
30647 [non-C99-based standards] (exp2f): Likewise.
30648 [non-C99-based standards] (log2f): Likewise.
30649 [non-C99-based standards] (modff): Allow.
30650 [non-C99-based standards] (erff): Do not allow.
30651 [non-C99-based standards] (erfcf): Likewise.
30652 [non-C99-based standards] (gammaf): Likewise.
30653 [non-C99-based standards] (hypotf): Likewise.
30654 [non-C99-based standards] (j0f): Likewise.
30655 [non-C99-based standards] (j1f): Likewise.
30656 [non-C99-based standards] (jnf): Likewise.
30657 [non-C99-based standards] (lgammaf): Likewise.
30658 [non-C99-based standards] (tgammaf): Likewise.
30659 [non-C99-based standards] (y0f): Likewise.
30660 [non-C99-based standards] (y1f): Likewise.
30661 [non-C99-based standards] (ynf): Likewise.
30662 [non-C99-based standards] (isnanf): Likewise.
30663 [non-C99-based standards] (acoshf): Likewise.
30664 [non-C99-based standards] (asinhf): Likewise.
30665 [non-C99-based standards] (atanhf): Likewise.
30666 [non-C99-based standards] (cbrtf): Likewise.
30667 [non-C99-based standards] (expm1f): Likewise.
30668 [non-C99-based standards] (ilogbf): Likewise.
30669 [non-C99-based standards] (log1pf): Likewise.
30670 [non-C99-based standards] (logbf): Likewise.
30671 [non-C99-based standards] (nextafterf): Likewise.
30672 [non-C99-based standards] (remainderf): Likewise.
30673 [non-C99-based standards] (rintf): Likewise.
30674 [non-C99-based standards] (scalbf): Likewise.
30675 [non-C99-based standards] (copysignl): Likewise.
30676 [non-C99-based standards] (exp2l): Likewise.
30677 [non-C99-based standards] (log2l): Likewise.
30678 [non-C99-based standards] (modfl): Allow.
30679 [non-C99-based standards] (erfl): Do not allow.
30680 [non-C99-based standards] (erfcl): Likewise.
30681 [non-C99-based standards] (gammal): Likewise.
30682 [non-C99-based standards] (hypotl): Likewise.
30683 [non-C99-based standards] (j0l): Likewise.
30684 [non-C99-based standards] (j1l): Likewise.
30685 [non-C99-based standards] (jnl): Likewise.
30686 [non-C99-based standards] (lgammal): Likewise.
30687 [non-C99-based standards] (tgammal): Likewise.
30688 [non-C99-based standards] (y0l): Likewise.
30689 [non-C99-based standards] (y1l): Likewise.
30690 [non-C99-based standards] (ynl): Likewise.
30691 [non-C99-based standards] (isnanl): Likewise.
30692 [non-C99-based standards] (acoshl): Likewise.
30693 [non-C99-based standards] (asinhl): Likewise.
30694 [non-C99-based standards] (atanhl): Likewise.
30695 [non-C99-based standards] (cbrtl): Likewise.
30696 [non-C99-based standards] (expm1l): Likewise.
30697 [non-C99-based standards] (ilogbl): Likewise.
30698 [non-C99-based standards] (log1pl): Likewise.
30699 [non-C99-based standards] (logbl): Likewise.
30700 [non-C99-based standards] (nextafterl): Likewise.
30701 [non-C99-based standards] (remainderl): Likewise.
30702 [non-C99-based standards] (rintl): Likewise.
30703 [non-C99-based standards] (scalbl): Likewise.
30704 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30705 [non-C99-based standards] (FP_*): Do not allow.
30706 [C99-based standards] (FP_*): Change to
30707 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30708 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30710 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30711 (SIG_ERR): Likewise.
30712 [X/Open-based standards] (SIG_HOLD): Likewise.
30713 (SIG_IGN): Likewise.
30714 (SIGABRT): Use macro-int-constant. Specify type. Require
30716 (SIGFPE): Likewise.
30717 (SIGILL): Likewise.
30718 (SIGINT): Likewise.
30719 (SIGSEGV): Likewise.
30720 (SIGTER): Likewise.
30721 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30722 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30723 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30724 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30725 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30726 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30727 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30728 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30729 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30730 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30731 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30732 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30733 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30734 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30735 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30736 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30737 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30738 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30739 [X/Open-based standards] (SIGTRAP): Likewise.
30740 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30741 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30742 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30743 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30744 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30747 2012-05-08 Ian Wienand <ianw@vmware.com>
30750 * time/tzset.c (__tzset_parse_tz): Update default rules for
30751 daylight time changes in the Energy Policy Act of 2005.
30753 2012-05-09 Andreas Jaeger <aj@suse.de>
30756 * elf/ldconfig.c (parse_conf): Change string to make clear that
30757 ldconfig only issued a warning if ld.so.conf does not exist.
30759 2012-05-08 David S. Miller <davem@davemloft.net>
30761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30762 movxtod instead of popping the value on the stack.
30764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30766 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30768 * config.h.in: Add HAVE_ARM_PCS_VFP.
30770 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30773 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30774 checking but the checks are disabled for any reason.
30776 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30778 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30779 and ELF64_R_TYPE with ELFW(R_TYPE).
30781 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30783 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30784 (ulimit): Likewise.
30786 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30787 (settimeofday): Likewise.
30789 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30791 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30792 a struct th_u2 inside the union, and move tu_block/tu_code into
30793 a new th_u3 union of tu_block/tu_code inside of that. Move
30794 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30795 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30796 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30797 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30798 (th_stuff): Change to th_u1.tu_stuff.
30800 (th_msg): Change to th_u1.th_u2.tu_data.
30802 2012-05-07 David S. Miller <davem@davemloft.net>
30804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30807 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30808 (SETUP_PIC_REG): Use it.
30809 (SETUP_PIC_REG_LEAF): Use it.
30811 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30815 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30817 (EXPL_FINITE): Likewise.
30818 (FLDLOG): Likewise.
30819 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30820 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30822 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30824 (EXPL_FINITE): Likewise.
30825 (FLDLOG): Likewise.
30826 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30827 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30829 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30830 test of -max_value argument for long double.
30831 * sysdeps/i386/fpu/libm-test-ulps: Update.
30832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30834 2012-05-06 David S. Miller <davem@davemloft.net>
30836 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30837 quad soft-float symbols whose references which are compiler
30839 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30841 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30845 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30847 (EXPL_FINITE): Likewise.
30848 (FLDLOG): Likewise.
30851 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30852 Adjust comments for base varying.
30853 (__expl_finite): Change alias to EXPL_FINITE.
30854 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30856 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30857 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30858 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30859 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30860 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30862 (EXPL_FINITE): Likewise.
30863 (FLDLOG): Likewise.
30866 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30867 Adjust comments for base varying.
30868 (__expl_finite): Change alias to EXPL_FINITE.
30869 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30874 * math/libm-test.inc (check_float_internal): Correct ulp
30875 calculation for subnormal expected results.
30877 2012-05-06 Andreas Jaeger <aj@suse.de>
30879 * Makeconfig (+math-flags): New, set to -frounding-math.
30880 (+cflags): Add +math-flags so that all of glibc gets compiled with
30883 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30885 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30887 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30893 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30894 (__ieee754_expl): Allow for and saturate large arguments.
30895 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30896 (u_threshold): Likewise.
30897 (__exp): Call __ieee754_exp before checking for overflow and
30899 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30900 (u_threshold): Likewise.
30901 (__expf): Call __ieee754_expf before checking for overflow and
30903 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30904 (u_threshold): Likewise.
30905 (__expl): Call __ieee754_expl before checking for overflow and
30907 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30908 (__ieee754_expl): Allow for and saturate large arguments.
30909 * math/libm-test.inc (exp_test): Add another test. Do not allow
30910 missing overflow exception on overflow.
30911 (expm1_test): Do not allow missing overflow exception on overflow.
30913 * sysdeps/i386/fpu/e_expl.c: Move to ...
30914 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30915 rather than using inline asm.
30916 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30917 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30918 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30920 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30923 (signal): Likewise.
30927 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30929 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30930 sysdeps/unix/common/syscalls.list.
30931 (fchmod): Likewise.
30932 (fchown): Likewise.
30933 (ftruncate): Likewise.
30934 (getrusage): Likewise.
30935 (gettimeofday): Likewise.
30936 (setpgid): Likewise.
30937 (setregid): Likewise.
30938 (setreuid): Likewise.
30939 (sigaction): Likewise.
30940 (truncate): Likewise.
30941 (vhangup): Likewise.
30942 * sysdeps/unix/common/syscalls.list: Remove file.
30943 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30944 * sysdeps/unix/sysv/linux/Implies: Likewise.
30946 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30948 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30950 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30954 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30957 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30960 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30963 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30966 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30969 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30972 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30976 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30980 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30983 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30987 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30991 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30993 * sysdeps/unix/common/bits/dirent.h: Remove file.
30994 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30996 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30997 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30998 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30999 * sysdeps/unix/bsd/isatty.c: Likewise.
31000 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31001 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31002 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31004 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31007 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31008 long double comparison inaccuracies.
31009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31012 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31014 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31015 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31017 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31020 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31021 nonzero digits before rounding a hex value.
31022 * stdlib/tst-strtod.c (tests): Add another test.
31024 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31026 * sysdeps/s390/fpu/libm-test-ulps: Update.
31028 2012-05-03 Andreas Jaeger <aj@suse.de>
31030 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31031 does not get optimized out.
31032 (malloc_opt_barrier): New.
31034 2012-05-03 Andreas Jaeger <aj@suse.de>
31035 Roland McGrath <roland@hack.frob.com>
31037 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31038 intermediate file deletion.
31039 (generated): Add .symlist files.
31041 2012-05-03 Joseph Myers <joseph@codesourcery.com>
31044 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31045 Redirect under this condition.
31046 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31047 [__USE_GNU] (__dprintf_chk): Not under this condition.
31048 [__USE_GNU] (__vdprintf_chk): Likewise.
31049 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31050 under this condition.
31051 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31052 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31053 [__USE_XOPEN2K8] (vdprintf): Likewise.
31054 [__USE_GNU] (__dprintf_chk): Not under this condition.
31055 [__USE_GNU] (__vdprintf_chk): Likewise.
31056 [__USE_GNU] (dprintf): Likewise.
31057 [__USE_GNU] (vdprintf): Likewise.
31059 2012-05-03 Roland McGrath <roland@hack.frob.com>
31061 * elf/Makefile (common-generated): Set this instead of generated for
31062 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31063 $(all-built-dso)-derived lists.
31065 2012-05-03 Andreas Jaeger <aj@suse.de>
31067 * sysdeps/i386/fpu/libm-test-ulps: Update.
31070 * FAQ.in: Likewise.
31071 * scripts/gen-FAQ.pl: Likewise.
31072 * manual/install.texi (Installation): Point to online location of
31074 * Makefile (files-for-dist): Remove FAQ.
31077 2012-05-02 Allan McRae <allan@archlinux.org>
31079 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31080 (LDFLAGS-reldepmod5.so): Likewise.
31081 (LDFLAGS-reldep6mod1.so): Likewise.
31082 (LDFLAGS-reldep6mod4.so): Likewise.
31083 (LDFLAGS-reldep8mod3.so): Likewise.
31084 (LDFLAGS-unload4mod1.so): Likewise.
31085 (LDFLAGS-unload4mod2.so): Likewise.
31086 (LDFLAGS-tst-initorder): Likewise.
31087 (LDFLAGS-tst-initordera2.so): Likewise.
31088 (LDFLAGS-tst-initordera3.so): Likewise.
31089 (LDFLAGS-tst-initordera4.so): Likewise.
31090 (LDFLAGS-tst-initorderb2.so): Likewise.
31091 (LDFLAGS-noload): Likewise.
31092 (LDFLAGS-next): Likewise.
31093 (LDFLAGS-order2mod1.so): Likewise.
31094 (LDFLAGS-order2mod2.so): Likewise.
31095 (LDFLAGS-tst-initorder2): Likewise.
31096 (LDFLAGS-tst-initorder2a.so): Likewise.
31097 (LDFLAGS-tst-initorder2b.so): Likewise.
31098 (LDFLAGS-tst-initorder2c.so): Likewise.
31099 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31101 2012-05-02 David S. Miller <davem@davemloft.net>
31103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31105 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31108 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31110 2012-05-02 Andreas Jaeger <aj@suse.de>
31112 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31113 since we manipulate rounding mode.
31114 (CPPFLAGS-test-idouble.c): Likewise.
31115 (CPPFLAGS-test-ifloat.c): Likewise.
31116 (CFLAGS-test-ldouble.c): Likewise.
31117 (CFLAGS-test-double.c): Likewise.
31118 (CFLAGS-test-float.c): Likewise.
31119 (CFLAGS-test-misc.c): Likewise.
31120 (CFLAGS-test-test-fenv.c): Likewise.
31122 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31126 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31127 comparisons to determine direction to adjust input.
31129 2012-05-01 Roland McGrath <roland@hack.frob.com>
31131 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31132 output to the target.
31134 * scripts/localplt.awk: New file.
31135 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31136 (check-localplt-CFLAGS): Variable removed.
31137 ($(all-built-dso:=.jmprel)): New static pattern rule.
31138 (generated): Add those targets.
31139 (localplt-built-dso): New variable.
31140 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31142 * elf/check-localplt.c: File removed.
31144 * scripts/check-execstack.awk: New file.
31145 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31146 (check-execstack-CFLAGS): Variable removed.
31147 ($(objpfx)check-execstack.h): Target removed.
31148 ($(objpfx)execstack-default): New target.
31149 (generated): Add that instead of check-execstack.h.
31150 ($(all-built-dso:=.phdr)): New static pattern rule.
31151 (generated): Add those targets.
31152 * elf/check-execstack.c: File removed.
31154 * scripts/check-textrel.awk: New file.
31155 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31156 (check-textrel-CFLAGS): Variable removed.
31157 (all-built-dso): Use := to define.o
31158 ($(all-built-dso:=.dyn)): New static pattern rule.
31159 (generated): Add those targets.
31160 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31161 * config.make.in (READELF): New substituted variable.
31162 * elf/check-textrel.c: File removed.
31164 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31166 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31168 * conform/data/ctype.h-data [C99-based standards] (isblank):
31170 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31171 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31172 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31173 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31174 Specify type. Require positive value.
31175 (EILSEQ): Likewise.
31176 (ERANGE): Likewise.
31177 [ISO || POSIX] (EILSEQ): Do not expect.
31178 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31179 Specify type. Require positive value.
31180 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31181 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31182 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31183 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31184 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31185 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31186 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31187 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31188 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31189 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31190 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31191 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31192 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31193 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31194 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31195 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31196 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31197 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31198 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31199 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31200 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31201 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31202 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31203 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31204 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31205 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31206 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31207 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31208 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31209 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31210 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31211 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31212 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31213 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31214 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31215 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31216 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31217 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31218 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31219 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31220 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31221 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31222 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31223 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31224 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31225 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31226 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31227 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31228 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31229 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31230 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31231 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31232 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31233 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31234 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31235 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31236 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31237 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31238 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31239 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31240 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31241 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31242 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31243 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31244 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31245 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31246 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31247 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31248 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31249 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31250 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31251 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31252 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31253 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31254 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31255 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31256 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31258 (FLT_ROUNDS): Expect as macro, not constant.
31259 (FLT_MANT_DIG): Use macro-int-constant.
31260 (DBL_MANT_DIG): Likewise.
31261 (LDBL_MANT_DIG): Likewise.
31262 (FLT_DIG): Likewise.
31263 (DBL_DIG): Likewise.
31264 (LDBL_DIG): Likewise.
31265 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31266 (DBL_MIN_EXP): Likewise.
31267 (LDBL_MIN_EXP): Likewise.
31268 (FLT_MAX_EXP): Use macro-int-constant.
31269 (DBL_MAX_EXP): Likewise.
31270 (LDBL_MAX_EXP): Likewise.
31271 (FLT_MAX_10_EXP): Likewise.
31272 (DBL_MAX_10_EXP): Likewise.
31273 (LDBL_MAX_10_EXP): Likewise.
31274 (FLT_MAX): Use macro-constant.
31275 (DBL_MAX): Likewise.
31276 (LDBL_MAX): Likewise.
31277 (FLT_EPSILON): Use macro-constant. Give upper bound.
31278 (DBL_EPSILON): Likewise.
31279 (LDBL_EPSILON): Likewise.
31280 (FLT_MIN): Likewise.
31281 (DBL_MIN): Likewise.
31282 (LDBL_MIN): Likewise.
31283 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31284 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31285 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31286 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31287 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31288 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31289 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31290 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31291 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31292 [ISO11] (FLT_TRUE_MIN): Likewise.
31293 [ISO11] (LDBL_TRUE_MIN): Likewise.
31294 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31295 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31296 (SCHAR_MIN): Use macro-int-constant. Specify type.
31297 (SCHAR_MAX): Likewise.
31298 (UCHAR_MAX): Likewise.
31299 (CHAR_MIN): Likewise.
31300 (CHAR_MAX): Likewise.
31301 (MB_LEN_MAX): Use macro-int-constant.
31302 (SHRT_MIN): Use macro-int-constant. Specify type.
31303 (SHRT_MAX): Likewise.
31304 (USHRT_MAX): Likewise.
31305 (INT_MAX): Likewise.
31306 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31308 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31310 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31312 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31313 bound negative. Suffix upper bound with "L".
31314 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31316 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31318 [C99-based standards] (LLONG_MAX): Likewise.
31319 [C99-based standards] (ULLONG_MAX): Likewise.
31320 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31322 [ISO11] (max_align_t): Require type.
31323 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31325 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31326 from $CFLAGS, without defining away __attribute__ calls.
31327 (checknamespace): Use $CFLAGS_namespace.
31329 * conform/conformtest.pl (@keywords): Only include C99 keywords
31330 for standards based on C99 or C11.
31332 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31334 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31337 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31338 usability of symbols in #if.
31340 * conform/conformtest.pl: If macro or constant types start
31341 "promoted:", expect the symbol to be of the following type
31342 promoted by the integer promotions.
31344 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31345 in one place. Also handle "macro-constant".
31347 * conform/conformtest.pl: Only accept expected macro values with
31348 "==". Parse all "macro" lines in one place.
31349 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31351 * conform/conformtest.pl: Handle braced types on "constant" lines
31352 instead of handling "typed-constant".
31353 * conform/data/signal.h-data: Use "constant" instead of
31356 * conform/conformtest.pl: Handle "optional-" at start of lines in
31357 one place rather than duplicating several cases. Handle each
31358 format of "macro" line with initial "optional-".
31360 * conform/conformtest.pl: Only accept expected constant or
31361 optional-constant values with "==". Parse all "constant" lines in
31362 one place. Parse all "optional-constant" lines in one place.
31363 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31364 * conform/data/fmtmsg.h-data: Likewise.
31365 * conform/data/netinet/in.h-data: Likewise.
31366 * conform/data/tar.h-data: Likewise.
31367 * conform/data/limits.h-data: Use "==" form on "constant" and
31368 "optional-constant" lines.
31370 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31371 Use -std=c99 for XOPEN2K.
31372 (@knownproblems): Remove.
31373 (newtoken): Don't check %isknown.
31375 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31376 Do not expect macro.
31377 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31378 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31379 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31380 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31381 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31382 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31383 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31384 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31385 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31386 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31387 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31388 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31389 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31390 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31391 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31392 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31393 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31394 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31395 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31396 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31397 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31398 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31399 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31400 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31401 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31402 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31403 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31404 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31405 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31406 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31407 [XPG3] (acosh): Likewise.
31408 [XPG3] (asinh): Likewise.
31409 [XPG3] (atanh): Likewise.
31410 [XPG3] (cbrt): Likewise.
31411 [XPG3] (expm1): Likewise.
31412 [XPG3] (ilogb): Likewise.
31413 [XPG3] (log1p): Likewise.
31414 [XPG3] (logb): Likewise.
31415 [XPG3] (nextafter): Likewise.
31416 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31417 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31418 [XPG3] (remainder): Likewise.
31419 [XPG3] (rint): Likewise.
31420 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31421 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31422 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31423 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31424 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31425 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31426 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31427 [UNIX98 || XOPEN2K] (scalb): Expect.
31428 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31429 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31430 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31431 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31432 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31433 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31434 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31435 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31436 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31437 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31438 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31439 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31440 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31441 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31442 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31443 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31444 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31445 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31446 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31447 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31448 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31449 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31450 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31451 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31452 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31453 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31454 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31455 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31456 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31457 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31458 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31459 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31460 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31461 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31462 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31463 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31464 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31465 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31466 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31467 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31468 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31469 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31470 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31471 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31472 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31473 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31474 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31475 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31476 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31477 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31478 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31479 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31480 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31481 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31482 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31483 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31484 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31485 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31486 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31487 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31488 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31489 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31490 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31491 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31492 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31493 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31494 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31495 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31496 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31497 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31498 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31499 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31500 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31501 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31502 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31503 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31504 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31505 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31506 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31507 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31508 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31509 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31510 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31511 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31512 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31513 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31514 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31515 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31516 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31517 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31518 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31519 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31520 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31521 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31522 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31523 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31524 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31525 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31526 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31527 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31528 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31529 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31530 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31531 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31532 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31533 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31534 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31535 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31536 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31537 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31538 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31539 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31540 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31541 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31542 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31543 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31544 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31545 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31546 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31547 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31548 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31549 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31550 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31551 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31552 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31553 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31554 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31555 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31556 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31557 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31558 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31559 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31560 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31561 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31562 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31563 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31564 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31566 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31567 _XOPEN_SOURCE_EXTENDED for XPG4.
31569 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31571 * Makeconfig (localtime): Remove variable.
31572 (inst_localtime-file): Likewise.
31574 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31595 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31599 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31600 comparisons to determine direction to adjust input.
31601 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31602 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31603 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31605 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31607 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31609 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31610 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31612 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31614 * math/libm-test.inc (nexttoward_test): Add more tests.
31616 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31619 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31620 in version GLIBC_2.1, not GLIBC_2.0.
31621 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31624 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31627 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31629 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31630 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31631 * math/libm-test.inc (acos_test): Add more tests.
31632 (asin_test): Likewise.
31633 * sysdeps/i386/fpu/libm-test-ulps: Update.
31634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31637 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31639 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31640 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31641 * math/libm-test.inc (acos_test_tonearest): New function.
31642 (acos_test_towardzero): Likewise.
31643 (acos_test_downward): Likewise.
31644 (acos_test_upward): Likewise.
31645 (asin_test_tonearest): Likewise.
31646 (asin_test_towardzero): Likewise.
31647 (asin_test_downward): Likewise.
31648 (asin_test_upward): Likewise.
31649 (main): Call the new functions.
31650 * sysdeps/i386/fpu/libm-test-ulps: Update.
31651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31655 * math/e_exp10.c: Include <float.h>.
31656 (__ieee754_exp10): Handle underflow here rather than multiplying
31657 large negative argument by M_LN10.
31658 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31660 * math/e_exp10l.c: Include <float.h>.
31661 (__ieee754_exp10l): Handle underflow here rather than multiplying
31662 large negative argument by M_LN10l.
31663 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31664 spurious overflow exception on underflow.
31666 2012-04-29 Marek Polacek <polacek@redhat.com>
31668 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31669 (__fortify_function): New macro.
31670 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31671 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31672 __extern_always_inline.
31673 * libio/bits/stdio2.h: Likewise.
31674 * libio/bits/stdio.h: Likewise.
31675 * string/string.h: Likewise.
31676 * string/bits/string3.h: Likewise.
31677 * include/stdio.h: Likewise.
31678 * stdlib/bits/stdlib.h: Likewise.
31679 * stdlib/stdlib.h: Likewise.
31680 * rt/bits/mqueue2.h: Likewise.
31681 * rt/mqueue.h: Likewise.
31682 * posix/bits/unistd.h: Likewise.
31683 * posix/unistd.h: Likewise.
31684 * io/bits/poll2.h: Likewise.
31685 * io/bits/fcntl2.h: Likewise.
31686 * io/fcntl.h: Likewise.
31687 * io/sys/poll.h: Likewise.
31688 * misc/bits/syslog.h: Likewise.
31689 * misc/bits/syslog-ldbl.h: Likewise.
31690 * misc/sys/syslog.h: Likewise.
31691 * socket/bits/socket2.h: Likewise.
31692 * socket/sys/socket.h: Likewise.
31693 * debug/tst-chk1.c: Likewise.
31694 * wcsmbs/bits/wchar2.h: Likewise.
31695 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31696 * wcsmbs/wchar.h: Likewise.
31698 2012-04-29 Andreas Jaeger <aj@suse.de>
31700 * Makerules (tests): Remove enable-check-abi protection.
31701 (check-abi-warn): Remove.
31702 (check-abi-%): Remove check-abi-warn usage.
31704 * configure.in: Remove check-abi configure option.
31705 * configure: Regenerated.
31706 * config.make.in (enable-check-abi): Remove.
31708 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31711 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31712 double functions to double *_finite functions.
31715 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31716 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31718 * stdio-common/Makefile (tests): Add tst-sprintf3.
31719 * stdio-common/tst-sprintf3.c: New file.
31721 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31722 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31724 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31726 * conform/conformtest.pl: Remove duplicate typed-constant
31729 2012-04-28 David S. Miller <davem@davemloft.net>
31731 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31732 (check-abi-%): Remove AWK script prerequisite and explicit
31734 (check-abi): Rewrite to just diff the symlist with the abilist.
31735 (config-tls, config-abi-config): Delete, no longer used.
31736 (update-abi-%): Remove AWK script and explicit abilist directory.
31737 (update-abi): Rewrite to simply compare and conditionally copy the
31738 symlist and the sysdep abilist file. Remove update-abi-config
31740 * abilist/ld.abilist: Remove.
31741 * abilist/libBrokenLocale.abilist: Remove.
31742 * abilist/libanl.abilist: Remove.
31743 * abilist/libcrypt.abilist: Remove.
31744 * abilist/libdl.abilist: Remove.
31745 * abilist/librt.abilist: Remove.
31746 * abilist/libthread_db.abilist: Remove.
31747 * abilist/libutil.abilist: Remove.
31748 * scripts/extract-abilist.awk: Remove.
31749 * scripts/merge-abilist.awk: Remove.
31750 * sysdeps/generic/libcidn.abilist: New file.
31751 * sysdeps/generic/libnss_compat.abilist: New file.
31752 * sysdeps/generic/libnss_db.abilist: New file.
31753 * sysdeps/generic/libnss_dns.abilist: New file.
31754 * sysdeps/generic/libnss_files.abilist: New file.
31755 * sysdeps/generic/libnss_hesiod.abilist: New file.
31756 * sysdeps/generic/libnss_nis.abilist: New file.
31757 * sysdeps/generic/libnss_nisplus.abilist: New file.
31758 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31759 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31760 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31762 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31763 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31764 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31765 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31766 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31767 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31768 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31769 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31770 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31772 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31773 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31774 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31775 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31777 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31778 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31779 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31780 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31781 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31782 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31784 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31785 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31786 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31788 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31793 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31795 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31797 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31891 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31892 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31893 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31896 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31897 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31898 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31899 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31900 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31901 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31902 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31903 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31904 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31956 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31958 * conform/conformtest.pl: Fix typo in handling typed-constant from
31961 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31963 * README: Cut down references to pre-2.6 Linux kernels and
31964 Linuxthreads. Update lists of configurations in libc and ports
31965 and sort alphabetically. Say "or newer" with Linux kernel version
31968 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31970 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31973 * math/libm-test.inc (logb_test_downward): New test to expose
31974 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31977 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31980 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31982 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31983 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31985 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31987 * sysdeps/unix/i386/brk.S: Remove file.
31988 * sysdeps/unix/i386/dl-brk.S: Likewise.
31989 * sysdeps/unix/i386/pipe.S: Likewise.
31990 * sysdeps/unix/i386/sigreturn.S: Likewise.
31991 * sysdeps/unix/i386/syscall.S: Likewise.
31992 * sysdeps/unix/i386/vfork.S: Likewise.
31993 * sysdeps/unix/i386/wait.S: Likewise.
31995 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31996 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31998 * configure.in (arm*-none*): Do not allow without
31999 --enable-hacker-mode.
32000 (netbsd*): Remove case setting base_os.
32001 (386bsd*): Likewise.
32002 (freebsd*): Likewise.
32005 (sunos*): Likewise.
32006 (ultrix*): Likewise.
32007 (newsos*): Likewise.
32008 (dynix*): Likewise.
32014 (minix*): Likewise.
32015 (irix4*): Likewise.
32016 (irix6*): Likewise.
32017 (solaris[2-9]*): Likewise.
32019 * configure: Regenerated.
32021 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32024 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32025 overflow or cancellation in calculating denominator.
32026 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32028 down expression to avoid unexpected rounding in newer GCCs.
32029 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32031 2012-04-26 David S. Miller <davem@davemloft.net>
32033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32034 long-double compat symbols.
32035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32049 2012-04-25 David S. Miller <davem@davemloft.net>
32051 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32052 HWCAP_* values only after the memory barriers have been defined.
32053 (atomic_full_barrier): Define.
32054 (atomic_read_barrier): Define.
32055 (atomic_write_barrier): Define.
32057 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32059 * shlib-versions: Add libgcc_s version information.
32060 * sysdeps/generic/libgcc_s.h: Remove.
32061 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32063 * sysdeps/gnu/unwind-resume.c: Likewise.
32064 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32066 2012-04-25 David S. Miller <davem@davemloft.net>
32068 * sysdeps/unix/sparc/brk.S: Delete.
32069 * sysdeps/unix/sparc/dl-brk.S: Delete.
32070 * sysdeps/unix/sparc/pipe.S: Delete.
32071 * sysdeps/unix/sparc/sysdep.S: Delete.
32072 * sysdeps/unix/sparc/sysdep.h: Delete.
32073 * sysdeps/unix/sparc/vfork.S: Delete.
32074 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32075 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32076 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32077 (ret_ERRVAL, r0, r1, MOVE): Define.
32078 (JUMPTARGET): Remove.
32079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32080 sysdeps/unix/sparc/sysdep.h
32081 (ENTRY, END): Remove.
32082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32084 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32086 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32087 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32090 * timezone/README: Update upstream location and email address for
32092 * timezone/zdump.c: Update from tzcode 2012b.
32093 * timezone/zic.c: Likewise.
32095 * configure.in (libc_cv_as_needed): Remove test.
32096 * configure: Regenerated.
32097 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32098 conditional definition.
32099 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32100 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32101 * config.make.in (have-as-needed): Remove variable.
32103 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32104 Paul Pluzhnikov <ppluzhnikov@google.com>
32106 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32109 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32111 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32112 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32113 * sysdeps/sh/strlen.S: Likewise.
32115 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32117 * sysdeps/unix/fork.S: Remove file.
32118 * sysdeps/unix/i386/fork.S: Likewise.
32119 * sysdeps/unix/sparc/fork.S: Likewise.
32121 * sysdeps/unix/system.c: Remove file.
32122 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32124 * sysdeps/unix/getegid.S: Remove file.
32125 * sysdeps/unix/geteuid.S: Likewise.
32127 2012-04-24 Roland McGrath <roland@hack.frob.com>
32129 * scripts/check-localplt.awk: New file.
32130 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32132 * scripts/data/localplt-generic.data: Add a comment.
32134 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32135 NODE when __dir_mkfile failed.
32136 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32137 Reported by Ludovic Courtès <ludo@gnu.org>.
32139 2012-04-24 Andreas Jaeger <aj@suse.de>
32141 * Makerules (common-clean): Also remove gen-as-const-headers
32144 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32146 * Makerules (native-compile): Do not change working directory for
32147 build. Use $(OUTPUT_OPTION) in command.
32148 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32150 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32153 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32154 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32155 * math/libm-test.inc (floor_test): Add more tests.
32156 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32158 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32160 * sysdeps/unix/getdents.c: Remove file.
32161 * sysdeps/unix/sysv/getdents.c: Likewise.
32162 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32164 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32165 sysdeps/unix/mman/syscalls.list.
32167 (mprotect): Likewise.
32169 (munmap): Likewise.
32170 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32171 * sysdeps/unix/mman/syscalls.list: Remove.
32172 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32174 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32175 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32176 * configure: Regenerated.
32177 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32178 $(libgcc_s_suffix).
32179 * config.make.in (libgcc_s_suffix): Remove variable.
32181 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32183 * sysdeps/unix/sysv/gethostname.c: Move to ...
32184 * sysdeps/posix/gethostname.c: ... here.
32186 * sysdeps/unix/execve.S: Remove file.
32188 * sysdeps/unix/_exit.S: Remove file.
32190 2012-04-23 Andreas Jaeger <aj@suse.de>
32193 * manual/Makefile: Remove make dist support, there's no
32194 need for a stand-alone documentation tar ball.
32195 (TEXI2DVI): Define always, it's not in Makeconfig.
32198 (edition): Removed.
32199 (glibc-doc-$(edition).tar): Removed
32203 (ETAGS): Remove, it's in Makeconfig.
32204 (move-if-change): Remove, it's in Makeconfig.
32206 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32209 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32210 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32211 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32212 (strtod_l, strtof_l, strtold_l): Remove __wur.
32213 It is not necessarily an error to ignore strtol's return value.
32214 One can reliably look at the stored endptr to decide whether
32215 the number had valid syntax.
32217 2012-04-21 Andreas Jaeger <aj@suse.de>
32220 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32222 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32224 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32225 * sysdeps/unix/sysv/Versions: Remove file.
32227 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32232 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32236 version from __vm86.
32238 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32240 * sysdeps/unix/common/lxstat.c: Remove file.
32241 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32243 * sysdeps/unix/sysv/Makefile: Remove file.
32245 * sysdeps/unix/sysv/direct.h: Remove file.
32247 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32248 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32249 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32250 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32251 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32252 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32253 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32255 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32257 * sysdeps/unix/xmknod.c: Remove file.
32258 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32260 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32262 * sysdeps/unix/sysv/i386/time.S: Remove file.
32264 * sysdeps/unix/fxstat.c: Remove file.
32265 * sysdeps/unix/xstat.c: Likewise.
32266 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32268 * sysdeps/unix/sysv/sigaction.c: Remove file.
32270 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32271 (sysdep_headers): Remove variable.
32272 [termio.h not in sysdep_headers] (generated): Likewise.
32273 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32274 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32275 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32276 * sysdeps/unix/sysv/tcflow.c: Likewise.
32277 * sysdeps/unix/sysv/tcflush.c: Likewise.
32278 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32279 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32280 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32281 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32282 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32284 * sysdeps/unix/siglist.c: Remove file.
32286 * sysdeps/unix/getppid.S: Remove file.
32288 * sysdeps/unix/mkdir.c: Remove file.
32289 * sysdeps/unix/rmdir.c: Likewise.
32291 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32293 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32295 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32296 errlist-compat value.
32298 2012-04-18 David S. Miller <davem@davemloft.net>
32300 * sysdeps/generic/memcopy.h (reg_char): Delete.
32301 * debug/strcat_chk.c: Use char, not reg_char.
32302 * debug/strcpy_chk.c: Likewise.
32303 * debug/strncat_chk.c: Likewise.
32304 * debug/strncpy_chk.c: Likewise.
32305 * string/memchr.c: Likewise.
32306 * string/memrchr.c: Likewise.
32307 * string/rawmemchr.c: Likewise.
32308 * string/strcat.c: Likewise.
32309 * string/strchr.c: Likewise.
32310 * string/strchrnul.c: Likewise.
32311 * string/strcmp.c: Likewise.
32312 * string/strcpy.c: Likewise.
32313 * string/strncat.c: Likewise.
32314 * string/strncmp.c: Likewise.
32315 * string/strncpy.c: Likewise.
32317 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32319 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32320 __builtin_memcopy is called when src and dest ranges are known to not
32323 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32325 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32326 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32327 fwd_align_merge macro call.
32328 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32329 bwd_align_merge macro call.
32330 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32332 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32334 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32335 bwd_align_merge macros.
32336 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32337 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32338 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32340 2012-04-18 David S. Miller <davem@davemloft.net>
32342 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32344 2012-04-18 Andreas Jaeger <aj@suse.de>
32347 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32348 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32349 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32351 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32352 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32353 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32355 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32356 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32357 Adjust for changed ldbl-128 files.
32359 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32360 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32361 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32363 2012-04-17 David S. Miller <davem@davemloft.net>
32365 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32367 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32369 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32370 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32371 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32372 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32373 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32374 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32376 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32379 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32380 * math/libm-test.inc: Add ilogb errno and exception tests.
32381 * math/w_ilogb.c: New file: ilogb wrapper.
32382 * math/w_ilogbf.c: New file: ilogbf wrapper.
32383 * math/w_ilogbl.c: New file: ilogbl wrapper.
32384 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32385 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32386 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32387 exception being thrown with 0.0 as argument.
32388 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32389 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32390 exception being thrown with 0.0 as argument.
32391 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32392 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32393 exception being thrown with 0.0 as argument.
32394 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32395 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32396 exception being thrown with 0.0 as argument.
32397 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32398 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32399 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32400 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32402 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32403 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32404 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32405 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32407 2012-04-17 Petr Baudis <pasky@ucw.cz>
32409 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32412 2012-04-16 Marek Polacek <polacek@redhat.com>
32414 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32416 2012-04-16 Marek Polacek <polacek@redhat.com>
32418 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32419 operands of fdivp instruction.
32421 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32423 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32424 * elf/tst-auditmod3b.c: Likewise.
32425 * elf/tst-auditmod4b.c: Likewise.
32426 * elf/tst-auditmod5b.c: Likewise.
32427 * elf/tst-auditmod6b.c: Likewise.
32428 * elf/tst-auditmod6c.c: Likewise.
32429 * elf/tst-auditmod7b.c: Likewise.
32430 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32431 * sysdeps/x86_64/preconfigure.in: Likewise.
32432 * sysdeps/x86_64/preconfigure: Regenerated.
32434 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32436 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32439 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32442 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32444 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32447 * locale/iso-639.def: Fix gl language name. Spotted by
32450 2012-04-12 Roland McGrath <roland@hack.frob.com>
32453 * libio/libio.h (__io_write_fn): Update comment.
32455 2012-04-12 Petr Baudis <pasky@ucw.cz>
32458 * stdio.texi (Hook Functions): The user provided writer function
32459 is not allowed to return -1.
32461 2012-04-11 David S. Miller <davem@davemloft.net>
32463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32465 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32467 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32468 Add a leading slash to rtkaio.
32470 2012-04-11 Jim Meyering <meyering@redhat.com>
32473 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32474 It is not necessarily an error to ignore fwrite's return
32475 value. One can reliably use ferror to test for errors after
32478 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32480 * bits/types.h (__snseconds_t): New type.
32481 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32483 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32485 (__SNSECONDS_T_TYPE): Likewise.
32486 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32487 (__SNSECONDS_T_TYPE): Likewise.
32488 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32489 (__SNSECONDS_T_TYPE): Likewise.
32491 2012-04-10 Andreas Jaeger <aj@suse.de>
32494 * manual/time.texi (Processor Time): Return type of times is
32495 elapsed real time since an arbitrary point in the past.
32496 (CPU Time): Move CLK_TCK from here...
32497 (Processor Time): ...to here. Correct description.
32498 * manual/conf.texi (Constants for Sysconf): Correct description of
32501 2012-04-10 David S. Miller <davem@davemloft.net>
32504 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32505 where the is a gap between DT_REL(A) and DT_JMPREL.
32507 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32509 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32510 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32511 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32513 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32515 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32516 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32517 (dl_main): Handle --inhibit-cache.
32518 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32520 * elf/dl-load.c (_dl_map_object): Use it.
32521 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32523 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32526 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32527 (__ieee754_powl): Saturate large exponents rather than testing for
32528 overflow of y*log2(x).
32529 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32530 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32534 * math/s_ctan.c: Include <float.h>.
32535 (__ctan): Avoid internal overflow or cancellation in calculating
32537 * math/s_ctanf.c: Likewise.
32538 * math/s_ctanl.c: Likewise.
32539 * math/s_ctanh.c: Likewise.
32540 * math/s_ctanhf.c: Likewise.
32541 * math/s_ctanhl.c: Likewise.
32542 * math/libm-test.inc (ctan_test): Add more tests.
32543 (ctanh_test): Likewise.
32544 * sysdeps/i386/fpu/libm-test-ulps: Update.
32545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32547 2012-04-09 Andreas Jaeger <aj@suse.de>
32550 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32551 is an optional BSD extension.
32554 * manual/stdio.texi (Opening Streams): Document additional fopen
32557 2012-04-09 Roland McGrath <roland@hack.frob.com>
32559 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32560 %eax without telling the compiler.
32562 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32565 * manual/install.texi: Use sourceware.org.
32567 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32570 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32571 (__ieee754_pow): Generate overflow and underflow using huge*huge
32572 and tiny*tiny rather than just returning constant infinity or zero
32573 for large exponents.
32574 * math/libm-test.inc (pow_test): Require overflow exceptions for
32575 applicable cases of large exponents.
32578 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32579 (__ieee754_pow): Use iterative multiplication algorithm only for
32580 integer exponents with absolute value below 1024. Check for odd
32581 integer exponents when using algorithm for real exponents.
32582 * math/libm-test.inc (pow_test): Add more tests.
32583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32585 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32588 * math/libm-test.inc (exp_test): Do not allow overflow exception
32591 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32594 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32595 instead of __kernel_standard_f.
32597 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32599 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32600 * sysdeps/x86_64/memset_chk.S: Likewise.
32602 2012-04-08 Andreas Jaeger <aj@suse.de>
32605 * manual/startup.texi (Environment Access): Describe return value
32606 for putenv and setenv.
32609 * manual/filesys.texi (Directory Entries): Add description for
32613 * manual/filesys.texi (Directory Entries): Clarify that it's file
32614 system not operating system in the description of DT_UNKNOWN.
32617 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32619 2012-04-08 Stephen Compall <s11@member.fsf.org>
32622 * manual/llio.texi (Opening and Closing Files): Add cross
32623 reference to explain mode argument.
32625 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32627 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32628 * sysdeps/x86_64/memset_chk.S: Likewise.
32630 2012-04-07 David S. Miller <davem@davemloft.net>
32632 * elf/elf.h (R_SPARC_WDISP10): Define.
32633 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32635 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32636 R_SPARC_SIZE64 and R_SPARC_H34.
32638 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32640 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32641 conditions and remove no longer applicable assertion.
32643 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32645 * bits/byteswap.h: Include <features.h>.
32646 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32647 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32649 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32651 * bits/byteswap.h (__bswap_16): Removed.
32652 Include <bits/byteswap-16.h> to get __bswap_16.
32653 * sysdeps/i386/bits/byteswap.h: Likewise.
32654 * sysdeps/s390/bits/byteswap.h: Likewise.
32655 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32656 * bits/byteswap-16.h: New file.
32657 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32658 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32659 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32660 * string/Makefile (headers): Add bits/byteswap-16.h.
32662 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32665 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32667 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32668 * nss/tst-nss-static.c: New.
32670 2012-04-06 Robert Millan <rmh@gnu.org>
32673 * manual/llio.texi (File Position Primitive): lseek
32674 refers to WHENCE when it really means OFFSET.
32676 2012-04-06 Andreas Jaeger <aj@suse.de>
32678 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32679 strncmp declarations.
32681 * abilist/libc.abilist: Add __poll and __ppoll.
32683 2012-04-05 David S. Miller <davem@davemloft.net>
32685 * scripts/check-local-headers.sh: Accept a host triplet in the
32686 path matched by the exclude regexp.
32688 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32690 * sysdeps/powerpc/powerpc32/dl-machine.h
32691 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32692 * sysdeps/s390/s390-32/dl-machine.h
32693 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32694 * sysdeps/sparc/sparc32/dl-machine.h
32695 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32696 * sysdeps/sparc/sparc64/dl-machine.h
32697 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32699 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32701 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32702 undefined symbol errors.
32704 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32707 2012-04-05 Michael Matz <matz@suse.de>
32710 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32712 2012-04-05 Andreas Jaeger <aj@suse.de>
32715 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32718 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32720 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32721 which ROUND is no valid rounding mode.
32723 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32725 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32727 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32729 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32731 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32732 an exception using FPU order intentionally.
32734 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32736 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32737 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32738 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32739 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32741 2012-04-05 Simon Josefsson <simon@josefsson.org>
32744 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32745 EINVAL when BUFLEN is too smal.
32747 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32750 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32751 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32753 2012-04-03 Andreas Jaeger <aj@suse.de>
32756 * manual/setjmp.texi (System V contexts): Fix sentence.
32759 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32760 New macro for this case.
32761 [!__GNUC__] (__bswap_64): New inline function for this case.
32762 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32763 * bits/byteswap.h: Likewise.
32764 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32765 ull, guard with __GLIBC_HAVE_LONG_LONG.
32767 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32768 __GLIBC_HAVE_LONG_LONG.
32770 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32771 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32773 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32776 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32777 inptr and inend, rather than using last_ch.
32779 2012-04-02 David S. Miller <davem@davemloft.net>
32781 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32782 * stdio-common/printf-parse.h (read_int): Change return type to
32783 'int', return -1 on INT_MAX overflow.
32784 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32785 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32786 overflows INT_MAX. Check for overflow of in-format-string precision
32787 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32788 SIZE_MAX not INT_MAX for integer overflow test.
32789 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32790 skip the construct in the format string but do not record anything.
32791 * stdio-common/bug22.c: Adjust to test both width/prevision
32792 INT_MAX overflow as well as total length INT_MAX overflow. Check
32793 explicitly for proper errno values.
32795 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32797 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32799 * string/test-strcmp.c [! WIDE]: Likewise.
32800 * time/tst-mktime2.c: Likewise for INT_MAX.
32801 * string/test-string.h: #include <sys/param.h> for MIN.
32803 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32804 * sysdeps/i386/init-first.c (init): Likewise.
32805 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32806 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32807 * sysdeps/sh/init-first.c (init): Likewise.
32809 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32811 * po/ru.po: Update from translation team.
32812 * po/vi.po: Likewise.
32814 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32816 * resolv/nss_dns/dns-host.c: Merge copyright years.
32818 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32820 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32821 Optimize memcpy with prefetch if
32822 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32823 src, dst pointers have unequal 16 byte alignments.
32825 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32828 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32829 from a CNAME entry and return the minimum ttl for the query.
32830 (gaih_getanswer_slice): Likewise.
32832 2012-03-30 Jeff Law <law@redhat.com>
32834 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32836 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32837 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32839 * resolv/nss_dns/dns-host.c: Update copyright year.
32841 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32843 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32844 requests to save a system call. Fix check that all bytes are sent.
32846 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32847 comments for sendmmsg.
32849 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32852 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32853 with only 1 character between 0x0041 and 0x01b0.
32854 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32855 * wcsmbs/tst-mbsnrtowcs.c: New file.
32857 2012-03-29 David S. Miller <davem@davemloft.net>
32859 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32860 small copies by hand.
32862 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32865 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32866 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32869 2012-03-28 David S. Miller <davem@davemloft.net>
32871 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32872 that branches into memcpy.
32873 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32874 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32875 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32876 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32879 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32880 implementation too.
32881 * sysdeps/sparc/mempcpy.S: New file.
32883 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32884 the IFUNC routine in the libc case.
32885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32887 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32888 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32889 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32890 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32891 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32892 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32893 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32894 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32896 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32897 loop to 256 bytes instead of 64 bytes and fix test signedness.
32899 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32900 * sysdeps/sparc/sparc32/Makefile: rather than here...
32901 * sysdeps/sparc/sparc64/Makefile: and here.
32903 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32905 * malloc/mallocbug.c: Avoid warnings about unused variables.
32907 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32910 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32911 in the right place. Discard and retry query if response is
32912 larger than input buffer size.
32914 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32919 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32920 x for large integer exponent.
32921 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32922 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32923 sign of result as needed afterwards.
32924 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32925 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32926 result for underflowing pow the same as for overflow.
32927 (__kernel_standard_l): Handle powl overflow and underflow here
32928 rather than calling __kernel_standard.
32929 * math/libm-test.inc (pow_test): Add more tests.
32944 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32945 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32946 (__kernel_standard_l): New function.
32947 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32949 * math/w_acosl.c (__acosl): Likewise.
32950 * math/w_asinl.c (__asinl): Likewise.
32951 * math/w_atan2l.c (__atan2l): Likewise.
32952 * math/w_atanhl.c (__atanhl): Likewise.
32953 * math/w_coshl.c (__coshl): Likewise.
32954 * math/w_exp10l.c (__exp10l): Likewise.
32955 * math/w_exp2l.c (__exp2l): Likewise.
32956 * math/w_fmodl.c (__fmodl): Likewise.
32957 * math/w_hypotl.c (__hypotl): Likewise.
32958 * math/w_j0l.c (__j0l, __y0l): Likewise.
32959 * math/w_j1l.c (__j1l, __y1l): Likewise.
32960 * math/w_jnl.c (__jnl, __ynl): Likewise.
32961 * math/w_lgammal.c (__lgammal): Likewise.
32962 * math/w_log10l.c (__log10l): Likewise.
32963 * math/w_log2l.c (__log2l): Likewise.
32964 * math/w_logl.c (__logl): Likewise.
32965 * math/w_powl.c (__powl): Likewise.
32966 * math/w_remainderl.c (__remainderl): Likewise.
32967 * math/w_scalbl.c (sysv_scalbl): Likewise.
32968 * math/w_sinhl.c (__sinhl): Likewise.
32969 * math/w_sqrtl.c (__sqrtl): Likewise.
32970 * math/w_tgammal.c (__tgammal): Likewise.
32971 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32972 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32973 * math/libm-test.inc (acos_test): Add more tests.
32974 (acosh_test): Likewise.
32975 (asin_test): Likewise.
32976 (atanh_test): Likewise.
32977 (exp_test): Likewise.
32978 (exp10_test): Likewise.
32979 (exp2_test): Likewise.
32980 (expm1_test): Likewise.
32981 (lgamma_test): Likewise.
32982 (log_test): Likewise.
32983 (log10_test): Likewise.
32984 (log1p_test): Likewise.
32985 (log2_test): Likewise.
32986 (pow_test): Do not allow some spurious overflow exceptions.
32987 (sqrt_test): Add more tests.
32988 (tgamma_test): Likewise.
32989 (y0_test): Likewise.
32990 (y1_test): Likewise.
32991 (yn_test): Likewise.
32993 2012-03-27 Anton Blanchard <anton@samba.org>
32995 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32997 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32998 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32999 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33001 2012-03-27 David S. Miller <davem@davemloft.net>
33003 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33005 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33006 have-as-vis3 check.
33008 2012-03-27 Andreas Jaeger <aj@suse.de>
33010 * sysdeps/x86_64/elf/configure.in: Moved to ...
33011 * sysdeps/x86_64/configure.in: ... here.
33012 * sysdeps/x86_64/elf/start.S: Moved to ...
33013 * sysdeps/x86_64/start.S: ... here.
33014 * sysdeps/x86_64/elf/configure: Delete.
33016 * sysdeps/x86_64/configure.in: Merge contents from
33017 sysdeps/i386/configure.in (without i686 check).
33019 * sysdeps/i386/elf/Versions: Merge into ...
33020 * sysdeps/i386/Versions: ... this.
33021 * sysdeps/i386/elf/Versions: Delete file.
33022 * sysdeps/i386/elf/start.S: Moved to ...
33023 * sysdeps/i386/start.S: ...here.
33024 * sysdeps/i386/elf/configure.in: Merge into...
33025 * sysdeps/i386/configure.in: ...here.
33026 * sysdeps/i386/elf/configure.in: Delete file.
33027 * sysdeps/i386/elf/configure: Delete file.
33029 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33030 * debug/backtracesyms.c: ... here.
33031 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33032 * debug/backtracesymsfd.c: ... here.
33033 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33034 * sysdeps/generic/ifunc-sel.h: ... here.
33036 * sysdeps/unix/i386/start.c: Delete file.
33037 * sysdeps/unix/sparc/start.c: Delete file.
33038 * sysdeps/unix/start.c: Delete file.
33040 * sysdeps/sh/elf/configure.in: Moved to ...
33041 * sysdeps/sh/configure.in: ... here.
33042 * sysdeps/sh/elf/start.S: Moved to ...
33043 * sysdeps/sh/start.S: ... here.
33044 * sysdeps/sh/elf/configure: Delete file.
33046 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33047 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33048 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33049 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33050 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33051 * sysdeps/powerpc/powerpc64/start.S: here.
33052 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33053 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33054 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33055 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33056 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33058 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33059 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33060 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33061 * sysdeps/powerpc/powerpc32/start.S: ... here.
33062 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33063 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33064 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33066 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33067 * sysdeps/powerpc/ifunc-sel.h: ... here.
33068 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33069 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33071 * sysdeps/sparc/elf/configure.in: Moved to ...
33072 * sysdeps/sparc/configure.in: ... here.
33073 * sysdeps/sparc/elf/configure: Delete file.
33074 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33075 * sysdeps/sparc/sparc32/start.S: ... here.
33076 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33077 * sysdeps/sparc/sparc64/start.S: ... here.
33078 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33079 * sysdeps/sparc/sparc32/Makefile: ... this.
33080 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33081 * sysdeps/sparc/sparc64/Makefile: ... this.
33083 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33084 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33085 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33086 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33087 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33088 * sysdeps/s390/s390-32/setjmp.S: ... here.
33089 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33090 * sysdeps/s390/s390-32/configure.in: ... here.
33091 * sysdeps/s390/s390-32/elf/configure: Delete file.
33092 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33093 * sysdeps/s390/s390-32/start.S: ... here.
33095 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33096 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33097 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33098 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33099 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33100 * sysdeps/s390/s390-64/setjmp.S: ... here.
33101 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33102 * sysdeps/s390/s390-64/configure.in: ... here
33103 * sysdeps/s390/s390-64/elf/configure: Delete file.
33104 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33105 * sysdeps/s390/s390-64/start.S: ... here.
33106 * sysdeps/s390/s390-64/elf/configure: Delete.
33108 * configure.in: Remove support for elf directories in sysdeps.
33110 * configure: Regenerated.
33111 * sysdeps/i386/configure: Regenerated.
33112 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33113 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33114 * sysdeps/s390/s390-32/configure: Regenerated.
33115 * sysdeps/s390/s390-64/configure: Regenerated.
33116 * sysdeps/sh/configure: Regenerated.
33117 * sysdeps/sparc/configure: Regenerated.
33118 * sysdeps/x86_64/configure: Regenerated.
33120 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33124 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33125 denormal result into account.
33127 2012-03-25 Roland McGrath <roland@hack.frob.com>
33129 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33130 Reported by Allan McRae <allan@archlinux.org>.
33132 2012-03-23 Jeff Law <law@redhat.com>
33134 * nss/getnssent.c (__nss_getent): Fix typo.
33136 2012-03-23 David S. Miller <davem@davemloft.net>
33138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33140 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33142 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33143 to pad to uint64_t for each field.
33144 (dl_tls_index): Replace unsigned long with uint64_t.
33146 2012-03-23 Daniel Jacobowitz <dmj@google.com>
33147 Paul Pluzhnikov <ppluzhnikov@google.com>
33150 * grp/Makefile (otherlibs): Don't set it.
33151 * inet/Makefile (otherlibs): Likewise.
33152 * login/Makefile (otherlibs): Likewise.
33153 * nscd/Makefile (otherlibs): Likewise.
33154 * posix/Makefile (otherlibs): Likewise.
33155 * pwd/Makefile (otherlibs): Likewise.
33156 * rt/Makefile (otherlibs): Likewise.
33157 * sunrpc/Makefile (otherlibs): Likewise.
33158 * nss/Makefile (otherlibs): Likewise.
33159 Add libnss_files to routines and static-only-routines.
33160 ($(objpfx)getent): Remove rule.
33161 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33162 static-only-routines.
33164 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33167 * math/s_cexp.c: Include <float.h>.
33168 (__cexp): Handle exp result overflowing not necessarily
33169 overflowing both real and imaginary parts of result.
33170 * math/s_cexpf.c: Likewise.
33171 * math/s_cexpl.c: Likewise.
33172 * math/libm-test.inc (cexp_test): Add more tests.
33173 * sysdeps/i386/fpu/libm-test-ulps: Update.
33174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33176 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33178 * include/link.h (ELFW): New macro.
33179 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33180 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33182 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33184 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33187 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33189 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33191 (struct La_x32_retval): Likewise.
33193 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33195 * sysdeps/x86_64/preconfigure.in: New file.
33196 * sysdeps/x86_64/preconfigure: New generated file.
33198 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33201 * math/e_exp2l.c: Include <float.h>.
33202 (__ieee754_exp2l): Handle overflow and underflow cases
33203 separately. Only pass fractional part of argument to
33205 * math/libm-test.inc (exp2_test): Add more tests.
33207 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33208 negating x to take absolute value.
33209 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33211 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33214 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33215 computing low part if x was negated.
33216 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33218 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33220 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33221 la_x32_gnu_pltexit.
33222 (pltexit): Cast int_retval to ptrdiff_t.
33223 * elf/tst-auditmod3b.c: Likewise.
33224 * elf/tst-auditmod4b.c: Likewise.
33225 * elf/tst-auditmod5b.c: Likewise.
33226 * elf/tst-auditmod6b.c: Likewise.
33227 * elf/tst-auditmod6c.c: Likewise.
33228 * elf/tst-auditmod7b.c: Likewise.
33230 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33231 and x32_gnu_pltexit.
33233 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33234 __ELF_NATIVE_CLASS.
33235 (La_x32_regs): New macro.
33236 (La_x32_retval): Likewise.
33237 (la_x32_gnu_pltenter): New function prototype.
33238 (la_x32_gnu_pltexit): Likewise.
33240 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33247 * configure.in (libc_cv_cc_nofma): Check for option to disable
33248 generation of FMA instructions.
33249 * configure: Regenerate.
33250 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33251 * sysdeps/ieee754/dbl-64/Makefile: New file.
33252 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33253 Remove brandred-fma4.
33254 (CFLAGS-brandred-fma4.c): Remove.
33255 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33256 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33258 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33261 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33263 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33264 LLONG_MAX != LONG_MAX.
33265 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33266 (_fitoa_word): Likewise.
33267 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33268 LLONG_MAX != LONG_MAX.
33269 * stdio-common/_itowa.h: Include <_itoa.h>.
33270 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33271 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33272 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33273 only if not defined.
33274 (_ITOA_WORD_TYPE): Likewise.
33275 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33276 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33278 2012-03-21 David S. Miller <davem@davemloft.net>
33280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33282 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33284 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33285 of x86_64 when setting libc_cv_slibdir, libdir and
33287 * sysdeps/unix/sysv/linux/configure: Regenerated.
33289 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33291 * manual/lang.texi (Old Varargs): Remove section.
33292 (How Variadic): Update menu.
33293 (va_start): Do not mention varargs.h.
33295 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33296 Joseph Myers <joseph@codesourcery.com>
33298 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33300 * configure: Regenerated.
33302 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33304 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33305 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33308 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33311 * Makefile (files-for-dist): Remove NOTES.
33312 (NOTES): Remove rule.
33313 * README: Don't refer to NOTES.
33314 * manual/creature.texi: Don't include macros.texi.
33315 * manual/intro.texi (creature.texi): Remove comment referring to
33318 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33319 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33320 * configure: Regenerated.
33321 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33322 LIBC_TRY_CC_OPTION.
33323 (libc_cv_as_i686): Likewise.
33324 (libc_cv_cc_avx): Likewise.
33325 (libc_cv_cc_sse2avx): Likewise.
33326 (libc_cv_cc_fma4): Likewise.
33327 (libc_cv_cc_novzeroupper): Likewise.
33328 * sysdeps/i386/configure: Regenerated.
33331 * sysdeps/i386/fpu/s_cexp.S: Remove.
33332 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33333 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33334 * math/libm-test.inc (cexp_test): Add more tests.
33335 * sysdeps/i386/fpu/libm-test-ulps: Update.
33336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33338 2012-03-21 Allan McRae <allan@archlinux.org>
33340 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33342 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33345 * math/w_exp2.c: Do not include <float.h>.
33346 (o_threshold, u_threshold): Remove.
33347 (__exp2): Calculate result before checking finiteness and calling
33349 * math/w_exp2f.c: Likewise.
33350 * math/w_exp2l.c: Likewise.
33351 * math/libm-test.inc (exp2_test): Require overflow exception for
33355 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33356 range of signed 64-bit integers before using fistpll. Remove
33357 checks for whether integers fit in mantissa bits.
33358 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33359 the range of signed 32-bit integers before using fistpl. Remove
33360 checks for whether integers fit in mantissa bits.
33361 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33362 (__ieee754_powl): Test for y outside the range of signed 64-bit
33363 integers before using fistpll. Reduce 64-bit values to 63-bit
33365 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33366 divide-by-zero is raised for zero to large negative powers.
33367 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33368 (__ieee754_powl): Test for y outside the range of signed 64-bit
33369 integers before using fistpll. Reduce 64-bit values to 63-bit
33371 * math/libm-test.inc (pow_test): Add more tests.
33373 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33375 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33376 <stdio-common/_itoa.h>.
33377 * debug/segfault.c: Likewise.
33378 * elf/dl-cache.c: Likewise.
33379 * elf/dl-minimal.c: Likewise.
33380 * elf/dl-misc.c: Likewise.
33381 * elf/dl-sysdep.c: Likewise.
33382 * elf/dl-version.c: Likewise.
33383 * elf/rtld.c: Likewise.
33384 * hurd/hurdsock.c: Likewise.
33385 * hurd/lookup-retry.c: Likewise.
33386 * malloc/malloc.c: Likewise.
33387 * malloc/mtrace.c: Likewise.
33388 * nscd/nscd_getgr_r.c: Likewise.
33389 * nscd/nscd_getpw_r.c: Likewise.
33390 * nscd/nscd_getserv_r.c: Likewise.
33391 * posix/getopt_init.c: Likewise.
33392 * posix/wordexp.c: Likewise.
33393 * stdio-common/_itoa.c: Likewise.
33394 * stdio-common/printf_fphex.c: Likewise.
33395 * stdio-common/vfprintf.c: Likewise.
33396 * string/_strerror.c: Likewise.
33397 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33398 * sysdeps/i386/i686/hp-timing.h: Likewise.
33399 * sysdeps/mach/_strerror.c: Likewise.
33400 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33401 * sysdeps/mach/hurd/sethostid.c: Likewise.
33402 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33403 * sysdeps/mach/xpg-strerror.c: Likewise.
33404 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33405 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33406 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33407 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33408 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33409 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33410 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33411 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33412 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33413 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33414 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33415 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33416 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33417 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33418 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33419 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33420 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33421 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33422 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33423 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33424 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33426 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33428 * stdio-common/_itoa.h: Moved to ...
33429 * sysdeps/generic/_itoa.h: Here.
33431 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33433 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33434 instead of "_itoa.h" and "_itowa.h".
33435 * stdio-common/vfprintf.: Likewise.
33437 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33439 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33441 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33442 (__signbit): Likwise.
33443 (llrintf): Likwise.
33446 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33448 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33451 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33453 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33454 OVERFLOW_EXCEPTION_OK.
33455 * math/libm-test.inc ("Philosophy"): Update comment about
33457 (OVERFLOW_EXCEPTION): Define.
33458 (OVERFLOW_EXCEPTION_OK): Likewise.
33459 (INVALID_EXCEPTION_OK): Renumber.
33460 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33461 (IGNORE_ZERO_INF_SIGN): Likewise.
33462 (test_exceptions): Handle FE_OVERFLOW.
33463 (exp10_test): Expect overflow exceptions.
33464 (exp2_test): Likewise.
33465 (expm1_test): Likewise.
33466 (nextafter_test): Likewise.
33467 (pow_test): Likewise.
33468 (scalbn_test): Likewise.
33469 (scalbln_test): Likewise.
33471 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33473 * sysdeps/x86_64/bits/atomic.h
33474 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33476 (atomic_exchange_acq): Likewise.
33477 (__arch_exchange_and_add_body): Likewise.
33478 (__arch_add_body): Likewise.
33479 (atomic_add_negative): Likewise.
33480 (atomic_add_zero): Likewise.
33482 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33484 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33485 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33487 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33489 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33490 Check __x86_64__ instead of __WORDSIZE.
33492 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33494 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33496 2012-03-19 David S. Miller <davem@davemloft.net>
33498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33500 * sysdeps/sparc/fpu/fenv_private.h: New file.
33501 * sysdeps/sparc/fpu/math_private.h: Use it.
33502 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33504 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33505 (libc_feholdexcept_setroundl): Remove.
33506 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33508 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33509 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33511 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33513 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33514 int64_t instead of long int.
33515 (INSERT_WORDS64): Likwise.
33517 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33519 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33520 _Unwind_GetCFA return to _Unwind_Ptr first.
33522 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33525 * math/s_clog.c: Include <float.h>.
33526 (__clog): Scale large or subnormal inputs.
33527 * math/s_clogf.c: Likewise.
33528 * math/s_clogl.c: Likewise.
33529 * math/s_clog10.c: Include <float.h>.
33530 (M_LOG10_2): Define.
33531 (__clog10): Scale large or subnormal inputs.
33532 * math/s_clog10f.c: Likewise.
33533 * math/s_clog10l.c: Likewise.
33534 * math/libm-test.inc (clog_test): Add more tests.
33535 (clog10_test): Likewise.
33536 * sysdeps/i386/fpu/libm-test-ulps: Update.
33537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33540 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33542 * math/libm-test.inc (atan2_test): Add another test.
33544 * Makerules (common-objdir-compile): Remove.
33545 * sysdeps/unix/Makefile (config-generated): Do not add
33546 $(unix-generated) to variable.
33547 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33548 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33550 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33552 [generic bits/local_lim.h] (before-compile): Do not append to
33554 [generic bits/local_lim.h] (common-generated): Likewise.
33555 [generic sys/param.h] (before-compile): Do not append to variable.
33556 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33557 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33558 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33559 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33561 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33562 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33563 [generic sys/param.h] ($(addprefix
33564 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33565 [generic sys/param.h] (common-generated): Do not append to
33567 [generic sys/param.h] (sysdep_headers): Likewise.
33568 [generic bits/errno.h] (before-compile): Do not append to
33570 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33572 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33573 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33574 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33575 [generic bits/errno.h] (common-generated): Do not append to
33577 [generic bits/ioctls.h] (before-compile): Do not append to
33579 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33581 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33582 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33583 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33585 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33586 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33587 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33588 [generic bits/ioctls.h] (common-generated): Do not append to
33590 [generic sys/syscall.h] (syscall.h): Remove variable.
33591 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33593 [generic sys/syscall.h] (before-compile): Do not append to
33595 [generic sys/syscall.h] (common-generated): Likewise.
33596 * sysdeps/unix/errnos-tmpl.c: Remove file.
33597 * sysdeps/unix/errnos.awk: Likewise.
33598 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33599 * sysdeps/unix/ioctls.awk: Likewise.
33600 * sysdeps/unix/mk-local_lim.c: Likewise.
33601 * sysdeps/unix/snarf-ioctls: Likewise.
33603 2012-03-19 Richard Henderson <rth@twiddle.net>
33605 * sysdeps/i386/fpu/fenv_private.h: New file.
33606 * sysdeps/i386/fpu/math_private.h: Use it.
33607 (math_opt_barrier, math_force_eval): Remove.
33608 (libc_feholdexcept_setround_53bit): Remove.
33609 (libc_feupdateenv_53bit): Remove.
33610 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33611 (math_opt_barrier, math_force_eval): Remove.
33612 (libc_feholdexcept): Remove.
33613 (libc_feholdexcept_setround): Remove.
33614 (libc_fetestexcept, libc_fesetenv): Remove.
33615 (libc_feupdateenv_test): Remove.
33616 (libc_feupdateenv, libc_feholdsetround): Remove.
33617 (libc_feresetround): Remove.
33619 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33620 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33622 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33623 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33624 (libc_feupdateenv_testl): New.
33625 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33626 (libc_feupdateenv_testf): New.
33627 (libc_feupdateenv): Use libc_feupdateenv_test.
33628 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33629 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33631 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33632 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33633 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33634 (libc_feresetround_noex): New.
33635 (libc_feresetround_noexf): New.
33636 (libc_feresetround_noexl): New.
33637 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33638 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33639 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33640 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33642 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33643 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33645 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33646 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33647 SET_RESTORE_ROUND_NOEX.
33648 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33649 SET_RESTORE_ROUND_NOEXF.
33650 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33651 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33652 (libc_feholdsetroundf): New.
33653 (libc_feresetround, libc_feresetroundf): New.
33655 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33656 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33657 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33659 * sysdeps/generic/math_private.h: Include <fenv.h>.
33660 (default_libc_feholdexcept): New.
33661 (default_libc_feholdexcept_setround): New.
33662 (default_libc_fesetenv, default_libc_feupdateenv): New.
33663 (libc_feholdexcept): Only define if undefined.
33664 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33665 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33666 (libc_feholdexcept_setroundl): Likewise.
33667 (libc_feholdexcept_setround_53bit): Likewise.
33668 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33669 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33670 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33671 (libc_feupdateenv_53bit): Likewise.
33672 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33673 (libc_feholdexcept): Convert from macro to inline function.
33674 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33675 (libc_fesetenv, libc_feupdateenv): Likewise.
33677 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33678 not previously defined.
33679 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33680 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33681 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33682 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33683 * sysdeps/ieee754/flt-32/math_private.h: New file.
33684 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33685 math_private.h below SET_FLOAT_WORD.
33686 (__isnan, __isinf_ns, __finite): Remove.
33687 (__isnanf, __isinf_nsf, __finitef): Remove.
33689 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33693 2012-03-17 David S. Miller <davem@davemloft.net>
33696 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33699 2012-03-16 David S. Miller <davem@davemloft.net>
33701 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33705 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33707 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33708 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33709 sysdep_routines when subdir is sysvipc.
33710 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33711 __getshmlba helper.
33713 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33715 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33717 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33720 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33722 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33723 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33724 (__lround): Renamed to ...
33725 (__llround): This. Replace long int with long long int.
33726 Define lround functions as aliases of llround functions.
33727 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33729 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33731 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33732 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33733 adresses to uintptr_t. Replace "long int" and "unsigned long
33734 int" with "greg_t" on va_arg.
33736 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33738 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33739 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33741 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33742 Move e_machine check before EI_CLASS check. Handle x32
33743 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33744 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33745 SKIP_EM_IA_64 and include
33746 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33748 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33749 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33750 (add_system_dir): New macro.
33752 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33753 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33755 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33766 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33768 * math/w_j0f.c (j0f): Likewise.
33770 * math/w_j0l.c (__j0l): Likewise.
33772 * math/w_j1.c (j1): Likewise.
33774 * math/w_j1f.c (j1f): Likewise.
33776 * math/w_j1l.c (__j1l): Likewise.
33778 * math/w_jn.c (jn): Likewise.
33780 * math/w_jnf.c (jnf): Likewise.
33782 * math/w_jnl.c (__jnl): Likewise.
33784 * math/libm-test.inc (j0_test): Add more tests.
33785 (j1_test): Likewise.
33786 (jn_test): Likewise. Add trailing semicolon to existing test.
33787 (y0_test): Likewise.
33788 (y1_test): Likewise.
33789 * sysdeps/i386/fpu/libm-test-ulps: Update.
33790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33794 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33795 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33796 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33798 (__tanl): Set errno for infinite argument.
33799 * sysdeps/i386/fpu/mptan.c: Remove.
33800 * sysdeps/i386/fpu/s_tan.S: Likewise.
33801 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33802 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33803 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33804 * math/libm-test.inc (tan_test): Add more tests and enable more
33805 tests for double and long double.
33806 * sysdeps/i386/fpu/libm-test-ulps: Update.
33807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33809 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33811 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33812 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33814 2012-03-16 Roland McGrath <roland@hack.frob.com>
33816 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33817 * configure.in: Use it for both main tree and add-ons.
33818 * configure: Regenerated.
33820 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33822 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33824 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33826 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33830 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33831 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33832 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33836 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33837 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33838 != 0 for prec == 2.
33839 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33840 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33841 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33842 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33843 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33844 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33845 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33846 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33847 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33848 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33849 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33850 * math/libm-test.inc (cos_test): Add more tests and enable more
33851 tests for long double.
33852 (sin_test): Likewise.
33853 (sincos_test): Likewise.
33854 * sysdeps/i386/fpu/libm-test-ulps: Update.
33855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33857 2012-03-16 David S. Miller <davem@davemloft.net>
33859 * sysdeps/sparc/fpu/math_private.h: New file.
33861 2012-03-15 David S. Miller <davem@davemloft.net>
33863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33877 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33878 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33880 * sysdeps/sparc/sparc-ifunc.h: New file.
33881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33920 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33923 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33924 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33926 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33928 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33932 2012-03-15 Andreas Jaeger <aj@suse.de>
33935 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33936 ieee754/flt-32 implementation for sin, cos and sincos.
33937 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33938 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33939 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33940 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33941 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33942 ieee754/flt-32 implementation for tan.
33944 * math/libm-test.inc (cos_test): Enable some large input tests for
33946 (sin_test): Likewise.
33947 (sincos_test): Likewise.
33948 (tan_test): Add tests for large input.
33950 * sysdeps/i386/fpu/libm-test-ulps: Update.
33952 2012-03-15 Andreas Jaeger <aj@suse.de>
33955 * math/libm-test.inc (cos_test): Add more test cases.
33956 (sin_test): Likewise.
33957 (sincos_test): Likewise.
33959 2012-03-15 Andreas Jaeger <aj@suse.de>
33962 * math/libm-test.inc (cos_test): Add a test case for large input
33964 (sin_test): Likewise.
33965 (sincos_test): Likewise.
33967 2012-03-15 Andreas Jaeger <aj@suse.de>
33968 Joseph Myers <joseph@codesourcery.com>
33971 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33972 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33973 * sysdeps/i386/fpu/branred.c: Likewise.
33974 * sysdeps/i386/fpu/dosincos.c: Likewise.
33975 * sysdeps/i386/fpu/mpa.c: Likewise.
33976 * sysdeps/i386/fpu/s_cos.S: Likewise.
33977 * sysdeps/i386/fpu/s_sin.S: Likewise.
33978 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33979 * sysdeps/i386/fpu/sincos32.c: Likewise.
33981 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33983 (libc_feupdateenv_53bit): Define.
33984 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33986 (libc_feupdateenv_53bit): Define.
33988 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33989 53 bit (without extend i386 double precision).
33991 * math/libm-test.inc (sincos_test): Add tests for large input.
33995 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33997 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34001 2012-03-15 David S. Miller <davem@davemloft.net>
34003 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34004 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34005 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34006 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34031 fmin/fmax sysdep routines.
34032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34034 2012-03-14 David S. Miller <davem@davemloft.net>
34036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34042 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34043 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34063 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34108 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34113 * sysdeps/sparc/configure.in: New file.
34114 * sysdeps/sparc/configure: Generate.
34115 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34116 * configure: Regenerate.
34117 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34118 * config.make.in (have-as-vis3): New.
34119 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34120 available use -Av9d instead of -Av9a.
34121 * sysdeps/sparc/sparc64/Makefile: Likewise.
34122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34131 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34133 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34134 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34135 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34137 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34138 fzeros/fnegs to load 0x80000000 into a float register instead of
34140 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34142 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34146 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34147 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34148 ($(inst_includedir)/bits/syscall.h): Remove rule.
34149 ($(objpfx)bits/syscall.d): Include instead of
34150 $(objpfx)syscall-list.d.
34151 (generated): Change syscall-list.h and syscall-list.d to
34152 bits/syscall.h and bits/syscall.d.
34154 2012-03-14 Roland McGrath <roland@hack.frob.com>
34157 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34159 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34162 * math/s_csqrt.c: Include <float.h>.
34163 (__csqrt): Scale large or subnormal inputs.
34164 * math/s_csqrtf.c: Likewise.
34165 * math/s_csqrtl.c: Likewise.
34166 * math/libm-test.inc (csqrt_test): Add more tests.
34167 * sysdeps/i386/fpu/libm-test-ulps: Update.
34168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34171 * math/libm-test.inc (hypot_test): Add more tests.
34173 2012-03-13 David S. Miller <davem@davemloft.net>
34176 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34177 double-precision for the calculation instead of scaling.
34179 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34181 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34182 manipulate bits before adding and subtracting TWO52[sx].
34183 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34184 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34186 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34188 2012-03-13 David S. Miller <davem@davemloft.net>
34190 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34191 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34193 rtld-global-offsets.h
34194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34196 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34199 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34201 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34202 'err' in the ifdef scope in which it is actually used.
34204 * nss/nss_db/db-init.c: Include string.h
34206 2012-03-12 David S. Miller <davem@davemloft.net>
34208 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34209 masking out of the most significant byte of random value used.
34210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34211 Fix coding style in previous change.
34213 * sysdeps/unix/sysv/linux/kernel-features.h
34214 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34215 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34217 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34220 2012-03-11 David S. Miller <davem@davemloft.net>
34222 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34223 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34224 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34225 for 'resultvar' otherwise things get truncated on 64-bit.
34227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34228 Fix masking out of the most significant byte of random value used.
34230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34232 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34236 2012-03-09 David S. Miller <davem@davemloft.net>
34238 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34239 variables with appropriate CPP guards.
34240 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34241 from the frame pointer, not the stack pointer. Correct layout
34242 comments. Fix test on resulting framesize and the management of
34243 the outregs buffer for pltexit. Preserve floating point return
34244 values across _dl_call_pltexit call.
34245 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34246 framesize and the management of the outregs buffer for pltexit.
34247 Preserve floating point return values across _dl_call_pltexit
34249 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34250 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34251 (la_sparc64_gnu_pltexit): New functions.
34252 (print_exit): Fix format string for return register value.
34254 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34256 * sunrpc/Makefile (others): Add rpcgen.
34257 ($(objpfx)rpcgen): Remove special build rule and dependency on
34259 * sunrpc/rpcgen.c: New file.
34261 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34264 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34265 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34266 * sysdeps/i386/crti.S: Likewise.
34267 * sysdeps/i386/crtn.S: Likewise.
34268 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34269 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34270 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34271 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34272 * sysdeps/sh/crti.S: Likewise.
34273 * sysdeps/sh/crtn.S: Likewise.
34274 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34277 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34279 * locale/programs/locfile-kw.gperf: Likewise.
34280 * locale/programs/charmap-kw.h: Regenerated.
34281 * locale/programs/locfile-kw.h: Likewise.
34284 * intl/plural.y: Replace FSF snail mail address with URL.
34285 * intl/plural.c: Regenerated.
34287 2012-03-09 Richard Henderson <rth@twiddle.net>
34289 * include/math_private.h: Remove file.
34290 * math/math_private.h: Move file ...
34291 * sysdeps/generic/math_private.h: ... here.
34293 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34294 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34295 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34297 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34298 and <math_private.h>.
34299 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34300 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34301 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34302 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34303 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34304 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34305 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34306 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34307 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34308 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34310 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34311 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34312 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34313 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34314 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34315 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34316 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34317 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34318 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34320 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34321 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34322 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34323 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34324 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34325 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34326 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34328 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34329 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34330 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34331 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34332 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34333 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34334 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34335 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34336 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34337 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34338 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34339 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34340 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34341 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34342 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34343 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34344 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34345 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34346 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34347 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34348 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34349 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34350 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34351 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34352 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34353 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34354 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34355 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34356 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34357 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34358 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34359 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34360 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34362 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34363 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34364 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34365 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34366 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34367 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34368 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34369 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34370 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34371 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34372 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34373 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34377 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34378 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34379 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34380 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34381 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34382 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34383 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34384 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34386 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34387 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34388 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34389 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34390 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34391 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34392 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34393 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34394 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34395 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34396 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34397 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34398 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34399 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34400 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34401 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34402 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34403 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34404 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34405 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34406 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34407 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34408 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34409 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34410 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34411 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34412 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34413 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34414 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34415 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34416 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34417 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34418 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34419 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34420 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34421 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34422 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34423 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34424 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34425 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34426 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34427 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34428 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34429 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34430 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34431 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34432 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34433 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34434 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34435 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34436 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34437 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34438 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34439 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34440 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34441 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34442 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34443 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34444 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34445 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34446 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34447 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34448 * sysdeps/ieee754/k_standard.c: Likewise.
34449 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34450 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34451 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34452 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34462 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34465 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34470 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34476 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34478 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34480 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34482 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34488 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34489 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34491 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34493 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34494 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34495 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34496 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34497 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34498 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34499 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34500 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34501 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34502 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34503 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34504 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34505 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34506 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34507 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34508 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34509 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34510 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34511 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34512 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34513 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34514 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34515 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34516 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34517 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34518 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34519 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34520 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34521 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34522 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34523 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34525 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34526 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34527 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34528 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34529 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34530 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34531 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34532 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34533 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34534 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34535 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34536 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34537 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34538 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34539 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34540 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34541 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34542 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34543 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34544 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34545 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34546 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34547 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34548 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34549 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34550 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34551 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34552 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34553 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34554 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34555 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34556 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34557 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34558 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34559 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34560 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34561 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34562 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34563 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34564 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34565 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34566 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34567 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34568 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34569 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34570 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34571 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34572 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34573 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34574 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34575 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34576 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34577 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34578 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34579 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34580 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34581 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34582 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34583 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34584 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34585 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34586 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34587 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34588 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34589 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34590 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34591 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34592 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34593 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34594 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34595 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34596 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34597 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34598 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34599 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34600 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34601 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34602 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34603 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34604 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34605 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34606 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34607 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34608 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34609 * sysdeps/ieee754/s_lib_version.c: Likewise.
34610 * sysdeps/ieee754/s_matherr.c: Likewise.
34611 * sysdeps/ieee754/s_signgam.c: Likewise.
34612 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34613 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34614 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34615 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34616 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34617 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34618 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34619 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34620 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34621 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34622 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34623 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34624 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34625 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34626 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34627 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34628 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34629 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34630 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34631 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34632 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34634 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34636 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34637 * sunrpc/rpc_main.c: Likewise.
34638 * sunrpc/rpc_svcout.c: Likewise.
34640 2012-03-09 David S. Miller <davem@davemloft.net>
34642 * include/math_private.h: New file.
34644 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34646 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34647 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34648 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34649 from <bits/socket_type.h>.
34650 (enum __socket_type): Don't define here.
34651 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34653 bits/socket_type.h.
34656 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34657 checking __USE_GNU.
34659 * Makerules ($(inst_includedir)/%.h): New rule.
34660 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34661 (install-others): Remove variable setting.
34662 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34664 2012-03-08 Richard Henderson <rth@twiddle.net>
34666 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34667 from macro to inline function; merge with the
34668 !__LIBC_INTERNAL_MATH_INLINES version.
34669 (__ieee754_sqrtf): Likewise.
34671 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34672 to inline function.
34673 (__rintf, __floor, __floorf): Likewise.
34675 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34676 macro to inline function.
34677 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34679 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34680 not <math/math_private.h>.
34682 2012-03-08 David S. Miller <davem@davemloft.net>
34684 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34686 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34688 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34690 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34692 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34693 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34695 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34697 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34698 be defined individually, they must be defined as a block. Define
34699 S for printing a string instead of hidint the different by using a
34700 macro for adding the 'l'.
34701 * stdio-common/tst-fphex-wide.c: Adjust.
34703 2012-03-07 Marek Polacek <polacek@redhat.com>
34705 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34707 2012-03-08 Marek Polacek <polacek@redhat.com>
34710 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34711 * stdio-common/tst-fphex.c: Define a few macros to make the
34712 test reusable. Use them.
34713 * stdio-common/tst-fphex-wide.c: New file.
34715 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34718 * manual/macros.texi (gnusystems): New macro.
34719 (nongnusystems): Likewise.
34720 (gnulinuxhurdsystems): Likewise.
34721 (gnuhurdsystems): Likewise..
34722 (gnulinuxsystems): Likewise.
34723 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34724 variants of the GNU system, not "GNU system".
34725 * manual/conf.texi: Likewise.
34726 * manual/errno.texi: Likewise. Update example of errno macro
34728 * manual/filesys.texi: Likewise.
34729 (getumask): Document as specific to GNU/Hurd.
34730 * manual/install.texi: Likewise. Reword some references to
34732 * manual/intro.texi: Likewise.
34733 * manual/io.texi: Likewise.
34734 (File Name Portability): Detail which constraints are inapplicable
34735 to all GNU systems and which are only inapplicable to GNU/Hurd.
34736 * manual/job.texi: Likewise.
34737 * manual/llio.texi: Likewise.
34738 (O_NOCTTY): Document as present on GNU/Linux.
34739 * manual/maint.texi: Likewise.
34740 * manual/memory.texi: Likewise.
34741 * manual/pattern.texi: Likewise.
34742 * manual/pipe.texi: Likewise.
34743 * manual/process.texi: Likewise.
34744 * manual/resource.texi: Likewise.
34745 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34747 * manual/setjmp.texi: Likewise.
34748 * manual/signal.texi: Likewise.
34749 * manual/startup.texi: Likewise.
34750 * manual/stdio.texi: Likewise.
34751 * manual/terminal.texi: Likewise.
34752 (ONLCR): Document as POSIX.
34753 (OXTABS): Document availability on GNU/Linux as XTABS.
34754 (ONOEOT): Document availability separately from other bits.
34755 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34756 * manual/time.texi: Likewise.
34757 * manual/users.texi: Likewise.
34758 * INSTALL: Regenerated.
34759 * sysdeps/gnu/errlist.c: Regenerated.
34761 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34762 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34763 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34765 * configure: Regenerated.
34767 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34769 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34770 default includes instead of AC_HEADER_CHECK.
34771 * sysdeps/i386/configure: Regenerated.
34774 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34775 * math/s_cacoshf.c (__cacoshf): Likewise.
34776 * math/s_cacoshl.c (__cacoshl): Likewise.
34777 * math/s_casinh.c (__casinh): Set signs of result from argument.
34778 * math/s_casinhf.c (__casinhf): Likewise.
34779 * math/s_casinhl.c (__casinhl): Likewise.
34780 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34781 (casinh_test): Add more tests.
34782 * sysdeps/i386/fpu/libm-test-ulps: Update.
34783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34785 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34787 * po/zh_TW.po: Update from translation team.
34789 * login/Makefile (distribute): Remove variable.
34790 * catgets/Makefile: Likewise.
34791 * mach/Makefile: Likewise.
34792 * malloc/Makefile: Likewise.
34793 * misc/Makefile: Likewise.
34794 * iconv/Makefile: Likewise.
34795 * nscd/Makefile: Likewise.
34796 * hurd/Makefile: Likewise.
34797 * manual/Makefile: Likewise.
34798 * locale/Makefile: Likewise.
34799 * intl/Makefile: Likewise.
34800 * conform/Makefile: Likewise.
34801 * nss/Makefile: Likewise.
34802 * time/Makefile: Likewise.
34803 * soft-fp/Makefile: Likewise.
34804 * dirent/Makefile: Likewise.
34805 * gmon/Makefile: Likewise.
34806 * po/Makefile: Likewise.
34807 * rt/Makefile: Likewise.
34808 * socket/Makefile: Likewise.
34809 * math/Makefile: Likewise.
34810 * signal/Makefile: Likewise.
34811 * debug/Makefile: Likewise.
34812 * elf/Makefile: Likewise.
34813 * timezone/Makefile: Likewise.
34814 * stdlib/Makefile: Likewise.
34815 * iconvdata/Makefile: Likewise.
34816 * sunrpc/Makefile: Likewise.
34817 * io/Makefile: Likewise.
34818 * argp/Makefile: Likewise.
34819 * inet/Makefile: Likewise.
34820 * hesiod/Makefile: Likewise.
34821 * grp/Makefile: Likewise.
34822 * csu/Makefile: Likewise.
34823 * wctype/Makefile: Likewise.
34824 * crypt/Makefile: Likewise.
34825 * libio/Makefile: Likewise.
34826 * string/Makefile: Likewise.
34827 * nis/Makefile: Likewise.
34828 * resolv/Makefile: Likewise.
34829 * stdio-common/Makefile: Likewise.
34830 * wcsmbs/Makefile: Likewise.
34831 * dlfcn/Makefile: Likewise.
34832 * posix/Makefile: Likewise.
34835 * timezone/Makefile: Don't install timezone files, just the programs
34838 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34840 * nss/databases.def: Add missing gshadow entry.
34842 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34844 2012-03-06 Marek Polacek <polacek@redhat.com>
34847 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34848 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34849 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34850 * stdio-common/tst-long-dbl-fphex.c: New file.
34852 2012-03-06 David S. Miller <davem@davemloft.net>
34854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34855 (set_obp_int): New function.
34856 (get_obp_int): New function.
34857 (__get_clockfreq_via_dev_openprom): Likewise.
34858 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34859 Avoid unused variable warnings on 'val' and use builtin_expect.
34860 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34862 (INLINE_CLONE_SYSCALL): Likewise.
34864 2012-03-05 David S. Miller <davem@davemloft.net>
34866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34868 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34872 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34873 only for |x| >= 40.
34874 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34876 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34878 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34879 Replace gettimeofday with __vdso_gettimeofday.
34881 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34882 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34883 __vdso_clock_gettime and __vdso_getcpu.
34885 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34886 time with __vdso_time.
34888 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34890 * manual/lang.texi (size_t): Note types to which size_t may be
34891 equivalent with the GNU C Library, but do not describe when
34892 differences between them are significant.
34894 2012-03-05 Andreas Jaeger <aj@suse.de>
34896 * sysdeps/i386/fpu/libm-test-ulps: Update.
34898 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34901 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34902 (__ieee754_pow): Save and restore rounding mode and use
34903 round-to-nearest for main computations.
34904 * math/libm-test.inc (pow_test_tonearest): New function.
34905 (pow_test_towardzero): Likewise.
34906 (pow_test_downward): Likewise.
34907 (pow_test_upward): Likewise.
34908 (main): Call the new functions.
34909 * sysdeps/i386/fpu/libm-test-ulps: Update.
34910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34913 * math/libm-test.inc (cosh_test_tonearest): New function.
34914 (cosh_test_towardzero): Likewise.
34915 (cosh_test_downward): Likewise.
34916 (cosh_test_upward): Likewise.
34917 (sinh_test_tonearest): Likewise.
34918 (sinh_test_towardzero): Likewise.
34919 (sinh_test_downward): Likewise.
34920 (sinh_test_upward): Likewise.
34921 (main): Call the new functions.
34922 * sysdeps/i386/fpu/libm-test-ulps: Update.
34923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34925 2012-03-05 Tom de Vries <tom@codesourcery.com>
34927 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34928 default stack guard is set in last bytes.
34929 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34931 2012-03-05 Kees Cook <keescook@chromium.org>
34933 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34936 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34937 possibly allocate from heap instead of stack.
34938 * stdio-common/bug-vfprintf-nargs.c: New file.
34939 * stdio-common/Makefile (tests): Add nargs overflow test.
34941 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34945 2012-03-03 Marek Polacek <polacek@redhat.com>
34947 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34948 * math/math_private.h: Likewise.
34949 * stdlib/tst-strtod.c: Likewise.
34950 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34951 * sysdeps/x86_64/bits/atomic.h: Likewise.
34953 2012-03-02 David S. Miller <davem@davemloft.net>
34955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34959 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34960 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34961 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34962 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34964 2012-03-02 Roland McGrath <roland@hack.frob.com>
34967 * manual/examples/README: New file, says the example source files
34968 can be used under GPL>=2.
34969 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34970 line containing just "*/".
34971 * manual/examples/add.c: Add copyright header (GPL>=2).
34972 * manual/examples/argp-ex1.c: Likewise.
34973 * manual/examples/argp-ex2.c: Likewise.
34974 * manual/examples/argp-ex3.c: Likewise.
34975 * manual/examples/argp-ex4.c: Likewise.
34976 * manual/examples/atexit.c: Likewise.
34977 * manual/examples/db.c: Likewise.
34978 * manual/examples/dir.c: Likewise.
34979 * manual/examples/dir2.c: Likewise.
34980 * manual/examples/execinfo.c: Likewise.
34981 * manual/examples/filecli.c: Likewise.
34982 * manual/examples/filesrv.c: Likewise.
34983 * manual/examples/fmtmsgexpl.c: Likewise.
34984 * manual/examples/genpass.c: Likewise.
34985 * manual/examples/inetcli.c: Likewise.
34986 * manual/examples/inetsrv.c: Likewise.
34987 * manual/examples/isockad.c: Likewise.
34988 * manual/examples/longopt.c: Likewise.
34989 * manual/examples/memopen.c: Likewise.
34990 * manual/examples/memstrm.c: Likewise.
34991 * manual/examples/mkfsock.c: Likewise.
34992 * manual/examples/mkisock.c: Likewise.
34993 * manual/examples/mygetpass.c: Likewise.
34994 * manual/examples/pipe.c: Likewise.
34995 * manual/examples/popen.c: Likewise.
34996 * manual/examples/rprintf.c: Likewise.
34997 * manual/examples/search.c: Likewise.
34998 * manual/examples/select.c: Likewise.
34999 * manual/examples/setjmp.c: Likewise.
35000 * manual/examples/sigh1.c: Likewise.
35001 * manual/examples/sigusr.c: Likewise.
35002 * manual/examples/stpcpy.c: Likewise.
35003 * manual/examples/strdupa.c: Likewise.
35004 * manual/examples/strftim.c: Likewise.
35005 * manual/examples/strncat.c: Likewise.
35006 * manual/examples/subopt.c: Likewise.
35007 * manual/examples/swapcontext.c: Likewise.
35008 * manual/examples/termios.c: Likewise.
35009 * manual/examples/testopt.c: Likewise.
35010 * manual/examples/testpass.c: Likewise.
35011 * manual/examples/timeval_subtract.c: Likewise.
35014 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35016 * manual/timeval_subtract.c.texi: ... here, new file.
35018 2012-03-02 David S. Miller <davem@davemloft.net>
35020 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35022 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35025 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35026 (__sin): Save and restore rounding mode and use round-to-nearest
35027 for all computations.
35028 (__cos): Save and restore rounding mode and use round-to-nearest
35029 for all computations.
35030 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35032 (tan): Save and restore rounding mode and use round-to-nearest for
35034 * math/libm-test.inc (cos_test_tonearest): New function.
35035 (cos_test_towardzero): Likewise.
35036 (cos_test_downward): Likewise.
35037 (cos_test_upward): Likewise.
35038 (sin_test_tonearest): Likewise.
35039 (sin_test_towardzero): Likewise.
35040 (sin_test_downward): Likewise.
35041 (sin_test_upward): Likewise.
35042 (tan_test_tonearest): Likewise.
35043 (tan_test_towardzero): Likewise.
35044 (tan_test_downward): Likewise.
35045 (tan_test_upward): Likewise.
35046 (main): Call the new functions.
35047 * sysdeps/i386/fpu/libm-test-ulps: Update.
35048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35051 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35052 small n, then large n, before computing and testing k+n.
35053 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35054 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35058 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35059 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35060 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35061 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35062 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35063 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35064 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35065 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35066 * math/libm-test.inc (scalbn_test): Add more tests.
35067 (scalbln_test): Likewise.
35069 * manual/filesys.texi (mode_t): Describe constraints on size and
35070 signedness, not exact equivalence to a particular type.
35072 (ino64_t): Likewise.
35074 (nlink_t): Likewise.
35075 (blkcnt_t): Likewise.
35076 (blkcnt64_t): Likewise.
35077 * manual/llio.texi (off_t): Likewise.
35080 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35081 (__ieee754_exp): Save and restore rounding mode and use
35082 round-to-nearest for all computations.
35083 * math/libm-test.inc (exp_test_tonearest): New function.
35084 (exp_test_towardzero): Likewise.
35085 (exp_test_downward): Likewise.
35086 (exp_test_upward): Likewise.
35087 (main): Call the new functions.
35088 * sysdeps/i386/fpu/libm-test-ulps: Update.
35089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35091 2012-03-01 Chris Demetriou <cgd@google.com>
35093 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35094 have predictable order.
35096 2012-03-01 David S. Miller <davem@davemloft.net>
35098 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35100 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35101 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35102 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35103 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35105 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35106 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35107 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35109 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35110 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35111 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35112 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35113 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35117 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35118 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35119 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35121 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35122 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35123 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35124 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35125 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35126 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35127 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35128 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35129 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35130 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35131 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35132 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35134 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35135 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35137 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35138 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35139 * sysdeps/sparc/elf/configure: Regenerated.
35141 2012-03-01 Joseph Myers <joseph@codesourcery.com>
35143 * configure.in (AS, LD): Require binutils 2.20 or later.
35144 * configure: Regenerated.
35145 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35146 as required minimum version.
35147 * INSTALL: Regenerated.
35151 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35152 before squaring exponent.
35153 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35154 bottom long double and 27 bits of top long double before squaring
35156 * math/libm-test.inc (erfc_test): Add more tests.
35157 * sysdeps/i386/fpu/libm-test-ulps: Update.
35158 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35161 2012-03-01 Kai Tietz <ktietz@redhat.com>
35163 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35164 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35165 containing bit-fields.
35166 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35167 * soft-fp/single.h (_FP_UNION_S): Likewise.
35168 * soft-fp/double.h (_FP_UNION_D): Likewise.
35170 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35173 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35174 not include ../strcmp.S.
35175 [USE_AS_STRNCASECMP_L]: Likewise.
35176 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35177 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35178 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35179 (__strncasecmp_l_ia32): Define as alias to
35180 __strncasecmp_l_nonascii.
35183 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35184 * sysdeps/i386/fpu/libm-test-ulps: Update.
35185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35187 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35190 2012-02-29 Jeff Law <law@redhat.com>
35192 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35193 out of bounds read.
35195 2012-02-29 Marek Polacek <polacek@redhat.com>
35198 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35199 * elf/Makefile: Add rules to run tst-unused-dep.out.
35201 2012-02-28 David S. Miller <davem@davemloft.net>
35203 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35204 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35205 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35206 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35207 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35208 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35210 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35212 * math/libm-test.inc (llround_test): Move one test from
35213 lround_test. Use TEST_f_L in moved test.
35214 (lround_test): Move misplaced test to llround_test. Add testcase
35217 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35219 * sysdeps/x86_64/fpu/e_expf.S: New file.
35220 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35222 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35225 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35226 of remain_len that may cause incomplete multi-byte character and
35228 * posix/bug-regex33.c: New file.
35229 * posix/Makefile (tests): Add bug-regex33.
35231 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35233 * manual/macros.texi: New file.
35234 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35235 * manual/libc.texinfo: Include macros.texi.
35236 * manual/creatute.texi: Likewise.
35237 * manual/install.texi: Likewise.
35238 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35239 @glibcadj{} in references to the GNU C Library.
35240 * manual/charset.texi: Likewise.
35241 * manual/conf.texi: Likewise.
35242 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35243 when not using those macros.
35244 * manual/creature.texi: Likewise.
35245 * manual/crypt.texi: Likewise.
35246 * manual/errno.texi: Likewise.
35247 * manual/filesys.texi: Likewise.
35248 * manual/header.texi: Likewise.
35249 * manual/install.texi: Likewise.
35250 * manual/intro.texi: Likewise.
35251 * manual/io.texi: Likewise.
35252 * manual/job.texi: Likewise.
35253 * manual/lang.texi: Likewise.
35254 * manual/libc.texiinfo: Likewise.
35255 * manual/llio.texi: Likewise.
35256 * manual/locale.texi: Likewise.
35257 * manual/maint.texi: Likewise.
35258 * manual/math.texi: Likewise.
35259 * manual/memory.texi: Likewise.
35260 * manual/message.texi: Likewise.
35261 * manual/nss.texi: Likewise.
35262 * manual/pattern.texi: Likewise.
35263 * manual/process.texi: Likewise.
35264 * manual/resource.texi: Likewise.
35265 * manual/search.texi: Likewise.
35266 * manual/setjmp.texi: Likewise.
35267 * manual/signal.texi: Likewise.
35268 * manual/socket.texi: Likewise.
35269 * manual/startup.texi: Likewise.
35270 * manual/stdio.texi: Likewise.
35271 * manual/string.texi: Likewise.
35272 * manual/sysinfo.texi: Likewise.
35273 * manual/syslog.texi: Likewise.
35274 * manual/terminal.texi: Likewise.
35275 * manual/time.texi: Likewise.
35276 * manual/users.texi: Likewise.
35277 * INSTALL: Regenerated.
35278 * NOTES: Regenerated.
35279 * sysdeps/gnu/errlist.c: Regenerated.
35281 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35283 * include/dirent.h: Include <dirstream.h> before
35286 2012-02-28 David S. Miller <davem@davemloft.net>
35288 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35289 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35290 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35291 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35293 2012-02-27 David S. Miller <davem@davemloft.net>
35295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35297 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35298 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35301 frame pointer instead of stack pointer relative arg slot.
35302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35303 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35304 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35306 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35309 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35311 2012-02-27 David S. Miller <davem@davemloft.net>
35313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35317 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35318 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35319 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35320 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35322 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35324 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35325 later. Allow versions 5-9.
35326 * configure: Regenerated.
35327 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35328 required minimum version and 4.6 as recommended version. Do not
35329 mention bugs in GCC 2.7 and 2.8.
35330 * INSTALL: Regenerated.
35332 2012-02-27 David S. Miller <davem@davemloft.net>
35334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35338 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35339 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35340 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35341 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35343 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35344 manipulate bits before adding and subtracting TWO112[sx].
35345 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35347 2012-02-27 Roland McGrath <roland@hack.frob.com>
35350 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35351 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35352 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35353 being in POSIX, because they are in 1003.1-2008.
35355 * rt/tst-aio.c: Include <fcntl.h>.
35356 * rt/tst-aio7.c: Likewise.
35357 * rt/tst-aio64.c: Likewise.
35359 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35361 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35363 * manual/install.texi (--with-headers): Describe headers as
35364 interface headers, not private headers.
35365 (Specific advice for GNU/Linux systems): Describe use of headers
35366 from "make headers_install", not private headers from older
35368 * INSTALL: Regenerated.
35369 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35371 * sysdeps/unix/sysv/linux/configure: Regenerated.
35373 * manual/llio.texi (fclean): Remove documentation.
35375 * manual/Makefile (libc-texi-generated): New variable. Include
35377 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35378 $(libc-texi-generated), not duplicated list of files.
35379 (version.texi, stamp-version): New rules.
35380 (realclean): Remove $(libc-texi-generated), not individual files
35381 from that list. Do not remove dir-add.texinfo.
35382 * manual/libc.texinfo: Comment out uses of edition numbers and
35383 references to printed manual. Remove last-updated dates.
35384 (EDITION): Comment out.
35386 (VERSION, UPDATED): Remove.
35387 (version.texi): Include.
35389 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35391 * sysdeps/posix/spawni.c: Include <signal.h>.
35392 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35393 * sysdeps/pthread/aio_fsync.c: Likewise.
35395 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35397 * conform/Makefile (tests): Run only when not cross-compiling and
35398 when fast-check is not defined.
35400 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35401 * conform/data/limits.h-data: Fixes for POSIX2008.
35402 * conform/run-conformtest.sh: Run all tests.
35403 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35405 * include/bits/dlfcn.h: Likewise.
35406 * include/langinfo.h: Likewise.
35407 * include/monetary.h: Likewise.
35408 * include/sys/poll.h: Likewise.
35410 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35412 * posix/spawn.h: Define __need_sigset_t.
35413 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35414 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35415 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35416 to get sigevent_t only.
35417 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35418 only for __USE_GNU.
35419 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35420 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35421 process_vm_writev only for __USE_GNU.
35422 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35424 * conform/Makefile: For now ignore errors from run-conformtest.
35425 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35426 POSIX to avoid namespace pollution. Don't prepend headers.
35427 * conform/data/aio.h-data: Fixes for POSIX testing.
35428 * conform/data/fcntl.h-data: Likewise.
35429 * conform/data/glob.h-data: Likewise.
35430 * conform/data/grp.h-data: Likewise.
35431 * conform/data/pthread.h-data: Likewise.
35432 * conform/data/pwd.h-data: Likewise.
35433 * conform/data/signal.h-data: Likewise.
35434 * conform/data/spawn.h-data: Likewise.
35435 * conform/data/stdio.h-data: Likewise.
35436 * conform/data/stdlib.h-data: Likewise.
35437 * conform/data/stropts.h-data: Likewise.
35438 * conform/data/sys/mman.h-data: Likewise.
35439 * conform/data/sys/stat.h-data: Likewise.
35440 * conform/data/sys/types.h-data: Likewise.
35441 * conform/data/sys/wait.h-data: Likewise.
35442 * conform/data/time.h-data: Likewise.
35443 * conform/data/unistd.h-data: Likewise.
35444 * conform/data/utime.h-data: Likewise.
35446 * io/sys/stat.h: fchmod was always in POSIX.
35447 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35448 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35449 * rt/aio.h: Define __need_timespec before including <time.h>.
35450 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35451 struct. Add forward declaration of pthread_attr_t and use it in
35453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35454 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35455 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35456 always remove CLK_TCK definition.
35458 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35460 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35462 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35464 * conform/run-conformtest.sh: New file.
35465 * conform/Makefile: Run run-conformtest for tests.
35466 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35469 * conform/data/uchar.h-data: New file.
35470 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35471 * conform/data/arpa/inet.h-data: Likewise.
35472 * conform/data/assert.h-data: Likewise.
35473 * conform/data/complex.h-data: Likewise.
35474 * conform/data/cpio.h-data: Likewise.
35475 * conform/data/ctype.h-data: Likewise.
35476 * conform/data/dirent.h-data: Likewise.
35477 * conform/data/dlfcn.h-data: Likewise.
35478 * conform/data/errno.h-data: Likewise.
35479 * conform/data/fcntl.h-data: Likewise.
35480 * conform/data/float.h-data: Likewise.
35481 * conform/data/fmtmsg.h-data: Likewise.
35482 * conform/data/fnmatch.h-data: Likewise.
35483 * conform/data/ftw.h-data: Likewise.
35484 * conform/data/glob.h-data: Likewise.
35485 * conform/data/grp.h-data: Likewise.
35486 * conform/data/iconv.h-data: Likewise.
35487 * conform/data/inttypes.h-data: Likewise.
35488 * conform/data/langinfo.h-data: Likewise.
35489 * conform/data/libgen.h-data: Likewise.
35490 * conform/data/limits.h-data: Likewise.
35491 * conform/data/locale.h-data: Likewise.
35492 * conform/data/math.h-data: Likewise.
35493 * conform/data/monetary.h-data: Likewise.
35494 * conform/data/mqueue.h-data: Likewise.
35495 * conform/data/ndbm.h-data: Likewise.
35496 * conform/data/net/if.h-data: Likewise.
35497 * conform/data/netdb.h-data: Likewise.
35498 * conform/data/netinet/in.h-data: Likewise.
35499 * conform/data/nl_types.h-data: Likewise.
35500 * conform/data/poll.h-data: Likewise.
35501 * conform/data/pthread.h-data: Likewise.
35502 * conform/data/pwd.h-data: Likewise.
35503 * conform/data/regex.h-data: Likewise.
35504 * conform/data/sched.h-data: Likewise.
35505 * conform/data/search.h-data: Likewise.
35506 * conform/data/semaphore.h-data: Likewise.
35507 * conform/data/setjmp.h-data: Likewise.
35508 * conform/data/signal.h-data: Likewise.
35509 * conform/data/spawn.h-data: Likewise.
35510 * conform/data/stdarg.h-data: Likewise.
35511 * conform/data/stdio.h-data: Likewise.
35512 * conform/data/stdlib.h-data: Likewise.
35513 * conform/data/string.h-data: Likewise.
35514 * conform/data/strings.h-data: Likewise.
35515 * conform/data/stropts.h-data: Likewise.
35516 * conform/data/sys/ipc.h-data: Likewise.
35517 * conform/data/sys/mman.h-data: Likewise.
35518 * conform/data/sys/msg.h-data: Likewise.
35519 * conform/data/sys/resource.h-data: Likewise.
35520 * conform/data/sys/select.h-data: Likewise.
35521 * conform/data/sys/sem.h-data: Likewise.
35522 * conform/data/sys/shm.h-data: Likewise.
35523 * conform/data/sys/socket.h-data: Likewise.
35524 * conform/data/sys/stat.h-data: Likewise.
35525 * conform/data/sys/statvfs.h-data: Likewise.
35526 * conform/data/sys/time.h-data: Likewise.
35527 * conform/data/sys/timeb.h-data: Likewise.
35528 * conform/data/sys/times.h-data: Likewise.
35529 * conform/data/sys/types.h-data: Likewise.
35530 * conform/data/sys/uio.h-data: Likewise.
35531 * conform/data/sys/un.h-data: Likewise.
35532 * conform/data/sys/utsname.h-data: Likewise.
35533 * conform/data/sys/wait.h-data: Likewise.
35534 * conform/data/syslog.h-data: Likewise.
35535 * conform/data/tar.h-data: Likewise.
35536 * conform/data/termios.h-data: Likewise.
35537 * conform/data/utime.h-data: Likewise.
35538 * conform/data/utmpx.h-data: Likewise.
35539 * conform/data/varargs.h-data: Likewise.
35540 * conform/data/wchar.h-data: Likewise.
35541 * conform/data/wctype.h-data: Likewise.
35542 * conform/data/wordexp.h-data: Likewise.
35544 * include/stropts.h: New file.
35545 * include/uchar.h: New file.
35546 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35547 * include/assert.h: Likewise.
35548 * include/ctype.h: Likewise.
35549 * include/dirent.h: Likewise.
35550 * include/dlfcn.h: Likewise.
35551 * include/fcntl.h: Likewise.
35552 * include/fnmatch.h: Likewise.
35553 * include/glob.h: Likewise.
35554 * include/grp.h: Likewise.
35555 * include/libio.h: Likewise.
35556 * include/locale.h: Likewise.
35557 * include/math.h: Likewise.
35558 * include/net/if.h: Likewise.
35559 * include/netdb.h: Likewise.
35560 * include/netinet/in.h: Likewise.
35561 * include/pthread.h: Likewise.
35562 * include/pwd.h: Likewise.
35563 * include/regex.h: Likewise.
35564 * include/sched.h: Likewise.
35565 * include/search.h: Likewise.
35566 * include/setjmp.h: Likewise.
35567 * include/signal.h: Likewise.
35568 * include/stdio.h: Likewise.
35569 * include/stdlib.h: Likewise.
35570 * include/string.h: Likewise.
35571 * include/sys/cdefs.h: Likewise.
35572 * include/sys/mman.h: Likewise.
35573 * include/sys/msg.h: Likewise.
35574 * include/sys/resource.h: Likewise.
35575 * include/sys/select.h: Likewise.
35576 * include/sys/socket.h: Likewise.
35577 * include/sys/stat.h: Likewise.
35578 * include/sys/statvfs.h: Likewise.
35579 * include/sys/time.h: Likewise.
35580 * include/sys/times.h: Likewise.
35581 * include/sys/uio.h: Likewise.
35582 * include/sys/utsname.h: Likewise.
35583 * include/sys/wait.h: Likewise.
35584 * include/termios.h: Likewise.
35585 * include/time.h: Likewise.
35586 * include/ulimit.h: Likewise.
35587 * include/unistd.h: Likewise.
35588 * include/utime.h: Likewise.
35589 * include/wchar.h: Likewise.
35590 * include/wctype.h: Likewise.
35591 * include/wordexp.h: Likewise.
35593 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35595 * time/time.h: TIME_UTC must be a macro.
35596 Make timespec_get available for ISO C11 only as well.
35598 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35600 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35601 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35603 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35605 * configure.in: Use -o not -a in test for unsupported multi-arch.
35607 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35609 * manual/texinfo.tex: Update to version 2012-01-19.16.
35611 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35613 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35615 2012-02-24 Roland McGrath <roland@hack.frob.com>
35618 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35619 * manual/fdl-1.3.texi: New file.
35620 * manual/fdl-1.1.texi: File removed.
35623 * manual/libc.texinfo (FDL_VERSION): New @set.
35624 Use it for mention of FDL in cover text.
35625 (Documentation License): Use it in @include file name.
35627 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35628 Roland McGrath <roland@hack.frob.com>
35631 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35632 (not LONG_LONG_MAX and LONG_LONG_MIN.
35633 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35634 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35636 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35638 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35642 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35643 manipulate bits before adding and subtracting TWO23[sx].
35644 * math/libm-test.inc (nearbyint_test): Add more tests.
35646 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35649 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35650 bits before adding and subtracting TWO23[sx].
35651 * math/libm-test.inc (rint_test): Add more tests.
35652 (rint_test_tonearest): Likewise.
35653 (rint_test_towardzero): Likewise.
35654 (rint_test_downward): Likewise.
35655 (rint_test_upward: Likewise.
35657 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35660 * include/stdc-predef.h: New file. Extracted from features.h.
35661 * include/features.h: Include stdc-predef.h.
35662 * Makefile (headers): Add stdc-predef.h.
35663 * CONFORMANCE (Compiler limitations): Update.
35665 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35667 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35669 2012-02-21 David S. Miller <davem@davemloft.net>
35671 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35672 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35674 2012-02-20 David S. Miller <davem@davemloft.net>
35676 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35677 using a normal save/restore sequence, rather than allocating a
35678 dummy stack frame just to store a frame pointer and restore.
35679 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35681 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35683 * manual/install.texi: Fix stray word in line-wrapped comment.
35685 2012-02-20 David S. Miller <davem@davemloft.net>
35687 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35688 both binutils and gcc support GOTDATA.
35690 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35691 "rd %pc" in the PIC register setup sequences.
35693 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35694 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35695 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35696 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35697 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35699 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35700 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35702 (SYSCALL_ERROR_HANDLER): Likewise.
35703 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35704 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35706 (SYSCALL_ERROR_HANDLER): Likewise.
35708 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35709 (HAVE_GCC_GOTDATA): New.
35710 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35711 relocation support in both binutils and gcc.
35712 * sysdeps/sparc/elf/configure: Regenerate.
35714 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35715 * sysdeps/sparc/sparc32/elf/configure: Delete.
35716 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35717 * sysdeps/sparc/sparc64/elf/configure: Delete.
35718 * sysdeps/sparc/elf/configure.in: New file.
35719 * sysdeps/sparc/elf/configure: Generate.
35721 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35722 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35723 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35724 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35725 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35727 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35729 * manual/install.texi: Do not mention specific glibc version
35731 * manual/libc.texinfo (VERSION, UPDATED): Update.
35732 (@copying): Use @copyright{} and range of years.
35734 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35737 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35738 [crti.S not in sysdirs] (generated): Do not append.
35739 [crti.S not in sysdirs] (omit-deps): Likewise.
35740 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35741 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35742 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35743 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35744 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35746 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35747 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35748 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35749 * csu/defs.awk: Remove file.
35750 * sysdeps/generic/initfini.c: Likewise.
35751 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35753 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35756 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35758 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35759 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35760 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35761 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35762 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35763 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35765 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35766 (__EPOLL_PACKED): Define to empty if not defined by
35768 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35772 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35774 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35775 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35776 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35777 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35779 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35783 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35785 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35787 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35788 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35789 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35792 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35794 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35795 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35797 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35799 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35800 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35802 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35804 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35807 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35809 * math/w_acos.c: Use non-signaling floating-point comparisons.
35810 * math/w_acosf.c: Likewise.
35811 * math/w_acosh.c: Likewise.
35812 * math/w_acoshf.c: Likewise.
35813 * math/w_acoshl.c: Likewise.
35814 * math/w_acosl.c: Likewise.
35815 * math/w_asin.c: Likewise.
35816 * math/w_asinf.c: Likewise.
35817 * math/w_asinl.c: Likewise.
35818 * math/w_atanh.c: Likewise.
35819 * math/w_atanhf.c: Likewise.
35820 * math/w_atanhl.c: Likewise.
35821 * math/w_exp2.c: Likewise.
35822 * math/w_exp2f.c: Likewise.
35823 * math/w_exp2l.c: Likewise.
35824 * math/w_j0.c: Likewise.
35825 * math/w_j0f.c: Likewise.
35826 * math/w_j0l.c: Likewise.
35827 * math/w_j1.c: Likewise.
35828 * math/w_j1f.c: Likewise.
35829 * math/w_j1l.c: Likewise.
35830 * math/w_jn.c: Likewise.
35831 * math/w_jnf.c: Likewise.
35832 * math/w_log.c: Likewise.
35833 * math/w_log10.c: Likewise.
35834 * math/w_log10f.c: Likewise.
35835 * math/w_log10l.c: Likewise.
35836 * math/w_log2.c: Likewise.
35837 * math/w_log2f.c: Likewise.
35838 * math/w_log2l.c: Likewise.
35839 * math/w_logf.c: Likewise.
35840 * math/w_logl.c: Likewise.
35841 * math/w_sqrt.c: Likewise.
35842 * math/w_sqrtf.c: Likewise.
35843 * math/w_sqrtl.c: Likewise.
35844 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35845 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35846 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35847 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35848 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35850 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35853 * manual/string.texi (strnlen): Use correct parameter name in
35854 equivalent expression.
35856 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35859 * manual/users.texi (seteuid): Consistently use neweuid for
35862 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35865 * manual/nss.texi (Services in the NSS configuration): Correct
35866 list of services in example configuration file.
35868 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35871 * manual/arith.texi: Remove statements about negative zero
35872 behaving identically to zero.
35874 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35877 * manual/install.texi: Do not document upgrading from libc5.
35879 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35882 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35884 2012-02-18 David S. Miller <davem@davemloft.net>
35886 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35887 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35888 %o7 across the call.
35889 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35891 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35892 SETUP_PIC_REG_LEAF.
35893 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35894 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35895 * sysdeps/sparc/crtn.S: Likewise.
35897 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35899 * aout/Makefile: Remove.
35901 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35904 * manual/examples/argp-ex1.c (main): Format definition in GNU
35906 * manual/examples/argp-ex2.c (main): Likewise.
35907 * manual/examples/argp-ex3.c (main): Likewise.
35908 * manual/examples/argp-ex4.c (main): Likewise.
35909 * manual/examples/longopt.c (main): Use new-style prototype
35911 * manual/examples/strncat.c (main): Specify return type and use
35912 (void) for arguments.
35913 * manual/examples/subopt.c (main): Use char **argv argument.
35915 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35918 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35921 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35924 * manual/string.texi (strchr): Change when strchrnul is
35927 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35930 * manual/locale.texi (setlocale): Document LOCPATH.
35932 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35935 * manual/process.texi (execle): Move @dots{} before last argument.
35937 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35940 * manual/charset.texi (Generic Charset Conversion): Fix typo
35941 (LC_TYPE -> LC_CTYPE).
35943 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35946 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35947 (scalbnf): Likewise.
35948 (scalbnl): Likewise.
35949 (scalbln): Likewise.
35950 (scalblnf): Likewise.
35951 (scalblnl): Likewise.
35952 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35953 (vwarnx): Likewise.
35956 * manual/filesys.texi (telldir): Use braces around return type.
35957 * manual/llio.texi (mmap): Add space after comma.
35958 (mmap64): Likewise.
35959 * manual/math.texi (jn): Use @var{} on parameter names.
35965 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35967 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35969 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35970 (sched_get_priority_max): Likewise.
35971 * manual/signal.texi (sigvec): Add space after comma.
35972 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35974 (if_indextoname): Likewise.
35975 (if_freenameindex): Likewise.
35976 (sendto): Use ',' instead of '.' in prototype.
35977 * manual/startup.texi (syscall): Use @dots{} instead of literal
35979 * manual/stdio.texi (__fpending): Separate initial words of
35980 paragraph from @deftypefun line.
35981 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35983 (vsyslog): Use @var{} on parameter names.
35984 * manual/terminal.texi (stty): Use @var{} on parameter names.
35985 * manual/users.texi (getutmp): Use @var{} on parameter names.
35986 (getutmpx): Likewise.
35988 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35991 * manual/stdio.texi (fopen): Fix typos in description of
35994 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35997 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35998 get clock_id definition.
36000 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36003 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36004 (madvise): Cast every argument to void on its own.
36006 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36009 * manual/startup.texi (Exit Status): Fix typo.
36011 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36014 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36015 * manual/examples/argp-ex2.c: Likewise.
36016 * manual/examples/argp-ex3.c: Likewise.
36018 2012-02-16 Richard Henderson <rth@redhat.com>
36020 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36021 * sysdeps/s390/s390-32/initfini.c: Remove.
36022 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36023 * sysdeps/s390/s390-64/initfini.c: Remove.
36025 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36027 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36028 compiler output for sysdeps/generic/initfini.c.
36029 * sysdeps/sh/elf/initfini.c: Remove file.
36031 2012-02-16 David S. Miller <davem@davemloft.net>
36034 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36036 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36037 * sysdeps/sparc/crti.S: New file.
36038 * sysdeps/sparc/crtn.S: New file.
36039 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36040 * sysdeps/sparc/sparc64/Makefile: Likewise.
36042 2012-02-15 Mike Frysinger <vapier@gentoo.org>
36045 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36047 2012-02-15 Roland McGrath <roland@hack.frob.com>
36050 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36052 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36053 (write, read, close): Likewise.
36054 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36056 2012-02-15 Joseph Myers <joseph@codesourcery.com>
36058 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36059 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36060 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36061 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36063 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36067 2012-02-14 Marek Polacek <polacek@redhat.com>
36069 * sysdeps/x86_64/crti.S: New file.
36070 * sysdeps/x86_64/crtn.S: New file.
36071 * sysdeps/x86_64/elf/initfini.c: Remove file.
36073 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36075 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36076 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36077 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36078 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36080 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36084 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36086 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36087 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36088 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36089 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36091 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36095 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36097 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36098 __feraiseexcept instead of feraiseexcept.
36100 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36101 nanosleep invocations.
36102 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36103 strings, and add error checking for a nanosleep invocations.
36105 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36107 Replace FSF snail mail address with URLs, as per GNU coding standards.
36108 Most of the snail mail addresses were wrong anyway, and omitting
36109 them makes the source code easier to maintain. Almost all of the
36110 changes are to license notices and to locale LC_IDENTIFICATION
36111 addresses, except for this one:
36112 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36113 not its snail mail address.
36115 2012-02-09 Richard Henderson <rth@twiddle.net>
36117 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36118 of kernel-features.h.
36120 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36122 2012-02-08 Marek Polacek <polacek@redhat.com>
36124 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36125 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36126 * sysdeps/gnu/_G_config.h: Likewise.
36127 * sysdeps/generic/_G_config.h: Likewise.
36129 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36131 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36135 * sysdeps/powerpc/powerpc32/crti.S: New file.
36136 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36137 * sysdeps/powerpc/powerpc64/crti.S: New file.
36138 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36140 * Makeconfig (have-initfini): Don't set.
36141 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36142 * configure.in (nopic_initfini): Don't substitute.
36143 * config.h.in (HAVE_INITFINI): Don't #undef.
36144 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36145 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36147 2012-02-08 Joseph Myers <joseph@codesourcery.com>
36149 Support crti.S and crtn.S provided directly by architectures.
36150 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36151 [crti.S in sysdirs] (omit-deps): Likewise.
36152 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36153 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36154 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36155 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36156 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36157 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36158 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36159 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36160 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36161 compiler output for sysdeps/generic/initfini.c.
36162 * sysdeps/i386/elf/Makefile: Remove file.
36163 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36165 2012-02-07 Marek Polacek <polacek@redhat.com>
36167 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36168 * sysdeps/gnu/_G_config.h: Likewise.
36169 * sysdeps/mach/hurd/_G_config.h: Likewise.
36171 2012-02-07 Marek Polacek <polacek@redhat.com>
36173 * math/Makefile (tests): Add tst-CMPLX2.
36174 * math/tst-CMPLX2.c: New file.
36176 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36178 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36180 * math/libm-test.inc (jn_test): Add missing L suffix.
36182 2012-02-06 Marek Polacek <polacek@redhat.com>
36184 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36185 * sysdeps/i386/fpu/e_powf.S: Likewise.
36186 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36187 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36188 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36189 * sysdeps/i386/fpu/e_pow.S: Likewise.
36190 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36191 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36192 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36193 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36194 * sysdeps/i386/fpu/e_log2.S: Likewise.
36195 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36196 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36197 * sysdeps/i386/fpu/e_powl.S: Likewise.
36198 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36199 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36200 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36201 * sysdeps/i386/fpu/e_logl.S: Likewise.
36202 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36203 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36204 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36205 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36206 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36207 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36208 * sysdeps/i386/fpu/e_log.S: Likewise.
36209 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36210 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36211 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36212 * sysdeps/i386/fpu/e_logf.S: Likewise.
36213 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36214 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36215 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36216 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36217 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36218 * sysdeps/i386/fpu/e_log10.S: Likewise.
36219 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36220 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36221 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36222 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36223 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36224 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36225 * sysdeps/i386/asm-syntax.h: Likewise.
36226 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36227 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36228 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36229 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36230 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36231 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36232 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36233 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36234 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36235 * sysdeps/powerpc/sysdep.h: Likewise.
36236 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36237 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36239 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36242 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36244 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36246 * sysdeps/i386/sysdep.h: Include <features.h>.
36247 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36250 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36252 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36254 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36257 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36259 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36260 (SETUP_PIC_REG): Use GET_PC_THUNK.
36261 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36264 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36266 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36267 for non-PIC compilation.
36268 (SETUP_PIC_REG): Add .p2align directive.
36269 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36270 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36271 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36272 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36273 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36274 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36275 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36276 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36277 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36278 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36279 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36280 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36281 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36282 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36283 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36284 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36285 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36286 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36287 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36288 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36289 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36290 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36291 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36292 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36293 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36294 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36295 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36296 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36297 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36298 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36299 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36300 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36301 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36302 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36303 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36304 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36305 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36306 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36307 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36308 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36309 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36311 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36313 * math/tst-CMPLX.c: Include <stdio.h>.
36315 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36317 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36319 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36320 * sysdeps/sparc/bits/mathdef.h: Likewise.
36322 2012-01-31 Marek Polacek <polacek@redhat.com>
36324 * libio/libio.h: Don't define _PARAMS.
36325 * locale/programs/config.h: Don't define PARAMS.
36326 * stdlib/strtol_l.c: Likewise.
36327 (__strtol_l): Remove PARAMS from the prototype.
36329 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36331 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36332 names. Just use the correct names. Remove unnecessary wrapper
36334 * malloc/arena.c: Likewise.
36335 * malloc/hooks.c: Likewise.
36337 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36338 ARENA_TEST says not to. Simplify test for creation of a new arena.
36339 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36341 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36343 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36345 (update_get_addr): New function.
36346 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36347 GET_ADDR_MODULE parameter.
36349 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36351 * crypt/cert.c: Remove __STDC__ conditionals.
36352 * crypt/crypt-entry.c: Likewise.
36353 * crypt/crypt_util.c: Likewise.
36354 * libio/filedoalloc.c: Likewise.
36355 * libio/fileops.c: Likewise.
36356 * libio/genops.c: Likewise.
36357 * libio/iofclose.c: Likewise.
36358 * libio/iofdopen.c: Likewise.
36359 * libio/iofopen.c: Likewise.
36360 * libio/iofopen64.c: Likewise.
36361 * libio/iogetdelim.c: Likewise.
36362 * libio/iopopen.c: Likewise.
36363 * libio/obprintf.c: Likewise.
36364 * libio/oldfileops.c: Likewise.
36365 * libio/oldiofclose.c: Likewise.
36366 * libio/oldiofdopen.c: Likewise.
36367 * libio/oldiofopen.c: Likewise.
36368 * libio/oldiopopen.c: Likewise.
36369 * libio/wfiledoalloc.c: Likewise.
36370 * libio/wgenops.c: Likewise.
36371 * locale/programs/xmalloc.c: Likewise.
36372 * misc/syslog.c: Likewise.
36373 * stdio-common/xbug.c: Likewise.
36374 * string/memchr.c: Likewise.
36375 * string/memcmp.c: Likewise.
36376 * string/memrchr.c: Likewise.
36377 * string/rawmemchr.c: Likewise.
36378 * sysdeps/posix/getcwd.c: Likewise.
36379 * time/strftime_l.c: Likewise.
36381 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36383 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36384 * config.make.in (config-cflags-sse2avx): Define.
36385 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36388 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36390 * scripts/config.guess: Update from upstream config git repository.
36391 * scripts/config.sub: Likewise.
36393 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36395 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36397 (R_TILEPRO_*, R_TILEGX_*): New macros.
36399 * scripts/firstversions.awk: Fix bug in version range handling.
36401 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36403 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36405 * include/sys/epoll.h: New file.
36406 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36409 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36411 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36412 Avoid unnecessary __WORDSIZE == 64 test.
36413 (fmaxf): Use VEX format if possible.
36418 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36419 * math/math_private.h: Remove libc_fegetround* and
36421 * sysdeps/i386/configure.in: Check for -msse2avx.
36422 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36423 also if SSE2AVX is defined.
36424 Remove libc_fegetround* and libc_fesetround*.
36425 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36426 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36427 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36429 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36430 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36431 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36432 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36433 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36435 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36437 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36439 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36441 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36443 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36446 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36448 * Makeconfig (libm): Define.
36449 * elf/Makefile: Add rules to build and run tst-relsort1.
36450 * elf/tst-relsort1.c: New file.
36451 * elf/tst-relsort1mod1.c: New file.
36452 * elf/tst-relsort1mod2.c: New file.
36454 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36456 * math/s_ldexp.c: Remove __STDC__ conditionals.
36457 * math/s_ldexpf.c: Likewise.
36458 * math/s_ldexpl.c: Likewise.
36459 * math/s_nextafter.c: Likewise.
36460 * math/s_nexttowardf.c: Likewise.
36461 * math/s_significand.c: Likewise.
36462 * math/s_significandf.c: Likewise.
36463 * math/s_significandl.c: Likewise.
36464 * math/w_jnl.c: Likewise.
36465 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36466 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36467 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36468 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36469 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36470 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36471 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36472 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36473 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36474 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36475 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36476 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36477 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36478 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36479 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36480 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36481 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36482 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36484 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36485 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36486 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36487 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36488 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36489 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36490 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36491 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36492 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36493 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36494 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36495 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36496 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36497 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36498 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36499 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36500 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36501 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36502 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36503 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36504 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36505 * sysdeps/ieee754/k_standard.c: Likewise.
36506 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36507 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36508 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36509 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36510 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36511 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36512 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36513 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36514 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36515 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36516 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36517 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36518 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36519 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36520 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36521 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36522 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36523 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36524 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36525 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36526 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36527 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36528 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36529 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36530 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36531 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36533 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36535 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36536 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36537 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36538 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36539 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36540 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36541 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36542 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36543 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36544 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36545 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36546 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36548 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36549 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36550 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36551 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36552 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36553 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36554 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36555 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36556 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36557 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36558 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36559 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36560 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36561 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36562 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36563 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36564 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36565 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36566 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36567 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36568 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36569 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36570 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36571 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36572 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36573 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36574 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36575 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36576 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36577 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36578 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36579 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36580 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36581 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36582 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36583 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36584 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36585 * sysdeps/ieee754/s_matherr.c: Likewise.
36586 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36587 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36588 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36589 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36591 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36593 * crypt/md5.h: Remove __STDC__ conditionals.
36594 * libio/libioP.h: Likewise.
36595 * locale/programs/config.h: Likewise.
36596 * sysdeps/generic/sysdep.h: Likewise.
36597 * sysdeps/i386/asm-syntax.h: Likewise.
36598 * sysdeps/s390/asm-syntax.h: Likewise.
36599 * sysdeps/unix/sysdep.h: Likewise.
36600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36603 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36605 * libio/libio.h: Remove __STDC__ conditionals.
36606 * malloc/obstack.h: Likewise.
36607 * math/complex.h: Likewise.
36608 * math/math.h: Likewise.
36609 * sysdeps/generic/_G_config.h: Likewise.
36610 * sysdeps/gnu/_G_config.h: Likewise.
36611 * sysdeps/mach/hurd/_G_config.h: Likewise.
36612 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36613 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36614 * sysdeps/sparc/bits/mathdef.h: Likewise.
36616 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36619 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36620 Clean up HAS_* macros.
36621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36622 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36624 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36626 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36627 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36628 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36629 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36630 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36632 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36634 * elf/tst-unique3.cc (gets): Remove declaration.
36635 * elf/tst-unique3lib.cc (gets): Likewise.
36636 * elf/tst-unique3lib2.cc (gets): Likewise.
36637 * elf/tst-unique4.cc (gets): Likewise.
36639 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36641 * include/stdio.h: Add C++ protection. Add gets declarations and
36643 * debug/tst-chk1.c: Don't declare gets here.
36644 * stdio-common/tst-gets.c: Likewise.
36646 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36648 * posix/glob: Remove directory.
36650 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36652 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36654 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36656 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36657 of the non-standard EPFNOSUPPORT.
36659 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36661 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36662 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36663 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36665 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36667 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36669 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36671 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36673 * nscd/grpcache.c (cache_addgr): Likewise.
36674 * nscd/hstcache.c (cache_addhst): Likewise.
36675 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36676 * nscd/pwdcache.c (cache_addpw): Likewise.
36677 * nscd/servicescache.c (cache_addserv): Likewise.
36679 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36681 * malloc/malloc.c: Various cleanups.
36682 * malloc/hooks.c: Likewise.
36684 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36685 * stdlib/bug-fmtmsg1.c: New file.
36687 * stdlib/fmtmsg.c (init): Add missing unlock.
36688 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36690 2012-01-12 Marek Polacek <polacek@redhat.com>
36692 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36695 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36697 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36698 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36699 macro to ensure uniqueness of label name.
36700 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36701 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36703 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36705 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36707 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36708 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36710 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36712 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36714 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36716 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36717 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36718 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36720 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36722 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36723 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36724 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36727 * math/bits/math-finite.h: Add ldexp support.
36729 2012-01-10 Marek Polacek <polacek@redhat.com>
36731 * locale/programs/localedef.h (show_archive_content): Add noreturn
36734 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36736 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36738 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36740 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36742 * io/Makefile (headers): Add bits/poll2.h.
36744 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36747 typo #include statement.
36749 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36751 * include/sys/cdefs.h: Define __attribute_alloc_size.
36752 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36753 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36754 * elf/pldd.c: Likewise.
36755 * iconv/iconv_charmap.c: Likewise.
36756 * iconv/iconvconfig.c: Likewise.
36757 * iconv/strtab.c: Likewise.
36758 * locale/programs/locale.c: Likewise.
36759 * locale/programs/localedef.h: Likewise.
36760 * locale/programs/simple-hash.c: Likewise.
36761 * nscd/nscd.h: Likewise.
36762 * nss/makedb.c: Likewise.
36763 * sysdeps/generic/ldconfig.h: Likewise.
36764 * locale/programs/localedef.c: Remove xmalloc prototype.
36765 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36767 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36769 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36772 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36774 * math/Makefile (tests): Add tst-CMPLX.
36775 * math/tst-CMPLX.c: New file.
36777 * math/complex.h (CMPLXL): Fix typo.
36779 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36780 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36782 * debug/tst-chk1.c: Add poll and ppoll tests.
36783 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36784 * include/sys/poll.h: Add hidden proto for ppoll.
36785 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36786 * sysdeps/mach/hurd/ppoll.c: Likewise.
36787 * io/ppoll.c: Likewise.
36788 * debug/poll_chk.c: New file.
36789 * debug/ppoll_chk.c: New file.
36790 * include/bits/poll2.h: New file.
36791 * io/bits/poll2.h: New file.
36794 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36796 * configure.in: static is always set to yes. Remove.
36797 * config.make.in: Don't set build-static.
36798 * Makeconfig: Remove use of build-static.
36799 * dlfcn/Makefile: Likewise.
36800 * elf/Makefile: Likewise.
36801 * math/Makefile: Likewise.
36802 * misc/Makefile: Likewise.
36803 * nptl/Makefile: Likewise.
36804 * sysdeps/mach/hurd/Makefile: Likewise.
36806 * configure.in: PWD_P is not used anymore.
36807 * config.make.in: Remove PWD_P entry.
36809 * configure.in: Remove last remnants of RANLIB.
36810 No need to check for signed size_t anymore.
36811 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36813 Remove __builtin_expect test because we require at least gcc 3.4.
36814 * aclocal.m4: Likewise.
36816 * wcsmbs/mbrtoc16.c: Implement using towc function.
36817 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36818 * wcsmbs/wcsmbsload.c: Likewise.
36819 * iconv/gconv_simple.c: Likewise.
36820 * iconv/gconv_int.h: Likewise.
36821 * iconv/gconv_builtin.h: Likewise.
36822 * iconv/iconv_prog.c: Remove CHAR16 handling.
36824 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36826 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36828 * configure.in: Remove --with-elf and --enable-bounded options.
36829 Dont set base_machine for ia64. More non-ELF conditions removed.
36830 Remove testing and setting of leading underscore information.
36831 * config.make.in (build-bounded): Set to no.
36832 * config.h.in: Remove NO_UNDERSCORES entry.
36833 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36835 * csu/start.c: Remove !NO_UNDERSCORE code.
36836 * locale/localeinfo.h: Likewise.
36837 * sysdeps/generic/machine-gmon.h: Likewise.
36838 * sysdeps/generic/sysdep.h: Likewise.
36839 * sysdeps/i386/sysdep.h: Likewise.
36840 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36841 * sysdeps/mach/sysdep.h: Likewise.
36842 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36843 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36844 * sysdeps/sh/sysdep.h: Likewise.
36845 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36846 * sysdeps/unix/i386/sysdep.S: Likewise.
36847 * sysdeps/unix/sparc/start.c: Likewise.
36848 * sysdeps/unix/sparc/sysdep.S: Likewise.
36849 * sysdeps/unix/sparc/sysdep.h: Likewise.
36850 * sysdeps/unix/start.c: Likewise.
36851 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36852 * sysdeps/x86_64/sysdep.h: Likewise.
36854 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36857 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36859 * argp/argp-fmtstream.h: Use const instead __const.
36860 * argp/argp.h: Likewise.
36861 * assert/assert.h: Likewise.
36862 * bits/fenv.h: Likewise.
36863 * bits/sched.h: Likewise.
36864 * bits/sigset.h: Likewise.
36865 * bits/sigthread.h: Likewise.
36866 * catgets/nl_types.h: Likewise.
36867 * conform/data/pthread.h-data: Likewise.
36868 * crypt/crypt-private.h: Likewise.
36869 * crypt/crypt.h: Likewise.
36870 * crypt/crypt_util.c: Likewise.
36871 * ctype/ctype.h: Likewise.
36872 * debug/execinfo.h: Likewise.
36873 * debug/mbsnrtowcs_chk.c: Likewise.
36874 * debug/mbsrtowcs_chk.c: Likewise.
36875 * debug/wcsnrtombs_chk.c: Likewise.
36876 * debug/wcsrtombs_chk.c: Likewise.
36877 * debug/wcstombs_chk.c: Likewise.
36878 * dirent/dirent.h: Likewise.
36879 * dlfcn/dlfcn.h: Likewise.
36880 * elf/neededtest4.c: Likewise.
36881 * grp/grp.h: Likewise.
36882 * gshadow/gshadow.h: Likewise.
36883 * iconv/gconv.h: Likewise.
36884 * iconv/gconv_int.h: Likewise.
36885 * iconv/gconv_simple.c: Likewise.
36886 * iconv/iconv.h: Likewise.
36887 * iconv/loop.c: Likewise.
36888 * iconv/skeleton.c: Likewise.
36889 * include/aio.h: Likewise.
36890 * include/aliases.h: Likewise.
36891 * include/argz.h: Likewise.
36892 * include/arpa/inet.h: Likewise.
36893 * include/assert.h: Likewise.
36894 * include/dirent.h: Likewise.
36895 * include/dlfcn.h: Likewise.
36896 * include/execinfo.h: Likewise.
36897 * include/fcntl.h: Likewise.
36898 * include/fenv.h: Likewise.
36899 * include/glob.h: Likewise.
36900 * include/grp.h: Likewise.
36901 * include/libintl.h: Likewise.
36902 * include/mntent.h: Likewise.
36903 * include/netdb.h: Likewise.
36904 * include/pwd.h: Likewise.
36905 * include/rpc/netdb.h: Likewise.
36906 * include/sched.h: Likewise.
36907 * include/search.h: Likewise.
36908 * include/shadow.h: Likewise.
36909 * include/signal.h: Likewise.
36910 * include/stdio.h: Likewise.
36911 * include/stdlib.h: Likewise.
36912 * include/string.h: Likewise.
36913 * include/sys/socket.h: Likewise.
36914 * include/sys/stat.h: Likewise.
36915 * include/sys/statfs.h: Likewise.
36916 * include/sys/statvfs.h: Likewise.
36917 * include/sys/syslog.h: Likewise.
36918 * include/sys/time.h: Likewise.
36919 * include/sys/uio.h: Likewise.
36920 * include/time.h: Likewise.
36921 * include/unistd.h: Likewise.
36922 * include/utmp.h: Likewise.
36923 * include/wchar.h: Likewise.
36924 * include/wctype.h: Likewise.
36925 * inet/aliases.h: Likewise.
36926 * inet/arpa/inet.h: Likewise.
36927 * inet/netinet/ether.h: Likewise.
36928 * inet/netinet/in.h: Likewise.
36929 * intl/libintl.h: Likewise.
36930 * io/bits/fcntl2.h: Likewise.
36931 * io/fcntl.h: Likewise.
36932 * io/ftw.h: Likewise.
36933 * io/sys/poll.h: Likewise.
36934 * io/sys/stat.h: Likewise.
36935 * io/sys/statfs.h: Likewise.
36936 * io/sys/statvfs.h: Likewise.
36937 * io/utime.h: Likewise.
36938 * libio/bits/stdio.h: Likewise.
36939 * libio/bits/stdio2.h: Likewise.
36940 * libio/libio.h: Likewise.
36941 * libio/libioP.h: Likewise.
36942 * libio/stdio.h: Likewise.
36943 * locale/lc-ctype.c: Likewise.
36944 * locale/locale.h: Likewise.
36945 * login/utmp.h: Likewise.
36946 * malloc/arena.c: Likewise.
36947 * malloc/malloc.c: Likewise.
36948 * malloc/malloc.h: Likewise.
36949 * malloc/mcheck.c: Likewise.
36950 * malloc/mtrace.c: Likewise.
36951 * math/bits/mathcalls.h: Likewise.
36952 * math/fenv.h: Likewise.
36953 * math/math_private.h: Likewise.
36954 * misc/bits/error.h: Likewise.
36955 * misc/bits/syslog.h: Likewise.
36956 * misc/err.h: Likewise.
36957 * misc/error.h: Likewise.
36958 * misc/fstab.h: Likewise.
36959 * misc/mntent.h: Likewise.
36960 * misc/regexp.h: Likewise.
36961 * misc/search.h: Likewise.
36962 * misc/sgtty.h: Likewise.
36963 * misc/sys/mman.h: Likewise.
36964 * misc/sys/syslog.h: Likewise.
36965 * misc/sys/uio.h: Likewise.
36966 * misc/sys/xattr.h: Likewise.
36967 * misc/ttyent.h: Likewise.
36968 * nis/rpcsvc/ypclnt.h: Likewise.
36969 * nss/nss.h: Likewise.
36970 * posix/bits/unistd.h: Likewise.
36971 * posix/fnmatch.h: Likewise.
36972 * posix/glob.h: Likewise.
36973 * posix/sched.h: Likewise.
36974 * posix/spawn.h: Likewise.
36975 * posix/sys/wait.h: Likewise.
36976 * posix/unistd.h: Likewise.
36977 * posix/wordexp.h: Likewise.
36978 * pwd/pwd.h: Likewise.
36979 * resolv/netdb.h: Likewise.
36980 * resource/sys/resource.h: Likewise.
36981 * rt/aio.h: Likewise.
36982 * rt/bits/mqueue2.h: Likewise.
36983 * rt/mqueue.h: Likewise.
36984 * shadow/shadow.h: Likewise.
36985 * signal/signal.h: Likewise.
36986 * socket/send.c: Likewise.
36987 * socket/sendto.c: Likewise.
36988 * socket/sys/socket.h: Likewise.
36989 * stdio-common/printf.h: Likewise.
36990 * stdlib/bits/stdlib.h: Likewise.
36991 * stdlib/fmtmsg.h: Likewise.
36992 * stdlib/monetary.h: Likewise.
36993 * stdlib/stdlib.h: Likewise.
36994 * stdlib/ucontext.h: Likewise.
36995 * streams/stropts.h: Likewise.
36996 * string/argz.h: Likewise.
36997 * string/bits/string2.h: Likewise.
36998 * string/string.h: Likewise.
36999 * string/strings.h: Likewise.
37000 * sunrpc/rpc/auth.h: Likewise.
37001 * sunrpc/rpc/auth_des.h: Likewise.
37002 * sunrpc/rpc/clnt.h: Likewise.
37003 * sunrpc/rpc/netdb.h: Likewise.
37004 * sunrpc/rpc/pmap_clnt.h: Likewise.
37005 * sunrpc/rpc/xdr.h: Likewise.
37006 * sysdeps/generic/inttypes.h: Likewise.
37007 * sysdeps/generic/net/if.h: Likewise.
37008 * sysdeps/generic/sys/swap.h: Likewise.
37009 * sysdeps/gnu/net/if.h: Likewise.
37010 * sysdeps/gnu/utmpx.h: Likewise.
37011 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37012 * sysdeps/i386/i486/bits/string.h: Likewise.
37013 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37014 * sysdeps/s390/bits/string.h: Likewise.
37015 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37016 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37017 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37018 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37019 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37020 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37021 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37022 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37023 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37024 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37025 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37026 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37027 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37028 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37029 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37030 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37031 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37033 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37034 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37035 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37036 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37037 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37038 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37039 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37040 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37041 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37042 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37043 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37044 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37045 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37046 * sysvipc/sys/ipc.h: Likewise.
37047 * sysvipc/sys/msg.h: Likewise.
37048 * sysvipc/sys/sem.h: Likewise.
37049 * sysvipc/sys/shm.h: Likewise.
37050 * termios/termios.h: Likewise.
37051 * time/sys/time.h: Likewise.
37052 * time/time.h: Likewise.
37053 * wcsmbs/bits/wchar2.h: Likewise.
37054 * wcsmbs/uchar.h: Likewise.
37055 * wcsmbs/wchar.h: Likewise.
37056 * wctype/wctype.h: Likewise.
37059 * Makeconfig: Remove all but ELF support including AIX support.
37060 * Makerules: Likewise.
37061 * config.h.in: Likewise.
37062 * config.make.in: Likewise.
37063 * configure: Likewise.
37064 * configure.in: Likewise.
37065 * csu/Makefile: Likewise.
37066 * csu/version.c: Likewise.
37067 * debug/Makefile: Likewise.
37068 * dlfcn/Makefile: Likewise.
37069 * elf/Makefile: Likewise.
37070 * extra-lib.mk: Likewise.
37071 * iconv/Makefile: Likewise.
37072 * include/libc-symbols.h: Likewise.
37073 * include/shlib-compat.h: Likewise.
37074 * resolv/Makefile: Likewise.
37075 * resolv/res_libc.c: Likewise.
37076 * rt/Makefile: Likewise.
37077 * sysdeps/i386/asm-syntax.h: Likewise.
37078 * sysdeps/i386/sysdep.h: Likewise.
37079 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37080 * sysdeps/mach/sysdep.h: Likewise.
37081 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37082 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37083 * sysdeps/s390/asm-syntax.h: Likewise.
37084 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37085 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37086 * sysdeps/sh/sysdep.h: Likewise.
37087 * sysdeps/unix/sparc/sysdep.h: Likewise.
37088 * sysdeps/wordsize-32/divdi3.c: Likewise.
37089 * sysdeps/x86_64/sysdep.h: Likewise.
37091 * argp/Versions: Remove _argp_unlock_xxx.
37094 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37095 * abilist/libBrokenLocale.abilist: Likewise.
37096 * abilist/libanl.abilist: Likewise.
37097 * abilist/libc.abilist: Likewise.
37098 * abilist/libcrypt.abilist: Likewise.
37099 * abilist/libdl.abilist: Likewise.
37100 * abilist/libm.abilist: Likewise.
37101 * abilist/libnsl.abilist: Likewise.
37102 * abilist/libpthread.abilist: Likewise.
37103 * abilist/libresolv.abilist: Likewise.
37104 * abilist/librt.abilist: Likewise.
37105 * abilist/libthread_db.abilist: Likewise.
37106 * abilist/libutil.abilist: Likewise.
37107 * abilist/libnss_db.abilist: New file.
37109 * scripts/abilist.awk: Add support for indirect functions.
37111 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37113 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37115 * shlib-versions: Remove entries for ports architectures.
37117 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37119 * elf/stackguard-macros.h: Remove support for IA-64.
37120 * elf/tst-auditmod1.c: Likewise.
37121 * sysdeps/generic/ldsodefs.h: Likewise.
37123 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37124 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37128 * configure.in: Remove --enable-omitfp support.
37130 * config.make.in: Likewise.
37131 * Makeconfig: Likewise.
37132 * manual/install.texi: Likewise.
37134 In case anyone cares, the IA-64 architecture could move to ports.
37135 * sysdeps/ia64/*: Removed.
37136 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37137 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37140 * configure.in: Remove entries for unsupported architectures.
37143 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37144 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37146 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37147 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37148 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37149 fall back to using wcrtomb.
37150 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37151 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37153 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37154 * wcsmbs/tst-c16c32-1.c: New file.
37156 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37159 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37161 * elf/tst-unique3.cc: Add explicit declaration of gets.
37162 * elf/tst-unique3lib.cc: Likewise.
37163 * elf/tst-unique3lib2.cc: Likewise.
37164 * elf/tst-unique4.cc: Likewise.
37166 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37168 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37171 * assert/assert.h (static_assert): Don't define for C++.
37172 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37173 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37175 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37177 * iconv/loop.c (single loop): Fix assertion in storing of
37180 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37182 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37184 * posix/getconf.c: Update copyright year.
37185 * nss/getent.c: Likewise.
37186 * nss/makedb.c: Likewise.
37187 * iconv/iconvconfig.c: Likewise.
37188 * iconv/iconv_prog.c: Likewise.
37189 * elf/ldconfig.c: Likewise.
37190 * elf/pldd.c: Likewise.
37191 * elf/sotruss.ksh: Likewise.
37192 * catgets/gencat.c: Likewise.
37193 * csu/version.c: Likewise.
37194 * elf/ldd.bash.in: Likewise.
37195 * elf/sprof.c (print_version): Likewise.
37196 * locale/programs/locale.c: Likewise.
37197 * locale/programs/localedef.c: Likewise.
37198 * login/programs/pt_chown.c: Likewise.
37199 * nscd/nscd.c (print_version): Likewise.
37200 * debug/xtrace.sh: Likewise.
37201 * malloc/memusage.sh: Likewise.
37202 * malloc/mtrace.pl: Likewise.
37203 * debug/catchsegv.sh: Likewise.
37205 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37207 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37210 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37213 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37214 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37216 * iconv/gconv_int.h: Likewise.
37217 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37218 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37219 from libc for GLIBC_2.16.
37220 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37221 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37222 * wcsmbs/uchar.h: Really define mbstate_t.
37223 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37224 * wcsmbs/c16rtomb.c: New file.
37225 * wcsmbs/mbrtoc16.c: New file.
37226 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37227 for C/POSIX locale.
37228 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37229 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37231 * wcsmbs/wchar.h: Add missing __restrict.
37233 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37236 * time/Makefile (routines): Add timespec_get.
37237 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37238 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37239 timespec for ISO C11.
37240 * time/timespec_get.c: New file.
37241 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37242 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37245 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37246 * stdlib/stdlib.h: Declare aligned_alloc.
37247 * Versions.def: Add GLIBC_2.16 for libc.
37248 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37251 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37254 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37258 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37261 * assert/assert.h (static_assert): Define.
37263 * version.h: Update for 2.16 development version.
37266 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37269 * version.h (RELEASE): Bump for 2.15 release.
37270 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37272 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37273 Patch by Marek Polacek <mpolacek@redhat.com>.
37275 * bits/byteswap.h: Protect long long constants with __extension__.
37276 * sysdeps/i386/bits/byteswap.h: Likewise.
37277 * sysdeps/ia64/bits/byteswap.h: Likewise.
37278 * sysdeps/s390/bits/byteswap.h: Likewise.
37279 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37281 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37284 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37285 destination buffer.
37286 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37288 2011-12-23 Marek Polacek <polacek@redhat.com>
37290 * elf/dl-addr.c (determine_info): Add inline keyword.
37291 * elf/tst-auditmod4b.c (check_avx): Likewise.
37292 * elf/tst-auditmod6b.c (check_avx): Likewise.
37293 * elf/tst-auditmod6c.c (check_avx): Likewise.
37294 * elf/tst-auditmod7b.c (check_avx): Likewise.
37296 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37298 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37301 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37304 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37305 processing for last bytes.
37307 2011-08-06 Bruno Haible <bruno@clisp.org>
37310 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37311 U+0385, not to U+1FEE.
37314 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37315 entry for U+00A5 U+0301.
37317 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37320 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37321 buffer for the output is too small.
37323 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37327 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37328 SSE flags if possible.
37330 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37333 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37334 processing for last bytes.
37336 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37338 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37339 (syscall-list-default-options, syscall-list-default-condition)
37340 (syscall-list-includes): Define.
37341 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37342 list of ABIs and options and #if conditions for each ABI. Do not
37343 handle common syscalls between ABIs specially.
37344 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37346 (syscall-list-variants, syscall-list-32bit-options)
37347 (syscall-list-32bit-condition, syscall-list-64bit-options)
37348 (syscall-list-64bit-condition): Define.
37349 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37350 (syscall-list-variants, syscall-list-32bit-options)
37351 (syscall-list-32bit-condition, syscall-list-64bit-options)
37352 (syscall-list-64bit-condition): Define.
37353 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37355 (syscall-list-variants, syscall-list-32bit-options)
37356 (syscall-list-32bit-condition, syscall-list-64bit-options)
37357 (syscall-list-64bit-condition): Define.
37358 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37360 (syscall-list-variants, syscall-list-32bit-options)
37361 (syscall-list-32bit-condition, syscall-list-64bit-options)
37362 (syscall-list-64bit-condition): Define.
37364 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37366 * locale/iso-639.def: Add brx entry.
37369 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37370 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37372 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37373 __feraiseexcept_renamed.
37375 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37378 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37379 EPOLLET with unsigned values.
37380 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37381 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37383 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37384 to large cancellation.
37385 * math/s_cacoshf.c: Likewise.
37386 * math/s_cacoshl.c: Likewise.
37388 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37392 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37393 * math/s_cacoshf.c: Likewise.
37394 * math/s_cacoshl.c: Likewise.
37396 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37399 * iconv/gconv.h: Define __GCONV_SWAP.
37400 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37401 * iconvdata/utf-16.c: Likewise.
37402 * iconvdata/utf-32.c: Likewise.
37404 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37407 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37408 numerator after shifting it by one limb.
37410 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37412 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37413 under [__USE_EXTERN_INLINES].
37415 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37418 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37420 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37422 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37423 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37425 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37426 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37427 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37428 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37429 for strncasecmp/strncasecmp_l compilation.
37430 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37431 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37433 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37436 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37439 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37442 * time/tzfile.c (__tzfile_read): Check values from file header.
37444 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37446 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37447 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37448 * powerpc/powerpc32/dl-start.S: Likewise.
37449 * powerpc/powerpc32/elf/start.S: Likewise.
37450 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37451 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37452 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37453 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37454 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37455 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37456 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37457 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37458 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37459 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37460 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37461 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37462 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37463 * powerpc/powerpc32/memset.S: Likewise.
37464 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37465 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37466 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37467 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37468 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37469 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37470 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37471 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37472 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37473 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37474 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37475 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37476 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37478 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37480 * math/libm-test.inc: Added more nearbyint tests.
37481 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37482 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37483 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37484 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37486 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37488 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37491 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37493 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37494 Add wcscpy-ssse3 wcscpy-c.
37495 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37496 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37497 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37498 * sysdeps/x86_64/wcschr.S: New file.
37499 * sysdeps/x86_64/wcsrchr.S: New file.
37500 * string/test-strcmp.c: Remove checking of wcscmp function for
37502 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37503 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37504 wcsrchr-sse2 wcsrchr-c.
37505 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37506 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37507 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37508 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37509 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37510 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37511 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37512 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37513 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37514 * wcsmbc/wcschr.c (WCSCHR): New macro.
37516 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37518 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37519 * wcsmbs/test-wcsrchr.c: New file.
37520 * string/test-strrchr.c: Add wcsrchr support.
37522 * wcsmbs/test-wcscpy.c: New file.
37523 * string/test-strcpy.c: Add wcscpy support.
37526 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37528 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37531 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37534 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37536 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37538 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37539 Minor optimizations.
37541 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37542 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37543 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37545 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37547 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37548 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37549 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37550 for gcc to avoid warnings.
37551 * inet/Makefile (tests): Add tst-checks.
37552 * inet/tst-checks.c: New file.
37554 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37557 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37560 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37561 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37563 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37565 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37567 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37570 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37572 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37574 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37575 conditional on GCC version.
37576 (__arch_compare_and_exchange_val_8_acq)
37577 (__arch_compare_and_exchange_val_16_acq)
37578 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37579 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37580 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37582 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37584 * sysdeps/sh/backtrace.c: New file.
37586 2011-12-02 Andreas Schwab <schwab@redhat.com>
37588 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37591 2011-12-01 Andreas Schwab <schwab@redhat.com>
37593 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37594 falling back to utime.
37596 2011-11-30 Andreas Schwab <schwab@redhat.com>
37598 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37599 expectations for float.
37601 2011-11-29 Andreas Schwab <schwab@redhat.com>
37603 * locale/weight.h (findidx): Add parameter len.
37604 * locale/weightwc.h (findidx): Likewise.
37605 * posix/fnmatch_loop.c (FCT): Adjust caller.
37606 * posix/regcomp.c (build_equiv_class): Likewise.
37607 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37608 * posix/regexec.c (check_node_accept_bytes): Likewise.
37609 * string/strcoll_l.c (STRCOLL): Likewise.
37610 * string/strxfrm_l.c (STRXFRM): Likewise.
37612 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37614 * Makefile.in: Remove CVSOPT handling.
37615 * configure.in: Remove use of AC_REVISION.
37616 * iconvdata/Makefile (distribute): No need to filter out CVS.
37617 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37620 2011-11-16 Andreas Schwab <schwab@redhat.com>
37622 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37623 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37624 [USE_AS_STRNCASECMP_L]: Likewise.
37625 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37626 NO_TLS_DIRECT_SEG_REFS.
37627 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37628 Fix argument offsets for non-PIC.
37629 [USE_AS_STRNCASECMP_L]: Likewise.
37630 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37631 NO_TLS_DIRECT_SEG_REFS.
37633 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37635 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37637 * locale/loadlocale.c (_nl_load_locale): Likewise.
37639 2011-11-15 Andreas Schwab <schwab@redhat.com>
37641 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37642 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37643 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37644 (SYSCALL_GETTIME): Set errno on error.
37646 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37647 count references to noai6ai_cached.
37649 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37651 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37653 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37654 FD_CLOEXEC for /proc/self/maps.
37656 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37657 FD_CLOEXEC for /proc/meminfo.
37659 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37662 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37663 FD_CLOEXEC for given file.
37665 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37667 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37668 FD_CLOEXEC for /etc/hosts.
37669 (_gethtent): Likewise.
37671 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37673 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37674 cancellation and set FD_CLOEXEC for /etc/netgroup.
37676 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37677 reading /etc/publickey.
37679 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37680 allow cancellation when reading /etc/group.
37682 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37684 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37686 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37687 when using data file.
37689 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37691 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37692 (write_nis_obj): Use "c" and "e" in fopen.
37694 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37696 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37698 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37700 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37702 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37705 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37707 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37709 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37711 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37712 file parsing and set FD_CLOEXEC.
37714 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37716 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37718 2011-11-14 Andreas Schwab <schwab@redhat.com>
37720 * malloc/arena.c (arena_get2): Don't call reused_arena when
37721 _int_new_arena failed.
37723 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37725 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37726 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37727 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37728 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37729 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37730 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37731 to compile strcasecmp and strncasecmp.
37732 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37733 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37737 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37739 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37740 locale-defines.sym to gen-as-const-headers.
37741 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37742 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37743 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37744 to compile strcasecmp and strncasecmp.
37745 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37746 strcasecmp_l and strncasecmp_l.
37747 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37748 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37749 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37750 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37751 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37752 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37753 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37754 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37755 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37756 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37757 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37759 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37761 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37762 result of SYSDEP_GETTIME_CPU to retval.
37763 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37764 parameter list to macro. Remove trailing semicolon. Adjust users.
37766 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37769 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37771 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37773 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37774 from unused variable.
37776 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37778 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37781 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37784 * sunrpc/rpc_prot.c (rejected): Fix case value.
37786 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37787 unsigned long long int to avoid warnings in shift.
37789 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37791 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37794 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37795 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37796 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37798 * nis/nis_table.c (nis_list): Use variable of correct type for
37799 result of __follow_path call.
37801 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37803 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37804 of math functions ceil, trunc, floor, round, and sqrt, when
37805 avaliable on the platform.
37806 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37808 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37809 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37810 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37812 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37814 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37815 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37817 2011-11-11 Roland McGrath <roland@hack.frob.com>
37819 * include/unistd.h: Fix __readlink return type.
37820 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37822 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37824 * stdlib/ucontext.h: Undo last change for makecontext.
37826 2011-11-11 Andreas Schwab <schwab@redhat.com>
37828 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37830 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37831 * setjmp/setjmp.h: Mark functions as non-leaf.
37832 * setjmp/bits/setjmp2.h: Likewise.
37833 * stdlib/ucontext.h: Likewise.
37835 2011-11-10 Andreas Schwab <schwab@redhat.com>
37837 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37838 (reused_arena): Don't check arena limit.
37839 (arena_get2): Atomically check arena limit.
37841 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37843 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37844 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37846 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37849 2011-11-07 Andreas Schwab <schwab@redhat.com>
37851 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37852 handler when locking.
37854 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37855 Fix size of allocated buffer.
37857 2011-11-04 Andreas Schwab <schwab@redhat.com>
37860 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37861 declarations for long double functions.
37862 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37864 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37866 2011-11-03 Andreas Schwab <schwab@redhat.com>
37868 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37871 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37874 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37876 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37878 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37880 * include/alloca.h (stackinfo_alloca_round): Define.
37881 (extend_alloca): Use it.
37882 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37883 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37886 * scripts/check-local-headers.sh: Ignore libaudit.h.
37888 * nscd/Makefile (extra-objs): Make recursively expanded.
37890 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37892 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37893 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37895 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37896 * posix/tst-rfc3484-2.c: Likewise.
37897 * posix/tst-rfc3484-3.c: Likewise.
37899 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37901 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37903 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37904 process_vm_writev from libc using GLIBC_2.15 version.
37906 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37908 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37910 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37913 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37916 * nss/getent.c (initgroups_keys): Show error message in case no group
37919 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37920 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37921 __bump_nl_timestamp.
37922 * nscd/connections (nscd_init): When host database is served open
37923 netlink socket and request notification about configuration changes.
37924 (main_loop_poll): Track netlink file descriptor and bump timestamp
37925 in case data becomes available.
37926 (main_loop_epoll): Likewise.
37927 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37928 (database_pers_head): Add extra_data fileds.
37929 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37930 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37931 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37933 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37934 in6ai data, call __free_in6ai.
37935 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37936 Add -DHAVE_NETLINK.
37937 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37938 interface information. Reuse previous data if netlink timestamp
37940 (__bump_nl_timestamp): New function.
37941 (__free_in6ai): New function.
37943 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37945 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37946 close_not_cancel_no_status here.
37947 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37949 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37952 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37955 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37956 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37957 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37959 2011-07-03 Andreas Jaeger <aj@suse.de>
37962 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37963 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37964 * math/libm-test.inc (sin_test): Add test case.
37966 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37969 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37970 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37972 * elf/chroot_canon.c (chroot_canon): Cleanups.
37974 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37977 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37978 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37980 * string/test-strchr.c: Make usable for strchrnul testing.
37981 * string/test-strchrnul.c: New file.
37982 * string/Makefile (strop-tests): Add strchrnul.
37984 * po/it.po: Update from translation team.
37985 * po/es.po: Likewise.
37987 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37989 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37990 the three constants needed as parameters. Drop the others.
37991 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37992 __m128i_strloadu_tolower.
37993 Create and initialize variable zero and use it in all the places
37994 where _mm_setzero_si128 was used.
37996 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37997 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37998 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37999 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38001 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38002 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38003 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38004 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38005 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38006 __mpranred, __mptan.
38007 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38008 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38009 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38010 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38011 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38012 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38013 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38014 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38015 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38017 2011-10-28 Andreas Schwab <schwab@redhat.com>
38019 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38020 redefine if SHARED.
38021 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38024 wide char related routines to wcsmbs subdir.
38026 2011-10-27 Andreas Schwab <schwab@redhat.com>
38029 * misc/sys/cdefs.h (__THROWNL): Define.
38030 * posix/unistd.h: Use __THREADNL instead of __THREAD
38031 for memory synchronization functions.
38033 2011-10-26 Roland McGrath <roland@hack.frob.com>
38036 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38038 * manual/stdio.texi (Obstack Streams): Node removed.
38040 2011-10-26 Andreas Schwab <schwab@redhat.com>
38042 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38043 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38044 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38046 * math/math_private.h (math_force_eval): Allow non-addressable
38048 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38050 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38052 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38053 file is not needed.
38055 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38056 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38057 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38058 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38059 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38060 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38061 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38062 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38064 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38065 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38066 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38067 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38068 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38069 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38070 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38071 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38072 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38073 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38074 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38075 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38076 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38077 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38078 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38079 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38080 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38081 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38082 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38084 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38085 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38087 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38088 place. Use VEX encoding when compiling for AVX.
38090 2011-10-25 Andreas Schwab <schwab@redhat.com>
38092 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38093 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38095 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38097 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38099 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38100 useless if() expression.
38101 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38102 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38103 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38104 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38105 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38106 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38107 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38108 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38109 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38110 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38111 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38112 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38113 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38114 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38115 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38116 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38117 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38119 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38121 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38123 2011-10-25 Andreas Schwab <schwab@redhat.com>
38125 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38127 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38129 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38131 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38132 .text section. Avoid duplicate constants.
38133 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38134 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38135 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38138 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38141 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38142 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38143 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38144 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38145 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38146 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38147 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38148 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38149 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38150 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38151 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38152 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38153 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38154 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38155 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38156 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38157 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38158 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38159 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38160 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38161 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38162 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38163 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38164 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38165 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38166 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38167 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38168 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38169 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38170 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38171 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38172 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38173 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38174 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38175 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38176 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38177 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38179 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38181 * sysdeps/x86_64/dla.h: Move to ...
38182 * sysdeps/x86_64/fpu/dla.h: ...here.
38183 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38184 situations. Use __builtin_fma only for gcc 4.6 and up.
38186 * config.make.in: Add have-mfma4 entry.
38187 * configure.in: Substitute libc_cv_cc_fma4.
38188 * math/Makefile (dbl-only-routines): Add sincostab.
38189 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38190 Use __sincostab not sincos.
38191 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38193 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38194 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38195 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38198 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38199 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38200 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38201 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38203 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38204 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38206 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38207 define aliases when function name is a macro.
38208 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38209 sysdeps/ieee754/dbl-64/sincos.tbl.
38210 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38211 fma4-enabled routines.
38212 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38213 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38214 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38215 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38216 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38217 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38218 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38219 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38220 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38221 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38222 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38223 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38224 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38225 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38226 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38227 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38228 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38229 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38230 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38231 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38232 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38233 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38234 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38235 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38237 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38238 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38239 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38240 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38241 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38243 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38245 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38247 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38249 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38250 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38251 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38252 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38254 2011-10-24 Andreas Schwab <schwab@redhat.com>
38256 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38258 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38260 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38262 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38264 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38266 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38267 Remove unused variable magic_bits.
38268 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38270 * string/strnlen.c: Define and use STRNLEN macro.
38271 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38272 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38273 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38274 * wcsmbs/wcslen.c: Define and use WCSLEN.
38275 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38276 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38277 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38278 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38279 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38280 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38281 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38283 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38286 strnlen-sse2-no-bsf.
38287 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38288 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38289 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38290 Add strnlen support.
38291 (USE_AS_STRNLEN): New macro.
38292 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38293 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38294 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38295 * sysdeps/x86_64/wcslen.S: New file.
38297 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38299 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38300 XMM-moves are used for copying on small sizes.
38302 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38304 * wcsmbs/Makefile (strop-tests): Add wcschr.
38305 * wcsmbs/test-wcschr.c: New file.
38306 * string/test-strchr.c: Update.
38307 Add wcschr support.
38310 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38312 * wcsmbs/Makefile (strop-tests): Add wcslen.
38313 * wcsmbs/test-wcslen.c: New file.
38314 * string/test-strlen.c: Update.
38315 Add wcslen support.
38318 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38320 * po/it.po: Update from translation team.
38322 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38324 * sysdeps/x86_64/wcscmp.S: Update.
38325 Fix wrong comparison semantics.
38326 wcscmp shall use signed comparison not unsigned.
38327 Don't use substraction to avoid overflow bug.
38328 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38329 * wcsmbc/wcscmp.c: Likewise.
38330 * string/test-strcmp.c: Likewise.
38331 Add new tests to check cases with negative values.
38333 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38335 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38336 * sysdeps/x86_64/dla.h: ...here. New file.
38337 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38339 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38340 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38342 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38345 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38347 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38350 __ynl_finite aliases.
38352 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38356 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38358 [DLA_FMA] (EMULV): Use DLA_FMA.
38359 [DLA_FMA] (MUL12): Use EMULV.
38360 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38361 that are not needed.
38362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38363 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38364 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38366 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38368 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38370 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38372 * math/s_nan.c: Undef __nan.
38373 * math/s_nanf.c: Undef __nanf.
38374 * math/s_nanl.c: Undef __nanl.
38375 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38378 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38380 * math/s_catan.c: Add branch predictions.
38381 * math/s_catanf.c: Likewise.
38382 * math/s_catanh.c: Likewise.
38383 * math/s_catanhf.c: Likewise.
38384 * math/s_catanhl.c: Likewise.
38385 * math/s_catanl.c: Likewise.
38386 * math/s_cexp.c: Likewise.
38387 * math/s_cexpf.c: Likewise.
38388 * math/s_cexpl.c: Likewise.
38389 * math/s_clog.c: Likewise.
38390 * math/s_clog10.c: Likewise.
38391 * math/s_clog10f.c: Likewise.
38392 * math/s_clog10l.c: Likewise.
38393 * math/s_clogf.c: Likewise.
38394 * math/s_clogl.c: Likewise.
38395 * math/s_csqrt.c: Likewise.
38396 * math/s_csqrtf.c: Likewise.
38397 * math/s_csqrtl.c: Likewise.
38398 * math/s_ctanf.c: Likewise.
38399 * math/s_ctanh.c: Likewise.
38400 * math/s_ctanhf.c: Likewise.
38401 * math/s_ctanhl.c: Likewise.
38402 * math/s_ctanl.c: Likewise.
38404 * math/math_private.h: Define __nan, __nanf, __nanl.
38405 * math/s_cacosh.c: Include <math_private.h>.
38406 * math/s_cacoshl.c: Likewise.
38407 * math/s_casinh.c: Likewise.
38408 * math/s_casinhf.c: Likewise.
38409 * math/s_casinhl.c: Likewise.
38410 * math/s_ccos.c: Rely entire on ccosh.
38411 * math/s_ccosf.c: Rely entire on ccoshf.
38412 * math/s_ccosl.c: Rely entirely on ccoshl.
38413 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38414 Remove tests for FE_INVALID.
38415 * math/s_ccoshf.c: Likewise.
38416 * math/s_ccoshl.c: Likewise.
38417 * math/s_csin.c: Likewise.
38418 * math/s_csinf.c: Likewise.
38419 * math/s_csinh.c Likewise.
38420 * math/s_csinhf.c: Likewise.
38421 * math/s_csinhl.c: Likewise.
38422 * math/s_csinl.c: Likewise.
38423 * math/s_ctan.c: Likewise.
38424 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38425 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38426 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38428 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38431 compilation problems.
38433 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38436 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38438 * sysdeps/i386/configure.in: Test for -mfma4 option.
38439 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38440 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38441 COMMON_CPUID_INDEX_80000001.
38442 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38443 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38444 use it if FMA3 is not supported.
38445 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38447 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38448 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38450 2011-10-20 Andreas Schwab <schwab@redhat.com>
38453 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38454 it would create a cycle with a link time dependency.
38456 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38458 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38460 * string/Makefile (strop-tests): Add rawmemchr.
38461 * string/test-rawmemchr.c: New file.
38463 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38464 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38465 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38466 when compiling str{,n}casecmp and when AVX is available. Hook up
38467 new optimized code in initializers.
38469 2011-10-19 Andreas Schwab <schwab@redhat.com>
38471 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38472 __feraiseexcept instead of feraiseexcept.
38474 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38476 * math/math_private.h: Define defaults for libc_fetestexcept and
38478 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38479 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38480 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38481 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38482 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38483 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38484 libc_fetestexcept and libc_feupdateenv.
38486 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38487 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38488 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38489 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38490 libc_feholdexcept_setround.
38492 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38493 Add s_nearbyint-c and s_nearbyintf-c.
38494 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38495 nearbyintf inlines.
38496 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38497 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38498 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38499 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38501 * math/math_private.h: Define defaults for libc_fegetround,
38502 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38503 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38504 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38505 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38506 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38507 standard functions.
38508 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38509 Remove comments and hacks for old compiler versions.
38510 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38511 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38512 libc_feholdexceptl.
38514 2011-10-18 Andreas Schwab <schwab@redhat.com>
38516 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38517 (__feraiseexcept_renamed): Add __NTH.
38518 (feraiseexcept): Add __NTH. Rename local variables to fix
38519 namespace violations.
38521 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38523 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38525 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38527 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38528 recently added interfaces.
38529 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38531 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38532 about macro parameter expansion.
38534 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38535 __NO_MATH_INLINES is defined. Cleanups.
38537 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38538 and __floorf is target has SSE4.1.
38539 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38540 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38541 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38542 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38544 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38546 (floorf): Likewise.
38548 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38550 2011-10-17 Andreas Schwab <schwab@redhat.com>
38552 * misc/sys/cdefs.h: Fix last change.
38554 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38557 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38559 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38561 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38562 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38563 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38564 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38565 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38566 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38567 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38568 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38569 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38570 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38571 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38572 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38573 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38574 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38575 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38576 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38577 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38578 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38579 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38580 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38581 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38582 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38584 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38585 ceil, ceilf, floor, floorf.
38587 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38588 Perform IRELATIVE relocations last.
38590 * elf/do-rel.h: Add another parameter nrelative, replacing the
38591 local variable with the same name. Change name of the function
38592 to end in Rel or Rela (uppercase).
38593 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38594 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38595 elf_dynamic_do_##reloc function.
38597 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38599 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38600 is sufficient, at least on modern CPUs.
38602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38604 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38605 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38607 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38609 * math/bits/math-finite.h: Add entries for exp.
38610 * math/e_expl.c: Add __*_finite alias.
38611 * sysdeps/i386/fpu/e_exp.S: Likewise.
38612 * sysdeps/i386/fpu/e_expf.S: Likewise.
38613 * sysdeps/i386/fpu/e_expl.c: Likewise.
38614 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38615 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38616 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38617 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38618 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38619 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38620 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38622 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38623 is sufficient, at least on modern CPUs.
38625 * ctype/ctype-info.c (__ctype_init): Define.
38626 * include/ctype.h (__ctype_init): Declare.
38627 (__ctype_b_loc): The variable is always initialized.
38628 (__ctype_toupper_loc): Likewise.
38629 (__ctype_tolower_loc): Likewise.
38630 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38631 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38633 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38635 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38637 * configure.in: Also look in $cxxmachine/include for C++ system
38640 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38642 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38643 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38644 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38645 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38646 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38647 (USE_AS_WMEMCMP): New macro.
38649 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38650 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38651 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38652 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38654 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38655 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38656 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38657 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38658 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38659 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38660 (USE_AS_WMEMCMP): New macro.
38661 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38662 * sysdeps/string/test-memcmp.c: Update.
38663 Fix simple_wmemcmp.
38665 * wcsmbs/wmemcmp.c: Update.
38666 (WMEMCMP): New macro.
38669 2011-10-12 Andreas Jaeger <aj@suse.de>
38672 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38674 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38676 * libio/iofwide.c (do_length): Avoid warning.
38678 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38680 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38682 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38684 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38685 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38686 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38687 * sysdeps/i386/i686/fpu/e_log.S: New file.
38688 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38689 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38691 * ctype/ctype.h: Add support for inlined isXXX functions when
38692 compiling C++ code.
38694 2011-10-14 Andreas Schwab <schwab@redhat.com>
38696 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38698 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38700 2011-10-13 Roland McGrath <roland@hack.frob.com>
38703 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38705 2011-10-13 Andreas Schwab <schwab@redhat.com>
38707 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38708 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38711 * sysdeps/x86_64/memrchr.S: Check for zero size.
38713 * string/stratcliff.c: Add memrchr tests.
38715 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38717 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38718 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38719 rawmemchr-sse2 rawmemchr-sse2-bsf.
38720 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38721 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38722 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38723 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38724 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38725 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38726 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38727 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38728 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38729 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38730 * string/memrchr.c (MEMRCHR): New macro.
38732 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38734 Add integration with gcc's -ffinite-math-only and optimize wrapper
38736 * Versions.def: Define GLIBC_2.15 version for libm.
38737 * math/Makefile (headers): Add bits/math-finite.h.
38738 * math/bits/math-finite.h: New file.
38739 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38740 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38741 * math/e_acoshl.c: Add __*_finite alias.
38742 * math/e_acosl.c: Likewise.
38743 * math/e_asinl.c: Likewise.
38744 * math/e_atan2l.c: Likewise.
38745 * math/e_atanhl.c: Likewise.
38746 * math/e_coshl.c: Likewise.
38747 * math/e_exp10.c: Likewise.
38748 * math/e_exp10f.c: Likewise.
38749 * math/e_exp10l.c: Likewise.
38750 * math/e_exp2l.c: Likewise.
38751 * math/e_fmodl.c: Likewise.
38752 * math/e_gammal_r.c: Likewise.
38753 * math/e_hypotl.c: Likewise.
38754 * math/e_j0l.c: Likewise.
38755 * math/e_j1l.c: Likewise.
38756 * math/e_jnl.c: Likewise.
38757 * math/e_lgammal_r.c: Likewise.
38758 * math/e_log10l.c: Likewise.
38759 * math/e_log2l.c: Likewise.
38760 * math/e_logl.c: Likewise.
38761 * math/e_powl.c: Likewise.
38762 * math/e_sinhl.c: Likewise.
38763 * math/e_sqrtl.c: Likewise.
38764 * math/e_scalb.c: Completely rewritten and optimized.
38765 * math/e_scalbf.c: Likewise.
38766 * math/e_scalbl.c: Likewise.
38767 * math/w_acos.c: Likewise.
38768 * math/w_acosf.c: Likewise.
38769 * math/w_acosl.c: Likewise.
38770 * math/w_acosh.c: Likewise.
38771 * math/w_acoshf.c: Likewise.
38772 * math/w_acoshl.c: Likewise.
38773 * math/w_asin.c: Likewise.
38774 * math/w_asinf.c: Likewise.
38775 * math/w_asinl.c: Likewise.
38776 * math/w_atan2.c: Likewise.
38777 * math/w_atan2f.c: Likewise.
38778 * math/w_atan2l.c: Likewise.
38779 * math/w_atanh.c: Likewise.
38780 * math/w_atanhf.c: Likewise.
38781 * math/w_atanhl.c: Likewise.
38782 * math/w_exp10.c: Likewise.
38783 * math/w_exp10f.c: Likewise.
38784 * math/w_exp10l.c: Likewise.
38785 * math/w_fmod.c: Likewise.
38786 * math/w_fmodf.c: Likewise.
38787 * math/w_fmodl.c: Likewise.
38788 * math/w_j0.c: Likewise.
38789 * math/w_j0f.c: Likewise.
38790 * math/w_j0l.c: Likewise.
38791 * math/w_j1.c: Likewise.
38792 * math/w_j1f.c: Likewise.
38793 * math/w_j1l.c: Likewise.
38794 * math/w_jn.c: Likewise.
38795 * math/w_jnf.c: Likewise.
38796 * math/w_log.c: Likewise.
38797 * math/w_logf.c: Likewise.
38798 * math/w_logl.c: Likewise.
38799 * math/w_log10.c: Likewise.
38800 * math/w_log10f.c: Likewise.
38801 * math/w_log10l.c: Likewise.
38802 * math/w_log2.c: Likewise.
38803 * math/w_log2f.c: Likewise.
38804 * math/w_log2l.c: Likewise.
38805 * math/w_pow.c: Likewise.
38806 * math/w_powf.c: Likewise.
38807 * math/w_powl.c: Likewise.
38808 * math/w_remainder.c: Likewise.
38809 * math/w_remainderf.c: Likewise.
38810 * math/w_remainderl.c: Likewise.
38811 * math/w_scalb.c: Likewise.
38812 * math/w_scalbf.c: Likewise.
38813 * math/w_scalbl.c: Likewise.
38814 * math/w_sqrt.c: Likewise.
38815 * math/w_sqrtf.c: Likewise.
38816 * math/w_sqrtl.c: Likewise.
38817 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38818 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38820 * math/math_private.h: Declare __kernel_standard_f.
38821 * math/w_cosh.c: Remove cruft and optimize a bit.
38822 * math/w_coshf.c: Likewise.
38823 * math/w_coshl.c: Likewise.
38824 * math/w_exp2.c: Likewise.
38825 * math/w_exp2f.c: Likewise.
38826 * math/w_exp2l.c: Likewise.
38827 * math/w_hypot.c: Likewise.
38828 * math/w_hypotf.c: Likewise.
38829 * math/w_hypotl.c: Likewise.
38830 * math/w_lgamma.c: Likewise.
38831 * math/w_lgamma_r.c: Likewise.
38832 * math/w_lgammaf.c: Likewise.
38833 * math/w_lgammaf_r.c: Likewise.
38834 * math/w_lgammal.c: Likewise.
38835 * math/w_lgammal_r.c: Likewise.
38836 * math/w_sinh.c: Likewise.
38837 * math/w_sinhf.c: Likewise.
38838 * math/w_sinhl.c: Likewise.
38839 * math/w_tgamma.c: Likewise.
38840 * math/w_tgammaf.c: Likewise.
38841 * math/w_tgammal.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38843 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38844 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38845 Minor optimizations. Pretty printing. Remove cruft.
38846 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38847 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38848 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38849 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38850 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38851 * sysdeps/i386/fpu/e_asin.S: Likewise.
38852 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38853 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38854 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38855 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38856 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38857 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38858 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38859 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38860 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38861 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38862 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38863 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38864 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38865 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38866 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38867 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38868 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38869 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38870 * sysdeps/i386/fpu/e_log.S: Likewise.
38871 * sysdeps/i386/fpu/e_log10.S: Likewise.
38872 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38873 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38874 * sysdeps/i386/fpu/e_log2.S: Likewise.
38875 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38876 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38877 * sysdeps/i386/fpu/e_logf.S: Likewise.
38878 * sysdeps/i386/fpu/e_logl.S: Likewise.
38879 * sysdeps/i386/fpu/e_pow.S: Likewise.
38880 * sysdeps/i386/fpu/e_powf.S: Likewise.
38881 * sysdeps/i386/fpu/e_powl.S: Likewise.
38882 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38883 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38884 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38885 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38886 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38887 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38888 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38889 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38890 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38891 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38892 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38893 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38894 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38895 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38896 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38897 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38898 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38899 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38900 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38901 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38902 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38904 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38905 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38907 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38908 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38909 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38911 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38912 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38913 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38914 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38915 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38916 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38917 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38918 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38919 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38920 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38921 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38922 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38923 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38924 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38925 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38926 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38927 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38928 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38929 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38930 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38931 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38932 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38933 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38935 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38936 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38937 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38938 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38939 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38940 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38941 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38943 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38945 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38946 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38947 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38948 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38949 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38951 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38952 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38953 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38954 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38955 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38956 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38957 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38958 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38959 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38960 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38961 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38962 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38963 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38964 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38965 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38966 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38967 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38968 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38969 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38970 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38971 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38972 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38973 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38974 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38975 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38976 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38977 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38978 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38979 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38980 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38981 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38982 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38983 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38984 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38985 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38986 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38987 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38988 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38989 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38990 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38991 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38992 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38993 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38994 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38995 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38996 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38997 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38999 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39000 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39001 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39002 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39003 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39004 (__isnanf): Likewise.
39005 (__isinf_ns): Likewise.
39006 (__isinf_nsf): Likewise.
39007 (__finite): Likewise.
39008 (__finitef): Likewise.
39009 (__ieee754_sqrt): Define as macro.
39010 (__ieee754_sqrtf): Define as macro.
39011 (__ieee754_sqrtl): Define as macro.
39012 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39014 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39015 __FINITE_MATH_ONLY__ consistent.
39016 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39018 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39020 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39023 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39025 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39027 * po/ja.po: Update from translation team.
39029 2011-10-08 Roland McGrath <roland@hack.frob.com>
39031 * locale/programs/locarchive.c (prepare_address_space): New function.
39032 (create_archive, enlarge_archive, open_archive): Use it.
39034 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39035 inside [SHARED], where it is used.
39037 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39039 * nss/getent.c (netgroup_keys): Remove unused variable.
39040 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39042 2011-10-08 Ulrich Drepper <drepper@gmail.com>
39044 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39045 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39047 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39048 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39049 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39050 * math/Makefile (libm-calls): Add s_isinf_ns.
39051 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39052 * math/multc3.c: Likewise.
39053 * math/s_casin.c: Likewise.
39054 * math/s_casinf.c: Likewise.
39055 * math/s_casinl.c: Likewise.
39056 * math/s_ccos.c: Likewise.
39057 * math/s_ccosf.c: Likewise.
39058 * math/s_ccosl.c: Likewise.
39059 * math/s_ctan.c: Likewise.
39060 * math/s_ctanf.c: Likewise.
39061 * math/s_ctanh.c: Likewise.
39062 * math/s_ctanhf.c: Likewise.
39063 * math/s_ctanhl.c: Likewise.
39064 * math/s_ctanl.c: Likewise.
39065 * math/w_fmod.c: Likewise.
39066 * math/w_fmodf.c: Likewise.
39067 * math/w_fmodl.c: Likewise.
39068 * math/w_remainder.c: Likewise.
39069 * math/w_remainderf.c: Likewise.
39070 * math/w_remainderl.c: Likewise.
39071 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39072 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39073 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39075 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39076 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39077 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39078 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39080 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39082 * stdio-common/printf_fphex.c: Likewise.
39083 * stdio-common/printf_size.c: Likewise.
39085 * math/e_exp10.c: Include math_private.h using <...> not "...".
39086 * math/e_exp10f.c: Likewise.
39087 * math/e_exp10l.c: Likewise.
39088 * math/e_exp2l.c: Likewise.
39089 * math/e_j0l.c: Likewise.
39090 * math/e_j1l.c: Likewise.
39091 * math/e_jnl.c: Likewise.
39092 * math/e_lgammal_r.c: Likewise.
39093 * math/e_rem_pio2l.c: Likewise.
39094 * math/e_scalb.c: Likewise.
39095 * math/e_scalbf.c: Likewise.
39096 * math/e_scalbl.c: Likewise.
39097 * math/k_cosl.c: Likewise.
39098 * math/k_sinl.c: Likewise.
39099 * math/k_tanl.c: Likewise.
39100 * math/s_cacoshf.c: Likewise.
39101 * math/s_catan.c: Likewise.
39102 * math/s_catanf.c: Likewise.
39103 * math/s_catanh.c: Likewise.
39104 * math/s_catanhf.c: Likewise.
39105 * math/s_catanhl.c: Likewise.
39106 * math/s_catanl.c: Likewise.
39107 * math/s_ccosh.c: Likewise.
39108 * math/s_ccoshf.c: Likewise.
39109 * math/s_ccoshl.c: Likewise.
39110 * math/s_cexp.c: Likewise.
39111 * math/s_cexpf.c: Likewise.
39112 * math/s_cexpl.c: Likewise.
39113 * math/s_clog.c: Likewise.
39114 * math/s_clog10.c: Likewise.
39115 * math/s_clog10f.c: Likewise.
39116 * math/s_clog10l.c: Likewise.
39117 * math/s_clogf.c: Likewise.
39118 * math/s_clogl.c: Likewise.
39119 * math/s_csin.c: Likewise.
39120 * math/s_csinf.c: Likewise.
39121 * math/s_csinh.c: Likewise.
39122 * math/s_csinhf.c: Likewise.
39123 * math/s_csinhl.c: Likewise.
39124 * math/s_csinl.c: Likewise.
39125 * math/s_csqrt.c: Likewise.
39126 * math/s_csqrtf.c: Likewise.
39127 * math/s_csqrtl.c: Likewise.
39128 * math/s_ctan.c: Likewise.
39129 * math/s_ctanf.c: Likewise.
39130 * math/s_ctanh.c: Likewise.
39131 * math/s_ctanhf.c: Likewise.
39132 * math/s_ctanhl.c: Likewise.
39133 * math/s_ctanl.c: Likewise.
39134 * math/s_ldexp.c: Likewise.
39135 * math/s_ldexpf.c: Likewise.
39136 * math/s_ldexpl.c: Likewise.
39137 * math/s_significand.c: Likewise.
39138 * math/s_significandf.c: Likewise.
39139 * math/s_significandl.c: Likewise.
39140 * math/w_acos.c: Likewise.
39141 * math/w_acosf.c: Likewise.
39142 * math/w_acosh.c: Likewise.
39143 * math/w_acoshf.c: Likewise.
39144 * math/w_acoshl.c: Likewise.
39145 * math/w_acosl.c: Likewise.
39146 * math/w_asin.c: Likewise.
39147 * math/w_asinf.c: Likewise.
39148 * math/w_asinl.c: Likewise.
39149 * math/w_atan2.c: Likewise.
39150 * math/w_atan2f.c: Likewise.
39151 * math/w_atan2l.c: Likewise.
39152 * math/w_atanh.c: Likewise.
39153 * math/w_atanhf.c: Likewise.
39154 * math/w_atanhl.c: Likewise.
39155 * math/w_cosh.c: Likewise.
39156 * math/w_coshf.c: Likewise.
39157 * math/w_coshl.c: Likewise.
39158 * math/w_dremf.c: Likewise.
39159 * math/w_exp10.c: Likewise.
39160 * math/w_exp10f.c: Likewise.
39161 * math/w_exp10l.c: Likewise.
39162 * math/w_exp2.c: Likewise.
39163 * math/w_exp2f.c: Likewise.
39164 * math/w_fmod.c: Likewise.
39165 * math/w_fmodf.c: Likewise.
39166 * math/w_fmodl.c: Likewise.
39167 * math/w_hypot.c: Likewise.
39168 * math/w_hypotf.c: Likewise.
39169 * math/w_hypotl.c: Likewise.
39170 * math/w_j0.c: Likewise.
39171 * math/w_j0f.c: Likewise.
39172 * math/w_j0l.c: Likewise.
39173 * math/w_j1.c: Likewise.
39174 * math/w_j1f.c: Likewise.
39175 * math/w_j1l.c: Likewise.
39176 * math/w_jn.c: Likewise.
39177 * math/w_jnf.c: Likewise.
39178 * math/w_jnl.c: Likewise.
39179 * math/w_lgamma.c: Likewise.
39180 * math/w_lgamma_r.c: Likewise.
39181 * math/w_lgammaf.c: Likewise.
39182 * math/w_lgammaf_r.c: Likewise.
39183 * math/w_lgammal.c: Likewise.
39184 * math/w_lgammal_r.c: Likewise.
39185 * math/w_log.c: Likewise.
39186 * math/w_log10.c: Likewise.
39187 * math/w_log10f.c: Likewise.
39188 * math/w_log10l.c: Likewise.
39189 * math/w_log2.c: Likewise.
39190 * math/w_log2f.c: Likewise.
39191 * math/w_log2l.c: Likewise.
39192 * math/w_logf.c: Likewise.
39193 * math/w_logl.c: Likewise.
39194 * math/w_pow.c: Likewise.
39195 * math/w_powf.c: Likewise.
39196 * math/w_powl.c: Likewise.
39197 * math/w_remainder.c: Likewise.
39198 * math/w_remainderf.c: Likewise.
39199 * math/w_remainderl.c: Likewise.
39200 * math/w_scalb.c: Likewise.
39201 * math/w_scalbf.c: Likewise.
39202 * math/w_scalbl.c: Likewise.
39203 * math/w_sinh.c: Likewise.
39204 * math/w_sinhf.c: Likewise.
39205 * math/w_sinhl.c: Likewise.
39206 * math/w_sqrt.c: Likewise.
39207 * math/w_sqrtf.c: Likewise.
39208 * math/w_sqrtl.c: Likewise.
39209 * math/w_tgamma.c: Likewise.
39210 * math/w_tgammaf.c: Likewise.
39211 * math/w_tgammal.c: Likewise.
39213 * po/ja.po: Update from translation team.
39215 2011-09-29 Andreas Jaeger <aj@suse.de>
39218 * sunrpc/netname.c (netname2host): Fix logic.
39222 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39224 * math/w_remainder.c (__remainder): Likewise.
39225 * math/w_remainderf.c (__remainderf): Likewise.
39226 * math/libm-test.inc (remainder_test): Add test cases.
39228 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39230 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39233 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39235 * string/test-memcmp.c: Avoid unncessary #defines.
39236 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39238 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39240 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39241 Use new sse2 version for core i3 - i7 as it's faster
39242 than sse42 version.
39243 (bit_Prefer_PMINUB_for_stringop): New.
39244 * sysdeps/x86_64/rawmemchr.S: Update.
39245 Replace with faster SSE2 version.
39246 * sysdeps/x86_64/memrchr.S: New file.
39247 * sysdeps/x86_64/memchr.S: Update.
39248 Replace with faster SSE2 version.
39250 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39252 * elf/dl-load.c (lose): Add cast to avoid warning.
39254 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39256 * po/ca.po: Update from translation team.
39258 * inet/getnetgrent_r.c: Hook up nscd.
39259 * nscd/Makefile (routines): Add nscd_netgroup.
39260 (nscd-modules): Add netgroupcache.
39261 (CFLAGS-netgroupcache.c): Define.
39262 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39263 (cache_search): Add const to second parameter.
39264 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39266 (dbs): Add netgrdb entry.
39267 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39268 (verify_persistent_db): Handle netgrdb.
39269 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39270 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39272 (netgroup_response_header): Define.
39273 (innetgroup_response_header): Define.
39274 (datahead): Add netgroup_response_header and innetgroup_response_header
39276 * nscd/nscd.conf: Add entries for netgroup cache.
39277 * nscd/nscd.h (dbtype): Add netgrdb.
39278 (_PATH_NSCD_NETGROUP_DB): Define.
39279 (netgroup_iov_disabled): Declare.
39280 (xmalloc, xcalloc, xrealloc): Move declarations here.
39281 (cache_search): Adjust prototype.
39282 Add netgroup-related prototypes.
39283 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39284 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39285 (__nscd_innetgr): Declare.
39286 * nscd/selinux.c (perms): Use access_vector_t as element type and
39287 add netgroup-related initializers.
39288 * nscd/netgroupcache.c: New file.
39289 * nscd/nscd_netgroup.c: New file.
39290 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39291 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39292 For four parameters use innetgr.
39293 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39294 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39295 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39296 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39298 * nscd/connections.c (register_traced_file): Don't register file
39299 for disabled databases.
39301 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39303 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39305 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39306 from tree and freeing node.
39308 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39310 * nss/nsswitch.c (__nss_database_lookup): Handle
39311 nss_parse_service_list out of memory case.
39313 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39315 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39316 out of memory case.
39318 2011-10-04 Andreas Schwab <schwab@redhat.com>
39320 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39321 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39323 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39324 elf_machine_rela, elf_machine_lazy_rel.
39325 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39326 (ELF_DYNAMIC_DO_REL): Likewise.
39327 (ELF_DYNAMIC_DO_RELA): Likewise.
39328 (ELF_DYNAMIC_RELOCATE): Likewise.
39329 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39330 to ELF_DYNAMIC_DO_REL.
39331 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39332 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39333 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39335 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39336 skip_ifunc, don't call ifunc function if non-zero.
39337 (elf_machine_rela): Likewise.
39338 (elf_machine_lazy_rel): Likewise.
39339 (elf_machine_lazy_rela): Likewise.
39340 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39341 (elf_machine_lazy_rel): Likewise.
39342 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39344 (elf_machine_lazy_rel): Likewise.
39345 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39347 (elf_machine_lazy_rel): Likewise.
39348 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39349 (elf_machine_lazy_rel): Likewise.
39350 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39351 (elf_machine_lazy_rel): Likewise.
39352 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39353 (elf_machine_lazy_rel): Likewise.
39354 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39355 (elf_machine_lazy_rel): Likewise.
39356 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39357 (elf_machine_lazy_rel): Likewise.
39358 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39359 (elf_machine_lazy_rel): Likewise.
39361 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39363 * nss/nss_files/files-init.c (_nss_files_init): Use static
39364 initialization for all the *_traced_file variables.
39366 2011-09-28 Andreas Schwab <schwab@redhat.com>
39368 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39370 2011-09-27 Roland McGrath <roland@hack.frob.com>
39373 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39375 2011-09-27 Andreas Schwab <schwab@redhat.com>
39377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39378 Reread the line before reparsing it.
39380 2011-09-26 Andreas Schwab <schwab@redhat.com>
39382 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39384 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39385 Maxim Kuvyrkov <maxim@codesourcery.com>
39386 Joseph Myers <joseph@codesourcery.com>
39388 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39389 if needed for __stack_chk_guard.
39391 2011-09-19 Roland McGrath <roland@hack.frob.com>
39393 * sysdeps/posix/spawni.c (script_execute): Always define it.
39394 It will be optimized away if unused.
39395 (maybe_script_execute): New function.
39396 (__spawni): Call it.
39398 * Makerules: Don't include tls.make.
39399 (config-tls): Always set to thread.
39400 * tls.make.c: File removed.
39402 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39404 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39405 * config.make.in (CPPFLAGS-config): New substituted variable.
39407 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39409 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39412 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39413 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39415 2011-09-15 Roland McGrath <roland@hack.frob.com>
39417 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39418 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39419 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39420 (CALL_FAIL): Likewise.
39421 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39422 (CALL_FAIL): Macro removed.
39423 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39425 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39427 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39428 for __FINITE_MATH_ONLY__ == 1.
39430 2011-09-15 Andreas Schwab <schwab@redhat.com>
39432 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39433 __ieee754_sqrt instead of sqrt.
39434 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39435 __ieee754_sqrtf instead of sqrtf.
39436 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39437 __floorf instead of floorf.
39438 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39439 __floorf, __truncf instead of floorf, truncf.
39441 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39443 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39445 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39446 __extern_always_inline.
39447 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39450 2011-09-14 Andreas Schwab <schwab@redhat.com>
39452 * elf/rtld.c (dl_main): Also relocate in dependency order when
39453 doing symbol dependency testing.
39455 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39458 Always define `refsym'.
39460 2011-09-13 Andreas Schwab <schwab@redhat.com>
39462 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39463 (__FD_ELT): Renamed from __FDELT.
39464 * misc/bits/select2.h (__FD_ELT): Likewise.
39465 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39466 __FD_MASK instead of __FDELT, __FDMASK.
39467 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39469 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39472 * elf/Makefile (gen-ldd): Fix pattern.
39474 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39475 (init_tls): Likewise.
39477 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39479 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39481 2011-09-12 Andreas Schwab <schwab@redhat.com>
39483 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39484 `struct cmsghdr *' instead of `void *'.
39485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39488 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39490 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39492 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39493 ldd_rewrite_script.
39495 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39497 * configure.in: Remove --with-tls option.
39498 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39499 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39500 out in case it is missing.
39501 * sysdeps/ia64/elf/configure.in: Likewise.
39502 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39503 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39504 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39505 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39506 * sysdeps/sh/elf/configure.in: Likewise.
39507 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39508 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39509 * sysdeps/x86_64/elf/configure.in: Likewise.
39510 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39511 * sysdeps/mach/hurd/tls.h: Likewise.
39514 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39517 * configure.in: Fix use of AC_INIT.
39519 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39521 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39523 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39525 * malloc/hooks.c: Likewise.
39528 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39529 variables statically.
39530 (narenas): Initialize.
39531 (list_lock): Initialize.
39532 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39533 initializtion of main_arena and list_lock. Small cleanups.
39534 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39535 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39536 Add initializers to main_arena and mp_.
39537 (malloc_state): Remove pagesize member. Change all users to use
39540 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39541 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39542 is always initialized.
39544 * malloc/malloc.c: Removed unused configurations and dead code.
39545 * malloc/arena.c: Likewise.
39546 * malloc/hooks.c: Likewise.
39547 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39549 * include/tls.h: Removed. USE___THREAD must always be defined.
39550 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39551 * elf/dl-libc.c: Likewise.
39552 * elf/dl-tsd.c: Likewise.
39553 * include/errno.h: Likewise.
39554 * include/netdb.h: Likewise.
39555 * include/resolv.h: Likewise.
39556 * inet/herrno-loc.c: Likewise.
39557 * inet/herrno.c: Likewise.
39558 * malloc/arena.c: Likewise.
39559 * malloc/hooks.c: Likewise.
39560 * malloc/malloc.c: Likewise.
39561 * resolv/res-state.c: Likewise.
39562 * resolv/res_libc.c: Likewise.
39563 * sysdeps/i386/dl-machine.h: Likewise.
39564 * sysdeps/ia64/dl-machine.h: Likewise.
39565 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39566 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39567 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39568 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39569 * sysdeps/sh/dl-machine.h: Likewise.
39570 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39571 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39572 * sysdeps/unix/i386/sysdep.S: Likewise.
39573 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39574 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39575 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39576 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39578 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39579 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39580 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39581 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39583 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39584 * sysdeps/x86_64/dl-machine.h: Likewise.
39585 * tls.make.c: Likewise.
39587 * configure.in: Remove --with-__thread option. Make tests for
39588 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39589 tls_model attribute fail if no support is available. Remove
39591 * Makeconfig: Adjust for dropped configure option. All features are
39593 * Makerules: Likewise.
39594 * Versions.def: Likewise.
39595 * argp/argp-fmtstream.c: Likewise.
39596 * argp/argp-fmtstream.h: Likewise.
39597 * argp/argp-help.c: Likewise.
39598 * assert/assert.c: Likewise.
39599 * config.h.in: Likewise.
39600 * config.make.in: Likewise.
39601 * configure: Likewise.
39602 * configure.in: Likewise.
39603 * csu/Versions: Likewise.
39604 * csu/init.c: Likewise.
39605 * elf/tst-audit2.c: Likewise.
39606 * elf/tst-tls10.c: Likewise.
39607 * elf/tst-tls10.h: Likewise.
39608 * elf/tst-tls11.c: Likewise.
39609 * elf/tst-tls12.c: Likewise.
39610 * elf/tst-tls14.c: Likewise.
39611 * elf/tst-tlsmod11.c: Likewise.
39612 * elf/tst-tlsmod12.c: Likewise.
39613 * elf/tst-tlsmod13.c: Likewise.
39614 * elf/tst-tlsmod13a.c: Likewise.
39615 * elf/tst-tlsmod14a.c: Likewise.
39616 * elf/tst-tlsmod15b.c: Likewise.
39617 * elf/tst-tlsmod16a.c: Likewise.
39618 * elf/tst-tlsmod16b.c: Likewise.
39619 * elf/tst-tlsmod7.c: Likewise.
39620 * elf/tst-tlsmod8.c: Likewise.
39621 * elf/tst-tlsmod9.c: Likewise.
39622 * gmon/gmon.c: Likewise.
39623 * grp/fgetgrent_r.c: Likewise.
39624 * grp/putgrent.c: Likewise.
39625 * hurd/fopenport.c: Likewise.
39626 * include/libc-symbols.h: Likewise.
39627 * include/tls.h: Likewise.
39628 * intl/gettextP.h: Likewise.
39629 * intl/loadinfo.h: Likewise.
39630 * locale/global-locale.c: Likewise.
39631 * locale/localeinfo.h: Likewise.
39632 * mach/devstream.c: Likewise.
39633 * malloc/arena.c: Likewise.
39634 * malloc/set-freeres.c: Likewise.
39635 * misc/err.c: Likewise.
39636 * misc/getttyent.c: Likewise.
39637 * misc/mntent_r.c: Likewise.
39638 * posix/getopt.c: Likewise.
39639 * posix/wordexp.c: Likewise.
39640 * pwd/fgetpwent_r.c: Likewise.
39641 * resolv/Versions: Likewise.
39642 * resolv/res_hconf.c: Likewise.
39643 * shadow/fgetspent_r.c: Likewise.
39644 * shadow/putspent.c: Likewise.
39645 * stdio-common/printf_fphex.c: Likewise.
39646 * stdio-common/tmpfile.c: Likewise.
39647 * stdlib/abort.c: Likewise.
39648 * stdlib/fmtmsg.c: Likewise.
39649 * sunrpc/auth_unix.c: Likewise.
39650 * sunrpc/clnt_perr.c: Likewise.
39651 * sunrpc/clnt_tcp.c: Likewise.
39652 * sunrpc/clnt_udp.c: Likewise.
39653 * sunrpc/clnt_unix.c: Likewise.
39654 * sunrpc/openchild.c: Likewise.
39655 * sunrpc/svc_simple.c: Likewise.
39656 * sunrpc/svc_tcp.c: Likewise.
39657 * sunrpc/svc_udp.c: Likewise.
39658 * sunrpc/svc_unix.c: Likewise.
39659 * sunrpc/xdr.c: Likewise.
39660 * sunrpc/xdr_array.c: Likewise.
39661 * sunrpc/xdr_rec.c: Likewise.
39662 * sunrpc/xdr_ref.c: Likewise.
39663 * sunrpc/xdr_stdio.c: Likewise.
39665 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39667 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39669 2011-07-03 Andreas Jaeger <aj@suse.de>
39671 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39672 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39673 regenerate with gen-libm-tests.pl.
39675 2010-05-12 Petr Baudis <pasky@suse.cz>
39678 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39679 around j0() zero points by switching to j1().
39680 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39681 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39682 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39683 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39685 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39687 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39689 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39692 Patch in part by Pavel Roskin <proski@gnu.org>.
39695 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39697 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39698 Free memory block if necessary.
39701 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39702 be NULL. Don't lock in this case.
39704 2011-09-09 Roland McGrath <roland@hack.frob.com>
39706 * elf/elf.h (ELFOSABI_GNU): New macro.
39707 (ELFOSABI_LINUX): Define to that.
39709 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39711 * string/strncat.c (strncat): Undef the symbol in case it has been
39712 defined in bits/string.h.
39714 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39716 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39718 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39721 2011-08-17 Andreas Jaeger <aj@suse.de>
39723 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39725 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39726 Ian Lance Taylor <iant@google.com>
39728 * math/libm-test.inc (lround_test): New testcase.
39729 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39731 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39733 * Makefile: Remove support for automatic cvs check-ins.
39734 * Makerules: Likewise.
39735 * config.make.in: Likewise.
39736 * configure.in: Likewise.
39737 * intl/Makefile: Likewise.
39738 * locale/Makefile: Likewise.
39739 * po/Makefile: Likewise.
39740 * posix/Makefile: Likewise.
39741 * sysdeps/gnu/Makefile: Likewise.
39742 * sysdeps/mach/hurd/Makefile: Likewise.
39743 * sysdeps/sparc/sparc32/Makefile: Likewise.
39746 * posix/Makefile (bug-regex32-ENV): Define.
39747 Patch by John Stanley <jpsinthemix@verizon.net>.
39749 * misc/Makefile (headers): Add bits/select2.h.
39750 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39751 * misc/bits/select2.h: New file.
39752 * include/bits/select2.h: New file.
39753 * debug/Makefile (routines): Add fdelt_chk.
39754 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39755 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39757 * debug/fdelt_chk.c: New file.
39759 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39760 * wcsmbs/test-wmemcmp.c: Likewise.
39761 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39762 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39764 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39766 * string/Makefile (strop-tests): Add memcmp.
39767 * string/test-wmemcmp.c: New file.
39768 * string/test-memcmp.c: Add wmemcmp support.
39770 2011-09-08 Roland McGrath <roland@hack.frob.com>
39773 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39776 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39777 garbage value in a __mach_port_mod_refs call in the cases of the
39778 task-self and thread-self ports.
39780 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39782 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39784 2011-09-08 Andreas Schwab <schwab@redhat.com>
39786 * elf/dl-load.c (lose): Check for non-null L.
39788 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39790 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39792 * elf/dl-libc.c (dlerror_run): Pass back error code from
39796 * elf/dl-load.c (lose): Free l_origin if it is valid.
39798 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39800 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39801 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39802 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39803 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39804 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39805 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39807 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39809 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39810 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39811 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39812 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39813 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39814 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39815 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39816 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39817 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39818 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39820 2011-08-15 Alan Modra <amodra@gmail.com>
39823 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39824 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39825 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39826 ppc_mcount to static-only-routines.
39827 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39829 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39830 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39832 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39834 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39835 for finite and infinity parameters.
39837 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39839 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39840 and add nop instructions for throughput optimization.
39841 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39843 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39845 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39846 aligned copy for power7 with vector-scalar instructions.
39847 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39849 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39851 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39854 2011-09-07 Andreas Schwab <schwab@redhat.com>
39857 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39860 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39862 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39863 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39864 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39865 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39868 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39870 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39871 Forgot to demangle the pointer.
39873 * sysdeps/i386/sysdep.h: Define atom_text_section.
39874 * sysdeps/x86_64/sysdep.h: Likewise.
39875 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39876 section with atom_text_section.
39877 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39878 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39879 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39880 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39881 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39883 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39884 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39885 already be defined. Change to take two parameters and don't assign
39886 result to variable. Adjust all users.
39887 Define INTERNAL_GETTIME if not already defined.
39888 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39891 HAVE_CLOCK_GETTIME_VSYSCALL.
39892 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39894 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39895 gettimeofday vsyscall, just use time.
39897 2011-09-06 Andreas Schwab <schwab@redhat.com>
39899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39902 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39904 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39906 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39908 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39909 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39910 syscall if possible.
39912 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39914 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39915 e_ident. Don't pass to find_mapsXX.
39916 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39918 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39921 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39922 * sysdeps/x86_64/multiarch/strchr.S: Update.
39923 Check bit_slow_BSF bit.
39924 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39925 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39926 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39928 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39931 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39933 (tryshell): Define.
39934 (__spawni): Change last parameter to be flag. Test
39935 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39936 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39937 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39938 * posix/spawni.c: Likewise.
39939 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39940 * posix/spawnp.c: Likewise. Change normal version to use
39941 SPAWN_XFLAGS_USE_PATH.
39942 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39943 SPAWN_XFLAGS_TRY_SHELL.
39946 * posix/glob.h: Remove gcc 1.x support.
39949 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39951 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39954 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39956 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39957 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39958 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39959 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39960 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39961 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39963 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39965 * sysdeps/x86_64/wcscmp.S: New file.
39967 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39968 wcscmp-c wcscmp-sse2
39969 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39970 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39971 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39972 * wcsmbs/wcscmp.c: Allow renaming.
39974 2011-09-05 David S. Miller <davem@davemloft.net>
39976 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39977 stack slot, rather than the struct return pointer slot.
39978 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39979 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39981 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39983 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39985 * po/ja.po: Update from translation team.
39988 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39989 kernel in 64-bit binaries.
39991 2011-09-01 David S. Miller <davem@davemloft.net>
39993 * elf/elf.h (HWCAP_SPARC_*): Move to..
39994 * sysdeps/sparc/sysdep.h: this new file and add new values.
39995 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39996 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39997 _DL_HWCAP_COUNT to 24.
39998 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40000 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40001 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40002 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40004 instead of magic constants.
40005 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40007 2011-08-31 David S. Miller <davem@davemloft.net>
40009 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40010 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40011 Reimplement to do errno handling inline.
40012 (SYSCALL_ERROR_HANDLER): New macro.
40013 (__SYSCALL_STRING): Do not do errno handling in asm.
40014 (__CLONE_SYSCALL_STRING): Delete.
40015 (__INTERNAL_SYSCALL_STRING): Delete.
40016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40017 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40018 (PSEUDO): Reimplement to do errno handling inline.
40019 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40020 (SYSCALL_ERROR_HANDLER): New macro.
40021 (__SYSCALL_STRING): Do not do errno handling in asm.
40022 (__CLONE_SYSCALL_STRING): Delete.
40023 (__INTERNAL_SYSCALL_STRING): Delete.
40024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40025 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40027 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40028 (inline_syscall*): Add 'err' argument.
40029 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40030 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40031 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40032 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40034 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40035 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40037 2011-08-30 Andreas Schwab <schwab@redhat.com>
40039 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40041 2011-08-29 Jiri Olsa <jolsa@redhat.com>
40043 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40046 2011-08-24 David S. Miller <davem@davemloft.net>
40048 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40050 2011-08-24 Andreas Schwab <schwab@redhat.com>
40052 * elf/Makefile: Add rules to build and run unload8 test.
40053 * elf/unload8.c: New file.
40054 * elf/unload8mod1.c: New file.
40055 * elf/unload8mod1x.c: New file.
40056 * elf/unload8mod2.c: New file.
40057 * elf/unload8mod3.c: New file.
40059 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40062 2011-08-23 David S. Miller <davem@davemloft.net>
40064 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40065 subtract stack bias.
40066 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40067 %sp not %fp in calculations.
40068 (_JMPBUF_UNWINDS_ADJ): Likewise.
40070 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40071 (aio_suspend): Call it to force an exception region around the
40072 AIO_MISC_WAIT() invocation.
40074 2011-08-23 Andreas Schwab <schwab@redhat.com>
40076 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40079 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40081 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40083 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40084 and <dl-machine.h>.
40085 (Elf64_FuncDesc): Remove.
40087 2011-08-22 David S. Miller <davem@davemloft.net>
40089 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40090 sigaltstack check, add missing cfi directives.
40091 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40092 missing cfi directives, and sigaltstack handling.
40094 2011-08-16 Andreas Schwab <schwab@redhat.com>
40097 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40098 object is seen twice.
40099 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40101 * elf/Makefile (distribute): Add tst-initorder2.c.
40102 (tests): Add tst-initorder2.
40103 (modules-names): Add tst-initorder2a tst-initorder2b
40104 tst-initorder2c tst-initorder2d. Add rules to build them.
40105 ($(objpfx)tst-initorder2.out): New rule.
40106 * elf/tst-initorder2.c: New file.
40107 * elf/tst-initorder2.exp: New file.
40109 2011-08-22 Andreas Schwab <schwab@redhat.com>
40111 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40113 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40114 dependencies back to end of function.
40116 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40117 $(elfobjdir)/ld.so.
40119 2011-08-21 Ulrich Drepper <drepper@gmail.com>
40121 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40122 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40123 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40124 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40125 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40126 of __vdso_gettimeofday.
40127 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40128 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40130 (_libc_vdso_platform_setup): Remove initialization of
40131 __vdso_gettimeofday and __vdso_time.
40133 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40135 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40136 and fgetc_unlocked.
40137 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40140 * elf/dl-open.c (add_to_global): Report additions to the global scope
40141 for LD_DEBUG=scopes.
40142 (dl_open_worker): Also print scope of newly loaded dependencies.
40143 (_dl_show_scope): Indicate if there is no scope.
40146 * stdio-common/Makefile (tests): Add bug24.
40147 * stdio-common/bug24.c: New file.
40149 2011-08-19 Andreas Jaeger <aj@suse.de>
40152 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40153 non-existant file when using close-on-exec mode.
40155 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40157 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40158 the very first instruction.
40160 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40161 the CFI state in the end.
40162 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40163 inclusion of dl-trampoline.h.
40164 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40166 2011-08-19 Andreas Schwab <schwab@redhat.com>
40168 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40169 expectations for long double.
40171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40172 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40174 2011-08-14 David S. Miller <davem@davemloft.net>
40176 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40177 artificual limit depends upon the system page size.
40179 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40181 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40182 * resolv/Makefile: Define CFLAGS-libresolv.
40184 2011-08-17 Andreas Schwab <schwab@redhat.com>
40186 * nss/makedb.c (compute_tables): Make variables used in nested
40189 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40191 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40192 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40193 if buffer was too small.
40195 * elf/pldd.c (main): Attach to all threads in the process.
40196 Rewrite /proc handling to use *at functions.
40198 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40200 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40201 specifies first scope to show.
40202 (dl_open_worker): Update callers. Move printing scope of new
40203 object to before the relocation.
40204 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40205 * sysdeps/generic/ldsodefs.h: Update declaration.
40207 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40208 string for the scope number.
40210 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40212 * nscd/servicescache.c (cache_addserv): Make sure written is always
40215 2011-08-14 Roland McGrath <roland@hack.frob.com>
40217 * sysdeps/i386/i486/bits/atomic.h
40218 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40219 statement expression, so as to suppress "set but not used" warning.
40220 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40222 * string/strncat.c (STRNCAT): Use prototype definition.
40224 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40225 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40227 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40228 (localedef-modules): Add localedef.
40229 (locale-modules): Add locale.
40231 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40232 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40233 to avoid a warning.
40235 2011-08-14 David S. Miller <davem@davemloft.net>
40237 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40238 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40240 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40242 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40243 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40244 * elf/rtld.c (dl_main): Set l_name of vDSO.
40245 Call _dl_show_scope when DL_DEBUG_SCOPES.
40246 (process_dl_debug): Recognize scopes flag and also set it for all.
40247 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40248 Declare _dl_show_scope.
40250 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40251 (do_dlopen): Pass caller_dlopen to dl_open.
40252 (__libc_dlopen_mode): Initialize caller_dlopen.
40254 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40255 of libc. Make tolower call locale-independent. Optimize a bit by
40256 using isdigit instead of isalnum.
40257 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40259 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40261 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40262 was a dependency or dynamically loaded.
40264 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40266 * intl/l10nflist.c: Allow architecture-specific pop function.
40267 * sysdeps/x86_64/l10nflist.c: New file.
40269 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40272 2011-08-10 Andreas Schwab <schwab@redhat.com>
40274 * include/dirent.h: Add libc_hidden_proto for scandirat and
40275 scandirat64. Don't declare __scandirat64.
40276 * dirent/scandirat.c: Add libc_hidden_def.
40277 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40278 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40280 2011-08-10 David S. Miller <davem@davemloft.net>
40282 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40284 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40285 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40286 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40288 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40290 * Versions.def [libc]: Add GLIBC_2.15.
40291 * dirent/Makefile (routines): Add scandirat and scandirat64.
40292 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40294 * dirent/dirent.h: Declare scandirat and scandirat64.
40295 * dirent/scandirat.c: New file.
40296 * dirent/scandirat64.c: New file.
40297 * sysdeps/wordsize-64/scandirat.c: New file.
40298 * sysdeps/wordsize-64/scandirat64.c: New file.
40299 * dirent/opendir.c: Define opendirat.
40300 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40302 * dirent/scandir64.c: Adjust for scandir.c change.
40303 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40304 __scandirat64, and __scandir_cancel_handler.
40305 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40306 additional parameter and use openat instead of open (outside of ld.so).
40307 Add new __opendir as wrapper around __opendirat.
40308 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40309 here without requiring old scandirat implementation.
40311 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40313 * dirent/scandir.c (cancel_handler): Renamed to
40314 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40315 defined. Adjust users.
40316 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40317 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40319 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40321 * string/test-string.h (IMPL): Use __STRING to expand name and then
40324 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40327 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40329 * string/Makefile: Update.
40330 (strop-tests): Append strncat.
40331 * string/test-wcscmp.c: New file.
40332 New comprehensive test for wcscmp.
40333 * string/test-strcmp.c: Update.
40334 (WIDE): New define.
40336 2011-07-22 Andreas Schwab <schwab@redhat.com>
40338 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40341 2011-07-26 Andreas Schwab <schwab@redhat.com>
40343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40344 encoding to ACE if AI_IDN.
40346 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40348 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40349 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40351 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40353 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40354 Fix overflow bug in strncat.
40355 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40357 * string/test-strncat.c: Update.
40358 Add new tests for checking overflow bugs.
40360 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40363 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40364 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40365 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40366 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40367 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40368 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40369 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40370 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40372 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40373 (USE_AS_STRCAT): Define.
40374 Add strcat and strncat support.
40375 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40377 2011-07-25 Andreas Schwab <schwab@redhat.com>
40379 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40380 __n bigger than INT_MAX+1.
40381 (__strncmp_g): Likewise.
40383 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40385 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40386 * libio/stido.h: Likewise.
40388 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40393 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40394 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40396 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40397 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40400 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40403 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40405 (_dl_x86_64_save_sse): Likewise.
40407 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40409 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40411 (_dl_x86_64_save_sse): Likewise.
40413 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40415 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40417 2011-07-21 Andreas Schwab <schwab@redhat.com>
40419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40421 (_dl_x86_64_save_sse): Use correct AVX check.
40423 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40425 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40426 bug in strncpy/strncat.
40427 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40429 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40431 * string/tester.c (test_strcat): Add tests for different alignments
40432 of source and destination.
40433 (test_strncat): Likewise.
40435 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40438 * posix/glob.c (glob): Check passed in values before using them in
40439 expressions to avoid some overflows.
40440 (glob_in_dir): Likewise.
40443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40444 check for AVX enablement so that we don't crash with old kernels and
40446 * elf/tst-audit4.c: Add same checks here.
40447 * elf/tst-audit6.c: Likewise.
40449 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40451 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40453 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40455 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40457 * po/cs.po: Update from translation team.
40458 * po/bg.po: Likewise.
40460 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40462 * misc/sys/cdefs.h: Add support for const attribute.
40463 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40464 to gnu_dev_{major,minor,makedev} functions.
40466 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40468 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40470 2011-07-20 Andreas Schwab <schwab@redhat.com>
40472 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40475 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40477 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40478 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40479 register in order to avoid conflicts with the soft frame pointer
40480 being held in r11 when necessary.
40481 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40482 (INTERNAL_VSYSCALL_NCS): Likewise.
40484 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40486 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40487 * elf/dl-fini.c (_dl_fini): Adjust caller.
40488 * elf/dl-close.c (_dl_close_worker): Likewise.
40489 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40491 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40493 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40494 "aux_cache->nlibs < 0".
40496 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40497 in the reload-count case.
40499 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40502 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40503 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40504 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40505 * sysdeps/x86_64/multiarch/strcat.S: New file.
40506 * sysdeps/x86_64/multiarch/strncat.S: New file.
40507 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40508 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40509 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40510 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40511 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40512 (USE_AS_STRCAT): Define.
40513 Add strcat and strncat support.
40514 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40515 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40516 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40517 * string/strncat.c: Update.
40518 (USE_AS_STRNCAT): Define.
40519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40520 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40522 * sysdeps/x86_64/multiarch/init-arch.h
40523 (bit_Prefer_PMINUB_for_stringop): New.
40524 (index_Prefer_PMINUB_for_stringop): Likewise.
40525 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40526 bit_Prefer_PMINUB_for_stringop.
40528 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40530 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40532 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40533 of casting of buffer.
40534 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40535 buffer32 and buffer64.
40536 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40537 writes instead of casting of buffer.
40538 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40540 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40543 2011-07-19 Andreas Schwab <schwab@redhat.com>
40545 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40547 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40549 * nscd/nscd.c (termination_handler): Don't do anything for a database
40550 if it has not yet been initialized.
40552 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40554 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40556 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40558 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40560 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40562 * po/nl.po: Update from translation team.
40563 * po/sv.po: Likewise.
40565 2011-07-16 Roland McGrath <roland@hack.frob.com>
40567 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40568 now disallowed by GCC.
40570 * configure.in (use-default-link): Default to yes if a test -shared
40571 link meets our qualifications.
40572 * configure: Regenerated.
40574 * config.make.in (output-format): New variable.
40575 * configure.in: Check for ld --print-output-format support.
40576 * configure: Regenerated.
40577 * Makerules ($(common-objpfx)format.lds)
40578 [$(output-format) != unknown]: Just use $(output-format),
40579 instead of the linker-script munging.
40581 2011-07-14 Roland McGrath <roland@hack.frob.com>
40583 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40584 of $(common-objpfx)shlib.lds.
40585 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40587 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40588 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40590 * configure.in (-z relro check): Adjust test code to add a large
40591 writable data section after it.
40592 * configure: Regenerated.
40594 2011-07-11 Roland McGrath <roland@hack.frob.com>
40596 * configure.in (-z relro check): Fix test code to make the variable
40598 * configure: Regenerated.
40600 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40602 * nscd/nscd.h (struct traced_file): Define.
40603 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40604 elements. Add traced_files.
40605 (inotify_fd): Declare.
40606 (register_traced_file): Declare.
40607 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40608 (inotify_fd): Export.
40609 (resolv_conf_descr): Remove.
40610 (nscd_init): Move inotify descriptor creation to main.
40611 Don't register files for notification here.
40612 (register_traced_file): New function.
40613 (invalidate_cache): Don't use reset_res to determine whether to call
40614 res_init, go through the list of registered files.
40615 (main_loop_poll): The inotify descriptors are now stored in the
40616 structures for the traced files.
40617 (main_loop_epoll): Likewise
40618 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40619 to __nss_disable_nscd.
40620 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40621 for a database anymore. Check the records for all the registered
40623 * nss/Makefile (libnss_files-routines): Add files-init.
40624 (libnss_db-routines): Add db-init.
40625 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40626 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40627 * nss/nss_db/db-init.c: New file.
40628 * nss/nss_files/files-init.c: New file.
40629 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40630 __nss_lookup_function.
40631 (__nss_lookup_function): Call nss_load_library.
40632 (nss_load_all_libraries): New function.
40633 (__nss_disable_nscd): Take parameter with callback function for files
40634 to register. Set is_nscd. Load all the DSOs for the NSS modules
40635 used for the cached services.
40636 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40637 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40638 options for features to all the files in nscd.
40640 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40642 2011-07-10 Roland McGrath <roland@hack.frob.com>
40644 * csu/elf-init.c (__libc_csu_init): Comment typo.
40646 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40648 * po/pl.po: Update from translation team.
40649 * po/ja.po: Likewise.
40650 * po/ru.po: Likewise.
40651 * po/ko.po: Likewise.
40652 * po/fr.po: Likewise.
40654 2011-07-09 Roland McGrath <roland@hack.frob.com>
40656 * configure.in (.ctors/.dtors header and trailer check):
40657 Use an empirical test on a built program.
40658 * configure: Regenerated.
40660 * configure.in (-z relro check): Use an empirical test on a built DSO.
40661 Detect, but do not require, on ia64.
40662 * configure: Regenerated.
40664 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40665 Update tests that use readelf to use $READELF instead.
40666 * configure: Regenerated.
40668 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40670 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40671 if the result is not used.
40673 2011-07-05 Andreas Jaeger <aj@suse.de>
40676 * stdlib/tst-strtod.c: Add testcase.
40678 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40680 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40681 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40682 The latter has a higher limit. Take additional parameter to pass to
40684 (__pathconf): Pass file to __statfs_link_max.
40685 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40687 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40691 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40692 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40694 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40695 (__statfs_filesize_max): Likewise.
40696 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40698 2011-07-05 Andreas Jaeger <aj@suse.de>
40700 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40702 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40704 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40706 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40709 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40711 * Makefile (strop-tests): Add strncat.
40712 * string/test-strncat.c: New file.
40714 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40716 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40718 2011-06-21 Andreas Jaeger <aj@suse.de>
40720 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40721 Copy rule from iconvdata/Makefile.
40723 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40726 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40727 but no long options are defined, just return 'W'.
40729 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40732 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40734 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40736 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40738 (innetgr): Likewise.
40740 2011-07-05 Roland McGrath <roland@hack.frob.com>
40742 * config.make.in (install_root): Default to $(DESTDIR).
40744 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40746 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40748 2011-07-02 Roland McGrath <roland@hack.frob.com>
40750 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40752 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40753 containing directory rather than embedding absolute directory names.
40755 * scripts/check-local-headers.sh: Rewritten using awk.
40756 Match by word, not by line. Print error messages for matches.
40757 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40759 * Makerules [shlib-lds-flags empty]:
40760 ($(common-objpfx)libc_pic.opts): New target.
40761 ($(common-objpfx)libc_pic.os.clean): New target.
40762 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40764 * config.make.in (OBJCOPY): New variable.
40765 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40766 * configure: Regenerated.
40768 * config.make.in (use-default-link): New variable.
40769 * configure.in (use_default_link): Grok --with-default-link to set it.
40770 * configure: Regenerated.
40771 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40772 (shlib-lds, shlib-lds-flags): Define to empty.
40774 * Makerules (shlib-lds): New variable.
40775 (shlib-lds-flags): New variable.
40776 (build-shlib, build-moduile, build-module-asneeded): Use it.
40777 ($(common-objpfx)libc.so): Use $(shlib-lds).
40778 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40779 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40781 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40782 DT_FLAGS/DT_FLAGS_1 with zero flags.
40784 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40785 linker script munging.
40787 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40789 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40791 * crypt/sha512.c (sha512_process_block): Perform total addition using
40792 128-bit if possible.
40793 (__sha512_finish_ctx): Likewise.
40794 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40796 * crypt/sha256.c (SWAP64): Define.
40797 (sha256_process_block): Perform total addition using 64-bit if
40799 (__sha256_finish_ctx): Likewise.
40801 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40803 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40804 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40805 * nscd/hstcache.c (cache_addhst): Likewise.
40806 * nscd/grpcache.c (cache_addgr): Likewise.
40807 * nscd/aicache.c (addhstaiX): Likewise
40808 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40810 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40812 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40813 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40814 * nscd/hstcache.c (cache_addhst): Likewise.
40815 * nscd/grpcache.c (cache_addgr): Likewise.
40816 * nscd/aicache.c (addhstaiX): Likewise
40818 2011-07-01 Andreas Schwab <schwab@redhat.com>
40820 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40821 domain only when needed.
40823 2011-06-30 Andreas Schwab <schwab@redhat.com>
40825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40826 is always restored.
40828 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40830 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40831 are re-adding the entry.
40832 * nscd/servicescache.c (cache_addserv): Likewise.
40834 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40836 * sysdeps/generic/dl-irel.h: fix protection against multiple
40838 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40840 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40843 * malloc/memusage.sh: Fix quoting in message.
40844 * debug/xtrace.sh: Likewise.
40846 * configure.in: Remove support for --experimental-malloc option, make
40848 * config.make.in: Likewise.
40849 * malloc/Makefile: Likewise.
40851 2011-06-27 Andreas Schwab <schwab@redhat.com>
40853 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40854 two-byte characters.
40856 2011-06-27 Roland McGrath <roland@hack.frob.com>
40858 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40859 AC_CACHE_CHECK invocation.
40860 * configure: Regenerated.
40862 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40864 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40867 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40868 bit from old_res_options.
40870 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40872 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40873 value type for setfct.
40875 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40878 __gettimeofday instead of gettimeofday.
40880 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40882 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40884 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40886 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40888 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40891 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40894 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40895 strcpy-sse2-unaligned strncpy-sse2-unaligned
40896 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40897 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40898 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40899 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40900 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40901 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40902 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40903 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40904 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40905 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40906 (STRCPY): Support SSE2 and SSSE3 versions.
40908 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40911 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40912 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40913 kernels which artificially limit size of requests.
40915 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40918 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40919 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40920 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40921 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40922 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40923 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40924 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40925 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40926 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40927 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40928 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40929 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40930 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40931 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40933 Enable unaligned load optimization for Intel Core i3, i5 and i7
40935 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40937 (index_Fast_Unaligned_Load): Define.
40938 (HAS_FAST_UNALIGNED_LOAD): Define.
40940 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40942 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40944 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40947 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40948 until it is clear that the information is realy needed.
40949 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40951 2011-06-22 Andreas Schwab <schwab@redhat.com>
40953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40955 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40958 /sys/devices/system/cpu/online if it is usable.
40960 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40961 reading the information from the /proc filesystem to once a second.
40963 2011-06-21 Andreas Jaeger <aj@suse.de>
40965 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40966 NULL after inclusion of kernel headers.
40968 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40970 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40971 calls to internal_setent.
40974 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40975 addresses using gethostbyname4_r ignore IPv4 addresses.
40977 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40978 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40980 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40982 2011-06-20 David S. Miller <davem@davemloft.net>
40984 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40986 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40988 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40989 (elf_irel): Use it.
40990 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40991 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40992 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40993 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40994 * sysdeps/x86_64/dl-irel.h: Likewise.
40996 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40997 * elf/dl-sym.c: Likewise.
40999 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41001 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41002 need to dereference resplen2.
41004 2011-06-14 Andreas Schwab <schwab@redhat.com>
41006 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41008 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41010 * Makeconfig: Define vardbdir and inst_vardbdir.
41011 * nss/Makefile: Add rules to install db-Makefile.
41013 * nss/nss_db/db-XXX.c: Cleanup.
41015 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41016 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41018 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41019 * nss/makedb.c: Implement -g option to specify that value strings
41020 are generated and should not be added to table iterated over for
41022 * nss/nss_db/db-initgroups.c: New file.
41024 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41027 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41028 (internal_getgrouplist): Adjust to name change.
41029 Update use_initgroups_entry if this is not the first call.
41030 * nss/databases.def: Add initgroups entry.
41032 * nss/makedb.c (compute_tables): Check result of multiple hash table
41033 sizes to minimize maximum chain length.
41035 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41037 * Versions.def: Add entry for libnss_db.
41038 * shlib-versions: Likewise.
41039 * nss/Makefile: Add rules to build libnss_db.
41040 * nss/Versions: Add libnss_db information. Organize libnss_files
41042 * nss/db-Makefile: Add gshadow support. Change rules for the new
41043 makedb progra. Some minor improvements to generate smaller files.
41044 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41046 * nss/makedb.c: ...here.
41047 Improve database format to be smaller and require less memory at
41049 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41051 * nss/nss_db/db-netgrp.c: Likewise.
41052 * nss/nss_db/db-open.c: Likewise.
41053 * nss/nss_files/flies-XXX.x: Adjust comments.
41054 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41055 * nss/nss_files/files-grp.c: Likewise.
41056 * nss/nss_files/files-hosts.c: Likewise.
41057 * nss/nss_files/files-network.c: Likewise.
41058 * nss/nss_files/files-proto.c: Likewise.
41059 * nss/nss_files/files-pwd.c: Likewise.
41060 * nss/nss_files/files-rpc.c: Likewise.
41061 * nss/nss_files/files-service.c: Likewise.
41062 * nss/nss_files/files-sgrp.c: Likewise.
41063 * nss/nss_files/files-spwd.c: Likewise.
41064 * nss/nss_db/db-alias.c: Removed.
41065 * nss/nss_db/dummy-db.h: Removed.
41067 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41069 * nss/makedb.c: Rewritten to not use database library.
41070 * nss/Makefile: Update to build new makedb program.
41072 2011-06-14 Andreas Jaeger <aj@suse.de>
41074 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41075 memset declaration.
41077 2011-06-10 Andreas Schwab <schwab@redhat.com>
41079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41082 2011-06-10 Roland McGrath <roland@hack.frob.com>
41084 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41085 * elf/Makefile ($(objpfx)ld.so): Likewise.
41087 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41088 Don't list ld.so twice in dependencies.
41090 * posix/bug-regex31.c: Include <stdlib.h>.
41092 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41094 * nis/nss_compat/compat-spwd.c
41095 (getspent_next_nss_netgr): Remove unused variable.
41096 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41098 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41099 nonmembers" output to use the right array.
41101 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41103 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41105 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41106 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41107 * catgets/gencat.c (read_input_file): Likewise.
41108 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41110 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41111 variable definition inside #if's controlling its use.
41113 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41115 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41117 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41119 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41122 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41124 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41125 * configure: Regenerated.
41127 * Makerules: Revert last change.
41128 * elf/Makefile: Likewise.
41130 2011-06-09 Roland McGrath <roland@hack.frob.com>
41132 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41133 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41134 (reloc-link): Likewise.
41136 2011-06-09 Ulrich Drepper <drepper@gmail.com>
41138 * elf/Makefile: Add rules to build pldd.
41139 * elf/pldd.c: New file.
41140 * elf/pldd-xx.c: New file.
41142 2011-06-07 Ulrich Drepper <drepper@gmail.com>
41144 * version.h: Update for 2.15 development version.
41146 2011-06-07 David S. Miller <davem@davemloft.net>
41148 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41150 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41151 elf_machine_lazy_rel): Likewise.
41152 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41153 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41154 elf_machine_lazy_rel): Likewise.
41155 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41156 dl_hwcap via passed in argument.
41157 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41160 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41162 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41164 2011-06-06 Roland McGrath <roland@hack.frob.com>
41167 * manual/fdl-1.1.texi: New file, verbatim from:
41168 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41169 * manual/lgpl-2.1.texi: New file, verbatim from:
41170 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41171 * manual/Makefile (licenses): New variable, list those new file names.
41173 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41175 * manual/fdl.texi: File removed.
41176 * manual/lesser.texi: File removed.
41177 * manual/libc.texinfo (Copying, Documentation License):
41178 Use new @include file names, put @appendix directive before @include.
41180 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41183 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41184 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41185 (mq_open): Add __NTH.
41187 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41190 Assume Intel Core i3/i5/i7 processor if AVX is available.
41192 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41197 2011-05-31 Andreas Schwab <schwab@redhat.com>
41199 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41200 memory. Use alloca_account. Fix memory leak when retrying.
41202 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41204 * version.h (RELEASE): Bump for 2.14 release.
41205 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41207 * config.make.in (RANLIB): Remove entry.
41209 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41211 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41212 (libc.pot): Work around missing support for .ksh extension in xgettext.
41215 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41216 if both request failed.
41217 (send_dg): In case of server errors clear resplen or *resplen2.
41220 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41221 when there are multiple maps.
41222 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41223 (_dl_fini): Remove test here.
41225 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41227 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41230 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41231 bit from old_res_options.
41232 (gaih_inet): Likewise.
41235 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41238 * resolv/res_init.c (res_setoptions): Make the code more compact.
41241 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41245 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41247 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41250 * malloc/malloc.h: Declare malloc hook variables as volatile.
41252 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41256 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41257 raise in the comment.
41258 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41259 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41260 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41262 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41265 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41266 grow the buffers more if it already has to be sufficient.
41267 (build_wcs_upper_buffer): Likewise.
41268 * posix/regexec.c (check_matching): Likewise.
41269 (clean_state_log_if_needed): Likewise.
41270 (extend_buffers): Don't enlarge buffers beyond size of the input
41272 Patches mostly by Emil Wojak <emil@wojak.eu>.
41273 * posix/bug-regex32.c: New file.
41274 * posix/Makefile (tests): Add bug-regex32.
41276 * locale/findlocale.c (_nl_find_locale): Return right away if
41277 _nl_explode_name failed.
41278 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41280 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41282 * debug/xtrace.sh: Unify messages.
41283 * malloc/memusage.sh: Likewise.
41286 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41287 time symbol from vDSO. Substitute with vsyscall if not available.
41288 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41291 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41292 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41293 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41294 Add sendmmsg and internal_sendmmsg.
41295 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41296 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41297 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41299 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41300 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41301 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41303 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41306 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41307 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41309 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41313 * iconvdata/Makefile (tests): Add bug-iconv9.
41314 * iconvdata/bug-iconv9.c: New file.
41316 2011-05-27 Andreas Schwab <schwab@redhat.com>
41319 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41321 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41323 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41324 (struct user_regs_struct): Change intcs field back to cs.
41326 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41328 * po/ja.po: Update from translation team.
41330 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41333 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41334 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41336 2011-05-20 Andreas Schwab <schwab@redhat.com>
41338 * stdlib/longlong.h: Update from GCC.
41340 2011-05-23 Andreas Schwab <schwab@redhat.com>
41342 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41344 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41345 Add parameter name.
41346 (__sysconf): Pass it down.
41348 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41351 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41353 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41354 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41355 add in in __libc_use_alloca calls. Adjust callers.
41356 (glob): Use malloc in some situations.
41358 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41359 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41362 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41364 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41365 and CLOCK_BOOTTIME_ALARM.
41368 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41371 * string/_strerror.c (__strerror_r): Print negative errors as signed
41375 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41376 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41377 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41379 * configure.in: Fix typo in redirection and correct removal of test
41380 files in two cases.
41383 * locale/setlocale.c (new_composite_name): Fix test to check for
41384 identical name of all categories.
41387 * libio/filedoalloc.c (local_isatty): New function.
41388 (_IO_file_doallocate): Use local_isatty.
41389 * stdio-common/perror.c (perror): In case a new stream is used
41390 forward the stream error.
41391 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41394 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41399 * include/alloca.h (extend_alloca_account): Define.
41402 * posix/regex.h: Fix comments with documentation of user-accessible
41403 fields after compilation and describe correct free'ing of pattern
41404 after re_compile_pattern.
41405 Patch by Reuben Thomas <rrt@sc3d.org>.
41407 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41409 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41410 and -mno-altivec to prevent the compiler from using Altivec and/or
41411 VSX instructions when the corresponding registers are not available.
41413 2011-05-19 Andreas Schwab <schwab@redhat.com>
41415 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41417 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41419 * libio/freopen.c (freopen): Use __dup2, not dup2.
41420 * libio/freopen64.c (freopen64): Likewise.
41422 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41425 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41426 * math/Makefile (tests): Add test-powl.
41427 (CFLAGS-test-powl.c): Define.
41428 * math/test-powl.c: New file.
41430 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41432 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41434 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41437 * iconvdata/gb18030.c: Update to GB18020-2005.
41439 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41441 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41442 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41443 Patch by Aharon Robbins <arnold@skeeve.com>.
41446 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41450 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41451 through underflows.
41454 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41455 point to strings before performing equality test for error_one_per_line
41459 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41462 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41463 (struct user_fpregs_struct): Avoid __uint*_t types.
41466 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41467 symbol info. Use it instead of calling _dl_addr locally.
41468 (lock_and_info): New function.
41469 (tr_freehook): Call lock_and_info and pass symbol info as additional
41470 parameter to tr_where.
41471 (tr_mallochook): Likewise.
41472 (tr_reallochook): Likewise.
41473 (tr_memalignhook): Likewise.
41475 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41476 used and couldn't be at all thread-safe.
41478 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41480 * libio/freopen.c (freopen): Don't close old file descriptor
41481 before the new one is opened. Instead dup the new file descriptor
41482 to the old one after the new stream is created.
41483 * libio/freopen64.c (freopen64): Likewise.
41484 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41485 * libio/fileops.c (_IO_new_file_close_it): Handle new
41486 _IO_FLAGS2_NOCLOSE flag.
41487 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41488 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41489 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41490 _IO_FLAGS2_NOCLOSE flag.
41491 * include/unistd.h: Add hidden_proto for dup3.
41492 Define __have_dup3.
41493 * io/dup3.c: Define hidden symbol.
41494 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41497 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41498 when an incomplete long option is used.
41499 * posix/tst-getopt_long1.c: New file.
41500 * posix/Makefile (tests): Add tst-getopt_long1.
41503 * scripts/config.guess: Update from autoconf-2.68.
41504 * scripts/config.sub: Likewise.
41507 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41509 (has_cpuclock): ...this. New function.
41510 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41511 macro here based on has_cpuclock code.
41514 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41515 First byte (not low byte) is now always NUL.
41516 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41518 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41519 Use non-cancelable interfaces.
41522 * locale/iso-639.def: Add entry for Sorani.
41525 * include/stdlib.h: Move include protection to the right place.
41526 Define abort_msg_s. Declare __abort_msg with it.
41527 * stdlib/abort.c (__abort_msg): Adjust type.
41528 * assert/assert.c (__assert_fail_base): New function. Majority
41529 of code from __assert_fail. Allocate memory for __abort_msg with
41531 (__assert_fail): Now call __assert_fail_base.
41532 * assert/assert-perr.c: Remove bulk of implementation. Use
41533 __assert_fail_base.
41534 * include/assert.hL Declare __assert_fail_base.
41535 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41537 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41539 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41543 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41544 until all modules are registered in the DTV.
41545 * elf/Makefile: Add rules to build and run tst-tls19.
41546 * elf/tst-tls19.c: New file.
41547 * elf/tst-tls19mod1.c: New file.
41548 * elf/tst-tls19mod2.c: New file.
41549 * elf/tst-tls19mod3.c: New file.
41550 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41553 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41557 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41558 two-byte sequence errors.
41559 * iconvdata/Makefile (tests): Add bug-iconv8.
41560 * iconvdata/bug-iconv8.c: New file.
41563 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41566 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41569 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41570 (dummy_getcfa): New function.
41571 (init): Get _Unwind_GetCFA address, use dummy if not found.
41572 (backtrace_helper): In recursion check, also check whether CFA changes.
41573 (__backtrace): Completely initialize arg.
41575 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41576 storing incomplete byte sequence in state object. Avoid testing for
41577 guaranteed too small input if we know there is enough data available.
41579 2011-05-11 Andreas Schwab <schwab@redhat.com>
41581 * Makeconfig (+link-pie): Indent.
41582 * Rules (binaries-pie): Define if $(have-fpie) and
41584 (binaries-shared): Also filter out $(binaries-pie).
41585 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41586 * nscd/Makefile (others-pie): Add nscd.
41587 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41588 ($(objpfx)nscd): Remove command override.
41589 * login/Makefile (others-pie): Add pt_chown.
41590 ($(objpfx)pt_chown): Remove command override.
41591 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41592 remove command overrides.
41594 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41596 * libio/tst_putwc.c: Fix error messages.
41599 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41600 currently writing and seek to current position when not.
41601 * libio/Makefile (tests): Add bug-fclose1.
41602 * libio/bug-fclose1.c: New file.
41604 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41607 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41608 don't set DF_1_NODELETE here.
41609 (do_lookup_x): When entering new entry test for copy relocation
41610 and if necessary set DF_1_NODELETE flag.
41611 * elf/tst-unique4.cc: New file.
41612 * elf/tst-unique4.h: New file.
41613 * elf/tst-unique4lib.cc: New file.
41614 * elf/Makefile: Add rules to build and run tst-unique4.
41615 Patch by Piotr Bury <pbury@goahead.com>.
41617 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41620 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41623 * misc/mntent_r.c (addmntent): Flush the stream after the output
41626 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41627 (is_trusted_path_normalize): Skip initial colon. Append slash
41628 to empty buffer. Duplicate is_trusted_path code but allow
41629 constructed patch to be prefix.
41630 (is_dst): Allow $ORIGIN followed by /.
41631 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41632 Correct testing of result of is_trusted_path_normalize
41633 (decompose_rpath): Fix warning.
41635 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41638 * grp/initgroups.c (internal_getgrouplist): When we found the service
41639 list through the initgroups entry in nsswitch.conf do not always
41640 continue on a successful lookup. Don't always use the
41641 __nss_group_database value if it is set.
41642 * nss/nsswitch.conf (initgroups): Change action for successful db
41643 lookup to continue for compatibility.
41645 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41648 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41650 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41652 * iconvdata/tst-tables.sh: Likewise.
41653 * iconvdata/cp770.c: New file.
41654 * iconvdata/cp771.c: New file.
41655 * iconvdata/cp772.c: New file.
41656 * iconvdata/cp773.c: New file.
41657 * iconvdata/cp774.c: New file.
41658 * iconvdata/testdata/CP770: New file.
41659 * iconvdata/testdata/CP770..UTF8: New file.
41660 * iconvdata/testdata/CP771: New file.
41661 * iconvdata/testdata/CP771..UTF8: New file.
41662 * iconvdata/testdata/CP772: New file.
41663 * iconvdata/testdata/CP772..UTF8: New file.
41664 * iconvdata/testdata/CP773: New file.
41665 * iconvdata/testdata/CP773..UTF8: New file.
41666 * iconvdata/testdata/CP774: New file.
41667 * iconvdata/testdata/CP774..UTF8: New file.
41669 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41671 * iconvdata/gen-8bit-gap.sh: Likewise.
41672 * iconvdata/gen-8bit.sh: Likewise.
41674 * locale/iso-639.def: Add ary entry.
41677 * locale/C-translit.h.in: Add U20A1 transliteration.
41680 * locale/iso-639.def: Add wae entry.
41681 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41684 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41688 * locale/C-translit.h.in: Add entry for U20B9.
41689 Patch by pravin.d.s@gmail.com.
41691 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41694 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41695 ENAMETOOLONG use generic getcwd.
41696 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41697 in rtld. Use *stat64.
41698 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41699 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41700 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41701 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41702 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41703 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41704 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41705 __fstatat64 macros.
41706 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41707 * dirent/rewinddir.c: Add libc_hidden_def.
41708 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41709 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41711 * include/dirent.h (__alloc_dir): Add flags parameter.
41712 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41713 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41715 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41716 from fdopendir if O_CLOEXEC is already set.
41718 2011-03-15 Alan Modra <amodra@gmail.com>
41720 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41721 l_tls_firstbyte_offset non-zero. Save padding offset in
41722 l_tls_firstbyte_offset for later use.
41723 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41724 freeing static tls block.
41726 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41728 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41729 where #ifdef was intended. The intent is to prevent ARG_MAX from
41730 being defined by the kernel headers.
41732 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41735 * resolv/resolv.h: Define RES_NOTLDQUERY.
41736 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41737 no-tld-query and set RES_NOTLDQUERY.
41738 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41739 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41740 modern BIND to search name as TLD unless forbidden.
41742 2011-05-07 Petr Baudis <pasky@suse.cz>
41743 Ulrich Drepper <drepper@gmail.com>
41746 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41747 (is_trusted_path): ...to here.
41748 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41749 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41750 using is_trusted_path_normalize() in setuid scripts.
41752 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41754 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41755 __BEGIN/__END_DECLS.
41757 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41759 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41760 NSS_STATUS_NOTFOUND if no record was found.
41762 2011-05-05 Andreas Schwab <schwab@redhat.com>
41764 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41765 (headers-not-in-tirpc): Remove rpc/netdb.h
41766 * resolv/netdb.h: Revert last change.
41768 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41770 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41771 circular dependency between libgcc.a and libc.a.
41773 2011-05-05 Andreas Schwab <schwab@redhat.com>
41775 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41776 * nis/Makefile: Don't install rpcsvc/*.
41777 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41778 instead of <rpc/types.h>.
41779 (MAXHOSTNAMELEN): Define.
41781 2011-05-03 Andreas Schwab <schwab@redhat.com>
41783 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41785 2011-04-28 Maciej Babinski <mbabinski@google.com>
41788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41789 gethostbyname4_r when IPv6 results are possible.
41791 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41794 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41795 _PC_PIPE_BUF handling.
41797 2011-04-30 Bruno Haible <bruno@clisp.org>
41800 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41801 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41803 * inet/getnameinfo.c (getnameinfo): Likewise.
41805 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41807 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41808 to groups setting in database lookup.
41809 * nss/nsswitch.conf: Add initgroups entry.
41811 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41814 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41816 Patch by Eric Blake <eblake@redhat.com>.
41818 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41820 * sunrpc/Makefile (need-export-routines): Add svc_run.
41821 (routines): Remove svc_run.
41822 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41823 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41824 * sunrpc/svc_run.c (svc_run): Likewise.
41825 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41827 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41829 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41830 problem in reallocation in last patch.
41832 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41834 * sunrpc/Makefile: Move inclusion of Rules.
41836 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41838 * nss/nss_files/files-initgroups.c: New file.
41839 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41840 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41841 _nss_files_initgroups_dyn.
41843 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41845 * elf/elf.h (R_ARM_IRELATIVE): Define.
41847 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41849 * po/ru.po: Update from translation team.
41851 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41853 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41856 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41859 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41860 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41861 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41862 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41863 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41865 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41867 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41869 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41870 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41871 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41873 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41876 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41878 * stdlib/bug-getcontext.c: New file.
41879 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41881 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41883 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41884 instructions into .machine "z9-109".
41885 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41886 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41888 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41890 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41891 between environment variables and auxiliary vector.
41893 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41895 * Makefile: Add rules to build linkobj/libc.so.
41896 * include/libc-symbols.h: Define libc_hidden_nolink.
41897 * include/rpc/auth.h: Mark functions which are to be hidden.
41898 * include/rpc/auth_des.h: Likewise.
41899 * include/rpc/auth_unix.h: Likewise.
41900 * include/rpc/clnt.h: Likewise.
41901 * include/rpc/des_crypt.h: Likewise.
41902 * include/rpc/key_prot.h: Likewise.
41903 * include/rpc/pmap_clnt.h: Likewise.
41904 * include/rpc/pmap_prot.h: Likewise.
41905 * include/rpc/pmap_rmt.h: Likewise.
41906 * include/rpc/rpc_msg.h: Likewise.
41907 * include/rpc/svc.h: Likewise.
41908 * include/rpc/svc_auth.h: Likewise.
41909 * include/rpc/xdr.h: Likewise.
41910 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41911 * nss/Makefile: Likewise.
41912 * sunrpc/Makefile: Don't install headers. Build library with normal
41913 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41914 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41915 for the compat linking library. Remove use of INTDEF/INTUSE.
41916 * sunrpc/auth_none.c: Likewise.
41917 * sunrpc/auth_unix.c: Likewise.
41918 * sunrpc/authdes_prot.c: Likewise.
41919 * sunrpc/authuxprot.c: Likewise.
41920 * sunrpc/clnt_gen.c: Likewise.
41921 * sunrpc/clnt_perr.c: Likewise.
41922 * sunrpc/clnt_raw.c: Likewise.
41923 * sunrpc/clnt_simp.c: Likewise.
41924 * sunrpc/clnt_tcp.c: Likewise.
41925 * sunrpc/clnt_udp.c: Likewise.
41926 * sunrpc/clnt_unix.c: Likewise.
41927 * sunrpc/des_crypt.c: Likewise.
41928 * sunrpc/des_soft.c: Likewise.
41929 * sunrpc/get_myaddr.c: Likewise.
41930 * sunrpc/key_call.c: Likewise.
41931 * sunrpc/key_prot.c: Likewise.
41932 * sunrpc/netname.c: Likewise.
41933 * sunrpc/pm_getmaps.c: Likewise.
41934 * sunrpc/pm_getport.c: Likewise.
41935 * sunrpc/pmap_clnt.c: Likewise.
41936 * sunrpc/pmap_prot.c: Likewise.
41937 * sunrpc/pmap_prot2.c: Likewise.
41938 * sunrpc/pmap_rmt.c: Likewise.
41939 * sunrpc/publickey.c: Likewise.
41940 * sunrpc/rpc_cmsg.c: Likewise.
41941 * sunrpc/rpc_common.c: Likewise.
41942 * sunrpc/rpc_dtable.c: Likewise.
41943 * sunrpc/rpc_prot.c: Likewise.
41944 * sunrpc/rpc_thread.c: Likewise.
41945 * sunrpc/rtime.c: Likewise.
41946 * sunrpc/svc.c: Likewise.
41947 * sunrpc/svc_auth.c: Likewise.
41948 * sunrpc/svc_authux.c: Likewise.
41949 * sunrpc/svc_raw.c: Likewise.
41950 * sunrpc/svc_run.c: Likewise.
41951 * sunrpc/svc_simple.c: Likewise.
41952 * sunrpc/svc_tcp.c: Likewise.
41953 * sunrpc/svc_udp.c: Likewise.
41954 * sunrpc/svc_unix.c: Likewise.
41955 * sunrpc/svcauth_des.c: Likewise.
41956 * sunrpc/xcrypt.c: Likewise.
41957 * sunrpc/xdr.c: Likewise.
41958 * sunrpc/xdr_array.c: Likewise.
41959 * sunrpc/xdr_float.c: Likewise.
41960 * sunrpc/xdr_intXX_t.c: Likewise.
41961 * sunrpc/xdr_mem.c: Likewise.
41962 * sunrpc/xdr_rec.c: Likewise.
41963 * sunrpc/xdr_ref.c: Likewise.
41964 * sunrpc/xdr_sizeof.c: Likewise.
41965 * sunrpc/xdr_stdio.c: Likewise.
41967 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41970 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41971 * sysdeps/ia64/dl-tls.h: Likewise.
41972 * sysdeps/powerpc/dl-tls.h: Likewise.
41973 * sysdeps/s390/dl-tls.h: Likewise.
41974 * sysdeps/sh/dl-tls.h: Likewise.
41975 * sysdeps/sparc/dl-tls.h: Likewise.
41976 * sysdeps/x86_64/dl-tls.h: Likewise.
41977 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41979 2011-03-14 Andreas Schwab <schwab@redhat.com>
41981 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41982 rpath element also skip the following colon.
41983 (expand_dynamic_string_token): Add is_path parameter and pass
41984 down to DL_DST_REQUIRED and _dl_dst_substitute.
41985 (decompose_rpath): Call expand_dynamic_string_token with
41986 non-zero is_path. Ignore empty rpaths.
41987 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41990 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41995 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41998 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41999 Patch by Filipe David Manana <fdmanana@apache.org>.
42001 2011-04-07 Andreas Schwab <schwab@redhat.com>
42003 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42004 Maintain aligned stack.
42005 (CHECK_RSP): Remove unused macro.
42007 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42009 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42010 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42012 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42014 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42016 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42018 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42021 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42022 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42023 * sysdeps/x86_64/memmove.c: New file.
42024 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42025 (memcpy): Renamed to ...
42026 (__new_memcpy): This.
42027 (memcpy): Provide GLIBC_2_14 memcpy.
42028 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42029 (memcpy): Provide GLIBC_2_2_5 memcpy.
42031 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42034 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42036 2011-03-30 Andreas Schwab <schwab@redhat.com>
42038 * misc/syncfs.c: New file.
42039 * misc/Makefile (routines): Add syncfs.
42040 * posix/unistd.h: Declare syncfs.
42041 * sysdeps/unix/syscalls.list: Add syncfs.
42043 2011-04-01 Andreas Schwab <schwab@redhat.com>
42045 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42047 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42048 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42050 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42051 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42052 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42053 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42055 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42057 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42058 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42059 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42061 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42063 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42065 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42066 sync_file_range.c with -fexceptions.
42067 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42068 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42069 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42070 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42071 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42072 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42073 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42074 sync_file_range as cancellation point
42075 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42076 now a wrapper around __call_sync_file_range with cancellation handling.
42077 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42078 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42079 function name to __call_sync_file_range.
42080 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42081 Add call_sync_file_range.
42083 2011-04-01 Andreas Schwab <schwab@redhat.com>
42085 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42088 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42090 * iconv/iconv.h: Fix typo in comment.
42091 * io/fcntl.h: Likewise.
42092 * libio/stdio.h: Likewise.
42093 * posix/spawn.h: Likewise.
42094 * posix/unistd.h: Likewise.
42095 * stdlib/stdlib.h: Likewise.
42096 * time/time.h: Likewise.
42097 * wcsmbs/wchar.h: Likewise.
42099 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42100 open_by_handle): Add.
42101 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42102 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42103 Augment a few comments.
42104 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42105 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42106 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42108 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42109 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42112 * io/fcntl.h (AT_EMPTY_PATH): Define.
42114 2011-03-30 Ulrich Drepper <drepper@gmail.com>
42116 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42117 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42118 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42120 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42121 * Versions.def: Add GLIBC_2.14.
42122 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42125 2011-03-22 Ulrich Drepper <drepper@gmail.com>
42127 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42129 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42131 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42134 * string/test-strncmp.c (do_page_test): New function.
42135 (check2): Likewise.
42136 (test_main): Call check2.
42137 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42139 2011-03-20 Ulrich Drepper <drepper@gmail.com>
42142 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42143 Handle cache information in CPU leaf 4.
42144 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42146 2011-03-18 Ulrich Drepper <drepper@gmail.com>
42149 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42150 character representation.
42151 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42153 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42155 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42156 END(__isnan) to END(__isnanf) to match function entry point/label
42157 EALIGN(__isnanf,...).
42159 2011-03-10 Jakub Jelinek <jakub@redhat.com>
42161 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42163 2011-03-10 Ulrich Drepper <drepper@gmail.com>
42166 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42167 copy from the symbol referenced in the relocation to initialize the
42169 Patch by Piotr Bury <pbury@goahead.com>.
42170 * elf/Makefile: Add rules to build and tst-unique3.
42171 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42172 * elf/tst-unique3.cc: New file.
42173 * elf/tst-unique3.h: New file.
42174 * elf/tst-unique3lib.cc: New file.
42175 * elf/tst-unique3lib2.cc: New file.
42177 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42179 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42181 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42182 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42185 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42187 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42188 to-be-loaded object along a path to loader is ld.so.
42190 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42191 Ulrich Drepper <drepper@gmail.com>
42193 * sysdeps/x86_64/memset.S: After aligning destination, code
42194 branches to different locations depending on the value of
42195 misalignment, when multiarch is enabled. Fix this.
42197 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42199 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42200 Set _x86_64_preferred_memory_instruction for AMD processsors.
42201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42202 Set bit_Prefer_SSE_for_memop for AMD processors.
42204 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42206 * libio/fmemopen.c (fmemopen): Optimize a bit.
42208 2011-03-03 Andreas Schwab <schwab@redhat.com>
42210 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42212 2011-03-03 Roland McGrath <roland@redhat.com>
42214 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42216 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42218 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42219 __bzero_ultra1 instead of __memset_ultra1.
42221 2011-02-23 Andreas Schwab <schwab@redhat.com>
42222 Ulrich Drepper <drepper@gmail.com>
42225 * include/link.h (struct link_map): Add l_orig_initfini.
42226 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42227 returning unsuccessfully.
42228 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42229 close of a file loaded at startup, restore the original l_initfini
42231 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42232 list, store the pointer.
42233 * elf/Makefile ($(objpfx)noload-mem): New rule.
42234 (noload-ENV): Define.
42235 (tests): Add $(objpfx)noload-mem.
42236 * elf/noload.c: Include <memcheck.h>.
42237 (main): Call mtrace. Close all opened handles.
42239 2011-02-17 Andreas Schwab <schwab@redhat.com>
42242 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42243 dependencies are missing.
42245 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42247 Fix __if_freereq crash: Unlike the generic version which uses free,
42249 * sysdeps/mach/hurd/ifreq.h: New file.
42251 2011-01-27 Petr Baudis <pasky@suse.cz>
42252 Ulrich Drepper <drepper@gmail.com>
42255 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42256 to extend_alloca().
42257 * stdio-common/bug23.c: New file.
42258 * stdio-common/Makefile (tests): Add bug23.
42260 2010-09-28 Andreas Schwab <schwab@redhat.com>
42261 Ulrich Drepper <drepper@gmail.com>
42264 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42265 before performing relro protection. At old place add assertion
42266 to make sure nothing changed.
42268 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42269 Glauber de Oliveira Costa <glommer@gmail.com>
42271 * elf/elf.h: Add new ARM TLS relocs.
42273 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42276 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42278 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42280 * sysdeps/wordsize-64/tst-writev.c: New file.
42282 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42284 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42285 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42286 insns in _dl_start to prevent a TOC reference before relocs are
42289 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42292 * Makeconfig: Remove RANLIB definition.
42293 * Makerules: Don't use RANLIB.
42294 * aclocal.m4: Remove ranlib test.
42295 * configure.in: No need to check for ranlib.
42296 * elf/rtld-Rules: Don't use RANLIB.
42298 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42300 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42302 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42303 inclusion protection macro.
42305 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42306 SIGRTMIN and SIGRTMAX and print information in that case only when
42307 SIGRTMIN is defined.
42309 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42311 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42312 arginfo fn returning -1.
42314 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42315 and thousands string is zero terminated.
42317 2011-02-03 Andreas Schwab <schwab@redhat.com>
42319 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42320 sysdeps/unix/sysv/linux/bits/socket.h.
42322 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42324 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42325 (__CPU_COUNT): Remove old macros.
42326 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42327 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42328 (__CPU_ALLOC, __CPU_FREE): Add macros.
42329 (__sched_cpualloc, __sched_cpufree): Add declarations.
42331 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42333 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42334 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42335 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42336 (readdhstai): Return value of addhstaiX call.
42337 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42338 (addgrbyX): Return value returned by cache_addgr.
42339 (readdgrbyname): Return value returned by addgrbyX.
42340 (readdgrbygid): Likewise.
42341 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42342 (addpwbyX): Return value returned by cache_addpw.
42343 (readdpwbyname): Return value returned by addhstbyX.
42344 (readdpwbyuid): Likewise.
42345 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42346 (addservbyX): Return value returned by cache_addserv.
42347 (readdservbyname): Return value returned by addservbyX:
42348 (readdservbyport): Likewise.
42349 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42350 (addhstbyX): Return value returned by cache_addhst.
42351 (readdhstbyname): Return value returned by addhstbyX.
42352 (readdhstbyaddr): Likewise.
42353 (readdhstbynamev6): Likewise.
42354 (readdhstbyaddrv6): Likewise.
42355 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42356 (readdinitgroups): Return value returned by addinitgroupsX.
42357 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42358 (prune_cache): Keep track of timeout value of re-added entries.
42359 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42360 * nscd/nscd.h: Adjust prototypes of readd* functions.
42362 2011-02-04 Roland McGrath <roland@redhat.com>
42364 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42365 (nis_stats): Likewise.
42366 * nis/nis_modify.c (nis_modify): Likewise.
42367 * nis/nis_remove.c (nis_remove): Likewise.
42368 * nis/nis_add.c (nis_add): Likewise.
42370 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42372 * posix/fnmatch_loop.c: Add some consts.
42374 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42376 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42379 * config.make.in (config-cflags-novzeroupper): Define.
42380 * configure.in: Substitute libc_cv_cc_novzeroupper.
42381 * elf/Makefile (AVX-CFLAGS): Define.
42382 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42383 (CFLAGS-tst-auditmod4a.c): Likewise.
42384 (CFLAGS-tst-auditmod4b.c): Likewise.
42385 (CFLAGS-tst-auditmod6b.c): Likewise.
42386 (CFLAGS-tst-auditmod6c.c): Likewise.
42387 (CFLAGS-tst-auditmod7b.c): Likewise.
42388 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42390 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42392 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42393 function to the callback.
42394 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42396 2011-02-02 Andreas Schwab <schwab@redhat.com>
42398 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42401 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42404 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42406 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42408 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42411 * elf/Makefile: Add rules to build and run new test.
42412 * elf/tst-initorder.c: New file.
42413 * elf/tst-initorder.exp: New file.
42414 * elf/tst-initordera1.c: New file.
42415 * elf/tst-initordera2.c: New file.
42416 * elf/tst-initordera3.c: New file.
42417 * elf/tst-initordera4.c: New file.
42418 * elf/tst-initorderb1.c: New file.
42419 * elf/tst-initorderb2.c: New file.
42420 * elf/tst-order-a1.c: New file.
42421 * elf/tst-order-a2.c: New file.
42422 * elf/tst-order-a3.c: New file.
42423 * elf/tst-order-a4.c: New file.
42424 * elf/tst-order-b1.c: New file.
42425 * elf/tst-order-b2.c: New file.
42426 * elf/tst-order-main.c: New file.
42427 New test case by George Gensure <werkt0@gmail.com>.
42429 2010-10-01 Andreas Schwab <schwab@redhat.com>
42431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42432 decoding ACE if AI_CANONIDN.
42434 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42436 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42438 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42440 * version.h (RELEASE): Bump for 2.13 release.
42441 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42443 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42445 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42447 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42448 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42449 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42450 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42451 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42452 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42454 * posix/getconf.c: Update copyright year.
42455 * catgets/gencat.c: Likewise.
42456 * csu/version.c: Likewise.
42457 * debug/catchsegv.sh: Likewise.
42458 * debug/xtrace.sh: Likewise.
42459 * elf/ldconfig.c: Likewise.
42460 * elf/ldd.bash.in: Likewise.
42461 * elf/sprof.c (print_version): Likewise.
42462 * iconv/iconv_prog.c: Likewise.
42463 * iconv/iconvconfig.c: Likewise.
42464 * locale/programs/locale.c: Likewise.
42465 * locale/programs/localedef.c: Likewise.
42466 * malloc/memusage.sh: Likewise.
42467 * malloc/mtrace.pl: Likewise.
42468 * nscd/nscd.c (print_version): Likewise.
42469 * nss/getent.c: Likewise.
42471 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42472 PF_CAIF, and PF_ALG.
42473 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42475 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42477 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42478 (modules-names): Use them.
42479 (ifunc-test-modules, ifunc-pie-tests): Define.
42480 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42481 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42482 (test-extras): Likewise.
42483 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42484 $(compile-command.c).
42485 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42486 (all-built-dso): Define.
42487 (check-textrel.out, check-execstack.out): Depend on it.
42489 * configure.in: Don't override --enable-multi-arch.
42491 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42494 * nscd/hstcache.c (tryagain): Define.
42495 (cache_addhst): Return tryagain not notfound for temporary errors.
42496 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42499 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42502 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42503 to make the syscall.
42504 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42507 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42508 and fall back to matching as normal character if the string ends before
42509 the matching ']' is found. This is what POSIX requires.
42510 * posix/testfnm.c: Adjust test result.
42511 * posix/globtest.sh: Adjust test result. Add new test.
42512 * posix/tst-fnmatch.input: Likewise.
42513 * posix/tst-fnmatch2.c: Add new test.
42515 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42517 * elf/Makefile (check-execstack): Revert last change. Depend on
42519 (check-execstack.h): New target.
42520 (generated): Add check-execstack.h.
42521 * elf/check-execstack.c: Include "check-execstack.h".
42522 (main): Revert last change.
42523 (handle_file): Return zero if GNU_STACK is absent and
42524 DEFAULT_STACK_PERMS doesn't include PF_X.
42526 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42528 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42529 in child fails because the descriptor is already closed.
42530 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42531 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42532 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42535 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42539 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42540 temporary buffer used to handle multi lookups locally.
42541 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42543 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42545 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42548 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42550 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42551 alignment for SSE2.
42553 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42556 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42557 characters. When rounding increased number of integer digits recompute
42559 * stdio-common/tst-grouping.c: New file.
42560 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42562 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42564 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42565 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42567 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42569 * bits/select.h: Likewise.
42571 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42573 * po/ja.po: Update from translation team.
42575 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42578 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42579 implementation just like for lxstat, fxstatat, et al.
42581 2010-12-27 Jim Meyering <meyering@redhat.com>
42584 * posix/regexec.c (build_trtable): Return failure indication upon
42585 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42587 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42590 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42591 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42592 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42593 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42596 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42599 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42600 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42602 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42604 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42605 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42606 script has SORT_BY_INIT_PRIORITY.
42607 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42608 NO_CTORS_DTORS_SECTIONS is defined.
42609 * elf/soinit.c: Likewise.
42610 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42611 NO_CTORS_DTORS_SECTIONS is defined.
42612 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42613 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42614 * sysdeps/sh/init-first.c: Likewise.
42615 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42617 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42619 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42620 always use the slow path.
42622 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42624 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42625 similar rule which adds the sysdep directories to the header search in
42626 order to pick up the correct platform stackinfo.h.
42627 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42628 perform test if it is, otherwise return successfully without testing.
42629 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42630 DEFAULT_STACK_PERMS define in stackinfo.h.
42631 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42632 defined in stackinfo.h.
42633 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42634 DEFAULT_STACK_PERMS defined in stackinfo.h.
42635 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42636 * sysdeps/ia64/stackinfo.h: Likewise.
42637 * sysdeps/s390/stackinfo.h: Likewise.
42638 * sysdeps/sh/stackinfo.h: Likewise.
42639 * sysdeps/sparc/stackinfo.h: Likewise.
42640 * sysdeps/x86_64/stackinfo.h: Likewise.
42641 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42642 PF_X for powerpc64. Retain PF_X for powerpc32.
42644 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42646 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42648 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42649 GETDENTS_64BIT_ALIGNED.
42651 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42653 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42655 2010-12-10 Andreas Schwab <schwab@redhat.com>
42657 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42660 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42661 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42663 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42664 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42666 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42669 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42672 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42674 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42676 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42678 * po/it.po: Update from translation team.
42680 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42682 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42685 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42687 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42689 2010-11-24 Andreas Schwab <schwab@redhat.com>
42691 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42693 (gaih_getanswer_slice): Likewise.
42695 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42699 2010-05-31 Petr Baudis <pasky@suse.cz>
42702 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42703 silently even in the chroot mode.
42705 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42707 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42708 last patch a bit. Pretty printing
42710 2010-05-31 Petr Baudis <pasky@suse.cz>
42713 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42714 initialization of skip_initgroups_dyn.
42716 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42718 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42719 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42721 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42723 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42725 2010-11-11 Andreas Schwab <schwab@redhat.com>
42727 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42728 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42729 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42730 ($(objpfx)tst-fnmatch-mem): New rule.
42731 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42732 * posix/tst-fnmatch.c (main): Call mtrace.
42734 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42737 Support Intel processor model 6 and model 0x2c.
42739 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42741 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42744 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42747 * string/test-strncasecmp.c (check_result): New function.
42748 (do_one_test): Use it.
42749 (check1): New function.
42750 (test_main): Use it.
42751 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42752 Support strcasecmp and strncasecmp.
42754 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42757 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42758 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42760 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42762 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42766 * sysdeps/x86_64/multiarch/bzero.S: New file.
42767 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42768 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42769 * sysdeps/x86_64/multiarch/memset.S: New file.
42770 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42772 Set bit_Prefer_SSE_for_memop for Intel processors.
42773 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42775 (index_Prefer_SSE_for_memop): Define.
42776 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42778 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42780 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42781 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42783 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42786 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42787 (__x86_64_raw_data_cache_size_half): Likewise.
42788 (__x86_64_raw_shared_cache_size): Likewise.
42789 (__x86_64_raw_shared_cache_size_half): Likewise.
42791 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42792 (__x86_64_raw_data_cache_size_half): Likewise.
42793 (__x86_64_raw_shared_cache_size): Likewise.
42794 (__x86_64_raw_shared_cache_size_half): Likewise.
42795 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42796 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42797 and __x86_64_raw_shared_cache_size_half. Round
42798 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42799 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42800 to multiple of 256 bytes.
42802 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42805 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42806 of inacessible symlinks. Verify result of symlink before returning it.
42807 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42808 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42810 2010-10-28 Erich Ritz <erichritz@gmail.com>
42812 * math/math.h (isinf): Fix typo in comment.
42814 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42816 * po/da.po: Update from translation team.
42818 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42820 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42821 is added to the list.
42823 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42824 Ulrich Drepper <drepper@gmail.com>
42826 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42827 the global list here. Move code to...
42828 (_dl_add_to_namespace_list): ...here. New function.
42829 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42830 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42831 * elf/dl-load.c (lose): Don't remove the element from the list.
42832 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42833 (_dl_map_object): Likewise.
42835 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42838 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42839 into all bytes of SSE register.
42840 Patch by Richard Li <richardpku@gmail.com>.
42842 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42845 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42848 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42850 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42851 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42852 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42853 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42858 2010-10-22 Andreas Schwab <schwab@redhat.com>
42860 * include/dlfcn.h (__RTLD_SECURE): Define.
42861 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42862 mode & __RTLD_SECURE instead.
42863 (open_path): Rename preloaded parameter to secure.
42864 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42865 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42866 * elf/dl-deps.c (openaux): Likewise.
42867 * elf/rtld.c (struct map_args): Remove is_preloaded.
42868 (map_doit): Don't use it.
42869 (dl_main): Likewise.
42870 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42871 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42873 2010-09-09 Andreas Schwab <schwab@redhat.com>
42875 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42876 (sysd-rules-targets): Remove duplicates.
42877 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42878 rtld-%.$o dependency.
42880 2010-10-18 Andreas Schwab <schwab@redhat.com>
42882 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42883 _dl_map_object do it.
42885 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42887 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42888 fast fma builtins, define the macros in the C99 standard.
42889 (FP_FAST_FMAF): Likewise.
42890 (FP_FAST_FMAL): Likewise.
42891 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42893 * bits/mathdef.h: Update copyright year.
42894 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42896 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42898 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42899 builtins, define the macros in the C99 standard.
42900 (FP_FAST_FMAF): Likewise.
42901 (FP_FAST_FMAL): Likewise.
42902 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42904 (FP_FAST_FMAF): Likewise.
42906 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42909 * math/libm-test.inc (fma_test): Some new testcases.
42910 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42911 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42912 y and infinite z. Do multiplication by C already in long double.
42913 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42915 y and infinite z. Do bitwise or of inexact bit into u.d.
42916 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42917 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42918 * sysdeps/i386/fpu/s_fma.S: Removed.
42919 * sysdeps/i386/fpu/s_fmal.S: Removed.
42921 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42924 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42925 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42926 computation is not scheduled after fetestexcept. Fix value
42927 of minimum denormal long double.
42929 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42932 * math/libm-test.inc (fma_test): Add some more tests.
42933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42936 2010-10-15 Andreas Schwab <schwab@redhat.com>
42938 * scripts/data/localplt-s390-linux-gnu.data: New file.
42939 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42941 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42944 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42945 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42947 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42949 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42951 if one of x and y is very large and the other is subnormal.
42952 * sysdeps/s390/fpu/s_fmaf.c: New file.
42953 * sysdeps/s390/fpu/s_fma.c: New file.
42954 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42955 * sysdeps/powerpc/fpu/s_fma.S: New file.
42956 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42957 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42958 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42960 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42963 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42965 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42966 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42967 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42968 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42969 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42970 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42971 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42973 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42976 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42977 * posix/bug-regex31.input: Add test case.
42979 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42981 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42982 * posix/bug-regex31.input: New file.
42985 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42986 (parse_sub_exp): Fix last change, use postorder.
42988 * posix/bug-regex31.c: New file.
42989 * posix/Makefile: Add rules to build and run bug-regex31.
42991 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42994 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42997 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42998 to have entries in sys_siglist.
43001 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43004 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43007 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43008 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43009 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43010 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43011 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43012 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43013 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43014 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43015 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43016 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43017 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43018 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43019 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43020 * math/ftestexcept.c (fetestexcept): Likewise.
43021 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43022 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43023 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43024 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43025 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43026 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43027 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43029 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43032 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43035 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43037 * string/bug-strstr1.c: New file.
43038 * string/Makefile: Add rules to build and run bug-strstr1.
43040 2010-10-05 Eric Blake <eblake@redhat.com>
43043 * string/str-two-way.h (two_way_long_needle): Always clear memory
43044 when skipping input due to the shift table.
43046 2010-10-03 Ulrich Drepper <drepper@gmail.com>
43049 * malloc/mcheck.c: Handle large requests.
43052 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43053 for strncmp and strncasecmp.
43054 * string/stratcliff.c: Add tests for strcmp and strncmp.
43055 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43057 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43059 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43062 2010-09-30 Andreas Jaeger <aj@suse.de>
43064 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43065 (CGROUP_SUPER_MAGIC): Define.
43066 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43067 Handle btrfs and cgroup file systems.
43068 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43071 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43073 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43074 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43076 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43079 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43080 trying to locate the ELF header.
43082 2010-09-27 Andreas Schwab <schwab@redhat.com>
43085 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43086 Mask out sign-bit copies when constructing f_fsid.
43088 2010-09-24 Petr Baudis <pasky@suse.cz>
43090 * debug/stack_chk_fail_local.c: Add missing licence exception.
43091 * debug/warning-nop.c: Likewise.
43093 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43095 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43096 implementing getdents64 using getdents syscall, set d_type if
43097 __ASSUME_GETDENTS32_D_TYPE.
43099 2010-09-16 Andreas Schwab <schwab@redhat.com>
43101 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43102 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43104 2010-09-21 Ulrich Drepper <drepper@redhat.com>
43107 * posix/unistd.h: Undo change of feature selection for ftruncate from
43110 2010-09-20 Ulrich Drepper <drepper@redhat.com>
43112 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43115 2010-09-20 Andreas Schwab <schwab@redhat.com>
43117 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43119 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43121 2010-09-14 Andreas Schwab <schwab@redhat.com>
43123 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43124 variables after CHECK_SP call.
43125 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43127 2010-09-13 Andreas Schwab <schwab@redhat.com>
43128 Ulrich Drepper <drepper@redhat.com>
43130 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43131 re-relocationg ld.so.
43132 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43133 _dl_init_paths call.
43134 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43137 2010-09-14 Ulrich Drepper <drepper@redhat.com>
43139 * resolv/res_init.c (__res_vinit): Count the default server we added.
43141 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43142 Ulrich Drepper <drepper@redhat.com>
43145 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43146 (____longjmp_chk): Use %ebx for saving value across system call.
43149 2010-09-06 Andreas Schwab <schwab@redhat.com>
43151 * manual/Makefile: Don't mix pattern rules with normal rules.
43153 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43155 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43157 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43158 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43159 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43160 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43164 2010-09-04 Ulrich Drepper <drepper@redhat.com>
43167 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43168 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43170 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43172 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43173 * sysdeps/x86_64/addmul_1.S: Likewise.
43174 * sysdeps/x86_64/lshift.S: Likewise.
43175 * sysdeps/x86_64/mul_1.S: Likewise.
43176 * sysdeps/x86_64/rshift.S: Likewise.
43177 * sysdeps/x86_64/sub_n.S: Likewise.
43178 * sysdeps/x86_64/submul_1.S: Likewise.
43180 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43182 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43183 Define __sched_param instead of SCHED_* and sched_param when
43184 <bits/sched.h> is included with __need_schedparam defined.
43185 * bits/sched.h [__need_schedparam]
43186 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43187 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43188 (__defined_schedparam): Define to 1.
43189 (__sched_param): New structure, identical to sched_param.
43190 (__need_schedparam): Undefine.
43192 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43194 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43195 (epoll_create1): Declare.
43197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43199 2010-08-31 Andreas Schwab <schwab@redhat.com>
43202 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43203 shifting retval into place.
43205 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43207 * nis/rpcsvc/nis.h: Update copyright notice.
43208 * nis/rpcsvc/nis.x: Likewise.
43209 * nis/rpcsvc/nis_callback.h: Likewise.
43210 * nis/rpcsvc/nis_callback.x: Likewise.
43211 * nis/rpcsvc/nis_object.x: Likewise.
43212 * nis/rpcsvc/nis_tags.h: Likewise.
43213 * nis/rpcsvc/yp.h: Likewise.
43214 * nis/rpcsvc/yp.x: Likewise.
43215 * nis/rpcsvc/ypupd.h: Likewise.
43216 * nis/yp_xdr.c: Likewise.
43217 * nis/ypupdate_xdr.c: Likewise.
43219 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43220 mainly the body of pmap_getport. Add parameters to specify timeouts.
43221 (pmap_getport): Use __libc_rpc_getport.
43222 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43223 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43224 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43226 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43231 2010-08-27 Roland McGrath <roland@redhat.com>
43233 * sysdeps/i386/i686/multiarch/Makefile
43234 (CFLAGS-varshift.c): New variable.
43236 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43238 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43239 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43241 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43243 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43245 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43247 * sysdeps/x86_64/strlen.S: Unroll the loop.
43248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43249 strlen-sse2 strlen-sse2-bsf.
43250 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43251 __strlen_no_bsf if bit_Slow_BSF is set.
43252 (__strlen_sse42): Removed.
43253 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43254 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43256 2010-08-25 Roland McGrath <roland@redhat.com>
43258 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43259 * sysdeps/x86_64/multiarch/varshift.c: New file.
43260 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43261 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43262 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43263 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43265 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43268 strlen-sse2 strlen-sse2-bsf.
43269 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43270 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43271 (__strlen_sse2): Removed.
43272 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43273 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43275 bit_Slow_BSF for Atom.
43276 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43277 (index_Slow_BSF): Define.
43278 (HAS_SLOW_BSF): Define.
43280 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43283 * resolv/res_init.c (__res_vinit): When no server address at all
43284 is given default to loopback.
43286 2010-08-24 Roland McGrath <roland@redhat.com>
43288 * configure.in: Remove config-name.h generation.
43289 * configure: Regenerated.
43290 * config-name.in: File removed.
43291 * scripts/config-uname.sh: New file.
43292 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43293 ($(objdir)config-name.h): New target.
43295 * sunrpc/rpc_parse.h: Avoid nested comment.
43297 2010-08-24 Richard Henderson <rth@redhat.com>
43298 Ulrich Drepper <drepper@redhat.com>
43299 H.J. Lu <hongjiu.lu@intel.com>
43301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43303 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43304 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43305 _mm_alignr_epi8 with _mm_loadu_si128.
43306 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43307 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43308 (__m128i_shift_right): Removed.
43309 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43310 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43311 * sysdeps/x86_64/multiarch/varshift.h: New file.
43312 * sysdeps/x86_64/multiarch/varshift.S: New file.
43314 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43316 * configure.in: Move assembler checks to before sysdep dir checking.
43318 2010-08-20 Petr Baudis <pasky@suse.cz>
43320 * LICENSES: Sync the sunrpc license.
43322 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43324 * sunrpc/auth_des.c: Update copyright notice once again.
43325 * sunrpc/auth_none.c: Likewise.
43326 * sunrpc/auth_unix.c: Likewise.
43327 * sunrpc/authdes_prot.c: Likewise.
43328 * sunrpc/authuxprot.c: Likewise.
43329 * sunrpc/bindrsvprt.c: Likewise.
43330 * sunrpc/clnt_gen.c: Likewise.
43331 * sunrpc/clnt_perr.c: Likewise.
43332 * sunrpc/clnt_raw.c: Likewise.
43333 * sunrpc/clnt_simp.c: Likewise.
43334 * sunrpc/clnt_tcp.c: Likewise.
43335 * sunrpc/clnt_udp.c: Likewise.
43336 * sunrpc/clnt_unix.c: Likewise.
43337 * sunrpc/des_crypt.c: Likewise.
43338 * sunrpc/des_soft.c: Likewise.
43339 * sunrpc/get_myaddr.c: Likewise.
43340 * sunrpc/getrpcport.c: Likewise.
43341 * sunrpc/key_call.c: Likewise.
43342 * sunrpc/key_prot.c: Likewise.
43343 * sunrpc/openchild.c: Likewise.
43344 * sunrpc/pm_getmaps.c: Likewise.
43345 * sunrpc/pm_getport.c: Likewise.
43346 * sunrpc/pmap_clnt.c: Likewise.
43347 * sunrpc/pmap_prot.c: Likewise.
43348 * sunrpc/pmap_prot2.c: Likewise.
43349 * sunrpc/pmap_rmt.c: Likewise.
43350 * sunrpc/rpc/auth.h: Likewise.
43351 * sunrpc/rpc/auth_unix.h: Likewise.
43352 * sunrpc/rpc/clnt.h: Likewise.
43353 * sunrpc/rpc/des_crypt.h: Likewise.
43354 * sunrpc/rpc/key_prot.h: Likewise.
43355 * sunrpc/rpc/netdb.h: Likewise.
43356 * sunrpc/rpc/pmap_clnt.h: Likewise.
43357 * sunrpc/rpc/pmap_prot.h: Likewise.
43358 * sunrpc/rpc/pmap_rmt.h: Likewise.
43359 * sunrpc/rpc/rpc.h: Likewise.
43360 * sunrpc/rpc/rpc_des.h: Likewise.
43361 * sunrpc/rpc/rpc_msg.h: Likewise.
43362 * sunrpc/rpc/svc.h: Likewise.
43363 * sunrpc/rpc/svc_auth.h: Likewise.
43364 * sunrpc/rpc/types.h: Likewise.
43365 * sunrpc/rpc/xdr.h: Likewise.
43366 * sunrpc/rpc_clntout.c: Likewise.
43367 * sunrpc/rpc_cmsg.c: Likewise.
43368 * sunrpc/rpc_common.c: Likewise.
43369 * sunrpc/rpc_cout.c: Likewise.
43370 * sunrpc/rpc_dtable.c: Likewise.
43371 * sunrpc/rpc_hout.c: Likewise.
43372 * sunrpc/rpc_main.c: Likewise.
43373 * sunrpc/rpc_parse.c: Likewise.
43374 * sunrpc/rpc_parse.h: Likewise.
43375 * sunrpc/rpc_prot.c: Likewise.
43376 * sunrpc/rpc_sample.c: Likewise.
43377 * sunrpc/rpc_scan.c: Likewise.
43378 * sunrpc/rpc_scan.h: Likewise.
43379 * sunrpc/rpc_svcout.c: Likewise.
43380 * sunrpc/rpc_tblout.c: Likewise.
43381 * sunrpc/rpc_util.c: Likewise.
43382 * sunrpc/rpc_util.h: Likewise.
43383 * sunrpc/rpcinfo.c: Likewise.
43384 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43385 * sunrpc/rpcsvc/key_prot.x: Likewise.
43386 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43387 * sunrpc/rpcsvc/mount.x: Likewise.
43388 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43389 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43390 * sunrpc/rpcsvc/rex.x: Likewise.
43391 * sunrpc/rpcsvc/rstat.x: Likewise.
43392 * sunrpc/rpcsvc/rusers.x: Likewise.
43393 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43394 * sunrpc/rpcsvc/spray.x: Likewise.
43395 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43396 * sunrpc/rtime.c: Likewise.
43397 * sunrpc/svc.c: Likewise.
43398 * sunrpc/svc_auth.c: Likewise.
43399 * sunrpc/svc_authux.c: Likewise.
43400 * sunrpc/svc_raw.c: Likewise.
43401 * sunrpc/svc_run.c: Likewise.
43402 * sunrpc/svc_simple.c: Likewise.
43403 * sunrpc/svc_tcp.c: Likewise.
43404 * sunrpc/svc_udp.c: Likewise.
43405 * sunrpc/svc_unix.c: Likewise.
43406 * sunrpc/svcauth_des.c: Likewise.
43407 * sunrpc/xcrypt.c: Likewise.
43408 * sunrpc/xdr.c: Likewise.
43409 * sunrpc/xdr_array.c: Likewise.
43410 * sunrpc/xdr_float.c: Likewise.
43411 * sunrpc/xdr_mem.c: Likewise.
43412 * sunrpc/xdr_rec.c: Likewise.
43413 * sunrpc/xdr_ref.c: Likewise.
43414 * sunrpc/xdr_sizeof.c: Likewise.
43415 * sunrpc/xdr_stdio.c: Likewise.
43417 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43420 2010-08-19 Andreas Schwab <schwab@redhat.com>
43422 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43424 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43426 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43427 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43428 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43429 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43430 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43431 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43432 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43433 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43434 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43435 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43436 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43437 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43438 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43439 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43441 2010-07-26 Anton Blanchard <anton@samba.org>
43443 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43444 * malloc/arena.c (heap_trim): Likewise.
43446 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43448 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43450 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43451 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43453 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43455 * sysdeps/i386/elf/Makefile: New file.
43457 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43459 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43460 from fanotify_init.
43461 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43464 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43466 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43468 * sysdeps/multiarch/strcmp.S: Likewise.
43470 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43472 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43473 strncase_l-nonascii.
43474 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43475 Add strncase_l-ssse3.
43476 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43477 * sysdeps/x86_64/strcmp.S: Likewise.
43478 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43479 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43480 * sysdeps/x86_64/strncase.S: New file.
43481 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43482 * sysdeps/x86_64/strncase_l.S: New file.
43483 * string/Makefile (strop-tests): Add strncasecmp.
43484 * string/test-strncasecmp.c: New file.
43486 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43489 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43490 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43492 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43494 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43496 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43498 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43499 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43500 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43502 2010-05-01 Alan Modra <amodra@gmail.com>
43504 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43505 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43506 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43507 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43508 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43509 tidying. Don't tail-call __sigjmp_save for static lib.
43510 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43512 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43513 (CALL_MCOUNT): Add eh info, and nop after bl.
43514 (TAIL_CALL_SYSCALL_ERROR): New macro.
43515 (PSEUDO_RET): Use it.
43516 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43517 Correct save location of integer regs and cr.
43518 (_dl_profile_resolve): Correct cr save location. Delete nops
43519 after bl when SHARED. Reduce cfi size a little by better
43520 placement of cfi directives.
43521 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43522 make a stack frame. Instead use parm save area as a temp.
43523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43524 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43526 Don't make a stack frame for parent, use parm save area.
43527 Increase child stack frame to 112 bytes. Don't save unused reg,
43528 and adjust reg usage. Set up cfi on error recovery and
43529 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43531 (__makecontext): Add dummy nop after jump to exit.
43532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43533 Use correct parm save area and cr save, reduce stack frame.
43534 Correct cfi for possible PSEUDO_RET frame setup.
43535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43536 Branch to local label emitted by PSEUDO_RET rather than
43539 2010-08-12 Andreas Schwab <schwab@redhat.com>
43542 * locale/programs/locale.c (print_assignment): New function.
43543 (show_locale_vars): Use it.
43545 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43547 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43549 (struct statfs64): Likewise.
43550 (_STATFS_F_FLAGS): Define.
43551 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43552 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43553 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43554 (ST_VALID): Define locally.
43555 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43556 __statvfs_getflags, use the provided value.
43557 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43558 __ASSUME_STATFS_F_FLAGS.
43560 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43562 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43563 Add sys/fanotify.h.
43564 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43565 fanotify_mask for GLIBC_2.13.
43566 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43567 fanotify_init and fanotify_mark.
43568 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43569 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43571 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43573 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43574 prlimit64 for GLIBC_2.13.
43575 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43577 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43580 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43581 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43582 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43583 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43585 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43588 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43589 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43591 * nss/Makefile: Add rules to build and run tst-nss-test1.
43592 * shlib-versions: Add entry for libnss_test1.
43593 * nss/nss_test1.c: New file.
43594 * nss/tst-nss-test1.c: New file.
43596 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43597 (__nss_configure_lookup): Set appropriate entry in
43598 __nss_configure_lookup to true.
43599 * nss/nsswitch.h: Define enum with indeces of databases in
43600 databases and __nss_database_custom arrays. Declare
43601 __nss_database_custom.
43602 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43603 to avoid using nscd when custom rules are installed.
43604 * nss/getXXbyYY_r.c: Likewise.
43605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43607 * nss/nss_files/files-parse.c: Whitespace fixes.
43609 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43612 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43613 * posix/fnmatch_loop.c: Likewise.
43615 2010-07-17 Andi Kleen <ak@linux.intel.com>
43617 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43618 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43619 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43620 * Versions.def [GLIBC_2.13]: Add.
43622 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43624 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43625 Also fail if tpwd after pwuid call is NULL.
43627 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43629 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43630 when converting to ms.
43632 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43634 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43635 EOPNOTSUPP errors with ENOTTY.
43636 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43637 EOPNOTSUPP errors with ENOTTY.
43639 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43641 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43642 Add strcasecmp_l-ssse3.
43643 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43645 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43646 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43647 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43649 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43651 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43653 * string/Makefile (strop-tests): Add strcasecmp.
43654 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43655 strcasecmp_l-nonascii.
43656 (gen-as-const-headers): Add locale-defines.sym.
43657 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43658 * sysdeps/x86_64/strcasecmp.S: New file.
43659 * sysdeps/x86_64/strcasecmp_l.S: New file.
43660 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43661 * sysdeps/x86_64/locale-defines.sym: New file.
43662 * string/test-strcasecmp.c: New file.
43664 * string/test-strcasestr.c: Test both ends of the range of characters.
43665 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43667 2010-07-29 Roland McGrath <roland@redhat.com>
43670 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43672 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43674 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43677 2010-07-27 Andreas Schwab <schwab@redhat.com>
43679 * manual/memory.texi (Malloc Tunable Parameters): Document
43682 2010-07-26 Roland McGrath <roland@redhat.com>
43685 * configure.in (-fgnu89-inline check): Set and substitute
43686 gnu89_inline, not libc_cv_gnu89_inline.
43687 * configure: Regenerated.
43688 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43690 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43692 * string/test-strnlen.c: New file.
43693 * string/Makefile (strop-tests): Add strnlen.
43694 * string/tester.c (test_strnlen): Add a few more test cases.
43695 * string/tst-strlen.c: Better error reporting.
43697 * sysdeps/x86_64/strnlen.S: New file.
43699 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43701 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43702 lower-latency instructions.
43704 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43706 * string/test-strcasestr.c: New file.
43707 * string/test-strstr.c: New file.
43708 * string/Makefile (strop-tests): Add strstr and strcasestr.
43709 * string/str-two-way.h: Don't undefine MAX.
43710 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43712 2010-07-21 Andreas Schwab <schwab@redhat.com>
43714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43715 strcasestr-nonascii.
43716 (CFLAGS-strcasestr-nonascii.c): Define.
43717 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43718 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43719 Remove unused attribute.
43721 2010-07-20 Roland McGrath <roland@redhat.com>
43723 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43724 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43725 ld.so.cache was broken. With it, there is no way to disable dsocaps
43726 like LD_HWCAP_MASK can disable hwcaps.
43728 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43730 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43732 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43734 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43735 call in strcasestr.
43736 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43737 __strcasestr_sse42_nonascii.
43738 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43739 strcasestr-nonascii.c.
43740 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43742 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43744 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43745 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43746 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43747 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43749 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43751 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43754 2010-07-06 Andreas Schwab <schwab@redhat.com>
43757 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43760 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43762 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43763 _PC_PIPE_BUF using F_GETPIPE_SZ.
43765 2010-07-05 Roland McGrath <roland@redhat.com>
43767 * manual/arith.texi (Rounding Functions): Fix rint description
43768 implicit in round description.
43770 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43772 * elf/Makefile: Fix linking for a few tests to make recent linker
43775 2010-06-30 Andreas Schwab <schwab@redhat.com>
43777 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43778 $(common-objpfx)libc_nonshared.a.
43780 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43782 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43783 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43784 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43785 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43786 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43787 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43788 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43789 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43804 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43805 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43806 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43807 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43808 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43809 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43810 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43811 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43812 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43813 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43814 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43815 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43831 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43833 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43834 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43835 * string/memmove.c (memmove): Renamed to ...
43836 (MEMMOVE): ...this. Default to memmove.
43837 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43838 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43841 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43842 mempcpy-ssse3-back memmove-ssse3-back.
43843 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43844 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43845 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43846 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43847 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43848 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43849 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43850 * sysdeps/x86_64/multiarch/memmove.c: New file.
43851 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43852 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43853 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43854 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43855 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43856 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43858 (index_Fast_Copy_Backward): Define.
43859 (HAS_ARCH_FEATURE): Define.
43860 (HAS_FAST_REP_STRING): Define.
43861 (HAS_FAST_COPY_BACKWARD): Define.
43863 2010-06-21 Andreas Schwab <schwab@redhat.com>
43865 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43866 Restore proper fallback handling.
43868 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43871 * posix/group_member.c (__group_member): Correct checking loop.
43873 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43874 OOM in getpwuid_r correctly. Return error number when the caller
43875 should return, otherwise -1.
43876 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43877 call returning > 0 value.
43878 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43880 2010-06-07 Andreas Schwab <schwab@redhat.com>
43882 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43883 libc_nonshared.a from targets in modules-names.
43885 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43887 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43890 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43892 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43893 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43894 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43895 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43897 2010-06-02 Andreas Schwab <schwab@redhat.com>
43899 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43901 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43903 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43906 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43909 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43910 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43912 2010-06-14 Roland McGrath <roland@redhat.com>
43914 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43916 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43918 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43919 __REDIRECT followed by __THROW.
43920 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43921 * posix/getopt.h (getopt): Likewise.
43923 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43925 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43926 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43927 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43929 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43930 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43932 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43934 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43936 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43940 Properly check family and model.
43942 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43944 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43946 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43948 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43950 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43952 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43955 2010-05-19 Andreas Schwab <schwab@redhat.com>
43957 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43960 2010-05-21 Andreas Schwab <schwab@redhat.com>
43962 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43963 and internal_recvmmsg.
43964 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43965 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43966 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43967 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43969 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43970 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43971 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43973 2010-05-20 Andreas Schwab <schwab@redhat.com>
43975 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43977 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43979 POWER7 optimizations.
43980 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43981 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43983 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43985 * version.h: Update for 2.13 development version.
43987 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43989 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43990 exceptions. Return 0.
43992 2010-05-07 Roland McGrath <roland@redhat.com>
43994 * elf/ldconfig.c (main): Add a const.
43996 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43998 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43999 (args_options): Add no-idn option.
44000 (ahosts_keys_int): Add idn_flags to ai_flags.
44001 (parse_option): Handle 'i' option to clear idn_flags.
44003 * malloc/malloc.c (_int_free): Possible race in the most recently
44004 added check. Only act on the data if no current modification
44007 See ChangeLog.17 for earlier changes.