]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Fix erf underflow handling near 0 (bug 16516).
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12014-05-14 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16516]
4 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5 (__erf): Scale by 16 instead of 8 in potentially underflowing
6 case. Ensure exception if result actually underflows.
7 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8 (__erff): Scale by 16 instead of 8 in potentially underflowing
9 case. Ensure exception if result actually underflows.
10 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11 (efx8): Remove variable.
12 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13 case. Ensure exception if result actually underflows.
14 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15 (efx8): Remove variable.
16 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17 case. Ensure exception if result actually underflows.
18 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19 (efx8): Remove variable.
20 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21 case. Ensure exception if result actually underflows.
22 * math/auto-libm-test-in: Add more tests of erf.
23 * math/auto-libm-test-out: Regenerated.
24
252014-05-14 Andreas Schwab <schwab@suse.de>
26
27 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28 Remove code conditionalized on USE___THREAD.
29
30 * config.h.in (HAVE_PT_CHOWN): Define as 0.
31 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32 not definedness.
33
342014-05-14 Joseph Myers <joseph@codesourcery.com>
35
36 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37 Define unconditionally.
38 (__ASSUME_O_CLOEXEC): Likewise.
39 (__ASSUME_SOCK_CLOEXEC): Likewise.
40 (__ASSUME_IN_NONBLOCK): Likewise.
41 (__ASSUME_PIPE2): Likewise.
42 (__ASSUME_EVENTFD2): Likewise.
43 (__ASSUME_SIGNALFD4): Likewise.
44 (__ASSUME_DUP3): Likewise.
45 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46 (__ASSUME_DUP3): Do not define.
47 (__ASSUME_EVENTFD2): Likewise.
48 (__ASSUME_IN_NONBLOCK): Likewise.
49 (__ASSUME_O_CLOEXEC): Likewise.
50 (__ASSUME_PIPE2): Likewise.
51 (__ASSUME_SIGNALFD4): Likewise.
52 (__ASSUME_SOCK_CLOEXEC): Likewise.
53 (__ASSUME_UTIMES): Undefine.
54 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55 (__ASSUME_UTIMES): Do not define.
56 (__ASSUME_O_CLOEXEC): Likewise.
57 (__ASSUME_SOCK_CLOEXEC): Likewise.
58 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
59 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
60 0x020621].
61 (__ASSUME_PIPE2): Likewise.
62 (__ASSUME_EVENTFD2): Likewise.
63 (__ASSUME_SIGNALFD4): Likewise.
64 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
65 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
66 Do not define.
67 (__ASSUME_EVENTFD2): Likewise.
68 (__ASSUME_SIGNALFD4): Likewise.
69 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
70 (__ASSUME_32BITUIDS): Likewise.
71 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
72 (__ASSUME_IPC64): Likewise.
73 (__ASSUME_ST_INO_64_BIT): Likewise.
74 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
75 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
76 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
77 (__ASSUME_UTIMES): Do not define.
78 (__ASSUME_PSELECT): Likewise.
79 (__ASSUME_PPOLL): Likewise.
80 (__ASSUME_O_CLOEXEC): Likewise.
81 (__ASSUME_SOCK_CLOEXEC): Likewise.
82 (__ASSUME_IN_NONBLOCK): Likewise.
83 (__ASSUME_PIPE2): Likewise.
84 (__ASSUME_EVENTFD2): Likewise.
85 (__ASSUME_SIGNALFD4): Likewise.
86 (__ASSUME_DUP3): Likewise.
87 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
88 (__ASSUME_UTIMES): Likewise.
89 (__ASSUME_O_CLOEXEC): Likewise.
90 (__ASSUME_SOCK_CLOEXEC): Likewise.
91 (__ASSUME_IN_NONBLOCK): Likewise.
92 (__ASSUME_PIPE2): Likewise.
93 (__ASSUME_EVENTFD2): Likewise.
94 (__ASSUME_SIGNALFD4): Likewise.
95 (__ASSUME_DUP3): Likewise.
96 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
97 (__ASSUME_UTIMES): Likewise.
98 (__ASSUME_O_CLOEXEC): Likewise.
99 (__ASSUME_SOCK_CLOEXEC): Likewise.
100 (__ASSUME_IN_NONBLOCK): Likewise.
101 (__ASSUME_PIPE2): Likewise.
102 (__ASSUME_EVENTFD2): Likewise.
103 (__ASSUME_SIGNALFD4): Likewise.
104 (__ASSUME_DUP3): Likewise.
105 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
106 Likewise.
107 (__ASSUME_UTIMES): Likewise.
108 (__ASSUME_EVENTFD2): Likewise.
109 (__ASSUME_SIGNALFD4): Likewise.
110 * sysdeps/unix/sysv/linux/tile/kernel-features.h
111 (__ASSUME_O_CLOEXEC): Likewise.
112 (__ASSUME_SOCK_CLOEXEC): Likewise.
113 (__ASSUME_IN_NONBLOCK): Likewise.
114 (__ASSUME_PIPE2): Likewise.
115 (__ASSUME_EVENTFD2): Likewise.
116 (__ASSUME_SIGNALFD4): Likewise.
117 (__ASSUME_DUP3): Likewise.
118 (__ASSUME_UTIMES): Undefine.
119
120 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
121 feclearexcept. Remove symbol versioning code.
122 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
123 symbol versioning code.
124 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
125 symbol versioning code.
126 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
127 feupdateenv. Remove symbol versioning code.
128 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
129 fegetexceptflag. Remove symbol versioning code.
130 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
131 fesetexceptflag. Remove symbol versioning code.
132 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
133 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
134 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
135 (__posix_fadvise64_l32): Remove prototype.
136 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
137 code.
138
1392014-05-13 Roland McGrath <roland@hack.frob.com>
140
141 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
142 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
143 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
144 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
145
1462014-05-13 Sami Kerola <kerolasa@iki.fi>
147
148 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
149 current working directory
150
1512014-05-13 Roland McGrath <roland@hack.frob.com>
152
153 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
154 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
155 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
156 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
157 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
158 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
159 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
160 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
161 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
162 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
163 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
164 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
165 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
166 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
167 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
168 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
169 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
170 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
171 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
173 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
174 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
175 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
176 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
177 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
179 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
180 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
181 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
182 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
183 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
184 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
185 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
186 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
187 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
188 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
189 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
190 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
191 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
192 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
193 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
194 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
195
196 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
197 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
198
199 * sysdeps/unix/sysv/linux/arm/Makefile
200 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
201 Add rt-aeabi_unwind_cpp_pr1.
202 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
203 Add nptl-aeabi_unwind_cpp_pr1.
204 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
205 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
206 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
207 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
208 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
209 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
210
211 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
212 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
213 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
214 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
215
216 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
217 Deconditionalize the code that was previously under [RESET_PID].
218 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
219
220 * sysdeps/generic/exit-thread.h: New file.
221 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
222 * include/unistd.h (__exit_thread): Remove declaration.
223 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
224 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
225 * csu/libc-start.c: Include <exit-thread.h>.
226 (LIBC_START_MAIN): Pass no argument to __exit_thread.
227 * nptl/pthread_create.c: Include <exit-thread.h>.
228 (start_thread): Call __exit_thread in place of __exit_thread_inline.
229 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
230 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
231 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
232 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
233 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
234 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
235 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
236 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
237 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
238 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
239 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
240 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
241 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
242 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
243 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
244 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
245
2462014-05-13 Andreas Schwab <schwab@suse.de>
247
248 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
249
2502014-05-12 Joseph Myers <joseph@codesourcery.com>
251
252 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
253 (__ASSUME_UTIMES): Do not condition on kernel version.
254 (__ASSUME_PSELECT): Define unconditionally.
255 (__ASSUME_PPOLL): Likewise.
256 (__ASSUME_ATFCTS): Likewise.
257 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
258 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
259 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
260 (__ASSUME_UTIMENSAT): Define unconditionally.
261 (__ASSUME_PRIVATE_FUTEX): Likewise.
262 (__ASSUME_FALLOCATE): Likewise.
263 (__ASSUME_O_CLOEXEC): Likewise.
264 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
265 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
266 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
267 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
268 (__ASSUME_IN_NONBLOCK): Likewise.
269 (__ASSUME_PIPE2): Likewise.
270 (__ASSUME_EVENTFD2): Likewise.
271 (__ASSUME_SIGNALFD4): Likewise.
272 (__ASSUME_DUP3): Likewise.
273 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
274 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
275 (__ASSUME_AT_RANDOM): Likewise.
276 (__ASSUME_PREADV): Likewise.
277 (__ASSUME_PWRITEV): Likewise.
278 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
279 (__ASSUME_F_GETOWN_EX): Define unconditionally.
280 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
281 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
282 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
283 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
284 (__ASSUME_O_CLOEXEC): Define unconditionally.
285 (__ASSUME_PSELECT): Do not undefine conditionally.
286 (__ASSUME_PPOLL): Likewise.
287 (__ASSUME_ATFCTS): Likewise.
288 (__ASSUME_SET_ROBUST_LIST): Likewise.
289 (__ASSUME_UTIMENSAT): Likewise.
290 (__ASSUME_FDATASYNC): Define unconditionally.
291 * sysdeps/unix/sysv/linux/arm/kernel-features.h
292 (__ASSUME_SIGFRAME_V2): Likewise.
293 )__ASSUME_EVENTFD2): Likewise.
294 (__ASSUME_SIGNALFD4): Likewise.
295 (__ASSUME_PSELECT): Do not undefine conditionally.
296 (__ASSUME_PPOLL): Likewise.
297 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
298 (__ASSUME_PSELECT): Define unconditionally.
299 (__ASSUME_PPOLL): Likewise.
300 (__ASSUME_O_CLOEXEC): Likewise.
301 (__ASSUME_SOCK_CLOEXEC): Likewise.
302 (__ASSUME_IN_NONBLOCK): Likewise.
303 (__ASSUME_PIPE2): Likewise.
304 (__ASSUME_EVENTFD2): Likewise.
305 (__ASSUME_SIGNALFD4): Likewise.
306 (__ASSUME_DUP3): Likewise.
307 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
308 (__ASSUME_O_CLOEXEC): Likewise.
309 (__ASSUME_SOCK_CLOEXEC): Likewise.
310 (__ASSUME_IN_NONBLOCK): Likewise.
311 (__ASSUME_PIPE2): Likewise.
312 (__ASSUME_EVENTFD2): Likewise.
313 (__ASSUME_SIGNALFD4): Likewise.
314 (__ASSUME_DUP3): Likewise.
315 * sysdeps/unix/sysv/linux/mips/kernel-features.h
316 (__ASSUME_EVENTFD2): Likewise.
317 (__ASSUME_SIGNALFD4): Likewise.
318 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
319
3202014-05-12 Andreas Schwab <schwab@suse.de>
321
322 [BZ #16932]
323 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
324 (_nss_nis_gethostbyname4_r): Return error if item length is larger
325 than maximum RPC packet size.
326 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
327 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
328 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
329 (_nss_nis_getservbyport_r): Likewise.
330
3312014-05-12 Will Newton <will.newton@linaro.org>
332
333 * malloc/Makefile (tests): Add tst-mallopt.
334 * malloc/tst-mallopt.c: New file.
335
3362014-05-09 Roland McGrath <roland@hack.frob.com>
337
338 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
339 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
340
3412014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
342
343 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
344 (tst-tlsmod6.so): Likewise.
345
3462014-05-09 Roland McGrath <roland@hack.frob.com>
347
348 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
349
3502014-05-09 Joseph Myers <joseph@codesourcery.com>
351
352 [BZ #16064]
353 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
354 and <dl-procinfo.h>.
355 (__fegetenv): Save SSE state in envp->__eip if supported.
356 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
357 envp->__eip if supported.
358 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
359 and <dl-procinfo.h>.
360 (__fesetenv): Always set __eip, __cs_selector, __opcode,
361 __data_offset and __data_selector in environment to 0. Set SSE
362 state if supported.
363 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
364 test-fenv-sse.
365 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
366 -mfpmath=sse.
367 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
368
3692014-05-09 Will Newton <will.newton@linaro.org>
370
371 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
372 and libc_relro_required for ARM.
373 * sysdeps/arm/preconfigure: Regenerate.
374
3752014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
376 Stefan Liebler <stli@linux.vnet.ibm.com>
377
378 * config.make.in (enable-lock-elision): New Makefile variable.
379 * configure.ac: Likewise.
380 * configure: Regenerate.
381 * sysdeps/s390/configure.ac:
382 Add check for gcc transactions support.
383 * sysdeps/s390/configure: Regenerate.
384 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
385 Build elision files if enabled.
386 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
387 Add lock elision support for s390.
388 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
389 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
390 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
391 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
392 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
393 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
394 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
395 Likewise.
396 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
397 Likewise.
398 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
399 Likewise.
400 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
401 Likewise.
402 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
403 (__lll_timedlock_elision, __lll_lock_elision)
404 (__lll_unlock_elision, __lll_trylock_elision)
405 (lll_timedlock_elision, lll_lock_elision)
406 (lll_unlock_elision, lll_trylock_elision): Add.
407 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
408 (pthread_mutex_t): Add lock elision support for s390.
409
4102014-05-09 Will Newton <will.newton@linaro.org>
411
412 * sysdeps/arm/armv7/strcmp.S: New file.
413 * NEWS: Mention addition of ARMv7 optimized strcmp.
414
4152014-05-08 Roland McGrath <roland@hack.frob.com>
416
417 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
418 look for %.ac rather than %.in.
419
420 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
421 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
422 * sysdeps/mach/hurd/configure: Regenerated.
423 * sysdeps/unix/sysv/linux/configure: Regenerated.
424
425 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
426
4272014-05-07 Steve Ellcey <sellcey@mips.com>
428
429 [BZ# 16922]
430 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
431 (LONG_SUB): Ditto.
432 (PTR_SUB): Ditto.
433
4342014-05-07 Andreas Schwab <schwab@suse.de>
435
436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
437 when skipping over non-matching result from nscd.
438
4392014-05-07 Ondřej Bílka <neleai@seznam.cz>
440
441 [BZ #16876]
442 * nptl/sockperf.c (client): Check socket return value.
443
444 [BZ #16877]
445 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
446 nscd security class.
447
4482014-05-06 Roland McGrath <roland@hack.frob.com>
449
450 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
451 * sysdeps/arm/unwind.h: ... here.
452
4532014-05-06 Aurelien Jarno <aurelien@aurel32.net>
454
455 [BZ# 16916]
456 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
457 Define.
458
4592014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
460
461 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
462 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
463 multiarch strncpy for PPC64.
464 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
465 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
467 multiarch optimizations.
468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
469 (__libc_ifunc_impl_list): Likewise.
470 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
471 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
472 multiarch stpncpy for PPC64.
473 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
474 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
475
4762014-05-06 Andreas Schwab <schwab@suse.de>
477
478 [BZ #16912]
479 * gmon/mcount.c (_MCOUNT_DECL): Use
480 atomic_compare_and_exchange_bool_acq instead of
481 catomic_compare_and_exchange_bool_acq.
482
4832014-05-05 Roland McGrath <roland@hack.frob.com>
484
485 * elf/Makefile (others, install-bin): Remove pldd.
486 (pldd-modules): Variable removed.
487 ($(objpfx)pldd): Target removed.
488 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
489 (others, install-bin): Append pldd here.
490 ($(objpfx)pldd): New target.
491
492 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
493 to 0, so the first #if test emitted later doesn't see it undefined.
494 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
495 * sysdeps/gnu/errlist.c: Regenerated.
496
4972014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
498
499 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
500 [libc_hidden_builtin_def]: Define to empty value.
501 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
502 [libc_hidden_builtin_def]: Likewise.
503 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
504 [libc_hidden_builtin_def]: Likewise.
505 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
506 [libc_hidden_builtin_def]: Likewise.
507 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
508 __redirect_memcpy and define ifunc as default hidden symbol.
509 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
510 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
511
5122014-05-04 Adam Conrad <adconrad@0c3.net>
513
514 * locale/iso-4217.def: Reintroduce XDR currency.
515
5162014-05-04 Allan McRae <allan@archlinux.org>
517
518 * po/eo.po: Update Esperanto translation from translation project.
519
5202014-05-02 Carlos O'Donell <carlos@redhat.com>
521
522 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
523 and FEATURE_INDEX_MAX to 1.
524 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
525
5262014-05-01 Steve Ellcey <sellcey@mips.com>
527
528 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
529 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
530 * iconvdata/big5.c (ONE_DIRECTION): Define.
531 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
532 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
533 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
534 * iconvdata/cp932.c (ONE_DIRECTION): Define.
535 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
536 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
537 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
538 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
539 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
540 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
541 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
542 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
543 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
544 * iconvdata/gbk.c (ONE_DIRECTION): Define.
545 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
546 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
547 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
548 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
549 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
550 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
551 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
552 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
553 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
554 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
555 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
556 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
557 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
558 * iconvdata/iso646.c (ONE_DIRECTION): Define.
559 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
560 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
561 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
562 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
563 * iconvdata/johab.c (ONE_DIRECTION): Define.
564 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
565 * iconvdata/sjis.c (ONE_DIRECTION): Define.
566 * iconvdata/t.61.c (ONE_DIRECTION): Define.
567 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
568 * iconvdata/tscii.c (ONE_DIRECTION): Define.
569 * iconvdata/uhc.c (ONE_DIRECTION): Define.
570 * iconvdata/unicode.c (ONE_DIRECTION): Define.
571 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
572 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
573 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
574
5752014-05-01 Roland McGrath <roland@hack.frob.com>
576
577 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
578 (_IO_JUMPS_OFFSET): Define to 0.
579
580 * nptl/sysdeps/pthread/bits/libc-lock.h
581 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
582 (__libc_lock_define_initialized_recursive): Always define using
583 initializer. Modern compilers treat uninitialized (implicit zero) and
584 explicit zero initializers the same (i.e. put the datum in bss).
585
5862014-05-01 Andreas Schwab <schwab@linux-m68k.org>
587
588 * nscd/nscd-client.h: Include <string.h>.
589
5902014-05-01 David S. Miller <davem@davemloft.net>
591
592 [BZ #16885]
593 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
594 multiple zero bytes exist at the end of a string.
595 Reported by Aurelien Jarno <aurelien@aurel32.net>
596
597 * string/test-strcmp.c (check): Add explicit test for situations where
598 there are multiple zero bytes after the first.
599
6002014-05-01 Andreas Schwab <schwab@linux-m68k.org>
601
602 [BZ #16890]
603 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
604 when compiling wprintf.
605 * stdio-common/tstdiomisc.c (t3): New function.
606 (main): Call it.
607
6082014-05-01 Steve Ellcey <sellcey@mips.com>
609
610 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
611 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
612 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
613 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
614
6152014-05-01 Steve Ellcey <sellcey@mips.com>
616
617 * stdlib/longlong.h: Updated from GCC.
618
6192014-05-01 Will Newton <will.newton@linaro.org>
620 Bernard Ogden <bernie.ogden@linaro.org>
621
622 * NEWS: Update fixed bug list.
623
624 [BZ #15119]
625 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
626
6272014-04-30 David S. Miller <davem@davemloft.net>
628
629 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
630 (libc_feholdexcept_setround_sparc_ctx): New function.
631 (libc_fesetenv_sparc_ctx): Likewise.
632 (libc_feupdateenv_sparc_ctx): Likewise.
633 (libc_feholdsetround_sparc_ctx): Likewise.
634 (libc_feholdexcept_setround_ctx): Define.
635 (libc_feholdexcept_setroundf_ctx): Likewise.
636 (libc_feholdexcept_setroundl_ctx): Likewise.
637 (libc_fesetenv_ctx): Likewise.
638 (libc_fesetenvf_ctx): Likewise.
639 (libc_fesetenvl_ctx): Likewise.
640 (libc_feupdateenv_ctx): Likewise.
641 (libc_feupdateenvf_ctx): Likewise.
642 (libc_feupdateenvl_ctx): Likewise.
643 (libc_feresetround_ctx): Likewise.
644 (libc_feresetroundf_ctx): Likewise.
645 (libc_feresetroundl_ctx): Likewise.
646 (libc_feholdsetround_ctx): Likewise.
647 (libc_feholdsetroundf_ctx): Likewise.
648 (libc_feholdsetroundl_ctx): Likewise.
649
650 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
651 with __USE_GNU instead of XOPEN cpp guards.
652
653 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
654 0.
655
656 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
657 with XOPEN cpp guards.
658
6592014-04-30 Julian Brown <julian@codesourcery.com>
660
661 [BZ #16888]
662 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
663 handling.
664
6652014-04-30 Joseph Myers <joseph@codesourcery.com>
666
667 [BZ #9894]
668 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
669 Change to 2.6.32.
670 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
671 * sysdeps/unix/sysv/linux/configure: Regenerated.
672 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
673 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
674 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
675 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
676 * README: Update reference to required Linux kernel version.
677 * manual/install.texi (Linux): Update reference to required Linux
678 kernel headers version.
679 * INSTALL: Regenerated.
680
681 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
682 header inclusion.
683 [POSIX] (limits.h): Likewise.
684 [POSIX] (math.h): Likewise.
685 [POSIX] (sys/wait.h): Likewise.
686 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
687 function.
688 [POSIX] (stddef.h): Do not allow header inclusion.
689
6902014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
691
692 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
693
6942014-04-30 Yang Yingliang <yangyingliang@huawei.com>
695
696 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
697 Return immediately after lll_futex_wake.
698
6992014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
700
701 [BZ #16791]
702 * nscd/nscd-client.h (datahead_init_common): Initialize entire
703 structure.
704 (datahead_init_pos): Call datahead_init_common early.
705 (datahead_init_neg): Likewise.
706
707 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
708 datahead_init_neg): New functions.
709 * nscd/aicache.c (addhstaiX): Use them.
710 * nscd/grpcache.c (cache_addgr): Likewise.
711 * nscd/hstcache.c (cache_addhst): Likewise.
712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
713 * nscd/netgroupcache.c (do_notfound): Likewise.
714 (addgetnetgrentX): Likewise.
715 (addinnetgrX): Likewise.
716 * nscd/pwdcache.c (cache_addpw): Likewise.
717 * nscd/servicescache.c (cache_addserv): Likewise.
718
7192014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
720 Atsushi Onoe <atsushi@onoe.org>
721
722 [BZ #14308]
723 [BZ #12994]
724 [BZ #13651]
725 * resolv/res_query.c (__libc_res_nsearch): Return if at least
726 one response is valid.
727 * resolv/res_send.c (send_dg): Check for validity of other
728 response if the current response is a referral.
729
7302014-04-29 Steve Ellcey <sellcey@mips.com>
731
732 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
733
7342014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
735
736 [BZ #16823]
737 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
738 Always divide by positive zero when computing -Inf result.
739 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
740 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
741
7422014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
743
744 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
745 FPSCR if value do not change.
746 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
747 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
748 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
749 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
750 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
751 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
752 function.
753
7542014-05-29 Carlos O'Donell <carlos@systemhalted.org>
755
756 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
757 * sysdeps/unix/sysv/linux/hppa: Move directory from
758 ports/systeps/unix/sysv/linux/hppa.
759 * README: Update listing for hppa-*-linux-gnu.
760
7612014-04-28 Ondřej Bílka <neleai@seznam.cz>
762
763 [BZ #16754]
764 * manual/stdio.texi (Hook functions): Fix types of stream hook
765 functions.
766 [BZ #16854]
767 * socket/sys/socket.h: Fix typo in comment.
768
7692014-04-28 Wilco <wdijkstr@arm.com>
770
771 * sysdeps/arm/fenv_private.h: New file.
772 * sysdeps/arm/math_private.h: New file.
773 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
774
7752014-04-25 H.J. Lu <hongjiu.lu@intel.com>
776
777 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
778 with __int128_t.
779 (La_x86_64_retval): Likewise.
780
7812014-04-24 Ian Bolton <ian.bolton@arm.com>
782
783 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
784 fpsr if value didn't change.
785 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
786 to fpcr if value didn't change.
787 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
788 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
789 fpsr or fpcr if value didn't change.
790 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
791 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
792 fpcr if value didn't change.
793 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
794 to fpsr if value didn't change.
795
7962014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
797
798 * nptl/tst-sem3.c: Use test-skeleton.c
799 (main): Rename to do_test. Use return instead of
800 exit.
801 * nptl/tst-sem4.c: Use test-skeleton.c
802 (main): Rename to do_test.
803
8042014-04-22 David S. Miller <davem@davemloft.net>
805
806 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
807 (struct sigaction): New struct member __glibc_reserved0, change
808 type of sa_flags to int.
809
8102014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
811
812 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
813 (COUNT_LEADING_ZEROS_0): Define for AArch64.
814
8152014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
816
817 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
818 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
819
8202014-04-22 Will Newton <will.newton@linaro.org>
821 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
822
823 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
824 (__longjmp): Add longjmp and longjmp_target SystemTap
825 probes.
826 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
827 (__sigsetjmp): Add setjmp SystemTap probe.
828
8292014-04-17 Carlos O'Donell <carlos@redhat.com>
830
831 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
832 match manual order.
833
8342014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
835
836 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
837
838 * sysdeps/powerpc/fpu/fenv_private.h
839 (libc_feholdexcept_setroundl_ctx): Define to
840 libc_feholdexcept_setround_ppc_ctx.
841 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
842 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
843 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
844 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
845
8462014-04-17 Ian Bolton <ian.bolton@arm.com>
847
848 * sysdeps/aarch64/math-tests.h: New file.
849
8502014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
851
852 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
853 New.
854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
855 Check and set bit_AVX2_Usable.
856 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
857 macro.
858 (bit_AVX2): Likewise.
859 (index_AVX2_Usable): Likewise.
860 (CPUID_AVX2): Likewise.
861 (HAS_AVX2): Likewise.
862
8632014-04-17 Will Newton <will.newton@linaro.org>
864
865 * manual/setjmp.texi (System V contexts): Add note that
866 calling setcontext on a context created by a call to a
867 signal handler is undefined. Update text to note that
868 setcontext from a signal handler is possible but not
869 recommended.
870
871 [BZ #16629]
872 * stdlib/tst-setcontext.c: Include signal.h.
873 (main): Check that the signal stack before and
874 after swapcontext is the same.
875
876 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
877 Re-implement to restore registers in user code and avoid
878 rt_sigreturn system call.
879
8802014-04-17 Wilco <wdijkstr@arm.com>
881
882 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
883 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
884 * math/test-fenv.c: Skip exception trap tests on targets which only
885 support non-stop mode.
886
8872014-04-17 Ian Bolton <ian.bolton@arm.com>
888 Wilco Dijkstra <wilco.dijkstra@arm.com>
889
890 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
891 (libc_feholdsetround_aarch64_ctx)
892 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
893 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
894 (libc_feresetround_ctx, libc_feresetroundf_ctx)
895 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
896 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
897 (libc_feresetround_noexl_ctx): Define.
898
8992014-04-16 Richard Henderson <rth@redhat.com>
900
901 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
902
903 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
904 unwind tables.
905
906 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
907 const from the non-libc, non-ldso copy.
908
909 * sysdeps/alpha/libm-test-ulps: Regenerate.
910
9112014-04-16 Ian Bolton <ian.bolton@arm.com>
912 Wilco Dijkstra <wilco.dijkstra@arm.com>
913
914 * sysdeps/aarch64/fpu/math_private.h: New file.
915
9162014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
917
918 * sysdeps/aarch64/libm-test-ulps: Regenerate.
919
9202014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
921
922 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
923 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
924 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
925 Intel MPX bound registers before _dl_profile_fixup.
926 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
927 registers after _dl_profile_fixup. Save and restore bound
928 registers bnd0/bnd1 when calling _dl_call_pltexit.
929 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
930 (LR_BND_OFFSET): Likewise.
931 (LRV_BND0_OFFSET): Likewise.
932 (LRV_BND1_OFFSET): Likewise.
933
9342014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
935
936 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
937 to...
938 * sysdeps/mach/hurd/i386/tls.h: ... here.
939 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
940 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
941 fields.
942
9432014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
944
945 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
946
9472014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
948
949 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
950
9512014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
952
953 [BZ #14770]
954 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
955 * sysdeps/s390/configure: Regenerate.
956
957 [BZ #16824]
958 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
959 Set round-to-nearest internally to reduce error accumulation.
960
9612014-04-16 Alan Modra <amodra@gmail.com>
962
963 [BZ #16740]
964 [BZ #16619]
965 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
966 * math/libm-test.inc (frexp_test_data): Add tests.
967 * NEWS: Update fixed bug list.
968
9692014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
970
971 * benchtests/Makefile: Depend on libraries in build directory.
972 (bench-math): Separate out math tests.
973 (bench-pthread): Separate out pthread tests.
974 (bench): Include math and pthread tests.
975
9762014-04-14 Carlos O'Donell <carlos@redhat.com>
977
978 [BZ #16831]
979 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
980 _dl_debug_initialize.
981
982 * configure.ac: Remove SELinux header check.
983 * configure: Regenerate.
984 * nscd/selinux.c (perms): Array of const char* to permission names.
985 (nscd_request_avc_has_perm): Call security_deny_unknown to find
986 default policy. Call string_to_security_class and string_to_av_perm to
987 translate strings. Enforce default policy and call avs_has_perm with
988 results of translated strings.
989
9902014-04-13 David S. Miller <davem@davemloft.net>
991
992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
993
9942014-04-12 Allan McRae <allan@archlinux.org>
995
996 [BZ #16838]
997 * manual/string.texi (Collation Functions): Fix qsort argument
998 order in example.
999 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1000
10012014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1002
1003 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1004 Make the test a no-op if there are no exceptions defined.
1005
10062014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1007
1008 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1009 enable-hardcoded-path-in-tests
1010
10112014-04-11 Will Newton <will.newton@linaro.org>
1012
1013 * benchtests/Makefile (extra-objs): Add json-lib.o.
1014 (bench-func): Tidy up JSON output.
1015 * benchtests/bench-skeleton.c: Include json-lib.h.
1016 (main): Use JSON library functions to do output of
1017 benchmark results.
1018 * benchtests/bench-timing-type.c (main): Output the
1019 timing type simply, leaving formatting to the user.
1020 * benchtests/json-lib.c: New file.
1021 * benchtests/json-lib.h: Likewise.
1022
10232014-04-11 Torvald Riegel <triegel@redhat.com>
1024
1025 [BZ #15215]
1026 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1027 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1028 memory barriers. Add comments.
1029 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1030 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1031 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1032 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1033 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1034 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1035
10362014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1037
1038 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1039 * sysdeps/s390/s390-64/configure.ac: ... this ...
1040 * sysdeps/s390/configure.ac: ... to here.
1041 * sysdeps/s390/s390-32/configure: Delete file.
1042 * sysdeps/s390/s390-64/configure: Delete file.
1043 * sysdeps/s390/configure: Regenerate.
1044
10452014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1046
1047 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1048
10492014-04-11 Will Newton <will.newton@linaro.org>
1050
1051 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1052 to zero if it is not defined elsewhere. (mtrim): Test
1053 the value of MALLOC_DEBUG with #if rather than #ifdef.
1054
10552014-04-10 Torvald Riegel <triegel@redhat.com>
1056
1057 * benchtests/pthread_once-inputs: New file.
1058 * benchtests/pthread_once-source.c: New file.
1059 * benchtests/README: Update documentation.
1060
10612014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1062 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1065 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1066 * sysdeps/x86_64/configure: Regenerated.
1067 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1068 macro.
1069 (REGISTER_SAVE_RAX): Likewise.
1070 (REGISTER_SAVE_RCX): Likewise.
1071 (REGISTER_SAVE_RDX): Likewise.
1072 (REGISTER_SAVE_RSI): Likewise.
1073 (REGISTER_SAVE_RDI): Likewise.
1074 (REGISTER_SAVE_R8): Likewise.
1075 (REGISTER_SAVE_R9): Likewise.
1076 (REGISTER_SAVE_BND0): Likewise.
1077 (REGISTER_SAVE_BND1): Likewise.
1078 (REGISTER_SAVE_BND2): Likewise.
1079 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1080 bound registers when calling _dl_fixup.
1081
10822014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083
1084 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1085 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1086 of its definition.
1087 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1088 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1089 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1090 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1091 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1092 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1093 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1094
10952014-04-09 Peter Brett <peter@peter-b.co.uk>
1096
1097 [BZ #15514]
1098 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1099 pathconf(_PC_NAME_MAX).
1100
11012014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1102
1103 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1104 Remove macro usage.
1105 (__PTHREAD_SPINS): Move definition to ...
1106 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1107 (__PTHREAD_SPINS): ... here.
1108 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1109 (__PTHREAD_SPIN): Likewise.
1110 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1111 (__PTHREAD_SPIN): Likewise.
1112 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1113 (__PTHREAD_SPIN): Likewise.
1114 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1115 (__PTHREAD_SPIN): Likewise.
1116 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1117 (__PTHREAD_SPIN): Likewise.
1118 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1119 (__PTHREAD_SPIN): Likewise.
1120 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1121 (__PTHREAD_SPIN): Likewise.
1122 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1123 (__PTHREAD_SPIN): Likewise.
1124 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1125 (__PTHREAD_SPIN): Likewise.
1126 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1127 (__PTHREAD_SPIN): Likewise.
1128 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1129 (__PTHREAD_SPIN): Likewise.
1130 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1131 (__PTHREAD_SPIN): Likewise.
1132
1133 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1134 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1135 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1136 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1137 imply folder.
1138 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1139 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1140 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1141 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1142 correct imply path.
1143 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1144 strlen symbol for non multi-arch builds.
1145 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1146 missing hidden_def and weak_alias.
1147
11482014-04-08 Carlos O'Donell <carlos@redhat.com>
1149
1150 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1151
11522014-04-07 Will Newton <will.newton@linaro.org>
1153
1154 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1155 and contents. [!_LIBC] Remove #ifndef and contents.
1156 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1157 * string/memccpy.c (__memccpy): Use ANSI prototype.
1158 * string/memfrob.c (memfrob): Likewise.
1159 * string/strcoll.c (STRCOLL): Likewise.
1160 * string/strlen.c (strlen): Likewise.
1161 * string/strtok.c (STRTOK): Likewise.
1162 * string/strcat.c: Remove unused #include of memcopy.h.
1163 (strcat): Use ANSI prototype.
1164 * string/strchr.c: Remove unused #include of memcopy.h.
1165 (strchr): Use ANSI prototype.
1166 * string/strcmp.c: Remove unused #include of memcopy.h.
1167 (strcmp): Use ANSI prototype.
1168 * string/strcpy.c: Remove unused #include of memcopy.h.
1169 (strcpy): Use ANSI prototype.
1170
11712014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172
1173 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1174 * config.make.in (config-extra-cppflags): Set it from
1175 libc_extra_cppflags.
1176 * configure.ac (libc_extra_cflags): Make it accumulate over
1177 configure fragments.
1178 (libc_extra_cppflags): New flag.
1179 * configure. Regenerate.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1181 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1182 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1184
1185 [BZ #16815]
1186 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1187 result for FE_DOWNWARD rounding mode.
1188 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1189 Likewise.
1190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1191
11922014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1193
1194 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1195 in function argument name.
1196
11972014-04-03 David Svoboda <svoboda@cert.org>
1198
1199 [BZ #5666]
1200 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1201 explicitly.
1202
12032014-04-03 Roland McGrath <roland@hack.frob.com>
1204
1205 * elf/dl-unmap-segments.h: New file.
1206 * sysdeps/generic/ldsodefs.h
1207 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1208 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1209 * elf/dl-fptr.c: Likewise.
1210 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1211 * sysdeps/aarch64/tlsdesc.c: Likewise.
1212 * sysdeps/arm/tlsdesc.c: Likewise.
1213 * sysdeps/i386/tlsdesc.c: Likewise.
1214 * sysdeps/tile/dl-runtime.c: Likewise.
1215 * sysdeps/x86_64/tlsdesc.c: Likewise.
1216 * elf/dl-load.h: New file.
1217 * elf/dl-load.c: Include it.
1218 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1219 Macros moved to dl-load.h.
1220 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1221 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1222 Use _dl_unmap_segments in place of __munmap.
1223 Break out segment-mapping loop into ...
1224 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1225
12262014-04-03 Will Newton <will.newton@linaro.org>
1227
1228 * elf/dl-lookup.c (do_lookup_x): Remove comment
1229 referring to nested function and move variable
1230 declarations down to before first use.
1231
12322014-04-02 Joseph Myers <joseph@codesourcery.com>
1233
1234 [BZ #16799]
1235 [BZ #16800]
1236 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1237 with 0 numerator.
1238 * math/s_catanf.c (__catanf): Likewise.
1239 * math/s_catanh.c (__catanh): Likewise.
1240 * math/s_catanhf.c (__catanhf): Likewise.
1241 * math/s_catanhl.c (__catanhl): Likewise.
1242 * math/s_catanl.c (__catanl): Likewise.
1243 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1244 by positive zero when computing -Inf result.
1245 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1246 (catanh_test): Likewise.
1247 * sysdeps/i386/fpu/libm-test-ulps: Update.
1248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1249
1250 [BZ #16789]
1251 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1252 instead of using underflowing value in computing result.
1253 * math/s_clog10.c (__clog10): Likewise.
1254 * math/s_clog10f.c (__clog10f): Likewise.
1255 * math/s_clog10l.c (__clog10l): Likewise.
1256 * math/s_clogf.c (__clogf): Likewise.
1257 * math/s_clogl.c (__clogl): Likewise.
1258 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1259 (clog10_test): Likewise.
1260 * sysdeps/i386/fpu/libm-test-ulps: Update.
1261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1262
12632014-04-02 Alan Modra <amodra@gmail.com>
1264
1265 [BZ #16739]
1266 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1267 output when value is near a power of two. Use int64_t for lx and
1268 remove casts. Use decimal rather than hex exponent constants.
1269 Don't use long double multiplication when double will suffice.
1270 * math/libm-test.inc (nextafter_test_data): Add tests.
1271 * NEWS: Add 16739 and 16786 to bug list.
1272
1273 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1274
1275 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1276
12772014-04-01 Will Newton <will.newton@linaro.org>
1278
1279 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1280 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1281
12822014-04-01 Florian Weimer <fweimer@redhat.com>
1283
1284 [BZ #13347]
1285 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1286 * nptl/tst-setuid2.c: New file.
1287 * nptl/Makefile (xtests): Add tst-setuid2.
1288
12892014-04-01 Alan Modra <amodra@gmail.com>
1290
1291 [BZ #16786]
1292 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1293
12942014-03-31 Joseph Myers <joseph@codesourcery.com>
1295
1296 [BZ #6803]
1297 [BZ #6804]
1298 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1299 set errno as appropriate.
1300 * math/w_scalbf.c (__scalbf): Likewise.
1301 * math/w_scalbl.c (__scalbl): Likewise.
1302 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1303 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1304 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1305 Add more NaN tests.
1306
1307 [BZ #16349]
1308 * math/w_atan2.c: Include <errno.h>.
1309 (__atan2): Set errno for result underflowing to zero.
1310 * math/w_atan2f.c: Include <errno.h>.
1311 (__atan2f): Set errno for result underflowing to zero.
1312 * math/w_atan2l.c: Include <errno.h>.
1313 (__atan2l): Set errno for result underflowing to zero.
1314 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1315 tests.
1316 * math/auto-libm-test-out: Regenerated.
1317
13182014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1319
1320 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1321 Encode instruction correctly in little endian.
1322 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1323 Likewise.
1324 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1325 Likewise.
1326 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1327 Likewise.
1328 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1329 Likewise.
1330
13312014-03-31 Joseph Myers <joseph@codesourcery.com>
1332
1333 [BZ #9894]
1334 * sysdeps/unix/sysv/linux/kernel-features.h
1335 [__sparc__ && !__arch64__ && !__sparc_v9__]
1336 (__ASSUME_SET_ROBUST_LIST): Do not define.
1337 [__sparc__ && !__arch64__ && !__sparc_v9__]
1338 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1339 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1340 Likewise.
1341 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1342 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1343 (__ASSUME_REQUEUE_PI): Likewise.
1344 (__ASSUME_SET_ROBUST_LIST): Likewise.
1345 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1346 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1347 Undefine.
1348 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1349 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1350 Likewise.
1351 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1352 Likewise.
1353 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1354 Likewise.
1355 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1356 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1357 Undefine.
1358 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1359 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1360 Likewise.
1361
1362 [BZ #16648]
1363 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1364 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1365 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1366
13672014-03-31 Will Newton <will.newton@linaro.org>
1368
1369 * benchtests/Makefile (bench): Add ffs and ffsll to list
1370 of tests.
1371 * benchtests/ffs-inputs: New file.
1372 * benchtests/ffsll-inputs: Likewise.
1373
13742014-03-29 Joseph Myers <joseph@codesourcery.com>
1375
1376 [BZ #16770]
1377 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1378 too large before casting to int.
1379 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1380 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1381 * math/libm-test.inc (scalb_test_data): Add more tests.
1382
13832014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1384
1385 * benchtests/Makefile (DETAILED_OPT): New make option.
1386 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1387 set.
1388 * benchtests/bench-skeleton.c: Include stdbool.h.
1389 (main): Store and print timings per input.
1390 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1391 member to each argument value.
1392 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1393 (_print_arg_data): Initialize per-input timing to 0.
1394
1395 * benchtests/Makefile (timing-type): New binary.
1396 (bench-clean): Also remove bench-timing-type.
1397 (bench): New target for timing-type.
1398 (bench-func): Print output in JSON format.
1399 * benchtests/bench-skeleton.c (main): Print output in JSON
1400 format.
1401 * benchtests/bench-timing-type.c: New file.
1402 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1403 (TIMING_PRINT_STATS): Remove.
1404 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1405 name separately.
1406
1407 * benchtests/bench-modf.c: Remove.
1408 * benchtests/modf-inputs: New inputs file.
1409
14102014-03-28 Joseph Myers <joseph@codesourcery.com>
1411
1412 [BZ #16362]
1413 * math/s_clog10.c (M_PI_LOG10E): New macro.
1414 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1415 imaginary parts are 0.
1416 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1417 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1418 imaginary parts are 0.
1419 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1420 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1421 imaginary parts are 0.
1422 * math/libm-test.inc (clog10_test_data): Update expected results
1423 for when real and imaginary parts are 0.
1424
14252014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1426
1427 * elf/dl-load.c: Finish conversion of __builtin_expect into
1428 __glibc_{un}likely.
1429
14302014-03-27 Joseph Myers <joseph@codesourcery.com>
1431
1432 [BZ #16348]
1433 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1434 1+x for argument with exponent below -67.
1435 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1436 Likewise.
1437 * math/auto-libm-test-in: Add more tests of exp.
1438 * math/auto-libm-test-out: Regenerated.
1439
14402014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1441
1442 [BZ #16759]
1443 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1444 (nscd_getnetgrent): Use it.
1445
1446 [BZ #16760]
1447 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1448 of stpcpy.
1449
14502014-03-27 Andi Kleen <ak@linux.intel.com>
1451
1452 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1453 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1454 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1455 (lll_robust_unlock): Remove out of line section. Use cfi
1456 intrinsics.
1457 (LLL_STUB_UNWIND_INFO*): Remove.
1458 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1459 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1460 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1461 (lll_robust_unlock): Remove out of line section. Use cfi
1462 intrinsics.
1463 (LLL_STUB_UNWIND_INFO*): Remove.
1464
14652014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1466
1467 [BZ #16758]
1468 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1469 blank values.
1470
14712014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1472
1473 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1474
14752014-03-26 Joseph Myers <joseph@codesourcery.com>
1476
1477 [BZ #16198]
1478 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1479 fnstenv.
1480 * math/test-fenv-preserve.c: New file.
1481 * math/Makefile (tests): Add test-fenv-preserve.
1482
14832014-03-26 Will Newton <will.newton@linaro.org>
1484
1485 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1486
14872014-03-25 Roland McGrath <roland@hack.frob.com>
1488
1489 * scripts/versionlist.awk: Partition the version sets and emit all
1490 GLIBC_* (sorted) before all others (sorted).
1491
14922014-03-25 Joseph Myers <joseph@codesourcery.com>
1493
1494 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1495 GLIBC_2.2.5 version.
1496
14972014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1498
1499 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1500 calls.
1501
1502 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1503 previous change.
1504
1505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1506
15072014-03-25 Andreas Schwab <schwab@suse.de>
1508
1509 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1510 label to be used after in6ailist is initialized.
1511
15122014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1513
1514 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1515 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1516
15172014-03-25 Joseph Myers <joseph@codesourcery.com>
1518
1519 [BZ #16357]
1520 [BZ #16599]
1521 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1522 min_plus_half.
1523 (fp_formats): Update initializers.
1524 (init_fp_formats): Initialize new field.
1525 (output_for_one_input_case): Allow underflow for results up to
1526 min_plus_half.
1527 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1528 * math/auto-libm-test-in: Don't mark some underflows from asin and
1529 atanh as spurious.
1530 * math/auto-libm-test-out: Regenerated.
1531 * sysdeps/i386/fpu/libm-test-ulps: Update.
1532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1533
15342014-03-25 Andreas Schwab <schwab@suse.de>
1535
1536 * libio/Makefile (tst-ftell-partial-wide-ENV)
1537 (tst-ftell-active-handler-ENV): Define.
1538
15392014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1540
1541 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1542
15432014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1544
1545 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1546
15472014-03-24 Joseph Myers <joseph@codesourcery.com>
1548
1549 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1550 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1551 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1552
15532014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1554
1555 [BZ #16634]
1556 * elf/dl-load.c (open_verify): Add mode parameter.
1557 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1558 (open_path): Change from boolean 'secure' to complete flag 'mode'
1559 (_dl_map_object): Adjust.
1560 * elf/Makefile (tests): Add tst-dlopen-aout.
1561 * elf/tst-dlopen-aout.c: New test.
1562
15632014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1564
1565 [BZ #16714]
1566 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1567 (struct stat): Rename member pad0 to __glibc_reserved0.
1568
1569 [BZ #16712]
1570 * sysdeps/s390/s390-32/bits/wordsize.h
1571 (__WORDSIZE32_SIZE_ULONG): New define.
1572 * sysdeps/s390/s390-64/bits/wordsize.h
1573 (__WORDSIZE32_SIZE_ULONG): Likewise.
1574 * sysdeps/generic/stdint.h (SIZE_MAX):
1575 Define as UL if __WORDSIZE32_SIZE_ULONG.
1576
1577 [BZ #16713]
1578 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1579 (__glibc_reserved0): New variable.
1580 (sa_flags): Change type to int.
1581
1582 * posix/Makefile (before-compile): Use += before-compile instead
1583 of a :=.
1584
1585 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1586 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1587
15882014-03-20 Andreas Schwab <schwab@suse.de>
1589
1590 [BZ #16743]
1591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1592 non-matching result from nscd.
1593
15942014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1595
1596 * scripts/bench.py: Moved to ...
1597 * benchtests/scripts/bench.py: ... here.
1598 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1599
16002014-03-24 Andreas Schwab <schwab@suse.de>
1601
1602 [BZ #16002]
1603 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1604 alloca_account and account alloca use for struct in6ailist.
1605
16062014-03-24 Joseph Myers <joseph@codesourcery.com>
1607
1608 [BZ #16284]
1609 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1610 rounding mode to recompute results that overflow to infinity or
1611 underflow to zero.
1612 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1613 bug 16284.
1614 * math/auto-libm-test-out: Regenerated.
1615 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1616 (ccosh_test): Likewise.
1617 (csin_test_data): Use plus_oflow.
1618 (csin_test): Use ALL_RM_TEST.
1619 (csinh_test_data): Use plus_oflow.
1620 (csinh_test): Use ALL_RM_TEST.
1621 * sysdeps/i386/fpu/libm-test-ulps: Update.
1622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1623
16242014-03-21 Joseph Myers <joseph@codesourcery.com>
1625
1626 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1627 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1628 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1629
1630 [BZ #16731]
1631 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1632 when x - 1 is zero.
1633 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1634 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1635 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1636 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1637 argument is 1.
1638 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1639 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1640 zero.
1641 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1642 * sysdeps/i386/fpu/libm-test-ulps: Update.
1643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1644
16452014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1646
1647 * scripts/bench.pl: Remove file.
1648 * scripts/bench.py: New benchmark script.
1649 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1650 * benchtests/README: Mention python dependency.
1651 * scripts/pylintrc: New file.
1652 * scripts/pylint: New file.
1653
1654 * bits/mathdef.h: Use #ifdef instead of #if.
1655 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1656 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1657 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1658 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1659 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1660 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1661
16622014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1663 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1664
1665 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1667 and strpbrk-ppc64 objects.
1668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1669 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1670 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1671 multiarch strpbrk for POWER7.
1672 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1673 multiarch strpbrk for PPC64.
1674 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1675 ifunc selector.
1676 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1677 strpbrk for POWER7.
1678
16792014-03-20 Joseph Myers <joseph@codesourcery.com>
1680
1681 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1682 (atan_test): Likewise.
1683 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1684 (atanh_test): Use ALL_RM_TEST.
1685 (atan2_test_data): Likewise.
1686 (cabs_test): Likewise.
1687 (cacosh_test): Likewise.
1688 (carg_test): Likewise.
1689 (casin_test): Likewise.
1690 (casinh_test): Likewise.
1691 (cbrt_test): Likewise.
1692 (csqrt_test): Likewise.
1693 (erf_test): Likewise.
1694 (erfc_test): Likewise.
1695 (pow10_test): Likewise.
1696 (exp2_test): Likewise.
1697 (hypot_test): Likewise.
1698 (j0_test): Likewise.
1699 (j1_test): Likewise.
1700 (lgamma_test): Likewise.
1701 (gamma_test): Likewise.
1702 (sincos_test): Likewise.
1703 (tanh_test): Likewise.
1704 (y0_test): Likewise.
1705 (y1_test): Likewise.
1706 * sysdeps/i386/fpu/libm-test-ulps: Update.
1707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1708
17092014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1710
1711 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1713 and strcspn-ppc64 objects.
1714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1715 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1716 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1717 multiarch strcspn for POWER7.
1718 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1719 multiarch strcspn for PPC64.
1720 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1721 ifunc selector.
1722 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1723 strcspn for POWER7.
1724
17252014-03-20 Joseph Myers <joseph@codesourcery.com>
1726
1727 * math/gen-libm-test.pl (generate_testfile): Expect only function
1728 name as argument to AUTO_TESTS_* and pass results for all rounding
1729 modes to parse_args.
1730 (parse_auto_input): Separate inputs of automatic tests from
1731 outputs before storing in %auto_tests.
1732 * math/libm-test.inc (acos_test_data): Update call to
1733 AUTO_TESTS_f_f.
1734 (acos_test): Use ALL_RM_TEST.
1735 (acos_tonearest_test_data): Remove.
1736 (acos_test_tonearest): Likewise.
1737 (acos_towardzero_test_data): Likewise.
1738 (acos_test_towardzero): Likewise.
1739 (acos_downward_test_data): Likewise.
1740 (acos_test_downward): Likewise.
1741 (acos_upward_test_data): Likewise.
1742 (acos_test_upward): Likewise.
1743 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1744 (asin_test_data): Likewise.
1745 (asin_test): Use ALL_RM_TEST.
1746 (asin_tonearest_test_data): Remove.
1747 (asin_test_tonearest): Likewise.
1748 (asin_towardzero_test_data): Likewise.
1749 (asin_test_towardzero): Likewise.
1750 (asin_downward_test_data): Likewise.
1751 (asin_test_downward): Likewise.
1752 (asin_upward_test_data): Likewise.
1753 (asin_test_upward): Likewise.
1754 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1755 (atan_test_data): Likewise.
1756 (atanh_test_data): Likewise.
1757 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1758 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1759 (carg_test_data): Likewise.
1760 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1761 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1762 (ccosh_test_data): Likewise.
1763 (cexp_test_data): Likewise.
1764 (clog_test_data): Likewise.
1765 (clog10_test_data): Likewise.
1766 (cos_test_data): Update call to AUTO_TESTS_f_f.
1767 (cos_test): Use ALL_RM_TEST.
1768 (cos_tonearest_test_data): Remove.
1769 (cos_test_tonearest): Likewise.
1770 (cos_towardzero_test_data): Likewise.
1771 (cos_test_towardzero): Likewise.
1772 (cos_downward_test_data): Likewise.
1773 (cos_test_downward): Likewise.
1774 (cos_upward_test_data): Likewise.
1775 (cos_test_upward): Likewise.
1776 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1777 (cosh_test): Use ALL_RM_TEST.
1778 (cosh_tonearest_test_data): Remove.
1779 (cosh_test_tonearest): Likewise.
1780 (cosh_towardzero_test_data): Likewise.
1781 (cosh_test_towardzero): Likewise.
1782 (cosh_downward_test_data): Likewise.
1783 (cosh_test_downward): Likewise.
1784 (cosh_upward_test_data): Likewise.
1785 (cosh_test_upward): Likewise.
1786 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1787 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1788 (ctan_test_data): Likewise.
1789 (ctan_test): Use ALL_RM_TEST.
1790 (ctan_tonearest_test_data): Remove.
1791 (ctan_test_tonearest): Likewise.
1792 (ctan_towardzero_test_data): Likewise.
1793 (ctan_test_towardzero): Likewise.
1794 (ctan_downward_test_data): Likewise.
1795 (ctan_test_downward): Likewise.
1796 (ctan_upward_test_data): Likewise.
1797 (ctan_test_upward): Likewise.
1798 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1799 (ctanh_test): Use ALL_RM_TEST.
1800 (ctanh_tonearest_test_data): Remove.
1801 (ctanh_test_tonearest): Likewise.
1802 (ctanh_towardzero_test_data): Likewise.
1803 (ctanh_test_towardzero): Likewise.
1804 (ctanh_downward_test_data): Likewise.
1805 (ctanh_test_downward): Likewise.
1806 (ctanh_upward_test_data): Likewise.
1807 (ctanh_test_upward): Likewise.
1808 (erf_test_data): Update call to AUTO_TESTS_f_f.
1809 (erfc_test_data): Likewise.
1810 (exp_test_data): Likewise.
1811 (exp_test): Use ALL_RM_TEST.
1812 (exp_tonearest_test_data): Remove.
1813 (exp_test_tonearest): Likewise.
1814 (exp_towardzero_test_data): Likewise.
1815 (exp_test_towardzero): Likewise.
1816 (exp_downward_test_data): Likewise.
1817 (exp_test_downward): Likewise.
1818 (exp_upward_test_data): Likewise.
1819 (exp_test_upward): Likewise.
1820 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1821 (exp10_test): Use ALL_RM_TEST.
1822 (exp10_tonearest_test_data): Remove.
1823 (exp10_test_tonearest): Likewise.
1824 (exp10_towardzero_test_data): Likewise.
1825 (exp10_test_towardzero): Likewise.
1826 (exp10_downward_test_data): Likewise.
1827 (exp10_test_downward): Likewise.
1828 (exp10_upward_test_data): Likewise.
1829 (exp10_test_upward): Likewise.
1830 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1831 (expm1_test_data): Likewise.
1832 (expm1_test): Use ALL_RM_TEST.
1833 (expm1_tonearest_test_data): Remove.
1834 (expm1_test_tonearest): Likewise.
1835 (expm1_towardzero_test_data): Likewise.
1836 (expm1_test_towardzero): Likewise.
1837 (expm1_downward_test_data): Likewise.
1838 (expm1_test_downward): Likewise.
1839 (expm1_upward_test_data): Likewise.
1840 (expm1_test_upward): Likewise.
1841 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1842 (fma_test): Use ALL_RM_TEST.
1843 (fma_towardzero_test_data): Remove.
1844 (fma_test_towardzero): Likewise.
1845 (fma_downward_test_data): Likewise.
1846 (fma_test_downward): Likewise.
1847 (fma_upward_test_data): Likewise.
1848 (fma_test_upward): Likewise.
1849 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1850 (j0_test_data): Update call to AUTO_TESTS_f_f.
1851 (j1_test_data): Likewise.
1852 (jn_test_data): Update call to AUTO_TESTS_if_f.
1853 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1854 (log_test_data): Update call to AUTO_TESTS_f_f.
1855 (log10_test_data): Likewise.
1856 (log1p_test_data): Likewise.
1857 (log2_test_data): Likewise.
1858 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1859 (pow_tonearest_test_data): Likewise.
1860 (sin_test_data): Update call to AUTO_TESTS_f_f.
1861 (sin_test): Use ALL_RM_TEST.
1862 (sin_tonearest_test_data): Remove.
1863 (sin_test_tonearest): Likewise.
1864 (sin_towardzero_test_data): Likewise.
1865 (sin_test_towardzero): Likewise.
1866 (sin_downward_test_data): Likewise.
1867 (sin_test_downward): Likewise.
1868 (sin_upward_test_data): Likewise.
1869 (sin_test_upward): Likewise.
1870 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1871 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1872 (sinh_test): Use ALL_RM_TEST.
1873 (sinh_tonearest_test_data): Remove.
1874 (sinh_test_tonearest): Likewise.
1875 (sinh_towardzero_test_data): Likewise.
1876 (sinh_test_towardzero): Likewise.
1877 (sinh_downward_test_data): Likewise.
1878 (sinh_test_downward): Likewise.
1879 (sinh_upward_test_data): Likewise.
1880 (sinh_test_upward): Likewise.
1881 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1882 (sqrt_test): Use ALL_RM_TEST.
1883 (sqrt_tonearest_test_data): Remove.
1884 (sqrt_test_tonearest): Likewise.
1885 (sqrt_towardzero_test_data): Likewise.
1886 (sqrt_test_towardzero): Likewise.
1887 (sqrt_downward_test_data): Likewise.
1888 (sqrt_test_downward): Likewise.
1889 (sqrt_upward_test_data): Likewise.
1890 (sqrt_test_upward): Likewise.
1891 (tan_test_data): Update call to AUTO_TESTS_f_f.
1892 (tan_test): Use ALL_RM_TEST.
1893 (tan_tonearest_test_data): Remove.
1894 (tan_test_tonearest): Likewise.
1895 (tan_towardzero_test_data): Likewise.
1896 (tan_test_towardzero): Likewise.
1897 (tan_downward_test_data): Likewise.
1898 (tan_test_downward): Likewise.
1899 (tan_upward_test_data): Likewise.
1900 (tan_test_upward): Likewise.
1901 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1902 (tgamma_test_data): Likewise.
1903 (y0_test_data): Likewise.
1904 (y1_test_data): Likewise.
1905 (yn_test_data): Update call to AUTO_TESTS_if_f.
1906 (main): Do not call removed functions.
1907
19082014-03-19 Joseph Myers <joseph@codesourcery.com>
1909
1910 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1911 (ldexp_test_data): Remove.
1912 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1913 scalbn_test_data.
1914 (scalb_test): Use ALL_RM_TEST.
1915
19162014-03-19 Andreas Schwab <schwab@suse.de>
1917
1918 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1919
19202014-03-19 Joseph Myers <joseph@codesourcery.com>
1921
1922 [BZ #16649]
1923 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1924 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1925 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1926 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1927 (__ASSUME_PREADV): Undefine.
1928 (__ASSUME_PWRITEV): Likewise.
1929
19302014-03-18 Roland McGrath <roland@hack.frob.com>
1931
1932 * bits/mman-linux.h: Add comment about non-Linux use.
1933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1934 bits/mman-linux.h resting place.
1935
1936 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1937 * bits/mman-linux.h: ... here.
1938
19392014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1940
1941 * conform/conformtest.pl: Add standard definition when calling C
1942 preprocessor on data files.
1943 (checknamespace): Remove unused variable.
1944
19452014-03-18 Joseph Myers <joseph@codesourcery.com>
1946
1947 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1948 minus_oflow, plus_uflow and minus_uflow in expected results.
1949 * math/libm-test.inc (scalbn_test_data): Add more tests of
1950 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1951 minus_uflow.
1952 (scalbn_test): Use ALL_RM_TEST.
1953 (scalbln_test_data): Add more tests of negative arguments. Use
1954 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1955 (scalbln_test): Use ALL_RM_TEST.
1956
19572014-03-18 Roland McGrath <roland@hack.frob.com>
1958
1959 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1960
19612014-03-18 Will Newton <will.newton@linaro.org>
1962
1963 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1964 inaccurate comment.
1965
19662014-03-18 Joseph Myers <joseph@codesourcery.com>
1967
1968 * Makerules [!subdir] (check-abi): Exit with error status if a
1969 test failed.
1970
19712014-03-17 Joseph Myers <joseph@codesourcery.com>
1972
1973 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1974 for rint. Include results for all rounding modes.
1975 (nearbyint_test): Use ALL_RM_TEST.
1976 (rint_test_data): Include all tests used for nearbyint.
1977
19782014-03-17 Will Newton <will.newton@linaro.org>
1979
1980 * nptl/sysdeps/pthread/pthread.h: Revert previous
1981 change.
1982
1983 * sysdeps/generic/ldsodefs.h: Revert previous
1984 change.
1985
1986 * libio/genops.c: Revert previous change.
1987 * libio/libioP.h: Likewise.
1988 * stdio-common/vfprintf.c: Likewise.
1989
1990 * sysdeps/generic/math_private.h: Revert previous
1991 change.
1992
1993 * sysdeps/generic/math_private.h: Check whether
1994 HAVE_RM_CTX is defined with #ifdef rather
1995 than #if.
1996
1997 * argp/argp-fmtstream.h: Check whether
1998 __STRICT_ANSI__ is defined with #ifdef rather
1999 than #if.
2000 * argp/argp.h: Likewise.
2001
2002 * libio/genops.c: Check whether
2003 _IO_JUMPS_OFFSET is defined with #ifdef rather
2004 than #if.
2005 * libio/libioP.h: Likewise.
2006 * stdio-common/vfprintf.c: Likewise.
2007
2008 * sysdeps/generic/ldsodefs.h: Check whether
2009 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2010 than #if.
2011
2012 * nptl/sysdeps/pthread/pthread.h: Check
2013 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2014 its value.
2015
20162014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2017
2018 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2019 setting O_APPEND.
2020 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2021 test case.
2022
2023 [BZ #16680]
2024 * libio/fileops.c (_IO_file_open): Seek to end of file but
2025 don't cache the offset.
2026 (get_file_offset): Remove function.
2027 (do_ftell): Use cached offset when available.
2028 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2029 don't cache the offset.
2030 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2031 case.
2032 (do_one_test): Call it.
2033 (do_ftell_test): Fix up expected old offset for a+ mode.
2034 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2035 available.
2036
2037 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2038 up test status with function return status.
2039 (do_write_test): Likewise.
2040 (do_append_test): Likewise.
2041
2042 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2043 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2044 Remove.
2045
20462014-03-17 Joseph Myers <joseph@codesourcery.com>
2047
2048 * math/gen-libm-test.pl (parse_args): Handle results specified for
2049 each rounding mode separately.
2050 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2051 tests and results from lrint_tonearest_test_data,
2052 lrint_towardzero_test_data, lrint_downward_test_data and
2053 lrint_upward_test_data.
2054 (lrint_test): Use ALL_RM_TEST.
2055 (lrint_tonearest_test_data): Remove.
2056 (lrint_test_tonearest): Likewise.
2057 (lrint_towardzero_test_data): Likewise.
2058 (lrint_test_towardzero): Likewise.
2059 (lrint_downward_test_data): Likewise.
2060 (lrint_test_downward): Likewise.
2061 (lrint_upward_test_data): Likewise.
2062 (lrint_test_upward): Likewise.
2063 (llrint_test_data): Merge in per-rounding-mode tests and results
2064 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2065 llrint_downward_test_data and llrint_upward_test_data.
2066 (llrint_test): Use ALL_RM_TEST.
2067 (llrint_tonearest_test_data): Remove.
2068 (llrint_test_tonearest): Likewise.
2069 (llrint_towardzero_test_data): Likewise.
2070 (llrint_test_towardzero): Likewise.
2071 (llrint_downward_test_data): Likewise.
2072 (llrint_test_downward): Likewise.
2073 (llrint_upward_test_data): Likewise.
2074 (llrint_test_upward): Likewise.
2075 (rint_test_data): Merge in per-rounding-mode tests and results
2076 from rint_tonearest_test_data, rint_towardzero_test_data,
2077 rint_downward_test_data and rint_upward_test_data. Add
2078 per-rounding-mode results for tests not in those arrays.
2079 (rint_test): Use ALL_RM_TEST.
2080 (rint_tonearest_test_data): Remove.
2081 (rint_test_tonearest): Likewise.
2082 (rint_towardzero_test_data): Likewise.
2083 (rint_test_towardzero): Likewise.
2084 (rint_downward_test_data): Likewise.
2085 (rint_test_downward): Likewise.
2086 (rint_upward_test_data): Likewise.
2087 (rint_test_upward): Likewise.
2088 (main): Don't call removed functions.
2089
20902014-03-14 Roland McGrath <roland@hack.frob.com>
2091
2092 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2093 "Compiled on ..." crapola. It is anti-useful.
2094
20952014-03-14 Joseph Myers <joseph@codesourcery.com>
2096
2097 * scripts/evaluate-test.sh: Handle fourth argument to determine
2098 whether test run should stop on failure.
2099 * Makeconfig (stop-on-test-failure): New variable.
2100 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2101 $(stop-on-test-failure).
2102 * Makefile (tests): Give a summary of results from testing and
2103 exit with failure status if they include an ERROR or FAIL.
2104 (xtests): Likewise.
2105 * manual/install.texi (Configuring and compiling): Mention
2106 stop-on-test-failure=y.
2107 * INSTALL: Regenerated.
2108
21092014-03-14 Roland McGrath <roland@hack.frob.com>
2110
2111 * scripts/versionlist.awk: New file.
2112 * Makerules [$(build-shared) = yes]
2113 (postclean-generated): Add Versions.def, not Versions.def.v and
2114 Versions.def.v.i.
2115 ($(common-objpfx)Versions.def.v.i): Target removed.
2116 ($(common-objpfx)Versions.def): New target.
2117 ($(common-objpfx)Versions.all): Depend on that rather that
2118 $(common-objpfx)Versions.def.v.
2119 * Versions.def: File removed.
2120
2121 * Makeconfig (+gccwarn): Add -Wundef.
2122 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2123 a dl-sysdep.h breaking its contract.
2124 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2125 * include/stackinfo.h: New file.
2126 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2127 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2128 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2129 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2130 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2131 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2132 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2133 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2134 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2135 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2136 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2137 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2138 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2139 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2140 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2141
21422014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2143
2144 [BZ #16707]
2145 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2146 implementation.
2147 * math/libm-test.inc (round_test_data): Add more tests.
2148
2149 [BZ #16706]
2150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2151 implementation.
2152 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2153
2154 [BZ #16701]
2155 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2156 implementation.
2157 * math/libm-test.inc (ceil_test_data): Add more tests.
2158
2159 * math/libm-test.inc (trunc_test_data): Add more tests related to
2160 BZ#16414.
2161
21622014-03-14 Roland McGrath <roland@hack.frob.com>
2163
2164 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2165 with #if rather than #ifdef.
2166 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2167
21682014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2169
2170 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2171 first. Disable AVX-512 GCC support if assembler doesn't support
2172 it.
2173 * sysdeps/x86_64/configure: Regenerated.
2174
21752014-03-13 Carlos O'Donell <carlos@redhat.com>
2176
2177 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2178 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2179 (__old_pthread_attr_setstack): Likewise.
2180 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2181 [!_STACK_GROWS_DOWN]: Likewise.
2182
21832014-03-13 Mike Frysinger <vapier@gentoo.org>
2184
2185 * config.make.in (have-bash2): Delete.
2186 * configure.ac (libc_cv_have_bash2): Delete.
2187 * configure: Regenerate.
2188 * elf/Makefile (common-ldd-rewrite): Rename to ...
2189 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2190 (sh-ldd-rewrite): Delete.
2191 (bash-ldd-rewrite): Delete.
2192 (have-bash2): Delete checks.
2193 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2194 ldd-rewrite.
2195
2196 * config.make.in (have-ksh): Delete.
2197 (KSH): Delete.
2198 * configure.ac (libc_cv_have_ksh): Delete.
2199 * configure: Regenerate.
2200
2201 * elf/Makefile: Delete $(have-ksh) check.
2202 ($(objpfx)sotruss): Change KSH to BASH.
2203 * elf/sotruss.ksh: Rename to ...
2204 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2205 function style to match POSIX. Drop ksh vim mode setting.
2206
2207 * manual/time.texi (Specifying the Time Zone with TZ): Change
2208 Tuesday to Thursday.
2209
2210 * debug/tst-longjmp_chk2.c: Update header comment.
2211 (stackoverflow_handler): Add comment. Call assert on pass value.
2212
22132014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2214
2215 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2216 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2217 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2218 (La_x86_64_vector): Add zmm.
2219 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2220 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2221 ($(objpfx)tst-audit10): New target.
2222 ($(objpfx)tst-audit10.out): Likewise.
2223 (tst-audit10-ENV): New.
2224 (AVX512-CFLAGS): Likewise.
2225 (CFLAGS-tst-audit10.c): Likewise.
2226 (CFLAGS-tst-auditmod10a.c): Likewise.
2227 (CFLAGS-tst-auditmod10b.c): Likewise.
2228 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2229 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2230 * sysdeps/x86_64/configure: Regenerated.
2231 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2232 AVX-512 zmm register support.
2233 (_dl_x86_64_save_sse): Likewise.
2234 (_dl_x86_64_restore_sse): Likewise.
2235 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2236 size vector registers.
2237 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2238 (ZMM_SIZE): Likewise.
2239 * sysdeps/x86_64/tst-audit10.c: New file.
2240 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2241 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2242
22432014-03-13 Roland McGrath <roland@hack.frob.com>
2244
2245 * configure.ac (HAVE_EHDR_START): New check.
2246 * configure: Regenerated.
2247 * config.h.in (HAVE_EHDR_START): New #undef.
2248 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2249 assuming the lowest-addressed segment maps the start of the file.
2250
22512014-03-13 Joseph Myers <joseph@codesourcery.com>
2252
2253 * INSTALL: Regenerated.
2254
22552014-03-13 Will Newton <will.newton@linaro.org>
2256
2257 * manual/setjmp.texi (System V contexts): Improve
2258 clarity and grammar of documentation.
2259
22602014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2261
2262 [BZ #16381]
2263 * elf/Makefile (tests): Add tst-pie2.
2264 (tests-pie): Add tst-pie2.
2265 * elf/tst-pie2.c: New file.
2266 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2267 for ET_EXEC.
2268 * elf/rtld.c (map_doit): Load executable as lt_executable.
2269 (dl_main): Likewise.
2270
22712014-03-12 Joseph Myers <joseph@codesourcery.com>
2272
2273 [BZ #16642]
2274 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2275 (__ASSUME_PSELECT): Undefine.
2276
22772014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2278
2279 [BZ #16689]
2280 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2281 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2282 static build.
2283 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2284 selector for static builds.
2285
22862014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2287
2288 [BZ #16695]
2289 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2290 key in the buffer.
2291
22922014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2293
2294 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2295 IFUNC selector for static builds.
2296
22972014-03-11 Joseph Myers <joseph@codesourcery.com>
2298
2299 * sysdeps/mips/math_private.h [__mips_hard_float]
2300 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2301 libc_feresetround_mips_ctx.
2302 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2303 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2304 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2305
2306 [BZ #16677]
2307 * math/s_nextafter.c (__nextafter): Do not return value from
2308 overflowing computation.
2309 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2310 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2311 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2312 Likewise.
2313 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2314 Likewise.
2315 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2316 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2317
23182014-03-11 Roland McGrath <roland@hack.frob.com>
2319
2320 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2321 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2322 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2323 the new mov targetting sp.
2324
23252014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2326
2327 [BZ #16683]
2328 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2329 Define it for static builds as well.
2330 (NO_BZERO_IMPL): Likewise.
2331
23322014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2333
2334 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2335 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2336 multiarch strspn for PPC64.
2337 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2338 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2340 (__libc_ifunc_impl_list): Likewise.
2341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2342 multiarch optimizations
2343 * string/strspn.c (strspn): Using macro to redefine symbol name.
2344
23452014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2346 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2347
2348 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2349 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2350 multiarch strncat for PPC64.
2351 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2352 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2354 (__libc_ifunc_impl_list): Likewise.
2355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2356 multiarch optimizations
2357
23582014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2359
2360 [BZ #16639]
2361 * nscd/nscd.service: Make service type forking.
2362
23632014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2364
2365 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2366 sign in non default rounding modes.
2367 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2368
23692014-03-08 Joseph Myers <joseph@codesourcery.com>
2370
2371 * math/libm-test.inc (ALL_RM_TEST): New macro.
2372 (ceil_test): Use ALL_RM_TEST.
2373 (cimag_test): Likewise.
2374 (conj_test): Likewise.
2375 (copysign_test): Likewise.
2376 (cproj_test): Likewise.
2377 (creal_test): Likewise.
2378 (fabs_test): Likewise.
2379 (floor_test): Likewise.
2380 (fmax_test): Likewise.
2381 (fmin_test): Likewise.
2382 (fmod_test): Likewise.
2383 (fpclassify_test): Likewise.
2384 (frexp_test): Likewise.
2385 (ilogb_test): Likewise.
2386 (isfinite_test): Likewise.
2387 (finite_test): Likewise.
2388 (isgreater_test): Likewise.
2389 (isgreaterequal_test): Likewise.
2390 (isinf_test): Likewise.
2391 (isless_test): Likewise.
2392 (islessequal_test): Likewise.
2393 (islessgreater_test): Likewise.
2394 (isnan_test): Likewise.
2395 (isnormal_test): Likewise.
2396 (issignaling_test): Likewise.
2397 (isunordered_test): Likewise.
2398 (logb_test): Likewise.
2399 (logb_downward_test_data): Remove.
2400 (logb_test_downward): Likewise.
2401 (lround_test): Use ALL_RM_TEST.
2402 (llround_test): Likewise.
2403 (modf_test): Likewise.
2404 (nexttoward_test): Likewise.
2405 (remainder_test): Likewise.
2406 (drem_test): Likewise.
2407 (remainder_tonearest_test_data): Likewise.
2408 (remainder_test_tonearest): Likewise.
2409 (drem_test_tonearest): Likewise.
2410 (remainder_towardzero_test_data): Likewise.
2411 (remainder_test_towardzero): Likewise.
2412 (drem_test_towardzero): Likewise.
2413 (remainder_downward_test_data): Likewise.
2414 (remainder_test_downward): Likewise.
2415 (drem_test_downward): Likewise.
2416 (remainder_upward_test_data): Likewise.
2417 (remainder_test_upward): Likewise.
2418 (drem_test_upward): Likewise.
2419 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2420 (round_test): Use ALL_RM_TEST.
2421 (signbit_test): Likewise.
2422 (trunc_test): Likewise.
2423 (significand_test): Likewise.
2424 (main): Don't call removed functions.
2425
24262014-03-07 Joseph Myers <joseph@codesourcery.com>
2427
2428 [BZ #16674]
2429 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2430 || __USE_XOPEN2K8].
2431 (ILL_ILLOPN): Likewise.
2432 (ILL_ILLADR): Likewise.
2433 (ILL_ILLTRP): Likewise.
2434 (ILL_PRVOPC): Likewise.
2435 (ILL_PRVREG): Likewise.
2436 (ILL_COPROC): Likewise.
2437 (ILL_BADSTK): Likewise.
2438 (FPE_INTDIV): Likewise.
2439 (FPE_INTOVF): Likewise.
2440 (FPE_FLTDIV): Likewise.
2441 (FPE_FLTOVF): Likewise.
2442 (FPE_FLTUND): Likewise.
2443 (FPE_FLTRES): Likewise.
2444 (FPE_FLTINV): Likewise.
2445 (FPE_FLTSUB): Likewise.
2446 (SEGV_MAPERR): Likewise.
2447 (SEGV_ACCERR): Likewise.
2448 (BUS_ADRALN): Likewise.
2449 (BUS_ADRERR): Likewise.
2450 (BUS_OBJERR): Likewise.
2451 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2452 (TRAP_TRACE): Likewise.
2453 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2454 __USE_XOPEN2K8].
2455 (CLD_KILLED): Likewise.
2456 (CLD_DUMPED): Likewise.
2457 (CLD_TRAPPED): Likewise.
2458 (CLD_STOPPED): Likewise.
2459 (CLD_CONTINUED): Likewise.
2460 (POLL_IN): Likewise.
2461 (POLL_OUT): Likewise.
2462 (POLL_MSG): Likewise.
2463 (POLL_ERR): Likewise.
2464 (POLL_PRI): Likewise.
2465 (POLL_HUP): Likewise.
2466 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2467 Likewise.
2468 (ILL_ILLOPN): Likewise.
2469 (ILL_ILLADR): Likewise.
2470 (ILL_ILLTRP): Likewise.
2471 (ILL_PRVOPC): Likewise.
2472 (ILL_PRVREG): Likewise.
2473 (ILL_COPROC): Likewise.
2474 (ILL_BADSTK): Likewise.
2475 (FPE_INTDIV): Likewise.
2476 (FPE_INTOVF): Likewise.
2477 (FPE_FLTDIV): Likewise.
2478 (FPE_FLTOVF): Likewise.
2479 (FPE_FLTUND): Likewise.
2480 (FPE_FLTRES): Likewise.
2481 (FPE_FLTINV): Likewise.
2482 (FPE_FLTSUB): Likewise.
2483 (SEGV_MAPERR): Likewise.
2484 (SEGV_ACCERR): Likewise.
2485 (BUS_ADRALN): Likewise.
2486 (BUS_ADRERR): Likewise.
2487 (BUS_OBJERR): Likewise.
2488 (BUS_MCEERR_AR): Likewise.
2489 (BUS_MCEERR_AO): Likewise.
2490 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2491 (TRAP_TRACE): Likewise.
2492 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2493 __USE_XOPEN2K8].
2494 (CLD_KILLED): Likewise.
2495 (CLD_DUMPED): Likewise.
2496 (CLD_TRAPPED): Likewise.
2497 (CLD_STOPPED): Likewise.
2498 (CLD_CONTINUED): Likewise.
2499 (POLL_IN): Likewise.
2500 (POLL_OUT): Likewise.
2501 (POLL_MSG): Likewise.
2502 (POLL_ERR): Likewise.
2503 (POLL_PRI): Likewise.
2504 (POLL_HUP): Likewise.
2505 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2506 (ILL_ILLOPN): Likewise.
2507 (ILL_ILLADR): Likewise.
2508 (ILL_ILLTRP): Likewise.
2509 (ILL_PRVOPC): Likewise.
2510 (ILL_PRVREG): Likewise.
2511 (ILL_COPROC): Likewise.
2512 (ILL_BADSTK): Likewise.
2513 (FPE_INTDIV): Likewise.
2514 (FPE_INTOVF): Likewise.
2515 (FPE_FLTDIV): Likewise.
2516 (FPE_FLTOVF): Likewise.
2517 (FPE_FLTUND): Likewise.
2518 (FPE_FLTRES): Likewise.
2519 (FPE_FLTINV): Likewise.
2520 (FPE_FLTSUB): Likewise.
2521 (SEGV_MAPERR): Likewise.
2522 (SEGV_ACCERR): Likewise.
2523 (BUS_ADRALN): Likewise.
2524 (BUS_ADRERR): Likewise.
2525 (BUS_OBJERR): Likewise.
2526 (BUS_MCEERR_AR): Likewise.
2527 (BUS_MCEERR_AO): Likewise.
2528 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2529 (TRAP_TRACE): Likewise.
2530 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2531 __USE_XOPEN2K8].
2532 (CLD_KILLED): Likewise.
2533 (CLD_DUMPED): Likewise.
2534 (CLD_TRAPPED): Likewise.
2535 (CLD_STOPPED): Likewise.
2536 (CLD_CONTINUED): Likewise.
2537 (POLL_IN): Likewise.
2538 (POLL_OUT): Likewise.
2539 (POLL_MSG): Likewise.
2540 (POLL_ERR): Likewise.
2541 (POLL_PRI): Likewise.
2542 (POLL_HUP): Likewise.
2543 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2544 Likewise.
2545 (ILL_ILLOPN): Likewise.
2546 (ILL_ILLADR): Likewise.
2547 (ILL_ILLTRP): Likewise.
2548 (ILL_PRVOPC): Likewise.
2549 (ILL_PRVREG): Likewise.
2550 (ILL_COPROC): Likewise.
2551 (ILL_BADSTK): Likewise.
2552 (ILL_BADIADDR): Likewise.
2553 (ILL_BREAK): Likewise.
2554 (FPE_INTDIV): Likewise.
2555 (FPE_INTOVF): Likewise.
2556 (FPE_FLTDIV): Likewise.
2557 (FPE_FLTOVF): Likewise.
2558 (FPE_FLTUND): Likewise.
2559 (FPE_FLTRES): Likewise.
2560 (FPE_FLTINV): Likewise.
2561 (FPE_FLTSUB): Likewise.
2562 (FPE_DECOVF): Likewise.
2563 (FPE_DECDIV): Likewise.
2564 (FPE_DECERR): Likewise.
2565 (FPE_INVASC): Likewise.
2566 (FPE_INVDEC): Likewise.
2567 (SEGV_MAPERR): Likewise.
2568 (SEGV_ACCERR): Likewise.
2569 (SEGV_PSTKOVF): Likewise.
2570 (BUS_ADRALN): Likewise.
2571 (BUS_ADRERR): Likewise.
2572 (BUS_OBJERR): Likewise.
2573 (BUS_MCEERR_AR): Likewise.
2574 (BUS_MCEERR_AO): Likewise.
2575 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2576 (TRAP_TRACE): Likewise.
2577 (TRAP_BRANCH): Likewise.
2578 (TRAP_HWBKPT): Likewise.
2579 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2580 __USE_XOPEN2K8].
2581 (CLD_KILLED): Likewise.
2582 (CLD_DUMPED): Likewise.
2583 (CLD_TRAPPED): Likewise.
2584 (CLD_STOPPED): Likewise.
2585 (CLD_CONTINUED): Likewise.
2586 (POLL_IN): Likewise.
2587 (POLL_OUT): Likewise.
2588 (POLL_MSG): Likewise.
2589 (POLL_ERR): Likewise.
2590 (POLL_PRI): Likewise.
2591 (POLL_HUP): Likewise.
2592 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2593 (ILL_ILLOPN): Likewise.
2594 (ILL_ILLADR): Likewise.
2595 (ILL_ILLTRP): Likewise.
2596 (ILL_PRVOPC): Likewise.
2597 (ILL_PRVREG): Likewise.
2598 (ILL_COPROC): Likewise.
2599 (ILL_BADSTK): Likewise.
2600 (FPE_INTDIV): Likewise.
2601 (FPE_INTOVF): Likewise.
2602 (FPE_FLTDIV): Likewise.
2603 (FPE_FLTOVF): Likewise.
2604 (FPE_FLTUND): Likewise.
2605 (FPE_FLTRES): Likewise.
2606 (FPE_FLTINV): Likewise.
2607 (FPE_FLTSUB): Likewise.
2608 (SEGV_MAPERR): Likewise.
2609 (SEGV_ACCERR): Likewise.
2610 (BUS_ADRALN): Likewise.
2611 (BUS_ADRERR): Likewise.
2612 (BUS_OBJERR): Likewise.
2613 (BUS_MCEERR_AR): Likewise.
2614 (BUS_MCEERR_AO): Likewise.
2615 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2616 (TRAP_TRACE): Likewise.
2617 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2618 __USE_XOPEN2K8].
2619 (CLD_KILLED): Likewise.
2620 (CLD_DUMPED): Likewise.
2621 (CLD_TRAPPED): Likewise.
2622 (CLD_STOPPED): Likewise.
2623 (CLD_CONTINUED): Likewise.
2624 (POLL_IN): Likewise.
2625 (POLL_OUT): Likewise.
2626 (POLL_MSG): Likewise.
2627 (POLL_ERR): Likewise.
2628 (POLL_PRI): Likewise.
2629 (POLL_HUP): Likewise.
2630 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2631 (ILL_ILLOPN): Likewise.
2632 (ILL_ILLADR): Likewise.
2633 (ILL_ILLTRP): Likewise.
2634 (ILL_PRVOPC): Likewise.
2635 (ILL_PRVREG): Likewise.
2636 (ILL_COPROC): Likewise.
2637 (ILL_BADSTK): Likewise.
2638 (FPE_INTDIV): Likewise.
2639 (FPE_INTOVF): Likewise.
2640 (FPE_FLTDIV): Likewise.
2641 (FPE_FLTOVF): Likewise.
2642 (FPE_FLTUND): Likewise.
2643 (FPE_FLTRES): Likewise.
2644 (FPE_FLTINV): Likewise.
2645 (FPE_FLTSUB): Likewise.
2646 (SEGV_MAPERR): Likewise.
2647 (SEGV_ACCERR): Likewise.
2648 (BUS_ADRALN): Likewise.
2649 (BUS_ADRERR): Likewise.
2650 (BUS_OBJERR): Likewise.
2651 (BUS_MCEERR_AR): Likewise.
2652 (BUS_MCEERR_AO): Likewise.
2653 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2654 (TRAP_TRACE): Likewise.
2655 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2656 __USE_XOPEN2K8].
2657 (CLD_KILLED): Likewise.
2658 (CLD_DUMPED): Likewise.
2659 (CLD_TRAPPED): Likewise.
2660 (CLD_STOPPED): Likewise.
2661 (CLD_CONTINUED): Likewise.
2662 (POLL_IN): Likewise.
2663 (POLL_OUT): Likewise.
2664 (POLL_MSG): Likewise.
2665 (POLL_ERR): Likewise.
2666 (POLL_PRI): Likewise.
2667 (POLL_HUP): Likewise.
2668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2669 (ILL_ILLOPN): Likewise.
2670 (ILL_ILLADR): Likewise.
2671 (ILL_ILLTRP): Likewise.
2672 (ILL_PRVOPC): Likewise.
2673 (ILL_PRVREG): Likewise.
2674 (ILL_COPROC): Likewise.
2675 (ILL_BADSTK): Likewise.
2676 (FPE_INTDIV): Likewise.
2677 (FPE_INTOVF): Likewise.
2678 (FPE_FLTDIV): Likewise.
2679 (FPE_FLTOVF): Likewise.
2680 (FPE_FLTUND): Likewise.
2681 (FPE_FLTRES): Likewise.
2682 (FPE_FLTINV): Likewise.
2683 (FPE_FLTSUB): Likewise.
2684 (SEGV_MAPERR): Likewise.
2685 (SEGV_ACCERR): Likewise.
2686 (BUS_ADRALN): Likewise.
2687 (BUS_ADRERR): Likewise.
2688 (BUS_OBJERR): Likewise.
2689 (BUS_MCEERR_AR): Likewise.
2690 (BUS_MCEERR_AO): Likewise.
2691 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2692 (TRAP_TRACE): Likewise.
2693 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2694 __USE_XOPEN2K8].
2695 (CLD_KILLED): Likewise.
2696 (CLD_DUMPED): Likewise.
2697 (CLD_TRAPPED): Likewise.
2698 (CLD_STOPPED): Likewise.
2699 (CLD_CONTINUED): Likewise.
2700 (POLL_IN): Likewise.
2701 (POLL_OUT): Likewise.
2702 (POLL_MSG): Likewise.
2703 (POLL_ERR): Likewise.
2704 (POLL_PRI): Likewise.
2705 (POLL_HUP): Likewise.
2706 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2707 (ILL_ILLOPN): Likewise.
2708 (ILL_ILLADR): Likewise.
2709 (ILL_ILLTRP): Likewise.
2710 (ILL_PRVOPC): Likewise.
2711 (ILL_PRVREG): Likewise.
2712 (ILL_COPROC): Likewise.
2713 (ILL_BADSTK): Likewise.
2714 (ILL_DBLFLT): Likewise.
2715 (ILL_HARDWALL): Likewise.
2716 (FPE_INTDIV): Likewise.
2717 (FPE_INTOVF): Likewise.
2718 (FPE_FLTDIV): Likewise.
2719 (FPE_FLTOVF): Likewise.
2720 (FPE_FLTUND): Likewise.
2721 (FPE_FLTRES): Likewise.
2722 (FPE_FLTINV): Likewise.
2723 (FPE_FLTSUB): Likewise.
2724 (SEGV_MAPERR): Likewise.
2725 (SEGV_ACCERR): Likewise.
2726 (BUS_ADRALN): Likewise.
2727 (BUS_ADRERR): Likewise.
2728 (BUS_OBJERR): Likewise.
2729 (BUS_MCEERR_AR): Likewise.
2730 (BUS_MCEERR_AO): Likewise.
2731 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2732 (TRAP_TRACE): Likewise.
2733 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2734 __USE_XOPEN2K8].
2735 (CLD_KILLED): Likewise.
2736 (CLD_DUMPED): Likewise.
2737 (CLD_TRAPPED): Likewise.
2738 (CLD_STOPPED): Likewise.
2739 (CLD_CONTINUED): Likewise.
2740 (POLL_IN): Likewise.
2741 (POLL_OUT): Likewise.
2742 (POLL_MSG): Likewise.
2743 (POLL_ERR): Likewise.
2744 (POLL_PRI): Likewise.
2745 (POLL_HUP): Likewise.
2746 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2747 (ILL_ILLOPN): Likewise.
2748 (ILL_ILLADR): Likewise.
2749 (ILL_ILLTRP): Likewise.
2750 (ILL_PRVOPC): Likewise.
2751 (ILL_PRVREG): Likewise.
2752 (ILL_COPROC): Likewise.
2753 (ILL_BADSTK): Likewise.
2754 (FPE_INTDIV): Likewise.
2755 (FPE_INTOVF): Likewise.
2756 (FPE_FLTDIV): Likewise.
2757 (FPE_FLTOVF): Likewise.
2758 (FPE_FLTUND): Likewise.
2759 (FPE_FLTRES): Likewise.
2760 (FPE_FLTINV): Likewise.
2761 (FPE_FLTSUB): Likewise.
2762 (SEGV_MAPERR): Likewise.
2763 (SEGV_ACCERR): Likewise.
2764 (BUS_ADRALN): Likewise.
2765 (BUS_ADRERR): Likewise.
2766 (BUS_OBJERR): Likewise.
2767 (BUS_MCEERR_AR): Likewise.
2768 (BUS_MCEERR_AO): Likewise.
2769 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2770 (TRAP_TRACE): Likewise.
2771 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2772 __USE_XOPEN2K8].
2773 (CLD_KILLED): Likewise.
2774 (CLD_DUMPED): Likewise.
2775 (CLD_TRAPPED): Likewise.
2776 (CLD_STOPPED): Likewise.
2777 (CLD_CONTINUED): Likewise.
2778 (POLL_IN): Likewise.
2779 (POLL_OUT): Likewise.
2780 (POLL_MSG): Likewise.
2781 (POLL_ERR): Likewise.
2782 (POLL_PRI): Likewise.
2783 (POLL_HUP): Likewise.
2784 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2785 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2786
2787 [BZ #16670]
2788 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2789 before #include of <time.h>.
2790 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2791 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2792 (test-xfail-UNIX98/sched.h/conform): Likewise.
2793
27942014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2795
2796 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2797 error absence of trapping exception support.
2798 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2799
28002014-03-07 Joseph Myers <joseph@codesourcery.com>
2801
2802 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2803 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2804 * timezone/Makefile (testdata): Move definition above include of
2805 Rules.
2806 (test-zones): New variable.
2807 (tests-special): Add zone files.
2808 (build-testdata): Use $(evaluate-test).
2809
2810 * elf/Makefile (tests-special): Rename tests to end with .out.
2811 ($(objpfx)noload-mem): Likewise.
2812 ($(objpfx)tst-leaks1-mem): Likewise.
2813 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2814 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2815 $(objpfx)test-iconvconfig.out.
2816 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2817 set -e inside subshell and redirect output to file.
2818 * iconvdata/Makefile (generated): Rename tests to end with .out.
2819 Correct type.
2820 (tests-special): Rename tests to end with .out.
2821 ($(objpfx)mtrace-tst-loading): Likewise.
2822 * intl/Makefile (generated): Likewise.
2823 (tests-special): Likewise.
2824 ($(objpfx)mtrace-tst-gettext): Likewise.
2825 * misc/Makefile (generated): Likewise.
2826 (tests-special): Likewise.
2827 ($(objpfx)tst-error1-mem): Likewise.
2828 * nptl/Makefile (tests-special): Likewise.
2829 ($(objpfx)tst-stack3-mem): Likewise.
2830 (generated): Likewise.
2831 * posix/Makefile (generated): Likewise.
2832 (tests-special): Likewise.
2833 (xtests-special): Likewise.
2834 ($(objpfx)tst-fnmatch-mem): Likewise.
2835 ($(objpfx)bug-regex2-mem): Likewise.
2836 ($(objpfx)bug-regex14-mem): Likewise.
2837 ($(objpfx)bug-regex21-mem): Likewise.
2838 ($(objpfx)bug-regex31-mem): Likewise.
2839 ($(objpfx)tst-vfork3-mem): Likewise.
2840 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2841 ($(objpfx)tst-pcre-mem): Likewise.
2842 ($(objpfx)tst-boost-mem): Likewise.
2843 ($(objpfx)bug-ga2-mem): Likewise.
2844 ($(objpfx)bug-glob2-mem): Likewise.
2845 * resolv/Makefile (generate): Likewise.
2846 (tests-special): Likewise.
2847 (xtests-special): Likewise.
2848 (generated): Likewise.
2849 ($(objpfx)mtrace-tst-leaks): Likewise.
2850 ($(objpfx)mtrace-tst-leaks2): Likewise.
2851
2852 * scripts/merge-test-results.sh: New file.
2853 * Makefile (tests-special-notdir): New variable.
2854 (tests): Run merge-test-results.sh.
2855 (xtests): Likewise.
2856 * Rules (tests-special-notdir): New variable.
2857 (xtests-special-notdir): Likewise.
2858 (tests): Run merge-test-results.sh
2859 (xtests): Likewise.
2860
2861 * Makeconfig (test-xfail-name): New variable.
2862 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2863 compute variable name for expected failures.
2864 * conform/Makefile (conformtest-headers-data): New variable.
2865 (conformtest-standards): Likewise.
2866 (conformtest-headers-ISO): Likewise.
2867 (conformtest-headers-ISO99): Likewise.
2868 (conformtest-headers-ISO11): Likewise.
2869 (conformtest-headers-POSIX): Likewise.
2870 (conformtest-headers-XPG3): Likewise.
2871 (conformtest-headers-XPG4): Likewise.
2872 (conformtest-headers-UNIX98): Likewise.
2873 (conformtest-headers-XOPEN2K): Likewise.
2874 (conformtest-headers-POSIX2008): Likewise.
2875 (conformtest-headers-XOPEN2K8): Likewise.
2876 (conformtest-header-list-base): Likewise.
2877 (conformtest-header-list-tests): Likewise.
2878 (conformtest-header-base): Likewise.
2879 (conformtest-header-tests): Likewise.
2880 (tests-special): Add $(conformtest-header-list-tests). If
2881 [$(fast-check) && !$(cross-compiling)], add
2882 $(conformtest-header-tests) instead of
2883 $(objpfx)run-conformtest.out.
2884 (generated): Add $(conformtest-header-list-base). If
2885 [$(fast-check) && !$(cross-compiling)], add
2886 $(conformtest-header-base). Remove previous setting.
2887 ($(conformtest-header-list-tests)): New target.
2888 (test-xfail-run-conformtest): Remove variable.
2889 ($(objpfx)run-conformtest.out): Remove target.
2890 (test-xfail-ISO11/complex.h/conform): New variable.
2891 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2892 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2893 (test-xfail-XPG3/varargs.h/conform): Likewise.
2894 (test-xfail-XPG4/varargs.h/conform): Likewise.
2895 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2896 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2897 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2898 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2899 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2900 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2901 (test-xfail-XPG3/ftw.h/conform): Likewise.
2902 (test-xfail-XPG3/grp.h/conform): Likewise.
2903 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2904 (test-xfail-XPG3/limits.h/conform): Likewise.
2905 (test-xfail-XPG3/pwd.h/conform): Likewise.
2906 (test-xfail-XPG3/search.h/conform): Likewise.
2907 (test-xfail-XPG3/signal.h/conform): Likewise.
2908 (test-xfail-XPG3/stdio.h/conform): Likewise.
2909 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2910 (test-xfail-XPG3/string.h/conform): Likewise.
2911 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2912 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2913 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2914 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2915 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2916 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2917 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2918 (test-xfail-XPG3/termios.h/conform): Likewise.
2919 (test-xfail-XPG3/time.h/conform): Likewise.
2920 (test-xfail-XPG3/unistd.h/conform): Likewise.
2921 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2922 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2923 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2924 (test-xfail-XPG4/netdb.h/conform): Likewise.
2925 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2926 (test-xfail-XPG4/signal.h/conform): Likewise.
2927 (test-xfail-XPG4/stdio.h/conform): Likewise.
2928 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2929 (test-xfail-XPG4/stropts.h/conform): Likewise.
2930 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2931 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2932 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2933 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2934 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2935 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2936 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2937 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2938 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2939 (test-xfail-XPG4/termios.h/conform): Likewise.
2940 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2941 (test-xfail-XPG4/unistd.h/conform): Likewise.
2942 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2943 (test-xfail-POSIX/sched.h/conform): Likewise.
2944 (test-xfail-POSIX/signal.h/conform): Likewise.
2945 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2946 (test-xfail-POSIX/tar.h/conform): Likewise.
2947 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2948 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2949 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2950 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2951 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2952 (test-xfail-UNIX98/sched.h/conform): Likewise.
2953 (test-xfail-UNIX98/signal.h/conform): Likewise.
2954 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2955 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2956 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2957 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2958 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2959 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2960 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2961 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2962 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2963 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2964 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2965 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2966 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2967 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2968 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2969 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2970 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2971 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2972 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2973 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2974 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2975 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2976 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2977 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2978 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2979 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2980 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2981 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2982 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2983 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2984 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2985 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2986 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2987 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2988 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2989 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2990 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2991 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2992 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2993 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2994 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2995 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2996 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2997 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2998 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2999 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3000 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3001 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3002 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3003 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3004 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3005 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3006 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3007 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3008 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3009 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3010 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3011 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3012 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3013 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3014 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3015 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3016 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3017 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3018 (conformtest-cc-flags): Likewise.
3019 ($(conformtest-header-tests): New target.
3020 * conform/check-header-lists.sh: New file.
3021 * conform/run-conformtest.sh: Remove.
3022
3023 * conform/conformtest.pl: Allow ' and \ in values given for
3024 constants.
3025 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3026 inclusion.
3027 [POSIX] (sys/types.h): Likewise.
3028 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3029 inclusion.
3030 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3031 inclusion.
3032 * conform/data/signal.h-data (SIGIO): Remove expectation.
3033 [XPG3] (SIGBUS): Do not expect.
3034 [POSIX || XPG3] (SIGPOLL): Likewise.
3035 [POSIX || XPG3] (SIGPROF): Likewise.
3036 [POSIX || XPG3] (SIGSYS): Likewise.
3037 [XPG3] (SIGTRAP): Likewise.
3038 [POSIX || XPG3] (SIGURG): Likewise.
3039 [POSIX || XPG3] (SIGVTALRM): Likewise.
3040 [POSIX || XPG3] (SIGXCPU): Likewise.
3041 [POSIX || XPG3] (SIGXFSZ): Likewise.
3042 [POSIX] (SA_SIGINFO): Expect.
3043 [XPG3] (siginfo_t): Do not expect type or contents.
3044 [POSIX] (si_pid): Do not expect element.
3045 [POSIX] (si_uid): Likewise.
3046 [POSIX] (si_addr): Likewise.
3047 [POSIX] (si_status): Likewise.
3048 [POSIX] (si_band): Likewise.
3049 [XPG4] (si_value): Likewise.
3050 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3051 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3052 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3053 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3054 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3055 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3056 [POSIX || XPG3] (ILL_COPROC): Likewise.
3057 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3058 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3059 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3060 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3061 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3062 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3063 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3064 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3065 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3066 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3067 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3068 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3069 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3070 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3071 [POSIX || XPG3] (CLD_EXITED): Likewise.
3072 [POSIX || XPG3] (CLD_KILLED): Likewise.
3073 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3074 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3075 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3076 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3077 [POSIX || XPG3] (POLL_IN): Likewise.
3078 [POSIX || XPG3] (POLL_OUT): Likewise.
3079 [POSIX || XPG3] (POLL_MSG): Likewise.
3080 [POSIX || XPG3] (POLL_ERR): Likewise.
3081 [POSIX || XPG3] (POLL_PRI): Likewise.
3082 [POSIX || XPG3] (POLL_HUP): Likewise.
3083 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3084 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3085 (SIG*): Do not allow.
3086 [XPG3] (si_*): Likewise.
3087 [XPG3] (SI_*): Likewise.
3088 [XPG3 || XPG4] (sigev_*): Likewise.
3089 [XPG3 || XPG4] (SIGEV_*): Likewise.
3090 [XPG3 || XPG4] (sival_*): Likewise.
3091 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3092 [POSIX || XPG3] (BUS_*): Likewise.
3093 [POSIX || XPG3] (CLD_*): Likewise.
3094 [POSIX || XPG3] (FPE_*): Likewise.
3095 [POSIX || XPG3] (ILL_*): Likewise.
3096 [POSIX || XPG3] (POLL_*): Likewise.
3097 [POSIX || XPG3] (SEGV_*): Likewise.
3098 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3099 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3100 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3101 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3102 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3103 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3104 Specify type and value.
3105 (TVERSLEN): Likewise.
3106 (REGTYPE): Likewise.
3107 (AREGTYPE): Likewise.
3108 (LNKTYPE): Likewise.
3109 (SYMTYPE): Likewise.
3110 (CHRTYPE): Likewise.
3111 (BLKTYPE): Likewise.
3112 (DIRTYPE): Likewise.
3113 (FIFOTYPE): Likewise.
3114 (CONTTYPE): Likewise.
3115 (TSUID): Likewise.
3116 (TSGID): Likewise.
3117 (TSVTX): Likewise.
3118 (TUREAD): Likewise.
3119 (TUWRITE): Likewise.
3120 (TUEXEC): Likewise.
3121 (TGREAD): Likewise.
3122 (TGWRITE): Likewise.
3123 (TGEXEC): Likewise.
3124 (TOREAD): Likewise.
3125 (TOWRITE): Likewise.
3126 (TOEXEC): Likewise.
3127 [POSIX] (TSVTX): Expect constant.
3128
31292014-03-06 Joseph Myers <joseph@codesourcery.com>
3130
3131 * Makefile (tests): Change dependencies to ....
3132 (tests-special): ... additions to this variable.
3133 (tests): Depend on $(tests-special).
3134 * Makerules (check-abi-list): New variable.
3135 (check-abi): Depend on $(check-abi-list).
3136 [$(subdir) = elf] (tests-special): Add
3137 $(objpfx)check-abi-libc.out.
3138 [$(build-shared) = yes && subdir] (tests-special): Add
3139 $(check-abi-list).
3140 [$(build-shared) = yes && subdir] (tests): Do not depend on
3141 check-abi.
3142 * Rules (tests): Depend on $(tests-special).
3143 (xtests): Depend on $(xtests-special).
3144 * catgets/Makefile (tests): Change dependencies to ....
3145 (tests-special): ... additions to this variable.
3146 * conform/Makefile (tests): Change dependencies to ....
3147 (tests-special): ... additions to this variable.
3148 * elf/Makefile (tests): Change dependencies to ....
3149 (tests-special): ... additions to this variable.
3150 * grp/Makefile (tests): Change dependencies to ....
3151 (tests-special): ... additions to this variable.
3152 * iconv/Makefile (xtests): Change dependencies to ....
3153 (xtests-special): ... additions to this variable.
3154 * iconvdata/Makefile (tests): Change dependencies to ....
3155 (tests-special): ... additions to this variable.
3156 * intl/Makefile (tests): Change dependencies to ....
3157 (tests-special): ... additions to this variable. Also add
3158 $(objpfx)tst-gettext.out.
3159 * io/Makefile (tests): Change dependencies to ....
3160 (tests-special): ... additions to this variable.
3161 * libio/Makefile (tests): Change dependencies to ....
3162 (tests-special): ... additions to this variable.
3163 * malloc/Makefile (tests): Change dependencies to ....
3164 (tests-special): ... additions to this variable.
3165 * misc/Makefile (tests): Change dependencies to ....
3166 (tests-special): ... additions to this variable.
3167 * nptl/Makefile (tests): Change dependencies to ....
3168 (tests-special): ... additions to this variable.
3169 * nptl_db/Makefile (tests): Change dependencies to ....
3170 (tests-special): ... additions to this variable.
3171 * posix/Makefile (tests): Change dependencies to ....
3172 (tests-special): ... additions to this variable.
3173 (xtests): Change dependencies to ....
3174 (xtests-special): ... additions to this variable.
3175 * resolv/Makefile (tests): Change dependencies to ....
3176 (tests-special): ... additions to this variable.
3177 (xtests): Change dependencies to ....
3178 (xtests-special): ... additions to this variable.
3179 * stdio-common/Makefile (tests): Change dependencies to ....
3180 (tests-special): ... additions to this variable.
3181 (do-tst-unbputc): Remove target.
3182 (do-tst-printf): Likewise.
3183 * stdlib/Makefile (tests): Change dependencies to ....
3184 (tests-special): ... additions to this variable.
3185 * string/Makefile (tests): Change dependencies to ....
3186 (tests-special): ... additions to this variable.
3187 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3188 (tests-special): ... additions to this variable.
3189
3190 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3191 whole file.
3192 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3193 whole file.
3194 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3195 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3196
3197 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3198 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3199 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3200 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3201 * conform/data/libgen.h-data [XPG3]: Likewise.
3202 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3203 * conform/data/ndbm.h-data [XPG3]: Likewise.
3204 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3205 * conform/data/netdb.h-data [XPG3]: Likewise.
3206 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3207 * conform/data/poll.h-data [XPG3]: Likewise.
3208 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3209 * conform/data/strings.h-data [XPG3]: Likewise.
3210 * conform/data/stropts.h-data [XPG3]: Likewise.
3211 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3212 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3213 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3214 Likewise.
3215 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3216 * conform/data/sys/time.h-data [XPG3]: Likewise.
3217 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3218 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3219 * conform/data/sys/un.h-data [XPG3]: Likewise.
3220 * conform/data/syslog.h-data [XPG3]: Likewise.
3221 * conform/data/ucontext.h-data [XPG3]: Likewise.
3222 * conform/data/utmpx.h-data [XPG3]: Likewise.
3223 * conform/data/varargs.h-data [UNIX98]: Enable file.
3224
3225 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3226
3227 * math/libm-test.inc (struct test_f_f_data): Move expected results
3228 into structure for each rounding mode.
3229 (struct test_ff_f_data): Likewise.
3230 (struct test_ff_f_data_nexttoward): Likewise.
3231 (struct test_fi_f_data): Likewise.
3232 (struct test_fl_f_data): Likewise.
3233 (struct test_if_f_data): Likewise.
3234 (struct test_fff_f_data): Likewise.
3235 (struct test_c_f_data): Likewise.
3236 (struct test_f_f1_data): Likewise.
3237 (struct test_fF_f1_data): Likewise.
3238 (struct test_ffI_f1_data): Likewise.
3239 (struct test_c_c_data): Likewise.
3240 (struct test_cc_c_data): Likewise.
3241 (struct test_f_i_data): Likewise.
3242 (struct test_ff_i_data): Likewise.
3243 (struct test_f_l_data): Likewise.
3244 (struct test_f_L_data): Likewise.
3245 (struct test_fFF_11_data): Likewise.
3246 (RM_): New macro.
3247 (RM_FE_DOWNWARD): Likewise.
3248 (RM_FE_TONEAREST): Likewise.
3249 (RM_FE_TOWARDZERO): Likewise.
3250 (RM_FE_UPWARD): Likewise.
3251 (RUN_TEST_LOOP_f_f): Update references to expected results.
3252 (RUN_TEST_LOOP_2_f): Likewise.
3253 (RUN_TEST_LOOP_fff_f): Likewise.
3254 (RUN_TEST_LOOP_c_f): Likewise.
3255 (RUN_TEST_LOOP_f_f1): Likewise.
3256 (RUN_TEST_LOOP_fF_f1): Likewise.
3257 (RUN_TEST_LOOP_fI_f1): Likewise.
3258 (RUN_TEST_LOOP_ffI_f1): Likewise.
3259 (RUN_TEST_LOOP_c_c): Likewise.
3260 (RUN_TEST_LOOP_cc_c): Likewise.
3261 (RUN_TEST_LOOP_f_i): Likewise.
3262 (RUN_TEST_LOOP_f_i_tg): Likewise.
3263 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3264 (RUN_TEST_LOOP_f_b): Likewise.
3265 (RUN_TEST_LOOP_f_b_tg): Likewise.
3266 (RUN_TEST_LOOP_f_l): Likewise.
3267 (RUN_TEST_LOOP_f_L): Likewise.
3268 (RUN_TEST_LOOP_fFF_11): Likewise.
3269 * math/gen-libm-test.pl (parse_args): Output four copies of
3270 expected results for each test.
3271
3272 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3273 (__ASSUME_UTIMES): Remove.
3274 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3275 (__ASSUME_UTIMES): Likewise.
3276
3277 * math/gen-auto-libm-tests.c: Update comment on output format.
3278 (output_for_one_input_case): Generate before-rounding and
3279 after-rounding information as conditions on output flags not
3280 floating-point format.
3281 * math/auto-libm-test-out: Regenerated.
3282 * math/gen-libm-test.pl (cond_value): New function.
3283 (or_cond_value): Use cond_value.
3284 (generate_testfile): Handle conditional exceptions.
3285
32862014-03-05 Joseph Myers <joseph@codesourcery.com>
3287
3288 * math/libm-test.inc (max_valid_error): New variable.
3289 (init_max_error): Take new argument specifying whether function
3290 results are exactly determined. Set max_valid_error and bound
3291 other variables for errors based on this argument.
3292 (set_max_error): Do not record results above max_valid_error.
3293 (check_float_internal): Only accept errors of up to 0.5ulps if
3294 also at most max_valid_error.
3295 (START): Take new argument EXACT and pass it to init_max_error.
3296 (acos_test): Update call to START.
3297 (acos_test_tonearest): Likewise.
3298 (acos_test_towardzero): Likewise.
3299 (acos_test_downward): Likewise.
3300 (acos_test_upward): Likewise.
3301 (acosh_test): Likewise.
3302 (asin_test): Likewise.
3303 (asin_test_tonearest): Likewise.
3304 (asin_test_towardzero): Likewise.
3305 (asin_test_downward): Likewise.
3306 (asin_test_upward): Likewise.
3307 (asinh_test): Likewise.
3308 (atan_test): Likewise.
3309 (atanh_test): Likewise.
3310 (atan2_test): Likewise.
3311 (cabs_test): Likewise.
3312 (cacos_test): Likewise.
3313 (cacosh_test): Likewise.
3314 (carg_test): Likewise.
3315 (casin_test): Likewise.
3316 (casinh_test): Likewise.
3317 (catan_test): Likewise.
3318 (catanh_test): Likewise.
3319 (cbrt_test): Likewise.
3320 (ccos_test): Likewise.
3321 (ccosh_test): Likewise.
3322 (ceil_test): Likewise.
3323 (cexp_test): Likewise.
3324 (cimag_test): Likewise.
3325 (clog_test): Likewise.
3326 (clog10_test): Likewise.
3327 (conj_test): Likewise.
3328 (copysign_test): Likewise.
3329 (cos_test): Likewise.
3330 (cos_test_tonearest): Likewise.
3331 (cos_test_towardzero): Likewise.
3332 (cos_test_downward): Likewise.
3333 (cos_test_upward): Likewise.
3334 (cosh_test): Likewise.
3335 (cosh_test_tonearest): Likewise.
3336 (cosh_test_towardzero): Likewise.
3337 (cosh_test_downward): Likewise.
3338 (cosh_test_upward): Likewise.
3339 (cpow_test): Likewise.
3340 (cproj_test): Likewise.
3341 (creal_test): Likewise.
3342 (csin_test): Likewise.
3343 (csinh_test): Likewise.
3344 (csqrt_test): Likewise.
3345 (ctan_test): Likewise.
3346 (ctan_test_tonearest): Likewise.
3347 (ctan_test_towardzero): Likewise.
3348 (ctan_test_downward): Likewise.
3349 (ctan_test_upward): Likewise.
3350 (ctanh_test): Likewise.
3351 (ctanh_test_tonearest): Likewise.
3352 (ctanh_test_towardzero): Likewise.
3353 (ctanh_test_downward): Likewise.
3354 (ctanh_test_upward): Likewise.
3355 (erf_test): Likewise.
3356 (erfc_test): Likewise.
3357 (exp_test): Likewise.
3358 (exp_test_tonearest): Likewise.
3359 (exp_test_towardzero): Likewise.
3360 (exp_test_downward): Likewise.
3361 (exp_test_upward): Likewise.
3362 (exp10_test): Likewise.
3363 (exp10_test_tonearest): Likewise.
3364 (exp10_test_towardzero): Likewise.
3365 (exp10_test_downward): Likewise.
3366 (exp10_test_upward): Likewise.
3367 (pow10_test): Likewise.
3368 (exp2_test): Likewise.
3369 (expm1_test): Likewise.
3370 (expm1_test_tonearest): Likewise.
3371 (expm1_test_towardzero): Likewise.
3372 (expm1_test_downward): Likewise.
3373 (expm1_test_upward): Likewise.
3374 (fabs_test): Likewise.
3375 (fdim_test): Likewise.
3376 (floor_test): Likewise.
3377 (fma_test): Likewise.
3378 (fma_test_towardzero): Likewise.
3379 (fma_test_downward): Likewise.
3380 (fma_test_upward): Likewise.
3381 (fmax_test): Likewise.
3382 (fmin_test): Likewise.
3383 (fmod_test): Likewise.
3384 (fpclassify_test): Likewise.
3385 (frexp_test): Likewise.
3386 (hypot_test): Likewise.
3387 (ilogb_test): Likewise.
3388 (isfinite_test): Likewise.
3389 (finite_test): Likewise.
3390 (isgreater_test): Likewise.
3391 (isgreaterequal_test): Likewise.
3392 (isinf_test): Likewise.
3393 (isless_test): Likewise.
3394 (islessequal_test): Likewise.
3395 (islessgreater_test): Likewise.
3396 (isnan_test): Likewise.
3397 (isnormal_test): Likewise.
3398 (issignaling_test): Likewise.
3399 (isunordered_test): Likewise.
3400 (j0_test): Likewise.
3401 (j1_test): Likewise.
3402 (jn_test): Likewise.
3403 (ldexp_test): Likewise.
3404 (lgamma_test): Likewise.
3405 (gamma_test): Likewise.
3406 (lrint_test): Likewise.
3407 (lrint_test_tonearest): Likewise.
3408 (lrint_test_towardzero): Likewise.
3409 (lrint_test_downward): Likewise.
3410 (lrint_test_upward): Likewise.
3411 (llrint_test): Likewise.
3412 (llrint_test_tonearest): Likewise.
3413 (llrint_test_towardzero): Likewise.
3414 (llrint_test_downward): Likewise.
3415 (llrint_test_upward): Likewise.
3416 (log_test): Likewise.
3417 (log10_test): Likewise.
3418 (log1p_test): Likewise.
3419 (log2_test): Likewise.
3420 (logb_test): Likewise.
3421 (logb_test_downward): Likewise.
3422 (lround_test): Likewise.
3423 (llround_test): Likewise.
3424 (modf_test): Likewise.
3425 (nearbyint_test): Likewise.
3426 (nextafter_test): Likewise.
3427 (nexttoward_test): Likewise.
3428 (pow_test): Likewise.
3429 (pow_test_tonearest): Likewise.
3430 (pow_test_towardzero): Likewise.
3431 (pow_test_downward): Likewise.
3432 (pow_test_upward): Likewise.
3433 (remainder_test): Likewise.
3434 (drem_test): Likewise.
3435 (remainder_test_tonearest): Likewise.
3436 (drem_test_tonearest): Likewise.
3437 (remainder_test_towardzero): Likewise.
3438 (drem_test_towardzero): Likewise.
3439 (remainder_test_downward): Likewise.
3440 (drem_test_downward): Likewise.
3441 (remainder_test_upward): Likewise.
3442 (drem_test_upward): Likewise.
3443 (remquo_test): Likewise.
3444 (rint_test): Likewise.
3445 (rint_test_tonearest): Likewise.
3446 (rint_test_towardzero): Likewise.
3447 (rint_test_downward): Likewise.
3448 (rint_test_upward): Likewise.
3449 (round_test): Likewise.
3450 (scalb_test): Likewise.
3451 (scalbn_test): Likewise.
3452 (scalbln_test): Likewise.
3453 (signbit_test): Likewise.
3454 (sin_test): Likewise.
3455 (sin_test_tonearest): Likewise.
3456 (sin_test_towardzero): Likewise.
3457 (sin_test_downward): Likewise.
3458 (sin_test_upward): Likewise.
3459 (sincos_test): Likewise.
3460 (sinh_test): Likewise.
3461 (sinh_test_tonearest): Likewise.
3462 (sinh_test_towardzero): Likewise.
3463 (sinh_test_downward): Likewise.
3464 (sinh_test_upward): Likewise.
3465 (sqrt_test): Likewise.
3466 (sqrt_test_tonearest): Likewise.
3467 (sqrt_test_towardzero): Likewise.
3468 (sqrt_test_downward): Likewise.
3469 (sqrt_test_upward): Likewise.
3470 (tan_test): Likewise.
3471 (tan_test_tonearest): Likewise.
3472 (tan_test_towardzero): Likewise.
3473 (tan_test_downward): Likewise.
3474 (tan_test_upward): Likewise.
3475 (tanh_test): Likewise.
3476 (tgamma_test): Likewise.
3477 (trunc_test): Likewise.
3478 (y0_test): Likewise.
3479 (y1_test): Likewise.
3480 (yn_test): Likewise.
3481 (significand_test): Likewise.
3482
3483 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3484 individual tests in comment.
3485 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3486 (prev_max_error): New variable.
3487 (prev_real_max_error): Likewise.
3488 (prev_imag_max_error): Likewise.
3489 (compare_ulp_data): Don't refer to test names in comment.
3490 (find_test_ulps): Remove function.
3491 (find_function_ulps): Likewise.
3492 (find_complex_function_ulps): Likewise.
3493 (init_max_error): Take function name as argument. Look up ulps
3494 for that function.
3495 (print_ulps): Remove function.
3496 (print_max_error): Use prev_max_error instead of calling
3497 find_function_ulps.
3498 (print_complex_max_error): Use prev_real_max_error and
3499 prev_imag_max_error instead of calling find_complex_function_ulps.
3500 (check_float_internal): Take max_ulp parameter instead of calling
3501 find_test_ulps. Don't call print_ulps.
3502 (check_float): Update call to check_float_internal.
3503 (check_complex): Update calls to check_float_internal.
3504 (START): Pass argument to init_max_error.
3505 * math/gen-libm-test.pl (%results): Don't include "kind"
3506 information.
3507 (parse_ulps): Don't handle ulps of individual tests.
3508 (print_ulps_file): Likewise.
3509 (output_ulps): Likewise.
3510 * math/README.libm-test: Update.
3511 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3512 individual tests.
3513 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3514 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3515 * sysdeps/arm/libm-test-ulps: Likewise.
3516 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3517 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3518 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3519 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3520 * sysdeps/microblaze/libm-test-ulps: Likewise.
3521 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3522 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3523 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3524 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3525 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3526 * sysdeps/sh/libm-test-ulps: Likewise.
3527 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3528 * sysdeps/tile/libm-test-ulps: Likewise.
3529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3530
35312014-03-04 Joseph Myers <joseph@codesourcery.com>
3532
3533 * math/libm-test.inc (print_complex_max_error): Check separately
3534 whether real and imaginary errors are within allowed range and
3535 pass 0 to print_complex_function_ulps instead of value within
3536 allowed range.
3537
35382014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3539
3540 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3541 formatting.
3542 (get_handles_fopen): Likewise.
3543 (do_write_test): Likewise.
3544
3545 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3546
3547 * libio/fileops.c (do_ftell): Use cached offset when
3548 available.
3549 * libio/iofwide.c (do_ftell_wide): Likewise.
3550 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3551 _IO_file_attach.
3552 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3553
3554 [BZ #16532]
3555 * libio/libioP.h (get_file_offset): New function.
3556 * libio/fileops.c (get_file_offset): Likewise.
3557 (do_ftell): Likewise.
3558 (_IO_new_file_seekoff): Split out ftell logic.
3559 * libio/wfileops.c (do_ftell_wide): Likewise.
3560 (_IO_wfile_seekoff): Split out ftell logic.
3561 * libio/tst-ftell-active-handler.c: New test case.
3562 * libio/Makefile (tests): Add it.
3563
35642014-03-03 Roland McGrath <roland@hack.frob.com>
3565
3566 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3567 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3568
35692014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3570
3571 [BZ #16639]
3572 * nscd/connections.c (nscd_init): Call do_exit.
3573 (start_threads): Call do_exit and notify_parent.
3574 (begin_drop_privileges): Call do_exit.
3575 (finish_drop_privileges): Likewise.
3576 * nscd/selinux.c (preserve_capabilities): Likewise.
3577 (install_real_capabilities): Likewise.
3578 (nscd_selinux_enabled): Likewise.
3579 (avc_create_thread): Likewise.
3580 (avc_alloc_lock): Likewise.
3581 (nscd_avc_init): Likewise.
3582 * nscd/nscd.c (parent_fd): New static variable.
3583 (main): Create a pipe between parent and child processes.
3584 Skip closing parent_fd.
3585 (monitor_child): New function.
3586 (do_exit): Likewise.
3587 (notify_parent): Likewise.
3588 * nscd/nscd.h (notify_parent): Likewise.
3589 (do_exit): Likewise.
3590
35912014-03-03 Carlos O'Donell <carlos@redhat.com>
3592
3593 * malloc/malloc.c (__libc_calloc): Revert last change.
3594
35952014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3596
3597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3598
35992014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3600
3601 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3603 implementation.
3604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3605 (__libc_ifunc_impl_list): Likewise.
3606 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3607 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3608 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3609 * string/strrchr.c: Define STRRCHR.
3610
36112014-02-28 Ondřej Bílka <neleai@seznam.cz>
3612
3613 * benchtest/bench-strtok.c (simple_strtok): Delete.
3614 (strtok_string): Use as benchmark.
3615 * string/strtok (STRTOK): New macro.
3616
36172014-02-28 Carlos O'Donell <carlos@redhat.com>
3618
3619 * manual/threads.texi: Add header and standard comments to all
3620 functions.
3621
3622 * elf/dl-lookup.c (check_match): New function.
3623 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3624 (do_lookup_x): Remove nested function check_match. Use non-nested
3625 function check_match.
3626
36272014-02-28 Roland McGrath <roland@hack.frob.com>
3628
3629 * csu/Makefile (generated, before-compile): Use += rather than =.
3630 * catgets/Makefile (generated, generated-dirs): Likewise.
3631 * debug/Makefile (generated): Likewise.
3632 * dlfcn/Makefile (generated): Likewise.
3633 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3634 * iconvdata/Makefile (before-compile, generated): Likewise.
3635 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3636 * libio/Makefile (generated): Likewise.
3637 * malloc/Makefile (generated): Likewise.
3638 * manual/Makefile (generated, generated-dirs): Likewise.
3639 * misc/Makefile (generated): Likewise.
3640 * posix/Makefile (generated): Likewise.
3641 * resolv/Makefile (generated): Likewise.
3642 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3643 * timezone/Makefile (generated, generated-dirs): Likewise.
3644
3645 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3646
36472014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3648
3649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3650 power8 implementation.
3651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3652 file: POWER8 llround ifunc implementation.
3653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3654 (__lllround): Add POWER8 implementation.
3655 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3656 POWER8 llround implementation.
3657
3658 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3659 power8 implementation.
3660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3661 file: POWER8 llrint ifunc implementation.
3662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3663 Add POWER8 implementation.
3664 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3665 POWER8 llrint implementation.
3666
3667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3668 power8 implementation.
3669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3670 file: POWER8 finite ifunc implementation.
3671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3672 Add POWER8 implementation.
3673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3674 Likewise.
3675 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3676 POWER8 finite implementation.
3677 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3678
3679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3680 power8 implementation.
3681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3682 file: POWER8 isinf ifunc implementation.
3683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3684 POWER8 implementation.
3685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3686 Likewise.
3687 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3688 isinf implementation.
3689 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3690
3691 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3692 (INIT_ARCH): Add hwcap2 initialization.
3693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3694 power8 implementation.
3695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3696 file: POWER8 isnan ifunc implementation.
3697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3698 POWER8 implementation.
3699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3700 Likewise.
3701 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3702 isnan implementation.
3703 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3704
37052014-02-27 Joey Ye <joey.ye@arm.com>
3706
3707 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3708 (_FP_NANFRAC_Q): Set to zero.
3709
37102014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3711
3712 [BZ #16623]
3713 * math/auto-libm-test-in: New test inputs.
3714 * math/auto-libm-test-out: Regenerate.
3715 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3716 and DA.
3717 (__cos): Likewise.
3718 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3719
37202014-02-27 Joseph Myers <joseph@codesourcery.com>
3721
3722 * scripts/evaluate-test.sh: Take new argument indicating whether
3723 failure is expected.
3724 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3725 indicating whether failure is expected.
3726 * conform/Makefile (test-xfail-run-conformtest): New variable.
3727 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3728 level.
3729 * posix/Makefile (test-xfail-annexc): New variable.
3730 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3731
37322014-02-26 Joseph Myers <joseph@codesourcery.com>
3733
3734 * argp/Makefile: Include Makeconfig immediately after defining
3735 subdir.
3736 * assert/Makefile: Likewise.
3737 * benchtests/Makefile: Likewise.
3738 * catgets/Makefile: Likewise.
3739 * conform/Makefile: Likewise.
3740 * crypt/Makefile: Likewise.
3741 * csu/Makefile: Likewise.
3742 (all): Remove target.
3743 * ctype/Makefile: Include Makeconfig immediately after defining
3744 subdir.
3745 * debug/Makefile: Likewise.
3746 * dirent/Makefile: Likewise.
3747 * dlfcn/Makefile: Likewise.
3748 * gmon/Makefile: Likewise.
3749 * gnulib/Makefile: Likewise.
3750 * grp/Makefile: Likewise.
3751 * gshadow/Makefile: Likewise.
3752 * hesiod/Makefile: Likewise.
3753 * hurd/Makefile: Likewise.
3754 (all): Remove target.
3755 * iconvdata/Makefile: Include Makeconfig immediately after
3756 defining subdir.
3757 * inet/Makefile: Likewise.
3758 * intl/Makefile: Likewise.
3759 * io/Makefile: Likewise.
3760 * libio/Makefile: Likewise.
3761 (all): Remove target.
3762 * locale/Makefile: Include Makeconfig immediately after defining
3763 subdir.
3764 * login/Makefile: Likewise.
3765 * mach/Makefile: Likewise.
3766 (all): Remove target.
3767 * malloc/Makefile: Include Makeconfig immediately after defining
3768 subdir.
3769 (all): Remove target.
3770 * manual/Makefile: Include Makeconfig immediately after defining
3771 subdir.
3772 * math/Makefile: Likewise.
3773 * misc/Makefile: Likewise.
3774 * nis/Makefile: Likewise.
3775 * nss/Makefile: Likewise.
3776 * po/Makefile: Likewise.
3777 (all): Remove target.
3778 * posix/Makefile: Include Makeconfig immediately after defining
3779 subdir.
3780 * pwd/Makefile: Likewise.
3781 * resolv/Makefile: Likewise.
3782 * resource/Makefile: Likewise.
3783 * rt/Makefile: Likewise.
3784 * setjmp/Makefile: Likewise.
3785 * shadow/Makefile: Likewise.
3786 * signal/Makefile: Likewise.
3787 * socket/Makefile: Likewise.
3788 * soft-fp/Makefile: Likewise.
3789 * stdio-common/Makefile: Likewise.
3790 * stdlib/Makefile: Likewise.
3791 * streams/Makefile: Likewise.
3792 * string/Makefile: Likewise.
3793 * sunrpc/Makefile: Likewise.
3794 (all): Remove target.
3795 * sysvipc/Makefile: Include Makeconfig immediately after defining
3796 subdir.
3797 * termios/Makefile: Likewise.
3798 * time/Makefile: Likewise.
3799 * timezone/Makefile: Likewise.
3800 (all): Remove target.
3801 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3802 subdir.
3803 * wctype/Makefile: Likewise.
3804
38052014-02-26 Steve Ellcey <sellcey@mips.com>
3806
3807 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3808 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3809 (libc_feholdexcept_setround_mips): Ditto.
3810 (libc_feholdsetround): New.
3811 (libc_feholdsetroundf): New.
3812 (libc_feholdsetroundl): New.
3813 (libc_feupdateenv_test_mips): New.
3814 (libc_feupdateenv_test): New.
3815 (libc_feupdateenv_testf): New.
3816 (libc_feupdateenv_testl): New.
3817 (libc_feresetround): New.
3818 (libc_feresetroundf): New.
3819 (libc_feresetroundl): New.
3820 (libc_fetestexcept_mips): New.
3821 (libc_fetestexcept): New.
3822 (libc_fetestexceptf): New.
3823 (libc_fetestexceptl): New.
3824 (HAVE_RM_CTX): New.
3825 (libc_feholdexcept_setround_mips_ctx): New.
3826 (libc_feholdexcept_setround_ctx): New.
3827 (libc_feholdexcept_setroundf_ctx): New.
3828 (libc_feholdexcept_setroundl_ctx): New.
3829 (libc_fesetenv_mips_ctx): New.
3830 (libc_fesetenv_ctx): New.
3831 (libc_fesetenv_ctxf): New.
3832 (libc_fesetenv_ctxl): New.
3833 (libc_feupdateenv_mips_ctx): New.
3834 (libc_feupdateenv_ctx): New.
3835 (libc_feupdateenvf_ctx): New.
3836 (libc_feupdateenvl_ctx): New.
3837 (libc_feholdsetround_mips_ctx): New.
3838 (libc_feholdsetround_ctx): New.
3839 (libc_feholdsetroundf_ctx): New.
3840 (libc_feholdsetroundl_ctx): New.
3841 (libc_feresetround_mips_ctx): New.
3842 (libc_feresetround_ctx): New.
3843 (libc_feresetroundf_ctx): New.
3844 (libc_feresetroundl_ctx): New.
3845
38462014-02-26 Carlos O'Donell <carlos@redhat.com>
3847
3848 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3849
3850 * manual/ipc.texi: New file.
3851 * manual/Makefile (chapters): Add ipc.
3852 * manual/job.texi: Add "Inter-Process Communication" to next.
3853 * manual/process.texi: Add "Inter-Process Communication" to prev.
3854
38552014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3856
3857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3858
38592014-02-26 Ondřej Bílka <neleai@seznam.cz>
3860
3861 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3862
3863 * manual/arith.texi: Fix spaces after sentences.
3864 * manual/charset.texi: Likewise.
3865 * manual/errno.texi: Likewise.
3866 * manual/install.texi: Likewise.
3867 * manual/llio.texi: Likewise.
3868 * manual/locale.texi: Likewise.
3869 * manual/maint.texi: Likewise.
3870 * manual/math.texi: Likewise.
3871 * manual/memory.texi: Likewise.
3872 * manual/message.texi: Likewise.
3873 * manual/probes.texi: Likewise.
3874 * manual/resource.texi: Likewise.
3875 * manual/signal.texi: Likewise.
3876 * manual/socket.texi: Likewise.
3877 * manual/stdio.texi: Likewise.
3878 * manual/string.texi: Likewise.
3879 * manual/time.texi: Likewise.
3880 * manual/users.texi: Likewise.
3881
38822014-02-25 Carlos O'Donell <carlos@redhat.com>
3883
3884 [BZ #16632]
3885 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3886 _DEFAULT_SOURCE is defined.
3887
38882014-02-25 Ulrich Drepper <drepper@gmail.com>
3889 Carlos O'Donell <carlos@redhat.com>
3890
3891 [BZ #16613]
3892 * elf/dl-tls.c (_dl_count_modids): New function.
3893 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3894 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3895 audit library and increment generation counter.
3896 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3897 * elf/tst-audit9.c: New file.
3898 * elf/tst-auditmod9a.c: New file.
3899 * elf/tst-auditmod9b.c: New file.
3900 * elf/Makefile: Add rules to build and run tst-audit9.
3901
39022014-02-25 Florian Weimer <fweimer@redhat.com>
3903
3904 [BZ #15347]
3905 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3906
39072014-02-25 Will Newton <will.newton@linaro.org>
3908
3909 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3910 (__longjmp): Restore sp and lr before restoring callee
3911 saved registers. Add longjmp and longjmp_target
3912 SystemTap probe point.
3913 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3914 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3915 Define to zero to match jmpbuf layout.
3916 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3917 (__sigsetjmp): Save sp and lr before saving callee
3918 saved registers. Add setjmp SystemTap probe point.
3919
39202014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3921
3922 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3923
39242014-02-24 Andreas Schwab <schwab@suse.de>
3925
3926 [BZ #15804]
3927 * elf/pldd.c (wait_for_ptrace_stop): New function.
3928 (main): Call it after attaching.
3929
39302014-02-22 Roland McGrath <roland@hack.frob.com>
3931
3932 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3933 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3934 Versions files is now verboten.
3935 * hurd/Versions (libc: GLIBC_2.0):
3936 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3937 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3938 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3939 * mach/Versions: Likewise.
3940
3941 * csu/Versions: Remove unused %include.
3942 * resolv/Versions: Likewise.
3943
39442014-02-21 Joseph Myers <joseph@codesourcery.com>
3945
3946 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3947 ($(objpfx)check-local-headers.out): Likewise.
3948 ($(objpfx)begin-end-check.out): Likewise.
3949 * Makerules (check-abi-%.out): Likewise.
3950 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3951 ($(objpfx)test2.cat): Likewise.
3952 ($(objpfx)de/libc.cat): Likewise.
3953 ($(objpfx)test-gencat.out): Likewise.
3954 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3955 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3956 ($(objpfx)noload-mem): Likewise.
3957 ($(objpfx)tst-pathopt.out): Likewise.
3958 ($(objpfx)tst-rtld-load-self.out): Likewise.
3959 ($(objpfx)tst-array1-cmp.out): Likewise.
3960 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3961 ($(objpfx)tst-array2-cmp.out): Likewise.
3962 ($(objpfx)tst-array3-cmp.out): Likewise.
3963 ($(objpfx)tst-array4-cmp.out): Likewise.
3964 ($(objpfx)tst-array5-cmp.out): Likewise.
3965 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3966 ($(objpfx)check-textrel.out): Likewise.
3967 ($(objpfx)check-execstack.out): Likewise.
3968 ($(objpfx)check-localplt.out): Likewise.
3969 ($(objpfx)order2-cmp.out): Likewise.
3970 ($(objpfx)tst-leaks1-mem): Likewise.
3971 ($(objpfx)tst-leaks1-static-mem): Likewise.
3972 ($(objpfx)tst-initorder-cmp.out): Likewise.
3973 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3974 ($(objpfx)tst-unused-dep.out): Likewise.
3975 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3976 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3977 * iconv/Makefile (test-iconvconfig): Likewise.
3978 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3979 ($(objpfx)iconv-test.out): Likewise.
3980 ($(objpfx)tst-tables.out): Likewise.
3981 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3982 ($(objpfx)tst-gettext.out): Likewise.
3983 ($(objpfx)tst-translit.out): Likewise.
3984 ($(objpfx)tst-gettext2.out): Likewise.
3985 ($(objpfx)tst-gettext4.out): Likewise.
3986 ($(objpfx)tst-gettext6.out): Likewise.
3987 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3988 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3989 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3990 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3991 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3992 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3993 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3994 ($(objpfx)wordexp-tst.out): Likewise.
3995 ($(objpfx)annexc.out): Likewise.
3996 ($(objpfx)tst-fnmatch-mem): Likewise.
3997 ($(objpfx)bug-regex2-mem): Likewise.
3998 ($(objpfx)bug-regex14-mem): Likewise.
3999 ($(objpfx)bug-regex21-mem): Likewise.
4000 ($(objpfx)bug-regex31-mem): Likewise.
4001 ($(objpfx)tst-vfork3-mem): Likewise.
4002 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4003 ($(objpfx)tst-pcre-mem): Likewise.
4004 ($(objpfx)tst-boost-mem): Likewise.
4005 ($(objpfx)tst-getconf.out): Likewise.
4006 ($(objpfx)bug-ga2-mem): Likewise.
4007 ($(objpfx)bug-glob2-mem): Likewise.
4008 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4009 ($(objpfx)mtrace-tst-leaks2): Likewise.
4010 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4011 ($(objpfx)tst-printf.out): Likewise.
4012 ($(objpfx)tst-setvbuf1.out): Likewise.
4013 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4014 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4015 ($(objpfx)tst-fmtmsg.out): Likewise.
4016 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4017 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4018
4019 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4020 * bits/sigaction.h [__USE_MISC]: Likewise.
4021 * bits/waitstatus.h: Update #endif comments.
4022 * ctype/ctype.h: Likewise.
4023 * dirent/dirent.h: Likewise.
4024 [__USE_MISC]: Remove redundant conditionals.
4025 * grp/grp.h: Update #endif comments.
4026 [__USE_GNU]: Remove redundant conditionals.
4027 [__USE_MISC]: Likewise.
4028 * inet/netinet/in.h [__USE_GNU]: Likewise.
4029 * io/sys/stat.h [__USE_MISC]: Likewise.
4030 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4031 * libio/bits/stdio.h: Update #endif comments.
4032 [__USE_MISC]: Remove redundant conditionals.
4033 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4034 * libio/stdio.h: Update #endif comments.
4035 [__USE_MISC]: Remove redundant conditionals.
4036 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4037 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4038 * math/math.h: Update #else and #endif comments.
4039 [__USE_MISC]: Remove redundant conditionals.
4040 * misc/sys/uio.h: Update #endif comments.
4041 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4042 * posix/glob.h [__USE_MISC]: Likewise.
4043 * posix/sys/types.h: Update #endif comments.
4044 [__USE_MISC]: Remove redundant conditionals.
4045 * posix/sys/wait.h: Update #endif comments.
4046 [__USE_MISC]: Remove redundant conditionals.
4047 * posix/unistd.h: Update #endif comments.
4048 [__USE_MISC]: Remove redundant conditionals.
4049 * pwd/pwd.h [__USE_GNU]: Likewise.
4050 [__USE_MISC]: Likewise.
4051 * resolv/netdb.h [__USE_GNU]: Likewise.
4052 * signal/signal.h: Update #endif comments.
4053 [__USE_MISC]: Remove redundant conditionals.
4054 * stdlib/stdlib.h: Update #else and #endif comments.
4055 [__USE_MISC]: Remove redundant conditionals.
4056 [__USE_GNU]: Likewise.
4057 * string/bits/string2.h [__USE_MISC]: Likewise.
4058 * string/string.h: Update #endif comments.
4059 [__USE_MISC]: Remove redundant conditionals.
4060 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4061 Likewise.
4062 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4063 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4064 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4065 Likewise.
4066 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4067 Likewise.
4068 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4069 comments.
4070 [__USE_MISC]: Remove redundant conditionals.
4071 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4072 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4073 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4074 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4075 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4076 Likewise.
4077 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4078 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4079 Likewise.
4080 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4081 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4082 Likewise.
4083 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4084 Likewise.
4085 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4086 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4087 Likewise.
4088 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4089 Likewise.
4090 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4091 * sysdeps/x86/bits/string.h: Update #endif comments.
4092 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4093 conditionals.
4094 * time/sys/time.h: Update #endif comments.
4095 * time/time.h: Likewise.
4096 [__USE_MISC]: Remove redundant conditionals.
4097
40982014-02-21 Yury Gribov <y.gribov@samsung.com>
4099
4100 [BZ #16600]
4101 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4102
41032014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4104
4105 * Versions.def (librt): Add GLIBC_2.17.
4106
41072014-02-21 Adam Conrad <adconrad@0c3.net>
4108
4109 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4110 synonym for _SYS_AUXV_H to allow direct inclusion.
4111 * sysdeps/sparc/bits/hwcap.h: Likewise.
4112 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4113 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4114 * sysdeps/sparc/sysdep.h: Likewise.
4115
41162014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4117
4118 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4119
41202014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4121
4122 * benchtests/bench-strrchr.c: Print length instead of position.
4123
41242014-02-20 Joseph Myers <joseph@codesourcery.com>
4125
4126 [BZ #16611]
4127 * sysdeps/unix/sysv/linux/kernel-features.h
4128 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4129 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4130 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4131 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4132 Likewise.
4133 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4134 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4135 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4136 (__ASSUME_SENDMMSG): Define instead of using previous
4137 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4138 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4139 (__ASSUME_SENDMMSG_SYSCALL): Define.
4140 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4141 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4142 Likewise.
4143 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4144 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4145 Likewise.
4146 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4147 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4148 Likewise.
4149 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4150 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4151 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4152 [__ASSUME_SENDMMSG]: Change conditionals to
4153 [__ASSUME_SENDMMSG_SOCKETCALL].
4154 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4155 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4156 Define.
4157 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4158 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4159 Likewise.
4160 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4161 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4162 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4163 [!__ASSUME_SENDMMSG]: Change conditional to
4164 [!__ASSUME_SENDMMSG_SOCKETCALL].
4165 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4166 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4167 Define.
4168
4169 [BZ #16610]
4170 * sysdeps/unix/sysv/linux/kernel-features.h
4171 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4172 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4173 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4174 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4175 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4176 [__i386__ || __sparc__]
4177 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4178 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4179 (__ASSUME_RECVMMSG): Define instead of using previous
4180 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4181 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4182 (__ASSUME_RECVMMSG_SYSCALL): Define.
4183 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4184 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4185 Likewise.
4186 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4187 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4188 Likewise.
4189 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4190 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4191 Likewise.
4192 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4193 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4194 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4195 [__ASSUME_RECVMMSG]: Change condition to
4196 [__ASSUME_RECVMMSG_SOCKETCALL].
4197 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4198 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4199 Define.
4200 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4201 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4202 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4203 Likewise.
4204 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4205 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4206 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4207 [!__ASSUME_RECVMMSG]: Change condition to
4208 [!__ASSUME_RECVMMSG_SOCKETCALL].
4209 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4210 (__ASSUME_RECVMMSG_SYSCALL): Define.
4211
4212 [BZ #16609]
4213 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4214 __powerpc__ || __s390__ || __sh__ || __sparc__]
4215 (__ASSUME_SOCKETCALL): Define.
4216 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4217 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4218 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4219 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4220 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4221 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4222 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4223 (__ASSUME_ACCEPT4): Define instead of using previous
4224 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4225 __powerpc__ || __sparc__ || __s390__)] condition.
4226 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4227 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4228 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4229 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4230 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4231 [!__ASSUME_ACCEPT4]: Change condition to
4232 [!__ASSUME_ACCEPT4_SOCKETCALL].
4233 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4234 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4235 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4236 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4237 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4238 __ASSUME_ACCEPT4_SYSCALL.
4239 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4240 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4241 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4242 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4243 __ASSUME_ACCEPT4_SYSCALL.
4244 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4245 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4246 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4247 [__ASSUME_ACCEPT4]: Change condition to
4248 [__ASSUME_ACCEPT4_SOCKETCALL].
4249 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4250 (__ASSUME_SOCKETCALL): Define.
4251 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4252 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4253 (__ASSUME_SOCKETCALL): Define.
4254 (__ASSUME_ACCEPT4): Remove.
4255 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4256 Define.
4257 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4258 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4259 Likewise.
4260 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4261 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4262
4263 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4264 macro.
4265 (HWCAP_ARM_LPAE): Likewise.
4266 (HWCAP_ARM_EVTSTRM): Likewise.
4267 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4268 Add vpfd32, lpae and evtstrm.
4269 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4270 Increase to 22.
4271
42722014-02-19 Joseph Myers <joseph@codesourcery.com>
4273
4274 * math/auto-libm-test-in: Add tests of clog10.
4275 * math/auto-libm-test-out: Regenerated.
4276 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4277 * sysdeps/i386/fpu/libm-test-ulps: Update.
4278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4279
42802014-02-18 Andreas Schwab <schwab@suse.de>
4281
4282 [BZ #16574]
4283 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4284 Store non-zero if the second buffer was newly allocated.
4285 (send_dg): Likewise.
4286 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4287 to send_vc and send_dg.
4288 (res_nsend): Pass NULL for ansp2_malloced.
4289 * resolv/res_query.c (__libc_res_nquery): Add parameter
4290 answerp2_malloced and pass it down to __libc_res_nsend.
4291 (res_nquery): Pass additional NULL to __libc_res_nquery.
4292 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4293 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4294 second answer buffer if answerp2_malloced was set.
4295 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4296 (__libc_res_nquerydomain): Add parameter
4297 answerp2_malloced and pass it down to __libc_res_nquery.
4298 (res_nquerydomain): Pass additional NULL to
4299 __libc_res_nquerydomain.
4300 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4301 additional NULL to __libc_res_nsend and __libc_res_nquery.
4302 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4303 additional NULL to __libc_res_nsearch.
4304 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4305 parameter of __libc_res_nsearch to check for separately allocated
4306 second buffer.
4307 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4308 __libc_res_nquery.
4309 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4310 additional NULL to __libc_res_nquery.
4311 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4312 __libc_res_nsearch.
4313 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4314 * include/resolv.h: Update prototypes of __libc_res_nquery,
4315 __libc_res_nsearch, __libc_res_nsend.
4316
43172014-02-18 Joseph Myers <joseph@codesourcery.com>
4318
4319 * math/auto-libm-test-in: Add tests of fma.
4320 * math/auto-libm-test-out: Regenerated.
4321 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4322 (fma_towardzero_test_data): Likewise.
4323 (fma_downward_test_data): Likewise.
4324 (fma_upward_test_data): Likewise.
4325 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4326 mpc_mode.
4327 (rounding_modes): Add values for new field.
4328 (func_calc_method): Add value mpfr_fff_f.
4329 (func_calc_desc): Add mpfr_fff_f union field.
4330 (test_function): Add field exact_args.
4331 (FUNC): Add macro argument EXACT_ARGS.
4332 (FUNC_mpfr_f_f): Update call to FUNC.
4333 (FUNC_mpfr_f_f): Likewise.
4334 (FUNC_mpfr_ff_f): Likewise.
4335 (FUNC_mpfr_if_f): Likewise.
4336 (FUNC_mpc_c_f): Likewise.
4337 (FUNC_mpc_c_c): Likewise.
4338 (test_functions): Add fma. Update calls to FUNC.
4339 (handle_input_arg): Add argument exact_args.
4340 (add_test): Update call to handle_input_arg.
4341 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4342 (output_for_one_input_case): Update call to calc_generic_results.
4343 Recalculate exact zero results in each rounding mode.
4344
4345 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4346 non-negative before setting low bit.
4347 * math/auto-libm-test-in: Mark one asin test possibly having
4348 spurious underflow.
4349 * math/auto-libm-test-out: Regenerated.
4350 * sysdeps/i386/fpu/libm-test-ulps: Update.
4351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4352
43532014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4354
4355 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4356 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4357 ports/sysdeps/unix/sysv/linux/microblaze.
4358 * README: Add missing listing for microblaze*-*-linux-gnu.
4359
43602014-02-16 Mike Frysinger <vapier@gentoo.org>
4361
4362 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4363 * sysdeps/unix/sysv/linux/ia64: Move directory from
4364 ports/sysdeps/unix/sysv/linux/ia64.
4365 * README: Update listing for ia64-*-linux-gnu.
4366
43672014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4368 Joseph Myers <joseph@codesourcery.com>
4369
4370 * Makeconfig (test-name): New variable.
4371 (evaluate-test): Likewise.
4372 * Makerules (do-test-clean): Remove .test-result files.
4373 (common-mostlyclean): Likewise.
4374 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4375 * scripts/evaluate-test.sh: New file.
4376
43772014-02-14 Joseph Myers <joseph@codesourcery.com>
4378
4379 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4380 separate $(objpfx)tst-fopenloc-cmp.out and
4381 $(objpfx)tst-fopenloc-mem.out targets.
4382 (tests): Update dependencies.
4383 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4384 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4385 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4386 (tst-rxspencer-no-utf8-ARGS): New variable.
4387 (tst-rxspencer-no-utf8-ENV): Likewise.
4388 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4389 instead of $(objpfx)tst-rxspencer-mem.
4390 ($(objpfx)tst-rxspencer-mem): Change target to
4391 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4392 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4393 * posix/tst-rxspencer-no-utf8.c: New file.
4394
4395 * elf/Makefile ($(objpfx)order.out): Remove rule.
4396 [$(run-built-tests) = yes] (tests): Depend on
4397 $(objpfx)order-cmp.out.
4398 ($(objpfx)order-cmp.out): New rule.
4399 [$(run-built-tests) = yes] (tests): Depend on
4400 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4401 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4402 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4403 $(objpfx)tst-array5-static-cmp.out.
4404 ($(objpfx)tst-array1.out): Remove rule.
4405 ($(objpfx)tst-array1-cmp.out): New rule.
4406 ($(objpfx)tst-array1-static.out): Remove rule.
4407 ($(objpfx)tst-array1-static-cmp.out): New rule.
4408 ($(objpfx)tst-array2.out): Remove rule.
4409 ($(objpfx)tst-array2-cmp.out): New rule.
4410 ($(objpfx)tst-array3.out): Remove rule.
4411 ($(objpfx)tst-array3-cmp.out): New rule.
4412 ($(objpfx)tst-array4.out): Remove rule.
4413 ($(objpfx)tst-array4-cmp.out): New rule.
4414 ($(objpfx)tst-array5.out): Remove rule.
4415 ($(objpfx)tst-array5-cmp.out): New rule.
4416 ($(objpfx)tst-array5-static.out): Remove rule.
4417 ($(objpfx)tst-array5-static-cmp.out): New rule.
4418 [$(run-built-tests) = yes] (tests): Depend on
4419 $(objpfx)order2-cmp.out.
4420 ($(objpfx)order2.out): Remove rule.
4421 ($(objpfx)order2-cmp.out): New rule.
4422 ($(objpfx)tst-initorder.out): Remove rule.
4423 [$(run-built-tests) = yes] (tests): Depend on
4424 $(objpfx)tst-initorder-cmp.out.
4425 ($(objpfx)tst-initorder-cmp.out): New rule.
4426 ($(objpfx)tst-initorder2.out): Remove rule.
4427 [$(run-built-tests) = yes] (tests): Depend on
4428 $(objpfx)tst-initorder2-cmp.out.
4429 ($(objpfx)tst-initorder2-cmp.out): New rule.
4430 [$(run-built-tests) = yes] (tests): Depend on
4431 $(objpfx)tst-unused-dep-cmp.out.
4432 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4433 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4434 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4435 on $(objpfx)tst-setvbuf1-cmp.out.
4436 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4437 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4438 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4439 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4440 ($(objpfx)tst-svc.out): Remove rule.
4441 ($(objpfx)tst-svc-cmp.out): New rule.
4442
44432014-02-13 Joseph Myers <joseph@codesourcery.com>
4444
4445 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4446 * ctype/ctype.h [__USE_MISC]: Likewise.
4447 * dirent/dirent.h [__USE_MISC]: Likewise.
4448 * grp/grp.h [__USE_MISC]: Likewise.
4449 * io/fcntl.h [__USE_MISC]: Likewise.
4450 * io/sys/stat.h [__USE_MISC]: Likewise.
4451 * libio/stdio.h [__USE_MISC]: Likewise.
4452 * posix/unistd.h [__USE_MISC]: Likewise.
4453 * pwd/pwd.h [__USE_MISC]: Likewise.
4454 * stdlib.h [__USE_MISC]: Likewise.
4455 * string/bits/string2.h [__USE_MISC]: Likewise.
4456 * string/string.h [__USE_MISC]: Likewise.
4457 * time/time.h [__USE_MISC]: Likewise.
4458
44592014-02-13 Andreas Schwab <schwab@suse.de>
4460
4461 [BZ #16574]
4462 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4463 second answer buffer if it was separately allocated.
4464
44652014-02-12 Joseph Myers <joseph@codesourcery.com>
4466
4467 * sysdeps/mips/math-tests.h: Include <features.h>.
4468 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4469 (ROUNDING_TESTS_long_double): Do not define.
4470 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4471 (EXCEPTION_TESTS_long_double): Likewise.
4472 * sysdeps/mips/mips64/libm-test-ulps: Update.
4473
4474 * include/features.h (__USE_BSD): Remove macro definitions.
4475 (__USE_SVID): Likewise.
4476 (_BSD_SOURCE): Likewise.
4477 (_SVID_SOURCE): Likewise.
4478 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4479 from definition of _DEFAULT_SOURCE.
4480 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4481 [_DEFAULT_SOURCE].
4482 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4483 * bits/mman.h [__USE_BSD]: Likewise.
4484 * bits/termios.h [__USE_BSD]: Likewise.
4485 * bits/waitstatus.h [__USE_BSD]: Likewise.
4486 * ctype/ctype.h [__USE_SVID]: Likewise.
4487 * dirent/dirent.h [__USE_BSD]: Likewise.
4488 * grp/grp.h [__USE_SVID]: Likewise.
4489 [__USE_BSD]: Likewise.
4490 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4491 * io/fcntl.h [__USE_BSD]: Likewise.
4492 * io/ftw.h [__USE_BSD]: Likewise.
4493 * io/sys/stat.h [__USE_BSD]: Likewise.
4494 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4495 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4496 * libio/stdio.h [__USE_SVID]: Likewise.
4497 [__USE_BSD]: Likewise.
4498 * math/math.h [__USE_SVID]: Likewise.
4499 [__USE_BSD]: Likewise.
4500 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4501 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4502 * misc/search.h [__USE_SVID]: Likewise.
4503 * misc/sys/mman.h [__USE_BSD]: Likewise.
4504 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4505 * misc/sys/uio.h [__USE_BSD]: Likewise.
4506 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4507 * posix/glob.h [__USE_BSD]: Likewise.
4508 * posix/regex.h [__USE_BSD]: Likewise.
4509 * posix/sys/types.h [__USE_BSD]: Likewise.
4510 [__USE_SVID]: Likewise.
4511 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4512 * posix/sys/wait.h [__USE_BSD]: Likewise.
4513 [__USE_SVID]: Likewise.
4514 * posix/unistd.h [__USE_BSD]: Likewise.
4515 [__USE_SVID]: Likewise.
4516 * pwd/pwd.h [__USE_SVID]: Likewise.
4517 * resolv/netdb.h [__USE_BSD]: Likewise.
4518 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4519 * signal/signal.h [__USE_BSD]: Likewise.
4520 [__USE_SVID]: Likewise.
4521 * socket/sys/socket.h [__USE_BSD]: Likewise.
4522 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4523 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4524 [__USE_SVID]: Likewise.
4525 * string/bits/string2.h [__USE_BSD]: Likewise.
4526 [__USE_SVID]: Likewise.
4527 * string/bits/string3.h [__USE_BSD]: Likewise.
4528 * string/endian.h [__USE_BSD]: Likewise.
4529 * string/string.h [__USE_SVID]: Likewise.
4530 [__USE_BSD]: Likewise.
4531 * string/strings.h [__USE_BSD]: Likewise.
4532 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4533 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4534 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4535 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4536 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4537 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4538 Likewise.
4539 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4540 Likewise.
4541 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4542 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4543 Likewise.
4544 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4545 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4546 Likewise.
4547 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4548 Likewise.
4549 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4550 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4551 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4552 Likewise.
4553 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4554 Likewise.
4555 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4556 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4557 * termios/termios.h [__USE_BSD]: Likewise.
4558 * time/sys/time.h [__USE_BSD]: Likewise.
4559 * time/time.h [__USE_BSD]: Likewise.
4560 [__USE_SVID]: Likewise.
4561
4562 * Makefile (subdir_targets): Remove subdir_lint.out.
4563
4564 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4565 (do-tst-printf): Likewise.
4566 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4567 $(objpfx)tst-printf.out.
4568
4569 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4570
4571 * Makerules (check-abi-%): Change target to
4572 $(objpfx)check-abi-%.out.
4573 (check-abi target): Update dependencies.
4574 (check-abi-pattern variable): Redirect output of diff to $@.
4575 (check-abi variable): Likewise.
4576 * elf/Makefile (check-abi): Update dependencies.
4577
4578 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4579 unused.
4580 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4581 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4582 subnormal range.
4583 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4584 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4585 value has largest subnormal exponent.
4586 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4587 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4588 * sysdeps/aarch64/soft-fp/sfp-machine.h
4589 (_FP_TININESS_AFTER_ROUNDING): New macro.
4590 * sysdeps/alpha/soft-fp/sfp-machine.h
4591 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4592 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4593 Likewise.
4594 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4595 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4596 * sysdeps/mips/soft-fp/sfp-machine.h
4597 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4598 * sysdeps/powerpc/soft-fp/sfp-machine.h
4599 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4600 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4601 Likewise.
4602 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4603 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4604 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4605 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4606 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4607 Likewise.
4608
46092014-02-12 Dylan Alex Simon <dylan@dylex.net>
4610
4611 [BZ #16545]
4612 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4613 model 1.
4614
46152014-02-12 Richard Henderson <rth@redhat.com>
4616
4617 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4618 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4619 * sysdeps/unix/sysv/linux/alpha: Move directory from
4620 ports/sysdeps/unix/sysv/linux/alpha.
4621 * README: Update listing for alpha-*-linux-gnu.
4622
46232014-02-11 Joseph Myers <joseph@codesourcery.com>
4624
4625 * include/features.h: Update comment documenting feature test
4626 macros.
4627 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4628 _DEFAULT_SOURCE.
4629 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4630 (_SVID_SOURCE): Likewise.
4631 (_DEFAULT_SOURCE): Update description of default features.
4632 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4633 with _GNU_SOURCE.
4634 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4635 (S_ISVTX): Likewise.
4636 * manual/math.texi (Mathematical Constants): Likewise.
4637 * manual/signal.texi (Interrupted Primitives): Likewise.
4638 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4639 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4640 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4641 Don't refer to _SVID_SOURCE in warning text.
4642
4643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4644
4645 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4646 already defined.
4647 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4648 * sysdeps/mips/dl-lookup.c: Remove.
4649 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4650
46512014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4652
4653 [BZ #16447]
4654 * math/auto-libm-test-in: Add testcase for expl.
4655 * math/auto-libm-test-out: Regenerate.
4656 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4657 calculation of unsafe.
4658 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4659
46602014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4661
4662 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4663 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4664 ports/sysdeps/unix/sysv/linux/aarch64.
4665 * README: Update listing for aarch64*-*-linux-gnu.
4666
46672014-02-11 Will Newton <will.newton@linaro.org>
4668
4669 * manual/probes.texi (Mathematical Function Probes): Use
4670 "triggered" instead of "hit".
4671
4672 * manual/probes.texi (Internal Probes): Add documentation
4673 of setjmp, longjmp and longjmp_target probes.
4674
4675 * include/stap-probe.h: Add comment about probe argument
4676 format.
4677
4678 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4679 definition. (tr_where, tr_freehook, tr_mallochook,
4680 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4681
46822014-02-11 David S. Miller <davem@davemloft.net>
4683
4684 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4685 processing int_tests.
4686
46872014-02-10 Joseph Myers <joseph@codesourcery.com>
4688
4689 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4690 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4691 * sysdeps/unix/sysv/linux/mips: Move directory from
4692 ports/sysdeps/unix/sysv/linux/mips.
4693 * README: Update listing for mips-*-linux-gnu and
4694 mips64-*-linux-gnu.
4695
46962014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4697
4698 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4699 * sysdeps/unix/sysv/linux/m68k: Move directory from
4700 ports/sysdeps/unix/sysv/linux/m68k.
4701 * README: Update listing for m68k-*-linux-gnu.
4702
47032014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4704
4705 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4706 * sysdeps/unix/sysv/linux/generic: Move directory from
4707 ports/sysdeps/unix/sysv/linux/generic.
4708 * sysdeps/unix/sysv/linux/tile: Move directory from
4709 ports/sysdeps/unix/sysv/linux/tile.
4710 * README: Update listing for tile*-*-linux-gnu.
4711
47122014-02-10 Ondřej Bílka <neleai@seznam.cz>
4713
4714 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4715 __builtin_expect.
4716 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4717 * catgets/open_catalog.c (__open_catalog): Likewise.
4718 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4719 * debug/confstr_chk.c: Likewise.
4720 * debug/fread_chk.c (__fread_chk): Likewise.
4721 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4722 * debug/getgroups_chk.c: Likewise.
4723 * debug/mbsnrtowcs_chk.c: Likewise.
4724 * debug/mbsrtowcs_chk.c: Likewise.
4725 * debug/mbstowcs_chk.c: Likewise.
4726 * debug/memcpy_chk.c: Likewise.
4727 * debug/memmove_chk.c: Likewise.
4728 * debug/mempcpy_chk.c: Likewise.
4729 * debug/memset_chk.c: Likewise.
4730 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4731 * debug/strcat_chk.c (__strcat_chk): Likewise.
4732 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4733 * debug/strncat_chk.c (__strncat_chk): Likewise.
4734 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4735 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4736 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4737 * debug/wcpncpy_chk.c: Likewise.
4738 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4739 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4740 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4741 * debug/wcsncpy_chk.c: Likewise.
4742 * debug/wcsnrtombs_chk.c: Likewise.
4743 * debug/wcsrtombs_chk.c: Likewise.
4744 * debug/wcstombs_chk.c: Likewise.
4745 * debug/wmemcpy_chk.c: Likewise.
4746 * debug/wmemmove_chk.c: Likewise.
4747 * debug/wmempcpy_chk.c: Likewise.
4748 * debug/wmemset_chk.c: Likewise.
4749 * dirent/scandirat.c (SCANDIRAT): Likewise.
4750 * dlfcn/dladdr1.c (dladdr1): Likewise.
4751 * dlfcn/dladdr.c (dladdr): Likewise.
4752 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4753 * dlfcn/dlerror.c (__dlerror): Likewise.
4754 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4755 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4756 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4757 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4758 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4759 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4760 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4761 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4762 Likewise.
4763 * elf/dl-conflict.c: Likewise.
4764 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4765 * elf/dl-dst.h: Likewise.
4766 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4767 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4768 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4769 * elf/dl-init.c (call_init, _dl_init): Likewise.
4770 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4771 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4772 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4773 Likewise.
4774 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4775 Likewise.
4776 * elf/dl-minimal.c (__libc_memalign): Likewise.
4777 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4778 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4779 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4780 * elf/dl-sym.c (do_sym): Likewise.
4781 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4782 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4783 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4784 * elf/dl-writev.h (_dl_writev): Likewise.
4785 * elf/ldconfig.c (search_dir): Likewise.
4786 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4787 (dl_main): Likewise.
4788 * elf/setup-vdso.h (setup_vdso): Likewise.
4789 * grp/compat-initgroups.c (compat_call): Likewise.
4790 * grp/fgetgrent.c (fgetgrent): Likewise.
4791 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4792 * grp/putgrent.c (putgrent): Likewise.
4793 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4794 Likewise.
4795 * hurd/hurdinit.c: Likewise.
4796 * iconvdata/8bit-gap.c (struct): Likewise.
4797 * iconvdata/ansi_x3.110.c : Likewise.
4798 * iconvdata/big5.c : Likewise.
4799 * iconvdata/big5hkscs.c : Likewise.
4800 * iconvdata/cp1255.c: Likewise.
4801 * iconvdata/cp1258.c : Likewise.
4802 * iconvdata/cp932.c : Likewise.
4803 * iconvdata/euc-cn.c: Likewise.
4804 * iconvdata/euc-jisx0213.c : Likewise.
4805 * iconvdata/euc-jp.c: Likewise.
4806 * iconvdata/euc-jp-ms.c : Likewise.
4807 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4808 * iconvdata/gb18030.c : Likewise.
4809 * iconvdata/gbbig5.c (const): Likewise.
4810 * iconvdata/gbgbk.c: Likewise.
4811 * iconvdata/gbk.c : Likewise.
4812 * iconvdata/ibm1364.c : Likewise.
4813 * iconvdata/ibm930.c : Likewise.
4814 * iconvdata/ibm932.c: Likewise.
4815 * iconvdata/ibm933.c : Likewise.
4816 * iconvdata/ibm935.c : Likewise.
4817 * iconvdata/ibm937.c : Likewise.
4818 * iconvdata/ibm939.c : Likewise.
4819 * iconvdata/ibm943.c: Likewise.
4820 * iconvdata/iso_11548-1.c: Likewise.
4821 * iconvdata/iso-2022-cn.c : Likewise.
4822 * iconvdata/iso-2022-cn-ext.c : Likewise.
4823 * iconvdata/iso-2022-jp-3.c: Likewise.
4824 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4825 * iconvdata/iso-2022-kr.c : Likewise.
4826 * iconvdata/iso646.c (gconv_end): Likewise.
4827 * iconvdata/iso_6937-2.c : Likewise.
4828 * iconvdata/iso_6937.c : Likewise.
4829 * iconvdata/iso8859-1.c: Likewise.
4830 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4831 * iconvdata/shift_jisx0213.c : Likewise.
4832 * iconvdata/sjis.c : Likewise.
4833 * iconvdata/t.61.c : Likewise.
4834 * iconvdata/tcvn5712-1.c : Likewise.
4835 * iconvdata/tscii.c: Likewise.
4836 * iconvdata/uhc.c : Likewise.
4837 * iconvdata/unicode.c (gconv_end): Likewise.
4838 * iconvdata/utf-16.c (gconv_end): Likewise.
4839 * iconvdata/utf-32.c (gconv_end): Likewise.
4840 * iconvdata/utf-7.c (base64): Likewise.
4841 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4842 * iconv/gconv_close.c (__gconv_close): Likewise.
4843 * iconv/gconv_open.c (__gconv_open): Likewise.
4844 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4845 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4846 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4847 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4848 (ucs4le_internal_loop_single): Likewise.
4849 * iconv/iconv.c (iconv): Likewise.
4850 * iconv/iconv_close.c: Likewise.
4851 * iconv/loop.c (SINGLE): Likewise.
4852 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4853 * include/atomic.h: Likewise.
4854 * inet/inet6_option.c (option_alloc): Likewise.
4855 * intl/bindtextdom.c (set_binding_values): Likewise.
4856 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4857 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4858 * intl/localealias.c (read_alias_file): Likewise.
4859 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4860 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4861 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4862 * libio/fmemopen.c (fmemopen): Likewise.
4863 * libio/iofgets.c (_IO_fgets): Likewise.
4864 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4865 * libio/iofgetws.c (fgetws): Likewise.
4866 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4867 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4868 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4869 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4870 * locale/findlocale.c (_nl_find_locale): Likewise.
4871 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4872 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4873 Likewise.
4874 * locale/setlocale.c (setlocale): Likewise.
4875 * login/programs/pt_chown.c (main): Likewise.
4876 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4877 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4878 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4879 (mmap, mmap64, mremap, munmap): Likewise.
4880 * math/e_exp2l.c: Likewise.
4881 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4882 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4883 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4884 * math/s_catan.c (__catan): Likewise.
4885 * math/s_catanf.c (__catanf): Likewise.
4886 * math/s_catanh.c (__catanh): Likewise.
4887 * math/s_catanhf.c (__catanhf): Likewise.
4888 * math/s_catanhl.c (__catanhl): Likewise.
4889 * math/s_catanl.c (__catanl): Likewise.
4890 * math/s_ccosh.c (__ccosh): Likewise.
4891 * math/s_ccoshf.c (__ccoshf): Likewise.
4892 * math/s_ccoshl.c (__ccoshl): Likewise.
4893 * math/s_cexp.c (__cexp): Likewise.
4894 * math/s_cexpf.c (__cexpf): Likewise.
4895 * math/s_cexpl.c (__cexpl): Likewise.
4896 * math/s_clog10.c (__clog10): Likewise.
4897 * math/s_clog10f.c (__clog10f): Likewise.
4898 * math/s_clog10l.c (__clog10l): Likewise.
4899 * math/s_clog.c (__clog): Likewise.
4900 * math/s_clogf.c (__clogf): Likewise.
4901 * math/s_clogl.c (__clogl): Likewise.
4902 * math/s_csin.c (__csin): Likewise.
4903 * math/s_csinf.c (__csinf): Likewise.
4904 * math/s_csinh.c (__csinh): Likewise.
4905 * math/s_csinhf.c (__csinhf): Likewise.
4906 * math/s_csinhl.c (__csinhl): Likewise.
4907 * math/s_csinl.c (__csinl): Likewise.
4908 * math/s_csqrt.c (__csqrt): Likewise.
4909 * math/s_csqrtf.c (__csqrtf): Likewise.
4910 * math/s_csqrtl.c (__csqrtl): Likewise.
4911 * math/s_ctan.c (__ctan): Likewise.
4912 * math/s_ctanf.c (__ctanf): Likewise.
4913 * math/s_ctanh.c (__ctanh): Likewise.
4914 * math/s_ctanhf.c (__ctanhf): Likewise.
4915 * math/s_ctanhl.c (__ctanhl): Likewise.
4916 * math/s_ctanl.c (__ctanl): Likewise.
4917 * math/w_pow.c: Likewise.
4918 * math/w_powf.c: Likewise.
4919 * math/w_powl.c: Likewise.
4920 * math/w_scalb.c (sysv_scalb): Likewise.
4921 * math/w_scalbf.c (sysv_scalbf): Likewise.
4922 * math/w_scalbl.c (sysv_scalbl): Likewise.
4923 * misc/error.c (error_tail): Likewise.
4924 * misc/pselect.c (__pselect): Likewise.
4925 * nis/nis_callback.c (__nis_create_callback): Likewise.
4926 * nis/nis_call.c (__nisfind_server): Likewise.
4927 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4928 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4929 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4930 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4931 * nis/nis_lookup.c (nis_lookup): Likewise.
4932 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4933 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4934 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4935 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4936 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4937 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4938 * nis/nss_compat/compat-initgroups.c (add_group)
4939 (internal_getgrent_r): Likewise.
4940 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4941 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4942 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4943 (internal_getspnam_r): Likewise.
4944 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4945 (_nss_nis_getaliasbyname_r): Likewise.
4946 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4947 (_nss_nis_getntohost_r): Likewise.
4948 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4949 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4950 (_nss_nis_getgrgid_r): Likewise.
4951 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4952 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4953 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4954 (_nss_nis_gethostbyname4_r): Likewise.
4955 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4956 (initgroups_netid): Likewise.
4957 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4958 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4959 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4960 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4961 (_nss_nis_getprotobynumber_r): Likewise.
4962 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4963 (_nss_nis_getsecretkey): Likewise.
4964 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4965 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4966 (_nss_nis_getpwuid_r): Likewise.
4967 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4968 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4969 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4970 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4971 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4972 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4973 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4974 Likewise.
4975 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4976 (_nss_nisplus_getntohost_r): Likewise.
4977 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4978 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4979 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4980 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4981 Likewise.
4982 * nis/nss_nisplus/nisplus-initgroups.c
4983 (_nss_nisplus_initgroups_dyn): Likewise.
4984 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4985 (_nss_nisplus_getnetbyaddr_r): Likewise.
4986 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4987 (_nss_nisplus_getprotobynumber_r): Likewise.
4988 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4989 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4990 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4991 Likewise.
4992 * nis/nss_nisplus/nisplus-service.c
4993 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4994 (_nss_nisplus_getservbyport_r): Likewise.
4995 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4996 (_nss_nisplus_getspnam_r): Likewise.
4997 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4998 Likewise.
4999 * nscd/aicache.c (addhstaiX): Likewise.
5000 * nscd/cache.c (cache_search, prune_cache): Likewise.
5001 * nscd/connections.c (register_traced_file, send_ro_fd)
5002 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5003 (main_loop_epoll): Likewise.
5004 * nscd/grpcache.c (addgrbyX): Likewise.
5005 * nscd/hstcache.c (addhstbyX): Likewise.
5006 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5007 * nscd/mem.c (gc, mempool_alloc): Likewise.
5008 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5009 (addinnetgrX): Likewise.
5010 * nscd/nscd-client.h (__nscd_acquire_maplock)
5011 (__nscd_drop_map_ref): Likewise.
5012 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5013 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5014 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5015 Likewise.
5016 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5017 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5018 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5019 (__nscd_get_map_ref): Likewise.
5020 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5021 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5022 Likewise.
5023 * nscd/pwdcache.c (addpwbyX): Likewise.
5024 * nscd/selinux.c (preserve_capabilities): Likewise.
5025 * nscd/servicescache.c (addservbyX): Likewise.
5026 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5027 * posix/fnmatch.c (fnmatch): Likewise.
5028 * posix/getopt.c (_getopt_internal_r): Likewise.
5029 * posix/glob.c (glob, glob_in_dir): Likewise.
5030 * posix/wordexp.c (exec_comm_child): Likewise.
5031 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5032 (getanswer_r, gaih_getanswer_slice): Likewise.
5033 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5034 * resolv/res_init.c: Likewise.
5035 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5036 * resolv/res_query.c (__libc_res_nquery): Likewise.
5037 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5038 Likewise.
5039 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5040 * stdio-common/perror.c (perror): Likewise.
5041 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5042 * stdio-common/tmpnam.c (tmpnam): Likewise.
5043 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5044 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5045 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5046 Likewise.
5047 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5048 * stdlib/putenv.c (putenv): Likewise.
5049 * stdlib/setenv.c (__add_to_environ): Likewise.
5050 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5051 * stdlib/strtol_l.c (INTERNAL): Likewise.
5052 * string/memmem.c (memmem): Likewise.
5053 * string/strerror.c (strerror): Likewise.
5054 * string/strnlen.c (__strnlen): Likewise.
5055 * string/test-memmem.c (simple_memmem): Likewise.
5056 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5057 * sunrpc/pm_getport.c (__get_socket): Likewise.
5058 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5059 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5060 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5061 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5062 Likewise.
5063 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5064 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5065 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5066 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5067 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5068 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5069 Likewise.
5070 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5071 Likewise.
5072 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5073 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5074 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5075 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5076 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5078 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5079 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5080 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5081 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5082 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5083 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5084 Likewise.
5085 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5086 Likewise.
5087 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5088 Likewise.
5089 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5090 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5091 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5092 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5093 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5094 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5095 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5097 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5099 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5100 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5104 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5105 Likewise.
5106 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5107 Likewise.
5108 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5109 Likewise.
5110 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5111 Likewise.
5112 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5113 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5114 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5115 Likewise.
5116 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5117 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5118 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5119 * sysdeps/posix/sleep.c: Likewise.
5120 * sysdeps/posix/tempname.c: Likewise.
5121 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5122 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5123 Likewise.
5124 * sysdeps/powerpc/powerpc32/dl-machine.h
5125 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5126 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5127 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5128 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5129 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5130 Likewise.
5131 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5132 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5133 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5134 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5135 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5136 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5137 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5138 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5139 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5140 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5141 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5142 (elf_machine_lazy_rel): Likewise.
5143 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5144 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5145 (elf_machine_lazy_rel): Likewise.
5146 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5147 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5148 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5149 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5150 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5151 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5152 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5153 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5154 Likewise.
5155 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5156 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5157 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5158 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5159 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5160 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5161 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5162 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5163 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5164 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5165 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5166 Likewise.
5167 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5168 (__posix_fallocate64_l64): Likewise.
5169 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5170 (posix_fallocate): Likewise.
5171 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5172 Likewise.
5173 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5174 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5175 (getifaddrs_internal): Likewise.
5176 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5177 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5178 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5179 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5180 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5181 (__posix_fallocate64_l64): Likewise.
5182 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5183 Likewise.
5184 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5185 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5186 (__get_clockfreq): Likewise.
5187 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5188 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5189 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5190 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5191 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5192 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5193 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5194 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5195 Likewise.
5196 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5197 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5198 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5199 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5200 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5201 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5202 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5203 Likewise.
5204 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5205 (posix_fallocate): Likewise.
5206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5207 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5208 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5209 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5210 (elf_machine_rela, elf_machine_rela_relative)
5211 (elf_machine_lazy_rel): Likewise.
5212 * time/asctime.c (asctime_internal): Likewise.
5213 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5214 * time/tzset.c (__tzset_parse_tz): Likewise.
5215 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5216 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5217 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5218 * wcsmbs/wcsmbsload.h: Likewise.
5219
5220 [BZ #15894]
5221 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5222
5223 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5224 (arena_get2): Remove THREAD_STATS conditionals.
5225 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5226 (__malloc_stats, int): Likewise.
5227
52282014-02-08 Mike Frysinger <vapier@gentoo.org>
5229
5230 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5231 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5232
5233 * manual/setjmp.texi: Fix typos/grammar errors.
5234
5235 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5236 Only return early when n is <= 0. Delete unused return statement.
5237
5238 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5239 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5240 * debug/tst-longjmp_chk3.c: New file.
5241
5242 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5243 (test_main): Replace code with set_fortify_handler call.
5244 * debug/test-strcpy_chk.c: Likewise.
5245 * debug/tst-chk1.c: Likewise.
5246 * debug/tst-longjmp_chk.c: Likewise.
5247 * test-skeleton.c: Include fcntl.h & paths.h
5248 (set_fortify_handler): Define.
5249
5250 * debug/tst-longjmp_chk.c: Add header comment and include
5251 ../test-skeleton.c.
5252 (do_test): Mark static.
5253 (TEST_FUNCTION): Define.
5254
5255 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5256 (IP_PMTUDISC_INTERFACE): Likewise.
5257 (IP_MULTICAST_IF): Likewise.
5258 (IP_MULTICAST_TTL): Likewise.
5259 (IP_MULTICAST_LOOP): Likewise.
5260 (IP_ADD_MEMBERSHIP): Likewise.
5261 (IP_DROP_MEMBERSHIP): Likewise.
5262 (IP_UNBLOCK_SOURCE): Likewise.
5263 (IP_BLOCK_SOURCE): Likewise.
5264 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5265 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5266 (IP_MSFILTER): Likewise.
5267 (MCAST_JOIN_GROUP): Likewise.
5268 (MCAST_BLOCK_SOURCE): Likewise.
5269 (MCAST_UNBLOCK_SOURCE): Likewise.
5270 (MCAST_LEAVE_GROUP): Likewise.
5271 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5272 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5273 (MCAST_MSFILTER): Likewise.
5274 (IP_MULTICAST_ALL): Likewise.
5275 (IP_UNICAST_IF): Likewise.
5276
5277 * timezone/Makefile: Delete $(have-ksh) check.
5278 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5279 * timezone/tzselect.ksh: Add +x mode bits.
5280
5281 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5282 (ANON_INODE_FS_MAGIC): Likewise.
5283 (BDEVFS_MAGIC): Likewise.
5284 (BINFMTFS_MAGIC): Likewise.
5285 (BTRFS_TEST_MAGIC): Likewise.
5286 (CRAMFS_MAGIC_WEND): Likewise.
5287 (DEBUGFS_MAGIC): Likewise.
5288 (ECRYPTFS_SUPER_MAGIC): Likewise.
5289 (EXT3_SUPER_MAGIC): Likewise.
5290 (EXT4_SUPER_MAGIC): Likewise.
5291 (FUTEXFS_SUPER_MAGIC): Likewise.
5292 (HOSTFS_SUPER_MAGIC): Likewise.
5293 (HUGETLBFS_MAGIC): Likewise.
5294 (MINIX3_SUPER_MAGIC): Likewise.
5295 (MTD_INODE_FS_MAGIC): Likewise.
5296 (NILFS_SUPER_MAGIC): Likewise.
5297 (OPENPROM_SUPER_MAGIC): Likewise.
5298 (PIPEFS_MAGIC): Likewise.
5299 (PSTOREFS_MAGIC): Likewise.
5300 (QNX6_SUPER_MAGIC): Likewise.
5301 (RAMFS_MAGIC): Likewise.
5302 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5303 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5304 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5305 (SECURITYFS_MAGIC): Likewise.
5306 (SELINUX_MAGIC): Likewise.
5307 (SMACK_MAGIC): Likewise.
5308 (SOCKFS_MAGIC): Likewise.
5309 (SQUASHFS_MAGIC): Likewise.
5310 (STACK_END_MAGIC): Likewise.
5311 (TMPFS_MAGIC): Likewise.
5312 (USBDEVICE_SUPER_MAGIC): Likewise.
5313 (V9FS_MAGIC): Likewise.
5314 (XENFS_SUPER_MAGIC): Likewise.
5315 (CRAMFS_MAGIC): Fix typo in comment.
5316 (EXT2_SUPER_MAGIC): Update comment.
5317 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5318
53192014-02-08 Joseph Myers <joseph@codesourcery.com>
5320
5321 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5322 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5323 * sysdeps/unix/sysv/linux/arm: Move directory from
5324 ports/sysdeps/unix/sysv/linux/arm.
5325 * README: Update listing for arm-*-linux-gnueabi.
5326
5327 * README: Remove mention of am33.
5328
53292014-02-07 Roland McGrath <roland@hack.frob.com>
5330
5331 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5332 than the comma operator, to avoid "rhs of comma has no effect"
5333 compiler warnings.
5334 (__sigfillset, __sigandset, __sigorset): Likewise.
5335 * include/signal.h (__sigemptyset): Likewise.
5336 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5337
53382014-02-07 Allan McRae <allan@archlinux.org>
5339
5340 * version.h (RELEASE): Set to "development".
5341 (VERSION): Set to "2.19.90"
5342 * NEWS: Add 2.20 section.
5343
53442014-02-06 Carlos O'Donell <carlos@redhat.com>
5345
5346 [BZ #16529]
5347 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5348
53492014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5350
5351 * manual/contrib.texi: Update entry for Carlos O'Donell,
5352 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5353
53542014-02-05 Carlos O'Donell <carlos@rehdat.com>
5355
5356 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5357
5358 * sysdeps/unix/sysv/linux/kernel-features.h
5359 [__LINUX_KERNEL_VERSION >= 0x020621]
5360 (__ASSUME_PROC_PID_TASK_COMM): Define.
5361
53622014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5363
5364 [BZ #16398]
5365 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5366 conversion when destination buffer does not have enough space.
5367 * libio/tst-ftell-partial-wide.c: New test case.
5368 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5369
5370 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5371 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5372 Leonard and Allan McRae.
5373
53742014-02-04 David S. Miller <davem@davemloft.net>
5375
5376 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5377 32-bit.
5378
53792014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5380
5381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5382 New file
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5384 New file
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5386 New file.
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5388 New file.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5390 New file.
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5392 New file.
5393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5394 New file.
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5396 New file.
5397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5398 New file.
5399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5400 New file.
5401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5402 New file.
5403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5404 New file.
5405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5406 New file.
5407
54082014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5409
5410 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5411 * shlib-versions: Likewise.
5412
54132014-02-04 Roland McGrath <roland@hack.frob.com>
5414 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5415
5416 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5417 (abilist-pattern): New variable, set to %-le.abilist.
5418
5419 * Makerules (abilist-pattern): New variable.
5420 (vpath): Use $(abilist-pattern) in place of %.abilist.
5421 (check-abi-% pattern rule): Likewise.
5422 (check-abi, update-abi): Likewise.
5423
54242014-02-04 Eric Wong <normalperson@yhbt.net>
5425
5426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5427
54282014-02-03 Carlos O'Donell <carlos@redhat.com>
5429
5430 * manual/startup.texi: Add next, previous, and top entries for
5431 the `Program Arguments' and `Environment Variables' nodes.
5432
54332014-02-03 Alexandre Oliva <aoliva@redhat.com>
5434
5435 * manual/macros.texi: Add comments before MTASC-safety macros.
5436
5437 * manual/users.texi: Document MTASC-safety properties.
5438
5439 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5440 (pthread_getspecific, pthread_setspecific): Format with
5441 @deftypefun, and add @safety note.
5442 * manual/signal.texi: Move comments that analyze the above
5443 functions to their home place.
5444
54452014-02-03 Allan McRae <allan@archlinux.org>
5446
5447 * po/sl.po: Update Slovenian translation from translation project.
5448
54492014-02-02 Alexandre Oliva <aoliva@redhat.com>
5450
5451 * manual/time.texi (timegm): Add missing blank after @c.
5452 Reported by Joseph Myers <joseph@codesourcery.com>.
5453
54542014-02-01 Alexandre Oliva <aoliva@redhat.com>
5455
5456 * manual/check-safety.sh: New.
5457 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5458
5459 * manual/terminal.texi: Document MTASC-safety properties.
5460
5461 * manual/filesys.texi: Document MTASC-safety properties.
5462
5463 * manual/errno.texi: Document MTASC-safety properties.
5464
5465 * manual/intro.texi: Document safety identifiers and
5466 conditionals.
5467
5468 * manual/string.texi (wcstok): Fix prototype.
5469 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5470
5471 * manual/time.texi: Document MTASC-safety properties.
5472
5473 * manual/string.texi: Document MTASC-safety properties.
5474
5475 * manual/threads.texi: Document MTASC-safety properties.
5476
5477 * manual/stdio.texi: Document MTASC-safety properties.
5478
5479 * manual/syslog.texi: Document MTASC-safety properties.
5480
5481 * manual/sysinfo.texi: Document MTASC-safety properties.
5482
5483 * manual/startup.texi: Document MTASC-safety properties.
5484
5485 * manual/socket.texi: Document MTASC-safety properties.
5486
5487 * manual/signal.texi: Document MTASC-safety properties.
5488
54892014-01-31 Alexandre Oliva <aoliva@redhat.com>
5490
5491 * manual/setjmp.texi: Document MTASC-safety properties.
5492
5493 * manual/search.texi: Document MTASC-safety properties.
5494
5495 * manual/resource.texi: Document MTASC-safety properties.
5496
5497 * manual/process.texi: Document MTASC-safety properties.
5498
5499 * manual/platform.texi: Document MTASC-safety properties.
5500
5501 * manual/pipe.texi: Document MTASC-safety properties.
5502
5503 * manual/pattern.texi: Document MTASC-safety properties.
5504
5505 * manual/message.texi: Document MTASC-safety properties.
5506
5507 [BZ #12751]
5508 * manual/memory.texi: Document MTASC-safety properties.
5509
5510 * manual/math.texi: Document MTASC-safety properties.
5511
5512 * manual/locale.texi: Document MTASC-safety properties.
5513
5514 * manual/llio.texi: Document MTASC-safety properties.
5515
5516 * manual/libdl.texi: New.
5517
5518 * manual/lang.texi: Document MTASC-safety properties.
5519
5520 * manual/job.texi: Document MTASC-safety properties.
5521
5522 * manual/getopt.texi: Document MTASC-safety properties.
5523
5524 * manual/ctype.texi: Document MTASC-safety properties.
5525
55262014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5527
5528 [BZ #16046]
5529 * csu/libc-tls.c (static_map): Remove variable.
5530 (__libc_setup_tls): Use main executable's link map for TLS data.
5531 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5532 casing for LM_ID_BASE and GL(dl_nns).
5533 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5534 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5535 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5536 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5537 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5538 member.
5539 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5540 l_phnum members.
5541
55422014-01-30 Alexandre Oliva <aoliva@redhat.com>
5543
5544 * manual/debug.texi: Document MTASC-safety properties.
5545
55462014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5547
5548 [BZ #16510]
5549 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5550 of __x86_64__ when disabling x87 inline functions.
5551
55522014-01-29 Alexandre Oliva <aoliva@redhat.com>
5553
5554 * manual/charset.texi: Document MTASC-safety properties.
5555
5556 * manual/crypt.texi: Document MTASC-safety properties.
5557
5558 * manual/conf.texi: Document MTASC-safety properties.
5559
5560 * manual/arith.texi: Document MTASC-safety properties.
5561
5562 * manual/argp.texi: Document MTASC-safety properties.
5563
5564 * manual/macros.texi: Introduce macros to document multi
5565 thread, asynchronous signal and asynchronous cancellation
5566 safety properties.
5567 * manual/intro.texi: Introduce the properties themselves.
5568
55692014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5570
5571 * sysdeps/sh/sh4/Makefile: New file.
5572
55732014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5574
5575 * math/gen-libm-test.pl ($srcdir): New variable.
5576 ($auto_input): Use it.
5577
55782014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5579
5580 [BZ #16506]
5581 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5582 access beyond array bounds when parsing netgroups file.
5583
5584 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5585 the old buffer before realloc.
5586
55872014-01-27 Allan McRae <allan@archlinux.org>
5588
5589 * po/fr.po: Update French translation from translation project.
5590
55912014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5592
5593 * sysdeps/sh/libm-test-ulps: Regenerate.
5594
55952014-01-24 David S. Miller <davem@davemloft.net>
5596
5597 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5598
55992014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5600
5601 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5602 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5603
56042013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5605
5606 [BZ #16474]
5607 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5608 string pointers after reallocation.
5609
56102014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5611
5612 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5613 __SH4A__ instead of __SH_FPU_ANY__.
5614
56152014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5616
5617 * sysdeps/sh/fpu_control.h: New file.
5618 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5619 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5620 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5621 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5622 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5623 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5624 * sysdeps/sh/sys/ucontext.h: Remove.
5625 * sysdeps/sh/sys: Remove directory.
5626
56272014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5628
5629 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5630 s390/sys/ucontext.h.
5631 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5632 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5633
56342014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5635
5636 [BZ #15605]
5637 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5638
56392014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5640
5641 [BZ#16431]
5642 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5643 Adjust the vDSO correctly for internal calls.
5644 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5645
56462014-01-20 Allan McRae <allan@archlinux.org>
5647
5648 * po/ca.po: Update Catalan translation from translation project.
5649
56502014-01-16 Mike Frysinger <vapier@gentoo.org>
5651
5652 * sysdeps/s390/sotruss-lib.c: New file.
5653
56542014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5655
5656 [BZ#16430]
5657 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5658 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5659 local calls issues by not having a PLT stub required for IFUNC calls.
5660 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5661
56622014-01-16 Joseph Myers <joseph@codesourcery.com>
5663
5664 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5665 * math/test-fpucw-static.c: Likewise.
5666
56672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5668
5669 [BZ #16453]
5670 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5671
56722014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5673
5674 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5675 implementation for powerpc.
5676
56772014-01-15 Ondřej Bílka <neleai@seznam.cz>
5678
5679 [BZ #14782]
5680 * sysdeps/posix/system.c (__libc_system): Do not enable
5681 asynchronous cancellation.
5682
56832014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5684
5685 [BZ #16427]
5686 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5687 handling only for numbers special also in the IEEE case.
5688
56892014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5690
5691 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5692
56932014-01-11 Allan McRae <allan@archlinux.org>
5694
5695 * po/bg.po: Update Bulgarian translation from translation project.
5696
5697 * po/de.po: Update German translation from translation project.
5698
56992014-01-10 Roland McGrath <roland@hack.frob.com>
5700
5701 * sysdeps/generic/gcc-compat.h: New file.
5702
57032014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5704
5705 * benchtests/asin-inputs: Correct slow inputs.
5706 * benchtests/acos-inputs: Likewise.
5707
57082014-01-10 Allan McRae <allan@archlinux.org>
5709
5710 * po:sv.po: Update Swedish translation from translation project.
5711
5712 * po/vi.po: Update Vietnamese translation from translation project.
5713
5714 * po/eo.po: Update Esperanto translation from translation project.
5715
5716 * po/cs.po: Update Czech translation from translation project.
5717
5718 * po/nl.po: Update Dutch translation from translation project.
5719
5720 * po/pl.po: Update Polish translation from translation project.
5721
5722 * po/ru.po: Update Russian translation from translation project.
5723
5724 * po/uk.po: Update Ukrainian translation from translation project.
5725
57262014-01-08 Brooks Moses <bmoses@google.com>
5727
5728 * elf/dl-load.c: Fix comment typo.
5729
57302014-01-08 Carlos O'Donell <carlos@redhat.com>
5731
5732 * po/header.pot: Rename to...
5733 * po/pot.header: ... this.
5734 * po/Makefile: Use pot.header.
5735
57362014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5737 Maxim Kuvyrkov <maxim@kugelworks.com>
5738
5739 [BZ #16394]
5740 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5741 SRC and DEST against LEN.
5742
57432014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5744
5745 [BZ #16414]
5746 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5747 implementation.
5748 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5749
57502014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5751
5752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5753
57542014-01-08 Joseph Myers <joseph@codesourcery.com>
5755
5756 [BZ #16408]
5757 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5758 for large positive arguments.
5759
57602014-01-07 Joseph Myers <joseph@codesourcery.com>
5761
5762 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5763
5764 * math/auto-libm-test-in: Mark various tests with
5765 xfail-rounding:ldbl-128ibm.
5766 * math/auto-libm-test-out: Regenerated.
5767
5768 [BZ #16407]
5769 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5770 Increase overflow threshold.
5771
57722014-01-07 Ondřej Bílka <neleai@seznam.cz>
5773
5774 [BZ #14286]
5775 * stdio-common/vfprintf.c: Check for integer overflow.
5776
57772014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5778
5779 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5780 the first argument and return value of __tls_get_addr_internal.
5781
57822014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5783
5784 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5785 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5786
57872014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5788
5789 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5790 * sysdeps/s390/rtld-global-offsets.sym: New file.
5791 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5792 GLIBC_2.19 symbol.
5793 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5794 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5795 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5796 ... this.
5797 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5798 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5799 ... this.
5800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5801 Regenerate.
5802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5803 Regenerate.
5804 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5805 halfs of GPRs for high_gprs contexts.
5806 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5807 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5808 field.
5809 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5810 uc_flags field.
5811 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5812 64 bit versions:
5813 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5814 for high GPRs (uc_high_gprs) and for future extensions
5815 (__reserved).
5816 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5817 for future extensions (__reserved).
5818 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5819 64 bit versions:
5820 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5821 SC_HIGHGPRS offset definition.
5822 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5823 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5824
5825 * Versions.def: Add GLIBC_2.19 for libpthread.
5826 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5827 siglongjmp for libpthread with GLIBC_2.19 symver.
5828 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5829 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5830 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5831 * sysdeps/s390/__longjmp.c: New file.
5832 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5833 * sysdeps/s390/longjmp.c: New file.
5834 * sysdeps/s390/setjmp.S: New file.
5835 * sysdeps/s390/sigjmp.S: New file.
5836 * sysdeps/s390/v1-longjmp.c: New file.
5837 * sysdeps/s390/v1-setjmp.h: New file.
5838 * sysdeps/s390/v1-sigjmp.c: New file.
5839 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5840 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5841 GLIBC_2.19 version.
5842 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5843 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5844 versioned symbols for ____longjmp_chk.
5845 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5846 Likewise.
5847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5848 Regenerate.
5849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5850 Regenerate.
5851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5852 Regenerate.
5853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5854 Regenerate.
5855 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5856 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5857 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5858 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5859 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5860 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5861 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5862 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5863 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5864 * sysdeps/s390/rtld-__longjmp.c: New file.
5865 * sysdeps/s390/rtld-setjmp.S: New file.
5866
58672014-01-06 Joseph Myers <joseph@codesourcery.com>
5868
5869 [BZ #16400]
5870 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5871 Return -__logl (x) for small positive arguments without evaluating
5872 a polynomial.
5873
58742014-01-06 Mike Frysinger <vapier@gentoo.org>
5875
5876 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5877 Rename to ...
5878 (__ptrace_peeksiginfo_args): ... this.
5879 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5880 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5881 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5882
58832014-01-06 Allan McRae <allan@archlinux.org>
5884
5885 * inet/netinet/in.h: Fix typo in comment.
5886
58872014-01-05 Andreas Jaeger <aj@suse.de>
5888
5889 * sysdeps/i386/fpu/libm-test-ulps: Update.
5890
58912014-01-05 Allan McRae <allan@archlinux.org>
5892
5893 * po/libc.pot: Regenerated.
5894
5895 * malloc/memusagestat.c: Fix gettext call formatting.
5896
58972014-01-04 Sami Kerola <kerolasa@iki.fi>
5898
5899 * nscd/nscd.c: Improve usage() output.
5900
59012014-01-04 Mike Frysinger <vapier@gentoo.org>
5902
5903 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5904 * sysdeps/unix/sysv/linux/configure: Regenerated.
5905 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5906 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5907
59082014-01-03 Joseph Myers <joseph@codesourcery.com>
5909
5910 [BZ #16390]
5911 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5912 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5913
59142014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5915
5916 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5917 extra tokens at end of #undef directive.
5918 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5919 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5920 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5921
59222014-01-03 Joseph Myers <joseph@codesourcery.com>
5923
5924 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5925
5926 * math/auto-libm-test-in: Mark various tests with
5927 xfail-rounding:ldbl-128ibm.
5928 * math/auto-libm-test-out: Regenerated.
5929
59302014-01-02 Joseph Myers <joseph@codesourcery.com>
5931
5932 [BZ #16386]
5933 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5934 numbers with subnormal high part when calculating exponent.
5935
5936 [BZ #16385]
5937 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5938 fabs.
5939
5940 [BZ #16384]
5941 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5942 M_LN2l.
5943 (__ieee754_acoshl): Use __log1pl not __log1p.
5944
59452013-01-02 Ondřej Bílka <neleai@seznam.cz>
5946
5947 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5948 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5949 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5950 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5951 (reused_arena, arena_get2): Convert to GNU style.
5952 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5953 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5954 (memalign_check, __malloc_set_state): Likewise.
5955 * malloc/mallocbug.c (main): Likewise.
5956 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5957 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5958 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5959 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5960 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5961 (__posix_memalign, malloc_info): Likewise.
5962 * malloc/malloc.h: Likewise.
5963 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5964 (mallochook, memalignhook, reallochook, mabort): Likewise.
5965 * malloc/mcheck.h: Likewise.
5966 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5967 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5968 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5969 * malloc/morecore.c (__default_morecore): Likewise.
5970 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5971 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5972 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5973 (print_and_abort): Likewise.
5974 * malloc/obstack.h: Likewise.
5975 * malloc/set-freeres.c (__libc_freeres): Likewise.
5976 * malloc/tst-mallocstate.c (main): Likewise.
5977 * malloc/tst-mtrace.c (main): Likewise.
5978 * malloc/tst-realloc.c (do_test): Likewise.
5979
59802013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5981
5982 [BZ #16366]
5983 * nscd/netgroupcache.c (do_notfound): New function.
5984 (addgetnetgrentX): Use it.
5985
5986 [BZ # 16365]
5987 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5988 NSS_STATUS_NOTFOUND.
5989
59902014-01-01 Joseph Myers <joseph@codesourcery.com>
5991
5992 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5994
59952014-01-01 Allan McRae <allan@archlinux.org>
5996
5997 * scripts/update-copyrights: Update configure input file suffix.
5998
5999 * NEWS: Update copyright year.
6000 * catgets/gencat.c: Likewise.
6001 * csu/version.c: Likewise.
6002 * debug/catchsegv.sh: Likewise.
6003 * debug/pcprofiledump.c: Likewise.
6004 * debug/xtrace.sh: Likewise.
6005 * elf/ldconfig.c: Likewise.
6006 * elf/ldd.bash.in: Likewise.
6007 * elf/pldd.c: Likewise.
6008 * elf/sotruss.ksh: Likewise.
6009 * elf/sprof.c: Likewise.
6010 * iconv/iconv_prog.c: Likewise.
6011 * iconv/iconvconfig.c: Likewise.
6012 * locale/programs/locale.c: Likewise.
6013 * locale/programs/localedef.c: Likewise.
6014 * login/programs/pt_chown.c: Likewise.
6015 * malloc/memusage.sh: Likewise.
6016 * malloc/memusagestat.c: Likewise.
6017 * malloc/mtrace.pl: Likewise.
6018 * manual/libc.texinfo: Likewise.
6019 * nscd/nscd.c: Likewise.
6020 * nss/getent.c: Likewise.
6021 * nss/makedb.c: Likewise.
6022 * posix/getconf.c: Likewise.
6023 * scripts/test-installation.pl: Likewise.
6024
6025 * All files with FSF copyright notices: Update copyright dates
6026 using scripts/update-copyrights.
6027 * intl/plural.c: Regenerated.
6028 * locale/programs/charmap-kw.h: Likewise.
6029 * locale/programs/locfile-kw.h: Likewise.
6030
60312013-12-31 Mike Frysinger <vapier@gentoo.org>
6032
6033 * sysdeps/unix/sysv/linux/configure: Regenerated.
6034 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6035 the linux/fanotify.h header.
6036 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6037 HAVE_LINUX_FANOTIFY_H is defined.
6038
60392013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6040
6041 * benchtests/cos-inputs: New inputs.
6042 * benchtests/sin-inputs: Likewise.
6043
6044 * benchtests/atan-inputs: New inputs. Fix name of multiple
6045 precision fallback inputs.
6046
6047 * benchtests/atanh-inputs: New inputs.
6048 * benchtests/tanh-inputs: Likewise.
6049
6050 * benchtests/acosh-inputs: New inputs.
6051 * benchtests/asinh-inputs: Likewise.
6052
6053 * benchtests/cosh-inputs: New inputs.
6054 * benchtests/sinh-inputs: Likewise.
6055
6056 * benchtests/acos-inputs: Add more inputs.
6057 * benchtests/asin-inputs: Likewise.
6058
60592013-12-30 Ville Skytta <ville.skytta@iki.fi>
6060
6061 [BZ #16375]
6062 * manual/arith.texi: Fix spelling.
6063 * manual/charset.texi: Likewise.
6064 * manual/errno.texi: Likewise.
6065 * manual/filesys.texi: Likewise.
6066 * manual/lang.texi: Likewise.
6067 * manual/llio.texi: Likewise.
6068 * manual/locale.texi: Likewise.
6069 * manual/message.texi: Likewise.
6070 * manual/resource.texi: Likewise.
6071 * manual/search.texi: Likewise.
6072 * manual/setjmp.texi: Likewise.
6073 * manual/stdio.texi: Likewise.
6074 * manual/string.texi: Likewise.
6075 * manual/sysinfo.texi: Likewise.
6076 * manual/time.texi: Likewise.
6077
60782013-12-27 Carlos O'Donell <carlos@redhat.com>
6079
6080 * po/sl.po: New file.
6081
60822013-12-27 Mike Frysinger <vapier@gentoo.org>
6083
6084 * .gitignore: Add core/.gdbinit/.gdb_history.
6085
60862013-12-27 Allan McRae <allan@archlinux.org>
6087
6088 [BZ #16369]
6089 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6090 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6091
60922013-12-24 Brooks Moses <bmoses@google.com>
6093
6094 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6095 all compilers that claim C++98 compliance, not just GCC.
6096 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6097 Likewise.
6098
60992013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6100
6101 * NEWS: Restore accidentally deleted bug-fix entries.
6102
61032013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6104 Ondřej Bílka <neleai@seznam.cz>
6105
6106 [BZ #15073]
6107 * malloc/malloc.c (_int_free): Perform sanity check only if we
6108 have_lock.
6109
61102013-12-23 Ondřej Bílka <neleai@seznam.cz>
6111
6112 [BZ #12986]
6113 * manual/stdio.texi (String Input Conversions): Clarify that character
6114 classes are not supported.
6115
61162013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6117
6118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6119
61202013-12-22 Joseph Myers <joseph@codesourcery.com>
6121
6122 [BZ #16337]
6123 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6124 Calculate results for small negative arguments directly rather
6125 than using reflection formula with special underflow handling.
6126
6127 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6128 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6129 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6130 (fchflags): Likewise.
6131 (revoke): Likewise.
6132 (setlogin): Likewise.
6133 (sigaltstack): Likewise.
6134 (wait4): Likewise.
6135 (sigblock): Remove.
6136 (sigsetmask): Likewise.
6137 (wait3): Likewise.
6138 (waitpid): Likewise.
6139 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6140 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6141 file.
6142 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6143 * sysdeps/unix/bsd/Makefile: ... here.
6144 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6145 * sysdeps/unix/bsd/Versions: ... here.
6146 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6147 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6148 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6149 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6150 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6151 * sysdeps/unix/bsd/sigblock.c: ... here.
6152 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6153 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6154 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6155 * sysdeps/unix/bsd/sigvec.c: ... here.
6156 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6157 * sysdeps/unix/bsd/tcdrain.c: ... here.
6158 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6159 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6160 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6161 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6162 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6163 * sysdeps/unix/bsd/wait.c: ... here.
6164 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6165 * sysdeps/unix/bsd/wait3.c: ... here.
6166 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6167 * sysdeps/unix/bsd/waitpid.c: ... here.
6168
61692013-12-21 Joseph Myers <joseph@codesourcery.com>
6170
6171 [BZ #16356]
6172 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6173 round-to-nearest for [!USE_AS_EXPM1L].
6174 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6175 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6176 more tests of exp and exp10. Expect some exp10 tests to miss
6177 exceptions or fail in directed rounding modes.
6178 * math/auto-libm-test-out: Regenerated.
6179 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6180 (exp10_test_tonearest): New function.
6181 (exp10_towardzero_test_data): New array.
6182 (exp10_test_towardzero): New function.
6183 (exp10_downward_test_data): New array.
6184 (exp10_test_downward): New function.
6185 (exp10_upward_test_data): New array.
6186 (exp10_test_upward): New function.
6187 (main): Call the new functions.
6188 * sysdeps/i386/fpu/libm-test-ulps: Update.
6189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6190
61912013-12-20 Joseph Myers <joseph@codesourcery.com>
6192
6193 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6194 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6195 * math/auto-libm-test-out: Regenerated.
6196 * math/libm-test.inc (acosh_test_data): Add more tests.
6197 (atanh_test_data): Likewise.
6198 (ceil_test_data): Likewise.
6199 (copysign_test_data): Likewise.
6200 * sysdeps/i386/fpu/libm-test-ulps: Update.
6201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6202
6203 * timezone/checktab.awk: Update from tzcode 2013i.
6204 * timezone/private.h: Likewise.
6205 * timezone/scheck.c: Likewise.
6206 * timezone/tzfile.h: Likewise.
6207 * timezone/tzselect.ksh: Likewise.
6208 * timezone/zdump.c: Likewise.
6209 * timezone/zic.c: Likewise.
6210
6211 * math/auto-libm-test-in: Add tests of cpow.
6212 * math/auto-libm-test-out: Regenerated.
6213 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6214 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6215 mpc_cc_c.
6216 (func_calc_desc): Add mpc_cc_c union field.
6217 (test_functions): Add cpow.
6218 (special_fill_2pi): New function.
6219 (special_real_inputs): Add 2pi.
6220 (calc_generic_results): Handle mpc_cc_c.
6221 * sysdeps/i386/fpu/libm-test-ulps: Update.
6222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6223
6224 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6225 csqrt, ctan and ctanh.
6226 * math/auto-libm-test-out: Regenerated.
6227 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6228 (TEST_COND_x86): Likewise.
6229 (ccos_test_data): Use AUTO_TESTS_c_c.
6230 (ccosh_test_data): Likewise.
6231 (cexp_test_data): Likewise.
6232 (clog_test_data): Likewise.
6233 (csqrt_test_data): Likewise.
6234 (ctan_test_data): Likewise.
6235 (ctan_tonearest_test_data): Likewise.
6236 (ctan_towardzero_test_data): Likewise.
6237 (ctan_downward_test_data): Likewise.
6238 (ctan_upward_test_data): Likewise.
6239 (ctanh_test_data): Likewise.
6240 (ctanh_tonearest_test_data): Likewise.
6241 (ctanh_towardzero_test_data): Likewise.
6242 (ctanh_downward_test_data): Likewise.
6243 (ctanh_upward_test_data): Likewise.
6244 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6245 mpc_c_c.
6246 (func_calc_desc): Add mpc_c_c union field.
6247 (FUNC_mpc_c_c): New macro.
6248 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6249 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6250 ctanh.
6251 (special_fill_min_subnorm_p120): New function.
6252 (special_real_inputs): Add min_subnorm_p120.
6253 (calc_generic_results): Handle mpc_c_c.
6254 * sysdeps/i386/fpu/libm-test-ulps: Update.
6255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6256
62572013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6258
6259 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6260 (do_sin_slow): New functions.
6261 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6262 (cslow2, csloww1, csloww2): Use the new functions.
6263
6264 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6265 Use M to change sign of result instead of X. Assume X is
6266 positive.
6267 (csloww1): Likewise.
6268 (__sin): Adjust.
6269 (__cos): Adjust.
6270
6271 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6272 arguments A and DA.
6273 (__sin): Adjust.
6274 (__cos): Likewise.
6275
6276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6277 (__cos): Likewise.
6278 (sloww1): Don't adjust sign of DX.
6279 (csloww1): Likewise.
6280 (sloww2): Use X directly and don't adjust sign of DX.
6281 (csloww2): Likewise.
6282
62832013-12-19 Joseph Myers <joseph@codesourcery.com>
6284
6285 * math/auto-libm-test-in: Add tests of cabs and carg.
6286 * math/auto-libm-test-out: Regenerated.
6287 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6288 (carg_test_data): Likewise.
6289 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6290 mpc_c_f.
6291 (func_calc_desc): Add mpc_c_f union field.
6292 (test_functions): Add cabs and carg.
6293 (calc_generic_results): Handle mpc_c_f.
6294
6295 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6296 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6297 as a macro and a compat symbol.
6298 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6299 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6300 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6301 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6302 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6303 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6304 not use .hidden.
6305 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6306 Likewise.
6307 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6308 Likewise.
6309 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6310 Likewise.
6311 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6312 Likewise.
6313 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6314 Likewise.
6315 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6316 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6317 from GLIBC_2.3.2.
6318
63192013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6320
6321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6322
63232013-12-19 Joseph Myers <joseph@codesourcery.com>
6324
6325 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6326 trailing whitespace removed.
6327 * scripts/config.guess: Update to version 2013-11-29.
6328 * scripts/config.sub: Update to version 2013-10-01.
6329
6330 * math/auto-libm-test-in: Add tests of sincos.
6331 * math/auto-libm-test-out: Regenerated.
6332 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6333 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6334 mpfr_f_11.
6335 (func_calc_desc): Add mpfr_f_11 union field.
6336 (test_functions): Add sincos.
6337 (calc_generic_results): Handle mpfr_f_11.
6338 * sysdeps/i386/fpu/libm-test-ulps: Update.
6339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6340
63412013-12-19 Andreas Schwab <schwab@suse.de>
6342
6343 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6344 CALL_MCOUNT.
6345 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6346 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6347 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6348
63492013-12-19 Joseph Myers <joseph@codesourcery.com>
6350
6351 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6352 * sysdeps/i386/fpu/libm-test-ulps: Update.
6353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6354
6355 [BZ #16293]
6356 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6357 round-to-nearest mode when using frndint.
6358 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6359 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6360 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6361 Likewise.
6362 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6363 sinh test to fail.
6364 * math/auto-libm-test-out: Regenerated.
6365 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6366 (TEST_COND_x86): Likewise.
6367 (expm1_tonearest_test_data): New array.
6368 (expm1_test_tonearest): New function.
6369 (expm1_towardzero_test_data): New array.
6370 (expm1_test_towardzero): New function.
6371 (expm1_downward_test_data): New array.
6372 (expm1_test_downward): New function.
6373 (expm1_upward_test_data): New array.
6374 (expm1_test_upward): New function.
6375 (main): Run the new test functions.
6376 * sysdeps/i386/fpu/libm-test-ulps: Update.
6377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6378
6379 * include/features.h: Update comment documenting feature test
6380 macros. Mention _DEFAULT_SOURCE in comment.
6381 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6382 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6383 _BSD_SOURCE and _SVID_SOURCE.
6384 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6385 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6386 !_SVID_SOURCE]: Likewise.
6387 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6388 (__USE_POSIX_IMPLICITLY): Define.
6389 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6390 (_POSIX_SOURCE): Undefine and redefine.
6391 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6392 (_POSIX_C_SOURCE): Likewise.
6393 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6394 (Feature Test Macros): Update documentation of default features.
6395
63962013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6397
6398 * benchtests/Makefile: Add bench-strtok.
6399 * benchtests/bench-strtok.c: New file: strtok benchtest.
6400
64012013-12-19 Allan McRae <allan@archlinux.org>
6402
6403 * manual/install.texi: Suppress menu for plain text output.
6404 * INSTALL: Regenerated.
6405
64062013-12-18 Brooks Moses <bmoses@google.com>
6407
6408 [BZ #15846]
6409 * misc/getauxval.c: Include errno.h.
6410 (__getauxval): Set errno to ENOENT if the requested type is not
6411 found.
6412 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6413 don't declare with __attribute_const__.
6414 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6415 * manual/startup.texi: Document that getauxval sets errno.
6416
64172013-12-18 Joseph Myers <joseph@codesourcery.com>
6418
6419 * math/auto-libm-test-in: Add tests of jn and yn.
6420 * math/auto-libm-test-out: Regenerated.
6421 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6422 (yn_test_data): Likewise.
6423 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6424 mpfr_if_f.
6425 (func_calc_desc): Add mpfr_if_f union field.
6426 (FUNC_mpfr_if_f): New macro.
6427 (test_functions): Add jn and yn.
6428 (calc_generic_results): Assert type of second input for
6429 mpfr_ff_f. Handle mpfr_if_f.
6430 (output_for_one_input_case): Disable all checking for arguments
6431 fitting floating-point types in case of an integer argument.
6432 * sysdeps/i386/fpu/libm-test-ulps: Update.
6433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6434
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6436 Don't expect fegetround reference in libm.so.
6437
64382013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6439
6440 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6441 $(config-cflags-nofma).
6442
64432013-12-18 Joseph Myers <joseph@codesourcery.com>
6444
6445 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6446 * math/auto-libm-test-out: Regenerated.
6447
6448 [BZ #16338]
6449 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6450 to determine exponent and adjust argument to have exponent of -1.
6451 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6452 log2.
6453 * math/auto-libm-test-out: Regenerated.
6454 * sysdeps/i386/fpu/libm-test-ulps: Update.
6455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6456
64572013-12-18 Ondřej Bílka <neleai@seznam.cz>
6458
6459 * manual/probes.texi: Remove cases when per-thread arenas are
6460 disabled.
6461
64622013-12-18 Andreas Schwab <schwab@suse.de>
6463
6464 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6465 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6466 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6467 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6468 * sysdeps/i386/i686/multiarch/Makefile: Update.
6469 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6470
64712013-12-17 Joseph Myers <joseph@codesourcery.com>
6472
6473 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6474 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6475
64762013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6477
6478 [BZ #15968]
6479 Support TZ transition times < 00:00:00.
6480 This is needed for version-3 tz-format files; it supports time
6481 stamps past 2037 for America/Godthab (the only entry in the tz
6482 database for which this change is relevant).
6483 * manual/time.texi (TZ Variable): Document transition times
6484 from -167:59:59 through -00:00:01.
6485 * time/tzset.c (tz_rule): Time of day is now signed.
6486 (__tzset_parse_tz): Parse negative time of day.
6487
6488 Document TZ transition times >= 25:00:00.
6489 * manual/time.texi (TZ Variable): Document transition times from
6490 25:00:00 through 167:59:59. These are already supported, and this
6491 support will help with version-3 tz-format files.
6492
6493 * manual/time.texi (TZ Variable): Modernize North America example
6494 to reflect current (i.e., 2007-and-later) daylight saving rules.
6495
6496 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6497
64982013-12-17 Joseph Myers <joseph@codesourcery.com>
6499
6500 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6501 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6502 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6504 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6505 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6506 * sysdeps/unix/bsd/clock.c: Likewise.
6507 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6508 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6509 * sysdeps/unix/bsd/init-posix.c: Likewise.
6510 * sysdeps/unix/bsd/poll.c: Likewise.
6511 * sysdeps/unix/bsd/ptsname.c: Likewise.
6512 * sysdeps/unix/bsd/seekdir.c: Likewise.
6513 * sysdeps/unix/bsd/setegid.c: Likewise.
6514 * sysdeps/unix/bsd/seteuid.c: Likewise.
6515 * sysdeps/unix/bsd/setgid.c: Likewise.
6516 * sysdeps/unix/bsd/setrgid.c: Likewise.
6517 * sysdeps/unix/bsd/setruid.c: Likewise.
6518 * sysdeps/unix/bsd/setsid.c: Likewise.
6519 * sysdeps/unix/bsd/setuid.c: Likewise.
6520 * sysdeps/unix/bsd/sigaction.c: Likewise.
6521 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6522 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6523 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6524 * sysdeps/unix/bsd/telldir.c: Likewise.
6525 * sysdeps/unix/bsd/times.c: Likewise.
6526 * sysdeps/unix/bsd/usleep.c: Likewise.
6527
6528 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6529 ($(objpfx)libbsd-compat.a): Remove rule.
6530
6531 * include/features.h (__FAVOR_BSD): Do not define.
6532 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6533 features conflicting with POSIX.
6534 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6535 (_BSD_SOURCE): Remove description of not being a subset of other
6536 feature test macros.
6537 * manual/job.texi (getpgrp): Do not document BSD version.
6538 (getpgid): Do not document by reference to BSD getpgrp.
6539 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6540 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6541 * signal/signal.h [__FAVOR_BSD]: Likewise.
6542 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6543 instead of making contents conditional on [__FAVOR_BSD].
6544 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6545
65462013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6547
6548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6549
65502013-12-17 Joseph Myers <joseph@codesourcery.com>
6551
6552 [BZ #16314]
6553 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6554 values below 2**-450, not 2**-500.
6555 * math/auto-libm-test-in: Don't allow spurious underflow from
6556 hypot.
6557 * math/auto-libm-test-out: Regenerated.
6558
6559 [BZ #16316]
6560 [BZ #16330]
6561 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6562 values of ha and hb and sort them after adjusting subnormal
6563 arguments.
6564 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6565 Likewise.
6566 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6567 values of ea and eb and sort them after adjusting subnormal
6568 arguments.
6569 * math/auto-libm-test-in: Do not expect some hypot tests of
6570 subnormals to fail. Add more hypot tests.
6571 * math/auto-libm-test-out: Regenerated.
6572
65732013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6574
6575 [BZ #13304]
6576 * sysdeps/sh/s_fma.c: New file.
6577 * sysdeps/sh/s_fmaf.c: New file.
6578 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6579 version.
6580 * sysdeps/sh/Implies: Add sh/soft-fp.
6581
65822013-12-16 Roland McGrath <roland@hack.frob.com>
6583
6584 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6585 level of indirection to members `objname', `errstring', `malloced'.
6586 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6587 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6588 it as the __longjmp argument (just pass 1 instead).
6589 (_dl_catch_error): Initialize C with argument pointers and address of
6590 volatile local ERRCODE rather than copying values out of C at return.
6591
65922013-12-16 Joseph Myers <joseph@codesourcery.com>
6593
6594 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6595 * math/auto-libm-test-out: Regenerated.
6596 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6597 (hypot_test_data): Likewise.
6598 (pow_test_data): Likewise.
6599 (pow_tonearest_test_data): Likewise.
6600 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6601 mpfr_ff_f.
6602 (func_calc_desc): Add mpfr_ff_f union field.
6603 (FUNC_mpfr_ff_f): New macro.
6604 (test_functions): Add atan2, hypot and pow.
6605 (special_fill_min): New function.
6606 (special_fill_minus_min): Likewise.
6607 (special_fill_min_subnorm): Likewise.
6608 (special_fill_minus_min_subnorm): Likewise.
6609 (special_real_inputs): Add min, -min, min_subnorm and
6610 -min_subnorm.
6611 (calc_generic_results): Handle mpfr_ff_f.
6612 * sysdeps/i386/fpu/libm-test-ulps: Update.
6613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6614
66152013-12-16 Will Newton <will.newton@linaro.org>
6616
6617 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6618 (Aligned Memory Blocks): Add documentation for aligned_alloc
6619 and suggest it as an alternative to posix_memalign.
6620 (Hooks for Malloc): Document __memalign_hook is also called
6621 for aligned_alloc. (Summary of Malloc): Add summary for
6622 aligned alloc. Document __memalign_hook is also called
6623 for aligned_alloc.
6624
66252013-12-16 Will Newton <will.newton@linaro.org>
6626
6627 * manual/memory.texi (Malloc Examples): Clarify default
6628 alignment documentation. Suggest posix_memalign rather
6629 than memalign or valloc.
6630 (Aligned Memory Blocks): Remove suggestion to use memalign
6631 or valloc. Remove obsolete comment about BSD.
6632 Document memalign errno values and mark the function obsolete.
6633 Document posix_memalign returned error codes. Mark valloc
6634 as obsolete. (Hooks for Malloc): __memalign_hook is also
6635 called for posix_memalign and valloc.
6636 (Summary of Malloc): Add posix_memalign to function summary.
6637 __memalign_hook is also called for posix_memalign and valloc.
6638
66392013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6640
6641 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6642 TAYLOR_SIN.
6643 (__sin): Adjust.
6644 (__cos): Likewise.
6645 (sloww): Use mynumber union. Expand ternary operator into
6646 if-else statements.
6647 (cslow): use mynumber union.
6648
66492013-12-16 Allan McRae <allan@archlinux.org>
6650
6651 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6652 * configure: Regenerated.
6653
6654 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6655
6656 [BZ #14120]
6657 * configure.ac: Added --enable-maintainer-mode. Check for
6658 autoconf when enabled.
6659 * configure: Regenerated.
6660
6661 * nscd/nscd.service: New file.
6662 * nscd/nscd.tmpfiles: New file.
6663
66642013-12-14 Ondřej Bílka <neleai@seznam.cz>
6665
6666 [BZ #12100]
6667 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6668 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6669 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6670 (strstr): Add __strstr_sse2_unaligned ifunc.
6671 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6672 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6673 (strcasestr): Remove __strcasestr_sse42 ifunc.
6674 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6677
66782013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6679
6680 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6681 * sysdeps/sh/bits/fenv.h: ... here.
6682 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6683
66842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6685
6686 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6687
6688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6689 hypotf multiarch implementations.
6690 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6691 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6692 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6693 multiarch hypot for PPC64.
6694 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6695 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6696 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6697 multiarch hypotf for PPC64.
6698
6699 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6700 modff multiarch implementations.
6701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6704 multiarch modf for PPC64.
6705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6708 multiarch modff for PPC64.
6709
6710 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6711 and logl multiarch implementations.
6712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6715 multiarch logb for PPC64.
6716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6719 multiarch logb for PPC64.
6720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6723 multiarch logb for PPC64.
6724
6725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6726 isinff multiarch implementation.
6727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6728 file.
6729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6731 multiarch isinf for PPC64.
6732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6733 file.
6734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6735 multiarch isinff for PPC64.
6736
6737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6738 finitef multiarch implementation.
6739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6740 file.
6741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6743 multiarch finite for PPC64.
6744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6745 file.
6746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6747 multiarch finitef for PPC64.
6748
6749 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6750 lrint multiarch implementation.
6751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6752 file.
6753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6755 multiarch llrint for PPC64.
6756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6757 multiarch lrint for PPC64.
6758
6759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6760 copysignf multiarch implementation.
6761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6762 file.
6763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6764 file.
6765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6766 multiarch copysign for PPC64.
6767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6768 multiarch copysignf for PPC64.
6769
6770 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6771 multiarch implementation.
6772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6773 file.
6774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6775 file.
6776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6777 file.
6778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6779 file.
6780 multiarch llround for PPC64.
6781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6782 multiarch trunc for PPC64.
6783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6784 multiarch truncf for PPC64.
6785
6786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6787 multiarch implementation.
6788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6789 file.
6790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6791 file.
6792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6793 file.
6794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6795 file.
6796 multiarch llround for PPC64.
6797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6798 multiarch round for PPC64.
6799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6800 multiarch roundf for PPC64.
6801
6802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6803 multiarch implementation.
6804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6805 file.
6806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6807 file.
6808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6809 file.
6810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6811 file.
6812 multiarch llround for PPC64.
6813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6814 multiarch floor for PPC64.
6815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6816 multiarch floorf for PPC64.
6817
6818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6819 multiarch implementation.
6820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6821 file.
6822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6823 file.
6824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6825 file.
6826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6827 file.
6828 multiarch llround for PPC64.
6829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6830 multiarch ceil for PPC64.
6831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6832 multiarch ceilf for PPC64.
6833
6834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6835 multiarch implementation.
6836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6837 file.
6838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6839 file.
6840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6841 file.
6842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6843 multiarch llround for PPC64.
6844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6845 multiarch lround for PPC64.
6846
6847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6848 multiarch implementation.
6849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6852 file.
6853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6856 multiarch isnan for PPC64.
6857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6858 multiarch isnanf for PPC64.
6859
6860 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6861 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6862 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6863 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6864 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6866
6867 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6868 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6871
6872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6873 multiarch implementations.
6874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6875 (__libc_ifunc_impl_list): Likewise.
6876 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6877 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6878 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6879 multiarch stpcpy for PPC64.
6880
6881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6882 multiarch implementations.
6883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6884 (__libc_ifunc_impl_list): Likewise.
6885 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6886 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6887 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6888 multiarch strcpy for PPC64.
6889
6890 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6891 redefine function name.
6892 (_wordcopy_fwd_dest_aligned): Likewise.
6893 (_wordcopy_bwd_aligned): Likewise.
6894 (_wordcopy_bwd_dest_aligned): Likewise.
6895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6896 multiarch implementations.
6897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6898 (__libc_ifunc_impl_list): Likewise.
6899 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6900 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6901 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6902 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6903 multiarch wcscpy for PPC64.
6904
6905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6906 multiarch implementations.
6907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6908 (__libc_ifunc_impl_list): Likewise.
6909 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6910 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6911 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6912 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6913 multiarch wcscpy for PPC64.
6914
6915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6916 multiarch implementations.
6917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6918 (__libc_ifunc_impl_list): Likewise.
6919 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6920 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6921 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6922 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6923 multiarch wcsrchr for PPC64.
6924
6925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6926 multiarch implementations.
6927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6928 (__libc_ifunc_impl_list): Likewise.
6929 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6930 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6931 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6932 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6933 multiarch wcschr for PPC64.
6934
6935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6936 multiarch implementations.
6937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6938 (__libc_ifunc_impl_list): Likewise.
6939 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6940 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6941 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6942 multiarch strchrnul for PPC64.
6943
6944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6945 implementations.
6946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6947 (__libc_ifunc_impl_list): Likewise.
6948 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6949 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6950 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6951 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6952 strchr for PPC64.
6953
6954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6955 implementations.
6956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6957 (__libc_ifunc_impl_list): Likewise.
6958 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6959 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6960 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6961 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6962 strncmp for PPC64.
6963
6964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6965 multiarch implementations.
6966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6967 (__libc_ifunc_impl_list): Likewise.
6968 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6969 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6970 strncasecmp for PPC64.
6971 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6972 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6973 multiarch strncasecmp_l for PPC64.
6974
6975 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6976 multiarch implementations.
6977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6978 (__libc_ifunc_impl_list): Likewise.
6979 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6980 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6981 multiarch strcasecmp for PPC64.
6982 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6983 file.
6984 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6985 multiarch strcasecmp_l for PPC64.
6986
6987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6988 implementations.
6989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6990 (__libc_ifunc_impl_list): Likewise.
6991 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6992 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6993 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6994 strnlen for PPC64.
6995
6996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6997 implementations.
6998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6999 (__libc_ifunc_impl_list): Likewise.
7000 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7001 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7002 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7003 strlen for PPC64.
7004
7005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7006 implementations.
7007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7008 (__libc_ifunc_impl_list): Likewise.
7009 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7010 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7011 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7012 rawmemrchr for PPC64.
7013
7014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7015 implementation.
7016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7017 (__libc_ifunc_impl_list): Likewise.
7018 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7019 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7020 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7021 memrchr for PPC64.
7022
7023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7024 implementation.
7025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7026 (__libc_ifunc_impl_list): Likewise.
7027 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7028 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7029 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7030 memchr for PPC64.
7031
7032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7033 implementation.
7034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7035 (__libc_ifunc_impl_list): Likewise.
7036 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7037 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7038 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7039 mempcpy for PPC64.
7040
7041 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7042 avoid cretion of __bzero symbol.
7043 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7044 Likewise.
7045 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7046 Likewise.
7047 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7048 Likewise.
7049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7050 multiarch implementations.
7051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7052 (__libc_ifunc_impl_list): Likewise.
7053 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7054 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7055 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7056 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7057 bzero for PPC32.
7058 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7059 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7060 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7061 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7062 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7063 memset for PPC64.
7064 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7065
7066 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7068 implementations.
7069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7070 (__libc_ifunc_impl_list): Likewise.
7071 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7072 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7073 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7074 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7075 memcmp for PPC64.
7076
7077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7078 multiarch for POWER/PPC64.
7079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7080 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7081 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7082 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7083 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7084 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7085 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7086 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7087 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7088 memcpy for PPC64.
7089
7090 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7091 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7092 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7093 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7094 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7095 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7096 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7097 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7098 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7099 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7100 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7101 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7102 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7103 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7104 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7112
71132013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7114
7115 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7116
71172013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7118
7119 * benchtests/Makefile (bench): Add exp2 and log2.
7120 (LDLIBS-bench-exp2): Add -lm.
7121 (LDLIBS-bench-log2): Likewise.
7122 * benchtests/exp2-inputs: New inputs file.
7123 * benchtests/log2-inputs: New inputs file.
7124 * benchtests/log-inputs: Add new inputs.
7125 * benchtests/tan-inputs: Likewise.
7126
71272013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7128
7129 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7130 definition...
7131 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7132 (csloww2): ... from here.
7133
7134 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7135 instead of structures.
7136 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7137 (POLYNOMIAL): Likewise.
7138 (TAYLOR_SLOW): Likewise.
7139 (__sin): Likewise.
7140 (__cos): Likewise.
7141 (slow1): Likewise.
7142 (slow2): Likewise.
7143 (sloww): Likewise.
7144 (sloww1); Likewise.
7145 (sloww2): Likewise.
7146 (bsloww1): Likewise.
7147 (bsloww2): Likewise.
7148 (cslow2): Likewise.
7149 (csloww): Likewise.
7150 (csloww1): Likewise.
7151 (csloww2): Likewise.
7152
71532013-12-10 Ondřej Bílka <neleai@seznam.cz>
7154
7155 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7156 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7157 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7158 * malloc/hooks.c (realloc_check): Likewise.
7159
7160 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7161 * malloc/arena.c: Remove PER_THREAD conditional.
7162 [!PER_THREAD]: Remove code.
7163 (ptmalloc_unlock_all2): Likewise.
7164 (ptmalloc_init): Likewise.
7165 (_int_new_arena): Likewise.
7166 (arena_get2): Likewise.
7167 * malloc/hooks.c (__malloc_get_state): Likewise.
7168 (__malloc_set_state): Likewise.
7169 * malloc/malloc.c: Likewise.
7170 (struct malloc_state): Likewise.
7171 (struct malloc_par): Likewise.
7172 (__libc_realloc): Likewise.
7173 (__libc_mallopt): Likewise.
7174
71752013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7176
7177 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7178
71792013-12-09 Ondřej Bílka <neleai@seznam.cz>
7180
7181 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7182 macro to a function. Check for zero perturb_byte.
7183 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7184
7185 * malloc/malloc.c: (force_reg): Remove.
7186 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7187 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7188 force_reg by atomic_forced_read.
7189 * malloc/arena.c (ptmalloc_init): Likewise.
7190 * malloc/hooks.c (top_check): Likewise.
7191
71922013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7193
7194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7195
71962013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7197
7198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7199
72002013-12-08 Joseph Myers <joseph@codesourcery.com>
7201
7202 * math/auto-libm-test-in: Add tests of lgamma.
7203 * math/auto-libm-test-out: Regenerated.
7204 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7205 (M_LOG_2_SQRT_PIl): Likewise.
7206 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7207 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7208 mpfr_f_f1.
7209 (func_calc_desc): Add mpfr_f_f1 union field.
7210 (ARGS1): New macro.
7211 (ARGS2): Likewise.
7212 (ARGS3): Likewise.
7213 (ARGS4): Likewise.
7214 (RET1): Likewise.
7215 (RET2): Likewise.
7216 (CALC): Likewise.
7217 (FUNC): Likewise.
7218 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7219 (test_functions): Add lgamma.
7220 (calc_generic_results): Handle mpfr_f_f1.
7221 * sysdeps/i386/fpu/libm-test-ulps: Update.
7222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7223
72242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7225
7226 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7227 __mpn_add_n for PowerPC64/POWER7.
7228 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7229 __mpn_sub_n for PowerPC64/POWER7.
7230
7231 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7232 __mpn_addmul_1 for PowerPC64.
7233 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7234 __mpn_submul_1 for PowerPC64.
7235 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7236 for PowerPC64.
7237 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7238 for PowerPC64.
7239
72402013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7241
7242 [BZ #15089]
7243 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7244
72452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7246
7247 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7248
7249 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7250 add multiarch folders.
7251 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7252 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7253 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7254 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7255 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7256 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7257 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7258 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7259 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7260 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7261 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7268
7269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7270 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7272 New file.
7273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7274 New file.
7275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7276 multiarch __ieee754_hypot for PowerPC32.
7277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7278 New file.
7279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7280 New file.
7281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7282 multiarch __ieee754_hypotf for PowerPC32.
7283
7284 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7285 long_double_symbol only if __logbl is defined.
7286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7287 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7288 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7289 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7291 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7292 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7293 path for implementation.
7294 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7295 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7297 logb, and logbl multiarch implementations for PowerPC32.
7298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7299 file.
7300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7301 file.
7302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7303 multiarch logb for PowerPC32.
7304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7305 file.
7306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7307 file.
7308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7309 multiarch logbf for PowerPC32.
7310 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7312 file.
7313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7314 multiarch logbl implementation for PowerPC32.
7315
7316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7317 and modff multiarch implementations.
7318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7319 New file.
7320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7321 New file.
7322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7323 multiarch modf for PowerPC32.
7324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7325 New file.
7326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7327 New file.
7328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7329 multiarch modff for PowerPC32.
7330
7331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7332 and lrintf multiarch implementations.
7333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7334 New file.
7335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7336 New file.
7337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7338 multiarch lrint for PowerPC32.
7339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7340 file: multiarch lrintf for PowerPC32.
7341
7342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7343 and lroundf multiarch implementations.
7344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7345 New file.
7346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7347 New file.
7348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7349 New file.
7350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7351 multiarch lround for PowerPC32.
7352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7353 file: multiarch lroundf for PowerPC32.
7354
7355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7356 copysign and copysignf multiarch implementations.
7357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7358 New file.
7359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7360 New file.
7361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7362 file: multiarch copysign for PowerPC32.
7363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7364 file: multiarch copysignf for PowerPC32.
7365
7366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7367 and truncf multiarch implementations.
7368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7369 New file.
7370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7371 file.
7372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7373 multiarch trunc for PowerPC32.
7374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7375 New file.
7376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7377 New file.
7378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7379 multiarch truncf for PowerPC32.
7380
7381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7382 and roundf multiarch implementations.
7383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7384 New file.
7385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7386 file.
7387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7388 multiarch round for PowerPC32.
7389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7390 New file.
7391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7392 New file.
7393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7394 multiarch roundf for PowerPC32.
7395
7396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7397 and floorf multiarch implementations.
7398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7399 New file.
7400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7401 file.
7402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7403 multiarch floor for PowerPC32.
7404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7405 New file.
7406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7407 New file.
7408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7409 multiarch floorf for PowerPC32.
7410
7411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7412 and ceilf multiarch implementations.
7413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7414 New file.
7415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7416 file.
7417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7418 multiarch ceil for PowerPC32.
7419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7420 New file.
7421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7422 file.
7423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7424 multiarch ceilf for PowerPC32.
7425
7426 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7427 is defined.
7428 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7429 FINITEF is defined.
7430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7431 and finitef multiarch implementations.
7432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7433 New file.
7434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7435 file.
7436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7437 multiarch finite for PowerPC32.
7438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7439 New file.
7440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7441 file: multiarch finitef for PowerPC32.
7442
7443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7444 and isinff multiarch implementations.
7445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7446 file.
7447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7448 file.
7449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7450 multiarch isinf for PowerPC32.
7451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7452 New file.
7453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7454 multiarch isinff for PowerPC32.
7455
7456 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7457 alias when __isnan is defined.
7458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7459 and isnanf multiarch implementations.
7460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7461 file.
7462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7463 file.
7464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7465 file.
7466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7467 file.
7468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7469 multiarch isnan for PowerPC32.
7470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7471 New file.
7472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7473 New file.
7474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7475 multiarch isnanf for PowerPC32.
7476
7477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7478 and sqrtf multiarch implementations.
7479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7480 file.
7481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7482 file.
7483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7484 multiarch sqrt for PowerPC32.
7485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7486 file.
7487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7488 file.
7489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7490 multiarch sqrtf for PowerPC32.
7491
7492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7493 and llroundf multiarch implementations.
7494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7495 New file.
7496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7497 New file.
7498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7499 New file.
7500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7501 file: multiarch llround for PowerPC32.
7502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7503 file: multiarch llroundf for PowerPC32.
7504
7505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7506 multiarch PowerPC32 fpu implementations.
7507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7508 New file.
7509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7510 New file.
7511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7512 multiarch llrint for PowerPC32.
7513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7514 New file.
7515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7516 New file.
7517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7518 file.
7519
7520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7521
7522 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7523 file.
7524 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7525 file.
7526 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7527 file.
7528 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7529 multiarch wordcopy for PPC32.
7530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7531 wordcopy objects.
7532 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7533 (__libc_ifunc_impl_list): Likewise.
7534 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7535 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7536 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7537 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7538 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7539 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7540
7541 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7543 file.
7544 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7545 file.
7546 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7547 file.
7548 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7549 multiarch wcscpy for PPC32.
7550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7551 multiarch objects.
7552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7553 (__libc_ifunc_impl_list): Likewise.
7554 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7555 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7556 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7557 sysdeps/powerpc/power6/wcscpy.c.
7558
7559 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7561 file.
7562 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7563 file.
7564 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7565 file.
7566 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7567 multiarch wcsrchr for PPC32.
7568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7569 multiarch objects.
7570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7571 (__libc_ifunc_impl_list): Likewise.
7572 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7573 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7574 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7575 sysdeps/powerpc/power6/wcsrchr.c.
7576
7577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7578 file.
7579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7580 file.
7581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7582 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7583 multiarch wcschr for PPc32.
7584 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7585 multiarch objects.
7586 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7587 (__libc_ifunc_impl_list): Likewise.
7588 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7589 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7590 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7591 sysdeps/powerpc/power6/wcschr.c.
7592
7593 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7594 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7595 file.
7596 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7597 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7598 file: multiarch strchr for PPC32.
7599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7600 multiarch objects.
7601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7602 (__libc_ifunc_impl_list): Likewise.
7603
7604 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7605 name.
7606 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7607 file.
7608 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7609 file.
7610 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7611 multiarch strchrnul for PPC32.
7612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7613 multiarch objects.
7614 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7615 (__libc_ifunc_impl_list): Likewise.
7616
7617 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7618 file.
7619 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7620 multiarch strncasecmp for PPC32.
7621 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7622 file.
7623 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7624 multiarch strncasecmp_l for PPC32.
7625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7626 strncasecmp multiarch objects.
7627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7628 (__libc_ifunc_impl_list): Likewise.
7629
7630 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7631 file.
7632 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7633 multiarch strncasecmp for PPC32.
7634 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7635 New file.
7636 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7637 multiarch strcasecmp_l for PPC32.
7638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7639 multiarch objects.
7640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7641 (__libc_ifunc_impl_list): Likewise.
7642
7643 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7644 file.
7645 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7646 file.
7647 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7648 multiarch strncmp for PPC32.
7649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7650 multiarch objects.
7651 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7652 (__libc_ifunc_impl_list): Likewise.
7653
7654 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7655 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7656 file.
7657 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7658 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7660 multiarch objects.
7661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7662 (__libc_ifunc_impl_list): Likewise.
7663
7664 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7665 file.
7666 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7667 file.
7668 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7670 multiarch objects.
7671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7672 (__libc_ifunc_impl_list): Likewise.
7673
7674 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7675 file.
7676 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7677 file.
7678 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7679 multiarch rawmemchr for PPC32.
7680 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7681 multiarch objects.
7682 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7683 (__libc_ifunc_impl_list): Likewise.
7684
7685 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7686 file.
7687 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7688 file.
7689 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7690 file: memrchr multiarch for PPC32.
7691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7692 multiarch objects.
7693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7694 (__libc_ifunc_impl_list): Likewise.
7695
7696 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7697 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7698 file.
7699 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7700 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7701 multiarch memchr for PPC32.
7702 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7703 multiarch objects.
7704 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7705 (__libc_ifunc_impl_list): Likewise.
7706
7707 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7708 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7709 file.
7710 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7711 file.
7712 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7713 file: multiarch mempcpy for PPC32.
7714 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7715 multiarch objects.
7716 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7717 (__libc_ifunc_impl_list): Likewise.
7718
7719 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7720 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7721 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7722 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7723 multiarch bzero for PPC32.
7724 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7725 file.
7726 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7727 file.
7728 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7729 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7730 file: multiarch memset for PPC32.
7731 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7732 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7733 memset multiarch objects.
7734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7735 (__libc_ifunc_impl_list): Likewise.
7736
7737 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7738 file.
7739 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7740 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7741 memcmp for PPC32.
7742 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7744 multiarch objects.
7745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7746 (__libc_ifunc_impl_list): Likewise.
7747
7748 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7749 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7750 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7751 file.
7752 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7753 file.
7754 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7755 file.
7756 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7757 multiarch memcpy for PPC32.
7758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7759 multiarch objects.
7760 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7761 (__libc_ifunc_impl_list): Likewise.
7762
7763 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7764 support multiarch for POWER/PPC32.
7765 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7766 Likewise.
7767 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7769 Implies file to make multiarch folder appers before the fpu and
7770 default folder for power4 configuration.
7771
77722013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7773
7774 * scripts/bench.pl: Append volatile keyword to type.
7775
77762013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7777
7778 * sysdeps/sh/sotruss-lib.c: New file.
7779 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7780
77812013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7782
7783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7784
77852013-12-05 Joseph Myers <joseph@codesourcery.com>
7786
7787 [BZ #6810]
7788 * math/w_tgamma.c: Include <errno.h>.
7789 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7790 * math/w_tgammaf.c: Include <errno.h>.
7791 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7792 * math/w_tgammal.c: Include <errno.h>.
7793 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7794 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7795 underflow. Add more tgamma tests.
7796 * math/auto-libm-test-out: Regenerated.
7797 * sysdeps/i386/fpu/libm-test-ulps: Update.
7798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7799
7800 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7801 sin, sinh, tan, tanh, tgamma, y0 and y1.
7802 * math/auto-libm-test-out: Regenerated.
7803 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7804 (TEST_COND_x86): Likewise.
7805 (M_E2l): Remove macro.
7806 (M_E3l): Likewise.
7807 (M_2_SQRT_PIl): Likewise.
7808 (M_SQRT_PIl): Likewise.
7809 (M_1_DIV_El): Likewise.
7810 (log_test_data): Use AUTO_TESTS_f_f.
7811 (log10_test_data): Likewise.
7812 (log1p_test_data): Likewise.
7813 (log2_test_data): Likewise.
7814 (sin_test_data): Likewise.
7815 (sin_tonearest_test_data): Likewise.
7816 (sin_towardzero_test_data): Likewise.
7817 (sin_downward_test_data): Likewise.
7818 (sin_upward_test_data): Likewise.
7819 (sinh_test_data): Likewise.
7820 (sinh_tonearest_test_data): Likewise.
7821 (sinh_towardzero_test_data): Likewise.
7822 (sinh_downward_test_data): Likewise.
7823 (sinh_upward_test_data): Likewise.
7824 (tan_test_data): Likewise.
7825 (tan_tonearest_test_data): Likewise.
7826 (tan_towardzero_test_data): Likewise.
7827 (tan_downward_test_data): Likewise.
7828 (tan_upward_test_data): Likewise.
7829 (tanh_test_data): Likewise.
7830 (tgamma_test_data): Likewise.
7831 (y0_test_data): Likewise.
7832 (y1_test_data): Likewise.
7833 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7834 (special_real_inputs): Add pi/4.
7835 * sysdeps/i386/fpu/libm-test-ulps: Update.
7836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7837
78382013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7839
7840 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7841 "longjmp_target" static probes.
7842 (__longjmp): Rename to __longjmp_symbol.
7843 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7844 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7845 on which longjmp to generate.
7846 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7847 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7848 probe.
7849 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7850 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7851 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7852 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7853 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7854 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7856 __longjmp_symbol based on which __longjmp to generate.
7857 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7858 probe.
7859 (setjmp): Rename to setjmp_symbol.
7860 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7861 (_setjmp): Rename to _setjmp_symbol.
7862 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7863 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7864 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7865 which setjmp to generate.
7866 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7867 "longjmp_target" static probes.
7868
78692013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7870
7871 * benchtests/README: Add note about output arguments.
7872 * benchtests/bench-sincos.c: Remove file.
7873 * benchtests/sincos-inputs: New file.
7874 * scripts/bench.pl: Identify output arguments and define
7875 static variables for them.
7876
7877 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7878
7879 [BZ #15941]
7880 * Makefile (INSTALL): Add install-plain.texi as the primary
7881 dependency.
7882 * manual/install-plain.texi: New file.
7883 * manual/install.texi: Include node directive only for
7884 non-plaintext output.
7885
78862013-12-04 Joseph Myers <joseph@codesourcery.com>
7887
7888 * stdlib/longlong.h: Update from GCC.
7889
7890 [BZ #6807]
7891 [BZ #15901]
7892 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7893 * math/w_j0f.c (y0f): Likewise.
7894 * math/w_j0l.c (__y0l): Likewise.
7895 * math/w_j1.c (y1): Likewise.
7896 * math/w_j1f.c (y1f): Likewise.
7897 * math/w_j1l.c (__y1l): Likewise
7898 * math/w_jn.c (yn): Likewise.
7899 * math/w_jnf.c (ynf): Likewise.
7900 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7901 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7902 value for Bessel function domain errors outside _SVID_ mode.
7903 Adjust sign of return value for yn (negative integer, 0).
7904 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7905 by zero in return for negative x and set sign appropriately for
7906 negative n.
7907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7908 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7909 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7910 expectations in error cases.
7911 (y1_test_data): Likewise.
7912 (yn_test_data): Likewise.
7913 * sysdeps/i386/fpu/libm-test-ulps: Update.
7914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7915
79162013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7917
7918 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7919 "64" to "64-v1". Add "64-v2".
7920 (abi-64-options): Rename to ...
7921 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7922 (abi-64-condition): Rename to ...
7923 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7924 (abi-64-ld-soname): Rename to ...
7925 (abi-64-v1-ld-soname): ... this.
7926 (abi-64-v2-options): Define.
7927 (abi-64-v2-condition): Likewise.
7928 (abi-64-v2-ld-soname): Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7930 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7934
79352013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7936 Alan Modra <amodra@gmail.com>
7937
7938 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7939 New versions for use with the ELFv2 ABI.
7940 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7941 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7942 declaration.
7943 (struct La_ppc64v2_retval): Likewise.
7944 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7945 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7946 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7947 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7948 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7949 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7950 Do not save or restore CR.
7951 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7952 (_dl_profile_resolve): Do no save or restore CR. Support extended
7953 return values for ELFv2 ABI. Fix location of FPR return registers.
7954 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7955 updated values for _CALL_ELF == 2.
7956 (La_regs, La_retval, int_retval): Likewise.
7957
79582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7959
7960 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7961 (FRAME_MIN_SIZE_PARM): Likewise.
7962 (FRAME_BACKCHAIN): Likewise.
7963 (FRAME_CR_SAVE): Likewise.
7964 (FRAME_LR_SAVE): Likewise.
7965 (FRAME_TOC_SAVE): Likewise.
7966 (FRAME_PARM_SAVE): Likewise.
7967 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7968 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7969 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7970 (call_mcount_parm_offset): New macro.
7971 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7972 (PROF): Use symbolic stack frame offsets.
7973 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7974 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7975 Redefine in terms of FRAME_MIN_SIZE.
7976 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7977 (_dl_profile_resolve): Likewise. Update comment.
7978 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7979 symbols stack frame offsets.
7980 (__sigsetjmp): Likewise.
7981 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7982 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7983 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7984 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7985
7986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7987 (FRAME_BACKCHAIN): Remove.
7988 (FRAME_CR_SAVE): Likewise.
7989 (FRAME_LR_SAVE): Likewise.
7990 (FRAME_COMPILER_DW): Likewise.
7991 (FRAME_LINKER_DW): Likewise.
7992 (FRAME_TOC_SAVE): Likewise.
7993 (FRAME_PARM_SAVE): Likewise.
7994 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7995 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7996 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7998 (CHECK_SP): Use symbolic stack frame offsets.
7999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8000 zone" instead of caller's parameter save area for temp storage.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8002 Likewise. Also, use symbolic stack frame offsets.
8003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8004 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8005 our own stack frame instead of the caller's.
8006 (__socket): Use symbolic stack frame offsets.
8007
80082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8009 Alan Modra <amodra@gmail.com>
8010
8011 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8012 Define.
8013 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8014 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8015 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8016 New function.
8017 (elf_machine_fixup_plt): Call it.
8018 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8019 reloc arguments.
8020 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8021 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8022 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8023 r2 before calling target.
8024
80252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8026 Alan Modra <amodra@gmail.com>
8027
8028 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8029 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8030 versions of macros to support ELFv2 ABI.
8031 (LOCALENTRY): New macro.
8032 (ENTRY, EALIGN): Use it.
8033 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8034 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8035 fall through into ENTRY entry point.
8036 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8037 Only define if _CALL_ELF != 2.
8038
8039 (elf_machine_matches_host): Verify ABI version matches.
8040 (RTLD_START): Use LOCALENTRY.
8041 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8042 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8043 (PLT_ENTRY_WORDS): New macro.
8044 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8045 (elf_machine_runtime_setup): Support ELFv2 ABI.
8046 (elf_machine_fixup_plt): Likewise.
8047 (elf_machine_plt_conflict): Likewise.
8048 (resolve_ifunc): Likewise.
8049 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8050 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8051 Likewise.
8052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8053 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8055 (makecontext): Support ELFv2 ABI.
8056 * elf/elf.h (EF_PPC64_ABI): Define.
8057
80582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8059
8060 * sysdeps/powerpc/powerpc64/sysdep.h
8061 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8062 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8063 (ENTRY) [ASSEMBLER]: ... but instead here ...
8064 (EALIGN) [ASSEMBLER]: ... and here.
8065 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8066 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8067 (ENTRY_2) [!ASSEMBLER]: Use it.
8068 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8069 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8070 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8071 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8072 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8074 Use PPC64_LOAD_FUNCPTR.
8075
8076 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8077
80782013-12-04 Alan Modra <amodra@gmail.com>
8079
8080 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8081 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8082 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8083 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8084
8085 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8086 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8087 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8088 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8089 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8090 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8091
80922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8093
8094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8095 (__makecontext): Fix incorrect CFI when backtracing out of
8096 context created via makecontext.
8097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8098 (__setcontext): Fix incorrect CFI during switch to new context.
8099 (__novec_setcontext): Likewise.
8100
81012013-12-04 Ondřej Bílka <neleai@seznam.cz>
8102
8103 [BZ #4772]
8104 * time/strptime_l.c (__strptime_internal): Allow modifiers
8105 in strptime.
8106 * time/tst-strptime.c (day_tests): Add testcase.
8107
81082013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8109
8110 * scripts/bench.pl: Skip over blank lines.
8111
81122013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8113
8114 [BZ #926]
8115 * manual/time.texi (Calendar Time): Clarify what timezone functions
8116 use.
8117
81182013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8119
8120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8121
81222013-12-04 Ondřej Bílka <neleai@seznam.cz>
8123
8124 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8125 implementation.
8126 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8127 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8128 * debug/memset_chk.c (__memset_chk): Likewise.
8129 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8130 * debug/strncpy_chk.c: Likewise.
8131
81322013-12-03 Joseph Myers <joseph@codesourcery.com>
8133
8134 [BZ #15268]
8135 [BZ #15425]
8136 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8137 (__ieee754_exp): For possibly underflowing results, check size of
8138 result and force underflow exception if required.
8139 * math/auto-libm-test-in: Add more tests of exp.
8140 * math/auto-libm-test-out: Regenerated.
8141 * sysdeps/i386/fpu/libm-test-ulps: Update.
8142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8143
8144 [BZ #16283]
8145 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8146 * math/w_exp2f.c (__exp2f): Likewise.
8147 * math/w_exp2l.c (__exp2l): Likewise.
8148 * math/auto-libm-test-in: Do not allow missing errno on exp2
8149 underflow.
8150 * math/auto-libm-test-out: Regenerated.
8151
81522013-12-03 Ondřej Bílka <neleai@seznam.cz>
8153
8154 [BZ #16274]
8155 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8156 handle filename validation.
8157 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8158 (do_open): Delete.
8159
81602013-12-03 Joseph Myers <joseph@codesourcery.com>
8161
8162 [BZ #6786]
8163 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8164 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8165 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8166 <float.h>.
8167 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8168 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8169 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8170 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8171 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8172 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8173 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8174 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8175 Add more erfc tests.
8176 * math/auto-libm-test-out: Regenerated.
8177 * sysdeps/i386/fpu/libm-test-ulps: Update.
8178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8179
8180 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8181 exp2, expm1, j0 and j1.
8182 * math/auto-libm-test-out: Regenerated.
8183 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8184 (erfc_test_data): Likewise.
8185 (exp_test_data): Likewise.
8186 (exp_tonearest_test_data): Likewise.
8187 (exp_towardzero_test_data): Likewise.
8188 (exp_downward_test_data): Likewise.
8189 (exp_upward_test_data): Likewise.
8190 (exp10_test_data): Likewise.
8191 (exp2_test_data): Likewise.
8192 (expm1_test_data): Likewise.
8193 (j0_test_data): Likewise.
8194 (j1_test_data): Likewise.
8195 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8196 (input_flag_type): Add flag_xfail_rounding.
8197 (input_flags): Add xfail-rounding.
8198 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8199 (output_for_one_input_case): Handle flag_xfail_rounding.
8200 * sysdeps/i386/fpu/libm-test-ulps: Update.
8201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8202
82032013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8204
8205 [BZ #16289]
8206 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8207 division by 0.
8208
82092013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8210
8211 [BZ #16195]
8212 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8213 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8214 (STAP_PROBE0): New macro.
8215 (STAP_PROBE1): Likewise.
8216 (STAP_PROBE2): Likewise.
8217 (STAP_PROBE3): Likewise.
8218 (STAP_PROBE4): Likewise.
8219
82202013-12-02 Ondřej Bílka <neleai@seznam.cz>
8221
8222 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8223
82242013-12-02 Steve Ellcey <sellcey@mips.com>
8225
8226 * benchtests/Makefile (bench): Add sqrt.
8227 (LDLIBS-bench-sqrt): New.
8228 * benchtests/sqrt-input: New.
8229
82302013-12-02 Pavel Simerda <psimerda@redhat.com>
8231
8232 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8233 (GAIH_EAI): Likewise.
8234 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8235 (gaih_inet): Likewise.
8236 (getaddrinfo): Don't use GAIH_EAI.
8237
8238 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8239 (struct gaih): Remove definition.
8240
82412013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8242
8243 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8244 Use HERRNOP directly.
8245
82462013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8247
8248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8249
82502013-11-30 Joseph Myers <joseph@codesourcery.com>
8251
8252 * math/gen-auto-libm-tests.c (test_functions): Add more
8253 single-argument functions.
8254 (special_fill_pi_2): New function.
8255 (special_fill_minus_pi_2): Likewise.
8256 (special_fill_pi_6): Likewise.
8257 (special_fill_minus_pi_6): Likewise.
8258 (special_fill_pi_3): Likewise.
8259 (special_fill_2pi_3): Likewise.
8260 (special_fill_e): Likewise.
8261 (special_fill_1_e): Likewise.
8262 (special_fill_e_minus_1): Likewise.
8263 (special_real_inputs): Add more special inputs.
8264 (output_for_one_input_case): Do not require ERANGE on underflow to
8265 zero if round-to-nearest result does not underflow to zero, unless
8266 exact results required.
8267 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8268 atan, atanh, cbrt, cos and cosh.
8269 * math/auto-libm-test-out: Regenerated.
8270 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8271 (acos_tonearest_test_data): Likewise.
8272 (acos_towardzero_test_data): Likewise.
8273 (acos_downward_test_data): Likewise.
8274 (acos_upward_test_data): Likewise.
8275 (acosh_test_data): Likewise.
8276 (asin_test_data): Likewise.
8277 (asin_tonearest_test_data): Likewise.
8278 (asin_towardzero_test_data): Likewise.
8279 (asin_upward_test_data): Likewise.
8280 (asinh_test_data): Likewise.
8281 (atan_test_data): Likewise.
8282 (atanh_test_data): Likewise.
8283 (cbrt_test_data): Likewise.
8284 (cos_test_data): Likewise.
8285 (cos_tonearest_test_data): Likewise.
8286 (cos_towardzero_test_data): Likewise.
8287 (cos_downward_test_data): Likewise.
8288 (cos_upward_test_data): Likewise.
8289 (cosh_test_data): Likewise.
8290 (cosh_tonearest_test_data): Likewise.
8291 (cosh_towardzero_test_data): Likewise.
8292 (cosh_downward_test_data): Likewise.
8293 (cosh_upward_test_data): Likewise.
8294 * sysdeps/i386/fpu/libm-test-ulps: Update.
8295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8296
82972013-11-29 Joseph Myers <joseph@codesourcery.com>
8298
8299 [BZ #6787]
8300 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8301 * math/w_exp10f.c (__exp10f): Likewise.
8302 * math/w_exp10l.c (__exp10l): Likewise.
8303 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8304 errno settings in existing tests.
8305
8306 [BZ #14032]
8307 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8308 precision control set to double precision.
8309 * sysdeps/i386/fpu/w_sqrt.c: New file.
8310 * math/auto-libm-test-in: Add more tests.
8311 * math/auto-libm-test-out: Update.
8312
8313 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8314 (sqrt_test_tonearest): New function.
8315 (sqrt_towardzero_test_data): New variable.
8316 (sqrt_test_towardzero): New function.
8317 (sqrt_downward_test_data): New variable.
8318 (sqrt_test_downward): New function.
8319 (sqrt_upward_test_data): New variable.
8320 (sqrt_test_upward): New function.
8321 (main): Call the new functions.
8322
8323 * math/gen-auto-libm-tests.c: New file.
8324 * math/auto-libm-test-in: Likewise.
8325 * math/auto-libm-test-out: New generated file.
8326 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8327 variables.
8328 (%beautify): Add generated representations of zero.
8329 (top level): Set $auto_input and call parse_auto_input.
8330 (beautify): Remove trailing "f" from hex float constants.
8331 (parse_args): Handle XFAIL_TEST.
8332 (convert_condition): New function.
8333 (or_value): Likewise.
8334 (or_cond_value): Likewise.
8335 (generate_testfile): Handle AUTO_TESTS_* lines.
8336 (parse_auto_input): New function.
8337 * math/libm-test.inc (XFAIL_TEST): New macro.
8338 (ERRNO_UNCHANGED): Update value.
8339 (ERRNO_EDOM): Likewise.
8340 (ERRNO_ERANGE): Likewise.
8341 (IGNORE_RESULT): Likewise.
8342 (TEST_COND_flt_32): New macro.
8343 (TEST_COND_dbl_64): Likewise.
8344 (TEST_COND_ldbl_96_intel): Likewise.
8345 (TEST_COND_ldbl_96_m68k): Likewise.
8346 (TEST_COND_ldbl_128): Likewise.
8347 (TEST_COND_ldbl_128ibm): Likewise.
8348 (TEST_COND_long32): Likewise.
8349 (TEST_COND_long64): Likewise.
8350 (TEST_COND_before_rounding): Likewise.
8351 (TEST_COND_after_rounding): Likewise.
8352 (enable_test): Handle XFAIL_TEST flag.
8353 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8354 with finite results.
8355 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8356 auto-libm-test-out.
8357
83582013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8359 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8360
8361 [BZ #16214]
8362 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8363 __tls_get_addr_internal instead of __tls_get_offset in order to
8364 avoid GOT pointer dependency. Make rtld export
8365 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8366 __tls_get_addr since we are a __tls_get_offset platform.
8367 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8368 GOT pointer being set up before.
8369 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8370
83712013-11-28 Joseph Myers <joseph@codesourcery.com>
8372
8373 * manual/math.texi (Errors in Math Functions): Document accuracy
8374 goals.
8375
8376 [BZ #15004]
8377 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8378 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8381 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8383 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8393
8394 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8395 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8396 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8397 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8398 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8399 Likewise.
8400 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8401 Likewise.
8402 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8403 Likewise.
8404 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8405 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8406 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8407 atomic-feupdateenv and flt-rounds.
8408 * sysdeps/powerpc/nofpu/Versions (libc): Add
8409 __atomic_feholdexcept, __atomic_feclearexcept,
8410 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8411 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8412 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8413 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8414 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8415 here.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8417 Update.
8418
8419 * manual/arith.texi (FP Exceptions): Document that exceptions may
8420 not be raised when matherr is used.
8421 (Math Error Reporting): Document overflow in directed rounding
8422 modes. Document that errno may not be set when finite values are
8423 returned on overflow. Document intent to set errno on underflow
8424 only for underflow to zero.
8425
8426 [BZ #16271]
8427 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8428 round-to-nearest then adjust result for other rounding modes.
8429 * include/fenv.h (fegetround): Use libm_hidden_proto.
8430 * math/fegetround.c (fegetround): Use libm_hidden_def.
8431 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8432 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8433 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8434 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8435 Likewise.
8436 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8437 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8438 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8439 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8440
84412013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8442
8443 [BZ #16077]
8444 * nss/Versions (libnss_files): Add
8445 _nss_files_gethostbyname3_r.
8446 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8447 New function.
8448 (HOST_DB_LOOKUP): Remove macro.
8449 (_nss_files_gethostbyname_r): Implement function without the
8450 HOST_DB_LOOKUP macro.
8451 (_nss_files_gethostbyname2_r): Likewise.
8452
84532013-11-28 Ondřej Bílka <neleai@seznam.cz>
8454
8455 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8456
84572013-11-26 Uros Bizjak <ubizjak@gmail.com>
8458
8459 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8460 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8461 warning.
8462
84632013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8464
8465 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8466 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8467 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8468 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8469 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8470 __fe_nomask_env_priv and attribute_hidden.
8471 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8472 (libc_feupdateenv_test_ppc): Likewise.
8473 (libc_feresetround_ppc): Likewise.
8474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8475 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8476 compat_symbol macro.
8477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8478 (__fe_nomask_env): Likewise.
8479 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8480
84812013-11-26 Ondřej Bílka <neleai@seznam.cz>
8482
8483 * string/Makefile: Remove ifunc tests.
8484 * string/test-string.h: Define TEST_IFUNC.
8485 * string/test-bcopy-ifunc.c: Remove.
8486 * string/test-bzero-ifunc.c: Likewise.
8487 * string/test-memccpy-ifunc.c: Likewise.
8488 * string/test-memchr-ifunc.c: Likewise.
8489 * string/test-memcmp-ifunc.c: Likewise.
8490 * string/test-memcpy-ifunc.c: Likewise.
8491 * string/test-memmem-ifunc.c: Likewise.
8492 * string/test-memmove-ifunc.c: Likewise.
8493 * string/test-mempcpy-ifunc.c: Likewise.
8494 * string/test-memrchr-ifunc.c: Likewise.
8495 * string/test-memset-ifunc.c: Likewise.
8496 * string/test-rawmemchr-ifunc.c: Likewise.
8497 * string/test-stpcpy-ifunc.c: Likewise.
8498 * string/test-stpncpy-ifunc.c: Likewise.
8499 * string/test-strcasecmp-ifunc.c: Likewise.
8500 * string/test-strcasestr-ifunc.c: Likewise.
8501 * string/test-strcat-ifunc.c: Likewise.
8502 * string/test-strchr-ifunc.c: Likewise.
8503 * string/test-strchrnul-ifunc.c: Likewise.
8504 * string/test-strcmp-ifunc.c: Likewise.
8505 * string/test-strcpy-ifunc.c: Likewise.
8506 * string/test-strcspn-ifunc.c: Likewise.
8507 * string/test-strlen-ifunc.c: Likewise.
8508 * string/test-strncasecmp-ifunc.c: Likewise.
8509 * string/test-strncat-ifunc.c: Likewise.
8510 * string/test-strncmp-ifunc.c: Likewise.
8511 * string/test-strncpy-ifunc.c: Likewise.
8512 * string/test-strnlen-ifunc.c: Likewise.
8513 * string/test-strpbrk-ifunc.c: Likewise.
8514 * string/test-strrchr-ifunc.c: Likewise.
8515 * string/test-strspn-ifunc.c: Likewise.
8516 * string/test-strstr-ifunc.c: Likewise.
8517
85182013-11-26 Ondřej Bílka <neleai@seznam.cz>
8519
8520 * benchtests/Makefile: Remove ifunc tests.
8521 * benchtests/bench-string.h: Define TEST_IFUNC.
8522 * benchtests/bench-bcopy-ifunc.c: Remove.
8523 * benchtests/bench-bzero-ifunc.c: Likewise.
8524 * benchtests/bench-memccpy-ifunc.c: Likewise.
8525 * benchtests/bench-memchr-ifunc.c: Likewise.
8526 * benchtests/bench-memcmp-ifunc.c: Likewise.
8527 * benchtests/bench-memcpy-ifunc.c: Likewise.
8528 * benchtests/bench-memmem-ifunc.c: Likewise.
8529 * benchtests/bench-memmove-ifunc.c: Likewise.
8530 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8531 * benchtests/bench-memrchr-ifunc.c: Likewise.
8532 * benchtests/bench-memset-ifunc.c: Likewise.
8533 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8534 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8535 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8536 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8537 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8538 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8539 * benchtests/bench-strcat-ifunc.c: Likewise.
8540 * benchtests/bench-strchr-ifunc.c: Likewise.
8541 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8542 * benchtests/bench-strcmp-ifunc.c: Likewise.
8543 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8544 * benchtests/bench-strcpy-ifunc.c: Likewise.
8545 * benchtests/bench-strcspn-ifunc.c: Likewise.
8546 * benchtests/bench-strlen-ifunc.c: Likewise.
8547 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8548 * benchtests/bench-strncat-ifunc.c: Likewise.
8549 * benchtests/bench-strncmp-ifunc.c: Likewise.
8550 * benchtests/bench-strncpy-ifunc.c: Likewise.
8551 * benchtests/bench-strnlen-ifunc.c: Likewise.
8552 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8553 * benchtests/bench-strrchr-ifunc.c: Likewise.
8554 * benchtests/bench-strsep-ifunc.c: Likewise.
8555 * benchtests/bench-strspn-ifunc.c: Likewise.
8556 * benchtests/bench-strstr-ifunc.c: Likewise.
8557
85582013-11-26 Ondřej Bílka <neleai@seznam.cz>
8559
8560 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8561
85622013-11-26 Ondřej Bílka <neleai@seznam.cz>
8563
8564 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8565 * rt/aio.h: Likewise.
8566 * sysdeps/gnu/bits/utmp.h: Likewise.
8567 * sysdeps/gnu/bits/utmpx.h: Likewise.
8568 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8569 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8570 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8571 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8572 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8573 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8574 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8575 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8576 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8577 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8578 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8579 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8580 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8582 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8583 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8584 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8585 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8586 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8587 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8588 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8589 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8590 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8591 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8592 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8594 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8595 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8596 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8597 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8598 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8599 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8600 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8601 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8602 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8603 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8604 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8605 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8606 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8607 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8608 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8609 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8610
86112013-11-25 Carlos O'Donell <carlos@redhat.com>
8612
8613 [BZ #16245]
8614 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8615 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8616
86172013-11-25 Joseph Myers <joseph@codesourcery.com>
8618
8619 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8620 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8621 Likewise.
8622
86232013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8624
8625 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8626 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8627 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8628 (__fesetround): Remove define.
8629 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8630 rounding and exceptions handling.
8631 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8632 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8633 (__fe_nomask_env): Likewise.
8634 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8635 __fegetround instead of fegetround.
8636 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8637 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8638
86392013-11-21 Roland McGrath <roland@hack.frob.com>
8640
8641 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8642 it's there.
8643
8644 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8645
86462013-11-21 Meador Inge <meadori@codesourcery.com>
8647
8648 [BZ #11157]
8649 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8650 (encrypt_r): Likewise.
8651 * malloc/obstack.h (obstack_free): Likewise.
8652 * posix/unistd.h (encrypt): Likewise.
8653
86542013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8655
8656 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8657 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8658 DL_CALL_DT_FINI() that call the functions directly.
8659 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8660 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8661 * elf/dl-fini.c: Likewise.
8662
86632013-11-20 Ondřej Bílka <neleai@seznam.cz>
8664
8665 * malloc/hooks.c (memalign_check): Add alignment rounding.
8666 * malloc/malloc.c (_mid_memalign): New function.
8667 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8668 Implement by calling _mid_memalign.
8669 * manual/probes.texi (Memory Allocation Probes): Remove
8670 memory_valloc_retry and memory_pvalloc_retry.
8671
86722013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8673
8674 * locale/programs/locarchive.c (open_archive): Add const
8675 qualifier to ARCHIVEFNAME and copy default fname to
8676 DEFAULT_FNAME.
8677
8678 [BZ #15601]
8679 * libio/tst-widetext.input: Rename Oriya to Odia.
8680 * locale/iso-639.def: Likewise.
8681
8682 * manual/probes.texi (Mathematical Function Probes): Add
8683 documentation for sin, cos, asin and acos probes.
8684 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8685 (__sin32): Add slowasin probe.
8686 (__cos32): Add slowacos probe.
8687 (__mpsin): Add slowsin probe.
8688 (__mpcos): Add slowcos probe.
8689
86902013-11-19 Joseph Myers <joseph@codesourcery.com>
8691
8692 [BZ #15483]
8693 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8694 thread-local __sim_exceptions_thread and global
8695 __sim_exceptions_global.
8696 (__sim_disabled_exceptions): Change to thread-local
8697 __sim_disabled_exceptions_thread and global
8698 __sim_disabled_exceptions_global.
8699 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8700 and global __sim_round_mode_global.
8701 (__simulate_exceptions): Use thread-local floating-point state and
8702 set global state from it as needed.
8703 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8704 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8705 __sim_round_mode_thread.
8706 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8707 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8708 and global __sim_exceptions_global.
8709 (__sim_disabled_exceptions): Change to thread-local
8710 __sim_disabled_exceptions_thread and global
8711 __sim_disabled_exceptions_global.
8712 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8713 and global __sim_round_mode_global.
8714 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8715 (SIM_SET_GLOBAL): Likewise.
8716 * sysdeps/powerpc/soft-fp/sfp-machine.h
8717 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8718 __sim_round_mode_thread.
8719 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8720 __sim_disabled_exceptions_thread.
8721 (__sim_exceptions): Change to __sim_exceptions_thread.
8722 (__sim_disabled_exceptions): Change to
8723 __sim_disabled_exceptions_thread.
8724 (__sim_round_mode): Change to __sim_round_mode_thread.
8725 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8726 thread-local floating-point state and set global state from it as
8727 needed.
8728 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8729 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8730 (__sim_disabled_exceptions): Remove extern declaration.
8731 (feenableexcept): Use thread-local floating-point state and set
8732 global state from it as needed.
8733 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8734 extern declaration.
8735 (__sim_disabled_exceptions): Likewise.
8736 (__sim_round_mode): Likewise.
8737 (__fegetenv): Use thread-local floating-point state.
8738 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8739 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8740 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8741 floating-point state and set global state from it as needed.
8742 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8743 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8744 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8745 Likewise.
8746 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8747 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8748 Likewise.
8749 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8750 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8751 Use __sim_round_mode_thread.
8752 * math/test-fenv-tls.c: New file.
8753 * math/Makefile (tests): Add test-fenv-tls.
8754 ($(objpfx)test-fenv-tls): Depend on
8755 $(common-objpfx)nptl/libpthread.so.
8756
87572013-11-19 Andreas Schwab <schwab@suse.de>
8758
8759 * locale/programs/locale.c (show_info): Decode wordarray elements.
8760 * locale/categories.def (LC_MONETARY): Add element for
8761 _NL_MONETARY_CRNCYSTR.
8762 * locale/C-monetary.c (conversion_rate): New variable.
8763 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8764 element.
8765
87662013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8767
8768 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8769 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8770
87712013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8772
8773 * elf/Makefile (tst-auxv): New test.
8774 * elf/tst-auxv.c: New
8775 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8776
87772013-11-18 Joseph Myers <joseph@codesourcery.com>
8778
8779 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8780 (hidden_proto): Caller changed.
8781 (hidden_tls_proto): New macro.
8782 (libc_hidden_tls_proto): Likewise.
8783 (rtld_hidden_tls_proto): Likewise.
8784 (libm_hidden_tls_proto): Likewise.
8785 (libresolv_hidden_tls_proto): Likewise.
8786 (librt_hidden_tls_proto): Likewise.
8787 (libdl_hidden_tls_proto): Likewise.
8788 (libnss_files_hidden_tls_proto): Likewise.
8789 (libnsl_hidden_tls_proto): Likewise.
8790 (libnss_nisplus_hidden_tls_proto): Likewise.
8791 (libutil_hidden_tls_proto): Likewise.
8792
87932013-11-18 Ondřej Bílka <neleai@seznam.cz>
8794
8795 [BZ #10253]
8796 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8797 (decompose_rpath): Defer expansion to fillin_rpath.
8798 (_dl_init_paths): Pass linkmap to fillin_rpath.
8799
88002013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8801
8802 * benchtests/Makefile: Add strsep.
8803 * benchtests/bench-strsep.c: New file: strsep benchtest.
8804 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8805
88062013-11-18 Andreas Schwab <schwab@suse.de>
8807
8808 * locale/programs/locale.c (show_info) [case byte]: Check for
8809 '\377' instead of '\177'.
8810 * locale/C-monetary.c (not_available): Always use "\377".
8811 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8812 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8813 detect unavailable sign_posn locale elements.
8814 * locale/localeconv.c (__localeconv): For grouping and
8815 mon_grouping handle "\177" and "\377" like no grouping.
8816 (INT_ELEM): New macro. Use it to set all numeric members.
8817 * locale/programs/ld-monetary.c (monetary_read)
8818 <tok_mon_grouping>: Normalize single -1 to the empty string.
8819 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8820 Likewise.
8821
88222013-11-07 Ondřej Bílka <neleai@seznam.cz>
8823
8824 [BZ #16055]
8825 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8826 when we match (nil).
8827 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8828
88292013-11-16 Joseph Myers <joseph@codesourcery.com>
8830
8831 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8832 (NO_TEST_INLINE): Update value.
8833 (ERRNO_UNCHANGED): Likewise.
8834 (ERRNO_EDOM): Likewise.
8835 (ERRNO_ERANGE): Likewise.
8836 (IGNORE_RESULT): Likewise.
8837 (check_float_internal): Check signs of NaN results if
8838 TEST_NAN_SIGN used.
8839 (check_complex): Pass TEST_NAN_SIGN flag through to second
8840 check_float_internal call.
8841 (copysign_test_data): Add tests with quiet NaNs as second
8842 argument. Use TEST_NAN_SIGN.
8843 (fabs_test_data): Add test of negative quiet NaN argument. Use
8844 TEST_NAN_SIGN.
8845 (signbit_test_data): Add tests of quiet NaN argument.
8846 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8847
8848 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8849 $ignore_result.
8850 (parse_args): Handle function results specified as IGNORE.
8851 * math/libm-test.inc (IGNORE_RESULT): New macro.
8852 (check_float_internal): Do not check numerical result if flag
8853 IGNORE_RESULT set.
8854 (check_complex): Pass through IGNORE_RESULT to second
8855 check_float_internal call.
8856 (check_int): Do not check numerical result if flag IGNORE_RESULT
8857 set.
8858 (check_long): Likewise.
8859 (check_bool): Likewise.
8860 (check_longlong): Likewise.
8861 (lrint_test_data): Add tests of infinite and NaN arguments.
8862 (lrint_tonearest_test_data): Likewise.
8863 (lrint_towardzero_test_data): Likewise.
8864 (lrint_downward_test_data): Likewise.
8865 (lrint_upward_test_data): Likewise.
8866 (llrint_test_data): Likewise.
8867 (llrint_tonearest_test_data): Likewise.
8868 (llrint_towardzero_test_data): Likewise.
8869 (llrint_downward_test_data): Likewise.
8870 (llrint_upward_test_data): Likewise.
8871 (lround_test_data): Likewise.
8872 (llround_test_data): Likewise.
8873
8874 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8875 (ERRNO_UNCHANGED): Update value.
8876 (ERRNO_EDOM): Likewise.
8877 (ERRNO_ERANGE): Likewise.
8878 (NO_TEST_INLINE_FLOAT): New macro.
8879 (NO_TEST_INLINE_DOUBLE): Likewise.
8880 (enable_test): New function.
8881 (RUN_TEST_f_f): Check enable_test before running test.
8882 (RUN_TEST_2_f): Likewise.
8883 (RUN_TEST_fff_f): Likewise.
8884 (RUN_TEST_c_f): Likewise.
8885 (RUN_TEST_f_f1): Likewise.
8886 (RUN_TEST_fF_f1): Likewise.
8887 (RUN_TEST_fI_f1): Likewise.
8888 (RUN_TEST_ffI_f1): Likewise.
8889 (RUN_TEST_c_c): Likewise.
8890 (RUN_TEST_cc_c): Likewise.
8891 (RUN_TEST_f_i): Likewise.
8892 (RUN_TEST_f_i_tg): Likewise.
8893 (RUN_TEST_ff_i_tg): Likewise.
8894 (RUN_TEST_f_b): Likewise.
8895 (RUN_TEST_f_b_tg): Likewise.
8896 (RUN_TEST_f_l): Likewise.
8897 (RUN_TEST_f_L): Likewise.
8898 (RUN_TEST_fFF_11): Likewise.
8899 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8900 conditionals.
8901 (cosh_test_data): Likewise.
8902 (exp_test_data): Likewise.
8903 (expm1_test_data): Likewise.
8904 (hypot_test_data): Likewise.
8905 (pow_test_data): Likewise.
8906 (sinh_test_data): Likewise.
8907 (tanh_test_data): Likewise.
8908 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8909 flags argument.
8910
8911 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8912 tests with quiet NaN input and output.
8913 (acosh_test_data): Likewise.
8914 (asin_test_data): Likewise.
8915 (asinh_test_data): Likewise.
8916 (atan_test_data): Likewise.
8917 (atanh_test_data): Likewise.
8918 (atan2_test_data): Likewise.
8919 (cbrt_test_data): Likewise.
8920 (cos_test_data): Likewise.
8921 (cosh_test_data): Likewise.
8922 (erf_test_data): Likewise.
8923 (erfc_test_data): Likewise.
8924 (exp_test_data): Likewise.
8925 (exp10_test_data): Likewise.
8926 (exp2_test_data): Likewise.
8927 (expm1_test_data): Likewise.
8928 (hypot_test_data): Likewise.
8929 (j0_test_data): Likewise.
8930 (j1_test_data): Likewise.
8931 (jn_test_data): Likewise.
8932 (lgamma_test_data): Likewise.
8933 (log_test_data): Likewise.
8934 (log10_test_data): Likewise.
8935 (log1p_test_data): Likewise.
8936 (log2_test_data): Likewise.
8937 (pow_test_data): Likewise.
8938 (scalb_test_data): Likewise.
8939 (sin_test_data): Likewise.
8940 (sincos_test_data): Likewise.
8941 (sinh_test_data): Likewise.
8942 (tan_test_data): Likewise.
8943 (tanh_test_data): Likewise.
8944 (tgamma_test_data): Likewise.
8945 (y0_test_data): Likewise.
8946 (y1_test_data): Likewise.
8947 (yn_test_data): Likewise.
8948
8949 [BZ #16167]
8950 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8951 argument being NaN and avoid computations with second argument in
8952 that case.
8953 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8954 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8955 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8956
89572013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8958
8959 * locale/iso-639.def: Add Chitwani Tharu (the).
8960
89612013-11-14 Andreas Schwab <schwab@suse.de>
8962
8963 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8964 word instead of empty string.
8965
89662013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8967
8968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8969 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8971 (__fe_nomask_env): Likewise.
8972
89732013-11-13 Steve Ellcey <sellcey@mips.com>
8974
8975 * benchtests/bench-timing.h: Include time.h.
8976
89772013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8978
8979 [BZ #15997]
8980 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8981 to 3.4.0 for x32.
8982 * sysdeps/unix/sysv/linux/configure: Regenerated.
8983
89842013-11-13 Joseph Myers <joseph@codesourcery.com>
8985
8986 [BZ #16151]
8987 * stdlib/strtod_l.c (round_and_return): Do not consider
8988 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8989 exponent one less than half the least subnormal exponent.
8990 * stdlib/test-strtod-round-data: Add more tests.
8991 * stdlib/tst-strtod-round.c (tests): Regenerated.
8992
89932013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8994
8995 [BZ #14143]
8996 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8997 (__fe_mask_env): Likewise.
8998 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8999 libm_hidden_proto and add function prototype.
9000 (__fe_mask_env): Add function prototype.
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9002 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9004 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9006 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9007
90082013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9009
9010 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9011 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9012
90132013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9014
9015 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9016 of htab_find_slot().
9017
90182013-11-11 David S. Miller <davem@davemloft.net>
9019
9020 [BZ #16150]
9021 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9022 symbol in the non-vis3 case in static builds.
9023 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9024 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9025 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9026 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9027
90282013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9029
9030 [BZ #387]
9031 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9032 it is empty.
9033
90342013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9035
9036 * benchtests/Makefile: Add bench-strtod.
9037 * benchtests/bench-strtod.c: New file: strtod benchtest
9038
90392013-11-11 Andreas Schwab <schwab@suse.de>
9040
9041 [BZ #16153]
9042 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9043 terminating NUL in key length.
9044
90452013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9046
9047 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9048 Add artificial ODP entry for vDSO symbol for PPC64.
9049 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9050 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9051
90522013-11-07 Ondřej Bílka <neleai@seznam.cz>
9053
9054 [BZ #15374]
9055 * nss/getent.c (services_keys): Recognize services starting with digit.
9056
90572013-11-06 David S. Miller <davem@davemloft.net>
9058
9059 [BZ #15985]
9060 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9061 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9062
90632013-11-06 Will Newton <will.newton@linaro.org>
9064
9065 * manual/memory.texi (Malloc Examples): Remove register
9066 keyword from examples.
9067
90682013-11-04 Chris Leonard <cjl@sugarlabs.org>
9069
9070 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9071
90722013-11-04 Joseph Myers <joseph@codesourcery.com>
9073
9074 [BZ #6981]
9075 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9076 depending on [__GCC_IEC_559 > 0].
9077 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9078 depending on [__GCC_IEC_559_COMPLEX > 0].
9079
90802013-11-03 Chris Leonard <cjl@sugarlabs.org>
9081
9082 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9083 to iso-639.def.
9084
90852013-11-03 Ondřej Bílka <neleai@seznam.cz>
9086
9087 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9088
90892013-11-01 Ondřej Bílka <neleai@seznam.cz>
9090
9091 [BZ #16112]
9092 * malloc/malloc (malloc_info): Do not handle first bin as
9093 special case.
9094
90952013-11-01 Chris Leonard <cjl@sugarlabs.org>
9096
9097 * locale/iso-639.def: Add Central Nahuatl (nhn).
9098
90992013-11-01 Bruno Haible <bruno@clisp.org>
9100
9101 [BZ #7003]
9102 * manual/math.texi (BSD Random): Specify range upper bound as
9103 in POSIX.
9104
91052013-10-31 Chris Leonard <cjl@sugarlabs.org>
9106
9107 * locale/iso-639.def: Add Meadow Mari (mhr).
9108
91092013-10-31 Ondřej Bílka <neleai@seznam.cz>
9110
9111 [BZ #14752], [BZ #15763]
9112 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9113 Validate name.
9114 * rt/tst_shm.c: Add test for escaping directory.
9115
91162013-10-31 Andreas Schwab <schwab@suse.de>
9117
9118 [BZ #15917]
9119 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9120 followed by 'x' as part of digit sequence.
9121 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9122
91232013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9124
9125 [BZ #16037]
9126 * configure.ac: allow GNU Make 4.0 and greater.
9127 * configure: Regenerated.
9128
91292013-10-30 Will Newton <will.newton@linaro.org>
9130
9131 [BZ #16038]
9132 * malloc/hooks.c (memalign_check): Limit alignment to the
9133 maximum representable power of two.
9134 * malloc/malloc.c (__libc_memalign): Likewise.
9135 * malloc/tst-memalign.c (do_test): Add test for very
9136 large alignment values.
9137 * malloc/tst-posix_memalign.c (do_test): Likewise.
9138
91392013-10-30 Ondřej Bílka <neleai@seznam.cz>
9140
9141 [BZ #11087]
9142 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9143 (munmap_chunk): Likewise.
9144 (mremap_chunk): Likewise.
9145
91462013-10-30 Ondřej Bílka <neleai@seznam.cz>
9147
9148 [BZ #15799]
9149 * stdlib/div.c (div): Remove obsolete code.
9150 * stdlib/ldiv.c (ldiv): Likewise.
9151 * stdlib/lldiv.c (lldiv): Likewise.
9152
91532013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9154
9155 [BZ #16071]
9156 * nss/nss_files/files-XXX.c (get_contents_ret): New
9157 enumerator.
9158 (get_contents): New function.
9159 (internal_getent): Use it. Expand size of LINEBUFLEN.
9160
91612013-10-30 Mike Frysinger <vapier@gentoo.org>
9162
9163 * configure.in: Moved to ...
9164 * configure.ac: ... here. Change reference to configure.in
9165 to configure.ac.
9166 * sysdeps/arm/preconfigure.ac: ... here.
9167 configure.in to configure.ac.
9168 * sysdeps/gnu/configure.in: Moved to ...
9169 * sysdeps/gnu/configure.ac: ... here.
9170 * sysdeps/i386/configure.in: Moved to ...
9171 * sysdeps/i386/configure.ac: ... here.
9172 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9173 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9174 * sysdeps/mach/configure.in: Moved to ...
9175 * sysdeps/mach/configure.ac: ... here.
9176 * sysdeps/mach/hurd/configure.in: Moved to ...
9177 * sysdeps/mach/hurd/configure.ac: ... here.
9178 * sysdeps/powerpc/configure.in: Moved to ...
9179 * sysdeps/powerpc/configure.ac: ... here.
9180 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9181 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9182 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9183 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9184 * sysdeps/s390/s390-32/configure.in: Moved to ...
9185 * sysdeps/s390/s390-32/configure.ac: ... here.
9186 * sysdeps/s390/s390-64/configure.in: Moved to ...
9187 * sysdeps/s390/s390-64/configure.ac: ... here.
9188 * sysdeps/sh/configure.in: Moved to ...
9189 * sysdeps/sh/configure.ac: ... here.
9190 * sysdeps/sparc/configure.in: Moved to ...
9191 * sysdeps/sparc/configure.ac: ... here.
9192 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9193 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9194 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9195 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9196 * sysdeps/x86_64/configure.in: Moved to ...
9197 * sysdeps/x86_64/configure.ac: ... here.
9198 * sysdeps/x86_64/preconfigure.in: Moved to ...
9199 * sysdeps/x86_64/preconfigure.ac: ... here.
9200 * aclocal.m4: Change reference to configure.in to configure.ac.
9201 * config.h.in: Likewise.
9202 * manual/install.texi: Likewise.
9203 * manual/maint.texi: Likewise.
9204 * Makefile: Likewise.
9205 * malloc/Makefile: Likewise.
9206 * nscd/Makefile: Likewise.
9207 * Makeconfig: Change reference to configure.in and
9208 preconfigure.in to configure.ac and preconfigure.ac
9209 respectively.
9210 * INSTALL: Regenerated.
9211 * configure: Likewise.
9212 * sysdeps/gnu/configure: Likewise.
9213 * sysdeps/i386/configure: Likewise.
9214 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9215 * sysdeps/mach/configure: Likewise.
9216 * sysdeps/mach/hurd/configure: Likewise.
9217 * sysdeps/powerpc/configure: Likewise.
9218 * sysdeps/powerpc/powerpc32/configure: Likewise.
9219 * sysdeps/powerpc/powerpc64/configure: Likewise.
9220 * sysdeps/s390/s390-32/configure: Likewise.
9221 * sysdeps/s390/s390-64/configure: Likewise.
9222 * sysdeps/sh/configure: Likewise.
9223 * sysdeps/sparc/configure: Likewise.
9224 * sysdeps/unix/sysv/linux/configure: Likewise.
9225 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9226 * sysdeps/x86_64/configure: Likewise.
9227 * sysdeps/x86_64/preconfigure: Likewise.
9228
92292013-10-29 Andreas Schwab <schwab@suse.de>
9230
9231 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9232
92332013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9234
9235 * benchtests/pow-inputs: Add new inputs.
9236
9237 * benchtests/exp-inputs: Add new inputs.
9238
9239 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9240 conditional check for return value.
9241 (__cos32): Likewise.
9242
92432013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9244
9245 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9246 to provide a boost for large inputs with word alignment.
9247 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9248 implementation based on optimized PPC64 strcpy.
9249 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9250 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9251 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9252 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9253
92542013-10-25 Ondřej Bílka <neleai@seznam.cz>
9255
9256 [BZ #2801]
9257 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9258
92592013-10-25 Ondřej Bílka <neleai@seznam.cz>
9260
9261 [BZ #14876]
9262 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9263 * time/tst-strptime.c (day_tests): Add testcase.
9264
92652013-10-25 Ondřej Bílka <neleai@seznam.cz>
9266
9267 [BZ #14029]
9268 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9269
92702013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9271
9272 [BZ #16074]
9273 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9274 MAP_FAILED on error.
9275
92762013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9277
9278 [BZ #16072]
9279 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9280 heap for large requests.
9281
92822013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9283
9284 [BZ #9954]
9285 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9286 result if the result has no associated interface.
9287 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9288 interface for all 127.X.Y.Z addresses.
9289
92902013-10-24 Chris Leonard <cjl@sugarlabs.org>
9291
9292 * locale/iso-639.def: Add Ligurian (lij)
9293
92942013-10-21 Ondřej Bílka <neleai@seznam.cz>
9295
9296 [BZ #15825]
9297 * sunrpc/rpc_main.c: Document rpcgen -5.
9298
92992013-10-19 Michael Stahl <mstahl@redhat.com>
9300
9301 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9302
93032013-10-19 Ondřej Bílka <neleai@seznam.cz>
9304
9305 [BZ #10278]
9306 * posix/glob.c: Match only directories when trailing slash is present.
9307 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9308 (main): Add testcase.
9309
93102013-10-19 Ondřej Bílka <neleai@seznam.cz>
9311
9312 [BZ #15670]
9313 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9314
93152013-10-18 Carlos O'Donell <carlos@redhat.com>
9316
9317 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9318 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9319 AUTH_DES and cindex for FIPS 140-2.
9320 (DES Encryption): Add cindex FIPS 46-3.
9321
9322 * locale/locarchive.h (struct locarhandle): Add fname.
9323 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9324 if an optional argument was specified to --list-archive,
9325 otherwise NULL.
9326 * locale/programs/locarchive.c (show_archive_content): Take new
9327 argument fname and pass it via ah.fname to open_archive.
9328 * locale/programs/localedef.h: Update decl.
9329 (open_archive): If AH->fname is non-null, open that file
9330 rather than the default file name, and don't ignore ENOENT.
9331 (create_archive): Set AH.fname to NULL.
9332 (delete_locales_from_archive): Likewise.
9333 (add_locales_to_archive): Likewise.
9334 * locale/programs/locfile.c (write_all_categories): Likewise.
9335
93362013-10-18 Joseph Myers <joseph@codesourcery.com>
9337 Aldy Hernandez <aldyh@redhat.com>
9338
9339 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9340 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9341 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9342 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9343 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9344 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9345 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9346 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9347 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9348 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9349 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9350 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9351 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9352 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9353 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9354 Likewise.
9355 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9356 Likewise.
9357 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9358 Likewise.
9359 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9360 Likewise.
9361 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9362 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9363 Likewise.
9364 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9365 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9366 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9367 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9368 Likewise.
9369 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9370 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9371 * sysdeps/powerpc/preconfigure: Likewise.
9372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9373 Likewise.
9374 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9375 Replace contents of file by #include of <fenv_libc.h>.
9376 * sysdeps/powerpc/soft-fp/sfp-machine.h
9377 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9378 and <sys/prctl.h>.
9379 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9380 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9381 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9382 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9383 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9384 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9386 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9387 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9388 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9389 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9390 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9392 Allow copysignl PLT reference to be missing.
9393
93942013-10-18 Richard Sandiford <richard@codesourcery.com>
9395 Joseph Myers <joseph@codesourcery.com
9396
9397 [BZ #15948]
9398 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9399 single character.
9400 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9401
94022013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9403
9404 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9405 * elf/tst-tls1.c: Likewise.
9406 * elf/tst-tls10.h: Likewise.
9407 * elf/tst-tls14.c: Likewise.
9408 * elf/tst-tls2.c: Likewise.
9409 * elf/tst-tls3.c: Likewise.
9410 * elf/tst-tls4.c: Likewise.
9411 * elf/tst-tls5.c: Likewise.
9412 * elf/tst-tls6.c: Likewise.
9413 * elf/tst-tls7.c: Likewise.
9414 * elf/tst-tls8.c: Likewise.
9415 * elf/tst-tls9.c: Likewise.
9416 * elf/tst-tlsmod1.c: Likewise.
9417 * elf/tst-tlsmod13.c: Likewise.
9418 * elf/tst-tlsmod13a.c: Likewise.
9419 * elf/tst-tlsmod14a.c: Likewise.
9420 * elf/tst-tlsmod16a.c: Likewise.
9421 * elf/tst-tlsmod16b.c: Likewise.
9422 * elf/tst-tlsmod2.c: Likewise.
9423 * elf/tst-tlsmod3.c: Likewise.
9424 * elf/tst-tlsmod4.c: Likewise.
9425 * elf/tst-tlsmod5.c: Likewise.
9426 * elf/tst-tlsmod6.c: Likewise.
9427
94282013-10-18 Ondřej Bílka <neleai@seznam.cz>
9429
9430 [BZ #12486]
9431 * malloc/malloc.c: remove checks for statistics.
9432
94332013-10-17 Ondřej Bílka <neleai@seznam.cz>
9434
9435 [BZ #15277]
9436 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9437 * inet/tst-network.c: Add testcase.
9438
94392013-10-17 Andreas Schwab <schwab@suse.de>
9440
9441 [BZ #15218]
9442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9443 to determine canonical name.
9444
94452013-10-17 Ondřej Bílka <neleai@seznam.cz>
9446
9447 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9448 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9449 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9450 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9451 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9453 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9454 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9471 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9472 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9477 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9484 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9491 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9492 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9493 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9496 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9501 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9502 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9503 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9504 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9505
95062013-10-17 Joseph Myers <joseph@codesourcery.com>
9507
9508 [BZ #16041]
9509 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9510 make result into a quiet NaN.
9511
95122013-10-16 Joseph Myers <joseph@codesourcery.com>
9513
9514 * soft-fp/adddf3.c: Fix horizontal whitespace.
9515 * soft-fp/addsf3.c: Likewise.
9516 * soft-fp/addtf3.c: Likewise.
9517 * soft-fp/divdf3.c: Likewise.
9518 * soft-fp/divsf3.c: Likewise.
9519 * soft-fp/divtf3.c: Likewise.
9520 * soft-fp/double.h: Likewise.
9521 * soft-fp/eqdf2.c: Likewise.
9522 * soft-fp/eqsf2.c: Likewise.
9523 * soft-fp/eqtf2.c: Likewise.
9524 * soft-fp/extenddftf2.c: Likewise.
9525 * soft-fp/extended.h: Likewise.
9526 * soft-fp/extendsfdf2.c: Likewise.
9527 * soft-fp/extendsftf2.c: Likewise.
9528 * soft-fp/extendxftf2.c: Likewise.
9529 * soft-fp/fixdfdi.c: Likewise.
9530 * soft-fp/fixdfsi.c: Likewise.
9531 * soft-fp/fixdfti.c: Likewise.
9532 * soft-fp/fixsfdi.c: Likewise.
9533 * soft-fp/fixsfsi.c: Likewise.
9534 * soft-fp/fixsfti.c: Likewise.
9535 * soft-fp/fixtfdi.c: Likewise.
9536 * soft-fp/fixtfsi.c: Likewise.
9537 * soft-fp/fixtfti.c: Likewise.
9538 * soft-fp/fixunsdfdi.c: Likewise.
9539 * soft-fp/fixunsdfsi.c: Likewise.
9540 * soft-fp/fixunsdfti.c: Likewise.
9541 * soft-fp/fixunssfdi.c: Likewise.
9542 * soft-fp/fixunssfsi.c: Likewise.
9543 * soft-fp/fixunssfti.c: Likewise.
9544 * soft-fp/fixunstfdi.c: Likewise.
9545 * soft-fp/fixunstfsi.c: Likewise.
9546 * soft-fp/fixunstfti.c: Likewise.
9547 * soft-fp/floatdidf.c: Likewise.
9548 * soft-fp/floatdisf.c: Likewise.
9549 * soft-fp/floatditf.c: Likewise.
9550 * soft-fp/floatsidf.c: Likewise.
9551 * soft-fp/floatsisf.c: Likewise.
9552 * soft-fp/floatsitf.c: Likewise.
9553 * soft-fp/floattidf.c: Likewise.
9554 * soft-fp/floattisf.c: Likewise.
9555 * soft-fp/floattitf.c: Likewise.
9556 * soft-fp/floatundidf.c: Likewise.
9557 * soft-fp/floatundisf.c: Likewise.
9558 * soft-fp/floatunditf.c: Likewise.
9559 * soft-fp/floatunsidf.c: Likewise.
9560 * soft-fp/floatunsisf.c: Likewise.
9561 * soft-fp/floatunsitf.c: Likewise.
9562 * soft-fp/floatuntidf.c: Likewise.
9563 * soft-fp/floatuntisf.c: Likewise.
9564 * soft-fp/floatuntitf.c: Likewise.
9565 * soft-fp/fmadf4.c: Likewise.
9566 * soft-fp/fmasf4.c: Likewise.
9567 * soft-fp/fmatf4.c: Likewise.
9568 * soft-fp/gedf2.c: Likewise.
9569 * soft-fp/gesf2.c: Likewise.
9570 * soft-fp/getf2.c: Likewise.
9571 * soft-fp/ledf2.c: Likewise.
9572 * soft-fp/lesf2.c: Likewise.
9573 * soft-fp/letf2.c: Likewise.
9574 * soft-fp/muldf3.c: Likewise.
9575 * soft-fp/mulsf3.c: Likewise.
9576 * soft-fp/multf3.c: Likewise.
9577 * soft-fp/negdf2.c: Likewise.
9578 * soft-fp/negsf2.c: Likewise.
9579 * soft-fp/negtf2.c: Likewise.
9580 * soft-fp/op-1.h: Likewise.
9581 * soft-fp/op-2.h: Likewise.
9582 * soft-fp/op-4.h: Likewise.
9583 * soft-fp/op-8.h: Likewise.
9584 * soft-fp/op-common.h: Likewise.
9585 * soft-fp/quad.h: Likewise.
9586 * soft-fp/single.h: Likewise.
9587 * soft-fp/soft-fp.h: Likewise.
9588 * soft-fp/sqrtdf2.c: Likewise.
9589 * soft-fp/sqrtsf2.c: Likewise.
9590 * soft-fp/sqrttf2.c: Likewise.
9591 * soft-fp/subdf3.c: Likewise.
9592 * soft-fp/subsf3.c: Likewise.
9593 * soft-fp/subtf3.c: Likewise.
9594 * soft-fp/truncdfsf2.c: Likewise.
9595 * soft-fp/trunctfdf2.c: Likewise.
9596 * soft-fp/trunctfsf2.c: Likewise.
9597 * soft-fp/trunctfxf2.c: Likewise.
9598 * soft-fp/unorddf2.c: Likewise.
9599 * soft-fp/unordsf2.c: Likewise.
9600 * soft-fp/unordtf2.c: Likewise.
9601
96022013-10-15 Joseph Myers <joseph@codesourcery.com>
9603
9604 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9605 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9606
96072013-10-15 Ondřej Bílka <neleai@seznam.cz>
9608
9609 * elf/dl-libc.c: Clear initfini list after freeing.
9610
96112013-10-14 Joseph Myers <joseph@codesourcery.com>
9612
9613 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9614 * soft-fp/addsf3.c: Likewise.
9615 * soft-fp/addtf3.c: Likewise.
9616 * soft-fp/divdf3.c: Likewise.
9617 * soft-fp/divsf3.c: Likewise.
9618 * soft-fp/divtf3.c: Likewise.
9619 * soft-fp/double.h: Likewise.
9620 * soft-fp/eqdf2.c: Likewise.
9621 * soft-fp/eqsf2.c: Likewise.
9622 * soft-fp/eqtf2.c: Likewise.
9623 * soft-fp/extenddftf2.c: Likewise.
9624 * soft-fp/extended.h: Likewise.
9625 * soft-fp/extendsfdf2.c: Likewise.
9626 * soft-fp/extendsftf2.c: Likewise.
9627 * soft-fp/extendxftf2.c: Likewise.
9628 * soft-fp/fixdfdi.c: Likewise.
9629 * soft-fp/fixdfsi.c: Likewise.
9630 * soft-fp/fixdfti.c: Likewise.
9631 * soft-fp/fixsfdi.c: Likewise.
9632 * soft-fp/fixsfsi.c: Likewise.
9633 * soft-fp/fixsfti.c: Likewise.
9634 * soft-fp/fixtfdi.c: Likewise.
9635 * soft-fp/fixtfsi.c: Likewise.
9636 * soft-fp/fixtfti.c: Likewise.
9637 * soft-fp/fixunsdfdi.c: Likewise.
9638 * soft-fp/fixunsdfsi.c: Likewise.
9639 * soft-fp/fixunsdfti.c: Likewise.
9640 * soft-fp/fixunssfdi.c: Likewise.
9641 * soft-fp/fixunssfsi.c: Likewise.
9642 * soft-fp/fixunssfti.c: Likewise.
9643 * soft-fp/fixunstfdi.c: Likewise.
9644 * soft-fp/fixunstfsi.c: Likewise.
9645 * soft-fp/fixunstfti.c: Likewise.
9646 * soft-fp/floatdidf.c: Likewise.
9647 * soft-fp/floatdisf.c: Likewise.
9648 * soft-fp/floatditf.c: Likewise.
9649 * soft-fp/floatsidf.c: Likewise.
9650 * soft-fp/floatsisf.c: Likewise.
9651 * soft-fp/floatsitf.c: Likewise.
9652 * soft-fp/floattidf.c: Likewise.
9653 * soft-fp/floattisf.c: Likewise.
9654 * soft-fp/floattitf.c: Likewise.
9655 * soft-fp/floatundidf.c: Likewise.
9656 * soft-fp/floatundisf.c: Likewise.
9657 * soft-fp/floatunsidf.c: Likewise.
9658 * soft-fp/floatunsisf.c: Likewise.
9659 * soft-fp/floatuntidf.c: Likewise.
9660 * soft-fp/floatuntisf.c: Likewise.
9661 * soft-fp/floatuntitf.c: Likewise.
9662 * soft-fp/fmadf4.c: Likewise.
9663 * soft-fp/fmasf4.c: Likewise.
9664 * soft-fp/fmatf4.c: Likewise.
9665 * soft-fp/gedf2.c: Likewise.
9666 * soft-fp/gesf2.c: Likewise.
9667 * soft-fp/getf2.c: Likewise.
9668 * soft-fp/ledf2.c: Likewise.
9669 * soft-fp/lesf2.c: Likewise.
9670 * soft-fp/letf2.c: Likewise.
9671 * soft-fp/muldf3.c: Likewise.
9672 * soft-fp/mulsf3.c: Likewise.
9673 * soft-fp/multf3.c: Likewise.
9674 * soft-fp/negdf2.c: Likewise.
9675 * soft-fp/negsf2.c: Likewise.
9676 * soft-fp/negtf2.c: Likewise.
9677 * soft-fp/op-1.h: Likewise.
9678 * soft-fp/op-2.h: Likewise.
9679 * soft-fp/op-4.h: Likewise.
9680 * soft-fp/op-8.h: Likewise.
9681 * soft-fp/op-common.h: Likewise.
9682 * soft-fp/quad.h: Likewise.
9683 * soft-fp/single.h: Likewise.
9684 * soft-fp/soft-fp.h: Likewise.
9685 * soft-fp/sqrtdf2.c: Likewise.
9686 * soft-fp/sqrtsf2.c: Likewise.
9687 * soft-fp/sqrttf2.c: Likewise.
9688 * soft-fp/subdf3.c: Likewise.
9689 * soft-fp/subsf3.c: Likewise.
9690 * soft-fp/subtf3.c: Likewise.
9691 * soft-fp/truncdfsf2.c: Likewise.
9692 * soft-fp/trunctfdf2.c: Likewise.
9693 * soft-fp/trunctfsf2.c: Likewise.
9694 * soft-fp/trunctfxf2.c: Likewise.
9695 * soft-fp/unorddf2.c: Likewise.
9696 * soft-fp/unordsf2.c: Likewise.
9697 * soft-fp/unordtf2.c: Likewise.
9698
96992013-10-14 Ondřej Bílka <neleai@seznam.cz>
9700
9701 [BZ #15672]
9702 * misc/error.c (error_tail): Fix possible buffer overflow.
9703
97042013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9705
9706 [BZ #13028]
9707 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9708 address.
9709
97102013-10-14 P. J. McDermott <pj@pehjota.net>
9711
9712 [BZ #832]
9713 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9714 testing pipefail option.
9715
97162013-10-12 Joseph Myers <joseph@codesourcery.com>
9717
9718 * soft-fp/double.h: Indent preprocessor directives inside #if.
9719 * soft-fp/extended.h: Likewise.
9720 * soft-fp/op-2.h: Likewise.
9721 * soft-fp/op-4.h: Likewise.
9722 * soft-fp/op-common.h: Likewise.
9723 * soft-fp/quad.h: Likewise.
9724 * soft-fp/single.h: Likewise.
9725 * soft-fp/soft-fp.h: Likewise.
9726
97272013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9728
9729 * iconv/iconv_prog.c: Fix typos.
9730 * stdio-common/psiginfo-data.h: Likewise.
9731
97322013-10-12 Reuben Thomas <rrt@sc3d.org>
9733
9734 [BZ #15764]
9735 * locale/setlocale.c: Fix typo.
9736
97372013-10-12 Joseph Myers <joseph@codesourcery.com>
9738
9739 [BZ #16036]
9740 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9741 signaling NaN arguments.
9742 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9743 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9744
9745 [BZ #14910]
9746 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9747 unordered operands.
9748 * soft-fp/gesf2.c (__gesf2): Likewise.
9749 * soft-fp/getf2.c (__getf2): Likewise.
9750 * soft-fp/ledf2.c (__ledf2): Likewise.
9751 * soft-fp/lesf2.c (__lesf2): Likewise.
9752 * soft-fp/letf2.c (__letf2): Likewise.
9753
9754 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9755 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9756 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9757 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9758 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9759 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9760 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9761 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9762 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9763 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9764 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9765 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9766 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9767 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9768 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9769 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9770 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9771 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9772 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9773 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9774 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9775 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9776 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9777 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9778 * soft-fp/floattidf.c (__floattidf): Likewise.
9779 * soft-fp/floattisf.c (__floattisf): Likewise.
9780 * soft-fp/floattitf.c (__floattitf): Likewise.
9781 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9782 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9783 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9784 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9785 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9786 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9787 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9788 * soft-fp/gesf2.c (__gesf2): Likewise.
9789 * soft-fp/getf2.c (__getf2): Likewise.
9790 * soft-fp/ledf2.c (__ledf2): Likewise.
9791 * soft-fp/lesf2.c (__lesf2): Likewise.
9792 * soft-fp/letf2.c (__letf2): Likewise.
9793
9794 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9795 Undefine and redefine.
9796 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9797 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9798 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9799 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9800 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9801 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9802 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9803 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9804 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9805 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9806 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9807 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9808 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9809 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9810 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9811
9812 [BZ #16032]
9813 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9814 without decrementing exponent if mantissa >= that for the
9815 denominator, not >.
9816 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9817 denominator, not >. Decrement exponent in < case instead of
9818 incrementing in >= case.
9819 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9820 without decrementing exponent if mantissa >= that for the
9821 denominator, not >.
9822
9823 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9824 computing saturated result for unsigned overflow.
9825
98262013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9827 Jeff Law <law@redhat.com>
9828
9829 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9830 (atan2Mp): Add systemtap probe marker.
9831 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9832 (__ieee754_log): Add systemtap probe marker.
9833 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9834 (atanMp): Add systemtap probe marker.
9835 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9836 (tanMp): Add systemtap probe marker.
9837 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9838 (__slowexp): Add systemtap probe marker.
9839 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9840 (__slowpow): Add systemtap probe marker.
9841 * manual/probes.texi: Document probes.
9842
98432013-10-11 Eric Biggers <ebiggers3@gmail.com>
9844
9845 [BZ #15362]
9846 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9847 written.
9848 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9849 written.
9850 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9851 written to buffer but not flushed.
9852 * libio/iofwrite_u.c: Likewise.
9853 * libio/iopadn.c: Return bytes returned even if EOF was
9854 encountered.
9855 * libio/iowpadn.c: Likewise.
9856 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9857 if _IO_padn does not write the whole buffer.
9858 [!COMPILE_WPRINTF] (PAD): Likewise.
9859
98602013-10-10 David S. Miller <davem@davemloft.net>
9861
9862 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9863 directory block.
9864
98652013-10-10 Joseph Myers <joseph@codesourcery.com>
9866
9867 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9868 instead of FSF address.
9869 * soft-fp/fixdfti.c: Likewise.
9870 * soft-fp/fixsfti.c: Likewise.
9871 * soft-fp/fixtfti.c: Likewise.
9872 * soft-fp/fixunsdfti.c: Likewise.
9873 * soft-fp/fixunssfti.c: Likewise.
9874 * soft-fp/fixunstfti.c: Likewise.
9875 * soft-fp/floattidf.c: Likewise.
9876 * soft-fp/floattisf.c: Likewise.
9877 * soft-fp/floattitf.c: Likewise.
9878 * soft-fp/floatuntidf.c: Likewise.
9879 * soft-fp/floatuntisf.c: Likewise.
9880 * soft-fp/floatuntitf.c: Likewise.
9881 * soft-fp/trunctfxf2.c: Likewise.
9882
9883 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9884 * soft-fp/fixdfti.c: Likewise.
9885 * soft-fp/fixsfti.c: Likewise.
9886 * soft-fp/fixtfti.c: Likewise.
9887 * soft-fp/fixunsdfti.c: Likewise.
9888 * soft-fp/fixunssfti.c: Likewise.
9889 * soft-fp/fixunstfti.c: Likewise.
9890 * soft-fp/floattidf.c: Likewise.
9891 * soft-fp/floattisf.c: Likewise.
9892 * soft-fp/floattitf.c: Likewise.
9893 * soft-fp/floatuntidf.c: Likewise.
9894 * soft-fp/floatuntisf.c: Likewise.
9895 * soft-fp/floatuntitf.c: Likewise.
9896 * soft-fp/trunctfxf2.c: Likewise.
9897
98982013-10-10 David S. Miller <davem@davemloft.net>
9899
9900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9901
99022013-10-10 Joseph Myers <joseph@codsourcery.com>
9903
9904 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9905 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9906 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9907 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9908 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9909 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9910 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9911
9912 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9913 for NaNs before doing comparisons on argument.
9914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9915 Likewise.
9916
99172013-10-10 Will Newton <will.newton@linaro.org>
9918
9919 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9920 passed to _int_memalign does not overflow.
9921
99222013-10-10 Torvald Riegel <triegel@redhat.com>
9923
9924 * scripts/bench.pl: Add include-sources directive.
9925 * benchtests/README: Update documentation.
9926
99272013-10-10 Joseph Myers <joseph@codesourcery.com>
9928
9929 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9930 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9931 instead of FP_INIT_ROUNDMODE.
9932 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9933 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9934
9935 [BZ #16034]
9936 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9937 copy class of input value.
9938 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9939 not handle exceptions.
9940 * soft-fp/negsf2.c (__negsf2): Likewise.
9941 * soft-fp/negtf2.c (__negtf2): Likewise.
9942 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9943
99442013-10-09 Joseph Myers <joseph@codesourcery.com>
9945
9946 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9947 semicolon. From Linux kernel.
9948
99492013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9950
9951 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9952
99532013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9954
9955 [BZ #156]
9956 * manual/socket.texi: Added statement about buffer
9957 for gethostbyname2_r.
9958
99592013-10-08 Ondřej Bílka <neleai@seznam.cz>
9960
9961 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9962 Use .p2align directive instead, throughout.
9963 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9964 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9965 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9966 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9967 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9968 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9969 * sysdeps/x86_64/strchr.S: Likewise.
9970 * sysdeps/x86_64/strrchr.S: Likewise.
9971
99722013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9973
9974 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9975
9976 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9977
9978 * sysdeps/generic/math_private.h (__mpsin1): Remove
9979 declaration.
9980 (__mpcos1): Likewise.
9981 (__mpsin): New argument __range_reduce.
9982 (__mpcos): Likewise.
9983 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9984 (slow): Use __mpsin and __mpcos.
9985 (slow1): Likewise.
9986 (slow2): Likewise.
9987 (sloww): Likewise.
9988 (sloww1): Likewise.
9989 (sloww2): Likewise.
9990 (bsloww): Likewise.
9991 (bsloww1): Likewise.
9992 (bsloww2): Likewise.
9993 (cslow2): Likewise.
9994 (csloww): Likewise.
9995 (csloww1): Likewise.
9996 (csloww2): Likewise.
9997 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9998 range_reduce. Merge in __mpsin1.
9999 (__mpcos): Likewise.
10000 (__mpsin1): Remove.
10001 (__mpcos1): Likewise.
10002
100032013-10-07 Joseph Myers <joseph@codesourcery.com>
10004
10005 * locale/loadlocale.c (_nl_intern_locale_data): Use
10006 LOCFILE_ALIGNED_P.
10007 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10008 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10009 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10010 obstack data is appropriately aligned.
10011 (obstack_int32_grow_fast): Likewise.
10012 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10013 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10014 (add_locale_uint32_array): Likewise.
10015
100162013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10017
10018 * benchtests/Makefile: Remove ARGLIST and RET variables.
10019 ($(objpfx)bench-%.c): Pass only function name to the script.
10020 * benchtests/README: Update documentation.
10021 * benchtests/acos-inputs: Add new directives.
10022 * benchtests/acosh-inputs: Likewise.
10023 * benchtests/asin-inputs: Likewise.
10024 * benchtests/asinh-inputs: Likewise.
10025 * benchtests/atan-inputs: Likewise.
10026 * benchtests/atanh-inputs: Likewise.
10027 * benchtests/cos-inputs: Likewise.
10028 * benchtests/cosh-inputs: Likewise.
10029 * benchtests/exp-inputs: Likewise.
10030 * benchtests/log-inputs: Likewise.
10031 * benchtests/pow-inputs: Likewise.
10032 * benchtests/rint-inputs: Likewise.
10033 * benchtests/sin-inputs: Likewise.
10034 * benchtests/sinh-inputs: Likewise.
10035 * benchtests/tan-inputs: Likewise.
10036 * benchtests/tanh-inputs: Likewise.
10037 * scripts/bench.pl: Add support for new directives.
10038
100392013-10-07 Alan Modra <amodra@gmail.com>
10040
10041 * README: Fix careless merge.
10042
100432013-10-05 Alan Modra <amodra@gmail.com>
10044
10045 * NEWS: Mention powerpc64le support and bugs fixed.
10046 * README: Both big-endian and little-endian powerpc64 supported.
10047
100482013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10049
10050 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10051 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10052 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10053 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10054
100552013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10056
10057 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10058 match prototype.
10059
100602013-10-04 Joseph Myers <joseph@codesourcery.com>
10061
10062 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10063 Move -mhard-float appending from
10064 ports/sysdeps/powerpc/powerpc32/Makefile.
10065 [$(with-fp) = yes] (ASFLAGS): Likewise.
10066 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10067 * sysdeps/powerpc/nofpu: Move directory from
10068 ports/sysdeps/powerpc/nofpu.
10069 * sysdeps/powerpc/soft-fp: Move directory from
10070 ports/sysdeps/powerpc/soft-fp.
10071 * sysdeps/powerpc/powerpc32/405: Move directory from
10072 ports/sysdeps/powerpc/powerpc32/405.
10073 * sysdeps/powerpc/powerpc32/440: Move directory from
10074 ports/sysdeps/powerpc/powerpc32/440.
10075 * sysdeps/powerpc/powerpc32/464: Move directory from
10076 ports/sysdeps/powerpc/powerpc32/464.
10077 * sysdeps/powerpc/powerpc32/476: Move directory from
10078 ports/sysdeps/powerpc/powerpc32/476.
10079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10080 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10082 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10084 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10086 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10088 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10089 * README: Update for powerpc-*-linux-gnu software floating point
10090 support in libc.
10091
10092 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10093 case to powerpc/powerpc32*.
10094 * sysdeps/unix/sysv/linux/configure: Regenerated.
10095
10096 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10097 (_FPU_MASK_OM): Define as 0x04.
10098 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10099 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10100 0x00c10080.
10101 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10102 0x0000003c.
10103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10104
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10106 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10107 getcontext_e500.
10108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10109 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10110 setcontext_e500.
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10112 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10113 and setcontext_e500.
10114
101152013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10116
10117 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10118
101192013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10120
10121 * manual/threads.texi (Default Thread Attributes): Fix typo.
10122
101232013-10-04 Will Newton <will.newton@linaro.org>
10124
10125 * malloc/Makefile: Add tst-memalign.
10126 * malloc/tst-memalign.c: New file.
10127
10128 * malloc/tst-posix_memalign.c: Add comments.
10129 (do_test): Add comments and call free on all potentially
10130 allocated pointers. Add space after cast.
10131
10132 * malloc/tst-pvalloc.c: Add comments.
10133 (do_test): Add comments and call free on all potentially
10134 allocated pointers. Remove duplicate check for NULL pointer.
10135 Add space after cast.
10136
10137 * malloc/tst-valloc.c: Add comments.
10138 (do_test): Add comments and call free on all potentially
10139 allocated pointers. Remove duplicate check for NULL pointer.
10140 Add space after cast.
10141
101422013-10-04 Alan Modra <amodra@gmail.com>
10143
10144 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10145 Use stdint types in rather than __attribute__((mode())).
10146 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10147
101482013-10-04 Alan Modra <amodra@gmail.com>
10149
10150 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10151 Correct handling of unaligned relocs for little-endian.
10152 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10153
101542013-10-04 Alan Modra <amodra@gmail.com>
10155
10156 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10157 * configure: Regenerate.
10158 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10159 * shlib-versions: Likewise.
10160
101612013-10-04 Alan Modra <amodra@gmail.com>
10162
10163 * string/tester.c (test_memrchr): Increment reported test cycle.
10164
101652013-10-04 Alan Modra <amodra@gmail.com>
10166
10167 * string/test-memcpy.c (do_one_test): When reporting errors, print
10168 string address and don't overrun end of string.
10169
101702013-10-04 Alan Modra <amodra@gmail.com>
10171
10172 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10173 insrdi. Make better use of reg selection to speed exit slightly.
10174 Schedule entry path a little better. Remove useless "are we done"
10175 checks on entry to main loop. Handle wrapping around zero address.
10176 Correct main loop count. Handle single left-over word from main
10177 loop inline rather than by using loop_small. Remove extra word
10178 case in loop_small caused by wrong loop count. Add little-endian
10179 support.
10180 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10181 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10182 cache hint.
10183 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10184 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10185 support. Avoid rlwimi.
10186 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10187
101882013-10-04 Alan Modra <amodra@gmail.com>
10189
10190 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10191 insrdi. Formatting.
10192 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10193 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10194 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10195 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10196 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10197 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10198
101992013-10-04 Alan Modra <amodra@gmail.com>
10200
10201 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10202 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10203 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10204 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10205 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10206 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10207 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10208 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10209 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10210 use of regs. Use power7 mtocrf. Tidy function tails.
10211
102122013-10-04 Alan Modra <amodra@gmail.com>
10213
10214 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10215 Formatting. Consistently use rXXX register defines or rN defines.
10216 Use early exit labels that avoid restoring unused non-volatile regs.
10217 Make cr field use more consistent with rWORDn compares. Rename
10218 regs used as shift registers for unaligned loop, using rN defines
10219 for short lifetime/multiple use regs.
10220 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10221 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10222 addi 1,1,64 to pop stack frame. Simplify return value code.
10223 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10224
102252013-10-04 Alan Modra <amodra@gmail.com>
10226
10227 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10228 support. Correct typos, formatting. Optimize tail. Use insrdi
10229 rather than rlwimi.
10230 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10231 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10232 little-endian support. Correct typos.
10233 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10234 rather than rlwimi.
10235 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10236 in loop and entry code to keep "and." results.
10237 (strchr): Add little-endian support. Comment. Move cntlzd
10238 earlier in tail.
10239 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10240
102412013-10-04 Alan Modra <amodra@gmail.com>
10242
10243 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10244 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10245 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10246 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10247
102482013-10-04 Alan Modra <amodra@gmail.com>
10249
10250 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10251 (rTMP): Define as r11.
10252 (strcmp): Add little-endian support. Optimise tail.
10253 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10254 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10255 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10256 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10257 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10258 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10259 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10260
102612013-10-04 Alan Modra <amodra@gmail.com>
10262
10263 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10264 little-endian support. Remove unnecessary "are we done" tests.
10265 Handle "s" wrapping around zero and extremely large "size".
10266 Correct main loop count. Handle single left-over word from main
10267 loop inline rather than by using small_loop. Correct comments.
10268 Delete "zero" tail, use "end_max" instead.
10269 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10270
102712013-10-04 Alan Modra <amodra@gmail.com>
10272
10273 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10274 support. Don't branch over align.
10275 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10276 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10277 support. Rearrange tmp reg use to suit. Comment.
10278 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10279
102802013-10-04 Alan Modra <amodra@gmail.com>
10281
10282 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10283
102842013-10-04 Alan Modra <amodra@gmail.com>
10285
10286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10287 conditional form of branch and link when obtaining pc.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10289
102902013-10-04 Alan Modra <amodra@gmail.com>
10291
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10293 HIWORD/LOWORD.
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10296
102972013-10-04 Alan Modra <amodra@gmail.com>
10298
10299 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10300 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10301 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10302 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10303 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10304 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10305 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10306 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10307 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10308 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10309
103102013-10-04 Anton Blanchard <anton@au1.ibm.com>
10311 Alistair Popple <alistair@ozlabs.au.ibm.com>
10312 Alan Modra <amodra@gmail.com>
10313
10314 [BZ #15723]
10315 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10316 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10317 _dl_hwcap access for little-endian.
10318 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10319 destroy vmx regs when saving unaligned.
10320 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10321 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10322 destroy vmx regs when saving unaligned.
10323
103242013-10-04 Alan Modra <amodra@gmail.com>
10325
10326 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10327 Don't use a union to pack hi/low value.
10328
103292013-10-04 Anton Blanchard <anton@au1.ibm.com>
10330
10331 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10332 for little-endian.
10333 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10334 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10335 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10336 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10337 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10338
103392013-10-04 Alan Modra <amodra@gmail.com>
10340
10341 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10342 constants to usual value for .cst8 section, and remove redundant
10343 high address load.
10344 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10345 constant for 0x1p52. Load little-endian words of double from
10346 correct stack offsets.
10347
103482013-10-04 Alan Modra <amodra@gmail.com>
10349
10350 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10351 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10352 words of double from correct stack offsets.
10353 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10354 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10355 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10357 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10358 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10359 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10360 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10361 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10362 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10363 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10364 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10365 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10366 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10367 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10368 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10369 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10370
103712013-10-04 Alan Modra <amodra@gmail.com>
10372
10373 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10374 64-bit int/double union.
10375 (_FPU_SETCW): Likewise.
10376 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10377 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10378
103792013-10-04 Alan Modra <amodra@gmail.com>
10380
10381 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10382 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10383
103842013-10-04 Alan Modra <amodra@gmail.com>
10385
10386 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10387 use vector int constants.
10388 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10389
103902013-10-04 Anton Blanchard <anton@au1.ibm.com>
10391
10392 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10393 array with long long.
10394 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10395 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10396 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10397 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10398 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10399 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10400 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10401 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10402 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10403 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10404 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10405 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10406 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10407
104082013-10-04 Anton Blanchard <anton@au1.ibm.com>
10409
10410 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10411 (__signbit): Likewise. Correct for little-endian.
10412 (__signbitl): Call __signbit.
10413 (lrint): Correct for little-endian.
10414 (lrintf): Call lrint.
10415
104162013-10-04 Alan Modra <amodra@gmail.com>
10417
10418 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10419 union 32-bit int array member with 64-bit int array.
10420 (t515, tm256): Double rather than long double.
10421 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10422
104232013-10-04 Alan Modra <amodra@gmail.com>
10424
10425 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10426 Delete.
10427 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10428 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10429 version of math_ldbl.h.
10430
104312013-10-04 Alan Modra <amodra@gmail.com>
10432
10433 [BZ #15734], [BZ #15735]
10434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10435 all uses of ieee875 long double macros and unions. Simplify test
10436 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10437 ldbl_extract_mantissa value for ix,iy exponents. Properly
10438 normalize after ldbl_extract_mantissa, and don't add hidden bit
10439 already handled. Don't treat low word of ieee854 mantissa like
10440 low word of IBM long double and mask off bit when testing for
10441 zero.
10442 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10443 all uses of ieee875 long double macros and unions. Simplify tests
10444 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10445 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10446 two1022, instead use their values. Recognise that tests for large
10447 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10448 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10449 Rewrite all uses of ieee875 long double macros and unions. Simplify
10450 test for 0.0L and nan. Correct negation.
10451 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10452 ieee875 long double macros and unions. Correct output for large
10453 magnitude x. Correct absolute value calculation.
10454 (__erfcl): Likewise.
10455 * math/libm-test.inc: Add tests for errors discovered in IBM long
10456 double versions of fmodl, remainderl, erfl and erfcl.
10457
104582013-10-04 Alan Modra <amodra@gmail.com>
10459
10460 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10461 all uses of ieee854 long double macros and unions. Simplify tests
10462 for long doubles that are fully specified by the high double.
10463 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10464 Likewise.
10465 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10466 Remove dead code too.
10467 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10468 (__ieee754_ynl): Likewise.
10469 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10470 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10471 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10472 Remove dead code too.
10473 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10474 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10476 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10477 Simplify.
10478 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10479 Simplify.
10480 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10482 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10483 Comment on variable precision.
10484 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10485 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10486 Likewise.
10487 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10488 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10489 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10490 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10491 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10492
104932013-10-04 Alan Modra <amodra@gmail.com>
10494
10495 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10496 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10497 all uses of ieee854 long double macros and unions.
10498 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10499 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10500 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10501 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10502 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10503 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10504 Likewise.
10505 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10506 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10507 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10508 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10509 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10510 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10511 Simplify sign and nan test too.
10512 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10513 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10514 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10515 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10516 Likewise.
10517 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10518 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10519 Likewise.
10520 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10521 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10522 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10523 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10524 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10526
105272013-10-04 Alan Modra <amodra@gmail.com>
10528
10529 * stdio-common/printf_size.c (__printf_size): Don't use
10530 union ieee854_long_double in fpnum union.
10531 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10532 signbit macro to retrieve sign from long double.
10533 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10534 retrieve sign from long double.
10535 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10536 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10537 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10538 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10539 * math/test-misc.c (main): Don't use union ieee854_long_double.
10540
105412013-10-04 Alan Modra <amodra@gmail.com>
10542
10543 [BZ #15680]
10544 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10545 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10546 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10547 calculation. Remove unnecessary test for denormal exponent.
10548 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10549 Correct handling of denormals. Avoid undefined shift behaviour.
10550 Correct normalisation of low mantissa when low double is denormal.
10551 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10552 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10553 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10554 Correct normalisation of low mantissa. Test for overflow of high
10555 mantissa and normalise.
10556 (ldbl_nearbyint): Use more readable constant for two52.
10557 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10558 (__mpn_construct_long_double): Fix test for overflow of high
10559 mantissa and correct normalisation. Avoid undefined shift.
10560
105612013-10-04 Alan Modra <amodra@gmail.com>
10562
10563 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10564 (union ibm_extended_long_double): Define as an array of ieee754_double.
10565 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10566 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10567 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10568 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10569 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10570 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10571 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10572 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10573 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10574 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10575 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10576
105772013-10-03 Joseph Myers <joseph@codesourcery.com>
10578
10579 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10580 page size instead of calling getpagesize.
10581
10582 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10583 (LOCFILE_ALIGN_MASK): Likewise.
10584 (LOCFILE_ALIGN_UP): Likewise.
10585 (LOCFILE_ALIGNED_P): Likewise.
10586 * locale/programs/ld-collate.c (collate_output): Use the new
10587 macros instead of __alignof__ (int32_t).
10588 * locale/weight.h (findidx): Likewise.
10589
105902013-10-03 Ondřej Bílka <neleai@seznam.cz>
10591
10592 [BZ #431]
10593 * manual/string.texi: Fix strncat and wcsncat.
10594
105952013-10-03 Brooks Moses <bmoses@google.com>
10596
10597 [BZ #15915]
10598 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10599 * Makerules: ...here, and adjust associated comments.
10600
106012013-10-02 Will Newton <will.newton@linaro.org>
10602
10603 * malloc/Makefile: Add tst-pvalloc.
10604 * malloc/tst-pvalloc.c: New file.
10605
106062013-10-02 Will Newton <will.newton@linaro.org>
10607
10608 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10609 improve test coverage.
10610
106112013-10-02 Will Newton <will.newton@linaro.org>
10612
10613 * malloc/Makefile: Add tst-posix_memalign.
10614 * malloc/tst-posix_memalign.c: New file.
10615
106162013-10-01 Eric Blake <eblake@redhat.com>
10617
10618 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10619 Use __THROWNL rather than __THROW on static functions.
10620
106212013-09-30 Petr Machata <pmachata@redhat.com>
10622
10623 * elf/elf.h (R_AARCH64_ABS16): New macro.
10624 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10625 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10626 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10627 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10628 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10629 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10630 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10631 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10632 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10633 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10634 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10635 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10636 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10637 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10638 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10639 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10640 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10641 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10642 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10643 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10644 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10645 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10646 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10647 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10648 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10649 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10650 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10651 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10652 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10653 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10654 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10655 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10656 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10657 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10658 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10659 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10660 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10661 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10662 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10663 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10664 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10665 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10666 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10667 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10668 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10669 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10670 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10671 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10672 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10673 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10674 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10675 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10676 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10677 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10678 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10679 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10680 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10681 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10682 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10683 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10684 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10685 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10686 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10687 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10688 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10689 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10690 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10691 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10692 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10693 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10694 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10695 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10696 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10697 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10698 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10699 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10700 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10701 (R_AARCH64_TLSDESC_LDR): Likewise.
10702 (R_AARCH64_TLSDESC_ADD): Likewise.
10703 (R_AARCH64_TLSDESC_CALL): Likewise.
10704
107052013-09-30 Andreas Schwab <schwab@suse.de>
10706
10707 [BZ #15048]
10708 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10709 the nss database lookup.
10710 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10712
107132013-09-28 Mike Frysinger <vapier@gentoo.org>
10714
10715 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10716
107172013-09-28 P. J. McDermott <pj@pehjota.net>
10718
10719 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10720 ${Bash-specific parameter/pattern/string} parameter expansion.
10721 * sysdeps/unix/make-syscalls.sh: Likewise.
10722
107232013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10724
10725 * sysdeps/sh/stackguard-macros.h: New file.
10726
107272013-09-26 Ondřej Bílka <neleai@seznam.cz>
10728
10729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10730 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10731 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10732 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10733 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10734 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10735
107362013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10737
10738 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10739 Fix thread ID register.
10740
107412013-09-25 Joseph Myers <joseph@codesourcery.com>
10742
10743 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10744 [POSIX || UNIX98]: Require rather than permitting all symbols from
10745 <time.h>.
10746 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10747 element of struct sched_param.
10748 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10749 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10750 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10751 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10752 constant.
10753
107542013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10755
10756 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10757 argument calculation.
10758
107592013-09-24 Joseph Myers <joseph@codesourcery.com>
10760
10761 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10762 Expect macro.
10763 [POSIX] (pthread_attr_t): Do not require type.
10764 [POSIX] (pthread_cond_t): Likewise.
10765 [POSIX] (pthread_condattr_t): Likewise.
10766 [POSIX] (pthread_key_t): Likewise.
10767 [POSIX] (pthread_mutex_t): Likewise.
10768 [POSIX] (pthread_mutexattr_t): Likewise.
10769 [POSIX] (pthread_once_t): Likewise.
10770 [POSIX] (pthread_t): Likewise.
10771 [POSIX-based standards] (pthread_atfork): Expect function.
10772
107732013-09-24 Joseph Myers <joseph@codesourcery.com>
10774 Richard Sandiford <richard@codesourcery.com>
10775
10776 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10777 (swap_endianness_p): New extern variable.
10778 (set_big_endian): New inline function.
10779 (maybe_swap_uint32): Likewise.
10780 (maybe_swap_uint32_array): Likewise.
10781 (maybe_swap_uint32_obstack): Likewise.
10782 * locale/programs/locfile.c: Include <stdbool.h>.
10783 (swap_endianness_p): New variable.
10784 (add_locale_uint32): Call maybe_swap_uint32.
10785 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10786 (write_locale_data): Call maybe_swap_uint32_array.
10787 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10788 maybe_swap_uint32.
10789 (obstack_int32_grow_fast): Likewise.
10790 (output_weightwc): Call maybe_swap_uint32_obstack.
10791 (collate_output): Likewise.
10792 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10793 (OPT_LITTLE_ENDIAN): Likewise.
10794 (options): Add --little-endian and --big-endian options.
10795 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10796 * locale/programs/locarchive.c: Include "locfile.h".
10797 (GET): New macro.
10798 (SET): Likewise.
10799 (INC): Likewise.
10800 (create_archive): Use the new macros to access fields of
10801 structures directly mapped from or written to locale archives.
10802 (oldlocrecentcmp): Likewise.
10803 (enlarge_archive): Likewise.
10804 (insert_name): Likewise.
10805 (add_alias): Likewise.
10806 (add_locale): Likewise.
10807 (delete_locales_from_archive): Likewise.
10808 (show_archive_content): Likewise.
10809 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10810 locale data.
10811
108122013-09-24 Roland McGrath <roland@hack.frob.com>
10813
10814 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10815 http://www.gnu.org/doc/freemanuals.texi.
10816 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10817
108182013-09-24 Will Newton <will.newton@linaro.org>
10819
10820 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10821 macro.
10822
108232013-09-23 Joseph Myers <joseph@codesourcery.com>
10824
10825 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10826 unsigned char.
10827
108282013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10829
10830 * manual/threads.texi (POSIX Threads): Fix a typo.
10831
108322013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10833
10834 [BZ #14547]
10835 * string/tst-strcoll-overflow.c: New test case.
10836 * string/Makefile (xtests): Add tst-strcoll-overflow.
10837 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10838 cache if string sizes may cause integer overflow.
10839
10840 [BZ #14547]
10841 * string/strcoll_l.c (coll_seq): New members rule, idx,
10842 save_idx and back_us.
10843 (get_next_seq_nocache): New function.
10844 (do_compare_nocache): New function.
10845 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10846 when malloc fails.
10847
108482013-09-23 Carlos O'Donell <carlos@redhat.com>
10849
10850 [BZ #15754]
10851 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10852 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10853 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10854
10855 [BZ #15754]
10856 * elf/Makefile (tests): Add tst-ptrguard1.
10857 (tests-static): Add tst-ptrguard1-static.
10858 (tst-ptrguard1-ARGS): Define.
10859 (tst-ptrguard1-static-ARGS): Define.
10860 * elf/tst-ptrguard1.c: New file.
10861 * elf/tst-ptrguard1-static.c: New file.
10862 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10863 * sysdeps/i386/stackguard-macros.h: Likewise.
10864 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10865 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10866 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10867 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10868 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10869 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10870
108712013-09-23 Hector Marco <hecmargi@upv.es>
10872 Ismael Ripoll <iripoll@disca.upv.es>
10873 Carlos O'Donell <carlos@redhat.com>
10874
10875 [BZ #15754]
10876 * sysdeps/generic/stackguard-macros.h: Define
10877 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10878 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10879 Define __pointer_chk_guard_local.
10880 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10881 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10882
108832013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10884
10885 [BZ #15859]
10886 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10887
108882013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10889
10890 * include/string.h (__ffs): Declare as hidden.
10891 * string/ffs.c (__ffs): Define as hidden.
10892 * sysdeps/i386/ffs.c (__ffs): Likewise.
10893 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10894 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10895 * sysdeps/s390/ffs.c (__ffs): Likewise.
10896 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10897
108982013-09-20 Alexandre Oliva <aoliva@redhat.com>
10899
10900 * NEWS: Mention malloc probes.
10901
10902 * malloc/arena.c (new_heap): New memory_heap_new probe.
10903 (grow_heap): New memory_heap_more probe.
10904 (shrink_heap): New memory_heap_less probe.
10905 (heap_trim): New memory_heap_free probe.
10906 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10907 (systrim): New memory_sbrk_less probe.
10908 * manual/probes.texi: Document them.
10909
10910 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10911 * manual/probes.texi: Document it.
10912
10913 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10914 (__libc_realloc): Add memory_realloc_retry probe.
10915 (__libc_memalign): Add memory_memalign_retry probe.
10916 (__libc_valloc): Add memory_valloc_retry probe.
10917 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10918 (__libc_calloc): Add memory_calloc_retry probe.
10919 * manual/probes.texi: Document them.
10920
10921 * malloc/arena.c (get_free_list): Add probe
10922 memory_arena_reuse_free_list.
10923 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10924 and memory_arena_reuse.
10925 (arena_get2) [!PER_THREAD]: Likewise.
10926 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10927 memory_arena_reuse_realloc.
10928 * manual/probes.texi: Document them.
10929
10930 * malloc/malloc.c (__libc_free): Add
10931 memory_mallopt_free_dyn_thresholds probe.
10932 (__libc_mallopt): Add multiple memory_mallopt probes.
10933 * manual/probes.texi: Document them.
10934
10935 * malloc/malloc.c: Include stap-probe.h.
10936 (__libc_mallopt): Add memory_mallopt probe.
10937 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10938 * manual/probes.texi: New.
10939 * manual/Makefile (chapters): Add probes.
10940 * manual/threads.texi: Set next node.
10941
109422013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10943
10944 [BZ #15963, #13985]
10945 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10946 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10947 Add `Chinese' to `nan' entry name.
10948
109492013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10950
10951 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10952 (POLYNOMIAL): Likewise.
10953 (TAYLOR_SINCOS): Likewise.
10954 (TAYLOR_SLOW): Likewise.
10955 (__sin): Use TAYLOR_SINCOS.
10956 (__cos): Likewise.
10957 (slow): Use TAYLOR_SLOW.
10958 (sloww): Likewise.
10959 (bsloww): Likewise.
10960 (csloww): Likewise.
10961
109622013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10963
10964 * stdlib/strtod_l.c: Fix buffer overrun.
10965
109662013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10967
10968 * benchtests/Makefile (bench): Add sincos.
10969 * benchtests/bench-sincos.c: New file.
10970
10971 * math/libm-test.inc (cos_test_data): New test inputs.
10972 (sin_test_data): Likewise.
10973
10974 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10975 macro.
10976 (__sin): Use it.
10977 (__cos): Likewise.
10978 (slow1): Likewise.
10979 (slow2): Likewise.
10980 (sloww1): Likewise.
10981 (sloww2): Likewise.
10982 (bsloww1): Likewise.
10983 (bsloww2): Likewise.
10984 (cslow2): Likewise.
10985 (csloww1): Likewise.
10986 (csloww2): Likewise.
10987
10988 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10989 function.
10990 (__sin): Use it.
10991 (__cos): Likewise.
10992
10993 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10994 gotos.
10995 (__cos): Likewise.
10996
109972013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10998
10999 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11000 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11001 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11002 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11003 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11004 * elf/cache.c (print_entry): Handle the new cache flags.
11005
110062013-09-18 Joseph Myers <joseph@codesourcery.com>
11007 Aldy Hernandez <aldyh@redhat.com>
11008
11009 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11010 Change condition to [_SOFT_FLOAT].
11011 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11012 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11013 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11014 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11015 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11016 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11017 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11018 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11019 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11020 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11021 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11022 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11023 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11024 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11025 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11026 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11027 declaration.
11028
110292013-09-18 Joseph Myers <joseph@codesourcery.com>
11030
11031 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11032 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11033 (__longjmp): Use LOAD_GP to load saved GPRs.
11034 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11035 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11036 (__sigsetjmp): Use SAVE_GP to save GPRs.
11037
11038 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11039 Do not append -msoft-float.
11040 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11041
110422013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11043
11044 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11045
110462013-09-17 Joseph Myers <joseph@codesourcery.com>
11047
11048 [BZ #15966]
11049 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11050 (_FPU_GETCW): Use initial "__" on variable and field names but not
11051 on macro parameter name.
11052 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11053 parentheses around reference to macro parameter.
11054
110552013-09-13 Richard Sandiford <richard@codesourcery.com>
11056
11057 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11058 prototype.
11059 (ctype_startup): Use uint32_t in cast and sizeof for
11060 ctype->charnames.
11061
110622013-09-11 Jia Liu <proljc@gmail.com>
11063
11064 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11065 __daddr_t_defined.
11066 [__FreeBSD__]: Likewise.
11067
110682013-09-11 Ondřej Bílka <neleai@seznam.cz>
11069
11070 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11071 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11072 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11073 (strchr): Remove __strchr_sse42 ifunc selection.
11074 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11075 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11076
110772013-09-11 Will Newton <will.newton@linaro.org>
11078
11079 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11080 parameter to RES. Remove hardcoded 1000 value.
11081 * benchtests/bench-skeleton.c (main): Pass RES parameter
11082 to TIMING_INIT and multiply result by 1000.
11083
110842013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11085
11086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11087
110882013-09-11 Andreas Schwab <schwab@suse.de>
11089
11090 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11091 if not defined.
11092 (O_TMPFILE) [__USE_GNU]: Define.
11093 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11094 Define.
11095
110962013-09-11 Will Newton <will.newton@linaro.org>
11097
11098 [BZ #15857]
11099 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11100 does not overflow.
11101
111022013-09-11 Will Newton <will.newton@linaro.org>
11103
11104 [BZ #15856]
11105 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11106 does not overflow.
11107
111082013-09-11 Will Newton <will.newton@linaro.org>
11109
11110 [BZ #15855]
11111 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11112 does not overflow.
11113
111142013-09-10 Ondřej Bílka <neleai@seznam.cz>
11115
11116 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11117 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11121
111222013-09-10 Allan McRae <allan@archlinux.org>
11123
11124 [BZ #15748]
11125 * manual/arith.texi (Parsing of Floats): Clarify
11126 cross-reference.
11127
11128 [BZ #15849]
11129 * manual/install.texi (Running make install): Mention
11130 --enable-pt-chown.
11131 * INSTALL: Regenerated.
11132
111332013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11134
11135 * csu/init-first.c (_init): Remove the !SHARED condition around
11136 FPU control word initialization.
11137 * elf/dl-support.c (_dl_fpu_control): New variable.
11138 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11139 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11140 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11141 * math/test-fpucw-static.c: New file.
11142 * math/test-fpucw-ieee.c: New file.
11143 * math/test-fpucw-ieee-static.c: New file.
11144 * math/Makefile (tests): Add `test-fpucw-ieee' and
11145 `$(tests-static)'.
11146 (tests-static): New variable.
11147 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11148 dependency to...
11149 [($(build-shared),yes)]
11150 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11151 ... this.
11152 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11153 New dependency.
11154
111552013-09-09 Allan McRae <allan@archlinux.org>
11156
11157 [BZ #15939]
11158 * manual/string.texi (Collation Functions): Fix typo in
11159 strcoll example.
11160 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11161
11162 [BZ #15893]
11163 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11164
11165 [BZ #15892]
11166 * libio/memstream.c (open_memstream): Fix memory leak.
11167 * libio/wmemstream.c (open_wmemstream): Likewise.
11168
11169 [BZ #15895]
11170 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11171
111722013-09-09 Will Newton <will.newton@linaro.org>
11173
11174 * malloc/Makefile: Add tst-realloc to tests.
11175 * malloc/tst-realloc.c: New file.
11176
111772013-09-09 Allan McRae <allan@archlinux.org>
11178
11179 [BZ #15844]
11180 * COPYING: Update from GNU website to fix FSF address.
11181 * COPYING.LIB: Likewise.
11182
111832013-09-06 David S. Miller <davem@davemloft.net>
11184
11185 * po/zh_TW.po: Update Chinese (traditional) translation from
11186 translation project.
11187
111882013-09-06 Richard Sandiford <richard@codesourcery.com>
11189 Joseph Myers <joseph@codesourcery.com>
11190
11191 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11192 "localeinfo.h".
11193 (obstack_chunk_alloc): New macro.
11194 (obstack_chunk_free): Likewise.
11195 (record_offset): New function.
11196 (init_locale_data): Likewise.
11197 (align_locale_data): Likewise.
11198 (add_locale_empty): Likewise.
11199 (add_locale_raw_data): Likewise.
11200 (add_locale_raw_obstack): Likewise.
11201 (add_locale_string): Likewise.
11202 (add_locale_wstring): Likewise.
11203 (add_locale_uint32): Likewise.
11204 (add_locale_uint32_array): Likewise.
11205 (add_locale_char): Likewise.
11206 (start_locale_structure): Likewise.
11207 (end_locale_structure): Likewise.
11208 (start_locale_prelude): Likewise.
11209 (end_locale_prelude): Likewise.
11210 (write_locale_data): Take locale_file structure rather than an
11211 iovec.
11212 * locale/programs/locfile.h: Include "obstack.h".
11213 (struct locale_file): Change to store locale file contents instead
11214 of header.
11215 (init_locale_data): New prototype.
11216 (align_locale_data): Likewise.
11217 (add_locale_empty): Likewise.
11218 (add_locale_raw_data): Likewise.
11219 (add_locale_raw_obstack): Likewise.
11220 (add_locale_string): Likewise.
11221 (add_locale_wstring): Likewise.
11222 (add_locale_uint32): Likewise.
11223 (add_locale_uint32_array): Likewise.
11224 (add_locale_char): Likewise.
11225 (start_locale_structure): Likewise.
11226 (end_locale_structure): Likewise.
11227 (start_locale_prelude): Likewise.
11228 (end_locale_prelude): Likewise.
11229 (write_locale_data): Update prototype.
11230 * locale/programs/3level.h (struct TABLE): Remove result field.
11231 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11232 Use new locale_file interface.
11233 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11234 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11235 * locale/programs/ld-address.c (address_output): Use new
11236 locale_file interface.
11237 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11238 NO_ADD_LOCALE.
11239 (collate_finish): Don't call collseq_table_finalize.
11240 (collate_output): Use new locale_file interface.
11241 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11242 in file.
11243 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11244 (TABLE): Move defines earlier in file.
11245 (ELEMENT): Likewise.
11246 (DEFAULT): Likewise.
11247 (wctrans_table_add): Move macro and inline function earlier in
11248 file.
11249 (struct wctype_table): Move type earlier in file.
11250 (add_locale_wctype_table): New static prototype.
11251 (struct locale_ctype_t): Use logical types instead of struct iovec
11252 pointers for members.
11253 (ctype_output): Use new locale_file interface.
11254 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11255 new locale_file interface.
11256 (allocate_arrays): Update for use of new locale_file interface.
11257 * locale/programs/ld-identification.c (identification_output): Use
11258 new locale_file interface.
11259 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11260 * locale/programs/ld-messages.c (messages_output): Likewise.
11261 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11262 * locale/programs/ld-name.c (name_output): Likewise.
11263 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11264 * locale/programs/ld-paper.c (paper_output): Likewise.
11265 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11266 * locale/programs/ld-time.c (time_output): Likewise.
11267
112682013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11269
11270 * benchtests/Makefile: Add memrchr benchmark.
11271 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11272 benchmark as memrchr.
11273 * benchtests/bench-memrchr-ifunc.c: New file.
11274 * benchtests/bench-memrchr.c: New file.
11275
112762013-09-06 Will Newton <will.newton@linaro.org>
11277
11278 * benchtests/Makefile (string-bench): Add memcpy.
11279
112802013-09-05 Carlos O'Donell <carlos@redhat.com>
11281 Cong Wang <amwang@redhat.com>
11282
11283 [BZ #15850]
11284 * sysdeps/unix/sysv/linux/bits/in.h
11285 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11286 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11287 before __USE_KERNEL_IPV6_DEFS uses.
11288 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11289 IPPROTO_BEETPH.
11290 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11291 sockaddr_in6, or ipv6_mreq.
11292
112932013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11294
11295 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11296 memory access for final bytes in some large inputs.
11297 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11298
112992013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11300
11301 * string/test-memrchr.c: New file.
11302 * string/test-memrchr-ifunc.c: New file.
11303 * string/Makefile: Add new memrchr testcase.
11304
113052013-09-05 Mike Frysinger <vapier@gentoo.org>
11306
11307 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11308 fanotify_init returns EPERM.
11309
113102013-09-04 Joseph Myers <joseph@codesourcery.com>
11311
11312 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11313 errors.
11314 (top level): Treat second token from macro or constant entries for
11315 allowed headers as allowed.
11316 * include/complex.h: Condition internal declarations on
11317 [!_ISOMAC].
11318 * include/fenv.h: Condition include of <stdbool.h> and internal
11319 declarations on [!_ISOMAC].
11320
113212013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11322
11323 [BZ #15923]
11324 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11325
113262013-09-04 Joseph Myers <joseph@codesourcery.com>
11327
11328 * configure.in (--enable-versioning): Remove configure option.
11329 (libc_cv_asm_symver_directive): Remove configure test.
11330 (libc_cv_ld_version_script_option): Likewise.
11331 (VERSIONING): Remove variable and AC_SUBST.
11332 (DO_VERSIONING): Remove AC_DEFINE.
11333 * configure: Regenerated.
11334 * config.h.in (DO_VERSIONING): Remove macro.
11335 * Makerules [$(versioning) = yes]: Change conditionals to
11336 [$(build-shared) = yes].
11337 * config.make.in (versioning): Remove variable.
11338 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11339 [$(build-shared) = yes].
11340 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11341 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11342 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11343 [$(build-shared) = yes].
11344 * extra-lib.mk [$(versioning) = yes]: Likewise.
11345 * hurd/Makefile [$(versioning) = yes]: Likewise.
11346 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11347 [SHARED].
11348 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11349 [SHARED].
11350 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11351 [SHARED && !NO_HIDDEN].
11352 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11353 [SHARED].
11354 [SHARED && DO_VERSIONING]: Likewise..
11355 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11356 [$(build-shared) = yes].
11357 * manual/install.texi (--disable-versioning): Remove
11358 documentation.
11359 * INSTALL: Regenerated.
11360 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11361 to [SHARED].
11362 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11363 [$(build-shared) = yes].
11364 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11365 * sysdeps/i386/i686/multiarch/strstr-c.c
11366 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11367 [SHARED && !NO_HIDDEN].
11368 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11369 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11370 * sysdeps/powerpc/powerpc32/dl-machine.c
11371 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11372 * sysdeps/powerpc/powerpc32/sysdep.h
11373 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11374 to [SHARED && PIC && !NO_HIDDEN].
11375 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11376 conditional to [SHARED].
11377
113782013-09-04 Will Newton <will.newton@linaro.org>
11379
11380 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11381 * benchtests/bench-string.h: Include bench-timing.h instead
11382 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11383 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11384 call to HP_TIMING_DIFF_INIT.
11385 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11386 instead of hp-timing.h macros.
11387 * benchtests/bench-memchr.c: Likewise.
11388 * benchtests/bench-memcmp.c: Likewise.
11389 * benchtests/bench-memcpy.c: Likewise.
11390 * benchtests/bench-memmem.c: Likewise.
11391 * benchtests/bench-memmove.c: Likewise.
11392 * benchtests/bench-memset.c: Likewise.
11393 * benchtests/bench-rawmemchr.c: Likewise.
11394 * benchtests/bench-strcasecmp.c: Likewise.
11395 * benchtests/bench-strcasestr.c: Likewise.
11396 * benchtests/bench-strcat.c: Likewise.
11397 * benchtests/bench-strchr.c: Likewise.
11398 * benchtests/bench-strcmp.c: Likewise.
11399 * benchtests/bench-strcpy.c: Likewise.
11400 * benchtests/bench-strcpy_chk.c: Likewise.
11401 * benchtests/bench-strlen.c: Likewise.
11402 * benchtests/bench-strncasecmp.c: Likewise.
11403 * benchtests/bench-strncat.c: Likewise.
11404 * benchtests/bench-strncmp.c: Likewise.
11405 * benchtests/bench-strncpy.c: Likewise.
11406 * benchtests/bench-strnlen.c: Likewise.
11407 * benchtests/bench-strpbrk.c: Likewise.
11408 * benchtests/bench-strrchr.c: Likewise.
11409 * benchtests/bench-strspn.c: Likewise.
11410 * benchtests/bench-strstr.c: Likewise.
11411
114122013-09-04 Will Newton <will.newton@linaro.org>
11413
11414 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11415
114162013-09-03 Joseph Myers <joseph@codesourcery.com>
11417
11418 [BZ #15427]
11419 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11420 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11421 * math/libm-test.inc (lgamma_test_data): Add more tests.
11422 * sysdeps/i386/fpu/libm-test-ulps: Update.
11423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11424
114252013-09-03 Ondřej Bílka <neleai@seznam.cz>
11426
11427 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11429 Add ifunc.
11430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11431 Add strcmp-sse2-unaligned
11432 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11433
114342013-09-02 Mike Frysinger <vapier@gentoo.org>
11435
11436 * Versions.def (libc): Add GLIBC_2.19.
11437
114382013-09-02 Mike Frysinger <vapier@gentoo.org>
11439
11440 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11441 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11442
114432013-09-02 Joseph Myers <joseph@codesourcery.com>
11444
11445 [BZ #14155]
11446 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11447 intermediate calculations in recurrence.
11448 (__ieee754_ynf): Likewise.
11449 * math/libm-test.inc (jn_test_data): Do not allow spurious
11450 underflow exception. Add more tests.
11451 (yn_test_data): Add more tests.
11452 * sysdeps/i386/fpu/libm-test-ulps: Update.
11453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11454
114552013-09-02 Ondřej Bílka <neleai@seznam.cz>
11456
11457 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11458
114592013-08-30 Ondřej Bílka <neleai@seznam.cz>
11460
11461 * csu/init-first.c: Fix then/than typos.
11462 * locale/programs/ld-collate.c: Likewise.
11463 * locale/programs/linereader.h: Likewise.
11464 * manual/charset.texi: Likewise.
11465 * manual/filesys.texi: Likewise.
11466 * manual/stdio.texi: Likewise.
11467 * manual/string.texi: Likewise.
11468 * stdlib/fmtmsg.c: Likewise.
11469 * sysdeps/i386/stpncpy.S: Likewise.
11470 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11471 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11472 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11473 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11474
114752013-08-30 Ondřej Bílka <neleai@seznam.cz>
11476
11477 * elf/dl-open.c: Fix typos.
11478 * iconvdata/gbbig5.c: Likewise.
11479 * iconvdata/iso-2022-jp.c: Likewise.
11480 * iconv/gconv_int.h: Likewise.
11481 * iconv/loop.c: Likewise.
11482 * nis/rpcsvc/nis.h: Likewise.
11483 * resolv/ns_name.c: Likewise.
11484 * stdio-common/vfscanf.c: Likewise.
11485 * streams/stropts.h: Likewise.
11486 * sunrpc/rpc_thread.c: Likewise.
11487 * sysdeps/i386/strpbrk.S: Likewise.
11488 * sysdeps/ieee754/k_standard.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11491 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11492 * sysdeps/mach/hurd/profil.c: Likewise.
11493 * sysdeps/s390/dl-procinfo.h: Likewise.
11494 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11495 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11496 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11497 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11498 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11499
115002013-08-30 Ondřej Bílka <neleai@seznam.cz>
11501
11502 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11504
115052013-08-29 Ondřej Bílka <neleai@seznam.cz>
11506
11507 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11508 aix specific files.
11509 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11510 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11511 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11512 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11513 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11514 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11515 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11516 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11517
115182013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11519 Roland McGrath <roland@hack.frob.com>
11520
11521 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11522 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11523
115242013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11525
11526 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11527 __executable_start symbol instead of _start.
11528
115292013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11530
11531 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11532 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11533 Move macros to...
11534 * sysdeps/gnu/ldsodefs.h: ... this new file.
11535
11536 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11537 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11538 instead of ELFOSABI_LINUX.
11539
11540 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11541 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11542 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11543 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11544 Likewise.
11545 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11546 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11547 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11548 Likewise.
11549 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11550 (ibm_extended_long_double): Add ieee_nan member.
11551 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11552 (do_test): New function.
11553
11554 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11555 TEST_TRUNC.
11556 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11557 functions, renamed from truncdfsf_test, trunctfsf_test,
11558 trunctfdf_test.
11559 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11560 functions.
11561 (do_test): Run all these.
11562
115632013-08-29 Ondřej Bílka <neleai@seznam.cz>
11564
11565 * argp/argp-help.c: Fix typos.
11566 * argp/argp-parse.c: Likewise.
11567 * debug/backtracesyms.c: Likewise.
11568 * elf/elf.h: Likewise.
11569 * malloc/malloc.c: Likewise.
11570 * nis/nis_print.c: Likewise.
11571 * resolv/res_comp.c: Likewise.
11572 * stdlib/stdlib.h: Likewise.
11573 * sunrpc/clnt_tcp.c: Likewise.
11574 * sunrpc/clnt_udp.c: Likewise.
11575 * sunrpc/clnt_unix.c: Likewise.
11576 * sysdeps/unix/bsd/ptsname.c: Likewise.
11577 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11578 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11580 Likewise.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11582 Likewise.
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11584 Likewise.
11585 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11586
115872013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11588
11589 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11591
115922013-08-27 Mike Frysinger <vapier@gentoo.org>
11593
11594 [BZ #15897]
11595 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11596 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11597 ($(objpfx)bug-dl-leaf): New rule.
11598 ($(objpfx)bug-dl-leaf.so): Likewise.
11599 ($(objpfx)bug-dl-leaf.out): Likewise.
11600 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11601 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11602 * dlfcn/bug-dl-leaf.c: New test.
11603 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11604 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11605 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11606 (dlclose): Likewise.
11607 (dlmopen): Likewise.
11608
116092013-08-27 Roland McGrath <roland@hack.frob.com>
11610
11611 * include/netdb.h [!_ISOMAC]:
11612 Don't include <tls.h>.
11613 (h_errno, __libc_h_errno): Move declaration and macros out of
11614 [_LIBC_REENTRANT].
11615
11616 * include/resolv.h [_RESOLV_H_]:
11617 Don't include <tls.h>.
11618 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11619 * resolv/res_libc.c: Don't include <tls.h>.
11620 (_res): Use __attribute__ ((nocommon)) in place of
11621 __attribute__ ((section (".bss"))).
11622
11623 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11624 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11625
11626 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11627
11628 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11629 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11630
11631 * resolv/res_mkquery.c: Include <sys/time.h>.
11632
11633 * inet/ifreq.c: Moved to ...
11634 * sysdeps/unix/ifreq.c: ... here.
11635 * inet/ifreq.c: New file, true stub version.
11636
11637 * socket/sa_len.c: New file.
11638 * socket/Makefile (aux): Add it.
11639 * sysdeps/unix/sysv/linux/Makefile
11640 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11641 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11642 and #include <socket/sa_len.c>.
11643 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11644 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11645
11646 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11647 * bits/socket.h: ... here.
11648
11649 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11650 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11651 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11652
116532013-08-27 Andreas Schwab <schwab@suse.de>
11654
11655 [BZ #15736]
11656 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11657 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11658 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11659 * string/test-strcasecmp.c (test_main): Run tests in several
11660 locales.
11661 * string/test-strncasecmp.c (test_main): Likewise.
11662
11663 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11664 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11665 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11666 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11667 (__strncasecmp_ssse3) [PIC]: Likewise.
11668
116692013-08-26 Roland McGrath <roland@hack.frob.com>
11670
11671 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11672
11673 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11674 instead of explicitly declaring xdecrypt.
11675 * nis/nss_nis/nis-publickey.c: Likewise.
11676
116772013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11678
11679 [BZ #15890]
11680 * nscd/aicache.c: Include res_hconf.h.
11681 (addhstaiX): Initialize res_hconf.
11682
116832013-08-26 Andreas Schwab <schwab@suse.de>
11684
11685 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11686 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11687
116882013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11689
11690 * nscd/aicache.c (addhstaiX): Fix indentation.
11691
116922013-08-25 Mike Frysinger <vapier@gentoo.org>
11693
11694 * configure.ac: Quote $build_pt_chown test.
11695 * configure: Regenerated.
11696
116972013-08-23 Joseph Myers <joseph@codesourcery.com>
11698
11699 [BZ #15532]
11700 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11701 * math/s_cexpf.c (__cexpf): Likewise.
11702 * math/s_cexpl.c (__cexpl): Likewise.
11703 * math/libm-test.inc (cexp_test_data): Correct expected return
11704 value for NaN + i0. Add another test.
11705
117062013-08-22 David S. Miller <davem@davemloft.net>
11707
11708 * po/ca.po: Update Catalan translation from translation project.
11709 * po/uk.po: Add Ukrainian translations from translation project.
11710
117112013-08-21 Joseph Myers <joseph@codesourcery.com>
11712
11713 [BZ #15797]
11714 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11715 is infinite, not alongside NaN test.
11716 * math/s_fdimf.c (__fdimf): Likewise.
11717 * math/s_fdiml.c (__fdiml): Likewise.
11718 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11719 errno is unchanged.
11720
117212013-08-21 Ondřej Bílka <neleai@seznam.cz>
11722
11723 * argp/argp-help.c: Fix typos.
11724 * crypt/speeds.c: Likewise.
11725 * csu/check_fds.c: Likewise.
11726 * elf/dl-load.c: Likewise.
11727 * elf/dl-open.c: Likewise.
11728 * elf/reldep3.c: Likewise.
11729 * elf/reldep.c: Likewise.
11730 * elf/sprof.c: Likewise.
11731 * iconv/iconv_charmap.c: Likewise.
11732 * iconv/skeleton.c: Likewise.
11733 * iconv/strtab.c: Likewise.
11734 * io/lockf64.c: Likewise.
11735 * libio/libioP.h: Likewise.
11736 * resolv/gai_notify.c: Likewise.
11737 * resolv/ns_name.c: Likewise.
11738 * resolv/ns_samedomain.c: Likewise.
11739 * resolv/res_send.c: Likewise.
11740 * stdlib/random.c: Likewise.
11741 * sunrpc/rpc/xdr.h: Likewise.
11742 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11743 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11744 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11745 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11746 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11747 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11749 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11750 * sysdeps/mach/hurd/check_fds.c: Likewise.
11751 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11752 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11753 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11754 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11755 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11756 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11757 * sysdeps/pthread/aio_notify.c: Likewise.
11758 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11759 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11760 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11761 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11762 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11763
117642013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11765
11766 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11767 version if bit_Slow_SSE4_2 is set.
11768 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11769 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11770
117712013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11772
11773 [BZ #15867]
11774 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11775 trampoline stack frame information.
11776 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11777 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11778 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11779 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11780 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11781 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11782 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11783 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11784 sa_flags value.
11785 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11786 interrupting a syscall and set with option SA_SIGINFO.
11787
117882013-08-20 Joseph Myers <joseph@codesourcery.com>
11789
11790 [BZ #15531]
11791 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11792 argument is infinite.
11793 * math/s_cprojf.c (__cprojf): Likewise.
11794 * math/s_cprojl.c (__cprojl): Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11796 * math/libm-test.inc (cproj_test_data): Add more tests.
11797
11798 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11799
11800 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11801 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11802 size. Use __ffs to determine corresponding shift.
11803
118042013-08-20 Joseph Myers <joseph@codesourcery.com>
11805 Roland McGrath <roland@hack.frob.com>
11806
11807 * Makefile (INSTALL): Remove trailing blank lines from output of
11808 makeinfo.
11809
118102013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11811
11812 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11813 Align 32 bit compat elf_greg to 8 bytes.
11814
118152013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11816
11817 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11818
118192013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11820
11821 * string/strcoll_l.c (coll_seq): New structure.
11822 (get_next_seq_cached): New function.
11823 (get_next_seq): New function.
11824 (do_compare): New function.
11825 (STRCOLL): Use GNU style definition. Simplify implementation
11826 by using get_next_seq, get_next_seq_cached and do_compare.
11827
118282013-08-16 Florian Weimer <fweimer@redhat.com>
11829
11830 [BZ #14699]
11831 CVE-2013-4237
11832 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11833 member.
11834 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11835 member.
11836 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11837 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11838 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11839 conditional.
11840 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11841 GETDENTS_64BIT_ALIGNED.
11842 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11843 * manual/filesys.texi (Reading/Closing Directory): Document
11844 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11845 strongly.
11846 * manual/conf.texi (Limits for Files): Add portability note to
11847 NAME_MAX, PATH_MAX.
11848 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11849
118502013-08-13 Andreas Schwab <schwab@suse.de>
11851
11852 [BZ #15749]
11853 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11854 of fabs.
11855 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11856 LDBL_MAX_EXP >= 16384]: Add tests for it.
11857
118582013-08-12 David S. Miller <davem@davemloft.net>
11859
11860 * version.h (RELEASE): Set to "development".
11861 (VERSION): Set to "2.18.90".
11862 * NEWS: Add 2.19 section.
11863
118642013-08-03 David S. Miller <davem@davemloft.net>
11865
11866 * po/ko.po: Update Korean translation from translation project.
11867
118682013-08-01 David S. Miller <davem@davemloft.net>
11869
11870 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11871 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11872 Bilka.
11873
118742013-07-30 David S. Miller <davem@davemloft.net>
11875
11876 * po/fr.po: Update French translation from translation project.
11877
118782013-07-28 David S. Miller <davem@davemloft.net>
11879
11880 * po/cs.po: Update Czech translation from translation project.
11881
11882 * po/sv.po: Update Swedish translation from translation project.
11883
118842013-07-27 David S. Miller <davem@davemloft.net>
11885
11886 * po/eo.po: Update Esperanto translation from translation project.
11887
11888 * po/vi.po: Update Vietnamese translation from translation project.
11889
11890 * po/de.po: Update German translation from translation project.
11891
118922013-07-26 David S. Miller <davem@davemloft.net>
11893
11894 * po/bg.po: Update Bulgarian translation from translation project.
11895
11896 * po/nl.po: Update Dutch translation from translation project.
11897 * po/pl.po: Update Polish translation from translation project.
11898 * po/ru.po: Update Russian translation from translation project.
11899
119002013-07-24 David S. Miller <davem@davemloft.net>
11901
11902 * po/libc.pot: Update.
11903
119042013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11905
11906 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11907 variable page size.
11908 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11909 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11910 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11911
119122013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11913
11914 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11915
119162013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11917 Andreas Schwab <schwab@suse.de>
11918 Roland McGrath <roland@hack.frob.com>
11919 Joseph Myers <joseph@codesourcery.com>
11920 Carlos O'Donell <carlos@redhat.com>
11921
11922 [BZ #15755]
11923 * config.h.in: Define HAVE_PT_CHOWN.
11924 * config.make.in (build-pt-chown): New variable.
11925 * configure.in (--enable-pt_chown): New configure option.
11926 * configure: Regenerate.
11927 * login/Makefile: Include Makeconfig. Build pt_chown only if
11928 build-pt-chown is enabled.
11929 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11930 pt_chown to fix pty ownership.
11931 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11932 CLOSE_ALL_FDS.
11933 * manual/install.texi (Configuring and compiling): Mention
11934 --enable-pt_chown. Add @findex for grantpt.
11935 * INSTALL: Regenerate.
11936
119372013-07-20 David S. Miller <davem@davemloft.net>
11938
11939 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11940 difference between 32-bit and 64-bit.
11941
119422013-07-15 Carlos O'Donell <carlos@redhat.com>
11943
11944 [BZ #15711]
11945 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11946 Avoid system header dependency with -ffreestanding.
11947 ($(objpfx)bits/syscall%d): Likewise.
11948
119492013-07-13 David S. Miller <davem@davemloft.net>
11950
11951 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11952 underflows from atanl/atan2l due to bug 15319.
11953 (casinh_test_data): Likewise.
11954
119552013-07-07 David S. Miller <davem@davemloft.net>
11956
11957 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11958
119592013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11960
11961 * sysdeps/i386/fpu/libm-test-ulps: Update.
11962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11963
119642013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11965
11966 * configure.in (--enable-lock-elision): Fix message text.
11967 * INSTALL: Regenerate.
11968 * configure: Regenerate.
11969
119702013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11971
11972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11973
119742013-07-03 Andreas Jaeger <aj@suse.de>
11975
11976 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11977 define.
11978 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11979 (ptrace_peeksiginfo_args): Add.
11980 (__ptrace_peeksiginfo_flags): Add.
11981 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11982 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11983 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11984
119852013-07-03 Allan McRae <allan@archlinux.org>
11986
11987 * sysdeps/i386/fpu/libm-test-ulps: Update.
11988
119892013-07-02 David S. Miller <davem@davemloft.net>
11990
11991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11992
119932013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11994
11995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11996
119972013-07-02 Joseph Myers <joseph@codesourcery.com>
11998
11999 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12001
120022013-07-02 Andi Kleen <ak@linux.intel.com>
12003
12004 * config.h.in (ENABLE_LOCK_ELISION): Add.
12005 * configure.in (--enable-lock-elision): Add option.
12006 * manual/install.texi: Document --enable lock elision.
12007 * configure: Regenerate
12008 * INSTALL: Regenerate.
12009
120102013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12011
12012 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12013 SSE4.2 strcasecmp for libc.a.
12014 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12015
120162013-07-02 Joseph Myers <joseph@codesourcery.com>
12017
12018 [BZ #13304]
12019 * soft-fp/op-common.h (_FP_FMA): New macro.
12020 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12021 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12022 (_FP_MUL_MEAT_1_imm): ... here.
12023 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12024 (_FP_MUL_MEAT_1_wide): ... here.
12025 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12026 (_FP_MUL_MEAT_1_hard): ... here.
12027 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12028 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12029 (_FP_MUL_MEAT_2_wide): ... here.
12030 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12031 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12032 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12033 (_FP_MUL_MEAT_2_gmp): ... here.
12034 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12035 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12036 (_FP_MUL_MEAT_4_wide): ... here.
12037 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12038 (_FP_MUL_MEAT_4_gmp): ... here.
12039 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12040 (_FP_WFRACBITS_DW_S): Likewise.
12041 (_FP_WFRACXBITS_DW_S): Likewise.
12042 (_FP_HIGHBIT_DW_S): Likewise.
12043 (FP_FMA_S): Likewise.
12044 (_FP_FRAC_HIGH_DW_S): Likewise.
12045 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12046 (_FP_WFRACBITS_DW_D): Likewise.
12047 (_FP_WFRACXBITS_DW_D): Likewise.
12048 (_FP_HIGHBIT_DW_D): Likewise.
12049 (FP_FMA_D): Likewise.
12050 (_FP_FRAC_HIGH_DW_D): Likewise.
12051 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12052 (_FP_WFRACBITS_DW_E): Likewise.
12053 (_FP_WFRACXBITS_DW_E): Likewise.
12054 (_FP_HIGHBIT_DW_E): Likewise.
12055 (FP_FMA_E): Likewise.
12056 (_FP_FRAC_HIGH_DW_E): Likewise.
12057 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12058 (_FP_WFRACBITS_DW_Q): Likewise.
12059 (_FP_WFRACXBITS_DW_Q): Likewise.
12060 (_FP_HIGHBIT_DW_Q): Likewise.
12061 (FP_FMA_Q): Likewise.
12062 (_FP_FRAC_HIGH_DW_Q): Likewise.
12063 * soft-fp/fmasf4.c: New file.
12064 * soft-fp/fmadf4.c: Likewise.
12065 * soft-fp/fmatf4.c: Likewise.
12066
120672013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12068
12069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12070 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12071 Silvermont.
12072 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12073 macro.
12074 (index_Slow_SSE4_2): Likewise.
12075 (index_Prefer_PMINUB_for_stringop): Likewise.
12076 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12077 bit_Slow_SSE4_2 is set.
12078 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12079 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12080
120812013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12082
12083 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12084 rtld_global._dl_hwcap2.
12085 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12086 POWER8.
12087 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12088 POWER8 feature descriptions defined in _dl_hwcap2.
12089 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12090 string handling for POWER8 feature bits.
12091 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12092 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12093 _dl_powerpc_cap_flags.
12094 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12095 * sysdeps/powerpc/rtld-global-offsets.sym
12096 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12097 _dl_hwcap2 in the rtld_global_ro structure.
12098
120992013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12100
12101 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12102 hardware capabilities in support of AT_HWCAP2.
12103 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12104 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12105 GLRO(dl_hwcap2).
12106 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12107 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12108 explicitly the unknown a_type display mechanism is used.
12109 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12110 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12111 struct member.
12112 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12113 to macro prototype for AT_HWCAP2 support.
12114 * sysdeps/i386/dl-procinfo.h: Likewise.
12115 * sysdeps/s390/dl-procinfo.h: Likewise.
12116 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12117 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12118 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12119 return -1 for unknown a_type display fallback.
12120 * sysdeps/sparc/dl-procinfo.h: Likewise.
12121 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12122 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12123
121242013-06-28 Joseph Myers <joseph@codesourcery.com>
12125
12126 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12127 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12128
121292013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12130
12131 [BZ #12492]
12132 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12133 mprotect making __stack_prot writable.
12134
121352013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12136 Joseph Myers <joseph@codesourcery.com>
12137
12138 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12139 as being properly aligned.
12140
121412013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12142
12143 * dlfcn/modstatic5.c: New file.
12144 * dlfcn/tststatic5.c: New file.
12145 * dlfcn/Makefile (tests): Add tststatic5.
12146 (tests-static): Likewise.
12147 (modules-names): Add modstatic5.
12148 (tststatic5-ENV): New variable.
12149 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12150
12151 [BZ #15022]
12152 * elf/dl-support.c (_dl_main_map): New variable.
12153 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12154 (_dl_nns, _dl_load_adds): Set to 1.
12155 (_dl_initial_searchlist): Refer to _dl_main_map.
12156 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12157 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12158 call to _dl_get_origin.
12159 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12160 around call_map.
12161 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12162 * dlfcn/modstatic3.c: New file.
12163 * dlfcn/tststatic3.c: New file.
12164 * dlfcn/tststatic4.c: New file.
12165 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12166 (tests-static): Likewise.
12167 (modules-names): Add modstatic3.
12168 (tststatic3-ENV, tststatic4-ENV): New variables.
12169 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12170 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12171
121722013-06-26 Joseph Myers <joseph@codesourcery.com>
12173
12174 * configure.in (CC): Require GCC version 4.4 or later.
12175 * configure: Regenerated.
12176 * manual/install.texi (Tools for Compilation): Update GCC version
12177 requirement.
12178 * INSTALL: Regenerated.
12179
121802013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12181
12182 [BZ #15674]
12183 * string/test-memcmp.c (check2): New.
12184 (main): Call check2.
12185
12186 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12187
121882013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12189
12190 [BZ #15022]
12191 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12192 over to...
12193 (dl_open_worker) [!SHARED]: ... here.
12194
121952013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12196
12197 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12198
121992013-06-25 Richard Henderson <rth@redhat.com>
12200
12201 * locale/programs/locarchive.c: Include <libc-internal.h>
12202
122032013-06-25 Joseph Myers <joseph@codesourcery.com>
12204
12205 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12206 trailing whitespace removed.
12207
122082013-06-24 Mike Frysinger <vapier@gentoo.org>
12209
12210 [BZ #10283]
12211 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12212 * locale/programs/locarchive.c: Include libc-mmap.h.
12213 (prepare_address_space): Take two new outputs (the mmap base and len).
12214 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12215 values.
12216 (create_archive): Declare new mmap base and len values for
12217 prepare_address_space, and store the result in ah.
12218 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12219 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12220 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12221 Declare new mmap base and len values for
12222 prepare_address_space, and store the result in new_ah.
12223 (open_archive): Declare new mmap base and len values for
12224 prepare_address_space, and store the result in ah.
12225 (close_archive): If ah->mmap_base is not NULL, use that and
12226 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12227 * sysdeps/generic/libc-mmap.h: New file.
12228
122292013-06-24 Mike Frysinger <vapier@gentoo.org>
12230
12231 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12232 (ALIGN_UP): Likewise.
12233 (PTR_ALIGN_DOWN): Likewise.
12234 (PTR_ALIGN_UP): Likewise.
12235
122362013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12237
12238 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12239 entry mapped to PPC_PLATFORM_POWER8.
12240 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12241 POWER8.
12242 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12243 (_dl_string_platform): Add case for exporting platform position for
12244 POWER8.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12246 search path to sysdeps/powerpc/powerpc32/power8 directory.
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12248 search path to sysdeps/powerpc/powerpc64/power8 directory.
12249 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12250 power7 directories.
12251 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12252 power7 directories.
12253
122542013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12255
12256 * INSTALL: Regenerate.
12257
12258 * nscd/connections.c (nscd_init): Fix comment.
12259
122602013-06-22 Joseph Myers <joseph@codesourcery.com>
12261
12262 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12263
12264 [BZ #15667]
12265 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12266 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12267
122682013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12269
12270 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12271 DL_DST_REQ_STATIC.
12272 (DL_DST_REQ_STATIC): Remove macro.
12273
122742013-06-21 Joseph Myers <joseph@codesourcery.com>
12275
12276 [BZ #7006]
12277 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12278 with a shift of 0 bits.
12279
122802013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12281
12282 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12283 $(tststatic-ENV).
12284
122852013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12286
12287 [BZ #15655]
12288 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12289
122902013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12291
12292 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12293 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12294 accepts -fno-tree-loop-distribute-patterns.
12295 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12296 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12297 recursive call.
12298 * string/memset.c (memset): Likewise.
12299 * string/test-memmove.c (simple_memmove): Disable loop transformation
12300 to library calls.
12301 * string/test-memset.c (simple_memset): Likewise.
12302 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12303 * benchtests/bench-memset.c (simple_memset): Likewise.
12304 * configure: Regenerated.
12305
123062013-06-20 Joseph Myers <joseph@codesourcery.com>
12307
12308 * math/test-misc.c (main): Ignore fesetround failure when failures
12309 of subsequent rounding tests would be ignored.
12310
12311 [BZ #15654]
12312 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12313 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12314 * math/fegetenv.c (__fegetenv): Return 0.
12315 * math/fegetexcept.c (fegetexcept): Return 0.
12316 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12317 FE_TONEAREST.
12318 * math/feholdexcpt.c (feholdexcept): Return 0.
12319 * math/fesetenv.c (__fesetenv): Return 0.
12320 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12321 argument FE_TONEAREST.
12322 * math/feupdateenv.c (__feupdateenv): Return 0.
12323 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12324
123252013-06-18 Roland McGrath <roland@hack.frob.com>
12326
12327 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12328 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12329 ($(objpfx)rtld-%.os rules): Use them.
12330
123312013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12332
12333 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12334 fields.
12335
123362013-06-17 Roland McGrath <roland@hack.frob.com>
12337
12338 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12339 length of target pattern, then descending length of dependency pattern.
12340 * configure.in (AWK): Require gawk 3.1.2 or newer.
12341 * manual/install.texi (Tools for Compilation): Say that we do.
12342 * configure: Regenerated.
12343
12344 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12345 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12346 * scripts/sysd-rules.awk: ... this new script.
12347 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12348 than a glob-style pattern.
12349
123502013-06-17 Joseph Myers <joseph@codesourcery.com>
12351
12352 * math/test-misc.c (main): Do not treat incorrectly rounded
12353 conversions as failure unless ROUNDING_TESTS passes.
12354
123552013-06-15 Joseph Myers <joseph@codesourcery.com>
12356
12357 [BZ #15631]
12358 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12359 restore exception state around main square root computation, then
12360 check for inexactness explicitly.
12361
12362 * math/libm-test.inc (fma_test_data): Add another test.
12363
123642013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12365
12366 * manual/threads.texi (Non-POSIX Extensions): New document
12367 node. Document pthread_getattr_default_np and
12368 pthread_setattr_default_np.
12369
12370 * Versions.def (libpthread): Add GLIBC_2.18.
12371 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12373 Likewise.
12374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12375 Likewise.
12376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12377 Likewise.
12378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12379 Likewise.
12380 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12381 Likewise.
12382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12383 Likewise.
12384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12385 Likewise.
12386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12387 Likewise.
12388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12389 Likewise.
12390
123912013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12392
12393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12394 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12395
123962013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12397 H.J. Lu <hjl.tools@gmail.com>
12398
12399 [BZ #15627]
12400 * sysdeps/x86_64/rtld-memset.c: Remove file.
12401 * sysdeps/x86_64/rtld-memset.S: New file.
12402
124032013-06-14 Joseph Myers <joseph@codesourcery.com>
12404
12405 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12406 (test_in_one_mode): Take arguments for whether the rounding mode
12407 is supported for each floating-point type.
12408 (do_test): Pass new arguments to test_in_one_mode using
12409 ROUNDING_TESTS.
12410
124112013-06-13 Roland McGrath <roland@hack.frob.com>
12412
12413 * posix/tst-waitid.c (do_test): Distinguish different instances of
12414 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12415 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12416 before entering the kernel for waitpid.
12417
124182013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12419
12420 * NEWS: Fix note on clock function precision. Text by Roland
12421 McGrath.
12422
124232013-06-13 Roland McGrath <roland@hack.frob.com>
12424
12425 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12426 it into place only when and if the sanity check passes.
12427
124282013-06-13 Joseph Myers <joseph@codesourcery.com>
12429
12430 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12431 output for whether conversion result is exact. Take argument
12432 indicating whether type is IBM long double.
12433 (round_for_all): Change need_exact field to ibm_ld.
12434 * stdlib/tst-strtod-round.c (struct exactness): New type.
12435 (struct test): Change bool ld_ok field to struct exactness exact.
12436 (TEST): Update all definitions for change to field.
12437 (tests): Regenerate array contents.
12438 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12439 field value. Check for IBM long double here.
12440 (do_test): Update calls to test_in_one_mode.
12441
124422013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12443
12444 [BZ #12515]
12445 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12446 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12447
124482013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12449
12450 [BZ #15605]
12451 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12452 generated by the compiler on loop optimizations.
12453 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12454 general definitions.
12455
124562013-06-12 Joseph Myers <joseph@codesourcery.com>
12457
12458 * math/bug-nextafter.c: Include <math-tests.h>.
12459 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12460 the relevant type.
12461 * math/bug-nexttoward.c: Include <math-tests.h>.
12462 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12463 the relevant type.
12464 * math/test-misc.c: Include <math-tests.h>.
12465 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12466 the relevant type.
12467
124682013-06-12 Andreas Jaeger <aj@suse.de>
12469
12470 * po/ia.po: Update Interlingua translation from translation
12471 project.
12472
124732013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12474
12475 * include/fenv.h: Include stdbool.h.
12476 (struct rm_ctx): New structure.
12477 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12478 Define macro.
12479 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12480 (SET_RESTORE_ROUNDF): Likewise.
12481 (SET_RESTORE_ROUNDL): Likewise.
12482 (SET_RESTORE_ROUND_NOEX): Likewise.
12483 (SET_RESTORE_ROUND_NOEXF): Likewise.
12484 (SET_RESTORE_ROUND_NOEXL): Likewise.
12485 (SET_RESTORE_ROUND_53BIT): Likewise.
12486 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12487 (libc_feresetround_noexf_ctx): Likewise.
12488 (libc_feresetround_noexl_ctx): Likewise.
12489 (libc_feholdsetround_53bit_ctx): Likewise.
12490 (libc_feresetround_53bit_ctx): Likewise.
12491 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12492 (libc_feholdexcept_setround_sse_ctx): New function.
12493 (libc_fesetenv_sse_ctx): Likewise.
12494 (libc_feupdateenv_sse_ctx): Likewise.
12495 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12496 (libc_feholdexcept_setround_387_ctx): Likewise.
12497 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12498 (libc_feholdsetround_387_prec_ctx): Likewise.
12499 (libc_feholdsetround_387_ctx): Likewise.
12500 (libc_feholdsetround_387_53bit_ctx): Likewise.
12501 (libc_feholdsetround_sse_ctx): Likewise.
12502 (libc_feresetround_sse_ctx): Likewise.
12503 (libc_feresetround_387_ctx): Likewise.
12504 (libc_feupdateenv_387_ctx): Likewise.
12505 (libc_feholdexcept_setroundf_ctx): Define macro.
12506 (libc_fesetenvf_ctx): Likewise.
12507 (libc_feupdateenvf_ctx): Likewise.
12508 (libc_feholdsetroundf_ctx): Likewise.
12509 (libc_feresetroundf_ctx): Likewise.
12510 (libc_feholdexcept_setround_ctx): Likewise.
12511 (libc_fesetenv_ctx): Likewise.
12512 (libc_feupdateenv_ctx): Likewise.
12513 (libc_feholdsetround_ctx): Likewise.
12514 (libc_feresetround_ctx): Likewise.
12515 (libc_feholdexcept_setroundl_ctx): Likewise.
12516 (libc_feupdateenvl_ctx): Likewise.
12517 (libc_feholdsetroundl_ctx): Likewise.
12518 (libc_feresetroundl_ctx): Likewise.
12519 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12520 (libc_feresetround_53bit_ctx): Likewise.
12521
125222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12523
12524 * locale/iso-639.def: Convert to UTF-8.
12525
125262013-06-11 Joseph Myers <joseph@codesourcery.com>
12527
12528 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12529 (EXCEPTION_TESTS_double): Likewise.
12530 (EXCEPTION_TESTS_long_double): Likewise.
12531 (EXCEPTION_TESTS): Likewise.
12532 * math/libm-test.inc (test_exceptions): Only test exceptions if
12533 EXCEPTION_TESTS (FLOAT).
12534
125352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12536
12537 * benchtests/Makefile (string-bench): Add strcpy_chk and
12538 stpcpy_chk.
12539 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12540 * benchtests/bench-stpcpy_chk.c: New file.
12541 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12542 * benchtests/bench-strcpy_chk.c: New file.
12543 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12544 code.
12545 (do_test): Likewise.
12546
125472013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12548
12549 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12550 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12551 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12552 with tabs where appropriate.
12553 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12554 dl-procinfo.h.
12555 [PPC_PLATFORM_PPC440]: Likewise.
12556 [PPC_PLATFORM_PPC464]: Likewise.
12557 [PPC_PLATFORM_PPC476]: Likewise.
12558 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12559 ppc464, and ppc476 platform strings merging from ports/
12560 dl-procinfo.h.
12561
125622013-06-11 Andreas Schwab <schwab@suse.de>
12563
12564 [BZ #14991]
12565 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12566 (from_ucs4_idx): Regenerate.
12567 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12568 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12569 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12570 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12571 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12572 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12573 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12574 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12575 from FROM_LOOP and TO_LOOP specific macros.
12576 (BODY): Handle combining characters.
12577 * iconvdata/BIG5HKSCS.irreversible: Update.
12578 * iconvdata/BIG5HKSCS.precomposed: New file.
12579 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12580 characters.
12581 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12582
125832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12584
12585 * include/sys/time.h: Fix indentation and add copyright header.
12586
12587 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12588 (do_test): Likewise.
12589 * string/test-memchr.c (do_one_test): Likewise.
12590 (do_test): Likewise.
12591 * string/test-memcmp.c (do_one_test): Likewise.
12592 (do_test): Likewise.
12593 * string/test-memcpy.c (do_one_test): Likewise.
12594 (do_test): Likewise.
12595 * string/test-memmem.c (do_one_test): Likewise.
12596 (do_test): Likewise.
12597 (do_random_tests): Likewise.
12598 * string/test-memmove.c (do_one_test): Likewise.
12599 (do_test): Likewise.
12600 * string/test-memset.c (do_one_test): Likewise.
12601 (do_test): Likewise.
12602 * string/test-rawmemchr.c (do_one_test): Likewise.
12603 (do_test): Likewise.
12604 * string/test-strcasecmp.c (do_one_test): Likewise.
12605 (do_test): Likewise.
12606 * string/test-strcasestr.c (do_one_test): Likewise.
12607 (do_test): Likewise.
12608 * string/test-strcat.c (do_one_test): Likewise.
12609 (do_test): Likewise.
12610 * string/test-strchr.c (do_one_test): Likewise.
12611 (do_test): Likewise.
12612 * string/test-strcmp.c (do_one_test): Likewise.
12613 (do_test): Likewise.
12614 * string/test-strcpy.c (do_one_test): Likewise.
12615 (do_test): Likewise.
12616 * string/test-string.h: Likewise.
12617 (test_init): Likewise.
12618 * string/test-strlen.c (do_one_test): Likewise.
12619 (do_test): Likewise.
12620 * string/test-strncasecmp.c (do_one_test): Likewise.
12621 (do_test): Likewise.
12622 * string/test-strncat.c (do_one_test): Likewise.
12623 (do_test): Likewise.
12624 * string/test-strncmp.c (do_one_test): Likewise.
12625 (do_test_limit): Likewise.
12626 (do_test): Likewise.
12627 * string/test-strncpy.c (do_one_test): Likewise.
12628 (do_test): Likewise.
12629 * string/test-strnlen.c (do_one_test): Likewise.
12630 (do_test): Likewise.
12631 * string/test-strpbrk.c (do_one_test): Likewise.
12632 (do_test): Likewise.
12633 * string/test-strrchr.c (do_one_test): Likewise.
12634 (do_test): Likewise.
12635 * string/test-strspn.c (do_one_test): Likewise.
12636 (do_test): Likewise.
12637 * string/test-strstr.c (do_one_test): Likewise.
12638 (do_test): Likewise.
12639
12640 * benchtests/Makefile (string-bench): Add string benchmarks.
12641 * benchtests/bench-bcopy-ifunc.c: New file.
12642 * benchtests/bench-bcopy.c: New file.
12643 * benchtests/bench-bzero-ifunc.c: New file.
12644 * benchtests/bench-bzero.c: New file.
12645 * benchtests/bench-memccpy-ifunc.c: New file.
12646 * benchtests/bench-memccpy.c: New file.
12647 * benchtests/bench-memchr-ifunc.c: New file.
12648 * benchtests/bench-memchr.c: New file.
12649 * benchtests/bench-memcmp-ifunc.c: New file.
12650 * benchtests/bench-memcmp.c: New file.
12651 * benchtests/bench-memmem-ifunc.c: New file.
12652 * benchtests/bench-memmem.c: New file.
12653 * benchtests/bench-memmove-ifunc.c: New file.
12654 * benchtests/bench-memmove.c: New file.
12655 * benchtests/bench-mempcpy-ifunc.c: New file.
12656 * benchtests/bench-mempcpy.c: New file.
12657 * benchtests/bench-memset-ifunc.c: New file.
12658 * benchtests/bench-memset.c: New file.
12659 * benchtests/bench-rawmemchr-ifunc.c: New file.
12660 * benchtests/bench-rawmemchr.c: New file.
12661 * benchtests/bench-stpcpy-ifunc.c: New file.
12662 * benchtests/bench-stpcpy.c: New file.
12663 * benchtests/bench-stpncpy-ifunc.c: New file.
12664 * benchtests/bench-stpncpy.c: New file.
12665 * benchtests/bench-strcasecmp-ifunc.c: New file.
12666 * benchtests/bench-strcasecmp.c: New file.
12667 * benchtests/bench-strcasestr-ifunc.c: New file.
12668 * benchtests/bench-strcasestr.c: New file.
12669 * benchtests/bench-strcat-ifunc.c: New file.
12670 * benchtests/bench-strcat.c: New file.
12671 * benchtests/bench-strchr-ifunc.c: New file.
12672 * benchtests/bench-strchr.c: New file.
12673 * benchtests/bench-strchrnul-ifunc.c: New file.
12674 * benchtests/bench-strchrnul.c: New file.
12675 * benchtests/bench-strcmp-ifunc.c: New file.
12676 * benchtests/bench-strcmp.c: New file.
12677 * benchtests/bench-strcpy-ifunc.c: New file.
12678 * benchtests/bench-strcpy.c: New file.
12679 * benchtests/bench-strcspn-ifunc.c: New file.
12680 * benchtests/bench-strcspn.c: New file.
12681 * benchtests/bench-strlen-ifunc.c: New file.
12682 * benchtests/bench-strlen.c: New file.
12683 * benchtests/bench-strncasecmp-ifunc.c: New file.
12684 * benchtests/bench-strncasecmp.c: New file.
12685 * benchtests/bench-strncat-ifunc.c: New file.
12686 * benchtests/bench-strncat.c: New file.
12687 * benchtests/bench-strncmp-ifunc.c: New file.
12688 * benchtests/bench-strncmp.c: New file.
12689 * benchtests/bench-strncpy-ifunc.c: New file.
12690 * benchtests/bench-strncpy.c: New file.
12691 * benchtests/bench-strnlen-ifunc.c: New file.
12692 * benchtests/bench-strnlen.c: New file.
12693 * benchtests/bench-strpbrk-ifunc.c: New file.
12694 * benchtests/bench-strpbrk.c: New file.
12695 * benchtests/bench-strrchr-ifunc.c: New file.
12696 * benchtests/bench-strrchr.c: New file.
12697 * benchtests/bench-strspn-ifunc.c: New file.
12698 * benchtests/bench-strspn.c: New file.
12699 * benchtests/bench-strstr-ifunc.c: New file.
12700 * benchtests/bench-strstr.c: New file.
12701
12702 * benchtests/Makefile: Disable parallel execution of targets.
12703 (string-bench): Add memcpy.
12704 (benchset): New variable to store a list of benchmark sets.
12705 (bench-func): Renamed from bench.
12706 (bench-set): New target.
12707 (bench): Depend on bench-func and bench-set.
12708 * benchtests/README: Add section on benchmark sets.
12709 * benchtests/bench-memcpy-ifunc.c: New file.
12710 * benchtests/bench-memcpy.c: New file.
12711 * benchtests/bench-string.h: New file.
12712
127132013-06-11 Andreas Schwab <schwab@suse.de>
12714
12715 [BZ #15577]
12716 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12717 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12718 values in the triple.
12719 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12720 terminator in the group key.
12721
127222013-06-11 Andreas Jaeger <aj@suse.de>
12723
12724 * po/zh_TW.po: Update Chinese (traditional) translation from
12725 translation project.
12726
127272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12728
12729 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12730 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12731 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12732 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12733 (clock_getcpuclockid): Likewise.
12734 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12735 Add weak_alias and libc_hidden_def.
12736 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12737 * rt/clock_gettime.c (clock_gettime): Rename to
12738 __clock_gettime. Add weak_alias and libc_hidden_def.
12739 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12740 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12741 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12742 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12743 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12744 Likewise.
12745 * rt/clock_settime.c (clock_settime): Rename to
12746 __clock_settime. Add weak_alias and libc_hidden_def.
12747 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12748
127492013-06-10 Joseph Myers <joseph@codesourcery.com>
12750
12751 * mach/err_boot.sub: Remove trailing whitespace.
12752 * mach/err_ipc.sub: Likewise.
12753 * mach/err_mach.sub: Likewise.
12754
12755 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12756 (ROUNDING_TESTS_double): Likewise.
12757 (ROUNDING_TESTS_long_double): Likewise.
12758 (ROUNDING_TESTS): Likewise.
12759 * math/libm-test.inc: Include <math-tests.h>.
12760 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12761 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12762 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12763 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12764
127652013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12766
12767 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12768 of assigning.
12769
127702013-06-08 Joseph Myers <joseph@codesourcery.com>
12771
12772 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12773 otherwise empty TRANS lines.
12774 * sysdeps/gnu/errlist.c: Regenerated.
12775
12776 * catgets/gencat.c (error_print): Use (void) in function
12777 definition.
12778 * crypt/crypt_util.c (__init_des): Likewise.
12779 * crypt/speeds.c (Stop): Likewise.
12780 (main): Likewise.
12781 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12782 * inet/ruserpass.c (token): Likewise.
12783 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12784 * intl/localealias.c (extend_alias_table): Likewise.
12785 * intl/plural-exp.c (init_germanic_plural): Likewise.
12786 * libio/fcloseall.c (__fcloseall): Likewise.
12787 * libio/genops.c (_IO_flush_all): Likewise.
12788 (_IO_flush_all_linebuffered): Likewise.
12789 (_IO_cleanup): Likewise.
12790 (_IO_iter_begin): Likewise.
12791 (_IO_iter_end): Likewise.
12792 (_IO_list_lock): Likewise.
12793 (_IO_list_unlock): Likewise.
12794 (_IO_list_resetlock): Likewise.
12795 * libio/getchar.c (getchar): Likewise.
12796 * libio/getchar_u.c (getchar_unlocked): Likewise.
12797 * libio/getwchar.c (getwchar): Likewise.
12798 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12799 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12800 * login/getpt.c (__getpt): Likewise.
12801 * login/tst-utmp.c (main): Likewise.
12802 * malloc/hooks.c (__malloc_check_init): Likewise.
12803 * malloc/malloc.c (__malloc_stats): Likewise.
12804 * malloc/mtrace.c (tr_break): Likewise.
12805 (mtrace): Likewise.
12806 (muntrace): Likewise.
12807 * misc/fstab.c (endfsent): Likewise.
12808 * misc/getclktck.c (__getclktck): Likewise.
12809 * misc/getdtsz.c (__getdtablesize): Likewise.
12810 * misc/gethostid.c (gethostid): Likewise.
12811 * misc/getpagesize.c (__getpagesize): Likewise.
12812 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12813 (__get_nprocs): Likewise.
12814 (__get_phys_pages): Likewise.
12815 (__get_avphys_pages): Likewise.
12816 * misc/getttyent.c (getttyent): Likewise.
12817 (setttyent): Likewise.
12818 (endttyent): Likewise.
12819 * misc/getusershell.c (getusershell): Likewise.
12820 (endusershell): Likewise.
12821 (setusershell): Likewise.
12822 (initshells): Likewise.
12823 * misc/hsearch.c (__hdestroy): Likewise.
12824 * misc/sync.c (sync): Likewise.
12825 * misc/syslog.c (closelog_internal): Likewise.
12826 (closelog): Likewise.
12827 * misc/ttyslot.c (ttyslot): Likewise.
12828 * misc/vhangup.c (vhangup): Likewise.
12829 * posix/fork.c (__fork): Likewise.
12830 * posix/getegid.c (__getegid): Likewise.
12831 * posix/geteuid.c (__geteuid): Likewise.
12832 * posix/getgid.c (__getgid): Likewise.
12833 * posix/getpid.c (__getpid): Likewise.
12834 * posix/getppid.c (__getppid): Likewise.
12835 * posix/getuid.c (__getuid): Likewise.
12836 * posix/pause.c (pause): Likewise.
12837 * posix/setpgrp.c (setpgrp): Likewise.
12838 * posix/setsid.c (__setsid): Likewise.
12839 * posix/test-vfork.c (noop): Likewise.
12840 * resolv/gethnamaddr.c (_endhtent): Likewise.
12841 (_gethtent): Likewise.
12842 (ht_endhostent): Likewise.
12843 (gethostent): Likewise.
12844 (dns_service): Likewise.
12845 * stdlib/drand48.c (drand48): Likewise.
12846 * stdlib/lrand48.c (lrand48): Likewise.
12847 * stdlib/mrand48.c (mrand48): Likewise.
12848 * stdlib/rand.c (rand): Likewise.
12849 * stdlib/random.c (__random): Likewise.
12850 * stdlib/setenv.c (clearenv): Likewise.
12851 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12852 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12853 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12854 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12855 (__get_nprocs): Likewise.
12856 (__get_phys_pages): Likewise.
12857 (__get_avphys_pages): Likewise.
12858 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12859 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12860 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12861 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12862 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12863 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12864 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12865 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12866 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12867 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12868 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12869 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12870 * sysdeps/posix/clock.c (clock): Likewise.
12871 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12872 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12873 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12874 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12875 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12876 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12877 (__get_nprocs_conf): Likewise.
12878 (__get_phys_pages): Likewise.
12879 (__get_avphys_pages): Likewise.
12880 * time/clock.c (clock): Likewise.
12881 * time/tzset.c (__tzname_max): Likewise.
12882
128832013-06-07 Joseph Myers <joseph@codesourcery.com>
12884
12885 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12886 (__bswap_32): Do not use "register".
12887 * crypt/crypt.c (_ufc_doit_r): Likewise.
12888 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12889 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12890 * gmon/gmon.c (__monstartup): Likewise.
12891 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12892 * hurd/hurdmalloc.c (more_memory): Likewise.
12893 (malloc): Likewise.
12894 (free): Likewise.
12895 (realloc): Likewise.
12896 (malloc_fork_prepare): Likewise.
12897 (malloc_fork_parent): Likewise.
12898 (malloc_fork_child): Likewise.
12899 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12900 (_svcauth_des): Likewise.
12901 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12902 * inet/inet_net.c (inet_network): Likewise.
12903 * inet/inet_netof.c (inet_netof): Likewise.
12904 * inet/rcmd.c (__validuser2_sa): Likewise.
12905 * io/fts.c (fts_open): Likewise.
12906 (fts_load): Likewise.
12907 (fts_close): Likewise.
12908 (fts_read): Likewise.
12909 (fts_children): Likewise.
12910 (fts_build): Likewise.
12911 (fts_stat): Likewise.
12912 (fts_sort): Likewise.
12913 (fts_alloc): Likewise.
12914 (fts_lfree): Likewise.
12915 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12916 (_IO_file_xsgetn): Likewise.
12917 (_IO_file_xsgetn_mmap): Likewise.
12918 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12919 (_IO_cookie_write): Likewise.
12920 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12921 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12922 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12923 * malloc/obstack.c (_obstack_begin): Likewise.
12924 (_obstack_begin_1): Likewise.
12925 (_obstack_newchunk): Likewise.
12926 (_obstack_allocated_p): Likewise.
12927 (obstack_free): Likewise.
12928 (_obstack_memory_used): Likewise.
12929 * misc/getttyent.c (getttynam): Likewise.
12930 (getttyent): Likewise.
12931 (skip): Likewise.
12932 (value): Likewise.
12933 * misc/getusershell.c (initshells): Likewise.
12934 * misc/syslog.c (__vsyslog_chk): Likewise.
12935 * misc/ttyslot.c (ttyslot): Likewise.
12936 * nis/nis_hash.c (__nis_hash): Likewise.
12937 * posix/fnmatch_loop.c (FCT): Likewise.
12938 * posix/getconf.c (print_all): Likewise.
12939 (main): Likewise.
12940 * posix/getopt.c (exchange): Likewise.
12941 * posix/glob.c (globfree): Likewise.
12942 (prefix_array): Likewise.
12943 (__glob_pattern_type): Likewise.
12944 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12945 (NS_GET32): Likewise.
12946 (NS_PUT16): Likewise.
12947 (NS_PUT32): Likewise.
12948 * resolv/gethnamaddr.c (getanswer): Likewise.
12949 (gethostbyname2): Likewise.
12950 (gethostbyaddr): Likewise.
12951 (_gethtent): Likewise.
12952 (_gethtbyname2): Likewise.
12953 (_gethtbyaddr): Likewise.
12954 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12955 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12956 * resolv/res_init.c (__res_vinit): Likewise.
12957 (net_mask): Likewise.
12958 * resolv/res_mkquery.c (outchar): Likewise.
12959 (PRINT): Likewise.
12960 * stdio-common/printf_fp.c (outchar): Likewise.
12961 (PRINT): Likewise.
12962 * stdio-common/printf_fphex.c (outchar): Likewise.
12963 (PRINT): Likewise.
12964 * stdio-common/printf_size.c (outchar): Likewise.
12965 (PRINT): Likewise.
12966 * stdio-common/test_rdwr.c (main): Likewise.
12967 * stdio-common/tfformat.c (matches): Likewise.
12968 * stdio-common/vfprintf.c (outchar): Likewise.
12969 (printf_unknown): Likewise.
12970 (buffered_vfprintf): Likewise.
12971 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12972 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12973 (ReadFile): Likewise.
12974 * stdlib/qsort.c (SWAP): Likewise.
12975 (_quicksort): Likewise.
12976 * stdlib/setenv.c (__add_to_environ): Likewise.
12977 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12978 * stdlib/strtol_l.c (__strtol_l): Likewise.
12979 * stdlib/tst-strtod.c (main): Likewise.
12980 * stdlib/tst-strtol.c (main): Likewise.
12981 * stdlib/tst-strtoll.c (main): Likewise.
12982 * string/bits/string2.h (__strcmp_cc): Likewise.
12983 (__strcmp_cg): Likewise.
12984 (__strcspn_c1): Likewise.
12985 (__strcspn_c2): Likewise.
12986 (__strcspn_c3): Likewise.
12987 (__strspn_c1): Likewise.
12988 (__strspn_c2): Likewise.
12989 (__strspn_c3): Likewise.
12990 (__strsep_1c): Likewise.
12991 (__strsep_2c): Likewise.
12992 (__strsep_3c): Likewise.
12993 * string/memccpy.c (__memccpy): Likewise.
12994 * string/stpcpy.c (__stpcpy): Likewise.
12995 * string/strcmp.c (strcmp): Likewise.
12996 * string/strrchr.c (strrchr): Likewise.
12997 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12998 Likewise.
12999 * sysdeps/mach/hurd/getcwd.c
13000 (_hurd_canonicalize_directory_name_internal): Likewise.
13001 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13002 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13003 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13004 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13005 Likewise, in both definitions.
13006 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13007 definitions.
13008 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13009 64] (__bswap_64): Likewise.
13010 * time/test_time.c (main): Likewise.
13011 * time/tzfile.c (__tzfile_read): Likewise.
13012 (__tzfile_compute): Likewise.
13013 * time/tzset.c (__tzset_parse_tz): Likewise.
13014 (tzset_internal): Likewise.
13015 (compute_change): Likewise.
13016 * wcsmbs/wcscat.c (__wcscat): Likewise.
13017 * wcsmbs/wcschr.c (wcschr): Likewise.
13018 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13019 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13020 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13021 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13022 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13023 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13024 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13025 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13026 * wcsmbs/wmemset.c (wmemset): Likewise.
13027
130282013-06-06 Joseph Myers <joseph@codesourcery.com>
13029
13030 * scripts/config.guess: Update to version 2013-05-16.
13031 * scripts/config.sub: Update to version 2013-04-24.
13032 * scripts/install-sh: Update to version 2011-11-20.07.
13033 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13034 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13035
130362013-06-06 Ondřej Bílka <neleai@seznam.cz>
13037
13038 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13039 * elf/sln.c: Likewise.
13040 * hurd/hurd/ioctl.h: Likewise.
13041 * hurd/hurdmalloc.c: Likewise.
13042 * hurd/xattr.c: Likewise.
13043 * include/shlib-compat.h: Likewise.
13044 * inet/ruserpass.c: Likewise.
13045 * libio/iofgets_u.c: Likewise.
13046 * libio/iofgetws_u.c: Likewise.
13047 * locale/programs/ld-identification.c: Likewise.
13048 * locale/programs/ld-time.c: Likewise.
13049 * mach/msg-destroy.c: Likewise.
13050 * nss/nss_files/files-netgrp.c: Likewise.
13051 * resolv/res_data.c: Likewise.
13052 * soft-fp/op-1.h: Likewise.
13053 * soft-fp/op-2.h: Likewise.
13054 * soft-fp/op-4.h: Likewise.
13055 * soft-fp/op-common.h: Likewise.
13056 * stdio-common/printf_fphex.c: Likewise.
13057 * stdlib/strtod_l.c: Likewise.
13058 * sunrpc/rpc/clnt.h: Likewise.
13059 * sysdeps/generic/framestate.c: Likewise.
13060 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13061 * sysdeps/i386/bsd-setjmp.S: Likewise.
13062 * sysdeps/i386/__longjmp.S: Likewise.
13063 * sysdeps/i386/setjmp.S: Likewise.
13064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13065 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13066 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13067 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13068 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13071 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13073 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13074 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13075 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13076 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13080 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13082 * sysdeps/ieee754/support.c: Likewise.
13083 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13084 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13085 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13086 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13087 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13088 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13089 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13090 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13091 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13092 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13093 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13094 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13095 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13096 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13097 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13098 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13099 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13101
131022013-06-05 Ondřej Bílka <neleai@seznam.cz>
13103
13104 * posix/transbug.c: Remove executable mode.
13105
131062013-06-05 Joseph Myers <joseph@codesourcery.com>
13107
13108 * crypt/speeds.c: Remove trailing whitespace.
13109 * dlfcn/default.c: Likewise.
13110 * elf/ifuncdep2.c: Likewise.
13111 * elf/ifuncmain1.c: Likewise.
13112 * elf/ifuncmain1vis.c: Likewise.
13113 * elf/testobj.h: Likewise.
13114 * elf/tst-stackguard1.c: Likewise.
13115 * gmon/sys/gmon.h: Likewise.
13116 * hurd/hurdmsg.c: Likewise.
13117 * hurd/new-fd.c: Likewise.
13118 * hurd/ports-get.c: Likewise.
13119 * iconvdata/ibm1008_420.c: Likewise.
13120 * inet/tst-getni1.c: Likewise.
13121 * inet/tst-getni2.c: Likewise.
13122 * libio/ioungetc.c: Likewise.
13123 * libio/wfiledoalloc.c: Likewise.
13124 * manual/libm-err-tab.pl: Likewise.
13125 * math/w_dremf.c: Likewise.
13126 * misc/ftruncate.c: Likewise.
13127 * posix/bug-glob2.c: Likewise.
13128 * posix/tst-pcre.c: Likewise.
13129 * posix/wait4.c: Likewise.
13130 * resolv/README: Likewise.
13131 * resolv/res_debug.h: Likewise.
13132 * resolv/tst-inet_ntop.c: Likewise.
13133 * setjmp/bug269-setjmp.c: Likewise.
13134 * soft-fp/extended.h: Likewise.
13135 * soft-fp/op-1.h: Likewise.
13136 * soft-fp/op-2.h: Likewise.
13137 * soft-fp/op-4.h: Likewise.
13138 * soft-fp/op-8.h: Likewise.
13139 * soft-fp/testit.c: Likewise.
13140 * stdio-common/bug16.c: Likewise.
13141 * stdlib/random.c: Likewise.
13142 * sunrpc/rpcsvc/rquota.x: Likewise.
13143 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13144 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13145 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13146 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13147 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13148 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13149 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13150 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13151 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13152 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13153 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13170 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13171 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13172 * sysdeps/ieee754/s_lib_version.c: Likewise.
13173 * sysdeps/mach/hurd/check_fds.c: Likewise.
13174 * sysdeps/mach/hurd/getsockname.c: Likewise.
13175 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13176 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13177 * sysdeps/powerpc/bits/link.h: Likewise.
13178 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13179 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13180 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13181 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13182 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13183 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13184 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13185 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13186 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13187 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13188 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13189 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13190 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13191 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13192 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13193 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13194 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13195 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13196 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13197 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13198 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13199 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13200 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13201 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13202 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13203 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13204 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13205 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13206 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13207 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13208 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13209 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13210 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13211 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13212 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13213 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13214 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13215 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13216 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13217 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13218 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13219 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13220 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13221 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13222 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13223 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13224 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13225 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13226 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13227 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13228 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13229 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13230 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13231 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13232 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13233 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13234 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13235 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13236 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13237 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13238 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13239 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13240 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13241 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13242 * sysdeps/powerpc/sysdep.h: Likewise.
13243 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13244 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13245 * sysdeps/sh/dl-trampoline.S: Likewise.
13246 * sysdeps/sh/memset.S: Likewise.
13247 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13248 * sysdeps/sh/strlen.S: Likewise.
13249 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13250 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13251 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13252 * sysdeps/sparc/sparc32/rem.S: Likewise.
13253 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13254 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13255 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13256 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13257 * sysdeps/sparc/sparc32/urem.S: Likewise.
13258 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13259 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13260 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13261 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13262 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13263 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13264 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13265 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13266 * sysdeps/unix/bsd/times.c: Likewise.
13267 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13268 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13272 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13273 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13274 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13275 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13276 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13277 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13278 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13279 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13280 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13281 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13282 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13283 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13284 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13285 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13286 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13287 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13288 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13289 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13290 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13291 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13292 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13293 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13294 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13295 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13296 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13297 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13298 * sysdeps/x86_64/strcspn.S: Likewise.
13299
133002013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13301
13302 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13303 generated file. Regenerate properly from gen-translit.pl.
13304 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13305 locale/C-translit.h.
13306
133072013-06-05 Andreas Schwab <schwab@suse.de>
13308
13309 [BZ #15100]
13310 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13311 week as 6 instead of -1.
13312 * time/tst-strptime.c (day_tests): Add test case.
13313
133142013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13315
13316 * sysdeps/generic/math_private.h
13317 (libc_feholdexcept_setround_53bit): Replace with
13318 libc_feholdsetround_53bit.
13319 (libc_feupdateenv_53bit): Replace with
13320 libc_feresetround_53bit.
13321 (SET_RESTORE_ROUND_53BIT): Adjust.
13322
133232013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13324
13325 * string/test-strchrnul.c: Add copyright header.
13326
13327 * posix/tst-getaddrinfo4.c: Increase test timeout.
13328
133292013-06-03 Carlos O'Donell <carlos@redhat.com>
13330
13331 [BZ #15536]
13332 * math/libm-test.inc (MAX_EXP): Remove
13333 (MIN_EXP): Define.
13334 (ulp): Use MIN_EXP - MANT_DIG.
13335 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13336
133372013-05-31 Carlos O'Donell <carlos@redhat.com>
13338
13339 * po/be.po: Revert last change.
13340 * po/zh_CN.po: Likewise.
13341 * po/header.pot: Likewise.
13342
133432013-05-31 Joseph Myers <joseph@codesourcery.com>
13344
13345 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13346 link-libc-deps to empty as target-specific variable.
13347 * Makerules (link-libc-args): New variable.
13348 (libc-for-link): Likewise.
13349 (link-libc-deps): Likewise.
13350 (lib%.so): Depend on $(link-libc-deps). Link with
13351 $(link-libc-args).
13352 (build-module): Link with $(link-libc-args).
13353 (build-module-asneeded): Likewise.
13354 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13355 list of objects.
13356 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13357 target-specific variable.
13358 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13359 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13360 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13361 libc.
13362 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13363 libc and ld.so.
13364 ($(objpfx)libpcprofile.so): Likewise.
13365 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13366 libc_nonshared.a.
13367 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13368 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13369 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13370 $(link-libc-deps).
13371 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13372 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13373 * login/Makefile ($(objpfx)libutil.so): Likewise.
13374 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13375 * math/Makefile ($(objpfx)libm.so): Likewise.
13376 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13377 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13378 variable instead of depending directly on libc.
13379 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13380 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13381 $(link-libc-deps).
13382 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13383 libc.
13384 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13385 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13386 ($(objpfx)libanl.so): Likewise.
13387 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13388 ld.so.
13389 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13390 $(link-libc-deps).
13391 * sysdeps/i386/fpu/Makefile: Remove file.
13392 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13393 ($(objpfx)libm.so): Remove dependency on ld.so.
13394
133952013-05-30 Patsy Franklin <pfrankli@redhat.com>
13396
13397 [BZ # 15553]
13398 * nis/yp_xdr.c (XDRMAXNAME): Define.
13399 (XDRMAXRECORD): Define.
13400 (xdr_domainname): Use XDRMAXNAME.
13401 (xdr_mapname): Likewise.
13402 (xdr_peername): Likewise.
13403 (xdr_keydat): Use XDRMAXRECORD.
13404 (xdr_valdat): Likewise.
13405
134062013-05-30 Jeff Law <law@redhat.com>
13407
13408 [BZ #14256]
13409 * manual/errno.texi (ESTALE): Update to account for more than
13410 just NFS file systems.
13411 * sysdeps/gnu/errlist.c: Regenerated.
13412
134132013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13414
13415 [BZ #15465]
13416 * elf/Makefile (tests): Add tst-null-argv.
13417 (modules-names): Add tst-null-argv-lib.
13418 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13419 (tst-null-argv-ENV): Set environment for tst-null-argv.
13420 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13421 (RTLD_PROGNAME): New macro.
13422 * elf/tst-null-argv.c: New test case.
13423 * elf/tst-null-argv-lib.c: Library for test case.
13424 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13425 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13426 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13427 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13428 * elf/dl-init.c (call_init): Likewise.
13429 (_dl_init): Likewise.
13430 * elf/dl-load.c (print_search_path): Likewise.
13431 (_dl_map_object): Likewise.
13432 * elf/dl-lookup.c (do_lookup_x): Likewise.
13433 (add_dependency): Likewise.
13434 (_dl_lookup_symbol_x): Likewise.
13435 (_dl_debug_bindings): Likewise.
13436 * elf/dl-open.c (_dl_show_scope): Likewise.
13437 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13438 * elf/dl-version.c (match_symbol): Likewise.
13439 (_dl_check_map_versions): Likewise.
13440 * elf/rtld.c (dl_main): Likewise.
13441 (print_unresolved): Use RTLD_PROGNAME.
13442 (print_missing_version): Likewise.
13443 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13444 (elf_machine_rela): Likewise.
13445 * sysdeps/powerpc/powerpc32/dl-machine.c
13446 (__process_machine_rela): Likewise.
13447 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13448 Likewise.
13449 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13450 Likewise.
13451 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13452 Likewise.
13453 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13454 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13455 Likewise.
13456 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13457 Likewise.
13458 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13459
134602013-05-28 Carlos O'Donell <carlos@redhat.com>
13461
13462 * po/be.po: Add descriptive title.
13463 * po/zh_CN.po: Likewise.
13464 * po/header.pot: Likewise.
13465
134662013-05-28 Mike Frysinger <vapier@gentoo.org>
13467
13468 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13469 error message.
13470 (enlarge_archive): Likewise.
13471
134722013-05-28 Ben North <ben@redfrontdoor.org>
13473
13474 * manual/arith.texi (frexp): It is the magnitude of the return
13475 value which lies in [0.5, 1), not the return value itself.
13476
134772013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13478
13479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13480
134812013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13482
13483 * stdio-common/bug26.c (main): Correct fscanf template.
13484
13485 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13486 declare _dl_skip_args.
13487
13488 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13489 Don't declare.
13490
13491 * manual/platform.texi: Add missing @end deftypefun.
13492
134932013-05-24 Joseph Myers <joseph@codesourcery.com>
13494
13495 [BZ #15529]
13496 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13497 bit of mantissa of 2^16382.
13498 * math/libm-test.inc (hypot_test_data): Add more tests.
13499
13500 * math/libm-test.inc: Add drem and pow10 to list of tested
13501 functions.
13502 (pow10_test): New function.
13503 (drem_test): Likewise.
13504 (drem_test_tonearest): Likewise.
13505 (drem_test_towardzero): Likewise.
13506 (drem_test_downward): Likewise.
13507 (drem_test_upward): Likewise.
13508 (main): Call the new functions.
13509
13510 * math/libm-test.inc (finite_test_data): Remove.
13511 (finite_test): Run tests from isfinite_test_data.
13512 (gamma_test_data): Remove.
13513 (gamma_test): Run tests from lgamma_test_data.
13514 * sysdeps/i386/fpu/libm-test-ulps: Update.
13515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13516
135172013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13518
13519 * manual/platform.texi: Add PowerPC PPR function set documentation.
13520 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13521 implementation.
13522
135232013-05-24 Carlos O'Donell <carlos@redhat.com>
13524
13525 * math/libm-test.inc (MAX_EXP): Define.
13526 (ULPDIFF): Define.
13527 (ulp): New function.
13528 (check_float_internal): Use ULPDIFF.
13529 (cpow_test): Disable failing test.
13530 (check_ulp): Test ulp() implemetnation.
13531 (main): Call check_ulp before starting tests.
13532
135332013-05-24 Joseph Myers <joseph@codesourcery.com>
13534
13535 * math/gen-libm-test.pl (generate_testfile): Do not handle
13536 START_DATA and END_DATA.
13537 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13538 END_DATA.
13539 (acos_tonearest_test_data): Likewise.
13540 (acos_towardzero_test_data): Likewise.
13541 (acos_downward_test_data): Likewise.
13542 (acos_upward_test_data): Likewise.
13543 (acosh_test_data): Likewise.
13544 (asin_test_data): Likewise.
13545 (asin_tonearest_test_data): Likewise.
13546 (asin_towardzero_test_data): Likewise.
13547 (asin_downward_test_data): Likewise.
13548 (asin_upward_test_data): Likewise.
13549 (asinh_test_data): Likewise.
13550 (atan_test_data): Likewise.
13551 (atanh_test_data): Likewise.
13552 (atan2_test_data): Likewise.
13553 (cabs_test_data): Likewise.
13554 (cacos_test_data): Likewise.
13555 (cacosh_test_data): Likewise.
13556 (carg_test_data): Likewise.
13557 (casin_test_data): Likewise.
13558 (casinh_test_data): Likewise.
13559 (catan_test_data): Likewise.
13560 (catanh_test_data): Likewise.
13561 (cbrt_test_data): Likewise.
13562 (ccos_test_data): Likewise.
13563 (ccosh_test_data): Likewise.
13564 (ceil_test_data): Likewise.
13565 (cexp_test_data): Likewise.
13566 (cimag_test_data): Likewise.
13567 (clog_test_data): Likewise.
13568 (clog10_test_data): Likewise.
13569 (conj_test_data): Likewise.
13570 (copysign_test_data): Likewise.
13571 (cos_test_data): Likewise.
13572 (cos_tonearest_test_data): Likewise.
13573 (cos_towardzero_test_data): Likewise.
13574 (cos_downward_test_data): Likewise.
13575 (cos_upward_test_data): Likewise.
13576 (cosh_test_data): Likewise.
13577 (cosh_tonearest_test_data): Likewise.
13578 (cosh_towardzero_test_data): Likewise.
13579 (cosh_downward_test_data): Likewise.
13580 (cosh_upward_test_data): Likewise.
13581 (cpow_test_data): Likewise.
13582 (cproj_test_data): Likewise.
13583 (creal_test_data): Likewise.
13584 (csin_test_data): Likewise.
13585 (csinh_test_data): Likewise.
13586 (csqrt_test_data): Likewise.
13587 (ctan_test_data): Likewise.
13588 (ctan_tonearest_test_data): Likewise.
13589 (ctan_towardzero_test_data): Likewise.
13590 (ctan_downward_test_data): Likewise.
13591 (ctan_upward_test_data): Likewise.
13592 (ctanh_test_data): Likewise.
13593 (ctanh_tonearest_test_data): Likewise.
13594 (ctanh_towardzero_test_data): Likewise.
13595 (ctanh_downward_test_data): Likewise.
13596 (ctanh_upward_test_data): Likewise.
13597 (erf_test_data): Likewise.
13598 (erfc_test_data): Likewise.
13599 (exp_test_data): Likewise.
13600 (exp_tonearest_test_data): Likewise.
13601 (exp_towardzero_test_data): Likewise.
13602 (exp_downward_test_data): Likewise.
13603 (exp_upward_test_data): Likewise.
13604 (exp10_test_data): Likewise.
13605 (exp2_test_data): Likewise.
13606 (expm1_test_data): Likewise.
13607 (fabs_test_data): Likewise.
13608 (fdim_test_data): Likewise.
13609 (finite_test_data): Likewise.
13610 (floor_test_data): Likewise.
13611 (fma_test_data): Likewise.
13612 (fma_towardzero_test_data): Likewise.
13613 (fma_downward_test_data): Likewise.
13614 (fma_upward_test_data): Likewise.
13615 (fmax_test_data): Likewise.
13616 (fmin_test_data): Likewise.
13617 (fmod_test_data): Likewise.
13618 (fpclassify_test_data): Likewise.
13619 (frexp_test_data): Likewise.
13620 (gamma_test_data): Likewise.
13621 (hypot_test_data): Likewise.
13622 (ilogb_test_data): Likewise.
13623 (isfinite_test_data): Likewise.
13624 (isgreater_test_data): Likewise.
13625 (isgreaterequal_test_data): Likewise.
13626 (isinf_test_data): Likewise.
13627 (isless_test_data): Likewise.
13628 (islessequal_test_data): Likewise.
13629 (islessgreater_test_data): Likewise.
13630 (isnan_test_data): Likewise.
13631 (isnormal_test_data): Likewise.
13632 (issignaling_test_data): Likewise.
13633 (isunordered_test_data): Likewise.
13634 (j0_test_data): Likewise.
13635 (j1_test_data): Likewise.
13636 (jn_test_data): Likewise.
13637 (ldexp_test_data): Likewise.
13638 (lgamma_test_data): Likewise.
13639 (lrint_test_data): Likewise.
13640 (lrint_tonearest_test_data): Likewise.
13641 (lrint_towardzero_test_data): Likewise.
13642 (lrint_downward_test_data): Likewise.
13643 (lrint_upward_test_data): Likewise.
13644 (llrint_test_data): Likewise.
13645 (llrint_tonearest_test_data): Likewise.
13646 (llrint_towardzero_test_data): Likewise.
13647 (llrint_downward_test_data): Likewise.
13648 (llrint_upward_test_data): Likewise.
13649 (log_test_data): Likewise.
13650 (log10_test_data): Likewise.
13651 (log1p_test_data): Likewise.
13652 (log2_test_data): Likewise.
13653 (logb_test_data): Likewise.
13654 (logb_downward_test_data): Likewise.
13655 (lround_test_data): Likewise.
13656 (llround_test_data): Likewise.
13657 (modf_test_data): Likewise.
13658 (nearbyint_test_data): Likewise.
13659 (nextafter_test_data): Likewise.
13660 (nexttoward_test_data): Likewise.
13661 (pow_test_data): Likewise.
13662 (pow_tonearest_test_data): Likewise.
13663 (pow_towardzero_test_data): Likewise.
13664 (pow_downward_test_data): Likewise.
13665 (pow_upward_test_data): Likewise.
13666 (remainder_test_data): Likewise.
13667 (remainder_tonearest_test_data): Likewise.
13668 (remainder_towardzero_test_data): Likewise.
13669 (remainder_downward_test_data): Likewise.
13670 (remainder_upward_test_data): Likewise.
13671 (remquo_test_data): Likewise.
13672 (rint_test_data): Likewise.
13673 (rint_tonearest_test_data): Likewise.
13674 (rint_towardzero_test_data): Likewise.
13675 (rint_downward_test_data): Likewise.
13676 (rint_upward_test_data): Likewise.
13677 (round_test_data): Likewise.
13678 (scalb_test_data): Likewise.
13679 (scalbn_test_data): Likewise.
13680 (scalbln_test_data): Likewise.
13681 (signbit_test_data): Likewise.
13682 (sin_test_data): Likewise.
13683 (sin_tonearest_test_data): Likewise.
13684 (sin_towardzero_test_data): Likewise.
13685 (sin_downward_test_data): Likewise.
13686 (sin_upward_test_data): Likewise.
13687 (sincos_test_data): Likewise.
13688 (sinh_test_data): Likewise.
13689 (sinh_tonearest_test_data): Likewise.
13690 (sinh_towardzero_test_data): Likewise.
13691 (sinh_downward_test_data): Likewise.
13692 (sinh_upward_test_data): Likewise.
13693 (sqrt_test_data): Likewise.
13694 (tan_test_data): Likewise.
13695 (tan_tonearest_test_data): Likewise.
13696 (tan_towardzero_test_data): Likewise.
13697 (tan_downward_test_data): Likewise.
13698 (tan_upward_test_data): Likewise.
13699 (tanh_test_data): Likewise.
13700 (tgamma_test_data): Likewise.
13701 (trunc_test_data): Likewise.
13702 (y0_test_data): Likewise.
13703 (y1_test_data): Likewise.
13704 (yn_test_data): Likewise.
13705 (significand_test_data): Likewise.
13706
13707 * math/gen-libm-test.pl (@functions): Remove variable.
13708 (generate_testfile): Don't handle START and END lines.
13709 * math/libm-test.inc (START): New macro.
13710 (END): Likewise.
13711 (END_COMPLEX): Likewise.
13712 (acos_test): Use END macro without arguments.
13713 (acos_test_tonearest): Likewise.
13714 (acos_test_towardzero): Likewise.
13715 (acos_test_downward): Likewise.
13716 (acos_test_upward): Likewise.
13717 (acosh_test): Likewise.
13718 (asin_test): Likewise.
13719 (asin_test_tonearest): Likewise.
13720 (asin_test_towardzero): Likewise.
13721 (asin_test_downward): Likewise.
13722 (asin_test_upward): Likewise.
13723 (asinh_test): Likewise.
13724 (atan_test): Likewise.
13725 (atanh_test): Likewise.
13726 (atan2_test): Likewise.
13727 (cabs_test): Likewise.
13728 (cacos_test): Use END_COMPLEX macro without arguments.
13729 (cacosh_test): Likewise.
13730 (carg_test): Use END macro without arguments.
13731 (casin_test): Use END_COMPLEX macro without arguments.
13732 (casinh_test): Likewise.
13733 (catan_test): Likewise.
13734 (catanh_test): Likewise.
13735 (cbrt_test): Use END macro without arguments.
13736 (ccos_test): Use END_COMPLEX macro without arguments.
13737 (ccosh_test): Likewise.
13738 (ceil_test): Use END macro without arguments.
13739 (cexp_test): Use END_COMPLEX macro without arguments.
13740 (cimag_test): Use END macro without arguments.
13741 (clog_test): Use END_COMPLEX macro without arguments.
13742 (clog10_test): Likewise.
13743 (conj_test): Likewise.
13744 (copysign_test): Use END macro without arguments.
13745 (cos_test): Likewise.
13746 (cos_test_tonearest): Likewise.
13747 (cos_test_towardzero): Likewise.
13748 (cos_test_downward): Likewise.
13749 (cos_test_upward): Likewise.
13750 (cosh_test): Likewise.
13751 (cosh_test_tonearest): Likewise.
13752 (cosh_test_towardzero): Likewise.
13753 (cosh_test_downward): Likewise.
13754 (cosh_test_upward): Likewise.
13755 (cpow_test): Use END_COMPLEX macro without arguments.
13756 (cproj_test): Likewise.
13757 (creal_test): Use END macro without arguments.
13758 (csin_test): Use END_COMPLEX macro without arguments.
13759 (csinh_test): Likewise.
13760 (csqrt_test): Likewise.
13761 (ctan_test): Likewise.
13762 (ctan_test_tonearest): Likewise.
13763 (ctan_test_towardzero): Likewise.
13764 (ctan_test_downward): Likewise.
13765 (ctan_test_upward): Likewise.
13766 (ctanh_test): Likewise.
13767 (ctanh_test_tonearest): Likewise.
13768 (ctanh_test_towardzero): Likewise.
13769 (ctanh_test_downward): Likewise.
13770 (ctanh_test_upward): Likewise.
13771 (erf_test): Use END macro without arguments.
13772 (erfc_test): Likewise.
13773 (exp_test): Likewise.
13774 (exp_test_tonearest): Likewise.
13775 (exp_test_towardzero): Likewise.
13776 (exp_test_downward): Likewise.
13777 (exp_test_upward): Likewise.
13778 (exp10_test): Likewise.
13779 (exp2_test): Likewise.
13780 (expm1_test): Likewise.
13781 (fabs_test): Likewise.
13782 (fdim_test): Likewise.
13783 (finite_test): Likewise.
13784 (floor_test): Likewise.
13785 (fma_test): Likewise.
13786 (fma_test_towardzero): Likewise.
13787 (fma_test_downward): Likewise.
13788 (fma_test_upward): Likewise.
13789 (fmax_test): Likewise.
13790 (fmin_test): Likewise.
13791 (fmod_test): Likewise.
13792 (fpclassify_test): Likewise.
13793 (frexp_test): Likewise.
13794 (gamma_test): Likewise.
13795 (hypot_test): Likewise.
13796 (ilogb_test): Likewise.
13797 (isfinite_test): Likewise.
13798 (isgreater_test): Likewise.
13799 (isgreaterequal_test): Likewise.
13800 (isinf_test): Likewise.
13801 (isless_test): Likewise.
13802 (islessequal_test): Likewise.
13803 (islessgreater_test): Likewise.
13804 (isnan_test): Likewise.
13805 (isnormal_test): Likewise.
13806 (issignaling_test): Likewise.
13807 (isunordered_test): Likewise.
13808 (j0_test): Likewise.
13809 (j1_test): Likewise.
13810 (jn_test): Likewise.
13811 (ldexp_test): Likewise.
13812 (lgamma_test): Likewise.
13813 (lrint_test): Likewise.
13814 (lrint_test_tonearest): Likewise.
13815 (lrint_test_towardzero): Likewise.
13816 (lrint_test_downward): Likewise.
13817 (lrint_test_upward): Likewise.
13818 (llrint_test): Likewise.
13819 (llrint_test_tonearest): Likewise.
13820 (llrint_test_towardzero): Likewise.
13821 (llrint_test_downward): Likewise.
13822 (llrint_test_upward): Likewise.
13823 (log_test): Likewise.
13824 (log10_test): Likewise.
13825 (log1p_test): Likewise.
13826 (log2_test): Likewise.
13827 (logb_test): Likewise.
13828 (logb_test_downward): Likewise.
13829 (lround_test): Likewise.
13830 (llround_test): Likewise.
13831 (modf_test): Likewise.
13832 (nearbyint_test): Likewise.
13833 (nextafter_test): Likewise.
13834 (nexttoward_test): Likewise.
13835 (pow_test): Likewise.
13836 (pow_test_tonearest): Likewise.
13837 (pow_test_towardzero): Likewise.
13838 (pow_test_downward): Likewise.
13839 (pow_test_upward): Likewise.
13840 (remainder_test): Likewise.
13841 (remainder_test_tonearest): Likewise.
13842 (remainder_test_towardzero): Likewise.
13843 (remainder_test_downward): Likewise.
13844 (remainder_test_upward): Likewise.
13845 (remquo_test): Likewise.
13846 (rint_test): Likewise.
13847 (rint_test_tonearest): Likewise.
13848 (rint_test_towardzero): Likewise.
13849 (rint_test_downward): Likewise.
13850 (rint_test_upward): Likewise.
13851 (round_test): Likewise.
13852 (scalb_test): Likewise.
13853 (scalbn_test): Likewise.
13854 (scalbln_test): Likewise.
13855 (signbit_test): Likewise.
13856 (sin_test): Likewise.
13857 (sin_test_tonearest): Likewise.
13858 (sin_test_towardzero): Likewise.
13859 (sin_test_downward): Likewise.
13860 (sin_test_upward): Likewise.
13861 (sincos_test): Likewise.
13862 (sinh_test): Likewise.
13863 (sinh_test_tonearest): Likewise.
13864 (sinh_test_towardzero): Likewise.
13865 (sinh_test_downward): Likewise.
13866 (sinh_test_upward): Likewise.
13867 (sqrt_test): Likewise.
13868 (tan_test): Likewise.
13869 (tan_test_tonearest): Likewise.
13870 (tan_test_towardzero): Likewise.
13871 (tan_test_downward): Likewise.
13872 (tan_test_upward): Likewise.
13873 (tanh_test): Likewise.
13874 (tgamma_test): Likewise.
13875 (trunc_test): Likewise.
13876 (y0_test): Likewise.
13877 (y1_test): Likewise.
13878 (yn_test): Likewise.
13879 (significand_test): Likewise.
13880
138812013-05-24 Ondřej Bílka <neleai@seznam.cz>
13882
13883 [BZ #15381]
13884 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13885
138862013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13887
13888 [BZ #14894]
13889 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13890 __ppc_mdoio and __ppc_mdoom.
13891 * manual/platform.texi: Document new functions __ppc_yield,
13892 __ppc_mdoio and __ppc_mdoom.
13893
138942013-05-22 Carlos O'Donell <carlos@redhat.com>
13895
13896 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13897 (main): Mention "tls" pseudo-hwcap is legacy.
13898 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13899
139002013-05-22 Joseph Myers <joseph@codesourcery.com>
13901
13902 * math/gen-libm-test.pl (parse_args): Output only string of
13903 arguments as text for test name, not full call or descriptions of
13904 tests for extra outputs.
13905 (generate_testfile): Do not pass function name to parse_args.
13906 Generate this_func variable from START.
13907 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13908 field to arg_str.
13909 (struct test_ff_f_data): Likewise.
13910 (test_ff_f_data_nexttoward): Likewise.
13911 (struct test_fi_f_data): Likewise.
13912 (struct test_fl_f_data): Likewise.
13913 (struct test_if_f_data): Likewise.
13914 (struct test_fff_f_data): Likewise.
13915 (struct test_c_f_data): Likewise.
13916 (struct test_f_f1_data): Likewise. Remove field extra_name.
13917 (struct test_fF_f1_data): Likewise.
13918 (struct test_ffI_f1_data): Likewise.
13919 (struct test_c_c_data): Rename test_name field to arg_str.
13920 (struct test_cc_c_data): Likewise.
13921 (struct test_f_i_data): Likewise.
13922 (struct test_ff_i_data): Likewise.
13923 (struct test_f_l_data): Likewise.
13924 (struct test_f_L_data): Likewise.
13925 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13926 and extra2_name.
13927 (COMMON_TEST_SETUP): New macro.
13928 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13929 (COMMON_TEST_CLEANUP): Likewise.
13930 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13931 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13932 macros.
13933 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13934 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13935 macros.
13936 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13937 (RUN_TEST_fff_f): Take argument string. Call new setup and
13938 cleanup macros.
13939 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13940 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13941 macros.
13942 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13943 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13944 macros.
13945 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13946 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13947 cleanup macros.
13948 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13949 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13950 cleanup macros.
13951 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13952 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13953 cleanup macros.
13954 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13955 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13956 macros.
13957 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13958 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13959 macros.
13960 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13961 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13962 macros.
13963 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13964 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13965 cleanup macros.
13966 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13967 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13968 cleanup macros.
13969 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13970 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13971 macros.
13972 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13973 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13974 cleanup macros.
13975 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13976 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13977 macros.
13978 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13979 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13980 macros.
13981 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13982 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13983 cleanup macros.
13984 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13985
139862013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13987
13988 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13989 to _sifields.sigfault.
13990 (si_addr_lsb): Define new macro.
13991 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13992 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13993 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13994
139952013-05-03 Carlos O'Donell <carlos at redhat.com>
13996
13997 [BZ #15441]
13998 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13999 returns -1.
14000 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14001 null return -1.
14002 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14003 loading the domain.
14004
140052013-05-22 Joseph Myers <joseph@codesourcery.com>
14006
14007 * math/gen-libm-test.pl (parse_args): Do not include expected
14008 result in test name.
14009 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14011 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14012 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14013 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14015
140162013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14017
14018 * benchtests/Makefile: Sort function entries.
14019
14020 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14021 tanh, asinh, acosh, atanh.
14022 * benchtests/acos-inputs: New file.
14023 * benchtests/acosh-inputs: New file.
14024 * benchtests/asin-inputs: New file.
14025 * benchtests/asinh-inputs: New file.
14026 * benchtests/atanh-inputs: New file.
14027 * benchtests/cosh-inputs: New file.
14028 * benchtests/log-inputs: New file.
14029 * benchtests/sinh-inputs: New file.
14030 * benchtests/tanh-inputs: New file.
14031
140322013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14033
14034 [BZ #15339]
14035 * posix/tst-getaddrinfo4.c: New test.
14036 * posix/Makefile (tests): Add it.
14037
140382013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14039
14040 [BZ #15339]
14041 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14042 when no services were used.
14043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14044 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14045
140462013-05-21 Andreas Schwab <schwab@suse.de>
14047
14048 [BZ #15014]
14049 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14050 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14051 successful.
14052 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14053 redundant variable declarations and reallocation of buffer when
14054 parsing as IPv6 address. Always set NSS status when called from
14055 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14056 buffer too small. Correct computation of needed size.
14057 * nss/Makefile (tests): Add test-digits-dots.
14058 * nss/test-digits-dots.c: New test.
14059
140602013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14061
14062 * benchtests/Makefile: Remove instructions for adding
14063 benchmark tests.
14064 * benchtests/README: New file to explain how to execute and
14065 enhance the benchmark tests.
14066
140672013-05-21 Andreas Schwab <schwab@suse.de>
14068
14069 [BZ #15493]
14070 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14071 * setjmp/tst-sigsetjmp.c: New test.
14072
140732013-05-20 Ondřej Bílka <neleai@seznam.cz>
14074
14075 * sysdeps/x86_64/memset.S (memset): New implementation.
14076 (__bzero): Likewise.
14077 (__memset_tail): New function.
14078
140792013-05-20 Ondřej Bílka <neleai@seznam.cz>
14080
14081 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14082 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14083 __memcpy_sse2_unaligned ifunc selection.
14084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14085 Add memcpy-sse2-unaligned.S.
14086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14087 Add: __memcpy_sse2_unaligned.
14088
140892013-05-19 Joseph Myers <joseph@codesourcery.com>
14090
14091 [BZ #15490]
14092 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14093 math_force_eval before restoring floating-point envrionment.
14094 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14095 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14096 Likewise.
14097 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14098 <math_private.h>.
14099 (__nearbyintl): Use math_force_eval before restoring
14100 floating-point environment.
14101 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14102
14103 * math/gen-libm-test.pl (special_functions): Remove.
14104 (parse_args): Don't handle TEST_extra. Handle functions with no
14105 return value.
14106 * math/libm-test.inc (struct test_sincos_data): Replace with
14107 struct test_fFF_11_data.
14108 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14109 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14110 (sincos_test_data): Change element type to struct
14111 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14112 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14113 RUN_TEST_LOOP_sincos.
14114 * math/README.libm-test: Don't mention special handling of
14115 individual functions.
14116 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14117 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14118 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14119 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14120 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14122
14123 * math/gen-libm-test.pl (get_variable): Remove function.
14124 (parse_args): Don't show pointer parameters to call in test
14125 names. Use "extra output N" in test names for extra outputs
14126 rather than naming variables.
14127
141282013-05-18 Joseph Myers <joseph@codesourcery.com>
14129
14130 [BZ #15488]
14131 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14132 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14133 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14134 double tests.
14135 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14136 disable.
14137 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14138 check_long_double.
14139
14140 * math/gen-libm-test.pl (@tests): Remove variable.
14141 ($count): Likewise.
14142 (new_test): Remove function.
14143 (show_exceptions): New function.
14144 (special_functions): Use show_exceptions instead of new_test.
14145 (parse_args): Likewise.
14146 (generate_testfile): Pass only function name in generated call to
14147 print_max_error or print_complex_max_error.
14148 (get_ulps): Do not handle complex tests specially.
14149 (output_test): Rename to ...
14150 (get_all_ulps_for_test): ... this. Return a string rather than
14151 printing to a file. Require ulps to be present.
14152 (output_ulps): Generate arrays rather than #defines.
14153 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14154 (struct ulp_data): New type.
14155 (BUILD_COMPLEX_ULP): Remove macro.
14156 (compare_ulp_data): New function.
14157 (find_ulps): Likewise.
14158 (find_test_ulps): Likewise.
14159 (find_function_ulps): Likewise.
14160 (find_complex_function_ulps): Likewise.
14161 (print_max_error): Determine allowed ulps using
14162 find_function_ulps.
14163 (print_complex_max_error): Determine allowed ulps using
14164 find_complex_function_ulps.
14165 (check_float_internal): Determine max ulps using find_test_ulps.
14166 (check_float): Do not take max_ulp parameter. Update call to
14167 check_float_internal.
14168 (check_complex): Likewise.
14169 (check_int): Do not take max_ulp parameter.
14170 (check_long): Likewise.
14171 (check_bool): Likewise.
14172 (check_longlong): Likewise.
14173 (struct test_f_f_data): Remove max_ulp field.
14174 (struct test_ff_f_data): Likewise.
14175 (struct test_ff_f_data_nexttoward): Likewise.
14176 (struct test_fi_f_data): Likewise.
14177 (struct test_fl_f_data): Likewise.
14178 (struct test_if_f_data): Likewise.
14179 (struct test_fff_f_data): Likewise.
14180 (struct test_c_f_data): Likewise.
14181 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14182 (struct test_fF_f1_data): Likewise.
14183 (struct test_ffI_f1_data): Likewise.
14184 (struct test_c_c_data): Remove max_ulp field.
14185 (struct test_cc_c_data): Likewise.
14186 (struct test_f_i_data): Likewise.
14187 (struct test_ff_i_data): Likewise.
14188 (struct test_f_l_data): Likewise.
14189 (struct test_f_L_data): Likewise.
14190 (struct test_sincos_data): Likewise.
14191 (RUN_TEST_f_f): Do not handle ulps.
14192 (RUN_TEST_LOOP_f_f): Likewise.
14193 (RUN_TEST_2_f): Likewise.
14194 (RUN_TEST_LOOP_2_f): Likewise.
14195 (RUN_TEST_fff_f): Likewise.
14196 (RUN_TEST_LOOP_fff_f): Likewise.
14197 (RUN_TEST_c_f): Likewise.
14198 (RUN_TEST_LOOP_c_f): Likewise.
14199 (RUN_TEST_f_f1): Likewise.
14200 (RUN_TEST_LOOP_f_f1): Likewise.
14201 (RUN_TEST_fF_f1): Likewise.
14202 (RUN_TEST_LOOP_fF_f1): Likewise.
14203 (RUN_TEST_fI_f1): Likewise.
14204 (RUN_TEST_LOOP_fI_f1): Likewise.
14205 (RUN_TEST_ffI_f1): Likewise.
14206 (RUN_TEST_LOOP_ffI_f1): Likewise.
14207 (RUN_TEST_c_c): Likewise.
14208 (RUN_TEST_LOOP_c_c): Likewise.
14209 (RUN_TEST_cc_c): Likewise.
14210 (RUN_TEST_LOOP_cc_c): Likewise.
14211 (RUN_TEST_f_i): Likewise.
14212 (RUN_TEST_LOOP_f_i): Likewise.
14213 (RUN_TEST_f_i_tg): Likewise.
14214 (RUN_TEST_LOOP_f_i_tg): Likewise.
14215 (RUN_TEST_ff_i_tg): Likewise.
14216 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14217 (RUN_TEST_f_b): Likewise.
14218 (RUN_TEST_LOOP_f_b): Likewise.
14219 (RUN_TEST_f_b_tg): Likewise.
14220 (RUN_TEST_LOOP_f_b_tg): Likewise.
14221 (RUN_TEST_f_l): Likewise.
14222 (RUN_TEST_LOOP_f_l): Likewise.
14223 (RUN_TEST_f_L): Likewise.
14224 (RUN_TEST_LOOP_f_L): Likewise.
14225 (RUN_TEST_sincos): Likewise.
14226 (RUN_TEST_LOOP_sincos): Likewise.
14227
142282013-05-17 Joseph Myers <joseph@codesourcery.com>
14229
14230 [BZ #15480]
14231 [BZ #15485]
14232 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14233 main case of finite arguments, set rounding mode to FE_TONEAREST
14234 and discard exceptions.
14235 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14236 exceptions.
14237 (remainder_tonearest_test_data): New variable.
14238 (remainder_test_tonearest): New function.
14239 (remainder_towardzero_test_data): New variable.
14240 (remainder_test_towardzero): New function.
14241 (remainder_downward_test_data): New variable.
14242 (remainder_test_downward): New function.
14243 (remainder_upward_test_data): New variable.
14244 (remainder_test_upward): New function.
14245 (main): Call the new test functions.
14246
14247 * math/libm-test.inc (struct test_f_f1_data): Remove field
14248 extra_init.
14249 (struct test_fF_f1_data): Likewise.
14250 (struct test_ffI_f1_data): Likewise.
14251 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14252 based on value of EXTRA_EXPECTED.
14253 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14254 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14255 EXTRA_VAR based on value of EXTRA_EXPECTED.
14256 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14257 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14258 EXTRA_VAR based on value of EXTRA_EXPECTED.
14259 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14260 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14261 EXTRA_VAR based on value of EXTRA_EXPECTED.
14262 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14263 * math/gen-libm-test.pl (parse_args): Don't output initializers
14264 for extra output values.
14265
14266 * math/libm-test.inc (check_int): Expect result to be exactly
14267 equal to expected value and do not handle ulps.
14268 (check_long): Likewise.
14269 (check_longlong): Likewise.
14270
14271 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14272 exceptions.
14273 (cimag_test_data): Likewise.
14274 (conj_test_data): Likewise.
14275 (copysign_test_data): Likewise.
14276 (cproj_test_data): Likewise.
14277 (creal_test_data): Likewise.
14278 (fabs_test_data): Likewise.
14279 (fdim_test_data): Likewise.
14280 (finite_test_data): Likewise.
14281 (floor_test_data): Likewise.
14282 (fmax_test_data): Likewise.
14283 (fmin_test_data): Likewise.
14284 (fmod_test_data): Likewise.
14285 (fpclassify_test_data): Likewise.
14286 (frexp_test_data): Likewise.
14287 (ilogb_test_data): Likewise.
14288 (isfinite_test_data): Likewise.
14289 (isgreater_test_data): Likewise.
14290 (isgreaterequal_test_data): Likewise.
14291 (isinf_test_data): Likewise.
14292 (isless_test_data): Likewise.
14293 (islessequal_test_data): Likewise.
14294 (islessgreater_test_data): Likewise.
14295 (isnan_test_data): Likewise.
14296 (isnormal_test_data): Likewise.
14297 (issignaling_test_data): Likewise.
14298 (isunordered_test_data): Likewise.
14299 (ldexp_test_data): Likewise.
14300 (lrint_test_data): Likewise.
14301 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14302 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14303 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14304 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14305 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14306 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14307 test input.
14308 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14309 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14310 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14311 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14312 that test input.
14313 (lrint_downward_test_data): Test for "inexact" exceptions.
14314 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14315 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14316 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14317 test input.
14318 (lrint_upward_test_data): Test for "inexact" exceptions.
14319 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14320 test input.
14321 (llrint_test_data): Test for "inexact" exceptions.
14322 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14323 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14324 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14325 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14326 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14327 (llrint_downward_test_data): Test for "inexact" exceptions.
14328 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14329 (llrint_upward_test_data): Test for "inexact" exceptions.
14330 (logb_test_data): Likewise.
14331 (logb_downward_test_data): Likewise.
14332 (nextafter_test_data): Likewise.
14333 (nexttoward_test_data): Likewise.
14334 (remainder_test_data): Likewise.
14335 (remquo_test_data): Likewise.
14336 (scalbn_test_data): Likewise.
14337 (scalbln_test_data): Likewise.
14338 (signbit_test_data): Likewise.
14339 (sqrt_test_data): Likewise.
14340 (significand_test_data): Likewise.
14341
143422013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14343
14344 [BZ #15424]
14345 * benchtests/bench-modf.c (struct args): Mark arg0 as
14346 volatile.
14347 * scripts/bench.pl: Mark members of struct args as volatile.
14348
143492013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14350
14351 [BZ # 15497]
14352 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14353 negative infinity on POWER6 or lower.
14354 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14355
143562013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14357
14358 [BZ #15442]
14359 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14360 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14361 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14362 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14363 (_FP_SETQNAN): New macro.
14364 (_FP_SETQNAN_SEMIRAW): Likewise.
14365 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14366 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14367 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14368 (FP_EXTEND): Use _FP_FRAC_SNANP.
14369 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14370 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14371 into account.
14372 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14373 New macro.
14374 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14375 Likewise.
14376
143772013-05-16 Joseph Myers <joseph@codesourcery.com>
14378
14379 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14380 with DIVIDE_BY_ZERO_EXCEPTION.
14381 (gamma_test_data): Likewise.
14382 (lgamma_test_data): Likewise.
14383 (log_test_data): Likewise.
14384 (log10_test_data): Likewise.
14385 (log2_test_data): Likewise.
14386 (tgamma_test_data): Likewise.
14387
14388 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14389 (acos_test_tonearest): Likewise.
14390 (acos_test_towardzero): Likewise.
14391 (acos_test_downward): Likewise.
14392 (acos_test_upward): Likewise.
14393 (acosh_test): Likewise.
14394 (asin_test): Likewise.
14395 (asin_test_tonearest): Likewise.
14396 (asin_test_towardzero): Likewise.
14397 (asin_test_downward): Likewise.
14398 (asin_test_upward): Likewise.
14399 (asinh_test): Likewise.
14400 (atan_test): Likewise.
14401 (atanh_test): Likewise.
14402 (atan2_test): Likewise.
14403 (cabs_test): Likewise.
14404 (cacos_test): Likewise.
14405 (cacosh_test): Likewise.
14406 (casin_test): Likewise.
14407 (casinh_test): Likewise.
14408 (catan_test): Likewise.
14409 (catanh_test): Likewise.
14410 (cbrt_test): Likewise.
14411 (ccos_test): Likewise.
14412 (ccosh_test): Likewise.
14413 (cexp_test): Likewise.
14414 (clog_test): Likewise.
14415 (clog10_test): Likewise.
14416 (cos_test): Likewise.
14417 (cos_test_tonearest): Likewise.
14418 (cos_test_towardzero): Likewise.
14419 (cos_test_downward): Likewise.
14420 (cos_test_upward): Likewise.
14421 (cosh_test): Likewise.
14422 (cosh_test_tonearest): Likewise.
14423 (cosh_test_towardzero): Likewise.
14424 (cosh_test_downward): Likewise.
14425 (cosh_test_upward): Likewise.
14426 (cpow_test): Likewise.
14427 (csin_test): Likewise.
14428 (csinh_test): Likewise.
14429 (csqrt_test): Likewise.
14430 (ctan_test): Likewise.
14431 (ctan_test_tonearest): Likewise.
14432 (ctan_test_towardzero): Likewise.
14433 (ctan_test_downward): Likewise.
14434 (ctan_test_upward): Likewise.
14435 (ctanh_test): Likewise.
14436 (ctanh_test_tonearest): Likewise.
14437 (ctanh_test_towardzero): Likewise.
14438 (ctanh_test_downward): Likewise.
14439 (ctanh_test_upward): Likewise.
14440 (erf_test): Likewise.
14441 (erfc_test): Likewise.
14442 (exp_test): Likewise.
14443 (exp_test_tonearest): Likewise.
14444 (exp_test_towardzero): Likewise.
14445 (exp_test_downward): Likewise.
14446 (exp_test_upward): Likewise.
14447 (exp10_test): Likewise.
14448 (exp2_test): Likewise.
14449 (expm1_test): Likewise.
14450 (fmod_test): Likewise.
14451 (gamma_test): Likewise.
14452 (hypot_test): Likewise.
14453 (j0_test): Likewise.
14454 (j1_test): Likewise.
14455 (jn_test): Likewise.
14456 (lgamma_test): Likewise.
14457 (log_test): Likewise.
14458 (log10_test): Likewise.
14459 (log1p_test): Likewise.
14460 (log2_test): Likewise.
14461 (logb_test_downward): Likewise.
14462 (pow_test): Likewise.
14463 (pow_test_tonearest): Likewise.
14464 (pow_test_towardzero): Likewise.
14465 (pow_test_downward): Likewise.
14466 (pow_test_upward): Likewise.
14467 (remainder_test): Likewise.
14468 (remquo_test): Likewise.
14469 (sin_test): Likewise.
14470 (sin_test_tonearest): Likewise.
14471 (sin_test_towardzero): Likewise.
14472 (sin_test_downward): Likewise.
14473 (sin_test_upward): Likewise.
14474 (sincos_test): Likewise.
14475 (sinh_test): Likewise.
14476 (sinh_test_tonearest): Likewise.
14477 (sinh_test_towardzero): Likewise.
14478 (sinh_test_downward): Likewise.
14479 (sinh_test_upward): Likewise.
14480 (sqrt_test): Likewise.
14481 (tan_test): Likewise.
14482 (tan_test_tonearest): Likewise.
14483 (tan_test_towardzero): Likewise.
14484 (tan_test_downward): Likewise.
14485 (tan_test_upward): Likewise.
14486 (tanh_test): Likewise.
14487 (tgamma_test): Likewise.
14488 (y0_test): Likewise.
14489 (y1_test): Likewise.
14490 (yn_test): Likewise.
14491
14492 * math/gen-libm-test.pl (adjust_arg): Remove function.
14493 (special_function): Remove argument $in_func. Only handle
14494 generating output for tables of tests, not inside functions.
14495 (parse_args): Likewise.
14496 (generate_testfile): Remove variable $in_func. Update call to
14497 parse_args.
14498 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14499 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14500 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14501 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14502 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14503 (MAX_VALUE_INIT): Rename macro to max_value.
14504 (MIN_VALUE_INIT): Rename macro to min_value.
14505 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14506 (plus_zero): Remove variable.
14507 (minus_zero): Likewise.
14508 (plus_infty): Likewise.
14509 (minus_infty): Likewise.
14510 (qnan_value): Likewise.
14511 (max_value): Likewise.
14512 (min_value): Likewise.
14513 (min_subnorm_value): Likewise.
14514
145152013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14516
14517 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14518 uint64_t or uint32_t usage.
14519 * crypt/sha256-block.c: Likewise.
14520 * crypt/sha256-crypt.c: Likewise.
14521 * crypt/sha256.c: Likewise.
14522 * crypt/sha512-block.c: Likewise.
14523 * crypt/sha512-crypt.c: Likewise.
14524 * crypt/sha512.c: Likewise.
14525 * debug/backtrace-tst.c: Likewise.
14526 * debug/pcprofiledump.c: Likewise.
14527 * elf/cache.c: Likewise.
14528 * elf/dl-cache.c: Likewise.
14529 * elf/dl-misc.c: Likewise.
14530 * elf/dl-profile.c: Likewise.
14531 * elf/dl-support.c: Likewise.
14532 * elf/ldconfig.c: Likewise.
14533 * elf/sprof.c: Likewise.
14534 * iconv/dummy-repertoire.c: Likewise.
14535 * iconv/iconv_charmap.c: Likewise.
14536 * iconv/skeleton.c: Likewise.
14537 * iconvdata/8bit-generic.c: Likewise.
14538 * iconvdata/cp737.h: Likewise.
14539 * iconvdata/cp775.h: Likewise.
14540 * iconvdata/ibm1008.h: Likewise.
14541 * iconvdata/ibm1025.h: Likewise.
14542 * iconvdata/ibm1046.h: Likewise.
14543 * iconvdata/ibm1097.h: Likewise.
14544 * iconvdata/ibm1112.h: Likewise.
14545 * iconvdata/ibm1122.h: Likewise.
14546 * iconvdata/ibm1123.h: Likewise.
14547 * iconvdata/ibm1124.h: Likewise.
14548 * iconvdata/ibm1129.h: Likewise.
14549 * iconvdata/ibm1130.h: Likewise.
14550 * iconvdata/ibm1132.h: Likewise.
14551 * iconvdata/ibm1133.h: Likewise.
14552 * iconvdata/ibm1137.h: Likewise.
14553 * iconvdata/ibm1140.h: Likewise.
14554 * iconvdata/ibm1141.h: Likewise.
14555 * iconvdata/ibm1142.h: Likewise.
14556 * iconvdata/ibm1143.h: Likewise.
14557 * iconvdata/ibm1144.h: Likewise.
14558 * iconvdata/ibm1145.h: Likewise.
14559 * iconvdata/ibm1146.h: Likewise.
14560 * iconvdata/ibm1147.h: Likewise.
14561 * iconvdata/ibm1148.h: Likewise.
14562 * iconvdata/ibm1149.h: Likewise.
14563 * iconvdata/ibm1153.h: Likewise.
14564 * iconvdata/ibm1154.h: Likewise.
14565 * iconvdata/ibm1155.h: Likewise.
14566 * iconvdata/ibm1156.h: Likewise.
14567 * iconvdata/ibm1157.h: Likewise.
14568 * iconvdata/ibm1158.h: Likewise.
14569 * iconvdata/ibm1160.h: Likewise.
14570 * iconvdata/ibm1161.h: Likewise.
14571 * iconvdata/ibm1162.h: Likewise.
14572 * iconvdata/ibm1163.h: Likewise.
14573 * iconvdata/ibm1164.h: Likewise.
14574 * iconvdata/ibm1166.h: Likewise.
14575 * iconvdata/ibm1167.h: Likewise.
14576 * iconvdata/ibm12712.h: Likewise.
14577 * iconvdata/ibm1390.h: Likewise.
14578 * iconvdata/ibm1399.h: Likewise.
14579 * iconvdata/ibm16804.h: Likewise.
14580 * iconvdata/ibm4517.h: Likewise.
14581 * iconvdata/ibm4899.h: Likewise.
14582 * iconvdata/ibm4909.h: Likewise.
14583 * iconvdata/ibm4971.h: Likewise.
14584 * iconvdata/ibm5347.h: Likewise.
14585 * iconvdata/ibm803.h: Likewise.
14586 * iconvdata/ibm856.h: Likewise.
14587 * iconvdata/ibm901.h: Likewise.
14588 * iconvdata/ibm902.h: Likewise.
14589 * iconvdata/ibm9030.h: Likewise.
14590 * iconvdata/ibm9066.h: Likewise.
14591 * iconvdata/ibm921.h: Likewise.
14592 * iconvdata/ibm922.h: Likewise.
14593 * iconvdata/ibm9448.h: Likewise.
14594 * iconvdata/isiri-3342.h: Likewise.
14595 * iconvdata/jis0201.h: Likewise.
14596 * include/link.h: Likewise.
14597 * include/netdb.h: Likewise.
14598 * inet/check_native.c: Likewise.
14599 * inet/check_pf.c: Likewise.
14600 * inet/getipv4sourcefilter.c: Likewise.
14601 * inet/getnameinfo.c: Likewise.
14602 * inet/getsourcefilter.c: Likewise.
14603 * inet/htonl.c: Likewise.
14604 * inet/setipv4sourcefilter.c: Likewise.
14605 * inet/setsourcefilter.c: Likewise.
14606 * inet/test-inet6_opt.c: Likewise.
14607 * inet/tst-network.c: Likewise.
14608 * locale/C-collate.c: Likewise.
14609 * locale/C-ctype.c: Likewise.
14610 * locale/C-time.c: Likewise.
14611 * locale/C-translit.h: Likewise.
14612 * locale/loadarchive.c: Likewise.
14613 * locale/programs/3level.h: Likewise.
14614 * locale/programs/charmap.c: Likewise.
14615 * locale/programs/charmap.h: Likewise.
14616 * locale/programs/ld-address.c: Likewise.
14617 * locale/programs/ld-collate.c: Likewise.
14618 * locale/programs/ld-ctype.c: Likewise.
14619 * locale/programs/ld-identification.c: Likewise.
14620 * locale/programs/ld-measurement.c: Likewise.
14621 * locale/programs/ld-messages.c: Likewise.
14622 * locale/programs/ld-monetary.c: Likewise.
14623 * locale/programs/ld-name.c: Likewise.
14624 * locale/programs/ld-numeric.c: Likewise.
14625 * locale/programs/ld-paper.c: Likewise.
14626 * locale/programs/ld-telephone.c: Likewise.
14627 * locale/programs/ld-time.c: Likewise.
14628 * locale/programs/linereader.c: Likewise.
14629 * locale/programs/locale.c: Likewise.
14630 * locale/programs/locarchive.c: Likewise.
14631 * locale/programs/locfile.h: Likewise.
14632 * locale/programs/repertoire.c: Likewise.
14633 * locale/programs/simple-hash.c: Likewise.
14634 * locale/programs/simple-hash.h: Likewise.
14635 * malloc/memusage.c: Likewise.
14636 * malloc/memusagestat.c: Likewise.
14637 * nis/nis_defaults.c: Likewise.
14638 * nis/nis_hash.c: Likewise.
14639 * nis/nis_print.c: Likewise.
14640 * nis/nis_xdr.c: Likewise.
14641 * nscd/connections.c: Likewise.
14642 * nscd/hstcache.c: Likewise.
14643 * nscd/nscd_gethst_r.c: Likewise.
14644 * nscd/nscd_getserv_r.c: Likewise.
14645 * nscd/nscd_helper.c: Likewise.
14646 * nscd/servicescache.c: Likewise.
14647 * nss/makedb.c: Likewise.
14648 * nss/nss_db/db-XXX.c: Likewise.
14649 * nss/nss_db/db-initgroups.c: Likewise.
14650 * nss/nss_db/db-netgrp.c: Likewise.
14651 * nss/nss_files/files-network.c: Likewise.
14652 * nss/nss_files/files-parse.c: Likewise.
14653 * posix/bug-regex5.c: Likewise.
14654 * posix/fnmatch_loop.c: Likewise.
14655 * posix/regcomp.c: Likewise.
14656 * posix/regexec.c: Likewise.
14657 * posix/tst-rfc3484-2.c: Likewise.
14658 * posix/tst-rfc3484-3.c: Likewise.
14659 * posix/tst-rfc3484.c: Likewise.
14660 * resolv/nss_dns/dns-canon.c: Likewise.
14661 * resolv/nss_dns/dns-network.c: Likewise.
14662 * resolv/res_init.c: Likewise.
14663 * resolv/res_mkquery.c: Likewise.
14664 * resolv/tst-aton.c: Likewise.
14665 * stdlib/cxa_atexit.c: Likewise.
14666 * stdlib/cxa_finalize.c: Likewise.
14667 * stdlib/gen-fpioconst.c: Likewise.
14668 * stdlib/strtol_l.c: Likewise.
14669 * string/tst-endian.c: Likewise.
14670 * sunrpc/auth_des.c: Likewise.
14671 * sunrpc/clnt_udp.c: Likewise.
14672 * sunrpc/rtime.c: Likewise.
14673 * sunrpc/svcauth_des.c: Likewise.
14674 * sunrpc/xdr.c: Likewise.
14675 * sunrpc/xdr_intXX_t.c: Likewise.
14676 * sunrpc/xdr_rec.c: Likewise.
14677 * sysdeps/generic/ldconfig.h: Likewise.
14678 * sysdeps/generic/ldsodefs.h: Likewise.
14679 * sysdeps/generic/memusage.h: Likewise.
14680 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14681 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14682 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14683 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14684 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14685 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14686 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14687 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14690 * sysdeps/posix/getaddrinfo.c: Likewise.
14691 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14692 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14693 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14694 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14695 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14696 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14697 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14698 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14699 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14700 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14701 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14702 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14703 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14704 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14705 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14706 * sysdeps/x86_64/dl-tls.h: Likewise.
14707 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14708 * time/alt_digit.c: Likewise.
14709 * time/era.c: Likewise.
14710 * wcsmbs/tst-c16c32-1.c: Likewise.
14711
147122013-05-16 Joseph Myers <joseph@codesourcery.com>
14713
14714 * math/libm-test.inc (struct test_sincos_data): New type.
14715 (RUN_TEST_LOOP_sincos): New macro.
14716 (sincos_test_data): New variable.
14717 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14718
147192013-05-16 Richard Henderson <rth@redhat.com>
14720
14721 * math/atest-exp2.c (LIMB64): New macro.
14722 (CONSTSZ): New macro.
14723 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14724 (hexdig): Move ...
14725 (print_mpn_fp): ... to function scope.
14726 (read_mpn_hex): Remove.
14727 (get_log2): Remove.
14728 (exp2_mpn): Use mp_log2.
14729 (main): Use mp_exp1.
14730
147312013-05-16 Joseph Myers <joseph@codesourcery.com>
14732
14733 * math/libm-test.inc: Remove comment about not testing "inexact"
14734 exceptions.
14735 (INEXACT_EXCEPTION): New macro.
14736 (NO_INEXACT_EXCEPTION): Likewise.
14737 (INVALID_EXCEPTION_OK): Update value.
14738 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14739 (OVERFLOW_EXCEPTION_OK): Likewise.
14740 (UNDERFLOW_EXCEPTION_OK): Likewise.
14741 (IGNORE_ZERO_INF_SIGN): Likewise.
14742 (ERRNO_UNCHANGED): Likewise.
14743 (ERRNO_EDOM): Likewise.
14744 (ERRNO_ERANGE): Likewise.
14745 (test_exceptions): Handle testing "inexact" exceptions.
14746 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14747 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14748 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14749 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14750 INEXACT_EXCEPTION.
14751 (rint_towardzero_test_data): Likewise.
14752 (rint_downward_test_data): Likewise.
14753 (rint_upward_test_data): Likewise.
14754
14755 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14756 with OVERFLOW_EXCEPTION.
14757 (exp10_test_data): Likewise.
14758 (exp2_test_data): Likewise.
14759 (expm1_test_data): Likewise.
14760 (lgamma_test_data): Likewise.
14761 (pow_test_data): Likewise.
14762 (tgamma_test_data): Likewise.
14763 (yn_test_data): Remove duplicate test of overflow.
14764
14765 * math/libm-test.inc (struct test_cc_c_data): New type.
14766 (RUN_TEST_LOOP_cc_c): New macro.
14767 (cpow_test_data): New variable.
14768 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14769
14770 * math/libm-test.inc (struct test_f_L_data): New type.
14771 (RUN_TEST_LOOP_f_L): New macro.
14772 (llrint_test_data): New variable.
14773 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14774 (llrint_tonearest_test_data): New variable.
14775 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14776 (llrint_towardzero_test_data): New variable.
14777 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14778 (llrint_downward_test_data): New variable.
14779 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14780 (llrint_upward_test_data): New variable.
14781 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14782 (llround_test_data): New variable.
14783 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14784
147852013-05-13 Peter Collingbourne <pcc@google.com>
14786
14787 * math/atest-exp2.c (get_log2): Remove const attribute.
14788
147892013-05-15 Joseph Myers <joseph@codesourcery.com>
14790
14791 * math/libm-test.inc (struct test_f_l_data): New type.
14792 (RUN_TEST_LOOP_f_l): New macro.
14793 (lrint_test_data): New variable.
14794 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14795 (lrint_tonearest_test_data): New variable.
14796 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14797 (lrint_towardzero_test_data): New variable.
14798 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14799 (lrint_downward_test_data): New variable.
14800 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14801 (lrint_upward_test_data): New variable.
14802 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14803 (lround_test_data): New variable.
14804 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14805
148062013-05-15 Peter Collingbourne <pcc@google.com>
14807
14808 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14809 (EXTRACT_WORDS64) Use where appropriate.
14810 (INSERT_WORDS64) Likewise.
14811
14812 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14813 constraints with x constraints.
14814 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14815
14816 * malloc/obstack.c (_obstack_compat): Add initializer.
14817
148182013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14819
14820 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14821 si_trapno and add si_addr_lsb to _sifields.sigfault.
14822 (si_trapno): Remove macro.
14823 (si_addr_lsb): Define new macro.
14824 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14825
148262013-05-15 Joseph Myers <joseph@codesourcery.com>
14827
14828 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14829 instead of TEST_f_l.
14830 (llrint_test_tonearest): Likewise.
14831 (llrint_test_towardzero): Likewise.
14832 (llrint_test_downward): Likewise.
14833 (llrint_test_upward): Likewise.
14834 (llround_test): Likewise.
14835
14836 * math/libm-test.inc (struct test_f_i_data): Add comment.
14837 (RUN_TEST_LOOP_f_b): New macro.
14838 (RUN_TEST_LOOP_f_b_tg): Likewise.
14839 (finite_test_data): New variable.
14840 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14841 (isfinite_test_data): New variable.
14842 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14843 (isinf_test_data): New variable.
14844 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14845 (isnan_test_data): New variable.
14846 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14847 (isnormal_test_data): New variable.
14848 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14849 (issignaling_test_data): New variable.
14850 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14851 (signbit_test_data): New variable.
14852 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14853
14854 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14855 with INVALID_EXCEPTION.
14856 (acosh_test_data): Likewise.
14857 (asin_test_data): Likewise.
14858 (atanh_test_data): Likewise.
14859 (fmod_test_data): Likewise.
14860 (log_test_data): Likewise.
14861 (log10_test_data): Likewise.
14862 (log2_test_data): Likewise.
14863 (pow_test_data): Likewise.
14864 (sqrt_test_data): Likewise.
14865 (y0_test_data): Likewise.
14866 (y1_test_data): Likewise.
14867 (yn_test_data): Likewise.
14868
14869 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14870 function contents.
14871
14872 * math/libm-test.inc (struct test_ff_i_data): New type.
14873 (RUN_TEST_LOOP_ff_i_tg): New macro.
14874 (isgreater_test_data): New variable.
14875 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14876 (isgreaterequal_test_data): New variable.
14877 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14878 (isless_test_data): New variable.
14879 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14880 (islessequal_test_data): New variable.
14881 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14882 (islessgreater_test_data): New variable.
14883 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14884 (isunordered_test_data): New variable.
14885 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14886
148872013-05-14 David S. Miller <davem@davemloft.net>
14888
14889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14890
148912013-05-14 Joseph Myers <joseph@codesourcery.com>
14892
14893 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14894
14895 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14896 extra_test to int.
14897 (struct test_f_i_data): Change type of max_ulp to int.
14898
14899 * math/libm-test.inc (test_ffI_f1_data): New type.
14900 (RUN_TEST_LOOP_ffI_f1): New macro.
14901 (remquo_test_data): New variable.
14902 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14903
14904 * setjmp/tst-setjmp-fp.c: New file.
14905 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14906 (link-libm): New variable.
14907 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14908
14909 * math/libm-test.inc (struct test_f_i_data): New type.
14910 (RUN_TEST_LOOP_f_i): New macro.
14911 (RUN_TEST_LOOP_f_i_tg): Likewise.
14912 (fpclassify_test_data): New variable.
14913 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14914 (ilogb_test_data): New variable.
14915 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14916
14917 * math/libm-test.inc (scalbln_test): Correct function name in END
14918 call.
14919
14920 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14921 (RUN_TEST_LOOP_fI_f1): New macro.
14922 (frexp_test_data): New variable.
14923 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14924
14925 * math/libm-test.inc (struct test_fF_f1_data): New type.
14926 (RUN_TEST_LOOP_fF_f1): New macro.
14927 (modf_test_data): New variable.
14928 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14929
14930 * math/libm-test.inc (struct test_f_f1_data): New type.
14931 (RUN_TEST_LOOP_f_f1): New macro.
14932 (gamma_test_data): New variable.
14933 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14934 (lgamma_test_data): New variable.
14935 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14936
149372013-05-13 Carlos O'Donell <carlos@redhat.com>
14938
14939 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14940 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14941 (main): Comment "tls" pseudo-hwcap.
14942
149432013-05-13 Joseph Myers <joseph@codesourcery.com>
14944
14945 * math/libm-test.inc (struct test_fl_f_data): New type.
14946 (RUN_TEST_LOOP_fl_f): New variable.
14947 (scalbln_test_data): New variable.
14948 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14949
14950 * math/libm-test.inc (struct test_fi_f_data): New type.
14951 (RUN_TEST_LOOP_fi_f): New macro.
14952 (ldexp_test_data): New variable.
14953 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14954 (scalbn_test_data): New variable.
14955 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14956
14957 * math/libm-test.inc (struct test_c_f_data): New type.
14958 (RUN_TEST_LOOP_c_f): New macro.
14959 (cabs_test_data): New variable.
14960 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14961 (carg_test_data): New variable.
14962 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14963 (cimag_test_data): New variable.
14964 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14965 (creal_test_data): New variable.
14966 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14967
14968 * math/libm-test.inc (struct test_if_f_data): New type.
14969 (RUN_TEST_LOOP_if_f): New macro.
14970 (jn_test_data): New variable.
14971 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14972 (yn_test_data): New variable.
14973 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14974
14975 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14976
149772013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14978
14979 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14980 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14981
149822013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14983
14984 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14985 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14986 (bench-deps): Add bench-timing.h.
14987 * benchtests-bench-skeleton.c: Include bench-timing.h.
14988 (main): Use TIMING_* macros instead of clock_gettime.
14989 * benchtests/bench-timing.h: New file.
14990
14991 [BZ #14582]
14992 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14993 Renamed from _LIB_VERSION.
14994 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14995
149962013-05-12 Joseph Myers <joseph@codesourcery.com>
14997
14998 * math/libm-test.inc (struct test_fff_f_data): New type.
14999 (RUN_TEST_LOOP_fff_f): New macro.
15000 (fma_test_data): New variable.
15001 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15002 (fma_towardzero_test_data): New variable.
15003 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15004 (fma_downward_test_data): New variable.
15005 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15006 (fma_upward_test_data): New variable.
15007 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15008
15009 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15010 (struct test_c_c_data): New type.
15011 (RUN_TEST_LOOP_c_c): New macro.
15012 (cacos_test_data): New variable.
15013 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15014 (cacosh_test_data): New variable.
15015 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15016 (casin_test_data): New variable.
15017 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15018 (casinh_test_data): New variable.
15019 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15020 (catan_test_data): New variable.
15021 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15022 (catanh_test_data): New variable.
15023 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15024 (ccos_test_data): New variable.
15025 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15026 (ccosh_test_data): New variable.
15027 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15028 (cexp_test_data): New variable.
15029 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15030 (clog_test_data): New variable.
15031 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15032 (clog10_test_data): New variable.
15033 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15034 (conj_test_data): New variable.
15035 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15036 (cproj_test_data): New variable.
15037 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15038 (csin_test_data): New variable.
15039 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15040 (csinh_test_data): New variable.
15041 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15042 (csqrt_test_data): New variable.
15043 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15044 (ctan_test_data): New variable.
15045 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15046 (ctan_tonearest_test_data): New variable.
15047 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15048 (ctan_towardzero_test_data): New variable.
15049 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15050 (ctan_downward_test_data): New variable.
15051 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15052 (ctan_upward_test_data): New variable.
15053 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15054 (ctanh_test_data): New variable.
15055 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15056 (ctanh_tonearest_test_data): New variable.
15057 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15058 (ctanh_towardzero_test_data): New variable.
15059 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15060 (ctanh_downward_test_data): New variable.
15061 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15062 (ctanh_upward_test_data): New variable.
15063 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15064 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15065 of BUILD_COMPLEX.
15066
15067 * math/libm-test.inc (struct test_ff_f_data): New type.
15068 (struct test_ff_f_data_nexttoward): Likewise.
15069 (RUN_TEST_LOOP_2_f): New macro.
15070 (RUN_TEST_LOOP_ff_f): Likewise.
15071 (atan2_test_data): New variable.
15072 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15073 (copysign_test_data): New variable.
15074 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15075 (fdim_test_data): New variable.
15076 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15077 (fmax_test_data): New variable.
15078 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15079 (fmin_test_data): New variable.
15080 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15081 (fmod_test_data): New variable.
15082 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15083 (hypot_test_data): New variable.
15084 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15085 (nextafter_test_data): New variable.
15086 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15087 (nexttoward_test_data): New variable.
15088 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15089 (pow_test_data): New variable.
15090 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15091 (pow_tonearest_test_data): New variable.
15092 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15093 (pow_towardzero_test_data): New variable.
15094 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15095 (pow_downward_test_data): New variable.
15096 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15097 (pow_upward_test_data): New variable.
15098 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15099 (remainder_test_data): New variable.
15100 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15101 (scalb_test_data): New variable.
15102 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15103 * sysdeps/i386/fpu/libm-test-ulps: Update.
15104
151052013-05-11 Joseph Myers <joseph@codesourcery.com>
15106
15107 * math/libm-test.inc (fma_test): Use max_value instead of local
15108 variable fltmax.
15109 (nextafter_test): Likewise.
15110
15111 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15112 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15113 (acos_downward_test_data): New variable.
15114 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15115 (acos_upward_test_data): New variable.
15116 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15117 (acosh_test_data): New variable.
15118 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15119 (asin_test_data): New variable.
15120 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15121 (asin_tonearest_test_data): New variable.
15122 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15123 (asin_towardzero_test_data): New variable.
15124 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15125 (asin_downward_test_data): New variable.
15126 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15127 (asin_upward_test_data): New variable.
15128 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15129 (asinh_test_data): New variable.
15130 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15131 (atan_test_data): New variable.
15132 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15133 (atanh_test_data): New variable.
15134 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15135 (cbrt_test_data): New variable.
15136 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15137 (ceil_test_data): New variable.
15138 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15139 (cos_test_data): New variable.
15140 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15141 (cos_tonearest_test_data): New variable.
15142 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15143 (cos_towardzero_test_data): New variable.
15144 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15145 (cos_downward_test_data): New variable.
15146 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15147 (cos_upward_test_data): New variable.
15148 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15149 (cosh_test_data): New variable.
15150 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15151 (cosh_tonearest_test_data): New variable.
15152 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15153 (cosh_towardzero_test_data): New variable.
15154 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15155 (cosh_downward_test_data): New variable.
15156 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15157 (cosh_upward_test_data): New variable.
15158 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15159 (erf_test_data): New variable.
15160 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15161 (erfc_test_data): New variable.
15162 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15163 (exp_test_data): New variable.
15164 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15165 (exp_tonearest_test_data): New variable.
15166 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15167 (exp_towardzero_test_data): New variable.
15168 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15169 (exp_downward_test_data): New variable.
15170 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15171 (exp_upward_test_data): New variable.
15172 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15173 (exp10_test_data): New variable.
15174 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15175 (exp2_test_data): New variable.
15176 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15177 (expm1_test_data): New variable.
15178 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15179 (fabs_test_data): New variable.
15180 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15181 (floor_test_data): New variable.
15182 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15183 (j0_test_data): New variable.
15184 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15185 (j1_test_data): New variable.
15186 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15187 (log_test_data): New variable.
15188 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15189 (log10_test_data): New variable.
15190 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15191 (log1p_test_data): New variable.
15192 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15193 (log2_test_data): New variable.
15194 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15195 (logb_test_data): New variable.
15196 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15197 (logb_downward_test_data): New variable.
15198 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15199 (nearbyint_test_data): New variable.
15200 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15201 (rint_test_data): New variable.
15202 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15203 (rint_tonearest_test_data): New variable.
15204 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15205 (rint_towardzero_test_data): New variable.
15206 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15207 (rint_downward_test_data): New variable.
15208 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15209 (rint_upward_test_data): New variable.
15210 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15211 (round_test_data): New variable.
15212 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15213 (sin_test_data): New variable.
15214 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15215 (sin_tonearest_test_data): New variable.
15216 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15217 (sin_towardzero_test_data): New variable.
15218 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15219 (sin_downward_test_data): New variable.
15220 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15221 (sin_upward_test_data): New variable.
15222 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15223 (sinh_test_data): New variable.
15224 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15225 (sinh_tonearest_test_data): New variable.
15226 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15227 (sinh_towardzero_test_data): New variable.
15228 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15229 (sinh_downward_test_data): New variable.
15230 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15231 (sinh_upward_test_data): New variable.
15232 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15233 (sqrt_test_data): New variable.
15234 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15235 (tan_test_data): New variable.
15236 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15237 (tan_tonearest_test_data): New variable.
15238 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15239 (tan_towardzero_test_data): New variable.
15240 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15241 (tan_downward_test_data): New variable.
15242 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15243 (tan_upward_test_data): New variable.
15244 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15245 (tanh_test_data): New variable.
15246 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15247 (tgamma_test_data): New variable.
15248 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15249 (trunc_test_data): New variable.
15250 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15251 (y0_test_data): New variable.
15252 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15253 (y1_test_data): New variable.
15254 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15255 (significand_test_data): New variable.
15256 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15257
152582013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15259
15260 [BZ #12387]
15261 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15262
152632013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15264
15265 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15266
152672013-05-10 Andreas Jaeger <aj@suse.de>
15268
15269 [BZ #15448]
15270 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15271 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15272
152732013-05-10 Joseph Myers <joseph@codesourcery.com>
15274
15275 * math/gen-libm-test.pl (adjust_arg): New function.
15276 (special_functions): Handle generating output in both functions
15277 and arrays.
15278 (parse_args): Likewise.
15279 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15280 $in_func argument to parse_args.
15281 * math/libm-test.inc (struct test_f_f_data): New type.
15282 (IF_ROUND_INIT_): New macro.
15283 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15284 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15285 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15286 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15287 (ROUND_RESTORE_): Likewise.
15288 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15289 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15290 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15291 (ROUND_RESTORE_FE_UPWARD): Likewise.
15292 (RUN_TEST_LOOP_f_f): New macro.
15293 (acos_test_data): New variable.
15294 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15295 (acos_tonearest_test_data): New variable.
15296 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15297
152982013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15299
15300 * benchtests/bench-skeleton.c (startup): Fix coding style.
15301
153022013-05-10 Joseph Myers <joseph@codesourcery.com>
15303
15304 [BZ #6809]
15305 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15306 negative infinity argument.
15307 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15308 negative infinity argument.
15309 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15310 negative infinity argument.
15311 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15312 domain errors.
15313
153142013-05-10 Florian Weimer <fweimer@redhat.com>
15315
15316 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15317 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15318 * iconv/iconv_prog.c (main): Likewise.
15319 * locale/programs/charmap-dir.c (charmap_readdir)
15320 (fopen_uncompressed): Likewise.
15321 * locale/programs/locfile.c (siblings_uncached)
15322 (write_locale_data): Use lstat64 instead of lstat.
15323 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15324 stat.
15325
153262013-05-10 Andreas Jaeger <aj@suse.de>
15327
15328 [BZ #15395]
15329 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15330 localization.
15331 Include <locale.h>.
15332
153332013-05-09 Carlos O'Donell <carlos@redhat.com>
15334
15335 * elf/dl-close.c (_dl_close_worker): Add comments.
15336
153372013-05-09 Joseph Myers <joseph@codesourcery.com>
15338
15339 [BZ #15359]
15340 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15341 high part of pi/2.
15342 (__ieee754_rem_pio2l): Update comments.
15343
15344 [BZ #15429]
15345 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15346 high part of pi/2.
15347 (__ieee754_rem_pio2l): Update comments.
15348
15349 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15350 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15351
15352 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15353 M_PI_4l.
15354
15355 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15356 (M_PI_34_LOG10El): Likewise.
15357 (M_PI2_LOG10El): Likewise.
15358 (M_PI4_LOG10El): Likewise.
15359 (M_PI_LOG10El): Likewise.
15360
153612013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15362
15363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15364
153652013-05-08 Joseph Myers <joseph@codesourcery.com>
15366
15367 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15368 (MINUS_ZERO_INIT): Likewise.
15369 (PLUS_INFTY_INIT): Likewise.
15370 (MINUS_INFTY_INIT): Likewise.
15371 (QNAN_VALUE_INIT): Likewise.
15372 (MAX_VALUE_INIT): Likewise.
15373 (MIN_VALUE_INIT): Likewise.
15374 (MIN_SUBNORM_VALUE_INIT): Likewise.
15375 (plus_zero): Initialize with PLUS_ZERO_INIT.
15376 (minus_zero): Initialize with MINUS_ZERO_INIT.
15377 (plus_infty): Initialize with PLUS_INFTY_INIT.
15378 (minus_infty): Initialize with MINUS_INFTY_INIT.
15379 (qnan_value): Initialize with QNAN_VALUE_INIT.
15380 (max_value): Initialize with MAX_VALUE_INIT.
15381 (min_value): Initialize with MIN_VALUE_INIT.
15382 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15383
15384 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15385 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15386 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15387 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15388
15389 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15390 (RUN_TEST_2_f): Likewise.
15391 (RUN_TEST_ff_f): Likewise.
15392 (RUN_TEST_fi_f): Likewise.
15393 (RUN_TEST_fl_f): Likewise.
15394 (RUN_TEST_fff_f): Likewise.
15395 (RUN_TEST_c_f): Likewise.
15396 (RUN_TEST_f_f1): Likewise.
15397 (RUN_TEST_fF_f1): Likewise.
15398 (RUN_TEST_fI_f1): Likewise.
15399 (RUN_TEST_ffI_f1): Likewise.
15400 (RUN_TEST_c_c): Likewise.
15401 (RUN_TEST_cc_c): Likewise.
15402 (RUN_TEST_f_i): Likewise.
15403 (RUN_TEST_f_i_tg): Likewise.
15404 (RUN_TEST_ff_i_tg): Likewise.
15405 (RUN_TEST_f_b): Likewise.
15406 (RUN_TEST_f_b_tg): Likewise.
15407 (RUN_TEST_f_l): Likewise.
15408 (RUN_TEST_f_L): Likewise.
15409 (RUN_TEST_sincos): Likewise.
15410 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15411 whether to show exceptions. Do not include ");\n" in return
15412 value.
15413 (special_functions): Output call to RUN_TEST_sincos instead of
15414 check_float calls. Update calls to new_test.
15415 (parse_args): Output call to single RUN_TEST_* macro instead of
15416 check_* calls and other assignments. Update calls to new_test.
15417
15418 [BZ #2546]
15419 [BZ #2560]
15420 [BZ #5159]
15421 [BZ #15426]
15422 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15423 input to result for tgamma overflow.
15424 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15425 (gamma_coeff): New variable.
15426 (NCOEFF): New macro.
15427 (gamma_positive): New function.
15428 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15429 underflow here. Use gamma_positive instead of exp (lgamma) for
15430 other arguments.
15431 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15432 (gamma_coeff): New variable.
15433 (NCOEFF): New macro.
15434 (gammaf_positive): New function.
15435 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15436 underflow here. Use gamma_positive instead of exp (lgamma) for
15437 other arguments.
15438 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15439 (gamma_coeff): New variable.
15440 (NCOEFF): New macro.
15441 (gammal_positive): New function.
15442 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15443 underflow here. Use gamma_positive instead of exp (lgamma) for
15444 other arguments.
15445 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15446 (gamma_coeff): New variable.
15447 (NCOEFF): New macro.
15448 (gammal_positive): New function.
15449 (__ieee754_gammal_r): Handle positive infinity, overflow and
15450 underflow here. Handle NaN the same as positive infinity. Remove
15451 check x < 0xffffffff for negative integers. Use gamma_positive
15452 instead of exp (lgamma) for other arguments.
15453 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15454 (gamma_coeff): New variable.
15455 (NCOEFF): New macro.
15456 (gammal_positive): New function.
15457 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15458 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15459 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15460 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15461 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15462 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15463 * sysdeps/generic/math_private.h (__gamma_productf): New
15464 prototype.
15465 (__gamma_product): Likewise.
15466 (__gamma_productl): Likewise.
15467 * math/Makefile (libm-calls): Add gamma_product.
15468 * math/libm-test.inc (tgamma_test): Add more tests.
15469 * sysdeps/i386/fpu/libm-test-ulps: Update.
15470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15471
154722013-05-08 Ondřej Bílka <neleai@seznam.cz>
15473
15474 * benchtests/bench-skeleton.c (main): Preheat CPU.
15475
154762013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15477
15478 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15479
154802013-05-07 Roland McGrath <roland@hack.frob.com>
15481
15482 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15483 and _dl_skip_args_internal.
15484
154852013-05-07 Carlos O'Donell <carlos@redhat.com>
15486
15487 * manual/message.texi (Message Translation): Talk about users.
15488 Message to key mapping impacts design.
15489
154902013-05-06 Roland McGrath <roland@hack.frob.com>
15491
15492 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15493
15494 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15495
15496 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15497 * sysdeps/wordsize-64/glob64.c: ... here.
15498
15499 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15500 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15501 New macros.
15502
15503 * debug/getlogin_r_chk.c: Moved to ...
15504 * login/getlogin_r_chk.c: ... here.
15505 * debug/Makefile (routines): Move getlogin_r_chk to ...
15506 * login/Makefile (routines): ... here.
15507 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15508 * login/Versions (libc: GLIBC_2.4): ... here.
15509
15510 * io/poll.c (__poll): Renamed from poll.
15511 Add libc_hidden_def.
15512 (poll): Define as weak alias.
15513
15514 * debug/ptsname_r_chk.c: Moved to ...
15515 * login/ptsname_r_chk.c: ... here.
15516 * debug/Makefile (routines): Move ptsname_r_chk to ...
15517 * login/Makefile (routines): ... here.
15518 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15519 * login/Versions (libc: GLIBC_2.4): ... here.
15520
15521 * posix/getlogin.c: Moved to ...
15522 * login/getlogin.c: ... here.
15523 * posix/getlogin_r.c: Moved to ...
15524 * login/getlogin_r.c: ... here.
15525 * posix/getlogin_r.c: Moved to ...
15526 * login/getlogin_r.c: ... here.
15527 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15528 * login/Makefile (routines): ... here.
15529 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15530 * login/Versions (libc: GLIBC_2.0): ... here.
15531
15532 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15533 (setrlimit): Define as weak alias.
15534
15535 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15536 Call __ names for open, ftruncate, and close.
15537 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15538 (truncate): Define as weak alias.
15539
155402013-05-06 Joseph Myers <joseph@codesourcery.com>
15541
15542 * math/gen-libm-test.pl (parse_args): Initialize x before each
15543 test of frexp, modf and remquo.
15544
15545 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15546 test signgam value.
15547
155482013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15549
15550 [BZ #15418]
15551 [BZ #15419]
15552 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15553 internal tests.
15554 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15555
155562013-05-06 Roland McGrath <roland@hack.frob.com>
15557
15558 * elf/dl-writev.h: New file.
15559 * elf/dl-misc.c: Include it.
15560 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15561 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15562
155632013-05-04 Joseph Myers <joseph@codesourcery.com>
15564
15565 * math/libm-test.inc (noXFails): Remove variable.
15566 (noXPasses): Likewise.
15567 (BUILD_COMPLEX_INT): Remove macro.
15568 (print_screen): Remove xfail argument.
15569 (print_screen_max_error): Likewise.
15570 (update_stats): Likewise.
15571 (print_max_error): Likewise. Update calls to other affected
15572 functions.
15573 (print_complex_max_error): Likewise.
15574 (test_single_exception): Update calls to print_screen.
15575 (test_single_errno): Likewise.
15576 (check_float_internal): Remove xfail argument. Update calls to
15577 other affected functions.
15578 (check_float): Likewise.
15579 (check_complex): Likewise.
15580 (check_int): Likewise.
15581 (check_long): Likewise.
15582 (check_bool): Likewise.
15583 (check_longlong): Likewise.
15584 (main): Don't print noXFails and noXPasses.
15585 * math/gen-libm-test.pl (top level): Don't mention expected
15586 failure handling in comment.
15587 (new_test): Don't handle expected failures.
15588 (parse_args): Don't mention expected failure handling in comment.
15589 (generate_testfile): Don't handle expected failures.
15590 (parse_ulps): Likewise.
15591 (print_ulps_file): Likewise.
15592 (get_failure): Remove function.
15593 (output_test): Don't handle expected failures.
15594 * make/README.libm-test: Don't mention expected failure handling.
15595
15596 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15597 (minus_zero): Likewise.
15598 (plus_infty): Likewise.
15599 (minus_infty): Likewise.
15600 (qnan_value): Likewise.
15601 (max_value): Likewise.
15602 (min_value): Likewise.
15603 (min_subnorm_value): Likewise.
15604 (initialize): Do not initialize those variables dynamically.
15605
156062013-05-03 Roland McGrath <roland@hack.frob.com>
15607
15608 * io/open.c (__open_2): Moved to ...
15609 * io/open_2.c: ... this new file.
15610 * io/open64.c (__open64_2): Moved to ...
15611 * io/open64_2.c: ... this new file.
15612 * io/openat.c (__openat_2): Moved to ...
15613 * io/openat_2.c: ... this new file.
15614 * io/openat64.c (__openat64_2): Moved to ...
15615 * io/openat64_2.c: ... this new file.
15616 * io/Makefile (routines): Add them.
15617 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15618 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15619 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15620 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15621 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15622 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15623 (__openat64): Add hidden_ver.
15624 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15625 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15626
15627 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15628 Separately conditionalize setting of GLRO(dl_sysinfo) so
15629 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15630 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15631
156322013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15633
15634 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15635 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15636 definition.
15637 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15638 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15639 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15640 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15641 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15642
156432013-05-03 Joseph Myers <joseph@codesourcery.com>
15644
15645 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15646 test signgam value.
15647
15648 * math/libm-test.inc (hypot_test): Do not use
15649 IGNORE_ZERO_INF_SIGN.
15650
156512013-05-03 Andreas Jaeger <aj@suse.de>
15652
15653 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15654 Linux 3.9.
15655 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15656 (PF_MAX): Adjust for VSOCK change.
15657
156582013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15659
15660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15661
156622013-05-02 Carlos O'Donell <carlos@redhat.com>
15663
15664 [BZ #15264]
15665 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15666 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15667 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15668
156692013-05-02 David S. Miller <davem@davemloft.net>
15670
15671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15672
156732013-05-01 Ondřej Bílka <neleai@seznam.cz>
15674
15675 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15676
156772013-05-01 Roland McGrath <roland@hack.frob.com>
15678
15679 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15680
156812013-05-01 Richard Smith <richard@metafoo.co.uk>
15682
15683 [BZ #14952]
15684 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15685 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15686 Use __attribute__ ((__gnu_inline__)).
15687 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15688 Don't use __attribute__ ((__gnu_inline__)).
15689
156902013-05-01 Joseph Myers <joseph@codesourcery.com>
15691
15692 [BZ #15423]
15693 * math/s_catan.c (__catan): Handle small real or imaginary part of
15694 input specially to avoid spurious underflow.
15695 * math/s_catanf.c (__catanf): Likewise.
15696 * math/s_catanh.c (__catanh): Likewise.
15697 * math/s_catanhf.c (__catanhf): Likewise.
15698 * math/s_catanhl.c (__catanhl): Likewise.
15699 * math/s_catanl.c (__catanl): Likewise.
15700 * math/libm-test.inc (catan_test): Add more tests.
15701 (catanh_test): Likewise.
15702 * sysdeps/i386/fpu/libm-test-ulps: Update.
15703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15704
157052013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15706
15707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15708
157092013-04-30 Joseph Myers <joseph@codesourcery.com>
15710
15711 [BZ #15416]
15712 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15713 accurately for denominator in atan2.
15714 * math/s_catanf.c (__catanf): Likewise.
15715 * math/s_catanh.c (__catanh): Likewise.
15716 * math/s_catanhf.c (__catanhf): Likewise.
15717 * math/s_catanhl.c (__catanhl): Likewise.
15718 * math/s_catanl.c (__catanl): Likewise.
15719 * math/libm-test.inc (catan_test): Add more tests.
15720 (catanh_test): Likewise.
15721 * sysdeps/i386/fpu/libm-test-ulps: Update.
15722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15723
157242013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15725
15726 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15727
15728 * benchtests/Makefile (bench): Remove slow benchmarks.
15729 * benchtests/atan-inputs: Add slow benchmark inputs.
15730 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15731 (BENCH_FUNC): Accept variant offset.
15732 (VARIANT): Define.
15733 * benchtests/bench-skeleton.c (main): Run benchmark for each
15734 variant.
15735 * benchtests/cos-inputs: Add slow benchmark inputs.
15736 * benchtests/exp-inputs: Likewise.
15737 * benchtests/pow-inputs: Likewise.
15738 * benchtests/sin-inputs: Likewise.
15739 * benchtests/slowatan-inputs: Remove.
15740 * benchtests/slowatan.c: Remove.
15741 * benchtests/slowcos-inputs: Remove.
15742 * benchtests/slowcos.c: Remove.
15743 * benchtests/slowexp-inputs: Remove.
15744 * benchtests/slowexp.c: Remove.
15745 * benchtests/slowpow-inputs: Remove.
15746 * benchtests/slowpow.c: Remove.
15747 * benchtests/slowsin-inputs: Remove.
15748 * benchtests/slowsin.c: Remove.
15749 * benchtests/slowtan-inputs: Remove.
15750 * benchtests/slowtan.c: Remove.
15751 * benchtests/tan-inputs: Add slow benchmark inputs.
15752 * scripts/bench.pl: Parse comments and directives.
15753
15754 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15755 in CPPFLAGS.
15756 ($(objpfx)bench-%.c): Remove *-ITER.
15757 * benchtests/bench-modf.c: Remove definition of ITER.
15758 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15759 (main): Loop for DURATION seconds instead of fixed number of
15760 iterations.
15761 * scripts/bench.pl: Don't expect iterations in parameters.
15762
157632013-04-29 Roland McGrath <roland@hack.frob.com>
15764
15765 * io/fchdir.c (__fchdir): Renamed from fchdir.
15766 (fchdir): Define as weak alias.
15767
157682013-04-29 Joseph Myers <joseph@codesourcery.com>
15769
15770 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15771 (ERRNO_EDOM): Likewise.
15772 (ERRNO_ERANGE): Likewise.
15773 (noErrnoTests): New variable.
15774 (init_max_error): Set errno to 0.
15775 (test_single_errno): New function.
15776 (test_errno): Likewise.
15777 (check_float_internal): Call test_errno. Set errno to 0.
15778 (check_complex): Refer to errno tests in comment.
15779 (check_int): Call test_errno. Set errno to 0.
15780 (check_long): Likewise.
15781 (check_bool): Likewise.
15782 (check_longlong): Likewise.
15783 (cos_test): Use ERRNO_* flags for errno tests instead of
15784 check_int.
15785 (expm1_test): Likewise.
15786 (fmod_test): Likewise.
15787 (ilogb_test): Likewise.
15788 (lgamma_test): Likewise.
15789 (pow_test): Likewise.
15790 (remainder_test): Likewise.
15791 (sin_test): Likewise.
15792 (tan_test): Likewise.
15793 (yn_test): Likewise.
15794 (initialize): Set errno to 0.
15795 (main): Print number of errno tests.
15796 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15797
157982013-04-29 Andreas Jaeger <aj@suse.de>
15799
15800 [BZ #15084]
15801 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15802 and RES_USEVC.
15803
15804 [BZ #15085]
15805 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15806 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15807 unimplemented.
15808
15809 [BZ #15380]
15810 * stdlib/random.c (__initstate): Return NULL if
15811 __initstate fails.
15812
15813 [BZ #15086]
15814 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15815 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15816 RES_SNGLKUPREOP.
15817
158182013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15819
15820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15821
158222013-04-29 Joseph Myers <joseph@codesourcery.com>
15823
15824 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15825 of individual tests.
15826 (casin_test): Likewise.
15827 (casinh_test): Likewise.
15828
158292013-04-27 Joseph Myers <joseph@codesourcery.com>
15830
15831 [BZ #15409]
15832 * math/s_catan.c (__catan): Handle arguments with large real or
15833 imaginary part separately without squaring.
15834 * math/s_catanf.c (__catanf): Likewise.
15835 * math/s_catanh.c (__catanh): Likewise.
15836 * math/s_catanhf.c (__catanhf): Likewise.
15837 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15838 and redefine.
15839 (__catanhl): Handle arguments with large real or imaginary part
15840 separately without squaring.
15841 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15842 and redefine.
15843 (__catanl): Handle arguments with large real or imaginary part
15844 separately without squaring.
15845 * math/libm-test.inc (catan_test): Add more tests.
15846 (catanh_test): Likewise.
15847 * sysdeps/i386/fpu/libm-test-ulps: Update.
15848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15849
158502013-04-27 Andreas Jaeger <aj@suse.de>
15851
15852 [BZ #15007]
15853 * stdlib/stdlib.h: Update guards for qecvt.
15854 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15855 <stdlib.h>.
15856
158572013-04-27 Allan McRae <allan@archlinux.org>
15858
15859 * sysdeps/i386/fpu/libm-test-ulps: Update.
15860
158612013-04-26 Joseph Myers <joseph@codesourcery.com>
15862
15863 [BZ #15406]
15864 * math/s_catan.c: Include <float.h>.
15865 (__catan): Ensure underflow exception occurs for underflowed
15866 result.
15867 * math/s_catanf.c: Include <float.h>.
15868 (__catanf): Ensure underflow exception occurs for underflowed
15869 result.
15870 * math/s_catanh.c: Include <float.h>.
15871 (__catanh): Ensure underflow exception occurs for underflowed
15872 result.
15873 * math/s_catanhf.c: Include <float.h>.
15874 (__catanhf): Ensure underflow exception occurs for underflowed
15875 result.
15876 * math/s_catanhl.c: Include <float.h>.
15877 (__catanhl): Ensure underflow exception occurs for underflowed
15878 result.
15879 * math/s_catanl.c: Include <float.h>.
15880 (__catanl): Ensure underflow exception occurs for underflowed
15881 result.
15882 * math/libm-test.inc (catan_test): Add more tests.
15883 (catanh_test): Likewise.
15884
15885 [BZ #15405]
15886 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15887 underflowed result.
15888 * math/s_ccoshf.c (__ccoshf): Likewise.
15889 * math/s_ccoshl.c (__ccoshl): Likewise.
15890 * math/s_csin.c (__csin): Likewise.
15891 * math/s_csinf.c (__csinf): Likewise.
15892 * math/s_csinh.c (__csinh): Likewise.
15893 * math/s_csinhf.c (__csinhf): Likewise.
15894 * math/s_csinhl.c (__csinhl): Likewise.
15895 * math/s_csinl.c (__csinl): Likewise.
15896 * math/libm-test.inc (ccos_test): Add more tests.
15897 (ccosh_test): Likewise.
15898 (csin_test): Likewise.
15899 (csinh_test): Likewise.
15900
159012013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15902
15903 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15904 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15905 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15906 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15907 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15908 powerpc/power5+/fpu folders.
15909 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15910
15911
159122013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15913
15914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15915
159162013-04-25 Joseph Myers <joseph@codesourcery.com>
15917
15918 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15919 additions to variable.
15920 [$(config-machine) = x86_64] (modules-names): Likewise.
15921 ($(objpfx)tst-audit3): Remove dependency.
15922 ($(objpfx)tst-audit3.out): Likewise.
15923 ($(objpfx)tst-audit4): Likewise.
15924 ($(objpfx)tst-audit4.out): Likewise.
15925 ($(objpfx)tst-audit5): Likewise.
15926 ($(objpfx)tst-audit5.out): Likewise.
15927 ($(objpfx)tst-audit6): Likewise.
15928 ($(objpfx)tst-audit6.out): Likewise.
15929 ($(objpfx)tst-audit7): Likewise.
15930 ($(objpfx)tst-audit7.out): Likewise.
15931 (tst-audit3-ENV): Remove variable.
15932 (tst-audit4-ENV): Likewise.
15933 (tst-audit5-ENV): Likewise.
15934 (tst-audit6-ENV): Likewise.
15935 (tst-audit7-ENV): Likewise.
15936 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15937 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15938 addition to variable.
15939 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15940 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15941 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15942 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15943 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15944 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15945 tst-audit3, tst-audit4 and tst-audit5.
15946 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15947 tst-audit6 and tst-audit7.
15948 [$(subdir) = elf] (modules-names): Add audit modules for those
15949 tests.
15950 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15951 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15952 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15953 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15954 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15955 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15956 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15957 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15958 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15959 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15960 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15961 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15962 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15963 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15964 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15965 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15966 Likewise.
15967 [$(subdir) = elf && $(config-cflags-avx) = yes]
15968 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15969 [$(subdir) = elf && $(config-cflags-avx) = yes]
15970 (CFLAGS-tst-auditmod4a.c): Likewise.
15971 [$(subdir) = elf && $(config-cflags-avx) = yes]
15972 (CFLAGS-tst-auditmod4b.c): Likewise.
15973 [$(subdir) = elf && $(config-cflags-avx) = yes]
15974 (CFLAGS-tst-auditmod6b.c): Likewise.
15975 [$(subdir) = elf && $(config-cflags-avx) = yes]
15976 (CFLAGS-tst-auditmod6c.c): Likewise.
15977 [$(subdir) = elf && $(config-cflags-avx) = yes]
15978 (CFLAGS-tst-auditmod7b.c): Likewise.
15979 * elf/tst-audit3.c: Move to ...
15980 * sysdeps/x86_64/tst-audit3.c: ... here.
15981 * elf/tst-audit4.c: Move to ...
15982 * sysdeps/x86_64/tst-audit4.c: ... here.
15983 * elf/tst-audit5.c: Move to ...
15984 * sysdeps/x86_64/tst-audit5.c: ... here.
15985 * elf/tst-audit6.c: Move to ...
15986 * sysdeps/x86_64/tst-audit6.c: ... here.
15987 * elf/tst-audit7.c: Move to ...
15988 * sysdeps/x86_64/tst-audit7.c: ... here.
15989 * elf/tst-auditmod3a.c: Move to ...
15990 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15991 * elf/tst-auditmod3b.c: Move to ...
15992 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15993 * elf/tst-auditmod4a.c: Move to ...
15994 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15995 * elf/tst-auditmod4b.c: Move to ...
15996 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15997 * elf/tst-auditmod5a.c: Move to ...
15998 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15999 * elf/tst-auditmod5b.c: Move to ...
16000 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16001 * elf/tst-auditmod6a.c: Move to ...
16002 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16003 * elf/tst-auditmod6b.c: Move to ...
16004 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16005 * elf/tst-auditmod6c.c: Move to ...
16006 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16007 * elf/tst-auditmod7a.c: Move to ...
16008 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16009 * elf/tst-auditmod7b.c: Move to ...
16010 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16011
160122013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16013
16014 [BZ #15366]
16015 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16016 define unconditionally.
16017 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16018 define unconditionally.
16019 (INT8_C, INT16_C, etc.): Likewise.
16020
160212013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16022
16023 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16024 __ehdr_start with hidden visibility.
16025
16026 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16027
160282013-04-24 Carlos O'Donell <carlos@redhat.com>
16029
16030 * math/libm-test.inc (cos_test): Use accurate hex constants.
16031 (sincost_test): Likewise.
16032
160332013-04-24 Joseph Myers <joseph@codesourcery.com>
16034
16035 * math/libm-test.inc (catan_test): Add more tests.
16036 (catanh_test): Likewise.
16037
16038 * math/s_catanf.c (__catanf): Use suffixed floating-point
16039 constants.
16040 * math/s_catanhf.c (__catanhf): Likewise.
16041 * math/s_catanhl.c (__catanhl): Likewise.
16042 * math/s_catanl.c (__catanl): Likewise.
16043
16044 [BZ #15394]
16045 * math/s_catan.c (__catan): Calculate imaginary part of result
16046 with log1p not log unless computing log of number close to 0.
16047 * math/s_catanf.c (__catanf): Likewise.
16048 * math/s_catanl.c (__catanl): Likewise.
16049 * math/s_catanh.c (__catanh): Calculate real part of result with
16050 log1p not log unless computing log of number close to 0.
16051 * math/s_catanhf.c (__catanhf): Likewise.
16052 * math/s_catanhl.c (__catanhl): Likewise.
16053 * math/libm-test.inc (catan_test): Add more tests.
16054 (catanh_test): Likewise.
16055 * sysdeps/i386/fpu/libm-test-ulps: Update.
16056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16057
160582013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16059
16060 * benchtests/Makefile: Mention files in which fast and slow
16061 paths of math functions are implemented.
16062
160632013-04-23 Roland McGrath <roland@hack.frob.com>
16064
16065 * sysdeps/posix/timespec_get.c: New file.
16066
160672013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16068
16069 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16070 POWER.
16071 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16072 for POWER.
16073 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16074 powerpc/power5/fpu folders.
16075 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16076 * benchtests/Makefile: Add modf testcase.
16077 * benchtests/bench-modf.c: New file: Benchmark test for mo
16078
160792013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16080
16081 [BZ #14888]
16082 * time/Makefile (tests): Add tst-strptime-whitespace.
16083 * time/strptime_l.c (get_number): Use ISSPACE.
16084 (__strptime_internal): Likewise.
16085 * time/tst-strptime-whitespace.c: New test case.
16086
160872013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16088
16089 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16090 member.
16091 (_nss_files_init): Set it here.
16092
160932013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16094
16095 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16096 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16097 unsigned.
16098
160992013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16100
16101 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16102
161032013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16104
16105 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16106 size just once.
16107
161082013-04-21 David S. Miller <davem@davemloft.net>
16109
16110 * po/ru.po: Update Russion translation from translation project.
16111
161122013-04-17 Adam Conrad <adconrad@0c3.net>
16113
16114 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16115 and setfsgid.
16116
161172013-04-17 Carlos O'Donell <carlos@redhat.com>
16118
16119 * configure.in: Remove i386 configure warning. Remove i386 case.
16120 * configure: Regenerate.
16121 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16122 Add example to error message.
16123 * sysdeps/i386/configure: Regenerate.
16124
161252013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16126
16127 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16128 slowtan.
16129 * benchtests/cos-inputs: New file.
16130 * benchtests/slowcos-inputs: New file.
16131 * benchtests/slowcos.c: New file.
16132 * benchtests/slowtan-inputs: New file.
16133 * benchtests/slowtan.c: New file.
16134 * benchtests/tan-inputs: New file.
16135
161362013-04-16 Roland McGrath <roland@hack.frob.com>
16137
16138 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16139 considered kosher.
16140
161412013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16142
16143 * benchtests/Makefile: Include cppflags-iterator.mk to add
16144 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16145
16146 * Makefile.in (bench-clean): New target.
16147 * benchtests/Makefile (bench-clean): Likewise.
16148
161492013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16150
16151 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16152
161532013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16154
16155 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16156
161572013-04-15 Andreas Schwab <schwab@suse.de>
16158
16159 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16160 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16161 * nscd/pwdcache.c (cache_addpw): Likewise.
16162 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16163 more than recsize.
16164
161652013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16166
16167 * benchtests/Makefile (bench): Write all output to
16168 bench-out.tmp together.
16169
161702013-04-15 Andreas Schwab <schwab@suse.de>
16171
16172 * nscd/nscd.c (main): Don't fork again after closing files.
16173
161742013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16175
16176 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16177
16178 * benchtests/Rules (bench-deps): Collect dependencies into a
16179 single variable. Add Makefile to dependencies.
16180 ($(objpfx)bench-%.c): Depend on bench-deps.
16181
161822013-04-12 Roland McGrath <roland@hack.frob.com>
16183 Xavier Roche <roche+kml2@exalead.com>
16184
16185 [BZ #15361]
16186 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16187 just that it's a file descriptor.
16188 * manual/llio.texi (Synchronizing AIO Operations): Update description
16189 for EBADF error from aio_fsync.
16190
161912013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16192
16193 * Rules (bench): Move target definition...
16194 * benchtests/Makefile: ... here.
16195
161962013-04-11 Carlos O'Donell <carlos@redhat.com>
16197
16198 * math/libm-test.inc (cos_test): Fix PI/2 test.
16199 (sincos_test): Likewise.
16200 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16201 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16202
162032013-04-11 Andreas Schwab <schwab@suse.de>
16204
16205 [BZ #13988]
16206 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16207 accept exponent character only when digits were seen.
16208 * stdio-common/Makefile (tests): Add bug26.
16209 * stdio-common/bug26.c: New file.
16210
16211 [BZ #14293]
16212 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16213 non-freeable.
16214
162152013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16216
16217 * Makeconfig (rtld-prefix): Define built linker prefix.
16218 * Rules (run-bench): Use it.
16219 * math/Makefile (run-regen-ulps): Likewise.
16220
16221 * Rules (bench): Remove eval.
16222
162232013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16224 Roland McGrath <roland@hack.frob.com>
16225 Ondrej Bilka <neleai@seznam.cz>
16226
16227 [BZ #15346]
16228 * time/getdate.c: Include ctype.h and alloca.h.
16229 (__getdate_r): Trim leading and trailing spaces of input.
16230 * time/tst-getdate.c (tests): Add tests with leading and
16231 trailing spaces.
16232
162332013-04-08 Roland McGrath <roland@hack.frob.com>
16234
16235 [BZ #14280]
16236 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16237 when computing value.
16238
162392013-04-06 Carlos O'Donell <carlos@redhat.com>
16240
16241 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16242 Use testrun.sh to run libm tests.
16243
16244 [BZ #15309]
16245 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16246
162472013-04-06 Marko Myllynen <myllynen@redhat.com>
16248
16249 [BZ #15264]
16250 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16251
162522013-04-06 Carlos O'Donell <carlos@redhat.com>
16253
16254 * Makefile.in (regen-ulps): New target.
16255 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16256 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16257 [ifneq (no,$(PERL)] (regen-ulps): New target.
16258 [ifeq (no,$(PERL)] (regen-ulps): New target.
16259 * math/libm-test.inc (ulps_file_name): Define.
16260 (output_dir): New variable.
16261 (options): Add "output-dir" option.
16262 (parse_opt): Handle 'o' case.
16263 (main): If output_dir is non-NULL use it as a prefix
16264 otherwise use "".
16265 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16266
162672013-04-06 Carlos O'Donell <carlos@redhat.com>
16268
16269 [BZ #10060, #10062]
16270 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16271 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16272 fail configure if __sync_val_compare_and_swap is not inlined.
16273 * sysdeps/i386/configure: Regenerate.
16274 * configure.in: Build for i686 when configured for i386.
16275 * configure: Regenerate.
16276 * README: Remove i386 reference.
16277
162782013-04-06 Carlos O'Donell <carlos@redhat.com>
16279
16280 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16281 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16282
162832013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16284
16285 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16286 (lmsnanval): New variables.
16287 (F): Add conversion tests.
16288 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16289 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16290
16291 * stdio-common/tstdiomisc.c (F): Properly collect individual
16292 tests' results.
16293
16294 [BZ #14686, #15336]
16295 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16296 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16297 Instead, use input NaN values or generate a qNaN by arithmetic
16298 operation. Also fix bugs to comply with the standard.
16299 * math/libm-test.inc (remainder_test): Add more tests.
16300
16301 [BZ #15335, #15342]
16302 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16303 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16304 input NaN values or generate a qNaN by arithmetic operation.
16305
16306 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16307 unreachable code.
16308
16309 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16310 definitions.
16311
163122013-04-03 Joseph Myers <joseph@codesourcery.com>
16313
16314 [BZ #14478]
16315 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16316 underflowed result.
16317 * math/s_cexpf.c (__cexpf): Likewise.
16318 * math/s_cexpl.c (__cexpl): Likewise.
16319 * math/libm-test.inc (cexp_test): Add more tests.
16320
163212013-04-03 Andreas Schwab <schwab@suse.de>
16322
16323 [BZ #15330]
16324 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16325 order arrays from heap if bigger than alloca cutoff.
16326
163272013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16328
16329 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16330 (SNAN_TESTS_double): Refer to GCC PR56831.
16331 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16332 GCC PR56828.
16333
163342013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16335
16336 * Rules (bench): Move bench.out after the run is complete.
16337
16338 * Rules (bench): Echo currently running benchmark.
16339
16340 * benchtests/Makefile (bench): Add atan and slowatan.
16341 * benchtests/atan-inputs: New file.
16342 * benchtests/slowatan-inputs: New file.
16343 * benchtests/slowatan.c: New file.
16344
16345 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16346 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16347 its value.
16348
16349 [BZ #15305]
16350 * sysdeps/unix/sysv/linux/kernel-features.h
16351 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16352 __ASSUME_XFS_RESTRICTED_CHOWN.
16353 * sysdeps/unix/sysv/linux/pathconf.c
16354 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16355 Save and restore errno.
16356
163572013-04-02 Joseph Myers <joseph@codesourcery.com>
16358
16359 [BZ #15327]
16360 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16361 arguments using __kernel_casinh.
16362 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16363 arguments using __kernel_casinhf.
16364 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16365 arguments using __kernel_casinhl.
16366 * math/libm-test.inc (cacosh_test): Add more tests.
16367 * sysdeps/i386/fpu/libm-test-ulps: Update.
16368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16369
163702013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16371
16372 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16374
16375 * bench/Makefile (bench): Add sin and slowsin.
16376 * benchtests/sin-inputs: New file.
16377 * benchtests/slowsin-inputs: New file.
16378 * benchtests/slowsin.c: New file.
16379
16380 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16381 (bench): Add slowexp and slowpow.
16382 (exp-ITER): Increase iterations.
16383 (pow-ITER): Likewise.
16384 * benchtests/exp-inputs: Change input.
16385 * benchtests/pow-inputs: Likewise.
16386 * benchtests/slowexp-inputs: New file.
16387 * benchtests/slowexp.c: New file.
16388 * benchtests/slowpow-inputs: New file.
16389 * benchtests/slowpow.c: New file.
16390
163912013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16392
16393 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16394 instructions.
16395 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16396 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16397 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16398 * benchtests/Makefile: Add rint benchtest.
16399 * benchtests/rint-inputs: Input for rint benchtest.
16400
164012013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16402
16403 * Versions.def (libm): Add GLIBC_2.18.
16404 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16405 hidden libm prototypes.
16406 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16407 * math/Makefile (libm-calls): Add s_issignaling.
16408 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16409 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16410 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16411 declaration.
16412 * math/math.h [__USE_GNU] (issignaling): New macro.
16413 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16414 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16415 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16416 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16417 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16418 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16419 * manual/arith.texi (issignaling): New section.
16420 * manual/libm-err-tab.pl (@all_functions): Update comment.
16421 * math/gen-libm-test.pl (parse_args): Apply special handling for
16422 issignaling.
16423 * math/libm-test.inc (print_float, issignaling_test): New
16424 functions.
16425 (check_float_internal): Add issignaling checks.
16426 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16427 default definition.
16428 * sysdeps/powerpc/math-tests.h: New file.
16429 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16430 tests.
16431 * math/test-snan.c (TEST_FUNC): Likewise.
16432
164332013-03-30 David S. Miller <davem@davemloft.net>
16434
16435 * po/de.po: Update from translation team.
16436
164372013-03-30 Joseph Myers <joseph@codesourcery.com>
16438
16439 [BZ #10357]
16440 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16441 imaginary part less than 1.0 and real part less than 0.5
16442 specially.
16443 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16444 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16445 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16446 (cacos_test): Add more tests.
16447 (casin_test): Likewise.
16448 (casinh_test): Likewise.
16449 * sysdeps/i386/fpu/libm-test-ulps: Update.
16450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16451
164522013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16453
16454 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16455 ONE with its value.
16456
16457 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16458 (__pow_mp): Replace ONE and MONE with their values.
16459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16460 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16461 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16462 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16463 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16464 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16465
16466 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16467
16468 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16469 (__pow_mp): Replace ZERO and MZERO with their values.
16470 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16472 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16473 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16474 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16475 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16476 (__sqr): Likewise.
16477
16478 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16479
16480 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16481
164822013-03-28 Roland McGrath <roland@hack.frob.com>
16483
16484 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16485 Declare with __attribute__ ((weak)).
16486 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16487 Call __call_tls_dtors only if it's not NULL.
16488
164892013-03-28 Roland McGrath <roland@hack.frob.com>
16490
16491 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16492 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16493 magic __ehdr_start linker symbol if it's defined.
16494 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16495 them up here if it was already done.
16496
16497 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16498 (_dl_aux_init): Use const in cast when setting it.
16499 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16500 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16501 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16502
16503 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16504 Declare them here.
16505 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16506 * csu/libc-tls.c: Nor here.
16507 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16508
16509 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16510 (__libc_message): Never call vsyslog.
16511
165122013-03-28 Alan Modra <amodra@gmail.com>
16513
16514 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16515 Define as empty.
16516 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16517 Likewise.
16518
165192013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16520
16521 [BZ #15214]
16522 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16523 underflow.
16524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16525
165262013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16527
16528 [BZ #15304]
16529 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16530 Don't add gid passed as argument.
16531
16532 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16533
165342013-03-27 Joseph Myers <joseph@codesourcery.com>
16535
16536 [BZ #15307]
16537 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16538 imaginary part between 1.0 and 1.5 and real part less than 0.5
16539 specially.
16540 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16541 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16542 * math/libm-test.inc (cacos_test): Add more tests.
16543 (casin_test): Likewise.
16544 (casinh_test): Likewise.
16545 * sysdeps/i386/fpu/libm-test-ulps: Update.
16546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16547
165482013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16549
16550 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16551 constants.
16552 (norm): Likewise.
16553 (denorm): Likewise.
16554 (__dbl_mp): Likewise.
16555 (add_magnitudes): Likewise.
16556 (sub_magnitudes): Likewise.
16557 (__add): Likewise.
16558 (__sub): Likewise.
16559 (__mul): Likewise.
16560 (__sqr): Likewise.
16561 (__inv): Likewise.
16562 (__dvd): Likewise.
16563
16564 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16565 commented code.
16566 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16567 (__dubcos): Likewise.
16568 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16569 (__ieee754_acos): Likewise.
16570 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16571 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16572 (__exp1): Likewise.
16573 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16575 (log1): Likewise.
16576 (my_log2): Likewise.
16577 (checkint): Likewise.
16578 * sysdeps/ieee754/dbl-64/e_remainder.c
16579 (__ieee754_remainder): Likewise.
16580 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16581 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16582 (bsloww): Likewise.
16583 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16584
16585 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16586 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16587 MANTISSA_STORE_T to store computations on mantissa. Use
16588 macros for rounding and division.
16589 (denorm): Likewise.
16590 (__dbl_mp): Likewise.
16591 (add_magnitudes): Likewise.
16592 (sub_magnitudes): Likewise.
16593 (__mul): Likewise.
16594 (__sqr): Likewise.
16595 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16596 powers of two in terms of TWOPOW macro.
16597 (mp_no): Make type of mantissa as MANTISSA_T.
16598 [!RADIXI]: Define RADIXI.
16599 [!TWO52]: Define TWO52.
16600 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16601
166022013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16603
16604 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16605 llroundl symbol when building for PPC32.
16606
166072013-03-24 Mark H Weaver <mhw@netris.org>
16608
16609 * manual/arith.texi (Normalization Functions): Fix prototypes for
16610 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16611
166122013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16613
16614 [BZ #13889]
16615 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16616 high value to check if expl overflow.
16617 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16618 to check for underflow and overflow.
16619 * math/libm-test.inc: Add exp test.
16620
166212013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16622
16623 [BZ #11120]
16624 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16625 with NOT_IN_libc.
16626
166272013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16628
16629 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16630 symbol.
16631
166322013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16633
16634 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16635 wrap blocks consisting of several statements.
16636
16637 * sysdeps/generic/math-tests.h: New file.
16638 * sysdeps/i386/fpu/math-tests.h: Likewise.
16639 * math/test-snan.c: Include it.
16640 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16641
166422013-03-21 Joseph Myers <joseph@codesourcery.com>
16643
16644 [BZ #15285]
16645 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16646 (__ieee754_j0l): Do not improve calculations using cos of twice
16647 input for inputs above LDBL_MAX / 2.0L.
16648 (__ieee754_y0l): Likewise.
16649 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16650 (__ieee754_j1l): Do not improve calculations using cos of twice
16651 input for inputs above LDBL_MAX / 2.0L.
16652 (__ieee754_y1l): Likewise.
16653 * math/libm-test.inc (j0_test): Add another test.
16654 (j1_test): Likewise.
16655 (y0_test): Likewise.
16656 (y1_test): Likewise.
16657 * sysdeps/i386/fpu/libm-test-ulps: Update.
16658
166592013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16660
16661 * Rules ($(objpfx)bench-%.c): Include code from a C source
16662 file.
16663
166642013-03-21 Joseph Myers <joseph@codesourcery.com>
16665
16666 [BZ #15287]
16667 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16668 imaginary part 1.0 and real part less than 0.5 specially.
16669 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16670 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16671 * math/libm-test.inc (cacos_test): Add more tests.
16672 (casin_test): Likewise.
16673 (casinh_test): Likewise.
16674 * sysdeps/i386/fpu/libm-test-ulps: Update.
16675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16676
166772013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16678
16679 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16680 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16681
166822013-03-20 Joseph Myers <joseph@codesourcery.com>
16683
16684 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16685 * config.make.in (config-cflags-sse4): Remove variable.
16686 (config-cflags-avx): Likewise.
16687 (config-cflags-sse2avx): Likewise.
16688 (config-cflags-novzeroupper): Likewise.
16689 (config-asflags-i686): Likewise.
16690 (have-mfma4): Likewise.
16691 (have-as-vis3): Likewise.
16692 (MIG): Likewise.
16693 * configure.in (MIG): Do not AC_SUBST.
16694 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16695 (libc_cv_cc_sse4): Do not AC_SUBST.
16696 (libc_cv_cc_avx): Likewise.
16697 (libc_cv_cc_sse2avx): Likewise.
16698 (libc_cv_cc_novzeroupper): Likewise.
16699 (libc_cv_cc_fma4): Likewise.
16700 (libc_cv_as_i686): Likewise.
16701 (libc_cv_sparc_as_vis3): Likewise.
16702 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16703 LIBC_CONFIG_VAR.
16704 (config-asflags-i686): Likewise.
16705 (config-cflags-avx): Likewise.
16706 (config-cflags-sse2avx): Likewise.
16707 (have-mfma4): Likewise.
16708 (config-cflags-novzeroupper): Likewise.
16709 * sysdeps/mach/configure.in (MIG): Likewise.
16710 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16711 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16712 LIBC_CONFIG_VAR.
16713 (config-cflags-avx): Likewise.
16714 (config-cflags-sse2avx): Likewise.
16715 (have-mfma4): Likewise.
16716 (config-cflags-novzeroupper): Likewise.
16717 * configure: Regenerated.
16718 * sysdeps/i386/configure: Likewise.
16719 * sysdeps/mach/configure: Likewise.
16720 * sysdeps/sparc/configure: Likewise.
16721 * sysdeps/x86_64/configure: Likewise.
16722
167232013-03-20 Roland McGrath <roland@hack.frob.com>
16724
16725 [BZ #14812]
16726 * locale/programs/localedef.c (options): Put N_ translation marker
16727 on argument names, not just descriptions.
16728
167292013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16730
16731 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16732
167332013-03-20 Ondřej Bílka <neleai@seznam.cz>
16734
16735 [BZ #14176]
16736 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16737
167382013-03-19 Roland McGrath <roland@hack.frob.com>
16739
16740 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16741 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16742 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16743 [!BEFORE_ABORT] (before_abort): New function.
16744 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16745 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16746 (writev_for_fatal): New function.
16747 (WRITEV_FOR_FATAL): New macro; call that.
16748 (backtrace_and_maps): New function.
16749 (BEFORE_ABORT): New macro; call that.
16750 (struct str_list): Type removed.
16751 (__libc_message, __libc_fatal): Functions removed.
16752 Include <sysdeps/posix/libc_fatal.c> instead.
16753
167542013-03-19 Joseph Myers <joseph@codesourcery.com>
16755
16756 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16757 constants.
16758 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16759 double constants.
16760
167612013-03-19 Andreas Schwab <schwab@suse.de>
16762
16763 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16764 * sysdeps/gnu/configure: Regenerate.
16765
16766 * configure.in: Substitute libc_cv_rtlddir.
16767 * configure: Regenerate.
16768 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16769 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16770 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16771 * elf/Makefile (install-others, CFLAGS-interp.c)
16772 (ldso_install, common-ldd-rewrite): Likewise.
16773 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16774 $(inst_slibdir)/$(rtld-installed-name).
16775 * scripts/rellns-sh: Add -p option.
16776 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16777 for source.
16778
167792013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16780
16781 * manual/nptl.texi: Renamed to ...
16782 * manual/threads.texi: ... this.
16783 * manual/Makefile (chapters): Update.
16784
167852013-03-18 Roland McGrath <roland@hack.frob.com>
16786
16787 [BZ #14812]
16788 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16789 on argument names, not just descriptions.
16790 * malloc/memusagestat.c (options): Likewise.
16791 * nss/getent.c (options): Likewise.
16792
167932013-03-18 Benno Schulenberg <bensberg@justemail.net>
16794
16795 [BZ #14812]
16796 * iconv/iconv_prog.c (options): Put N_ translation marker
16797 on argument names, not just descriptions.
16798 * iconv/iconvconfig.c (options): Likewise.
16799
168002013-03-18 Ondrej Bilka <neleai@seznam.cz>
16801
16802 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16803 implementation which is faster on all x86_64 architectures.
16804 Tested on AMD, Intel Nehalem, SNB, IVB.
16805 * sysdeps/x86_64/strnlen.S: Likewise.
16806
16807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16808 Remove all multiarch strlen and strnlen versions.
16809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16810 Remove strlen and strnlen related parts.
16811
16812 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16813 Inline strlen part.
16814 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16815
16816 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16817 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16818 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16819 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16820 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16821 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16822
168232013-03-17 Carlos O'Donell <carlos@redhat.com>
16824
16825 * manual/memory.texi (Malloc Tunable Parameters):
16826 Sort parameters alphabetically. Add comments for missing entries.
16827
168282013-03-17 David S. Miller <davem@davemloft.net>
16829
16830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16831
168322013-03-16 Joseph Myers <joseph@codesourcery.com>
16833
16834 [BZ #15283]
16835 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16836 for arguments at most half maximum finite value.
16837 * math/libm-test.inc (j0_test): Add more tests.
16838 (j1_test): Likewise.
16839 (y0_test): Likewise.
16840 (y1_test): Likewise.
16841 * sysdeps/i386/fpu/libm-test-ulps: Update.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16843
16844 [BZ #14155]
16845 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16846 1 / x and functions P and Q for arguments above 0x1p256L.
16847 (__ieee754_y0l): Likewise.
16848 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16849 (__ieee754_y1l): Likewise.
16850 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16851 (j1_test): Likewise.
16852 (y0_test): Likewise.
16853 (y1_test): Likewise.
16854
168552013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16856
16857 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16858 variable.
16859
168602013-03-15 Roland McGrath <roland@hack.frob.com>
16861
16862 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16863 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16864 zero since it's initialized to EXEC_PAGESIZE.
16865
16866 * sysdeps/unix/sysv/linux/ldsodefs.h
16867 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16868 * sysdeps/generic/ldsodefs.h: ... here.
16869
168702013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16871
16872 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16873
16874 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16875 math/test-snan.c.
16876 * math/test-snan.c: Renamed from
16877 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16878 * math/Makefile (tests): Add test-snan.
16879 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16880 test-powerpc-snan.
16881
16882 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16883 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16884 functions.
16885 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16886 __builtin_nan family of functions.
16887 * math/libm-test.inc (initialize): Initialize qnan_value with
16888 __builtin_nan family of functions.
16889 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16890 Remove variables.
16891 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16892 Remove functions.
16893 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16894 storage class. Initialize qNaN_var and sNaN_var with
16895 __builtin_nan and __builtin_nans families of functions,
16896 respectively.
16897
16898 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16899 (sqrt_test): Remove duplicate test with qNaN input.
16900 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16901 (round_test, signbit_test, significand_test): Note missing +/-Inf
16902 as well as qNaN tests.
16903
16904 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16905 qNaN_var. Fix a few strings, too.
16906 * math/libm-test.inc (nan_value): Rename to qnan_value.
16907 * math/gen-libm-test.pl (%beautify): Adjust to that.
16908 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16909 * math/test-misc.c (main): Likewise.
16910 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16911 to __qnan_bytes, and __qnan_union, respectively.
16912 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16913 Likewise.
16914 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16915 and lqnanval, respectively.
16916 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16917 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16918 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16919 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16920
16921 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16922 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16923 doubles.
16924
16925 * math/test-misc.c (main): Fix copy'n'pastos.
16926 * misc/tst-efgcvt.c (special): Likewise.
16927
16928 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16929 Remove declarations.
16930
169312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16932
16933 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16934 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16935 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16936 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16937
169382013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16939
16940 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16941 macro to return vdso values correctly in IFUNC implementations.
16942 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16943 Optimization by using IFUNC.
16944
169452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16946 Richard Henderson <rth@redhat.com>
16947 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16948
16949 * Makefile.in (bench): New target.
16950 * NEWS: Mention the benchmark framework.
16951 * Rules (bench): Likewise.
16952 (binaries-bench): Generate binaries for functions to
16953 benchmark.
16954 * benchtests/Makefile: New makefile for benchmark tests.
16955 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16956 programs.
16957 * benchtests/exp-inputs: New input file for EXP function.
16958 * benchtests/pow-inputs: New input file for POW function.
16959 * scripts/bench.pl: New script to generate source files for
16960 benchmark programs.
16961
169622013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16963
16964 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16965 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16966 computations on mantissa. Use macros for rounding and
16967 division.
16968 (denorm): Likewise.
16969 (__dbl_mp): Likewise.
16970 (add_magnitudes): Likewise.
16971 (sub_magnitudes): Likewise.
16972 (__mul): Likewise.
16973 (__sqr): Likewise.
16974 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16975 powers of two in terms of TWOPOW macro.
16976 (mp_no): Make type of mantissa as MANTISSA_T.
16977 [!RADIXI]: Define RADIXI.
16978 [!TWO52]: Define TWO52.
16979 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16980
16981 * manual/nptl.texi (cindex): Modify threads to pthreads.
16982
169832013-03-15 Joseph Myers <joseph@codesourcery.com>
16984
16985 * sysdeps/x86_64/preconfigure: Regenerated.
16986
169872013-03-14 Joseph Myers <joseph@codesourcery.com>
16988
16989 [BZ #14155]
16990 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16991 0x1p28 and above.
16992 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16993 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16994 0x1p28 and above.
16995 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16996 * math/libm-test.inc (j0_test): Do not allow one spurious
16997 underflow exception.
16998 (y1_test): Likewise.
16999
170002013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17001
17002 * manual/Makefile (chapters): Add nptl.
17003 * manual/debug.texi (Debugging Support): Add link to Threads
17004 chapter.
17005 * manual/nptl.texi: New file.
17006
17007 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17008
170092013-03-14 Petr Baudis <pasky@ucw.cz>
17010
17011 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17012 for non-NULL pointer before the memory validity test. Pointed
17013 out by Holger Brunck <holger.brunck@keymile.com>.
17014
170152013-03-13 Andreas Schwab <schwab@suse.de>
17016
17017 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17018 instead of .os.
17019
170202013-03-13 Joseph Myers <joseph@codesourcery.com>
17021
17022 * timezone/zic.c: Update from tzcode 2013b.
17023
170242013-03-12 Carlos O'Donell <carlos@redhat.com>
17025
17026 * manual/install.texi (Configuring and compiling):
17027 Mention i686 and i586.
17028 * INSTALL: Regenerate.
17029
170302013-03-12 Roland McGrath <roland@hack.frob.com>
17031
17032 * sysdeps/init_array/elf-init.c: New file.
17033 * csu/elf-init.c
17034 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17035 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17036
17037 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17038 __gmon_start__ as global, but as static with a .preinit_array pointer.
17039 * sysdeps/init_array/gmon-start.c: New file. Use that.
17040 * sysdeps/init_array/crti.S: New file, empty except for comments.
17041 * sysdeps/init_array/crtn.S: Likewise.
17042
170432013-03-11 Ondřej Bílka <neleai@seznam.cz>
17044
17045 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17046 definining bcopy.
17047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17048 Remove Prefer_SSE_for_memop.
17049 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17050 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17051 HAS_PREFER_SSE_FOR_MEMOP.
17052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17053 memset-x86-64.
17054 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17055 Remove bzero, memset ifunc support.
17056 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17057 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17058 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17059 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17060
170612013-03-11 Andreas Schwab <schwab@suse.de>
17062
17063 [BZ #15234]
17064 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17065 by SHLIB_COMPAT.
17066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17067 (GLIBC_2.16): Remove pthread_atfork.
17068
170692013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17070
17071 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17072 (ptestcases.h): Likewise.
17073
170742013-03-08 Roland McGrath <roland@hack.frob.com>
17075
17076 * Makeconfig ($(common-objpfx)config.status): Depend on
17077 sysdeps/*/preconfigure{,.in} too.
17078
170792013-03-08 Joseph Myers <joseph@codesourcery.com>
17080
17081 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17082 (__free_hook): Use void * instead of __malloc_ptr_t.
17083 (__malloc_hook): Likewise.
17084 (__realloc_hook): Likewise.
17085 (__memalign_hook): Likewise.
17086 (__after_morecore_hook): Likewise.
17087 * malloc/arena.c (save_malloc_hook): Likewise.
17088 (save_free_hook): Likewise.
17089 * malloc/hooks.c (malloc_hook_ini): Likewise.
17090 (realloc_hook_ini): Likewise.
17091 (memalign_hook_ini): Likewise.
17092 * malloc/malloc.c (malloc_hook_ini): Likewise.
17093 (realloc_hook_ini): Likewise.
17094 (memalign_hook_ini): Likewise.
17095 (__free_hook): Likewise.
17096 (__malloc_hook): Likewise.
17097 (__realloc_hook): Likewise.
17098 (__memalign_hook): Likewise.
17099 (__libc_malloc): Likewise.
17100 (__libc_free): Likewise.
17101 (__libc_realloc): Likewise.
17102 (__libc_memalign): Likewise.
17103 (__libc_valloc): Likewise.
17104 (__libc_pvalloc): Likewise.
17105 (__libc_calloc): Likewise.
17106 (__posix_memalign): Likewise.
17107 * malloc/morecore.c (__sbrk): Likewise.
17108 (__default_morecore): Likewise.
17109
17110 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17111
17112 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17113 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17114 __malloc_ptrdiff_t.
17115
17116 * malloc/malloc.h (__malloc_size_t): Remove macro.
17117 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17118 __malloc_size_t.
17119 (old_memalign_hook): Likewise.
17120 (old_realloc_hook): Likewise.
17121 (struct hdr): Likewise.
17122 (flood): Likewise.
17123 (mallochook): Likewise.
17124 (memalignhook): Likewise.
17125 (reallochook): Likewise.
17126 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17127 (tr_old_realloc_hook): Likewise.
17128 (tr_old_memalign_hook): Likewise.
17129 (tr_mallochook): Likewise.
17130 (tr_reallochook): Likewise.
17131 (tr_memalignhook): Likewise.
17132
171332013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17134
17135 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17136 default_ldbl_pack and using as default implementation.
17137 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17138 implementation.
17139 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17140 redundant definition.
17141 (ldbl_insert_mantissa): Likewise.
17142 (ldbl_canonicalize): Likewise.
17143 (ldbl_nearbyint): Likewise.
17144 (ldbl_pack): Rename to ldbl_pack_ppc.
17145 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17146 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17147 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17148
171492013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17150
17151 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17152 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17153 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17154 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17156 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17157 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17158 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17159
171602013-03-07 Andreas Jaeger <aj@suse.de>
17161
17162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17163 bits/mman-linux.h.
17164
171652013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17166
17167 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17168 Include mpa.h and declare __MPEXP.
17169 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17170 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17171 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17172 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17173 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17174 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17175 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17176
17177 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17178 (__slowpow): Use long double EXPL and LOGL functions to
17179 compute POW.
17180 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17181 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17182 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17183 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17184 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17185 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17186
17187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17188 intermediate variable to calculate exponent.
17189 (__sqr): Likewise.
17190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17191 Likewise.
17192 (__sqr): Likewise.
17193
17194 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17195 [!NO__SQR]: Define __sqr.
17196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17197 and NO__SQR. Remove all code except __mul and __sqr. Include
17198 sysdeps/ieee754/dbl-64/mpa.c.
17199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17200
17201 [BZ #12723]
17202 * posix/Makefile (tests): Add tst-pathconf.
17203 * posix/tst-pathconf.c: New test case.
17204 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17205 _PC_PIPE_BUF.
17206 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17207
172082013-03-06 Patsy Franklin <pfrankli@redhat.com>
17209
17210 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17211
172122013-03-06 Andreas Jaeger <aj@suse.de>
17213
17214 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17215 definition via __MAP_ANONYMOUS.
17216
17217 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17218 it's not part of Linux headers.
17219
17220 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17221 (MAP_HUGE_MASK): Define.
17222
17223 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17224 Define.
17225 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17226 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17227 Define.
17228 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17229 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17230 Define.
17231 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17232 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17233 Define.
17234 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17235
17236 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17237 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17238 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17239 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17240 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17241 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17242
17243 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17244 Handle f2fs.
17245
17246 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17247 Handle f2fs and efivarfs.
17248
17249 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17250 f2fs.
17251
17252 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17253 (EFIVARFS_MAGIC): Add.
17254 (F2FS_LINK_MAX): Add.
17255
172562013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17257
17258 * stdio-common/vfprintf.c: Replace __builtin_expect with
17259 __glibc_unlikely.
17260
172612013-03-06 Joseph Myers <joseph@codesourcery.com>
17262
17263 [BZ #13550]
17264 * sysdeps/generic/bp-sym.h: Remove file.
17265 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17266 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17267 <bp-sym.h> and <bp-asm.h>.
17268 (__longjmp): Don't use BP_SYM.
17269 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17270 and <bp-asm.h>.
17271 (memcpy): Don't use BP_SYM.
17272 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17273 <bp-sym.h> and <bp-asm.h>.
17274 (memcpy): Don't use BP_SYM.
17275 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17276 <bp-asm.h>.
17277 (memcpy): Don't use BP_SYM.
17278 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17279 <bp-asm.h>.
17280 (memset): Don't use BP_SYM.
17281 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17282 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17283 (__bzero): Don't use BP_SYM.
17284 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17285 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17286 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17287 <bp-sym.h> and <bp-asm.h>.
17288 (memcmp): Don't use BP_SYM. Remove comment about bounded
17289 pointers.
17290 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17291 <bp-sym.h> and <bp-asm.h>.
17292 (memcpy): Don't use BP_SYM.
17293 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17294 <bp-sym.h> and <bp-asm.h>.
17295 (memset): Don't use BP_SYM.
17296 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17297 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17298 (__bzero): Don't use BP_SYM.
17299 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17300 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17301 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17302 <bp-sym.h> and <bp-asm.h>.
17303 (strncmp): Don't use BP_SYM. Remove comment about bounded
17304 pointers.
17305 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17306 <bp-sym.h> and <bp-asm.h>.
17307 (memcpy): Don't use BP_SYM.
17308 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17309 <bp-sym.h> and <bp-asm.h>.
17310 (memset): Don't use BP_SYM.
17311 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17312 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17313 (__bzero): Don't use BP_SYM.
17314 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17315 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17316 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17317 <bp-sym.h> and <bp-asm.h>.
17318 (__memchr): Don't use BP_SYM.
17319 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17320 <bp-sym.h> and <bp-asm.h>.
17321 (memcmp): Don't use BP_SYM. Remove comment about bounded
17322 pointers.
17323 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17324 <bp-sym.h> and <bp-asm.h>.
17325 (memcpy): Don't use BP_SYM.
17326 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17327 <bp-sym.h> and <bp-asm.h>.
17328 (__mempcpy): Don't use BP_SYM.
17329 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17330 <bp-sym.h> and <bp-asm.h>.
17331 (__memrchr): Don't use BP_SYM.
17332 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17333 <bp-sym.h> and <bp-asm.h>.
17334 (memset): Don't use BP_SYM.
17335 (__bzero): Likewise.
17336 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17337 <bp-sym.h> and <bp-asm.h>.
17338 (__rawmemchr): Don't use BP_SYM.
17339 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17340 <bp-sym.h> and <bp-asm.h>.
17341 (__STRCMP): Don't use BP_SYM.
17342 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17343 <bp-sym.h> and <bp-asm.h>.
17344 (strchr): Don't use BP_SYM.
17345 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17346 <bp-sym.h> and <bp-asm.h>.
17347 (__strchrnul): Don't use BP_SYM.
17348 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17349 <bp-sym.h> and <bp-asm.h>.
17350 (strlen): Don't use BP_SYM.
17351 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17352 <bp-sym.h> and <bp-asm.h>.
17353 (strncmp): Don't use BP_SYM. Remove comment about bounded
17354 pointers.
17355 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17356 <bp-sym.h> and <bp-asm.h>.
17357 (__strnlen): Don't use BP_SYM.
17358 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17359 <bp-sym.h> and <bp-asm.h>.
17360 (__GI__setjmp): Don't use BP_SYM.
17361 (_setjmp): Likewise.
17362 (__sigsetjmp): Likewise.
17363 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17364 (L(start_addresses)): Don't use BP_SYM.
17365 (_start): Likewise.
17366 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17367 <bp-asm.h>.
17368 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17369 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17370 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17371 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17372 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17373 <bp-asm.h>.
17374 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17375 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17376 about bounded pointers.
17377 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17378 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17379 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17380 <bp-asm.h>.
17381 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17382 about bounded pointers. Remove GKM FIXME comments.
17383 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17384 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17385 <bp-asm.h>.
17386 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17387 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17388 Remove GKM FIXME comments.
17389 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17390 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17391 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17392 <bp-asm.h>.
17393 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17394 about bounded pointers. Remove GKM FIXME comment.
17395 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17396 and <bp-asm.h>.
17397 (strncmp): Don't use BP_SYM. Remove comment about bounded
17398 pointers.
17399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17400 <bp-sym.h> and <bp-asm.h>.
17401 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17403 <bp-sym.h> and <bp-asm.h>.
17404 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17405 comment.
17406
174072013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17408
17409 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17410 call free(NULL).
17411
174122013-03-05 David S. Miller <davem@davemloft.net>
17413
17414 * po/es.po: Update from translation team.
17415
174162013-03-05 Andreas Jaeger <aj@suse.de>
17417
17418 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17419 <bits/mman-linux.h>.
17420 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17421 is fine.
17422 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17423 <bits/mman-linux.h> to end of file.
17424 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17425 is fine.
17426 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17427 <bits/mman-linux.h> to end of file.
17428 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17429 is fine.
17430 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17431 <bits/mman-linux.h> to end of file.
17432
17433 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17434 (MCL_CURRENT, MCL_FUTURE): Define here.
17435
174362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17437
17438 [BZ #15232]
17439 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17440 attribute_hidden.
17441 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17442
174432013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17444
17445 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17446 fourth parameter needed for rt_sigprocmask syscall.
17447 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17448 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17449 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17450 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17451 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17452 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17453
174542013-03-04 Joseph Myers <joseph@codesourcery.com>
17455
17456 [BZ #13550]
17457 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17458 comment about bounded pointers.
17459 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17460 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17461
174622013-03-04 Andreas Jaeger <aj@suse.de>
17463
17464 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17465 common definitions.
17466
17467 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17468 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17469 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17470 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17471 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17472 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17473
174742013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17475
17476 [BZ #15055]
17477 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17478 __ieee754_sqrl instead of __sqrl.
17479
174802013-03-01 Joseph Myers <joseph@codesourcery.com>
17481
17482 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17483 * sysdeps/powerpc/fpu_control.h: ... here.
17484 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17485 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17486 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17487 * sysdeps/powerpc/bits/mathinline.h: ... here.
17488
174892013-03-01 Roland McGrath <roland@hack.frob.com>
17490
17491 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17492 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17493 to just [NEED_DL_SYSINFO_DSO].
17494 * elf/dl-support.c: Likewise.
17495 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17496 * elf/rtld.c (dl_main): Likewise.
17497 * elf/setup-vdso.h (setup_vdso): Likewise.
17498 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17499 * sysdeps/unix/sysv/linux/dl-sysdep.c
17500 (_dl_discover_osversion): Likewise.
17501
175022013-03-01 Carlos O'Donell <carlos@redhat.com>
17503
17504 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17505 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17506
175072013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17508
17509 * NEWS: Mention libm performance improvements and non-x86 PI
17510 futex support.
17511
17512 * csu/libc-start.c (__pthread_initialize_minimal): Change
17513 function arguments.
17514 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17515
175162013-02-28 Joseph Myers <joseph@codesourcery.com>
17517
17518 [BZ #13550]
17519 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17520 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17521 <bp-sym.h> and <bp-asm.h>.
17522 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17523 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17524 and <bp-asm.h>.
17525 (memcpy): Don't use BP_SYM.
17526 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17527 <bp-asm.h>.
17528 (__mpn_add_n): Don't use BP_SYM.
17529 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17530 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17531 and <bp-asm.h>.
17532 (__mpn_addmul_1): Don't use BP_SYM.
17533 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17534 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17535 <bp-sym.h>.
17536 (_setjmp): Don't use BP_SYM.
17537 (__novmx_setjmp): Likewise.
17538 (__GI__setjmp): Likewise.
17539 (__vmx_setjmp): Likewise.
17540 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17541 <bp-sym.h>.
17542 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17543 (__bzero): Don't use BP_SYM.
17544 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17545 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17546 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17547 <bp-sym.h> and <bp-asm.h>.
17548 (memcpy): Don't use BP_SYM.
17549 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17550 <bp-sym.h> and <bp-asm.h>.
17551 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17552 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17553 <bp-sym.h> and <bp-asm.h>.
17554 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17555 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17556 <bp-asm.h>.
17557 (__mpn_lshift): Don't use BP_SYM.
17558 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17559 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17560 <bp-asm.h>.
17561 (memset): Don't use BP_SYM.
17562 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17563 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17564 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17565 <bp-asm.h>.
17566 (__mpn_mul_1): Don't use BP_SYM.
17567 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17568 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17569 <bp-sym.h> and <bp-asm.h>.
17570 (memcmp): Don't use BP_SYM.
17571 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17572 <bp-sym.h> and <bp-asm.h>.
17573 (memcpy): Don't use BP_SYM.
17574 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17575 <bp-sym.h> and <bp-asm.h>.
17576 (memset): Don't use BP_SYM.
17577 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17578 <bp-sym.h> and <bp-asm.h>.
17579 (strncmp): Don't use BP_SYM.
17580 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17581 <bp-sym.h> and <bp-asm.h>.
17582 (memcpy): Don't use BP_SYM.
17583 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17584 <bp-sym.h> and <bp-asm.h>.
17585 (memset): Don't use BP_SYM.
17586 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17587 <bp-sym.h> and <bp-asm.h>.
17588 (__memchr): Don't use BP_SYM.
17589 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17590 <bp-sym.h> and <bp-asm.h>.
17591 (memcmp): Don't use BP_SYM.
17592 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17593 <bp-sym.h> and <bp-asm.h>.
17594 (memcpy): Don't use BP_SYM.
17595 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17596 <bp-sym.h> and <bp-asm.h>.
17597 (__mempcpy): Don't use BP_SYM.
17598 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17599 <bp-sym.h> and <bp-asm.h>.
17600 (__memrchr): Don't use BP_SYM.
17601 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17602 <bp-sym.h> and <bp-asm.h>.
17603 (memset): Don't use BP_SYM.
17604 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17605 <bp-sym.h> and <bp-asm.h>.
17606 (__rawmemchr): Don't use BP_SYM.
17607 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17608 <bp-sym.h> and <bp-asm.h>.
17609 (__STRCMP): Don't use BP_SYM.
17610 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17611 <bp-sym.h> and <bp-asm.h>.
17612 (strchr): Don't use BP_SYM.
17613 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17614 <bp-sym.h> and <bp-asm.h>.
17615 (__strchrnul): Don't use BP_SYM.
17616 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17617 <bp-sym.h> and <bp-asm.h>.
17618 (strlen): Don't use BP_SYM.
17619 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17620 <bp-sym.h> and <bp-asm.h>.
17621 (strncmp): Don't use BP_SYM.
17622 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17623 <bp-sym.h> and <bp-asm.h>.
17624 (__strnlen): Don't use BP_SYM.
17625 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17626 <bp-asm.h>.
17627 (__mpn_rshift): Don't use BP_SYM.
17628 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17629 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17630 <bp-sym.h> and <bp-asm.h>.
17631 (__sigsetjmp): Don't use BP_SYM.
17632 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17633 (L(start_addresses)): Don't use BP_SYM.
17634 (_start): Likewise.
17635 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17636 <bp-asm.h>.
17637 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17638 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17639 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17640 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17641 <bp-asm.h>.
17642 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17643 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17644 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17645 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17646 <bp-asm.h>.
17647 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17648 comments.
17649 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17650 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17651 <bp-asm.h>.
17652 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17653 FIXME comments.
17654 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17655 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17656 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17657 <bp-asm.h>.
17658 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17659 comment.
17660 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17661 and <bp-asm.h>.
17662 (strncmp): Don't use BP_SYM,
17663 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17664 <bp-asm.h>.
17665 (__mpn_sub_n): Don't use BP_SYM.
17666 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17667 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17668 and <bp-asm.h>.
17669 (__mpn_submul_1): Don't use BP_SYM.
17670 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17672 <bp-sym.h> and <bp-asm.h>.
17673 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17675 <bp-sym.h> and <bp-asm.h>.
17676 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17677 comment.
17678
176792013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17680
17681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17682 Use ZK to minimize writes to Z.
17683 (sub_magnitudes): Simplify code a bit.
17684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17685 Use ZK to minimize writes to Z.
17686 (sub_magnitudes): Simplify code a bit.
17687
176882013-02-27 Roland McGrath <roland@hack.frob.com>
17689
17690 * csu/gmon-start.c: Add special exception to license text.
17691
176922013-02-27 Richard Henderson <rth@redhat.com>
17693
17694 * scripts/config.guess: Update from config.git.
17695 * scripts/config.sub: Likewise.
17696
176972013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17698
17699 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17700
17701 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17702
17703 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17704
17705 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17706
17707 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17708
177092013-02-26 Roland McGrath <roland@hack.frob.com>
17710
17711 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17712 [$(build-shared = yes].
17713
177142013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17715
17716 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17717 (__mul): Reduce iterations for calculating mantissa.
17718
17719 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17720 MPTWO.
17721 (__mpranred): Likewise.
17722
17723 [BZ #15160]
17724 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17725 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17726
177272013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17728
17729 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17730 Define __attribute__.
17731
177322013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17733
17734 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17735 unused.
17736 * posix/regex_internal.h (__attribute): Remove.
17737 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17738 (re_string_context_at): Likewise.
17739 (bitset_not): Use __attribute__ and mark function as possibly
17740 unused.
17741 (bitset_merge): Likewise.
17742 (bitset_mask): Likewise.
17743 (re_string_char_size_at): Likewise.
17744 (re_string_wchar_at): Likewise.
17745 (re_string_elem_size_at): Likewise.
17746
177472013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17748
17749 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17750 code.
17751 (cc32): Likewise.
17752
17753 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17754 (__acr): Likewise.
17755 (__cpy): Likewise.
17756 (norm): Likewise.
17757 (denorm): Likewise.
17758 (__dbl_mp): Likewise.
17759 (add_magnitudes): Likewise.
17760 (sub_magnitudes): Likewise.
17761 (__mul): Likewise.
17762 (__inv): Likewise.
17763
17764 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17765 style.
17766
17767 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17768 style.
17769
17770 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17771 code.
17772
17773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17774 up changes with default code.
17775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17776 Likewise.
17777
177782013-02-24 Allan McRae <allan@archlinux.org>
17779
17780 * manual/socket.texi (The Internet Namespace): Order menu items
17781 to match that in the file.
17782
17783 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17784 node listing of the info page menu.
17785
177862013-02-21 Joseph Myers <joseph@codesourcery.com>
17787
17788 [BZ #13550]
17789 * sysdeps/i386/bp-asm.h: Remove file.
17790 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17791 (PARMS): Do not use macros from bp-asm.h.
17792 (S1): Likewise.
17793 (S2): Likewise.
17794 (SIZE): Likewise.
17795 (__mpn_add_n): Do not use BP_SYM
17796 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17797 "bp-asm.h".
17798 (PARMS): Do not use macros from bp-asm.h.
17799 (S1): Likewise.
17800 (SIZE): Likewise.
17801 (__mpn_addmul_1): Do not use BP_SYM
17802 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17803 "bp-asm.h".
17804 (PARMS): Do not use macros from bp-asm.h.
17805 (SIGMSK): Likewise.
17806 (_setjmp): Likewise. Do not use BP_SYM.
17807 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17808 "bp-asm.h".
17809 (PARMS): Do not use macros from bp-asm.h.
17810 (SIGMSK): Likewise.
17811 (setjmp): Likewise. Do not use BP_SYM.
17812 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17813 "bp-asm.h".
17814 (PARMS): Do not use macros from bp-asm.h.
17815 (__frexp): Do not use BP_SYM.
17816 (frexp): Likewise.
17817 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17818 "bp-asm.h".
17819 (PARMS): Do not use macros from bp-asm.h.
17820 (__frexpf): Do not use BP_SYM.
17821 (frexpf): Likewise.
17822 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17823 "bp-asm.h".
17824 (PARMS): Do not use macros from bp-asm.h.
17825 (__frexpl): Do not use BP_SYM.
17826 (frexpl): Likewise.
17827 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17828 "bp-asm.h".
17829 (PARMS): Do not use macros from bp-asm.h.
17830 (__remquo): Do not use BP_SYM.
17831 (remquo): Likewise.
17832 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17833 "bp-asm.h".
17834 (PARMS): Do not use macros from bp-asm.h.
17835 (__remquof): Do not use BP_SYM.
17836 (remquof): Likewise.
17837 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17838 "bp-asm.h".
17839 (PARMS): Do not use macros from bp-asm.h.
17840 (__remquol): Do not use BP_SYM.
17841 (remquol): Likewise.
17842 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17843 "bp-asm.h".
17844 (PARMS): Do not use macros from bp-asm.h.
17845 (DEST): Likewise.
17846 (SRC): Likewise.
17847 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17848 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17849 "bp-asm.h".
17850 (PARMS): Do not use macros from bp-asm.h.
17851 (strlen): Do not use BP_SYM.
17852 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17853 "bp-asm.h".
17854 (PARMS): Do not use macros from bp-asm.h.
17855 (S1): Likewise.
17856 (S2): Likewise.
17857 (SIZE): Likewise.
17858 (__mpn_add_n): Do not use BP_SYM.
17859 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17860 "bp-asm.h".
17861 (PARMS): Do not use macros from bp-asm.h.
17862 (S1): Likewise.
17863 (SIZE): Likewise.
17864 (__mpn_addmul_1): Do not use BP_SYM.
17865 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17866 weak_alias.
17867 (bzero): Likewise.
17868 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17869 "bp-asm.h".
17870 (PARMS): Do not use macros from bp-asm.h.
17871 (S): Likewise.
17872 (SIZE): Likewise.
17873 (__mpn_lshift): Do not use BP_SYM.
17874 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17875 "bp-asm.h".
17876 (PARMS): Do not use macros from bp-asm.h.
17877 (DEST): Likewise.
17878 (SRC): Likewise.
17879 (LEN): Likewise.
17880 (memcpy): Likewise. Do not use BP_SYM.
17881 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17882 libc_hidden_def and weak_alias.
17883 (mempcpy): Do not use BP_SYM in weak_alias.
17884 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17885 "bp-asm.h".
17886 (PARMS): Do not use macros from bp-asm.h.
17887 (DEST): Likewise.
17888 (LEN): Likewise.
17889 [!BZERO_P] (CHR): Likewise.
17890 (memset): Likewise. Do not use BP_SYM.
17891 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17892 "bp-asm.h".
17893 (PARMS): Do not use macros from bp-asm.h.
17894 (S1): Likewise.
17895 (SIZE): Likewise.
17896 (__mpn_mul_1): Do not use BP_SYM.
17897 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17898 "bp-asm.h".
17899 (PARMS): Do not use macros from bp-asm.h.
17900 (S): Likewise.
17901 (SIZE): Likewise.
17902 (__mpn_rshift): Do not use BP_SYM.
17903 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17904 "bp-asm.h".
17905 (PARMS): Do not use macros from bp-asm.h.
17906 (STR): Likewise.
17907 (CHR): Likewise.
17908 (strchr): Likewise. Do not use BP_SYM.
17909 (index): Do not use BP_SYM in weak_alias.
17910 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17911 "bp-asm.h".
17912 (PARMS): Do not use macros from bp-asm.h.
17913 (DEST): Likewise.
17914 (SRC): Likewise.
17915 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17916 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17917 "bp-asm.h".
17918 (PARMS): Do not use macros from bp-asm.h.
17919 (strlen): Do not use BP_SYM.
17920 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17921 "bp-asm.h".
17922 (PARMS): Do not use macros from bp-asm.h.
17923 (S1): Likewise.
17924 (S2): Likewise.
17925 (SIZE): Likewise.
17926 (__mpn_sub_n): Do not use BP_SYM.
17927 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17928 "bp-asm.h".
17929 (PARMS): Do not use macros from bp-asm.h.
17930 (S1): Likewise.
17931 (SIZE): Likewise.
17932 (__mpn_submul_1): Do not use BP_SYM.
17933 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17934 "bp-asm.h".
17935 (PARMS): Do not use macros from bp-asm.h.
17936 (S1): Likewise.
17937 (S2): Likewise.
17938 (SIZE): Likewise.
17939 (__mpn_add_n): Do not use BP_SYM.
17940 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17941 weak_alias.
17942 (bzero): Likewise.
17943 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17944 "bp-asm.h".
17945 (PARMS): Do not use macros from bp-asm.h.
17946 (BLK2): Likewise.
17947 (LEN): Likewise.
17948 (memcmp): Do not use BP_SYM.
17949 (bcmp): Do not use BP_SYM in weak_alias.
17950 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17951 "bp-asm.h".
17952 (PARMS): Do not use macros from bp-asm.h.
17953 (DEST): Likewise.
17954 (SRC): Likewise.
17955 (LEN): Likewise.
17956 (memcpy): Likewise. Do not use BP_SYM.
17957 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17958 "bp-asm.h".
17959 (PARMS): Do not use macros from bp-asm.h.
17960 (DEST): Likewise.
17961 (SRC): Likewise.
17962 (LEN): Likewise.
17963 (memmove): Likewise. Do not use BP_SYM.
17964 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17965 "bp-asm.h".
17966 (PARMS): Do not use macros from bp-asm.h.
17967 (DEST): Likewise.
17968 (SRC): Likewise.
17969 (LEN): Likewise.
17970 (__mempcpy): Likewise. Do not use BP_SYM.
17971 (mempcpy): Do not use BP_SYM in weak_alias.
17972 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17973 "bp-asm.h".
17974 (PARMS): Do not use macros from bp-asm.h.
17975 (DEST): Likewise.
17976 (LEN): Likewise.
17977 [!BZERO_P] (CHR): Likewise.
17978 (memset): Likewise. Do not use BP_SYM.
17979 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17980 "bp-asm.h".
17981 (PARMS): Do not use macros from bp-asm.h.
17982 (STR2): Likewise.
17983 (strcmp): Do not use BP_SYM.
17984 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17985 "bp-asm.h".
17986 (PARMS): Do not use macros from bp-asm.h.
17987 (STR): Likewise.
17988 (DELIM): Likewise.
17989 [USE_AS_STRTOK_R] (SAVE): Likewise.
17990 (FUNCTION): Likewise. Do not use BP_SYM.
17991 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17992 aliases.
17993 (strtok_r): Likewise.
17994 (__GI___strtok_r): Likewise.
17995 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17996 (PARMS): Do not use macros from bp-asm.h.
17997 (S): Likewise.
17998 (SIZE): Likewise.
17999 (__mpn_lshift): Do not use BP_SYM.
18000 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18001 (PARMS): Do not use macros from bp-asm.h.
18002 (STR): Likewise.
18003 (CHR): Likewise.
18004 (__memchr): Do not use BP_SYM.
18005 (memchr): Do not use BP_SYM in weak_alias.
18006 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18007 (PARMS): Do not use macros from bp-asm.h.
18008 (BLK2): Likewise.
18009 (LEN): Likewise.
18010 (memcmp): Do not use BP_SYM.
18011 (bcmp): Do not use BP_SYM in weak_alias.
18012 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18013 (PARMS): Do not use macros from bp-asm.h.
18014 (S1): Likewise.
18015 (SIZE): Likewise.
18016 (__mpn_mul_1): Do not use BP_SYM.
18017 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18018 "bp-asm.h".
18019 (PARMS): Do not use macros from bp-asm.h.
18020 (STR): Likewise.
18021 (CHR): Likewise.
18022 (__rawmemchr): Do not use BP_SYM.
18023 (rawmemchr): Do not use BP_SYM in weak_alias.
18024 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18025 (PARMS): Do not use macros from bp-asm.h.
18026 (S): Likewise.
18027 (SIZE): Likewise.
18028 (__mpn_rshift): Do not use BP_SYM.
18029 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18030 (PARMS): Do not use macros from bp-asm.h.
18031 (SIGMSK): Likewise.
18032 (__sigsetjmp): Likewise. Do not use BP_SYM.
18033 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18034 (_start): Do not use BP_SYM.
18035 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18036 (PARMS): Do not use macros from bp-asm.h.
18037 (DEST): Likewise.
18038 (SRC): Likewise.
18039 (__stpcpy): Likewise. Do not use BP_SYM.
18040 (stpcpy): Do not use BP_SYM in weak_alias.
18041 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18042 "bp-asm.h".
18043 (PARMS): Do not use macros from bp-asm.h.
18044 (DEST): Likewise.
18045 (SRC): Likewise.
18046 (LEN): Likewise.
18047 (__stpncpy): Likewise. Do not use BP_SYM.
18048 (stpncpy): Do not use BP_SYM in weak_alias.
18049 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18050 (PARMS): Do not use macros from bp-asm.h.
18051 (STR): Likewise.
18052 (CHR): Likewise.
18053 (strchr): Likewise. Do not use BP_SYM.
18054 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18055 "bp-asm.h".
18056 (PARMS): Do not use macros from bp-asm.h.
18057 (STR): Likewise.
18058 (CHR): Likewise.
18059 (__strchrnul): Likewise. Do not use BP_SYM.
18060 (strchrnul): Do not use BP_SYM in weak_alias.
18061 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18062 "bp-asm.h".
18063 (PARMS): Do not use macros from bp-asm.h.
18064 (STOP): Likewise.
18065 (strcspn): Do not use BP_SYM.
18066 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18067 "bp-asm.h".
18068 (PARMS): Do not use macros from bp-asm.h.
18069 (STR): Likewise.
18070 (STOP): Likewise.
18071 (strpbrk): Likewise. Do not use BP_SYM.
18072 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18073 "bp-asm.h".
18074 (PARMS): Do not use macros from bp-asm.h.
18075 (STR): Likewise.
18076 (CHR): Likewise.
18077 (strrchr): Likewise. Do not use BP_SYM.
18078 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18079 (PARMS): Do not use macros from bp-asm.h.
18080 (SKIP): Likewise.
18081 (strspn): Do not use BP_SYM.
18082 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18083 (PARMS): Do not use macros from bp-asm.h.
18084 (STR): Likewise.
18085 (DELIM): Likewise.
18086 (SAVE): Likewise.
18087 (FUNCTION): Likewise. Do not use BP_SYM.
18088 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18089 aliases.
18090 (strtok_r): Likewise.
18091 (__GI___strtok_r): Likewise.
18092 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18093 (PARMS): Do not use macros from bp-asm.h.
18094 (S1): Likewise.
18095 (S2): Likewise.
18096 (SIZE): Likewise.
18097 (__mpn_sub_n): Do not use BP_SYM.
18098 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18099 "bp-asm.h".
18100 (PARMS): Do not use macros from bp-asm.h.
18101 (S1): Likewise.
18102 (SIZE): Likewise.
18103 (__mpn_submul_1): Do not use BP_SYM.
18104 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18105 <bp-sym.h>.
18106 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18107 and <bp-asm.h>.
18108 (PARMS): Do not use macros from bp-asm.h.
18109 (FLAGS): Likewise.
18110 (PTID): Likewise.
18111 (TLS): Likewise.
18112 (CTID): Likewise.
18113 (__clone): Do not use BP_SYM.
18114 (clone): Do not use BP_SYM in weak_alias.
18115 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18116 and <bp-asm.h>.
18117 (PARMS): Do not use macros from bp-asm.h.
18118 (LEN): Likewise.
18119 (__mmap64): Do not use BP_SYM.
18120 (mmap64): Do not use BP_SYM in weak_alias.
18121 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18122 <bp-sym.h> and <bp-asm.h>.
18123 (PARMS): Do not use macros from bp-asm.h.
18124 (__posix_fadvise64_l64): Do not use BP_SYM.
18125 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18126 (PARMS): Do not use macros from bp-asm.h.
18127 (NSOPS): Likewise.
18128 (semtimedop): Do not use BP_SYM.
18129 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18130 and <bp-asm.h>.
18131
181322013-02-21 Allan McRae <allan@archlinux.org>
18133
18134 * manual/message.texi (Charset conversion in gettext):
18135 Move @end statement to beginning of line.
18136
181372013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18138
18139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18140 static.
18141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18142 Likewise.
18143
18144 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18145 (denorm): Likewise.
18146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18148
181492013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18150
18151 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18152 tail-call to the resolved function if pltexit isn't needed.
18153
181542013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18155
18156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18157 or Y being zero as being unlikely.
18158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18159 Likewise.
18160
181612013-02-20 Carlos O'Donell <carlos@redhat.com>
18162
18163 * manual/nss.texi (System Databases and Name Service Switch):
18164 Remove frobnicate @pxref.
18165
181662013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18167
18168 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18169 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18170
181712013-02-20 Petr Machata <pmachata@redhat.com>
18172
18173 * elf/elf.h (R_ARM_TARGET1): New macro.
18174 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18175 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18176 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18177 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18178 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18179 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18180 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18181 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18182 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18183 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18184 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18185 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18186 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18187 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18188 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18189 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18190 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18191 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18192 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18193 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18194 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18195 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18196 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18197 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18198 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18199 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18200 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18201 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18202 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18203 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18204 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18205 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18206 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18207 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18208 (R_ARM_THM_GOT_BREL12): Likewise.
18209 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18210 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18211 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18212 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18213 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18214 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18215 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18216 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18217 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18218
182192013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18220
18221 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18222 __attribute_used__ to __attribute__ ((unused)).
18223
182242013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18225
18226 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18227 powerpc mpa.c.
18228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18229 comment formatting.
18230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18231
182322013-02-19 Joseph Myers <joseph@codesourcery.com>
18233
18234 [BZ #13550]
18235 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18236 Remove macro.
18237 (ENTER): Remove both macro definitions.
18238 (LEAVE): Likewise.
18239 (CHECK_BOUNDS_LOW): Likewise.
18240 (CHECK_BOUNDS_HIGH): Likewise.
18241 (CHECK_BOUNDS_BOTH): Likewise.
18242 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18243 (RETURN_BOUNDED_POINTER): Likewise.
18244 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18245 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18246 (POP_ERRNO_LOCATION_RETURN): Likewise.
18247 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18248 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18249 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18250 macros.
18251 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18252 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18253 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18254 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18255 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18256 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18257 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18258 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18259 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18260 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18261 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18262 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18263 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18264 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18265 removed macros.
18266 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18267 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18268 macros.
18269 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18270 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18271 * sysdeps/i386/i586/memset.S (memset): Likewise.
18272 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18273 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18274 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18275 macros.
18276 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18277 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18278 Change uses of L(2) to L(out).
18279 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18280 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18281 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18282 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18283 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18284 removed macros.
18285 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18286 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18287 macros.
18288 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18289 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18290 (RETURN): Do not use macro LEAVE.
18291 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18292 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18293 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18294 * sysdeps/i386/i686/memset.S (memset): Likewise.
18295 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18296 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18297 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18298 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18299 Likewise.
18300 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18301 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18302 L(1_2) and L(1_3) into L(1).
18303 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18304 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18305 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18306 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18307 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18308 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18309 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18310 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18311 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18312 macros.
18313 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18314 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18315 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18316 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18317 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18318 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18319 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18320 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18321 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18322 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18323 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18324 * sysdeps/i386/strspn.S (strspn): Likewise.
18325 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18326 conditional code.
18327 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18328 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18329 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18330 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18331 L(1_3) into L(1_1).
18332 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18333 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18334 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18335 macros.
18336 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18337
183382013-02-19 Jakub Jelinek <jakub@redhat.com>
18339
18340 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18341 macro.
18342
183432013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18344
18345 * math/atest-exp.c (exp_mpn): Remove ROUND.
18346 * math/atest-exp2.c (exp_mpn): Likewise.
18347 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18348
18349 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18350 * stdlib/tst-tls-atexit-lib.c: Likewise.
18351 * stdlib/tst-tls-atexit.c: Likewise.
18352
183532013-02-18 Mike Frysinger <vapier@gentoo.org>
18354
18355 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18356 and __attribute_alloc_size__.
18357
183582013-02-18 Mike Frysinger <vapier@gentoo.org>
18359
18360 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18361 __attribute_alloc_size__.
18362 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18363 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18364
183652013-02-18 Mike Frysinger <vapier@gentoo.org>
18366
18367 * include/programs/xmalloc.h: New file.
18368 * catgets/gencat.c: Include it.
18369 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18370 * elf/pldd.c: Likewise.
18371 * iconv/iconv_charmap.c: Likewise.
18372 * iconv/iconvconfig.c: Likewise.
18373 * iconv/strtab.c: Likewise.
18374 * locale/programs/locale.c: Likewise.
18375 * locale/programs/localedef.h: Likewise.
18376 * locale/programs/simple-hash.c: Likewise.
18377 * nscd/nscd.h: Likewise.
18378 * nss/makedb.c: Likewise.
18379 * sysdeps/generic/ldconfig.h: Likewise.
18380
183812013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18382
18383 * Versions.def: Add GLIBC_2.18.
18384 * include/link.h (struct link_map): New member l_tls_dtor_count.
18385 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18386 (__call_tls_dtors): Likewise.
18387 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18388 __cxa_thread_atexit_impl.
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18390 Likewise.
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18392 Likewise.
18393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18394 Likewise.
18395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18396 Likewise.
18397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18399 Likewise.
18400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18401 Likewise.
18402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18404 Likewise.
18405 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18406 (tests): Add test case tst-tls-atexit.
18407 (modules-names): Add shared library for tst-tls-atexit.
18408 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18409 (GLIBC_PRIVATE): Add __call_tls_dtors.
18410 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18411 for libstdc++.
18412 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18413 * stdlib/tst-tls-atexit.c: New test case.
18414 * stdlib/tst-tls-atexit-lib.c: New test case.
18415
18416 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18417
18418 * elf/Versions (ld): Add _dl_find_dso_for_object.
18419 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18420 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18421 (dl_open_worker): Use _dl_find_dso_for_object.
18422 * elf/dl-sym.c (do_sym): Likewise.
18423 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18424
184252013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18426
18427 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18428 Syntactic changes only.
18429 (_dl_runtime_profile): Do a tail-call to the resolved function.
18430
184312013-02-17 Joseph Myers <joseph@codesourcery.com>
18432
18433 [BZ #13550]
18434 * sysdeps/x86_64/bp-asm.h: Remove file.
18435 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18436 <bp-sym.h> and <bp-asm.h>.
18437 (__clone): Do not use BP_SYM.
18438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18439 <bp-sym.h> and <bp-asm.h>.
18440 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18441 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18442 "bp-asm.h".
18443 (_setjmp): Do not use BP_SYM.
18444 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18445 "bp-asm.h".
18446 (setjmp): Do not use BP_SYM.
18447 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18448 libc_hidden_def.
18449 (mempcpy): Do not use BP_SYM in weak_alias.
18450 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18451 "bp-asm.h".
18452 (strchr): Do not use BP_SYM.
18453 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18454 "bp-asm.h".
18455 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18456 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18457 (_start): Do not use BP_SYM.
18458 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18459 "bp-asm.h".
18460 (strcat): Do not use BP_SYM.
18461 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18462 "bp-asm.h".
18463 (STRCMP): Do not use BP_SYM.
18464 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18465 "bp-asm.h".
18466 (STRCPY): Do not use BP_SYM.
18467 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18468 "bp-asm.h".
18469 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18470 "bp-asm.h".
18471 (FUNCTION): Do not use BP_SYM.
18472 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18473 weak_alias.
18474 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18475
184762013-02-17 Andreas Jaeger <aj@suse.de>
18477
18478 * time/Versions: Sort entries.
18479 * string/Versions: Likewise.
18480 * resolv/Versions: Likewise.
18481 * posix/Versions: Likewise.
18482 * iconv/Versions: Likewise.
18483 * elf/Versions: Likewise.
18484 * wcsmbs/Versions: Likewise.
18485
184862013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18487
18488 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18489 loop termination condition.
18490
18491 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18492 variable to calculate EZ.
18493 (__sqr): Likewise.
18494
18495 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18496 the lower precision input.
18497
184982013-02-15 Joseph Myers <joseph@codesourcery.com>
18499
18500 [BZ #13550]
18501 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18502 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18503 (run-via-rtld-prefix): Do not handle %-bp tests.
18504 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18505 (all-object-suffixes): Remove .ob.
18506 (bppfx): Remove variable.
18507 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18508 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18509 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18510 [$(build-bounded) = yes] (libtype.ob): Likewise.
18511 * Makerules (elide-routines.ob): Remove variable.
18512 (do-tests-clean): Do not handle *-bp.out.
18513 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18514 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18515 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18516 (tests): Do not include $(tests-bp.out).
18517 (xtests): Do not include $(xtests-bp.out).
18518 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18519 [$(build-bounded) = yes] ($(addprefix
18520 $(objpfx),$(binaries-bounded))): Remove rule.
18521 ($(objpfx)%-bp.out): Remove rule.
18522 * config.make.in (build-bounded): Remove variable.
18523 * crypt/Makefile [$(build-bounded) = yes]
18524 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18525 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18526 append to variable.
18527 [$(build-bounded) = yes] (install-lib): Likewise.
18528 [$(build-bounded) = yes] (generated): Likewise.
18529 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18530 Remove rule.
18531 * intl/Makefile [$(build-bounded) = yes]
18532 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18533 * math/Makefile [$(build-bounded) = yes]
18534 ($(tests:%=$(objpfx)%-bp): Likewise.
18535 * misc/Makefile [$(build-bounded) = yes]
18536 ($(objpfx)tst-tsearch-bp): Likewise.
18537 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18538 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18539 Remove dependency.
18540 * string/Makefile (o-objects.ob): Remove variable.
18541 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18542 (CFLAGS-.ob): Remove variable.
18543 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18544 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18545 both definitions of variable.
18546 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18547 (ASFLAGS-.ob): Remove variable.
18548
185492013-02-14 Joseph Myers <joseph@codesourcery.com>
18550
18551 [BZ #13550]
18552 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18553 Remove __BOUNDED_POINTERS__ from condition.
18554 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18555 * string/bits/string2.h [!__NO_STRING_INLINES &&
18556 !__BOUNDED_POINTERS__]: Likewise.
18557 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18558 Likewise.
18559 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18560 Remove conditional code.
18561 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18562 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18563 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18564 condition.
18565
18566 [BZ #13550]
18567 * csu/libc-start.c: Do not include <bp-sym.h>.
18568 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18569 * elf/dl-open.c: Do not include <bp-sym.h>.
18570 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18571 * math/fegetenv.c: Do not include <bp-sym.h>.
18572 (fegetenv): Do not use BP_SYM in versioned symbols.
18573 * nptl/sysdeps/pthread/bits/libc-lockP.h
18574 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18575 <bp-sym.h>.
18576 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18577 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18578 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18579 (__pthread_mutex_destroy): Likewise.
18580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18581 (__pthread_mutex_lock): Likewise.
18582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18583 (__pthread_mutex_trylock): Likewise.
18584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18585 (__pthread_mutex_unlock): Likewise.
18586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18587 (__pthread_mutexattr_init): Likewise.
18588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18589 (__pthread_mutexattr_destroy): Likewise.
18590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18591 (__pthread_mutexattr_settype): Likewise.
18592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18593 (__pthread_rwlock_init): Likewise.
18594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18595 (__pthread_rwlock_destroy): Likewise.
18596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18597 (__pthread_rwlock_rdlock): Likewise.
18598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18599 (__pthread_rwlock_tryrdlock): Likewise.
18600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18601 (__pthread_rwlock_wrlock): Likewise.
18602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18603 (__pthread_rwlock_trywrlock): Likewise.
18604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18605 (__pthread_rwlock_unlock): Likewise.
18606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18607 (__pthread_key_create): Likewise.
18608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18609 (__pthread_setspecific): Likewise.
18610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18611 (__pthread_getspecific): Likewise.
18612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18613 Likewise.
18614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18615 (_pthread_cleanup_push_defer): Likewise.
18616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18617 (_pthread_cleanup_pop_restore): Likewise.
18618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18619 (pthread_setcancelstate): Likewise.
18620 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18621 <bp-sym.h>.
18622 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18623 (memchr): Do not use BP_SYM in weak_alias.
18624 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18625 (fegetenv): Do not use BP_SYM in versioned symbols.
18626 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18627 (fesetenv): Do not use BP_SYM in versioned symbols.
18628 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18629 (feupdateenv): Do not use BP_SYM in versioned symbols.
18630 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18631 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18632 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18633 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18634 (open64): Do not use BP_SYM in weak_alias.
18635 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18636 (fegetenv): Do not use BP_SYM in versioned symbols.
18637 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18638 (fesetenv): Do not use BP_SYM in versioned symbols.
18639 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18640 (feupdateenv): Do not use BP_SYM in versioned symbols.
18641 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18642 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18643 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18644 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18645 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18646 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18647 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18648 <bp-sym.h>.
18649 (__libc_start_main): Do not use BP_SYM.
18650
186512013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18652
18653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18654 redundant return line.
18655 (norm): Likewise.
18656 (denorm): Likewise.
18657 (dbl_mp): Likewise.
18658 (sub_magnitudes): Likewise.
18659 (__add): Likewise.
18660 (__sub): Likewise.
18661 (__mul): Likewise.
18662 (__inv): Likewise.
18663 (__dvd): Likewise.
18664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18665 (norm): Likewise.
18666 (denorm): Likewise.
18667 (dbl_mp): Likewise.
18668 (sub_magnitudes): Likewise.
18669 (__add): Likewise.
18670 (__sub): Likewise.
18671 (__mul): Likewise.
18672 (__inv): Likewise.
18673 (__dvd): Likewise.
18674
18675 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18676 instead of __mul.
18677 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18678 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18679 (cc32): Likewise.
18680
18681 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18682 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18684 of __mul for squares.
18685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18686 function
18687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18688 Likewise.
18689 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18690 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18691
186922013-02-13 Joseph Myers <joseph@codesourcery.com>
18693
18694 [BZ #13550]
18695 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18696 code.
18697 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18698 prototype or function definition. Rename ubp_* variables and
18699 parameters. Remove argv definitions conditional on
18700 [__BOUNDED_POINTERS__].
18701 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18702 * elf/dl-runtime.c (_dl_fixup): Likewise.
18703 * include/set-hooks.h (RUN_HOOK): Likewise.
18704 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18705 definition.
18706 * string/strcpy.c (strcpy): Do not use __unbounded.
18707 * sysdeps/generic/frame.h (struct layout): Likewise.
18708 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18709 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18710 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18711 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18712 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18713 (__backtrace): Likewise.
18714 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18715 use __ptrvalue.
18716 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18717 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18718 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18719 Likewise.
18720 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18721 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18722 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18723 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18724 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18725 Do not use __unbounded.
18726 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18727 Rename __unboundedrlimits parameter to rlimits in prototype.
18728 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18729 Do not use __unbounded.
18730 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18731 not use __ptrvalue.
18732 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18733 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18734 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18735 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18736 __ptrvalue or __unbounded.
18737 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18738 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18739 use __unbounded.
18740 (__new_msgctl): Do not use __ptrvalue.
18741 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18742 __unbounded.
18743 (__libc_msgrcv): Do not use __ptrvalue.
18744 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18745 startup_info): Do not use __unbounded.
18746 (__libc_start_main): Likewise. Rename ubp_* variables and
18747 parameters. Remove argv definitions conditional on
18748 [__BOUNDED_POINTERS__].
18749 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18750 __ptrvalue.
18751 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18752 use __unbounded.
18753 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18754 or __ptrvalue.
18755 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18756 use __unbounded.
18757 (__new_shmctl): Do not use __ptrvalue.
18758 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18759 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18760 Likewise.
18761 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18762 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18763 (__libc_sigaction): Likewise.
18764 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18765 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18766 Likewise.
18767 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18768
187692013-02-13 Ondřej Bílka <neleai@seznam.cz>
18770
18771 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18772
18773 * string/mempcpy.c: Implement by calling memcpy.
18774
187752013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18776
18777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18778
18779 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18780 evaluation.
18781
18782 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18783 values in the mantissa.
18784
18785 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18786 minimize writes to Z.
18787 (sub_magnitudes): Simplify code a bit.
18788
187892013-02-12 Roland McGrath <roland@hack.frob.com>
18790
18791 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18792 from the message. The linker prefixes all warnings with that already.
18793
187942013-02-12 Andreas Schwab <schwab@suse.de>
18795
18796 [BZ #15078]
18797 * posix/regexec.c (extend_buffers): Add parameter min_len.
18798 (check_matching): Pass minimum needed length.
18799 (clean_state_log_if_needed): Likewise.
18800 (get_subexp): Likewise.
18801 * posix/Makefile (tests): Add bug-regex34.
18802 (bug-regex34-ENV): Define.
18803 * posix/bug-regex34.c: New file.
18804
18805 [BZ #11561]
18806 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18807 elements compare against the byte sequence of it, not its name.
18808 * posix/Makefile (tests): Add bug-regex35.
18809 (bug-regex35-ENV): Define.
18810 * posix/bug-regex35.c: New file.
18811
188122013-02-11 Tom de Vries <tom@codesourcery.com>
18813
18814 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18815 comment.
18816 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18817 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18818 (CHECK_EOL): Add undef.
18819
188202013-02-11 Ondřej Bílka <neleai@seznam.cz>
18821
18822 * bits/stdlib-bsearch.h: New file.
18823 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18824 * stdlib/stdlib.h: Likewise.
18825
188262013-02-11 Roland McGrath <roland@hack.frob.com>
18827
18828 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18829 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18830 declaration.
18831 * manual/search.texi (Array Search Function): Add missing const in
18832 lfind prototype.
18833 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18834 declaration to use rlim_t.
18835 (Basic Scheduling Functions): Remove erroneous const from
18836 sched_getparam prototype. Remove erroneous * from
18837 sched_get_priority_max and sched_get_priority_min prototypes.
18838 (Resource Usage): Fix summary @comment on vtimes to refer to
18839 sys/vtimes.h rather than vtimes.h.
18840 Add missing *s in vtimes prototype.
18841 (Limits on Resources): Fix ulimit prototype to return long int.
18842 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18843 prototypes to use long int rather than double.
18844 (BSD Random): Fix initstate and setstate to use char *, not void *.
18845 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18846 prototype to make second argument 'struct aiocb64 *const[]'.
18847 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18848 (Status of AIO Operations): Remove erroneous const in aio_return and
18849 aio_return64 prototypes.
18850 (Synchronizing I/O): Fix sync prototype to return void.
18851 * manual/startup.texi (Suboptions): Remove an erroneous const in
18852 getsubopt prototype.
18853 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18854 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18855 use size_t rather than int.
18856 (Scanning All Users): Likewise for getpwent_r.
18857 (Setting Groups): Add missing const to setgroups prototype.
18858 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18859 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18860 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18861 'const void *' rather than 'const char *'.
18862 (Host Address Functions): Likewise for inet_ntop.
18863 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18864 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18865 ssize_t for return value.
18866 (Sending Data): Likewise for send, sendto, sendmsg.
18867 (Socket Option Functions): Add a missing const in setsockopt prototype.
18868 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18869 use wchar_t for the argument.
18870 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18871 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18872 take no arguments.
18873 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18874 double/float/long double for second argument.
18875 Fix return types of significand, significandf, significandl.
18876 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18877 argument in fchmod prototype.
18878 (File Owner): Use uid_t and gid_t in fchown prototype.
18879 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18880 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18881 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18882 use 'const struct dirent **' as argument types to CMP function pointer
18883 argument.
18884 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18885 (File Times): Fix summary magic @comment for struct utimbuf and utime
18886 to refer to utime.h, not time.h.
18887 * manual/string.texi (Argz Functions): Add missing const in
18888 argz_extract and argz_next prototypes.
18889 (Finding Tokens in a String): Likewise for basename.
18890 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18891 (Copying and Concatenation): Fix typo in wmemmove prototype.
18892 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18893 (Signal Stack): Remove erroneous const in sigstack prototype.
18894 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18895 prototype.
18896 (Simple Calendar Time): Likewise for stime.
18897 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18898 prototype.
18899 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18900 say sys/sysctl.h instead.
18901 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18902 and vsyslog prototypes.
18903
189042013-02-11 Tom de Vries <tom@codesourcery.com>
18905
18906 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18907 Remove.
18908
189092013-02-11 Roland McGrath <roland@hack.frob.com>
18910
18911 * misc/sys/mman.h: Fix typo in mremap comment.
18912
189132013-02-08 Roland McGrath <roland@hack.frob.com>
18914
18915 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18916 the '\0' terminator.
18917
189182013-02-08 Joseph Myers <joseph@codesourcery.com>
18919
18920 [BZ #13550]
18921 * debug/segfault.c: Don't include <bp-checks.h>.
18922 * sysdeps/generic/bp-checks.h: Remove file.
18923 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18924 (__GETDENTS): Don't use CHECK_N.
18925 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18926 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18927 (__getgroups): Don't use CHECK_N.
18928 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18929 (setgroups): Don't use CHECK_N.
18930 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18931 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18932 (__libc_msgrcv): Don't use CHECK_N.
18933 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18934 (__libc_msgsnd): Don't use CHECK_N.
18935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18936 <bp-checks.h>.
18937 (__libc_pread): Don't use CHECK_N.
18938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18939 include <bp-checks.h>.
18940 (__libc_pread64): Don't use CHECK_N.
18941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18942 include <bp-checks.h>.
18943 (__libc_pwrite): Don't use CHECK_N.
18944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18945 include <bp-checks.h>.
18946 (__libc_pwrite64): Don't use CHECK_N.
18947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18948 <bp-checks.h>.
18949 (__libc_pread): Don't use CHECK_N.
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18951 include <bp-checks.h>.
18952 (__libc_pread64): Don't use CHECK_N.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18954 include <bp-checks.h>.
18955 (__libc_pwrite): Don't use CHECK_N.
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18957 include <bp-checks.h>.
18958 (__libc_pwrite64): Don't use CHECK_N.
18959 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18960 (do_pread): Don't use CHECK_N.
18961 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18962 (do_pread64): Don't use CHECK_N.
18963 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18964 (do_pwrite): Don't use CHECK_N.
18965 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18966 (do_pwrite64): Don't use CHECK_N.
18967 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18968 (__libc_readv): Don't use CHECK_N.
18969 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18970 (semop): Don't use CHECK_N.
18971 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18972 <bp-checks.h>.
18973 (semtimedop): Don't use CHECK_N.
18974 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18975 (__libc_pread): Don't use CHECK_N.
18976 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18977 <bp-checks.h>.
18978 (__libc_pread64): Don't use CHECK_N.
18979 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18980 <bp-checks.h>.
18981 (__libc_pwrite): Don't use CHECK_N.
18982 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18983 <bp-checks.h>.
18984 (__libc_pwrite64): Don't use CHECK_N.
18985 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18986 <bp-checks.h>.
18987 (__libc_msgrcv): Don't use CHECK_N.
18988 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18989 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18990 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18991 (__libc_writev): Don't use CHECK_N.
18992
189932013-02-08 Roland McGrath <roland@hack.frob.com>
18994
18995 * string/strcpy.c: Removed unused variable.
18996
18997 * Makeconfig (+sysdep-includes): Define with := rather than =.
18998 Use an existing include/ subdir of each sysdeps dir before it.
18999
190002013-02-08 Carlos O'Donell <carlos@redhat.com>
19001
19002 * nscd/connection.c (register_traced_file): Comment function.
19003 [HAVE_INOTIFY] (union __inev): Define.
19004 [HAVE_INOTIFY] (inotify_check_files): New function.
19005 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19006 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19007 clear_db_cache.
19008 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19009
190102013-02-08 Carlos O'Donell <carlos@redhat.com>
19011
19012 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19013 loaded if not already and that a failure is permanent.
19014
190152013-02-08 Carlos O'Donell <carlos@redhat.com>
19016
19017 [BZ #15006]
19018 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19019 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19020
190212013-02-08 Joseph Myers <joseph@codesourcery.com>
19022
19023 [BZ #13550]
19024 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19025 (CHECK_1_NULL_OK): Likewise.
19026 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19027 (__fxstat): Do not use CHECK_1.
19028 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19029 <bp-checks.h>.
19030 (___fxstat64): Do not use CHECK_1.
19031 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19032 <bp-checks.h>.
19033 (__fxstatat): Do not use CHECK_1.
19034 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19035 <bp-checks.h>.
19036 (__fxstatat64): Do not use CHECK_1.
19037 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19038 <bp-checks.h>.
19039 (__fxstat): Do not use CHECK_1.
19040 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19041 <bp-checks.h>.
19042 (__fxstatat): Do not use CHECK_1.
19043 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19044 <bp-checks.h>.
19045 (__getresgid): Do not use CHECK_1.
19046 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19047 <bp-checks.h>.
19048 (__getresuid): Do not use CHECK_1.
19049 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19050 <bp-checks.h>.
19051 (__lxstat): Do not use CHECK_1.
19052 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19053 <bp-checks.h>.
19054 (__old_msgctl): Do not use CHECK_1.
19055 (__new_msgctl): Likewise.
19056 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19057 <bp-checks.h>.
19058 (__new_setrlimit): Do not use CHECK_1.
19059 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19060 <bp-checks.h>.
19061 (__old_shmctl): Do not use CHECK_1.
19062 (__new_shmctl): Likewise.
19063 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19064 <bp-checks.h>.
19065 (__xstat): Do not use CHECK_1.
19066 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19067 (__lxstat): Do not use CHECK_1.
19068 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19069 <bp-checks.h>.
19070 (___lxstat64): Do not use CHECK_1.
19071 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19072 (__old_msgctl): Do not use CHECK_1.
19073 (__new_msgctl): Likewise.
19074 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19075 <bp-checks.h>.
19076 (__gettimeofday): Do not use CHECK_1.
19077 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19078 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19079 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19080 <bp-checks.h>.
19081 (__gettimeofday): Do not use CHECK_1.
19082 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19083 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19084 (__new_shmctl): Do not use CHECK_1.
19085 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19086 <bp-checks.h>.
19087 (do_sigtimedwait): Do not use CHECK_1.
19088 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19089 <bp-checks.h>.
19090 (do_sigwaitinfo): Do not use CHECK_1.
19091 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19092 <bp-checks.h>.
19093 (msgctl): Do not use CHECK_1.
19094 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19095 <bp-checks.h>.
19096 (shmctl): Do not use CHECK_1.
19097 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19098 (ustat): Do not use CHECK_1.
19099 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19100 <bp-checks.h>.
19101 (__fxstat): Do not use CHECK_1.
19102 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19103 <bp-checks.h>.
19104 (__fxstatat): Do not use CHECK_1.
19105 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19106 <bp-checks.h>.
19107 (__lxstat): Do not use CHECK_1.
19108 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19109 <bp-checks.h>.
19110 (__xstat): Do not use CHECK_1.
19111 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19112 (__xstat): Do not use CHECK_1.
19113 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19114 (___xstat64): Do not use CHECK_1.
19115
19116 [BZ #13550]
19117 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19118 definitions.
19119 (CHECK_BOUNDS_HIGH): Likewise.
19120 * string/strcpy.c: Do not include <bp-checks.h>.
19121 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19122
191232013-02-07 Roland McGrath <roland@hack.frob.com>
19124
19125 * nscd/nscd-client.h (__nscd_drop_map_ref):
19126 Add __attribute__ ((unused)).
19127 * nis/nss-nisplus.h (niserr2nss): Likewise.
19128
19129 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19130 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19131
19132 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19133 Remove inline keyword.
19134 * include/rounding-mode.h (round_away): Likewise.
19135 * libio/wfileops.c (adjust_wide_data): Likewise.
19136 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19137 (__m128i_strloadu_tolower): Likewise.
19138 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19139 (__m128i_strloadu_tolower): Likewise.
19140 * time/mktime.c (ydhms_diff): Likewise.
19141 * locale/elem-hash.h (elem_hash): Likewise.
19142 * locale/setlocale.c (setdata): Likewise.
19143 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19144 (re_string_wchar_at): Likewise.
19145 (bitset_not, bitset_merge, bitset_mask): Likewise.
19146 [!(__GNUC__ > 3)] (inline): Remove macro.
19147 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19148 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19149 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19150 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19151 * string/memcmp.c (memcmp_bytes): Likewise.
19152 * locale/programs/locarchive.c (compute_hashval): Likewise.
19153 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19154 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19155 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19156 * nss/getent.c (print_rpc, print_protocols): Likewise.
19157 (print_passwd, print_group, print_aliases): Likewise.
19158 * nis/nss-nisplus.h (niserr2nss): Likewise.
19159 * nscd/connections.c (restart_p): Likewise.
19160 Change return type to bool.
19161
191622013-02-05 Roland McGrath <roland@hack.frob.com>
19163
19164 * Makeconfig (all-Depend-files): Add existing
19165 $(sorted-subdirs:=/Depend) files.
19166 (all-subdirs): Remove nss.
19167 * sysdeps/unix/inet/Subdirs: Add it here instead.
19168 * hesiod/Depend: New file.
19169
19170 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19171 instead of calling alloca.
19172
19173 * io/lseek.c (__lseek): Rename to __libc_lseek.
19174 Define __lseek as an alias.
19175
19176 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19177
191782013-02-04 Carlos O'Donell <carlos@redhat.com>
19179
19180 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19181 else clause and remove check for non-standard endianness.
19182
191832013-02-04 David S. Miller <davem@davemloft.net>
19184
19185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19186
191872013-02-04 Joseph Myers <joseph@codesourcery.com>
19188
19189 [BZ #13550]
19190 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19191 (__ubp_memchr): Remove prototype.
19192 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19193 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19194 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19195 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19196 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19197 Remove alias.
19198 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19199 (__ubp_memchr): Likewise.
19200 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19201 (__ubp_memchr): Likewise.
19202 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19203 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19204 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19205 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19206 CHECK_STRING.
19207 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19208 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19209 (__getcwd): Do not use CHECK_STRING.
19210 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19211 <bp-checks.h>.
19212 (__real_chown): Do not use CHECK_STRING.
19213 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19214 <bp-checks.h>.
19215 (fchownat): Do not use CHECK_STRING.
19216 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19217 CHECK_STRING.
19218 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19219 <bp-checks.h>.
19220 (__lchown): Do not use CHECK_STRING.
19221 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19222 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19223 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19224 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19226 include <bp-checks.h>.
19227 (truncate64): Do not use CHECK_STRING.
19228 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19229 <bp-checks.h>.
19230 (__real_chown): Do not use CHECK_STRING.
19231 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19232 <bp-checks.h>.
19233 (__lchown): Do not use CHECK_STRING.
19234 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19235 <bp-checks.h>.
19236 (__chown): Do not use CHECK_STRING.
19237 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19238 <bp-checks.h>.
19239 (truncate64): Do not use CHECK_STRING.
19240 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19241 Likewise.
19242 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19243 (__xmknod): Do not use CHECK_STRING.
19244 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19245 <bp-checks.h>.
19246 (__xmknodat): Do not use CHECK_STRING.
19247 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19248 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19249
192502013-02-04 Andreas Schwab <schwab@suse.de>
19251
19252 [BZ #14142]
19253 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19254 * include/netdb.h: Likewise for h_errno.
19255 * elf/tst-stackguard1.c: Include <tls.h>.
19256
192572013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19258
19259 * elf/link.h (struct link_map): Extend the l_addr comment.
19260 * include/link.h (struct link_map): Likewise.
19261
192622013-02-01 Joseph Myers <joseph@codesourcery.com>
19263
19264 [BZ #13550]
19265 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19266 (BOUNDED_1): Remove macro.
19267 * debug/backtrace.c: Don't include <bp-checks.h>.
19268 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19269 (__backtrace): Likewise.
19270 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19271 <bp-checks.h>.
19272 (__backtrace): Don't use BOUNDED_1.
19273 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19274 <bp-checks.h>.
19275 (__backtrace): Don't use BOUNDED_1.
19276 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19277 (__backtrace): Don't use BOUNDED_1.
19278 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19279 (shmat): Don't use BOUNDED_N.
19280
192812013-01-31 Joseph Myers <joseph@codesourcery.com>
19282
19283 [BZ #13550]
19284 * sysdeps/generic/bp-start.h: Remove file.
19285 * csu/libc-start.c: Don't include <bp-start.h>.
19286 (LIBC_START_MAIN): Set up __environ directly instead of using
19287 INIT_ARGV_and_ENVIRON.
19288 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19289 <bp-start.h>.
19290
19291 [BZ #13550]
19292 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19293 definitions.
19294 (CHECK_FCNTL): Likewise.
19295 (CHECK_N_PAGES): Likewise.
19296
19297 [BZ #13550]
19298 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19299 definitions.
19300 (CHECK_SIGSET_NULL_OK): Likewise.
19301 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19302 <bp-checks.h>.
19303 (sigpending): Don't use CHECK_SIGSET.
19304 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19305 <bp-checks.h>.
19306 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19307 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19308 <bp-checks.h>.
19309 (do_sigsuspend): Don't use CHECK_SIGSET.
19310 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19311 use CHECK_SIGSET.
19312 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19313 (do_sigwait): Don't use CHECK_SIGSET.
19314 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19315 use CHECK_SIGSET.
19316 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19317 include <bp-checks.h>.
19318 (sigpending): Don't use CHECK_SIGSET.
19319 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19320 include <bp-checks.h>.
19321 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19322 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19323 <bp-checks.h>.
19324 (sigpending): Don't use CHECK_SIGSET.
19325 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19326 <bp-checks.h>.
19327 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19328
19329 [BZ #13550]
19330 * sysdeps/generic/bp-semctl.h: Remove file.
19331 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19332 <bp-checks.h> and <bp-semctl.h>.
19333 (__old_semctl): Don't use CHECK_SEMCTL.
19334 (__new_semctl): Likewise.
19335 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19336 and <bp-semctl.h>.
19337 (__old_semctl): Don't use CHECK_SEMCTL.
19338 (__new_semctl): Likewise.
19339 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19340 <bp-checks.h> and <bp-semctl.h>.
19341 (__old_semctl): Don't use CHECK_SEMCTL.
19342 (__new_semctl): Likewise.
19343 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19344 <bp-checks.h> and <bp-semctl.h>.
19345 (semctl): Don't use CHECK_SEMCTL.
19346
19347 [BZ #13550]
19348 * Makerules (elide-bp-thunks): Remove variable.
19349 (elide-routines.oS): Don't use $(elide-bp-thunks).
19350 (elide-routines.os): Likewise.
19351 (elide-routines.o): Likewise.
19352 (elide-routines.op): Likewise.
19353 (elide-routines.og): Likewise.
19354 (objects): Don't use $(bp-thunks).
19355 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19356 include.
19357 (common-generated): Do not add s-proto-bp.d.
19358 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19359 (int): Likewise.
19360 (typ): Likewise.
19361 Do not generate makefile rules for bounded-pointer thunks.
19362 * sysdeps/generic/bp-thunks.h: Remove file.
19363 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19364 * sysdeps/unix/s-proto-bp.S: Likewise.
19365
19366 [BZ #15062]
19367 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19368 parts of result separately when argument is not close to line from
19369 -i to i and one part of argument is small.
19370 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19371 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19372 * math/libm-test.inc (cacos_test): Add more tests.
19373 (casin_test): Likewise.
19374 (casinh_test): Likewise.
19375 * sysdeps/i386/fpu/libm-test-ulps: Update.
19376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19377
193782013-01-31 David S. Miller <davem@davemloft.net>
19379
19380 * po/de.po: Update from translation team.
19381
193822013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19383
19384 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19385
193862013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19387
19388 * configure.in (_AC_PROG_CC_C89): New definition.
19389 * configure: Regenerate.
19390
19391 * configure.in (AC_PROG_CPP): New definition.
19392 * configure: Regenerate.
19393
193942013-01-23 Joseph Myers <joseph@codesourcery.com>
19395
19396 * debug/tst-backtrace.h: New file.
19397 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19398 (ret): Remove variable.
19399 (x): Likewise.
19400 (FAIL): Remove macro.
19401 (NO_INLINE): Likewise.
19402 (fn1): Use match function instead of strstr.
19403 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19404 (ret): Remove variable.
19405 (x): Likewise.
19406 (FAIL): Remove macro.
19407 (NO_INLINE): Likewise.
19408 (fn): Use match function instead of strstr.
19409 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19410 (ret): Remove variable.
19411 (x): Likewise.
19412 (FAIL): Remove macro.
19413 (NO_INLINE): Likewise.
19414 (handle_signal): Use match function instead of strstr.
19415 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19416 (ret): Remove variable.
19417 (x): Likewise.
19418 (FAIL): Remove macro.
19419 (NO_INLINE): Likewise.
19420 (handle_signal): Use match function instead of strstr.
19421
194222013-01-23 Roland McGrath <roland@hack.frob.com>
19423
19424 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19425
194262013-01-23 David S. Miller <davem@davemloft.net>
19427
19428 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19429 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19430 argument of CAS if possible.
19431 * sysdeps/sparc/sparc64/bits/atomic.h
19432 (__arch_compare_and_exchange_val_32_acq): Likewise.
19433 (__arch_compare_and_exchange_val_64_acq): Likewise.
19434
194352013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19436
19437 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19438 * sysdeps/posix/ulimit.c: ... this.
19439 Include <limits.h>.
19440 * sysdeps/unix/bsd/ulimit.c: Remove file.
19441
194422013-01-23 Adam Conrad <adconrad@0c3.net>
19443
19444 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19445 (LDFLAGS-tst-array5): Likewise.
19446
194472013-01-23 Joseph Myers <joseph@codesourcery.com>
19448
19449 [BZ #15036]
19450 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19451 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19452 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19453 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19454
194552013-01-21 David S. Miller <davem@davemloft.net>
19456
19457 * sysdeps/sparc/backtrace.c: New file.
19458 * sysdeps/sparc/sparc32/backtrace.h: New file.
19459 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19460 * sysdeps/sparc/sparc64/backtrace.h: New file.
19461 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19462 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19463 -funwind-tables.
19464
194652013-01-21 Andreas Schwab <schwab@suse.de>
19466
19467 [BZ #15020]
19468 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19469 closed its stdout.
19470
194712013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19472
19473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19474 "mpa2.h".
19475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19476
194772013-01-18 Joseph Myers <joseph@codesourcery.com>
19478 Mark Mitchell <mark@codesourcery.com>
19479 Tom de Vries <tom@codesourcery.com>
19480 Paul Pluzhnikov <ppluzhnikov@google.com>
19481
19482 * debug/tst-backtrace2.c: New file.
19483 * debug/tst-backtrace3.c: Likewise.
19484 * debug/tst-backtrace4.c: Likewise.
19485 * debug/tst-backtrace5.c: Likewise.
19486 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19487 (CFLAGS-tst-backtrace3.c): Likewise.
19488 (CFLAGS-tst-backtrace4.c): Likewise.
19489 (CFLAGS-tst-backtrace5.c): Likewise.
19490 (LDFLAGS-tst-backtrace2): Likewise.
19491 (LDFLAGS-tst-backtrace3): Likewise.
19492 (LDFLAGS-tst-backtrace4): Likewise.
19493 (LDFLAGS-tst-backtrace5): Likewise.
19494 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19495 tst-backtrace4 and tst-backtrace5.
19496
194972013-01-18 Anton Blanchard <anton@samba.org>
19498 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19499
19500 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19501 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19502 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19503 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19505 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19506 "+r" and remove output regs list as redundant. Add explicit inline
19507 asm to specify register of return val to work around compiler codegen
19508 bug. Remove (int) cast on return value. Add return type parameter to
19509 use in macro so that this macro does not truncate return value for
19510 64-bit values.
19511 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19512 pass to INTERNAL_VSYSCALL_NCS.
19513 (INLINE_VSYSCALL): Add 'long int' as return type to
19514 INTERNAL_VSYSCALL_NCS macro invocation.
19515 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19516 INTERNAL_VSYSCALL_NCS macro invocation.
19517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19518
195192013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19520
19521 [BZ #14496]
19522 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19523 Fix application of SIMD FP exception mask.
19524
19525 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19526 mp_no from a power of two.
19527 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19528 __mpexp_twomm1. Use __pow_mp.
19529
19530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19531 multiplication.
19532
195332013-01-17 David S. Miller <davem@davemloft.net>
19534
19535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19536
195372013-01-17 Joseph Myers <joseph@codesourcery.com>
19538
19539 [BZ #15023]
19540 * include/complex.h: Condition contents on [!_COMPLEX_H].
19541 (__kernel_casinhf): New prototype.
19542 (__kernel_casinh): Likewise.
19543 (__kernel_casinhl): Likewise.
19544 * math/Makefile (libm_calls): Add k_casinh.
19545 * math/k_casinh.c: New file.
19546 * math/k_casinhf.c: Likewise.
19547 * math/k_casinhl.c: Likewise.
19548 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19549 finite nonzero arguments.
19550 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19551 finite nonzero arguments.
19552 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19553 finite nonzero arguments.
19554 * math/s_casinh.c: Do not include <float.h>.
19555 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19556 * math/s_casinhf.c: Do not include <float.h>.
19557 (__casinhf): Move code for finite nonzero arguments to
19558 k_casinhf.c.
19559 * math/s_casinhl.c: Do not include <float.h>.
19560 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19561 redefine.
19562 (__casinhl): Move code for finite nonzero arguments to
19563 k_casinhl.c.
19564 * math/libm-test.inc (cacos_test): Add more tests.
19565 * sysdeps/i386/fpu/libm-test-ulps: Update.
19566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19567
195682013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19569
19570 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19571 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19572 [!HAVE_MREMAP]: Remove [defined linux] case.
19573 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19574
195752013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19576
19577 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19578
195792013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19580
19581 * elf/elf.h (R_386_SIZE32): New relocation.
19582 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19583 R_386_SIZE32.
19584 (elf_machine_rela): Likewise.
19585 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19586 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19587
195882013-01-17 Joseph Myers <joseph@codesourcery.com>
19589
19590 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19591 (FP_FAST_FMA): Do not define.
19592 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19593 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19594 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19595 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19596 !_SOFT_FLOAT]: Likewise.
19597 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19598 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19599 value.
19600 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19601 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19602 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19603 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19604 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19605 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19606 file.
19607
196082013-01-16 Andreas Schwab <schwab@suse.de>
19609
19610 [BZ #14327]
19611 * include/stdlib.h (__mktemp): Add declaration.
19612 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19613 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19614
196152013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19616
19617 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19618 definitions.
19619 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19620 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19621 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19622 definitions here.
19623 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19624 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19625 definitions.
19626 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19627 and ONE.
19628 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19629 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19630 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19631 definitions.
19632 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19633 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19634 definitions.
19635 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19636
19637 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19638
196392013-01-15 David S. Miller <davem@davemloft.net>
19640
19641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19642 trunc{,f} to libm-sysdep_routes.
19643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19645 file.
19646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19648 file.
19649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19650 file.
19651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19653 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19654 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19655 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19656 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19657 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19658 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19659
19660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19661 nearbyint{,f} to libm-sysdep_routes.
19662 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19664 New file.
19665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19666 file.
19667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19668 New file.
19669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19670 file.
19671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19673 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19674 file.
19675 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19676 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19677 file.
19678 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19679 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19680 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19681
19682 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19683 libc_feholdexcept and libc_fesetenv.
19684
196852013-01-15 Mike Frysinger <vapier@gentoo.org>
19686
19687 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19688
196892013-01-14 David S. Miller <davem@davemloft.net>
19690
19691 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19692 (SPARC_ASM_VIS2_IFUNC): Likewise.
19693 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19695 use of 'siam' instruction.
19696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19697 Likewise.
19698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19699 Likewise.
19700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19701 Likewise.
19702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19707 file.
19708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19709 file.
19710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19711 file.
19712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19713 file.
19714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19719 new VIS2 routines.
19720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19723 Likewise.
19724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19729 routines to libm-sysdep_routines.
19730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19731
19732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19733 fdim/fdimf to libm-sysdep_routines.
19734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19735 file.
19736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19738 file.
19739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19742 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19743 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19744 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19745 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19746
197472013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19748
19749 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19750 to optimize copies.
19751
19752 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19755
19756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19757 local variable MPTWO.
19758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19759 Likewise.
19760
197612013-01-13 Mike Frysinger <vapier@gentoo.org>
19762
19763 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19764 GLOB_NOESCAPE.
19765
197662013-01-13 Mike Frysinger <vapier@gentoo.org>
19767
19768 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19769
197702013-01-13 Mike Frysinger <vapier@gentoo.org>
19771
19772 * manual/pattern.texi (glob_t): Document gl_flags.
19773 (glob64_t): Likewise.
19774
197752013-01-11 David S. Miller <davem@davemloft.net>
19776
19777 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19778 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19779 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19780 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19781 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19782 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19783 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19784 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19785 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19786 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19787 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19788 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19789 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19790
19791 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19792 sparc V9 rather than using V8 code.
19793 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19794 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19795
19796 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19797 Move to...
19798 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19799 Here.
19800
198012013-01-11 Roland McGrath <roland@hack.frob.com>
19802
19803 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19804 not in the main loop.
19805 * configure: Regenerated.
19806
198072013-01-11 Joseph Myers <joseph@codesourcery.com>
19808
19809 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19810 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19811 to just #else.
19812 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19813 [!__GLIBC_HAVE_LONG_LONG] case.
19814 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19815 condition to just #else.
19816 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19817 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19818 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19819 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19820 unconditional.
19821 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19822 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19823 #elif condition to just #else.
19824 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19825 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19826 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19827 #elif condition to just #else.
19828
198292013-01-11 Steve Ellcey <sellcey@mips.com>
19830
19831 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19832 (EF_MIPS_ARCH_64): Fix value.
19833 (EF_MIPS_ARCH_32R2): New.
19834 (EF_MIPS_ARCH_64R2): New.
19835
198362013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19837
19838 * Makeconfig (+link-pie-before-libc): New.
19839 (+link-pie-after-libc): Likewise.
19840 (+link-pie-tests): Likewise.
19841 (+link-pie): Rewritten.
19842 (link-before-libc): Remove $(config-LDFLAGS).
19843 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19844 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19845 (config-LDFLAGS): Renamed to ...
19846 (rtld-LDFLAGS): This.
19847 (rtld-tests-LDFLAGS): New macro.
19848 (link-libc-rpath-link): Likewise.
19849 (link-libc-tests-rpath-link): Likewise.
19850 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19851 (link-libc): Prepand $(link-libc-rpath-link).
19852 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19853 (test-program-prefix): New macro.
19854 (test-via-rtld-prefix): Likewise.
19855 (test-program-cmd): Likewise.
19856 (host-test-program-cmd): Likewise.
19857 * Makefile ($(common-objpfx)testrun.sh): Replace
19858 $(run-program-prefix) with $(test-program-prefix).
19859 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19860 $(rtld-LDFLAGS).
19861 ($(common-objpfx)shlib.lds): Likewise.
19862 (build-module-helper): Likewise.
19863 ($(common-objpfx)format.lds): Likewise.
19864 * Rules (binaries-pie-tests): New.
19865 (binaries-pie-notests): Likewise.
19866 (binaries-pie): Rewritten.
19867 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19868 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19869 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19870 (make-test-out): Replace $(host-built-program-cmd) with
19871 $(host-test-program-cmd).
19872 * config.make.in (build-hardcoded-path-in-tests): New variable.
19873 * configure.in (--enable-hardcoded-path-in-tests): New configure
19874 option.
19875 (hardcoded_path_in_tests): New AC_SUBST.
19876 * configure: Regenerated.
19877 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19878 $(built-program-cmd) with $(test-program-cmd).
19879 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19880 (test_program_cmd): This.
19881 * elf/Makefile ($(objpfx)order.out): Run test with
19882 $(test-program-prefix).
19883 ($(objpfx)order2.out): Likewise.
19884 ($(objpfx)tst-initorder.out): Likewise.
19885 ($(objpfx)tst-initorder2.out): Likewise.
19886 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19887 $(test-program-cmd).
19888 ($(objpfx)tst-array1-static.out): Likewise.
19889 ($(objpfx)tst-array2.out): Likewise.
19890 ($(objpfx)tst-array3.out): Likewise.
19891 ($(objpfx)tst-array4.out): Likewise.
19892 ($(objpfx)tst-array5.out): Likewise.
19893 ($(objpfx)tst-array5-static.out): Likewise.
19894 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19895 $(test-program-cmd).
19896 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19897 $(run-program-prefix) with $(test-program-prefix).
19898 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19899 (test_program_prefix): This.
19900 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19901 $(run-program-prefix) with $(test-program-prefix).
19902 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19903 (test_program_prefix): This.
19904 * iconvdata/tst-tables.sh: Likewise.
19905 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19906 $(run-program-prefix) with $(test-program-prefix).
19907 ($(objpfx)tst-translit.out): Likewise.
19908 ($(objpfx)tst-gettext2.out): Likewise.
19909 ($(objpfx)tst-gettext4.out): Likewise.
19910 ($(objpfx)tst-gettext6.out): Likewise.
19911 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19912 (test_program_prefix): This.
19913 * intl/tst-gettext2.sh: Likewise.
19914 * intl/tst-gettext4.sh Likewise.
19915 * intl/tst-gettext6.sh: Likewise.
19916 * intl/tst-translit.sh: Likewise.
19917 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19918 with $(test-program-cmd).
19919 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19920 $(run-program-prefix) with $(test-program-prefix).
19921 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19922 (test_program_prefix): This.
19923 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19924 $(run-program-prefix) with $(test-program-prefix).
19925 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19926 (test_program_prefix): This.
19927 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19928 * posix/Makefile ($(objpfx)globtest.out): Replace
19929 $(run-via-rtld-prefix) and $(test-wrapper) with
19930 $(test-program-prefix) and $(test-via-rtld-prefix).
19931 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19932 $(test-program-prefix).
19933 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19934 $(host-test-program-cmd).
19935 (tst-spawn-ARGS): Likewise.
19936 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19937 $(test-program-prefix).
19938 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19939 (test_via_rtld_prefix): This.
19940 (test_wrapper): Renamed to ...
19941 (test_program_prefix): This.
19942 (run_program_prefix): Replaced by test_program_prefix.
19943 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19944 (test_program_prefix): This.
19945 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19946 with $(host-test-program-cmd).
19947 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19948 $(run-program-prefix) with $(test-program-prefix).
19949 ($(objpfx)tst-printf.out): Likewise.
19950 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19951 $(test-program-cmd).
19952 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19953 (test_program_prefix): This.
19954 * stdio-common/tst-unbputc.sh: Likewise.
19955 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19956 $(run-program-prefix) with $(test-program-prefix).
19957 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19958 (test_program_prefix): This.
19959 * string/Makefile ($(objpfx)tst-svc.out): Replace
19960 $(built-program-cmd) with $(test-program-cmd).
19961
199622013-01-11 Andreas Jaeger <aj@suse.de>
19963
19964 [BZ #15003]
19965 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19966 value. Sync with Linux 3.7.
19967
199682013-01-10 David S. Miller <davem@davemloft.net>
19969
19970 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19971 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19972 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19973
199742013-01-10 Roland McGrath <roland@hack.frob.com>
19975
19976 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19977 never set.
19978 * configure: Regenerated.
19979
199802013-01-10 David S. Miller <davem@davemloft.net>
19981
19982 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19983 sparc V9 rather than using V8 code.
19984 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19985 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19986
199872013-01-10 Roland McGrath <roland@hack.frob.com>
19988
19989 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19990 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19991 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19992 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19993 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19994 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19995 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19996 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19997 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19998 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19999 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20000 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20001 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20002 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20003 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20004 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20005 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20006 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20007 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20008 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20009 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20010 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20011 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20012 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20013 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20014 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20015 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20016
200172013-01-10 David S. Miller <davem@davemloft.net>
20018
20019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20020
200212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20022
20023 * posix/Makefile (tests-static): New variable.
20024 (tests): Add $(tests-static).
20025 (tst-exec-static-ARGS): New variable.
20026 (tst-spawn-static-ARGS): Likewise.
20027 * posix/tst-exec-static.c: New file.
20028 * posix/tst-spawn-static.c: Likewise.
20029 * posix/tst-exec.c: Support run directly.
20030 * posix/tst-spawn.c: Likewise.
20031
200322013-01-10 Joseph Myers <joseph@codesourcery.com>
20033
20034 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20035 long.
20036 * math/bits/mathcalls.h (llrint): Likewise.
20037 (llround): Likewise.
20038 * stdlib/stdlib.h (struct drand48_data): Likewise.
20039 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20040 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20041 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20042 Likewise.
20043 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20044 Likewise.
20045 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20046 (elf_greg_t): Likewise.
20047 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20048 (__jmp_buf): Likewise.
20049 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20050 definitions.
20051 (llrint): Likewise, for all definitions.
20052 (llrintl): Likewise.
20053
20054 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20055 Remove [__GNUC__] condition.
20056 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20057 condition to just [__USE_ISOC99].
20058 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20059
200602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20061
20062 [BZ #14200]
20063 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20064 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20065 defined.
20066 (_POSIX_V6_ILP32_OFF32): Likewise.
20067 (_XBS5_ILP32_OFF32): Likewise.
20068 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20069 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20070
200712013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20072
20073 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20074
20075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20076 doubles __mpexp_twomm1. Adjust usage.
20077 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20078 Remove.
20079
200802013-01-10 Andreas Schwab <schwab@suse.de>
20081
20082 [BZ #14964]
20083 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20084 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20085
200862013-01-09 David S. Miller <davem@davemloft.net>
20087
20088 [BZ #15003]
20089 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20090 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20091 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20092 (TCP_FASTOPEN): Define.
20093 (tcp_repair_opt): New structure.
20094 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20095 enum values.
20096 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20097 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20098 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20099 (tcp_cookie_transactions): New structure.
20100
201012013-01-09 Anton Blanchard <anton@samba.org>
20102
20103 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20104 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20105 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20106 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20107
201082013-01-09 Joseph Myers <joseph@codesourcery.com>
20109
20110 * include/features.h (__USE_ANSI): Remove.
20111
201122013-01-09 Roland McGrath <roland@hack.frob.com>
20113
20114 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20115
20116 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20117
201182013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20119
20120 * sysdeps/s390/fpu/libm-test-ulps: Update.
20121
20122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20123
20124 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20125 (__acr): Likewise.
20126 (__cpy): Likewise.
20127 (norm): Likewise.
20128 (denorm): Likewise.
20129 (__mp_dbl): Likewise.
20130 (__dbl_mp): Likewise.
20131 (add_magnitudes): Likewise.
20132 (sub_magnitudes): Likewise.
20133 (__add): Likewise.
20134 (__sub): Likewise.
20135 (__mul): Likewise.
20136 (__inv): Likewise.
20137 (__dvd): Likewise.
20138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20139 (__acr): Likewise.
20140 (__cpy): Likewise.
20141 (norm): Likewise.
20142 (denorm): Likewise.
20143 (__mp_dbl): Likewise.
20144 (__dbl_mp): Likewise.
20145 (add_magnitudes): Likewise.
20146 (sub_magnitudes): Likewise.
20147 (__add): Likewise.
20148 (__sub): Likewise.
20149 (__mul): Likewise.
20150 (__inv): Likewise.
20151 (__dvd): Likewise.
20152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20153 (__acr): Likewise.
20154 (__cpy): Likewise.
20155 (norm): Likewise.
20156 (denorm): Likewise.
20157 (__mp_dbl): Likewise.
20158 (__dbl_mp): Likewise.
20159 (add_magnitudes): Likewise.
20160 (sub_magnitudes): Likewise.
20161 (__add): Likewise.
20162 (__sub): Likewise.
20163 (__mul): Likewise.
20164 (__inv): Likewise.
20165 (__dvd): Likewise.
20166
201672013-01-08 Joseph Myers <joseph@codesourcery.com>
20168
20169 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20170 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20171 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20172 2 && __USE_EXTERN_INLINES]: Likewise.
20173
201742013-01-08 Andreas Jaeger <aj@suse.de>
20175
20176 [BZ# 14985]
20177 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20178 Remove.
20179 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20180 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20181
201822013-01-07 Anton Blanchard <anton@samba.org>
20183
20184 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20185 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20186 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20187 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20188 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20189 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20190 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20191 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20193 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20194 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20195 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20196 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20197 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20198 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20199 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20200 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20201 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20202 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20203 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20204 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20205 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20206 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20207 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20208 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20209 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20210 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20211 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20213 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20214 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20216 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20217 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20218 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20219 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20220 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20221 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20222 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20223 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20224 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20225 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20226 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20227
202282013-01-07 Joseph Myers <joseph@codesourcery.com>
20229
20230 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20231 (__MALLOC_PMT): Likewise.
20232 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20233 [__GNUC__], only on [_LIBC].
20234 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20235 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20236 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20237 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20238 forward declaration.
20239 (realloc_hook_ini): Likewise.
20240 (memalign_hook_ini): Likewise.
20241 (__libc_memalign): Do not use __MALLOC_PMT in variable
20242 declaration.
20243 (__libc_valloc): Likewise.
20244 (__libc_pvalloc): Likewise.
20245 (__libc_calloc): Likewise.
20246 (__posix_memalign): Likewise.
20247
20248 [BZ #14996]
20249 * math/s_casinh.c: Include <float.h>.
20250 (__casinh): Do not do computation with squaring and square root
20251 for large arguments.
20252 * math/s_casinhf.c: Include <float.h>.
20253 (__casinhf): Do not do computation with squaring and square root
20254 for large arguments.
20255 * math/s_casinhl.c: Include <float.h>.
20256 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20257 (__casinhl): Do not do computation with squaring and square root
20258 for large arguments.
20259 * math/libm-test.inc (casin_test): Add more tests.
20260 (casinh_test): Likewise.
20261 * sysdeps/i386/fpu/libm-test-ulps: Update.
20262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20263
202642013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20265
20266 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20267 (__x86_64_raw_data_cache_size): Likewise.
20268 (__x86_64_data_cache_size_half): Likewise.
20269 (__x86_64_raw_data_cache_size_half): Likewise.
20270 (__x86_64_shared_cache_size): Likewise.
20271 (__x86_64_raw_shared_cache_size): Likewise.
20272 (__x86_64_shared_cache_size_half): Likewise.
20273 (__x86_64_raw_shared_cache_size_half): Likewise.
20274 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20275 to ...
20276 (__x86_data_cache_size): This.
20277 (__x86_64_raw_data_cache_size): Renamed to ...
20278 (__x86_raw_data_cache_size): This.
20279 (__x86_64_data_cache_size_half): Renamed to ...
20280 (__x86_data_cache_size_half): This.
20281 (__x86_64_raw_data_cache_size_half): Renamed to ...
20282 (__x86_raw_data_cache_size_half): This.
20283 (__x86_64_shared_cache_size): Renamed to ...
20284 (__x86_shared_cache_size): This.
20285 (__x86_64_raw_shared_cache_size): Renamed to ...
20286 (__x86_raw_shared_cache_size): This.
20287 (__x86_64_shared_cache_size_half): Renamed to ...
20288 (__x86_shared_cache_size_half): This.
20289 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20290 (__x86_raw_shared_cache_size_half): This.
20291 * sysdeps/x86_64/memcpy.S: Updated.
20292 * sysdeps/x86_64/memset.S: Likewise.
20293 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20294 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20295 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20296
202972013-01-04 David S. Miller <davem@davemloft.net>
20298
20299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20300
203012013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20302
20303 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20304 1 to avoid redefinition warning.
20305 (__USE_GNU): Don't define.
20306 (init_signaling_nan): Protoize.
20307
20308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20309
203102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20311
20312 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20314 (__cpymn): Likewise.
20315 (norm): Remove commented code.
20316 (denorm): Likewise.
20317 (__mp_dbl): Likewise.
20318 (__inv): Likewise.
20319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20320 (__cpymn): Likewise.
20321 (norm): Remove commented code.
20322 (denorm): Likewise.
20323 (__mp_dbl): Likewise.
20324 (__inv): Likewise.
20325
20326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20327 mp_no value for 1.0 and 2.0.
20328 (norm): Use RADIXI instead of radixi.d.
20329 (denorm): Likewise.
20330 (__mul): Use 0.0 instead of zero.d.
20331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20332 mp_no value for 1.0 and 2.0.
20333 (norm): Use RADIXI instead of radixi.d.
20334 (denorm): Likewise.
20335 (__mul): Use 0.0 instead of zero.d.
20336
203372013-01-04 Joseph Myers <joseph@codesourcery.com>
20338
20339 [BZ #14994]
20340 * math/s_casinh.c (__casinh): Reduce finite argument to first
20341 quadrant then set signs of results at the end.
20342 * math/s_casinhf.c (__casinhf): Likewise.
20343 * math/s_casinhl.c (__casinhl): Likewise.
20344 * math/libm-test.inc (casin_test): Add more tests.
20345 (casinh_test): Likewise.
20346 * sysdeps/i386/fpu/libm-test-ulps: Update.
20347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20348
203492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20350
20351 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20352
20353 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20354
20355 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20356 declarations.
20357 (denorm): Likewise.
20358 (__mp_dbl): Likewise.
20359 (__inv): Likewise.
20360
20361 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20362 and adjust the header comment.
20363
20364 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20365 variable name from declaration.
20366
203672013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20368
20369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20370 Initialize COMMON_CPUID_INDEX_7 element.
20371 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20372 (CPUID_RTM): Likewise.
20373 (HAS_RTM): Likewise.
20374 (COMMON_CPUID_INDEX_7): New enum.
20375
203762013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20377
20378 [BZ #14981]
20379 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20380 size is zero, record memory as freed.
20381
203822013-01-03 Andreas Jaeger <aj@suse.de>
20383
20384 * po/ia.po: Add new Interlingua translation.
20385
203862012-01-03 Allan McRae <allan@archlinux.org>
20387
20388 * locale/programs/localedef.c: Fix description of '--posix' flag.
20389
203902013-01-02 Joseph Myers <joseph@codesourcery.com>
20391
20392 * NEWS: Update dates in second copyright notice.
20393 * README: Update copyright dates in example.
20394 * manual/libc.texinfo: Update copyright dates.
20395 * scripts/test-installation.pl: Update copyright date in --version
20396 output.
20397
20398 * hurd/ctty-input.c: Fix copyright notice formatting.
20399 * hurd/ctty-output.c: Likewise.
20400 * hurd/dtable.c: Likewise.
20401 * hurd/hurd-raise.c: Likewise.
20402 * hurd/hurdprio.c: Likewise.
20403 * hurd/msgportdemux.c: Likewise.
20404 * misc/sys/file.h: Likewise.
20405 * misc/sys/ioctl.h: Likewise.
20406 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20407 * sysdeps/mach/hurd/chdir.c: Likewise.
20408 * sysdeps/mach/hurd/fchdir.c: Likewise.
20409 * sysdeps/mach/hurd/rename.c: Likewise.
20410 * sysdeps/mach/hurd/rmdir.c: Likewise.
20411 * sysdeps/mach/hurd/seekdir.c: Likewise.
20412 * sysdeps/mach/hurd/setsid.c: Likewise.
20413 * sysdeps/posix/wait3.c: Likewise.
20414
20415 * All files with FSF copyright notices: Update copyright dates
20416 using scripts/update-copyrights.
20417 * intl/plural.c: Regenerated.
20418 * locale/programs/charmap-kw.h: Likewise.
20419 * locale/programs/locfile-kw.h: Likewise.
20420
204212013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20422
20423 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20424 four values.
20425
20426 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20427 calculation loop and add branch prediction.
20428
20429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20430 check access beyond bounds of m1np.
20431
20432 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20433 MPTWO.
20434 (__inv): Remove local variable MPTWO to use the global
20435 constant.
20436 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20437 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20438 variable MPTWO.
20439 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20440 MP3HALFS static const.
20441
204422013-01-01 David S. Miller <davem@davemloft.net>
20443
20444 * po/ca.po: Update from translation team.
20445
204462013-01-01 Joseph Myers <joseph@codesourcery.com>
20447
20448 * scripts/update-copyrights: New file.
20449 * Makeconfig: Reformat copyright notice.
20450 * ctype/ctype.h: Likewise.
20451 * debug/swprintf_chk.c: Likewise.
20452 * elf/dl-cache.c: Likewise.
20453 * elf/dl-debug.c: Likewise.
20454 * elf/dl-object.c: Likewise.
20455 * grp/initgroups.c: Likewise.
20456 * hurd/Makefile: Likewise.
20457 * hurd/hurd/signal.h: Likewise.
20458 * hurd/hurdfault.c: Likewise.
20459 * hurd/hurdioctl.c: Likewise.
20460 * hurd/hurdlookup.c: Likewise.
20461 * hurd/intr-msg.c: Likewise.
20462 * iconv/gconv_open.c: Likewise.
20463 * libio/swprintf.c: Likewise.
20464 * locale/lc-ctype.c: Likewise.
20465 * locale/nl_langinfo.c: Likewise.
20466 * mach/Machrules: Likewise.
20467 * mach/Makefile: Likewise.
20468 * malloc/obstack.h: Likewise.
20469 * manual/Makefile: Likewise.
20470 * manual/tsort.awk: Likewise.
20471 * misc/bits/stab.def: Likewise.
20472 * nis/nis_print_group_entry.c: Likewise.
20473 * nis/nis_table.c: Likewise.
20474 * nis/nss_compat/compat-pwd.c: Likewise.
20475 * nis/nss_compat/compat-spwd.c: Likewise.
20476 * po/Makefile: Likewise.
20477 * posix/fnmatch.c: Likewise.
20478 * posix/regex.h: Likewise.
20479 * resolv/Makefile: Likewise.
20480 * resolv/nss_dns/dns-network.c: Likewise.
20481 * resolv/res_hconf.c: Likewise.
20482 * scripts/gen-sorted.awk: Likewise.
20483 * soft-fp/soft-fp.h: Likewise.
20484 * stdio-common/printf.h: Likewise.
20485 * stdlib/monetary.h: Likewise.
20486 * stdlib/random.c: Likewise.
20487 * stdlib/random_r.c: Likewise.
20488 * sysdeps/generic/Makefile: Likewise.
20489 * sysdeps/gnu/Makefile: Likewise.
20490 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20492 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20494 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20497 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20498 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20499 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20500 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20501 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20502 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20503 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20504 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20505 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20506 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20507 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20508 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20510 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20511 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20512 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20513 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20514 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20515 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20516 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20517 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20518 * sysdeps/mach/hurd/errnos.awk: Likewise.
20519 * sysdeps/mach/hurd/fork.c: Likewise.
20520 * sysdeps/mach/hurd/getcwd.c: Likewise.
20521 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20522 * sysdeps/mach/hurd/mmap.c: Likewise.
20523 * sysdeps/mach/hurd/utimes.c: Likewise.
20524 * sysdeps/mach/hurd/xmknod.c: Likewise.
20525 * sysdeps/posix/profil.c: Likewise.
20526 * sysdeps/posix/readdir_r.c: Likewise.
20527 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20528 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20529 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20530 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20532 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20533 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20534 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20536 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20537 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20538 * sysdeps/pthread/lio_listio.c: Likewise.
20539 * sysdeps/sparc/dl-procinfo.h: Likewise.
20540 * sysdeps/unix/i386/sysdep.S: Likewise.
20541 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20542 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20543 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20544 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20546 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20547 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20548 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20549 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20550 * sysdeps/wordsize-32/divdi3.c: Likewise.
20551 * time/sys/time.h: Likewise.
20552 * wcsmbs/Makefile: Likewise.
20553
205542013-01-01 David S. Miller <davem@davemloft.net>
20555
20556 * po/fr.po: Update from translation team.
20557
20558 * catgets/gencat.c: Update copyright year.
20559 * csu/version.c: Likewise.
20560 * debug/catchsegv.sh: Likewise.
20561 * debug/pcprofiledump.c: Likewise.
20562 * debug/xtrace.sh: Likewise.
20563 * elf/ldconfig.c: Likewise.
20564 * elf/ldd.bash.in: Likewise.
20565 * elf/pldd.c: Likewise.
20566 * elf/sotruss.ksh: Likewise.
20567 * elf/sprof.c: Likewise.
20568 * iconv/iconv_prog.c: Likewise.
20569 * iconv/iconvconfig.c: Likewise.
20570 * locale/programs/locale.c: Likewise.
20571 * locale/programs/localedef.c: Likewise.
20572 * login/programs/pt_chown.c: Likewise.
20573 * malloc/memusage.sh: Likewise.
20574 * malloc/memusagestat.c: Likewise.
20575 * malloc/mtrace.pl: Likewise.
20576 * nscd/nscd.c: Likewise.
20577 * nss/getent.c: Likewise.
20578 * nss/makedb.c: Likewise.
20579 * posix/getconf.c: Likewise.
20580
205812012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20582
20583 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20584 numbers.
20585
205862012-12-30 Mike Frysinger <vapier@gentoo.org>
20587
20588 * math/bits/mathcalls.h (modf): Use __nonnull.
20589
205902012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20591
20592 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20593 (split): Use macro CN instead of the bare value.
20594 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20595 could be used.
20596 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20597 instead of the bare value.
20598 (power1): Likewise.
20599
206002012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20601
20602 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20603 __ATAN_TWOM.
20604 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20605
20606 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20607 their values.
20608 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20609 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20610 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20611 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20612
206132012-12-28 Andreas Jaeger <aj@suse.de>
20614
20615 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20616 values are from Linux 3.7.
20617
20618 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20619 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20620
206212012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20622
20623 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20624 TRUE case.
20625
20626 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20627 (norm): Likewise.
20628 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20629 variables with preprocessor constants.
20630 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20631 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20632 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20633
206342012-12-27 Bruno Haible <bruno@clisp.org>
20635
20636 [BZ #14317]
20637 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20638 only if needed.
20639
206402012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20641
20642 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20643 and use variable directly.
20644 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20645
20646 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20647 MPONE.
20648 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20649 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20650 variable MPONE.
20651 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20652 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20653 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20654 include directive. Remove local variable MPONE.
20655 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20656 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20657 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20658
206592012-12-25 David S. Miller <davem@davemloft.net>
20660
20661 * version.h (RELEASE): Set to "development".
20662 (VERSION): Set to "2.17.90".
20663 * NEWS: Add 2.18 section.
20664
206652012-12-21 David S. Miller <davem@davemloft.net>
20666
20667 * po/hr.po: Update from translation team.
20668
206692012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20670
20671 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20672
206732012-12-19 Steve Ellcey <sellcey@mips.com>
20674
20675 * NEWS: Mention new memcpy for MIPS.
20676
206772012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20678
20679 * manual/contrib.texi (Contributors): Spelling correction.
20680
206812012-12-15 David S. Miller <davem@davemloft.net>
20682
20683 * po/ru.po: Update from translation team.
20684
206852012-12-13 David S. Miller <davem@davemloft.net>
20686
20687 * NEWS: Mention IFUNC testsuite enhancements.
20688
20689 * po/pl.po: Update from translation team.
20690 * po/bg.po: Likewise.
20691
20692 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20693 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20694
206952012-12-11 David S. Miller <davem@davemloft.net>
20696
20697 * po/sv.po: Update from translation team.
20698
20699 * po/vi.po: Update from translation team.
20700
20701 * po/cs.po: Update from translation team.
20702
20703 * po/de.po: Update from translation team.
20704 * po/eo.po: Likewise.
20705 * po/nl.po: Likewise.
20706
207072012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20708
20709 [BZ #14246]
20710 * manual/argp.texi (Argp Helper Functions): Move node to follow
20711 Argp Parsing State.
20712
20713 [BZ #14872]
20714 * manual/conf.texi (Limits on File System Capacity): Mention if
20715 terminating null is included in the max size.
20716
207172012-12-10 Andreas Jaeger <aj@suse.de>
20718
20719 * po/cs.po: Update from translation team.
20720
207212012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20722
20723 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20724 void pointer and cast to uintptr_t.
20725 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20726 path.
20727 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20728 * sysdeps/s390/s390-64/memset.S: Likewise.
20729
207302012-12-08 Benno Schulenberg <bensberg@justemail.net>
20731
20732 [BZ #14833]
20733 * menual/message.texi (Message Translation): Fix typos.
20734 (Helper programs for gettext): Likewise.
20735
207362012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20737
20738 [BZ #14898]
20739 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20740 Change to -1.
20741
207422012-12-07 David S. Miller <davem@davemloft.net>
20743
20744 * po/libc.pot: Update.
20745
207462012-12-07 Richard Henderson <rth@redhat.com>
20747
20748 [BZ #10114]
20749 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20750 normal/normal case to before the switch.
20751 (_FP_DIV): Likewise.
20752
207532012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20754 Mike Frysinger <vapier@gentoo.org>
20755
20756 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20757 check for __NR_fadvise64_64.
20758
207592012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20760
20761 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20762 0, not just to plain "0" as a statement.
20763 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20764 with cw.
20765
207662012-12-06 Joseph Myers <joseph@codesourcery.com>
20767
20768 * NEWS: Use sourceware.org in Bugzilla URL.
20769
207702012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20771
20772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20773 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20774
20775 * stdio-common/tst-put-error.c (do_test): Add newline to the
20776 padded test to ensure flush.
20777
207782012-12-05 Jeff Law <law@redhat.com>
20779
20780 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20781
207822012-12-05 Joseph Myers <joseph@codesourcery.com>
20783
20784 * README: Don't refer to ports add-on as distributed separately.
20785 Mention AArch64 in list of systems supported in the ports add-on.
20786
20787 * LICENSES: Add more non-FSF copyright and license notices.
20788
20789 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20790 ((unused)).
20791
20792 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20793
20794 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20795 10000 as width of padded output.
20796
207972012-12-04 Joseph Myers <joseph@codesourcery.com>
20798
20799 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20800
20801 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20802 variable LX with __attribute__ ((unused)).
20803 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20804 Likewise.
20805 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20807 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20808 with __attribute__ ((unused)).
20809
208102012-12-04 David S. Miller <davem@abraco.davemloft.net>
20811
20812 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20813
208142012-12-04 Joseph Myers <joseph@codesourcery.com>
20815
20816 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20817 (CFLAGS-nldbl-acos.c): New variable.
20818 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20819 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20820 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20821 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20822 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20823 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20824 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20825 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20826 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20827 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20828 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20829 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20830 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20831 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20832 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20833 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20834 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20835 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20836 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20837 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20838 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20839 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20840 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20841 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20842 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20843 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20844 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20845 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20846 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20847 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20848 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20849 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20850 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20851 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20852 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20853 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20854 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20855 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20856 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20857 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20858 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20859 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20860 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20861 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20862 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20863 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20864 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20865 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20866 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20867 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20868 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20869 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20870 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20871 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20872 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20873 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20874 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20875 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20876 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20877 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20878 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20879 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20880 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20881 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20882 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20883 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20884 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20885 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20886 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20887 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20888 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20889 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20890 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20891 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20892 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20893 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20894 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20895 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20896 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20897 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20898 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20899 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20900 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20901 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20902 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20903 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20904 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20905 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20906 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20907 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20908 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20909 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20910 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20911 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20912 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20913 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20914 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20915
20916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20917 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20918
20919 [BZ #14914]
20920 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20921 whole low double instead of just low 47 bits when splitting values
20922 into two parts.
20923
209242012-12-03 Allan McRae <allan@archlinux.org>
20925
20926 * manual/stdio.texi (Predefined Printf Handlers): Remove
20927 @hsep and @vsep usage.
20928
209292012-12-03 Mike Frysinger <vapier@gentoo.org>
20930
20931 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20932 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20933
209342012-12-03 Jeff Law <law@redhat.com>
20935
20936 * time/sys/time.h (settimeofday): Do not mark TV argument
20937 as __nonnull.
20938
209392012-12-01 Mike Frysinger <vapier@gentoo.org>
20940
20941 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20942 when currently writing and seek to current position when not.
20943 * libio/Makefile (tests): Remove bug-fclose1.
20944 * libio/bug-fclose1.c: Delete.
20945
209462012-12-01 Joseph Myers <joseph@codesourcery.com>
20947
20948 * manual/arith.texi (feenableexcept): Fix typo.
20949 (fedisableexcept): Likewise.
20950
209512012-11-30 Roland McGrath <roland@hack.frob.com>
20952
20953 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20954 second, differently-typed declaration, rather than a cast.
20955
209562012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20957
20958 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20959 * include/rpc/svc.h: ... here.
20960
209612012-11-30 Aurelien Jarno <aurel32@debian.org>
20962
20963 [BZ #13013]
20964 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20965 depending n and resplen2 to catch cases where answer
20966 equals answerp2.
20967
209682012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20969
20970 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20971 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20972
209732012-11-29 Mike Frysinger <vapier@gentoo.org>
20974
20975 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20976
209772012-11-29 Roland McGrath <roland@hack.frob.com>
20978
20979 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20980
209812012-11-28 Jeff Law <law@redhat.com>
20982
20983 [BZ #13761]
20984 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20985 dataset_temporary. Track alloca usage into alloca_used.
20986 If dataset is large allocate and release it via malloc/free.
20987
209882012-06-04 Florian Weimer <fweimer@redhat.com>
20989
20990 [BZ #14197]
20991 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20992
209932012-11-28 David S. Miller <davem@davemloft.net>
20994
20995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20996
209972012-11-28 Joseph Myers <joseph@codesourcery.com>
20998
20999 [BZ #14803]
21000 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21001 of pi/2 rounded to nearest to 64 bits.
21002 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21003 nearest to 64 bits.
21004 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21005 bits.
21006
210072012-11-28 Jeff Law <law@redhat.com>
21008 Martin Osvald <mosvald@redhat.com>
21009
21010 [BZ #14889]
21011 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21012 * sunrpc/svc.c: Include time.h.
21013 (__svc_accept_failed): New function.
21014 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21015 any reason other than EINTR, call __svc_accept_failed.
21016 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21017 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21018
210192012-11-28 Andreas Schwab <schwab@suse.de>
21020
21021 * scripts/abilist.awk: Also handle indirect functions in .opd
21022 section.
21023
210242012-11-28 Joseph Myers <joseph@codesourcery.com>
21025
21026 [BZ #13881]
21027 * sysdeps/x86/fpu/powl_helper.c: New file.
21028 * sysdeps/x86/fpu/Makefile: Likewise.
21029 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21030 (p3): New object.
21031 (__ieee754_powl): Use __powl_helper for finite arguments except
21032 integer exponents below 8.
21033 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21034 (p3): New object.
21035 (__ieee754_powl): Use __powl_helper for finite arguments except
21036 integer exponents below 8.
21037 * math/libm-test.inc (pow_test): Add more tests and enable some
21038 previously disabled tests.
21039 * sysdeps/i386/fpu/libm-test-ulps: Update.
21040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21041
210422012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21043 Carlos O'Donell <carlos_odonell@mentor.com>
21044
21045 * nss/makedb.c (is_prime): Assert that input is odd and greater
21046 than 4. Note that fact in a comment too.
21047 (next_prime): Add 4 to input.
21048
210492012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21050
21051 [BZ #11741]
21052 * libio/Makefile (tests): Add test case tst-fwrite-error.
21053 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21054 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21055 * libio/tst-fwrite-error.c: New test case.
21056
210572012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21058
21059 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21060 before casting to void *.
21061 * include/libc-internal.h (__pointer_type): New macro.
21062 (__integer_if_pointer_type_sub): Likewise.
21063 (__integer_if_pointer_type): Likewise.
21064 (cast_to_integer): Likewise.
21065 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21066 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21067 before casting to atomic64_t.
21068 (atomic_exchange_acq): Likewise.
21069 (__arch_exchange_and_add_body): Likewise.
21070 (__arch_add_body): Likewise.
21071 (atomic_add_negative): Likewise.
21072 (atomic_add_zero): Likewise.
21073
210742012-11-26 Joseph Myers <joseph@codesourcery.com>
21075
21076 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21077 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21078 (add_fdes): Likewise.
21079 (linear_search_fdes): Likewise.
21080 (binary_search_unencoded_fdes): Likewise.
21081
210822012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21083
21084 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21085
210862012-11-24 Adam Conrad <adconrad@0c3.net>
21087
21088 * configure.in: Autodetect C++ header directories.
21089 * configure: Regenerated.
21090
210912012-11-23 Mike Frysinger <vapier@gentoo.org>
21092
21093 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21094
210952012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21096
21097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21098
210992012-11-22 Joseph Myers <joseph@codesourcery.com>
21100
21101 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21102 LDBL_MANT_DIG == 106]: Disable some tests.
21103 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21104 Likewise.
21105 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21106 Likewise.
21107
21108 [BZ #14871]
21109 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21110 input for small inputs. Return +/- pi/2 for large inputs.
21111 * math/libm-test.inc (atan_test): Add more tests.
21112
21113 * sysdeps/generic/unwind-dw2-fde-glibc.c
21114 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21115 __attribute__ ((unused)).
21116
21117 [BZ #14645]
21118 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21119 x * y if x and y are nonzero and z is zero.
21120
21121 [BZ #14811]
21122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21123 nonzero exponents with absolute value below 0x1p-117 to +/-
21124 0x1p-117.
21125
21126 [BZ #14869]
21127 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21128 up arguments below 2**-450, not just those below 2**-500.
21129 * math/libm-test.inc (hypot_test): Add another test.
21130
21131 [BZ #14868]
21132 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21133 Return a+b for ratio over 2**120, not 2**60.
21134 * math/libm-test.inc (hypot_test): Add another test.
21135
21136 * math/libm-test.inc (clog_test): Use
21137 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21138 (clog10_test): Likewise.
21139
21140 [BZ #6778]
21141 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21142
211432012-11-22 Andreas Schwab <schwab@suse.de>
21144
21145 * sysdeps/i386/fpu/libm-test-ulps: Update.
21146
211472012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21148
21149 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21150 printf output with newline.
21151
211522012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21153
21154 [BZ #14865]
21155 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21156 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21157 -z nodlopen, -z initfirst and -z execstack support.
21158 * configure: Regenerated.
21159
21160 * elf/elf.h (DF_1_NODIRECT): New macro.
21161 (DF_1_IGNMULDEF): Likewise.
21162 (DF_1_NOKSYMS): Likewise.
21163 (DF_1_NOHDR): Likewise.
21164 (DF_1_EDITED): Likewise.
21165 (DF_1_NORELOC): Likewise.
21166 (DF_1_SYMINTPOSE): Likewise.
21167 (DF_1_GLOBAUDIT): Likewise.
21168 (DF_1_SINGLETON): Likewise.
21169 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21170 DT_1_SUPPORTED_MASK bits.
21171 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21172
211732012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21174
21175 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21176
211772012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21178
21179 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21180 macro.
21181
21182 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21183 (sendmmsg): Move declarations...
21184 * socket/sys/socket.h: ... here.
21185 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21186 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21187 include it from...
21188 * socket/recvmmsg.c: ... this new file.
21189 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21190 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21191 definition of __sendmmsg hidden.
21192 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21193 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21194 Move ENOSYS stub into and include it from...
21195 * socket/sendmmsg.c: ... this new file.
21196 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21197 (sysdep_routines): Move recvmmsg and sendmmsg...
21198 * socket/Makefile (routines): ... here.
21199 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21200 (GLIBC_PRIVATE): Add __sendmmsg.
21201 * include/sys/socket.h (__sendmmsg): Add declarations.
21202 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21203 sendmmsg.
21204
212052012-11-20 Joseph Myers <joseph@codesourcery.com>
21206
21207 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21208 variable I1 with __attribute__ ((unused)).
21209 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21210
212112012-11-19 Joseph Myers <joseph@codesourcery.com>
21212
21213 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21214 DUMMY variables with __attribute__ ((unused)).
21215
21216 * bits/byteswap.h: Include <bits/types.h>.
21217 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21218
212192012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21220
21221 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21222 string_t. Do not manually set errno.
21223 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21224 length with __strnlen. Make sure to both set errno and return it on
21225 failure.
21226
212272012-11-19 David S. Miller <davem@davemloft.net>
21228
21229 With help from Joseph Myers.
21230 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21231 very large arguments properly.
21232 * math/libm-test.inc (atan_test): New tests.
21233 (atan2_test): New tests.
21234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21236
212372012-11-19 Joseph Myers <joseph@codesourcery.com>
21238
21239 [BZ #14856]
21240 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21241 Define to 3.
21242
21243 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21244 [POSIX] (EADDRNOTAVAIL): Likewise.
21245 [POSIX] (EAFNOSUPPORT): Likewise.
21246 [POSIX] (EALREADY): Likewise.
21247 [POSIX] (ECONNABORTED): Likewise.
21248 [POSIX] (ECONNREFUSED): Likewise.
21249 [POSIX] (ECONNRESET): Likewise.
21250 [POSIX] (EDESTADDRREQ): Likewise.
21251 [POSIX] (EDQUOT): Likewise.
21252 [POSIX] (EHOSTUNREACH): Likewise.
21253 [POSIX] (EIDRM): Likewise.
21254 [POSIX] (EISCONN): Likewise.
21255 [POSIX] (ELOOP): Likewise.
21256 [POSIX] (EMULTIHOP): Likewise.
21257 [POSIX] (ENETDOWN): Likewise.
21258 [POSIX] (ENETUNREACH): Likewise.
21259 [POSIX] (ENOBUFS): Likewise.
21260 [POSIX] (ENODATA): Likewise.
21261 [POSIX] (ENOLINK): Likewise.
21262 [POSIX] (ENOMSG): Likewise.
21263 [POSIX] (ENOPROTOOPT): Likewise.
21264 [POSIX] (ENOSR): Likewise.
21265 [POSIX] (ENOSTR): Likewise.
21266 [POSIX] (ENOTCONN): Likewise.
21267 [POSIX] (ENOTSOCK): Likewise.
21268 [POSIX] (EOPNOTSUPP): Likewise.
21269 [POSIX] (EOVERFLOW): Likewise.
21270 [POSIX] (EPROTO): Likewise.
21271 [POSIX] (EPROTONOSUPPORT): Likewise.
21272 [POSIX] (EPROTOTYPE): Likewise.
21273 [POSIX] (ESTALE): Likewise.
21274 [POSIX] (ETIME): Likewise.
21275 [POSIX] (ETXTBSY): Likewise.
21276 [POSIX] (EWOULDBLOCK): Likewise.
21277 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21278 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21279 [POSIX] (SEEK_CUR): Likewise.
21280 [POSIX] (SEEK_END): Likewise.
21281 [POSIX || UNIX98] (mode_t): Do not require.
21282 [POSIX] (off_t): Likewise.
21283 [POSIX] (pid_t): Likewise.
21284 [POSIX] (sys/stat.h): Do not allow header.
21285 [POSIX] (unistd.h): Likewise.
21286 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21287 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21288 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21289 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21290 require.
21291 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21292 sigevent): Specify elements.
21293 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21294 entry.
21295 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21296 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21297
21298 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21299 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21300 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21301 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21302 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21303 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21304 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21305 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21306 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21307 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21308 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21309 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21310 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21311 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21312 Likewise.
21313 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21314 Likewise.
21315 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21316 Likewise.
21317 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21318 Likewise.
21319 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21320 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21321 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21322 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21323 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21324 Specify lower bound on value.
21325 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21326 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21327 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21328 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21329 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21330 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21331 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21332 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21333 value.
21334 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21335 as optional.
21336 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21337 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21338 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21339 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21340 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21341 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21342 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21343 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21344 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21345 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21346 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21347 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21348 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21349 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21350 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21351 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21352 entry.
21353 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21354 optional.
21355 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21356 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21357 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21358 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21359 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21360 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21361 Likewise.
21362 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21363 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21364 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21365 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21366 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21367 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21368 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21369 as optional.
21370 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21371 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21372 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21373 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21374 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21375 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21376 specify as optional.
21377 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21378 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21379 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21380 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21381 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21382 [XPG3] (NL_LANGMAX): Likewise.
21383 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21384 [POSIX || XPG3] (NL_NMAX): Likewise.
21385 [POSIX || XPG3] (NL_SETMAX): Likewise.
21386 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21387 [XPG3] (NZERO): Likewise.
21388 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21389 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21390 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21391 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21392 (REG_ERANGE): Expect.
21393 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21394 optional-constant.
21395 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21396 Use (void) in prototype.
21397 [POSIX] (*_t): Allow.
21398 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21399 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21400 (WRDE_BADVAL): Expect.
21401
21402 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21403 expect.
21404 [XPG3 || XPG4] (O_RSYNC): Likewise.
21405 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21406 Likewise.
21407 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21408 [XPG3 || XPG4] (sigqueue): Likewise.
21409 [XPG3 || XPG4] (sigtimedwait): Likewise.
21410 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21411 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21412 [XPG3 || XPG4] (vsnprintf): Likewise.
21413 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21414 Likewise.
21415 [XPG3 || XPG4] (blksize_t): Likewise.
21416 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21417 Likewise.
21418 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21419 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21420 [XPG3 || XPG4] (struct itimerspec): Likewise.
21421 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21422 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21423 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21424 [XPG3 || XPG4] (clockid_t): Likewise.
21425 [XPG3 || XPG4] (timer_t): Likewise.
21426 [XPG3 || XPG4] (clock_getres): Likewise.
21427 [XPG3 || XPG4] (clock_gettime): Likewise.
21428 [XPG3 || XPG4] (clock_settime): Likewise.
21429 [XPG3 || XPG4] (nanosleep): Likewise.
21430 [XPG3 || XPG4] (timer_create): Likewise.
21431 [XPG3 || XPG4] (timer_delete): Likewise.
21432 [XPG3 || XPG4] (timer_gettime): Likewise.
21433 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21434 [XPG3 || XPG4] (timer_settime): Likewise.
21435 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21436 [XPG3 || XPG4] (getlogin_r): Likewise.
21437 [XPG3 || XPG4] (pread): Likewise.
21438 [XPG3 || XPG4] (pthread_atfork): Likewise.
21439 [XPG3 || XPG4] (pwrite): Likewise.
21440
21441 [BZ #14835]
21442 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21443 <bits/siginfo.h>.
21444
214452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21446
21447 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21448 finalizing MALLSTREAM.
21449
21450 * sysdeps/mach/hurd/syncfs.c: New file.
21451
214522012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21453
21454 [BZ #14719]
21455 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21456 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21457 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21458 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21459 (_nss_dns_gethostbyname4_r): Likewise.
21460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21461 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21462
214632012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21464
21465 [BZ #13763]
21466 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21467
214682012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21469
21470 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21471 * elf/cache.c (print_entry): Print ",AArch64" for
21472 FLAG_AARCH64_LIB64
21473
21474 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21475 * elf/cache.c (print_entry): Print ",hard-float" for
21476 FLAG_ARM_LIBHF.
21477
214782012-11-18 David S. Miller <davem@davemloft.net>
21479
21480 With help from Joseph Myers.
21481 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21482 cutoff to 2**-13.
21483 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21484 cutoff to 2**-25.
21485 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21486 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21487 small.
21488 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21489 * math/libm-test.inc (y0_test): New tests.
21490 (y1_test): New tests.
21491 * sysdeps/i386/fpu/libm-test-ulps: Update.
21492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21494
214952012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21496
21497 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21498 64-bit targets.
21499 * configure: Regenerated.
21500
215012012-11-17 David S. Miller <davem@davemloft.net>
21502
21503 [BZ #14811]
21504 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21505 nonzero exponents with absolute value below 0x1p-128 to +/-
21506 0x1p-128.
21507
215082012-11-17 Joseph Myers <joseph@codesourcery.com>
21509
21510 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21511
21512 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21513
21514 * posix/getconf-speclist.c: New file.
21515 * posix/posix-envs.def: Likewise.
21516 * posix/confstr.c (START_ENV_GROUP): New macro.
21517 (END_ENV_GROUP): Likewise.
21518 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21519 (KNOWN_PRESENT_ENV_STRING): Likewise.
21520 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21521 (UNKNOWN_ENVIRONMENT): Likewise.
21522 (confstr): Include posix-envs.def instead of handling
21523 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21524 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21525 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21526 (END_ENV_GROUP): Likewise.
21527 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21528 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21529 (UNKNOWN_ENVIRONMENT): Likewise.
21530 (__sysconf): Include posix-envs.def instead of handling associated
21531 cases directly here.
21532 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21533 preprocessing getconf-speclist.c rather than running getconf or
21534 generating empty file.
21535
215362012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21537
21538 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21539
215402012-11-16 Andrej Lajovic <natrij@gmail.com>
21541
21542 [BZ #14672]
21543 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21544
215452012-11-16 David S. Miller <davem@davemloft.net>
21546
21547 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21548 smaller than LDBL_EPSILON/2.0L, just return xm1.
21549
215502012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21551
21552 * elf/tst-array1.c (init): Set constructor priority to 1000.
21553 (fini): Set destructor priority to 1000.
21554 * elf/tst-array2dep.c: Likewise.
21555
215562012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21557
21558 [BZ #11741]
21559 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21560 (_IO_new_file_xsputn): Also return EOF if none of the input
21561 data was written when overflow failed.
21562 * libio/iopadn.c (_IO_padn): Likewise.
21563 * libio/iowpadn.c (_IO_wpadn): Likewise.
21564 * stdio-common/tst-put-error.c: Add copyright notice.
21565 (do_test): Add case for printing padded string.
21566 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21567 _IO_padn returned error.
21568 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21569 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21570 return EOF.
21571
215722012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21573
21574 * libio/libioP.h: Add comment note that the references to C++
21575 bits are now obsolete.
21576
215772012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21578
21579 * math/libm-test.inc (check_complex): Use asprintf.
21580
215812012-11-14 Joseph Myers <joseph@codesourcery.com>
21582
21583 * debug/pcprofiledump.c (print_version): Update copyright year.
21584 * malloc/memusagestat.c (print_version): Likewise.
21585
215862012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21587
21588 [BZ #14831]
21589 * elf/Makefile (tests): Add tst-audit8.
21590 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21591 ($(objpfx)tst-audit8.out): New target.
21592 (tst-audit8-ENV): New variable.
21593 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21594 audit if l_reloc_result is NULL.
21595 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21596 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21597 * elf/tst-audit8.c: New file.
21598
215992012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21600
21601 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21602 * misc/Makefile (CFLAGS-select.c): Define.
21603 * posix/Makefile (CFLAGS-pause.c): Define.
21604
216052012-11-13 David S. Miller <davem@davemloft.net>
21606
21607 * crypt/Makefile: Move test targets after toplevel Rules
21608 inclusion. Grab any necessary sysdep routines when linking.
21609 * crypt/md5.c (md5_process_block): Remove define, we will always
21610 name it __md5_process_block.
21611 (md5_finish_ctx): Update md5_process_block call.
21612 (md5_stream): Likewise.
21613 (md5_process_bytes): Likewise.
21614 (md5_process_block): Rename to __md5_process_block and move to ...
21615 * crypt/md5-block.c: ... here.
21616 * crypt/sha256.c (sha256_process_block): Move to ...
21617 * crypt/sha256-block.c: ... here.
21618 * crypt/sha512.c (sha512_process_block): Move to ...
21619 * crypt/sha512-block.c: ... here.
21620 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21621 path.
21622 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21623 * sysdeps/sparc/sparc64/multiarch/Makefile
21624 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21625 crypt subdir.
21626 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21627 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21628 multiarch changes.
21629 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21630 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21631 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21632 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21633 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21634 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21635 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21636 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21637 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21638 file.
21639 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21640 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21641 file.
21642 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21643
216442012-11-13 Joseph Myers <joseph@codesourcery.com>
21645
21646 * timezone/tzselect.ksh: Update from tzcode git revision
21647 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21648 * timezone/zdump.c: Likewise.
21649 * timezone/zic.c: Likewise.
21650 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21651 in TZVERSION setting, not $(PKGVERSION).
21652 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21653 REPORT_BUGS_TO settings.
21654
21655 [BZ #14838]
21656 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21657 macro.
21658
216592012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21660
21661 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21662 detection to immediately after _FP_ROUND().
21663 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21664 bits are 0.
21665
216662012-11-11 David S. Miller <davem@davemloft.net>
21667
21668 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21669 inttypes.h
21670 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21671 __close rather than their public counterparts.
21672
216732012-11-10 Joseph Myers <joseph@codesourcery.com>
21674
21675 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21676 file.
21677 [UNIX98] (sem_timedwait): Do not expect.
21678 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21679 [XPG4 || UNIX98] (sockatmark): Do not expect.
21680 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21681 (clock_getcpuclockid): Do not expect.
21682 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21683 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21684 Do not expect.
21685 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21686 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21687 [UNIX98] (vwscanf): Likewise.
21688 [UNIX98] (vswscanf): Likewise.
21689
216902012-11-09 Joseph Myers <joseph@codesourcery.com>
21691
21692 * timezone/version.h: Remove file.
21693 * timezone/README: Do not refer to version.h.
21694 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21695 $(objpfx)version.h.
21696 ($(objpfx)zdump.o): Likewise.
21697 ($(objpfx)version.h): New target.
21698
21699 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21700 2012i.
21701 * timezone/README: Don't mention modification to tzselect.ksh.
21702 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21703 work on unmodified tzselect.ksh. Substitute version numbers in
21704 tzselect.ksh.
21705
21706 * Makefile (format-me): Remove.
21707 (INSTALL): Adjust indentation. Use commands directly instead of
21708 using $(format-me).
21709
21710 * aclocal.m4 (ACX_PKGVERSION): New macro.
21711 (ACX_BUGURL): Likewise.
21712 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21713 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21714 (REPORT_BUGS_TO): Likewise.
21715 * configure: Regenerated.
21716 * config.h.in (PKGVERSION): New macro.
21717 (REPORT_BUGS_TO): Likewise.
21718 * config.make.in (PKGVERSION): New variable.
21719 (PKGVERSION_TEXI): Likewise.
21720 (REPORT_BUGS_TO): Likewise.
21721 (REPORT_BUGS_TEXI): Likewise.
21722 * Makefile (format-me): Use -I$(common-objpfx)manual.
21723 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21724 ($(common-objpfx)manual/%): New target.
21725 (manual/%): Remove target.
21726 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21727 (print_version): Use PKGVERSION.
21728 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21729 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21730 and REPORT_BUGS_TO.
21731 ($(objpfx)xtrace): Likewise.
21732 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21733 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21734 (print_version): Use PKGVERSION.
21735 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21736 (do_version): Use PKGVERSION.
21737 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21738 REPORT_BUGS_TO.
21739 (common-ldd-rewrite): Likewise.
21740 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21741 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21742 (print_version): Use PKGVERSION.
21743 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21744 * elf/pldd.c (argp_program_bug_address): Remove variable.
21745 (more_help): New function.
21746 (argp): Use more_help.
21747 (print_version): Use PKGVERSION.
21748 * elf/sln.c (main): Use PKGVERSION.
21749 (usage): Use REPORT_BUGS_TO.
21750 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21751 (top level): Use PKGVERSION.
21752 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21753 (print_version): Use PKGVERSION.
21754 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21755 (print_version): Use PKGVERSION.
21756 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21757 (print_version): Use PKGVERSION.
21758 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21759 (print_version): Use PKGVERSION.
21760 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21761 (print_version): Use PKGVERSION.
21762 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21763 (print_version): Use PKGVERSION.
21764 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21765 and BUGURL.
21766 ($(objpfx)memusage): Likewise.
21767 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21768 (do_version): Use PKGVERSION.
21769 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21770 (print_version): Use PKGVERSION.
21771 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21772 ($PKGVERSION): New variable.
21773 ($REPORT_BUGS_TO): Likewise.
21774 (usage): Use $REPORT_BUGS_TO.
21775 (top level): Use $PKGVERSION.
21776 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21777 ($(objpfx)pkgvers.texi): New rule.
21778 ($(objpfx)stamp-pkgvers): Likewise.
21779 * manual/install.texi: Include pkgvers.texi.
21780 (--with-pkgversion): Document new configure option.
21781 (--with-bugurl): Likewise.
21782 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21783 than necessarily for this particular distribution. Use
21784 REPORT_BUGS_TO for where to report bugs.
21785 * INSTALL: Regenerated.
21786 * manual/libc.texinfo: Include pkgvers.texi.
21787 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21788 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21789 (print_version): Use PKGVERSION.
21790 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21791 (print_version): Use PKGVERSION.
21792 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21793 (print_version): Use PKGVERSION.
21794 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21795 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21796 macro.
21797 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21798 (print_version): Use PKGVERSION.
21799 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21800 (print_version): Use PKGVERSION.
21801 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21802 and PKGVERSION.
21803
21804 * timezone/checktab.awk: Update from tzcode 2012i.
21805 * timezone/ialloc.c: Likewise.
21806 * timezone/private.h: Likewise.
21807 * timezone/scheck.c: Likewise.
21808 * timezone/tzfile.h: Likewise.
21809 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21810 (TZVERSION): Hardcode tzcode version number.
21811 * timezone/zdump.c: Update from tzcode 2012i.
21812 * timezone/zic.c: Likewise.
21813 * timezone/version.h: New file.
21814 * timezone/README: Describe version.h. Update upstream location.
21815
21816 [BZ #14824]
21817 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21818 (mktemp): Enable declaration.
21819 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21820 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21821 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21822 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21823 Likewise.
21824 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21825 Likewise.
21826 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21827 Likewise.
21828 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21829 Likewise.
21830 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21831 Likewise.
21832 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21833 Likewise.
21834
21835 [BZ #14821]
21836 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21837 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21838 for copies of such integer values.
21839 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21840 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21841
218422012-11-09 Andreas Jaeger <aj@suse.de>
21843
21844 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21845 definitions and declarations that are provided by
21846 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21847
218482012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21849
21850 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21851 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21852 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21853 definition.
21854
218552012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21856
21857 * elf/elf.h: Update comment before AArch64 relocations.
21858
218592012-11-07 David S. Miller <davem@davemloft.net>
21860
21861 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21862 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21863 (__start_context): Declare.
21864 (__makecontext_ret): Delete.
21865 (__makecontext): Hook up __start_context instead of
21866 __makecontext_ret.
21867 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21868 (sysdep_routines): Add __start_context when in stdlib.
21869
218702012-11-07 Joseph Myers <joseph@codesourcery.com>
21871
21872 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21873 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21874 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21875 hardcoded "nm".
21876 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21877 (READELF): New variable. Use it instead of hardcoded "readelf".
21878
218792012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21880
21881 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21882 * sysdeps/x86/Makefile: Here.
21883 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21884 * sysdeps/x86/tst-xmmymm.sh: This.
21885
218862012-11-07 Joseph Myers <joseph@codesourcery.com>
21887
21888 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21889 expectations.
21890 [UNIX98] (pthread_barrier_t): Do not expect.
21891 [UNIX98] (pthread_barrierattr_t): Likewise.
21892 [UNIX98] (pthread_spinlock_t): Likewise.
21893 [UNIX98] (pthread_barrier_destroy): Likewise.
21894 [UNIX98] (pthread_barrier_init): Likewise.
21895 [UNIX98] (pthread_barrier_wait): Likewise.
21896 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21897 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21898 [UNIX98] (pthread_barrierattr_init): Likewise.
21899 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21900 [UNIX98] (pthread_getcpuclockid): Likewise.
21901 [UNIX98] (pthread_mutex_timedlock): Likewise.
21902 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21903 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21904 [UNIX98] (pthread_sigmask): Likewise.
21905 [UNIX98] (pthread_spin_destroy): Likewise.
21906 [UNIX98] (pthread_spin_init): Likewise.
21907 [UNIX98] (pthread_spin_lock): Likewise.
21908 [UNIX98] (pthread_spin_trylock): Likewise.
21909 [UNIX98] (pthread_spin_unlock): Likewise.
21910 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21911 Do not expect.
21912 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21913 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21914 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21915 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21916 [XPG3 || XPG4] (pthread_key_t): Likewise.
21917 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21918 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21919 [XPG3 || XPG4] (pthread_once_t): Likewise.
21920 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21921 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21922 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21923 [XPG3 || XPG4] (pthread_t): Likewise.
21924
21925 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21926 not expect.
21927 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21928
21929 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21930 Change function return type to int.
21931
21932 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21933 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21934 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21935 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21936 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21937 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21938 [!POSIX] (posix_madvise): Likewise.
21939 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21940 && !UNIX98].
21941 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21942 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21943 (mode_t): Likewise.
21944 (posix_mem_offset): Likewise.
21945 (posix_typed_mem_get_info): Likewise.
21946 (posix_typed_mem_open): Likewise.
21947
21948 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21949 Change condition to [XOPEN2K8].
21950
21951 * conform/conformtest.pl: Preprocess allow-header data with -x c
21952 instead of from stdin.
21953 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21954 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21955 [C99-based standards] (cerfc): Likewise.
21956 [C99-based standards] (cexp2): Likewise.
21957 [C99-based standards] (cexpm1): Likewise.
21958 [C99-based standards] (clog10): Likewise.
21959 [C99-based standards] (clog1p): Likewise.
21960 [C99-based standards] (clog2): Likewise.
21961 [C99-based standards] (clgamma): Likewise.
21962 [C99-based standards] (ctgamma): Likewise.
21963 [C99-based standards] (cerff): Likewise.
21964 [C99-based standards] (cerfcf): Likewise.
21965 [C99-based standards] (cexp2f): Likewise.
21966 [C99-based standards] (cexpm1f): Likewise.
21967 [C99-based standards] (clog10f): Likewise.
21968 [C99-based standards] (clog1pf): Likewise.
21969 [C99-based standards] (clog2f): Likewise.
21970 [C99-based standards] (clgammaf): Likewise.
21971 [C99-based standards] (ctgammaf): Likewise.
21972 [C99-based standards] (cerfl): Likewise.
21973 [C99-based standards] (cerfcl): Likewise.
21974 [C99-based standards] (cexp2l): Likewise.
21975 [C99-based standards] (cexpm1l): Likewise.
21976 [C99-based standards] (clog10l): Likewise.
21977 [C99-based standards] (clog1pl): Likewise.
21978 [C99-based standards] (clog2l): Likewise.
21979 [C99-based standards] (clgammal): Likewise.
21980 [C99-based standards] (ctgammal): Likewise.
21981 * conform/data/inttypes.h-data [C99-based standards]: Include
21982 stdint.h-data. Remove all expectations for stdint.h contents.
21983 [C99-based standards] (PRI*): Do not allow.
21984 [C99-based standards] (SCN*): Likewise.
21985 [C99-based standards] (*_t): Likewise.
21986 [C99-based-standards] (PRId8): Expect macro.
21987 [C99-based-standards] (PRIi8): Likewise.
21988 [C99-based-standards] (PRIo8): Likewise.
21989 [C99-based-standards] (PRIu8): Likewise.
21990 [C99-based-standards] (PRIx8): Likewise.
21991 [C99-based-standards] (PRIX8): Likewise.
21992 [C99-based-standards] (SCNd8): Likewise.
21993 [C99-based-standards] (SCNi8): Likewise.
21994 [C99-based-standards] (SCNo8): Likewise.
21995 [C99-based-standards] (SCNu8): Likewise.
21996 [C99-based-standards] (SCNx8): Likewise.
21997 [C99-based-standards] (PRIdLEAST8): Likewise.
21998 [C99-based-standards] (PRIiLEAST8): Likewise.
21999 [C99-based-standards] (PRIoLEAST8): Likewise.
22000 [C99-based-standards] (PRIuLEAST8): Likewise.
22001 [C99-based-standards] (PRIxLEAST8): Likewise.
22002 [C99-based-standards] (PRIXLEAST8): Likewise.
22003 [C99-based-standards] (SCNdLEAST8): Likewise.
22004 [C99-based-standards] (SCNiLEAST8): Likewise.
22005 [C99-based-standards] (SCNoLEAST8): Likewise.
22006 [C99-based-standards] (SCNuLEAST8): Likewise.
22007 [C99-based-standards] (SCNxLEAST8): Likewise.
22008 [C99-based-standards] (PRIdFAST8): Likewise.
22009 [C99-based-standards] (PRIiFAST8): Likewise.
22010 [C99-based-standards] (PRIoFAST8): Likewise.
22011 [C99-based-standards] (PRIuFAST8): Likewise.
22012 [C99-based-standards] (PRIxFAST8): Likewise.
22013 [C99-based-standards] (PRIXFAST8): Likewise.
22014 [C99-based-standards] (SCNdFAST8): Likewise.
22015 [C99-based-standards] (SCNiFAST8): Likewise.
22016 [C99-based-standards] (SCNoFAST8): Likewise.
22017 [C99-based-standards] (SCNuFAST8): Likewise.
22018 [C99-based-standards] (SCNxFAST8): Likewise.
22019 [C99-based-standards] (PRId16): Likewise.
22020 [C99-based-standards] (PRIi16): Likewise.
22021 [C99-based-standards] (PRIo16): Likewise.
22022 [C99-based-standards] (PRIu16): Likewise.
22023 [C99-based-standards] (PRIx16): Likewise.
22024 [C99-based-standards] (PRIX16): Likewise.
22025 [C99-based-standards] (SCNd16): Likewise.
22026 [C99-based-standards] (SCNi16): Likewise.
22027 [C99-based-standards] (SCNo16): Likewise.
22028 [C99-based-standards] (SCNu16): Likewise.
22029 [C99-based-standards] (SCNx16): Likewise.
22030 [C99-based-standards] (PRIdLEAST16): Likewise.
22031 [C99-based-standards] (PRIiLEAST16): Likewise.
22032 [C99-based-standards] (PRIoLEAST16): Likewise.
22033 [C99-based-standards] (PRIuLEAST16): Likewise.
22034 [C99-based-standards] (PRIxLEAST16): Likewise.
22035 [C99-based-standards] (PRIXLEAST16): Likewise.
22036 [C99-based-standards] (SCNdLEAST16): Likewise.
22037 [C99-based-standards] (SCNiLEAST16): Likewise.
22038 [C99-based-standards] (SCNoLEAST16): Likewise.
22039 [C99-based-standards] (SCNuLEAST16): Likewise.
22040 [C99-based-standards] (SCNxLEAST16): Likewise.
22041 [C99-based-standards] (PRIdFAST16): Likewise.
22042 [C99-based-standards] (PRIiFAST16): Likewise.
22043 [C99-based-standards] (PRIoFAST16): Likewise.
22044 [C99-based-standards] (PRIuFAST16): Likewise.
22045 [C99-based-standards] (PRIxFAST16): Likewise.
22046 [C99-based-standards] (PRIXFAST16): Likewise.
22047 [C99-based-standards] (SCNdFAST16): Likewise.
22048 [C99-based-standards] (SCNiFAST16): Likewise.
22049 [C99-based-standards] (SCNoFAST16): Likewise.
22050 [C99-based-standards] (SCNuFAST16): Likewise.
22051 [C99-based-standards] (SCNxFAST16): Likewise.
22052 [C99-based-standards] (PRId32): Likewise.
22053 [C99-based-standards] (PRIi32): Likewise.
22054 [C99-based-standards] (PRIo32): Likewise.
22055 [C99-based-standards] (PRIu32): Likewise.
22056 [C99-based-standards] (PRIx32): Likewise.
22057 [C99-based-standards] (PRIX32): Likewise.
22058 [C99-based-standards] (SCNd32): Likewise.
22059 [C99-based-standards] (SCNi32): Likewise.
22060 [C99-based-standards] (SCNo32): Likewise.
22061 [C99-based-standards] (SCNu32): Likewise.
22062 [C99-based-standards] (SCNx32): Likewise.
22063 [C99-based-standards] (PRIdLEAST32): Likewise.
22064 [C99-based-standards] (PRIiLEAST32): Likewise.
22065 [C99-based-standards] (PRIoLEAST32): Likewise.
22066 [C99-based-standards] (PRIuLEAST32): Likewise.
22067 [C99-based-standards] (PRIxLEAST32): Likewise.
22068 [C99-based-standards] (PRIXLEAST32): Likewise.
22069 [C99-based-standards] (SCNdLEAST32): Likewise.
22070 [C99-based-standards] (SCNiLEAST32): Likewise.
22071 [C99-based-standards] (SCNoLEAST32): Likewise.
22072 [C99-based-standards] (SCNuLEAST32): Likewise.
22073 [C99-based-standards] (SCNxLEAST32): Likewise.
22074 [C99-based-standards] (PRIdFAST32): Likewise.
22075 [C99-based-standards] (PRIiFAST32): Likewise.
22076 [C99-based-standards] (PRIoFAST32): Likewise.
22077 [C99-based-standards] (PRIuFAST32): Likewise.
22078 [C99-based-standards] (PRIxFAST32): Likewise.
22079 [C99-based-standards] (PRIXFAST32): Likewise.
22080 [C99-based-standards] (SCNdFAST32): Likewise.
22081 [C99-based-standards] (SCNiFAST32): Likewise.
22082 [C99-based-standards] (SCNoFAST32): Likewise.
22083 [C99-based-standards] (SCNuFAST32): Likewise.
22084 [C99-based-standards] (SCNxFAST32): Likewise.
22085 [C99-based-standards] (PRId64): Likewise.
22086 [C99-based-standards] (PRIi64): Likewise.
22087 [C99-based-standards] (PRIo64): Likewise.
22088 [C99-based-standards] (PRIu64): Likewise.
22089 [C99-based-standards] (PRIx64): Likewise.
22090 [C99-based-standards] (PRIX64): Likewise.
22091 [C99-based-standards] (SCNd64): Likewise.
22092 [C99-based-standards] (SCNi64): Likewise.
22093 [C99-based-standards] (SCNo64): Likewise.
22094 [C99-based-standards] (SCNu64): Likewise.
22095 [C99-based-standards] (SCNx64): Likewise.
22096 [C99-based-standards] (PRIdLEAST64): Likewise.
22097 [C99-based-standards] (PRIiLEAST64): Likewise.
22098 [C99-based-standards] (PRIoLEAST64): Likewise.
22099 [C99-based-standards] (PRIuLEAST64): Likewise.
22100 [C99-based-standards] (PRIxLEAST64): Likewise.
22101 [C99-based-standards] (PRIXLEAST64): Likewise.
22102 [C99-based-standards] (SCNdLEAST64): Likewise.
22103 [C99-based-standards] (SCNiLEAST64): Likewise.
22104 [C99-based-standards] (SCNoLEAST64): Likewise.
22105 [C99-based-standards] (SCNuLEAST64): Likewise.
22106 [C99-based-standards] (SCNxLEAST64): Likewise.
22107 [C99-based-standards] (PRIdFAST64): Likewise.
22108 [C99-based-standards] (PRIiFAST64): Likewise.
22109 [C99-based-standards] (PRIoFAST64): Likewise.
22110 [C99-based-standards] (PRIuFAST64): Likewise.
22111 [C99-based-standards] (PRIxFAST64): Likewise.
22112 [C99-based-standards] (PRIXFAST64): Likewise.
22113 [C99-based-standards] (SCNdFAST64): Likewise.
22114 [C99-based-standards] (SCNiFAST64): Likewise.
22115 [C99-based-standards] (SCNoFAST64): Likewise.
22116 [C99-based-standards] (SCNuFAST64): Likewise.
22117 [C99-based-standards] (SCNxFAST64): Likewise.
22118 [C99-based-standards] (PRIdMAX): Likewise.
22119 [C99-based-standards] (PRIiMAX): Likewise.
22120 [C99-based-standards] (PRIoMAX): Likewise.
22121 [C99-based-standards] (PRIuMAX): Likewise.
22122 [C99-based-standards] (PRIxMAX): Likewise.
22123 [C99-based-standards] (PRIXMAX): Likewise.
22124 [C99-based-standards] (SCNdMAX): Likewise.
22125 [C99-based-standards] (SCNiMAX): Likewise.
22126 [C99-based-standards] (SCNoMAX): Likewise.
22127 [C99-based-standards] (SCNuMAX): Likewise.
22128 [C99-based-standards] (SCNxMAX): Likewise.
22129 [C99-based-standards] (PRIdPTR): Likewise.
22130 [C99-based-standards] (PRIiPTR): Likewise.
22131 [C99-based-standards] (PRIoPTR): Likewise.
22132 [C99-based-standards] (PRIuPTR): Likewise.
22133 [C99-based-standards] (PRIxPTR): Likewise.
22134 [C99-based-standards] (PRIXPTR): Likewise.
22135 [C99-based-standards] (SCNdPTR): Likewise.
22136 [C99-based-standards] (SCNiPTR): Likewise.
22137 [C99-based-standards] (SCNoPTR): Likewise.
22138 [C99-based-standards] (SCNuPTR): Likewise.
22139 [C99-based-standards] (SCNxPTR): Likewise.
22140 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22141 allow.
22142 * conform/data/stdint.h-data: Update comments to clarify
22143 requirements.
22144 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22145 type.
22146 [C99-based standards] (INT8_MAX): Likewise.
22147 [C99-based standards] (INT16_MIN): Likewise.
22148 [C99-based standards] (INT16_MAX): Likewise.
22149 [C99-based standards] (INT32_MIN): Likewise.
22150 [C99-based standards] (INT32_MAX): Likewise.
22151 [C99-based standards] (INT64_MIN): Likewise.
22152 [C99-based standards] (INT64_MAX): Likewise.
22153 [C99-based standards] (UINT8_MAX): Likewise.
22154 [C99-based standards] (UINT16_MAX): Likewise.
22155 [C99-based standards] (UINT32_MAX): Likewise.
22156 [C99-based standards] (UINT64_MAX): Likewise.
22157 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22158 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22159 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22160 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22161 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22162 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22163 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22164 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22165 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22166 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22167 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22168 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22169 [C99-based standards] (INT_FAST8_MIN): Likewise.
22170 [C99-based standards] (INT_FAST8_MAX): Likewise.
22171 [C99-based standards] (INT_FAST16_MIN): Likewise.
22172 [C99-based standards] (INT_FAST16_MAX): Likewise.
22173 [C99-based standards] (INT_FAST32_MIN): Likewise.
22174 [C99-based standards] (INT_FAST32_MAX): Likewise.
22175 [C99-based standards] (INT_FAST64_MIN): Likewise.
22176 [C99-based standards] (INT_FAST64_MAX): Likewise.
22177 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22178 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22179 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22180 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22181 [C99-based standards] (INTPTR_MIN): Likewise.
22182 [C99-based standards] (INTPTR_MAX): Likewise.
22183 [C99-based standards] (UINTPTR_MAX): Likewise.
22184 [C99-based standards] (INTMAX_MIN): Likewise.
22185 [C99-based standards] (INTMAX_MAX): Likewise.
22186 [C99-based standards] (UINTMAX_MAX): Likewise.
22187 [C99-based standards] (PTRDIFF_MIN): Likewise.
22188 [C99-based standards] (PTRDIFF_MAX): Likewise.
22189 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22190 [C99-based standards] (SIZE_MAX): Likewise.
22191 [C99-based standards] (WCHAR_MAX): Likewise.
22192 [C99-based standards] (WINT_MAX): Likewise.
22193 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22194 constraint on value.
22195 [C99-based standards] (WCHAR_MIN): Likewise.
22196 [C99-based standards] (WINT_MIN): Likewise.
22197 [C99-based standards] (*_t): Allow.
22198 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22199 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22200 Include math.h-data and complex.h-data. Remove all expectations
22201 of math.h and complex.h contents.
22202 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22203 at end of line.
22204 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22205 (struct tm): Expect tag.
22206 [C99-based-standards] (wcstof): Expect function.
22207 [C99-based-standards] (wcstold): Likewise.
22208 [C99-based-standards] (wcstoll): Likewise.
22209 [C99-based-standards] (wcstoull): Likewise.
22210 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22211 macro-int-constant. Specify type.
22212 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22213 constraint on value.
22214 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22215 Specify type.
22216 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22217 Specify value.
22218 [ISO C standards]: Do not allow headers.
22219 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22220 wcs[abcdefghijklmnopqrstuvwxyz]*.
22221 [ISO C standards] (*_t): Do not allow.
22222 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22223 Expect function.
22224 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22225 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22226 Specify type.
22227 [ISO C standards]: Do not allow headers.
22228 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22229 is[abcdefghijklmnopqrstuvwxyz]*.
22230 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22231 to[abcdefghijklmnopqrstuvwxyz]*.
22232 [ISO C standards] (*_t): Do not allow.
22233 * conform/data/stdalign.h-data: New file.
22234 * conform/data/stdbool.h-data: Likewise.
22235 * conform/data/stdnoreturn.h-data: Likewise.
22236
222372012-11-07 Roland McGrath <roland@hack.frob.com>
22238
22239 [BZ #14815]
22240 * manual/filesys.texi (Directory Entries): Typo fix.
22241 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22242
222432012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22244
22245 * elf/elf.h (EM_AARCH64): New macro.
22246 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22247 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22248 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22249 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22250 (R_AARCH64_TLSDESC): Likewise.
22251 (NT_ARM_TLS): Likewise.
22252 (NT_ARM_HW_BREAK): Likewise.
22253 (NT_ARM_HW_WATCH): Likewise.
22254
222552012-11-07 Joseph Myers <joseph@codesourcery.com>
22256
22257 [BZ #14811]
22258 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22259 (__ieee754_powl): Saturate nonzero exponents with absolute value
22260 below 0x1p-79 to +/- 0x1p-79.
22261 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22262 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22263 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22264 nonzero exponents with absolute value below 0x1p-32 to +/-
22265 0x1p-32.
22266 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22267 (__ieee754_powl): Saturate nonzero exponents with absolute value
22268 below 0x1p-79 to +/- 0x1p-79.
22269 * math/libm-test.inc (pow_test): Add more tests.
22270
222712012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22272
22273 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22274 _dl_s390_cap_flags with kernel. Increase string length.
22275 (_dl_s390_platforms): Add z196 and zEC12.
22276
222772012-11-07 Joseph Myers <joseph@codesourcery.com>
22278
22279 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22280 Change XOPEN21K to XOPEN2K.
22281
222822012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22283
22284 * string/memmove.c: Use memcpy when possible.
22285
222862012-11-06 Andreas Jaeger <aj@suse.de>
22287
22288 * po/eo.po: Update from translation team.
22289
222902012-11-06 Joseph Myers <joseph@codesourcery.com>
22291
22292 [BZ #14793]
22293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22294 exponent and small x and y exponents, scale x or y up. Increase
22295 by 2 the exponent used in scaling up.
22296 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22297 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22298 * math/libm-test.inc (fma_test): Add more tests.
22299 (fma_test_towardzero): Likewise.
22300 (fma_test_downward): Likewise.
22301 (fma_test_upward): Likewise.
22302
223032012-11-05 Joseph Myers <joseph@codesourcery.com>
22304
22305 [BZ #14805]
22306 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22307 fenv_t *.
22308
22309 [BZ #14801]
22310 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22311 namespace for names of struct fields.
22312 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22313 fenv_t fields.
22314 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22315 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22316
223172012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22318
22319 [BZ #3665]
22320 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22321
223222012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22323
22324 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22325 PTR_DEMANGLE.
22326
22327 [BZ #5246]
22328 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22329 PTR_DEMANGLE.
22330
223312012-11-04 Joseph Myers <joseph@codesourcery.com>
22332
22333 [BZ #14797]
22334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22335 definitely overflow as x * y not x * y + z.
22336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22338 * math/libm-test.inc (fma_test): Add more tests.
22339 (fma_test_towardzero): Likewise.
22340 (fma_test_downward): Likewise.
22341 (fma_test_upward): Likewise.
22342
223432012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22344
22345 [BZ #157]
22346
22347 * include/stub-tag.h: Remove file.
22348 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22349 '#include' of it.
22350 * manual/maint.texi (Porting): Don't reference it.
22351 * Makerules ($(objpfx)stubs): Likewise.
22352 * dirent/closedir.c: Don't include <stub-tag.h>.
22353 * dirent/dirfd.c: Likewise.
22354 * dirent/fdopendir.c: Likewise.
22355 * dirent/getdents.c: Likewise.
22356 * dirent/getdents64.c: Likewise.
22357 * dirent/opendir.c: Likewise.
22358 * dirent/readdir.c: Likewise.
22359 * dirent/readdir64.c: Likewise.
22360 * dirent/readdir64_r.c: Likewise.
22361 * dirent/readdir_r.c: Likewise.
22362 * dirent/rewinddir.c: Likewise.
22363 * dirent/seekdir.c: Likewise.
22364 * dirent/telldir.c: Likewise.
22365 * gmon/profil.c: Likewise.
22366 * grp/setgroups.c: Likewise.
22367 * inet/if_index.c: Likewise.
22368 * io/access.c: Likewise.
22369 * io/chdir.c: Likewise.
22370 * io/chmod.c: Likewise.
22371 * io/chown.c: Likewise.
22372 * io/close.c: Likewise.
22373 * io/dup.c: Likewise.
22374 * io/dup2.c: Likewise.
22375 * io/dup3.c: Likewise.
22376 * io/euidaccess.c: Likewise.
22377 * io/faccessat.c: Likewise.
22378 * io/fchdir.c: Likewise.
22379 * io/fchmod.c: Likewise.
22380 * io/fchmodat.c: Likewise.
22381 * io/fchown.c: Likewise.
22382 * io/fchownat.c: Likewise.
22383 * io/fcntl.c: Likewise.
22384 * io/flock.c: Likewise.
22385 * io/fstatfs.c: Likewise.
22386 * io/fstatfs64.c: Likewise.
22387 * io/fstatvfs.c: Likewise.
22388 * io/fstatvfs64.c: Likewise.
22389 * io/futimens.c: Likewise.
22390 * io/fxstat.c: Likewise.
22391 * io/fxstat64.c: Likewise.
22392 * io/fxstatat.c: Likewise.
22393 * io/fxstatat64.c: Likewise.
22394 * io/getcwd.c: Likewise.
22395 * io/isatty.c: Likewise.
22396 * io/lchmod.c: Likewise.
22397 * io/lchown.c: Likewise.
22398 * io/link.c: Likewise.
22399 * io/linkat.c: Likewise.
22400 * io/lseek.c: Likewise.
22401 * io/lseek64.c: Likewise.
22402 * io/lxstat64.c: Likewise.
22403 * io/mkdir.c: Likewise.
22404 * io/mkdirat.c: Likewise.
22405 * io/mkfifo.c: Likewise.
22406 * io/mkfifoat.c: Likewise.
22407 * io/open.c: Likewise.
22408 * io/open64.c: Likewise.
22409 * io/openat.c: Likewise.
22410 * io/openat64.c: Likewise.
22411 * io/pipe.c: Likewise.
22412 * io/pipe2.c: Likewise.
22413 * io/poll.c: Likewise.
22414 * io/posix_fadvise.c: Likewise.
22415 * io/posix_fadvise64.c: Likewise.
22416 * io/posix_fallocate.c: Likewise.
22417 * io/posix_fallocate64.c: Likewise.
22418 * io/read.c: Likewise.
22419 * io/readlink.c: Likewise.
22420 * io/readlinkat.c: Likewise.
22421 * io/rmdir.c: Likewise.
22422 * io/sendfile.c: Likewise.
22423 * io/sendfile64.c: Likewise.
22424 * io/statfs.c: Likewise.
22425 * io/statfs64.c: Likewise.
22426 * io/statvfs.c: Likewise.
22427 * io/statvfs64.c: Likewise.
22428 * io/symlink.c: Likewise.
22429 * io/symlinkat.c: Likewise.
22430 * io/ttyname.c: Likewise.
22431 * io/ttyname_r.c: Likewise.
22432 * io/umask.c: Likewise.
22433 * io/unlink.c: Likewise.
22434 * io/unlinkat.c: Likewise.
22435 * io/utime.c: Likewise.
22436 * io/utimensat.c: Likewise.
22437 * io/write.c: Likewise.
22438 * io/xmknod.c: Likewise.
22439 * io/xmknodat.c: Likewise.
22440 * io/xstat.c: Likewise.
22441 * io/xstat64.c: Likewise.
22442 * login/getpt.c: Likewise.
22443 * login/grantpt.c: Likewise.
22444 * login/unlockpt.c: Likewise.
22445 * math/e_acoshl.c: Likewise.
22446 * math/e_acosl.c: Likewise.
22447 * math/e_asinl.c: Likewise.
22448 * math/e_atan2l.c: Likewise.
22449 * math/e_atanhl.c: Likewise.
22450 * math/e_coshl.c: Likewise.
22451 * math/e_expl.c: Likewise.
22452 * math/e_fmodl.c: Likewise.
22453 * math/e_gammal_r.c: Likewise.
22454 * math/e_hypotl.c: Likewise.
22455 * math/e_j0l.c: Likewise.
22456 * math/e_j1l.c: Likewise.
22457 * math/e_jnl.c: Likewise.
22458 * math/e_lgammal_r.c: Likewise.
22459 * math/e_log10l.c: Likewise.
22460 * math/e_log2l.c: Likewise.
22461 * math/e_logl.c: Likewise.
22462 * math/e_powl.c: Likewise.
22463 * math/e_rem_pio2l.c: Likewise.
22464 * math/e_sinhl.c: Likewise.
22465 * math/e_sqrtl.c: Likewise.
22466 * math/fclrexcpt.c: Likewise.
22467 * math/fedisblxcpt.c: Likewise.
22468 * math/feenablxcpt.c: Likewise.
22469 * math/fegetenv.c: Likewise.
22470 * math/fegetexcept.c: Likewise.
22471 * math/fegetround.c: Likewise.
22472 * math/feholdexcpt.c: Likewise.
22473 * math/fesetenv.c: Likewise.
22474 * math/fesetround.c: Likewise.
22475 * math/feupdateenv.c: Likewise.
22476 * math/fgetexcptflg.c: Likewise.
22477 * math/fraiseexcpt.c: Likewise.
22478 * math/fsetexcptflg.c: Likewise.
22479 * math/ftestexcept.c: Likewise.
22480 * math/k_cosl.c: Likewise.
22481 * math/k_rem_pio2l.c: Likewise.
22482 * math/k_sinl.c: Likewise.
22483 * math/k_tanl.c: Likewise.
22484 * math/s_asinhl.c: Likewise.
22485 * math/s_atanl.c: Likewise.
22486 * math/s_cbrtl.c: Likewise.
22487 * math/s_erfl.c: Likewise.
22488 * math/s_expm1l.c: Likewise.
22489 * math/s_log1pl.c: Likewise.
22490 * math/s_tanhl.c: Likewise.
22491 * misc/acct.c: Likewise.
22492 * misc/brk.c: Likewise.
22493 * misc/chflags.c: Likewise.
22494 * misc/chroot.c: Likewise.
22495 * misc/fchflags.c: Likewise.
22496 * misc/fgetxattr.c: Likewise.
22497 * misc/flistxattr.c: Likewise.
22498 * misc/fremovexattr.c: Likewise.
22499 * misc/fsetxattr.c: Likewise.
22500 * misc/fsync.c: Likewise.
22501 * misc/ftruncate.c: Likewise.
22502 * misc/futimes.c: Likewise.
22503 * misc/futimesat.c: Likewise.
22504 * misc/getdomain.c: Likewise.
22505 * misc/getdtsz.c: Likewise.
22506 * misc/gethostid.c: Likewise.
22507 * misc/gethostname.c: Likewise.
22508 * misc/getloadavg.c: Likewise.
22509 * misc/getpagesize.c: Likewise.
22510 * misc/getsysstats.c: Likewise.
22511 * misc/getxattr.c: Likewise.
22512 * misc/gtty.c: Likewise.
22513 * misc/ioctl.c: Likewise.
22514 * misc/lgetxattr.c: Likewise.
22515 * misc/listxattr.c: Likewise.
22516 * misc/llistxattr.c: Likewise.
22517 * misc/lremovexattr.c: Likewise.
22518 * misc/lsetxattr.c: Likewise.
22519 * misc/lutimes.c: Likewise.
22520 * misc/madvise.c: Likewise.
22521 * misc/mincore.c: Likewise.
22522 * misc/mlock.c: Likewise.
22523 * misc/mlockall.c: Likewise.
22524 * misc/mmap.c: Likewise.
22525 * misc/mprotect.c: Likewise.
22526 * misc/msync.c: Likewise.
22527 * misc/munlock.c: Likewise.
22528 * misc/munlockall.c: Likewise.
22529 * misc/munmap.c: Likewise.
22530 * misc/preadv.c: Likewise.
22531 * misc/preadv64.c: Likewise.
22532 * misc/ptrace.c: Likewise.
22533 * misc/pwritev.c: Likewise.
22534 * misc/pwritev64.c: Likewise.
22535 * misc/readv.c: Likewise.
22536 * misc/reboot.c: Likewise.
22537 * misc/remap_file_pages.c: Likewise.
22538 * misc/removexattr.c: Likewise.
22539 * misc/revoke.c: Likewise.
22540 * misc/select.c: Likewise.
22541 * misc/setdomain.c: Likewise.
22542 * misc/setegid.c: Likewise.
22543 * misc/seteuid.c: Likewise.
22544 * misc/sethostid.c: Likewise.
22545 * misc/sethostname.c: Likewise.
22546 * misc/setregid.c: Likewise.
22547 * misc/setreuid.c: Likewise.
22548 * misc/setxattr.c: Likewise.
22549 * misc/sstk.c: Likewise.
22550 * misc/stty.c: Likewise.
22551 * misc/swapoff.c: Likewise.
22552 * misc/swapon.c: Likewise.
22553 * misc/sync.c: Likewise.
22554 * misc/syncfs.c: Likewise.
22555 * misc/syscall.c: Likewise.
22556 * misc/truncate.c: Likewise.
22557 * misc/ualarm.c: Likewise.
22558 * misc/usleep.c: Likewise.
22559 * misc/ustat.c: Likewise.
22560 * misc/utimes.c: Likewise.
22561 * misc/vhangup.c: Likewise.
22562 * misc/writev.c: Likewise.
22563 * posix/_exit.c: Likewise.
22564 * posix/alarm.c: Likewise.
22565 * posix/execve.c: Likewise.
22566 * posix/fexecve.c: Likewise.
22567 * posix/fork.c: Likewise.
22568 * posix/fpathconf.c: Likewise.
22569 * posix/getaddrinfo.c: Likewise.
22570 * posix/getegid.c: Likewise.
22571 * posix/geteuid.c: Likewise.
22572 * posix/getgid.c: Likewise.
22573 * posix/getgroups.c: Likewise.
22574 * posix/getlogin.c: Likewise.
22575 * posix/getlogin_r.c: Likewise.
22576 * posix/getpgid.c: Likewise.
22577 * posix/getpid.c: Likewise.
22578 * posix/getppid.c: Likewise.
22579 * posix/getresgid.c: Likewise.
22580 * posix/getresuid.c: Likewise.
22581 * posix/getsid.c: Likewise.
22582 * posix/getuid.c: Likewise.
22583 * posix/glob64.c: Likewise.
22584 * posix/nanosleep.c: Likewise.
22585 * posix/pathconf.c: Likewise.
22586 * posix/pause.c: Likewise.
22587 * posix/posix_madvise.c: Likewise.
22588 * posix/pread.c: Likewise.
22589 * posix/pread64.c: Likewise.
22590 * posix/pwrite.c: Likewise.
22591 * posix/pwrite64.c: Likewise.
22592 * posix/sched_getaffinity.c: Likewise.
22593 * posix/sched_getp.c: Likewise.
22594 * posix/sched_gets.c: Likewise.
22595 * posix/sched_primax.c: Likewise.
22596 * posix/sched_primin.c: Likewise.
22597 * posix/sched_rr_gi.c: Likewise.
22598 * posix/sched_setaffinity.c: Likewise.
22599 * posix/sched_setp.c: Likewise.
22600 * posix/sched_sets.c: Likewise.
22601 * posix/sched_yield.c: Likewise.
22602 * posix/setgid.c: Likewise.
22603 * posix/setlogin.c: Likewise.
22604 * posix/setpgid.c: Likewise.
22605 * posix/setresgid.c: Likewise.
22606 * posix/setresuid.c: Likewise.
22607 * posix/setsid.c: Likewise.
22608 * posix/setuid.c: Likewise.
22609 * posix/sleep.c: Likewise.
22610 * posix/spawni.c: Likewise.
22611 * posix/sysconf.c: Likewise.
22612 * posix/times.c: Likewise.
22613 * posix/wait.c: Likewise.
22614 * posix/wait3.c: Likewise.
22615 * posix/wait4.c: Likewise.
22616 * posix/waitpid.c: Likewise.
22617 * resolv/gai_sigqueue.c: Likewise.
22618 * resource/getpriority.c: Likewise.
22619 * resource/getrlimit.c: Likewise.
22620 * resource/getrusage.c: Likewise.
22621 * resource/nice.c: Likewise.
22622 * resource/setpriority.c: Likewise.
22623 * resource/setrlimit.c: Likewise.
22624 * resource/ulimit.c: Likewise.
22625 * rt/aio_cancel.c: Likewise.
22626 * rt/aio_fsync.c: Likewise.
22627 * rt/aio_read.c: Likewise.
22628 * rt/aio_sigqueue.c: Likewise.
22629 * rt/aio_suspend.c: Likewise.
22630 * rt/aio_write.c: Likewise.
22631 * rt/clock_getres.c: Likewise.
22632 * rt/clock_gettime.c: Likewise.
22633 * rt/clock_nanosleep.c: Likewise.
22634 * rt/clock_settime.c: Likewise.
22635 * rt/lio_listio.c: Likewise.
22636 * rt/mq_close.c: Likewise.
22637 * rt/mq_getattr.c: Likewise.
22638 * rt/mq_notify.c: Likewise.
22639 * rt/mq_open.c: Likewise.
22640 * rt/mq_receive.c: Likewise.
22641 * rt/mq_send.c: Likewise.
22642 * rt/mq_setattr.c: Likewise.
22643 * rt/mq_timedreceive.c: Likewise.
22644 * rt/mq_timedsend.c: Likewise.
22645 * rt/mq_unlink.c: Likewise.
22646 * rt/shm_open.c: Likewise.
22647 * rt/shm_unlink.c: Likewise.
22648 * rt/timer_create.c: Likewise.
22649 * rt/timer_delete.c: Likewise.
22650 * rt/timer_getoverr.c: Likewise.
22651 * rt/timer_gettime.c: Likewise.
22652 * rt/timer_settime.c: Likewise.
22653 * setjmp/__longjmp.c: Likewise.
22654 * setjmp/setjmp.c: Likewise.
22655 * signal/kill.c: Likewise.
22656 * signal/killpg.c: Likewise.
22657 * signal/raise.c: Likewise.
22658 * signal/sigaction.c: Likewise.
22659 * signal/sigaltstack.c: Likewise.
22660 * signal/sigblock.c: Likewise.
22661 * signal/sigignore.c: Likewise.
22662 * signal/sigintr.c: Likewise.
22663 * signal/signal.c: Likewise.
22664 * signal/sigpause.c: Likewise.
22665 * signal/sigpending.c: Likewise.
22666 * signal/sigqueue.c: Likewise.
22667 * signal/sigreturn.c: Likewise.
22668 * signal/sigset.c: Likewise.
22669 * signal/sigsetmask.c: Likewise.
22670 * signal/sigstack.c: Likewise.
22671 * signal/sigsuspend.c: Likewise.
22672 * signal/sigtimedwait.c: Likewise.
22673 * signal/sigvec.c: Likewise.
22674 * signal/sigwait.c: Likewise.
22675 * signal/sigwaitinfo.c: Likewise.
22676 * signal/sysv_signal.c: Likewise.
22677 * socket/accept.c: Likewise.
22678 * socket/accept4.c: Likewise.
22679 * socket/bind.c: Likewise.
22680 * socket/connect.c: Likewise.
22681 * socket/getpeername.c: Likewise.
22682 * socket/getsockname.c: Likewise.
22683 * socket/getsockopt.c: Likewise.
22684 * socket/isfdtype.c: Likewise.
22685 * socket/listen.c: Likewise.
22686 * socket/recv.c: Likewise.
22687 * socket/recvfrom.c: Likewise.
22688 * socket/recvmsg.c: Likewise.
22689 * socket/send.c: Likewise.
22690 * socket/sendmsg.c: Likewise.
22691 * socket/sendto.c: Likewise.
22692 * socket/setsockopt.c: Likewise.
22693 * socket/shutdown.c: Likewise.
22694 * socket/sockatmark.c: Likewise.
22695 * socket/socket.c: Likewise.
22696 * socket/socketpair.c: Likewise.
22697 * stdio-common/ctermid.c: Likewise.
22698 * stdio-common/cuserid.c: Likewise.
22699 * stdio-common/remove.c: Likewise.
22700 * stdio-common/rename.c: Likewise.
22701 * stdio-common/renameat.c: Likewise.
22702 * stdio-common/tempname.c: Likewise.
22703 * stdlib/getcontext.c: Likewise.
22704 * stdlib/makecontext.c: Likewise.
22705 * stdlib/setcontext.c: Likewise.
22706 * stdlib/swapcontext.c: Likewise.
22707 * stdlib/system.c: Likewise.
22708 * streams/fattach.c: Likewise.
22709 * streams/fdetach.c: Likewise.
22710 * streams/getmsg.c: Likewise.
22711 * streams/getpmsg.c: Likewise.
22712 * streams/putmsg.c: Likewise.
22713 * streams/putpmsg.c: Likewise.
22714 * sysdeps/unix/bsd/getpt.c: Likewise.
22715 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22716 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22717 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22719 Likewise.
22720 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22721 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22722 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22723 * sysvipc/msgctl.c: Likewise.
22724 * sysvipc/msgget.c: Likewise.
22725 * sysvipc/msgrcv.c: Likewise.
22726 * sysvipc/msgsnd.c: Likewise.
22727 * sysvipc/semctl.c: Likewise.
22728 * sysvipc/semget.c: Likewise.
22729 * sysvipc/semop.c: Likewise.
22730 * sysvipc/semtimedop.c: Likewise.
22731 * sysvipc/shmat.c: Likewise.
22732 * sysvipc/shmctl.c: Likewise.
22733 * sysvipc/shmdt.c: Likewise.
22734 * sysvipc/shmget.c: Likewise.
22735 * termios/tcdrain.c: Likewise.
22736 * termios/tcflow.c: Likewise.
22737 * termios/tcflush.c: Likewise.
22738 * termios/tcgetattr.c: Likewise.
22739 * termios/tcgetpgrp.c: Likewise.
22740 * termios/tcsendbrk.c: Likewise.
22741 * termios/tcsetattr.c: Likewise.
22742 * termios/tcsetpgrp.c: Likewise.
22743 * time/adjtime.c: Likewise.
22744 * time/clock.c: Likewise.
22745 * time/getitimer.c: Likewise.
22746 * time/gettimeofday.c: Likewise.
22747 * time/setitimer.c: Likewise.
22748 * time/settimeofday.c: Likewise.
22749 * time/stime.c: Likewise.
22750 * time/time.c: Likewise.
22751
227522012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22753
22754 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22755 /usr/old/bin.
22756
22757 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22758 instead of spaces.
22759 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22760
227612012-11-03 Joseph Myers <joseph@codesourcery.com>
22762
22763 [BZ #14796]
22764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22765 FE_TONEAREST before applying Dekker multiplication and Knuth
22766 addition. Clear inexact exceptions and check for exact zero
22767 results afterwards.
22768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22769 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22771 * math/libm-test.inc (fma_test): Add more tests.
22772 (fma_test_towardzero): Likewise.
22773 (fma_test_downward): Likewise.
22774 (fma_test_upward): Likewise.
22775 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22776 function.
22777 (libc_fesetround): New macro.
22778 (libc_fesetroundf): Likewise.
22779 (libc_fesetroundl): Likewise.
22780 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22781 function.
22782 (libc_fesetround_387): Likewise.
22783 (libc_fesetroundf): New macro.
22784 (libc_fesetround): Likewise.
22785 (libc_fesetroundl): Likewise.
22786 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22787 function.
22788 (libc_fesetroundf): New macro.
22789 (libc_fesetround): Likewise.
22790 (libc_fesetroundl): Likewise.
22791 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22792 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22793 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22794 libm_hidden_ver.
22795 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22796 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22797 libm_hidden_def.
22798 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22799 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22800 libm_hidden_ver.
22801 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22802 libm_hidden_def.
22803
22804 [BZ #3439]
22805 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22806 integer constant usable in #if and use that to give value to enum
22807 constant.
22808 (FE_DIVBYZERO): Likewise.
22809 (FE_UNDERFLOW): Likewise.
22810 (FE_OVERFLOW): Likewise.
22811 (FE_INVALID): Likewise.
22812 (FE_INVALID_SNAN): Likewise.
22813 (FE_INVALID_ISI): Likewise.
22814 (FE_INVALID_IDI): Likewise.
22815 (FE_INVALID_ZDZ): Likewise.
22816 (FE_INVALID_IMZ): Likewise.
22817 (FE_INVALID_COMPARE): Likewise.
22818 (FE_INVALID_SOFTWARE): Likewise.
22819 (FE_INVALID_SQRT): Likewise.
22820 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22821 (FE_TONEAREST): Likewise.
22822 (FE_TOWARDZERO): Likewise.
22823 (FE_UPWARD): Likewise.
22824 (FE_DOWNWARD): Likewise.
22825 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22826 (FE_DIVBYZERO): Likewise.
22827 (FE_OVERFLOW): Likewise.
22828 (FE_UNDERFLOW): Likewise.
22829 (FE_INEXACT): Likewise.
22830 (FE_TONEAREST): Likewise.
22831 (FE_DOWNWARD): Likewise.
22832 (FE_UPWARD): Likewise.
22833 (FE_TOWARDZERO): Likewise.
22834 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22835 (FE_UNDERFLOW): Likewise.
22836 (FE_OVERFLOW): Likewise.
22837 (FE_DIVBYZERO): Likewise.
22838 (FE_INVALID): Likewise.
22839 (FE_TONEAREST): Likewise.
22840 (FE_TOWARDZERO): Likewise.
22841 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22842 (FE_OVERFLOW): Likewise.
22843 (FE_UNDERFLOW): Likewise.
22844 (FE_DIVBYZERO): Likewise.
22845 (FE_INEXACT): Likewise.
22846 (FE_TONEAREST): Likewise.
22847 (FE_TOWARDZERO): Likewise.
22848 (FE_UPWARD): Likewise.
22849 (FE_DOWNWARD): Likewise.
22850 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22851 (FE_DIVBYZERO): Likewise.
22852 (FE_OVERFLOW): Likewise.
22853 (FE_UNDERFLOW): Likewise.
22854 (FE_INEXACT): Likewise.
22855 (FE_TONEAREST): Likewise.
22856 (FE_DOWNWARD): Likewise.
22857 (FE_UPWARD): Likewise.
22858 (FE_TOWARDZERO): Likewise.
22859
228602012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22861
22862 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22863
228642012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22865
22866 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22867 commands. Quote $PWD.
22868 (blacklist_exports): Don't use remove_newlines. Replace "declare
22869 -x" by "export".
22870 (remove_newlines): Remove.
22871
228722012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22873
22874 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22875 * stdlib/stdlib.h (atof): Moved to ...
22876 * include/bits/stdlib-float.h: Here. New file.
22877 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22878 * stdlib/bits/stdlib-float.h: New file.
22879 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22880 -mno-sse -mno-mmx.
22881 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22882 <xmmintrin.h>.
22883
228842012-11-02 Joseph Myers <joseph@codesourcery.com>
22885
22886 * conform/conformtest.pl (@headers): Add fenv.h.
22887 * conform/data/fenv.h-data: New file.
22888 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22889 include of <math/fenv.h>.
22890
22891 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22892 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22893 && !UNIX98]. Enables tests for XOPEN2K8.
22894 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22895 POSIX2008]: Likewise.
22896
22897 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22898 (struct rusage): Do not expect type or its members.
22899
22900 [BZ #3439]
22901 * math/math.h (FP_NAN): Define macro to integer constant usable in
22902 #if and use that to give value to enum constant.
22903 (FP_INFINITE): Likewise.
22904 (FP_ZERO): Likewise.
22905 (FP_SUBNORMAL): Likewise.
22906 (FP_NORMAL): Likewise.
22907
229082012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22909
22910 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22911 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22912 arguments.
22913
229142012-11-02 Roland McGrath <roland@hack.frob.com>
22915
22916 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22917 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22918 autoconf-time if not.
22919 * configure.in: Remove AC_PREREQ.
22920
229212012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22922
22923 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22924 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22925 of the internal implementation.
22926
229272012-11-02 Joseph Myers <joseph@codesourcery.com>
22928
22929 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22930 except include of <misc/sys/syslog.h>.
22931
229322012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22933
22934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22935 function returns with a NULL context exit with zero.
22936
229372012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22938
22939 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22940
229412012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22942
22943 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22944 (run_program_cmd): This.
22945 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22946 (tst_langinfo): New variable. Use it.
22947
229482012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22949
22950 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22951 floating point opcodes.
22952
229532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22954
22955 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22956 variable.
22957
22958 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22959
22960 * sysdeps/mach/hurd/powerpc: Remove directory.
22961 * sysdeps/mach/powerpc: Likewise.
22962
229632012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22964
22965 * scripts/check-local-headers.sh: Ignore c++ headers.
22966
229672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22968
22969 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22970 __libc_cleanup_region_start argument.
22971
229722012-11-01 Joseph Myers <joseph@codesourcery.com>
22973
22974 [BZ #14784]
22975 [BZ #14785]
22976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22977 x * y using scaling, not as x * y + z.
22978 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22979 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22980 * math/libm-test.inc (fma_test): Add more tests.
22981 (fma_test_towardzero): Likewise.
22982 (fma_test_downward): Likewise.
22983 (fma_test_upward): Likewise.
22984
229852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22986
22987 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22988
229892012-10-31 Joseph Myers <joseph@codesourcery.com>
22990
22991 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22992 New variable.
22993
229942012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22995
22996 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22997
229982012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22999
23000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23001 Fix sort order.
23002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23003 Likewise.
23004
230052012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23006
23007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23008 Fix the order of the list for glibc 2.17.
23009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23010 Likewise.
23011
230122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23013
23014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23015
230162012-10-31 Joseph Myers <joseph@codesourcery.com>
23017
23018 [BZ #14610]
23019 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23020 for low part of x being zero before using __atanl (y).
23021 * math/libm-test.inc (atan2_test): Add another test.
23022
23023 * manual/install.texi (Configuring and compiling): Document
23024 general use of test-wrapper and test-wrapper-env.
23025 * INSTALL: Regenerated.
23026
23027 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23028 (__fma): Do not extract and scale down low bits on after-rounding
23029 systems when result rounded to normal precision would have normal
23030 exponent.
23031 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23032 (__fmal): Do not extract and scale down low bits on after-rounding
23033 systems when result rounded to normal precision would have normal
23034 exponent.
23035 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23036 (__fmal): Do not extract and scale down low bits on after-rounding
23037 systems when result rounded to normal precision would have normal
23038 exponent.
23039 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23040 macro.
23041 (fma_test): Add more tests.
23042 (fma_test_towardzero): Likewise.
23043 (fma_test_downward): Likewise.
23044 (fma_test_upward): Likewise.
23045
230462012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23047
23048 * sysdeps/i386/tininess.h: Renamed to ...
23049 * sysdeps/x86/tininess.h: This.
23050 * sysdeps/x86_64/tininess.h: Removed.
23051
230522012-10-30 Joseph Myers <joseph@codesourcery.com>
23053
23054 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23055 input. Use $(build-program-cmd).
23056 ($(objpfx)tst-array1-static.out): Likewise.
23057 ($(objpfx)tst-array2.out): Likewise.
23058 ($(objpfx)tst-array3.out): Likewise.
23059 ($(objpfx)tst-array4.out): Likewise.
23060 ($(objpfx)tst-array5.out): Likewise.
23061 ($(objpfx)tst-array5-static.out): Likewise.
23062
230632012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23064
23065 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23066 if defined.
23067
23068 * nss/nsswitch.h (nss_interface_function): Provide new
23069 macro for use with NSS functions.
23070 * grp/initgroups.c: Use new macro.
23071 * nss/getXXbyYY.c: Likewise.
23072 * nss/getXXbyYY_r.c: Likewise.
23073 * nss/getXXent.c: Likewise.
23074 * nss/getXXent_r.c: Likewise.
23075 * sysdeps/posix/getaddrinfo.c: Likewise.
23076
230772012-10-30 Andreas Jaeger <aj@suse.de>
23078
23079 * po/ru.po: Update Russion translation from translation project.
23080
230812012-10-30 Joseph Myers <joseph@codesourcery.com>
23082
23083 [BZ #14152]
23084 [BZ #14783]
23085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23086 result and shift together with sticky bit instead of replicating
23087 round-to-nearest rounding.
23088 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23089 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23090 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23091 missing underflow exceptions.
23092 (fma_test_towardzero): Add more tests.
23093 (fma_test_downward): Likewise.
23094 (fma_test_upward): Likewise.
23095
23096 [BZ #14047]
23097 * sysdeps/generic/tininess.h: New file.
23098 * sysdeps/i386/tininess.h: Likewise.
23099 * sysdeps/sh/tininess.h: Likewise.
23100 * sysdeps/x86_64/tininess.h: Likewise.
23101 * stdlib/tst-strtod-underflow.c: Likewise.
23102 * stdlib/tst-tininess.c: Likewise.
23103 * stdlib/strtod_l.c: Include <tininess.h>.
23104 (round_and_return): Do not set errno for exact underflow cases.
23105 Force an underflow exception when setting errno for underflow.
23106 Determine underflow based on rounding to normal precision if
23107 TININESS_AFTER_ROUNDING.
23108 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23109 ERANGE for exact underflow cases.
23110 * stdlib/Makefile (tests): Add tst-tininess and
23111 tst-strtod-underflow.
23112 ($(objpfx)tst-tininess): Use $(link-libm).
23113 ($(objpfx)tst-strtod-underflow): Likewise.
23114
231152012-10-30 Andreas Jaeger <aj@suse.de>
23116
23117 [BZ#14767]
23118 * elf/Makefile (tests): Remove conditional for have-initfini-array
23119 since this is now always required and the variable does not exist
23120 anymore.
23121 (tests-static): Likewise.
23122 (modules-names): Likewise.
23123
23124 * po/eo.po: Add Esperanto translation from translation project.
23125
23126 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23127 merged with constructor/destructor.
23128 (init_array): Likewise.
23129 * elf/tst-array2dep.c (fini_array): Likewise.
23130 (init_array): Likewise.
23131
231322012-10-29 Mike Frysinger <vapier@gentoo.org>
23133
23134 * manual/message.texi: Delete @cartouche tags.
23135
231362012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23137
23138 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23139 EOPNOTSUPP.
23140 * sysdeps/mach/hurd/fsync.c: Likewise.
23141
23142 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23143 [_POSIX_REALTIME_SIGNALS]: Change condition to
23144 [_POSIX_REALTIME_SIGNALS > 0].
23145
231462012-10-27 Andreas Jaeger <aj@suse.de>
23147
23148 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23149 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23151 [__WORDSIZE != 64]: Likewise.
23152
231532012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23154
23155 * iconvdata/tst-table.sh: Remove ${SHELL}.
23156 * iconvdata/tst-tables.sh: Likewise.
23157
231582012-10-25 David S. Miller <davem@davemloft.net>
23159
23160 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23161 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23162 of strtoull.
23163
23164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23165 ifunc-impl-list.c
23166 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23167 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23168 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23169 file.
23170
231712012-10-25 Roland McGrath <roland@hack.frob.com>
23172
23173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23174 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23175 __getdirentries.
23176
231772012-10-25 Joseph Myers <joseph@codesourcery.com>
23178 Jim Blandy <jimb@codesourcery.com>
23179
23180 * scripts/cross-test-ssh.sh: New file.
23181 * manual/install.texi (Configuring and compiling): Document use of
23182 cross-test-ssh.sh.
23183 * INSTALL: Regenerated.
23184
231852012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23186
23187 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23188 EOPNOTSUPP.
23189
231902012-10-25 Joseph Myers <joseph@codesourcery.com>
23191
23192 * Makeconfig (run-program-prefix): Fix comment.
23193
231942012-10-24 Joseph Myers <joseph@codesourcery.com>
23195 Jim Blandy <jimb@codesourcery.com>
23196
23197 * Makeconfig (test-wrapper): New variable,
23198 (test-wrapper-env): Likewise.
23199 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23200 (run-built-tests): Define to yes.
23201 (run-program-prefix): Use $(test-wrapper).
23202 (built-program-cmd): Likewise.
23203 * Rules (make-test-out): Use $(test-wrapper-env) and
23204 $(host-built-program-cmd).
23205 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23206 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23207 tst-pathopt.sh.
23208 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23209 $(test-wrapper-env) to tst-rtld-load-self.sh.
23210 ($(objpfx)order2.out): Use $(test-wrapper).
23211 ($(objpfx)tst-initorder.out): Likewise.
23212 ($(objpfx)tst-initorder2.out): Likewise.
23213 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23214 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23215 (test_wrapper_env): New variable. Use it to run ld.so.
23216 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23217 Use it to run ld.so.
23218 (test_wrapper_env): Likewise.
23219 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23220 $(test-wrapper) to run-iconv-test.sh.
23221 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23222 (ICONV): Use $test_wrapper.
23223 * posix/Makefile ($(objpfx)globtest.out): Pass
23224 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23225 globtest.sh, not $(run-program-prefix).
23226 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23227 (test_wrapper): Likewise.
23228 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23229 set together with run_via_rtld_prefix.
23230 (run_program_prefix): Define in terms of test_wrapper and
23231 run_via_rtld_prefix.
23232
232332012-10-24 Roland McGrath <roland@hack.frob.com>
23234
23235 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23236 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23237 Targets removed.
23238
23239 [BZ #14743]
23240 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23241 Declare __clock_getres, __clock_gettime, __clock_settime,
23242 __clock_nanosleep, and __clock_getcpuclockid.
23243 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23244 Remove librt_hidden_def (clock_gettime).
23245 * sysdeps/unix/clock_gettime.c: Likewise.
23246 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23247 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23248 * rt/clock_getres.c: Define __clock_getres as an alias.
23249 * sysdeps/posix/clock_getres.c: Likewise.
23250 * rt/clock_settime.c: Define __clock_settime as an alias.
23251 * sysdeps/unix/clock_settime.c: Likewise.
23252 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23253 * sysdeps/unix/clock_nanosleep.c: Likewise.
23254 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23255 * rt/clock-compat.c: New file.
23256 * rt/Makefile (librt-routines): Add clock-compat and move
23257 $(clock-routines) to ...
23258 (routines): ... here, new variable.
23259 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23260 Don't add get_clockfreq here.
23261 * rt/Versions (libc: GLIBC_2.17): New version set.
23262 Add clock_* symbols here.
23263 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23265 (GLIBC_2.17): Add clock_* symbols.
23266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23268 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23270 Likewise.
23271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23272 Likewise.
23273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23277 * NEWS: Mention the move.
23278
23279 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23280 Use __open, __read, __close rather than their public counterparts.
23281 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23282 (__get_clockfreq_via_cpuinfo): Likewise.
23283 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23284 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23285
23286 * config.h.in (HAVE_IFUNC): New #undef.
23287 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23288 was successful.
23289 * configure: Regenerated.
23290
232912012-10-24 Mike Frysinger <vapier@gentoo.org>
23292
23293 * configure.in: Move READELF check to start of file.
23294 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23295 libc_cv_asm_gnu_indirect_function in the process.
23296 * configure: Regenerated.
23297
232982012-10-24 Mike Frysinger <vapier@gentoo.org>
23299
23300 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23301 send the output to /dev/null.
23302 (libc_cv_cc_with_libunwind): Likewise.
23303 (libc_cv_as_noexecstack): Likewise.
23304 * configure: Regenerate.
23305
233062012-10-24 Joseph Myers <joseph@codesourcery.com>
23307
23308 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23309
23310 * posix/globtest.sh (TMPDIR): Do not set.
23311 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23312 (testout): Likewise.
23313
233142012-10-24 Andreas Jaeger <aj@suse.de>
23315
23316 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23317 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23318 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23319 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23320 posix_fadvise64, posix_fallocate64.
23321
23322 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23323 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23324 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23325 Likewise.
23326 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23327 Likewise.
23328 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23329
23330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23331 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23332 <bits/fcntl-linux.h>.
23333 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23334
23335 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23336 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23337 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23338 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23339 [__WORDSIZE != 64]: Likewise.
23340
233412012-10-23 Joseph Myers <joseph@codesourcery.com>
23342
23343 * Makeconfig (run-built-tests): New variable.
23344 * Rules [$(cross-compiling) = yes]: Change condition to
23345 [$(run-built-tests) = no].
23346 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23347 to [$(run-built-tests) = yes].
23348 * elf/Makefile [$(cross-compiling) = no]: Likewise
23349 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23350 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23351 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23352 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23353 * io/Makefile [$(cross-compiling) = no]: Likewise.
23354 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23355 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23356 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23357 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23358 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23359 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23360 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23361 * string/Makefile [$(cross-compiling) = no]: Likewise.
23362
23363 * posix/Makefile ($(objpfx)globtest.out): Pass
23364 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23365 $(rtld-installed-name).
23366 * posix/globtest.sh (elf_objpfx): Remove variable.
23367 (rtld_installed_name): Likewise.
23368 (library_path): Likewise.
23369 (run_program_prefix): New variable. Use for running globtest
23370 binary.
23371
233722012-10-23 Jim Blandy <jimb@codesourcery.com>
23373 Joseph Myers <joseph@codesourcery.com>
23374
23375 * Makeconfig (host-built-program-cmd): New variable.
23376 * elf/Makefile (tst-stackguard1-ARGS): Use
23377 $(host-built-program-cmd).
23378 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23379 (tst-spawn-ARGS): Likewise.
23380 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23381
233822012-10-23 Joseph Myers <joseph@codesourcery.com>
23383 Jim Blandy <jimb@codesourcery.com>
23384
23385 * Makeconfig (run-via-rtld-prefix): New variable.
23386 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23387 (built-program-cmd): Likewise.
23388
233892012-10-22 Andreas Jaeger <aj@suse.de>
23390
23391 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23392 __O_RSYNC if it exists, otherwise to O_SYNC.
23393
233942012-10-22 Jim Blandy <jimb@codesourcery.com>
23395 Joseph Myers <joseph@codesourcery.com>
23396
23397 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23398 /dev/null.
23399 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23400 from /dev/null
23401 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23402 /dev/null.
23403
234042012-10-22 Andreas Jaeger <aj@suse.de>
23405
23406 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23407 Define always.
23408 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23409
23410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23411 bits/fcntl-linux.h.
23412
23413 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23414 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23415
23416 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23417 to __O_LARGEFILE.
23418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23419 to __O_LARGEFILE.
23420
234212012-10-21 Jim Blandy <jimb@codesourcery.com>
23422 Joseph Myers <joseph@codesourcery.com>
23423
23424 * config.make.in (NM): New variable.
23425
234262012-10-21 Andreas Jaeger <aj@suse.de>
23427
23428 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23429 definitions and declarations that are provided by
23430 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23431
234322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23433
23434 [BZ #14683]
23435 * elf/Makefile (tests-static): Add tst-leaks1-static.
23436 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23437 ($(objpfx)tst-leaks1-static): New rule.
23438 ($(objpfx)tst-leaks1-static-mem): Likewise.
23439 (tst-leaks1-static-ENV): New macro.
23440 * elf/dl-open.c (dl_open_worker): Check the main application
23441 only if SHARED is defined.
23442 * elf/tst-leaks1-static.c: New file.
23443
234442012-10-20 Andreas Jaeger <aj@suse.de>
23445
23446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23447 generic values for Linux.
23448 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23449 and declarations that are provided by <bits/fcntl-linux.h> and
23450 include <bits/fcntl-linux.h>.
23451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23452 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23453
234542012-10-20 Roland McGrath <roland@hack.frob.com>
23455
23456 * io/fcntl.h: Move include of <bits/types.h> to the top and
23457 include it unconditionally.
23458
234592012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23460
23461 * wcsmbs/Makefile (tests-ifunc): New variable.
23462 (tests): Add $(tests-ifunc).
23463 * wcsmbs/test-wcschr-ifunc.c: New file.
23464 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23465 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23466 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23467 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23468 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23469
23470 * string/Makefile (tests-ifunc): New variable.
23471 (tests): Add $(tests-ifunc).
23472 * string/test-memccpy.c (TEST_NAME): New macro.
23473 * string/test-memchr.c (TEST_NAME): Likewise.
23474 * string/test-memcmp.c (TEST_NAME): Likewise.
23475 * string/test-memcpy.c (TEST_NAME): Likewise.
23476 * string/test-memmem.c (TEST_NAME): Likewise.
23477 * string/test-memmove.c (TEST_NAME): Likewise.
23478 * string/test-memset.c (TEST_NAME): Likewise.
23479 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23480 * string/test-stpcpy.c (TEST_NAME): Likewise.
23481 * string/test-stpncpy.c (TEST_NAME): Likewise.
23482 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23483 * string/test-strcasestr.c (TEST_NAME): Likewise.
23484 * string/test-strcat.c (TEST_NAME): Likewise.
23485 * string/test-strchr.c (TEST_NAME): Likewise.
23486 * string/test-strcmp.c(TEST_NAME): Likewise.
23487 * string/test-strcpy.c (TEST_NAME): Likewise.
23488 * string/test-strcspn.c (TEST_NAME): Likewise.
23489 * string/test-strlen.c (TEST_NAME): Likewise.
23490 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23491 * string/test-strncmp.c (TEST_NAME): Likewise.
23492 * string/test-strncpy.c (TEST_NAME): Likewise.
23493 * string/test-strnlen.c (TEST_NAME): Likewise.
23494 * string/test-strpbrk.c (TEST_NAME): Likewise.
23495 * string/test-strrchr.c (TEST_NAME): Likewise.
23496 * string/test-strspn.c (TEST_NAME): Likewise.
23497 * string/test-strstr.c (TEST_NAME): Likewise.
23498 * string/test-bcopy-ifunc.c: New file.
23499 * string/test-bzero-ifunc.c: Likewise.
23500 * string/test-memccpy-ifunc.c: Likewise.
23501 * string/test-memchr-ifunc.c: Likewise.
23502 * string/test-memcmp-ifunc.c: Likewise.
23503 * string/test-memcpy-ifunc.c: Likewise.
23504 * string/test-memmem-ifunc.c: Likewise.
23505 * string/test-memmove-ifunc.c: Likewise.
23506 * string/test-mempcpy-ifunc.c: Likewise.
23507 * string/test-memset-ifunc.c: Likewise.
23508 * string/test-rawmemchr-ifunc.c: Likewise.
23509 * string/test-stpcpy-ifunc.c: Likewise.
23510 * string/test-stpncpy-ifunc.c: Likewise.
23511 * string/test-strcasecmp-ifunc.c: Likewise.
23512 * string/test-strcasestr-ifunc.c: Likewise.
23513 * string/test-strcat-ifunc.c: Likewise.
23514 * string/test-strchr-ifunc.c: Likewise.
23515 * string/test-strchrnul-ifunc.c: Likewise.
23516 * string/test-strcmp-ifunc.c: Likewise.
23517 * string/test-strcpy-ifunc.c: Likewise.
23518 * string/test-strcspn-ifunc.c: Likewise.
23519 * string/test-strlen-ifunc.c: Likewise.
23520 * string/test-strncasecmp-ifunc.c: Likewise.
23521 * string/test-strncat-ifunc.c: Likewise.
23522 * string/test-strncmp-ifunc.c: Likewise.
23523 * string/test-strncpy-ifunc.c: Likewise.
23524 * string/test-strnlen-ifunc.c: Likewise.
23525 * string/test-strpbrk-ifunc.c: Likewise.
23526 * string/test-strrchr-ifunc.c: Likewise.
23527 * string/test-strspn-ifunc.c: Likewise.
23528 * string/test-strstr-ifunc.c: Likewise.
23529
23530 * debug/Makefile (tests-ifunc): New variable.
23531 (tests): Add $(tests-ifunc).
23532 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23533 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23534 * debug/test-stpcpy_chk-ifunc.c: New file.
23535 * debug/test-strcpy_chk-ifunc.c: Likewise.
23536
235372012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23538
23539 [BZ #13601]
23540 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23541 header is not read in.
23542
235432012-10-19 Joseph Myers <joseph@codesourcery.com>
23544
23545 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23546 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23547 directly. Pass built executable to script as
23548 $(built-program-cmd).
23549 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23550 $testprogram without using LD_LIBRARY_PATH and $ldso.
23551
23552 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23553 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23554 $(rtld-installed-name).
23555 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23556 (rtld_installed_name): Likewise.
23557 (library_path): Likewise.
23558 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23559 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23560 $(run-program-prefix) to tst-tables.sh.
23561 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23562 it to run tst-table-from and tst-table-to.
23563 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23564 Pass it to tst-table.sh.
23565 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23566 $(run-program-prefix) to tst-gettext.sh.
23567 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23568 tst-translit.sh.
23569 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23570 tst-gettext2.sh.
23571 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23572 to run tst-gettext.
23573 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23574 to run tst-gettext2.
23575 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23576 to run tst-translit.
23577 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23578 $(run-program-prefix) to tst-mtrace.sh.
23579 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23580 to run tst-mtrace.
23581 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23582 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23583 $(rtld-installed-name).
23584 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23585 (rtld_installed_name): Likewise.
23586 (run_program_prefix): New variable. Use it to run wordexp-test.
23587
23588 * Makeconfig (ARCH): Remove all definitions.
23589 (machine): Likewise.
23590 [ARCH]: Remove conditional code.
23591 [!objdir]: Give error.
23592 [!objdir] (objpfx): Remove.
23593 [!objdir] (common-objpfx): Likewise.
23594 [!objdir] (common-objdir): Likewise.
23595 * configure.in (config_makefile): Remove. Hardcode Makefile in
23596 AC_CONFIG_FILES call.
23597 * configure: Regenerated.
23598
23599 [BZ #13888]
23600 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23601 or TMPDIR.
23602 (testout): Likewise.
23603
23604 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23605 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23606 $(rtld-installed-name).
23607 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23608 (rtld_installed_name): Likwise.
23609 (runit): Remove function.
23610 (run_getconf): New variable, Use it for running getconf binary.
23611
236122012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23613
23614 [BZ #14716]
23615 * string/test-memmem.c (check_result): New function.
23616 (do_one_test): Use it.
23617 (check1): New function.
23618 (test_main): Use it.
23619
236202012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23621
23622 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23623
236242012-10-18 Joseph Myers <joseph@codesourcery.com>
23625
23626 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23627 (_G_LSEEK64): Likewise.
23628 (_G_MMAP64): Likewise.
23629 (_G_FSTAT64): Likewise.
23630 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23631 (_G_LSEEK64): Likewise.
23632 (_G_MMAP64): Likewise.
23633 (_G_FSTAT64): Likewise.
23634 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23635 unconditional. Call __mmap64 directly.
23636 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23637 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23638 __lseek64 directly.
23639 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23640 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23641 __mmap64 directly.
23642 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23643 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23644 __lseek64 directly.
23645 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23646 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23647 __lseek64 directly.
23648 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23649 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23650 __lseek64 directly.
23651 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23652 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23653 __fxstat64 directly.
23654 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23655 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23656 unconditional.
23657 (freopen64) [!_G_OPEN64]: Remove conditional code.
23658 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23659 unconditional.
23660 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23661 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23662 unconditional.
23663 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23664 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23665 unconditional.
23666 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23667 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23668 unconditional.
23669 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23670 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23671 unconditional.
23672 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23673 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23674 unconditional.
23675 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23676 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23677 unconditional.
23678 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23679
236802012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23681
23682 [BZ #12140]
23683 * manual/memory.texi (Malloc Tunable Parameters): Add note
23684 about free list pointers overwriting some perturb bytes.
23685 Wording suggested by Roland McGrath.
23686
236872012-10-17 Joseph Myers <joseph@codesourcery.com>
23688
23689 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23690 (lgamma_test): Likewise.
23691 (tgamma_test): Likewise.
23692
236932012-10-16 Florian Weimer <fweimer@redhat.com>
23694
23695 [BZ #14700]
23696 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23697 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23698
236992012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23700
23701 * NEWS: Mention BZ #14716.
23702 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23703 when removing AVAILABLE1_USES_J macro.
23704
237052012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23706
23707 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23708 (__bswap_64): __uint64_t for unsigned 64-bit int.
23709
237102012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23711
23712 * include/string.h (memmem): Declare libc hidden alias.
23713 * string/memmem.c (memmem): Define libc hidden alias.
23714 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23715 __read, __close instead of open, read, close.
23716
237172012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23718
23719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23720 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23721 global and hidden.
23722 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23723 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23724 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23725 Likewise.
23726 (__rawmemchr_sse2): Likewise.
23727 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23728 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23729 (__strchr_sse2): Likewise.
23730 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23731 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23732 (__strcasecmp_sse2): Likewise.
23733 (__strncasecmp_sse2): Likewise.
23734 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23735 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23736 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23737 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23738 (__strrchr_sse2): Likewise.
23739 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23740 ifunc-impl-list.c.
23741 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23742 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23743 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23744 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23745 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23746 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23747 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23748 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23749 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23750 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23751 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23752 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23753 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23754 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23755 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23756 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23757 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23758 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23759 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23760 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23761 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23762 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23763 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23764 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23765 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23766 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23767 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23768 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23769 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23770 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23771
23772 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23773 global and hidden.
23774 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23775 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23776 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23777 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23778 Likewise.
23779 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23780 Likewise.
23781 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23782 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23783 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23784 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23785 ifunc-impl-list.c.
23786 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23787 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23788 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23789 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23790 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23791 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23792 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23793 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23794 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23795 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23796 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23797 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23798 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23799 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23800 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23801 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23802 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23803 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23804 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23805 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23806 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23807 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23808 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23809 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23810 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23811 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23812 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23813 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23814 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23815 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23816 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23817 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23818 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23819 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23820 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23821 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23822 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23823 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23824 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23825 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23826 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23827
23828 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23829 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23830 * include/ifunc-impl-list.h: New file.
23831 * misc/ifunc-impl-list.c: Likewise.
23832 * misc/Makefile (routines): Add ifunc-impl-list.
23833 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23834 * string/test-string.h: Include <ifunc-impl-list.h>.
23835 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23836 TEST_NAME]: New variables.
23837 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23838 are defined.
23839 (test_init): Call __libc_ifunc_impl_list to initialize
23840 func_list if TEST_IFUNC and TEST_NAME are defined.
23841
23842 * string/Makefile (strop-tests): Add bcopy and bzero.
23843 * string/test-bcopy.c: New file.
23844 * string/test-bzero.c: Likewise.
23845 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23846 defined.
23847 * string/test-memset.c: Support bzero test if TEST_BZERO is
23848 defined.
23849 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23850 __libc_memmove.
23851 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23852 __libc_memset.
23853 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23854 of memset.
23855
238562012-10-10 Joseph Myers <joseph@codesourcery.com>
23857
23858 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23859 * configure: Regenerated.
23860
23861 * Makeconfig (+link-static-before-libc): Don't include
23862 $(link-static-libc).
23863
23864 * libio/libio.h (_IO_pos_t): Remove.
23865
238662012-10-10 Alexandre Oliva <aoliva@redhat.com>
23867
23868 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23869 McGrath.
23870
238712012-10-10 Alexandre Oliva <aoliva@redhat.com>
23872
23873 * crypt/crypt-entry.c: Include fips-private.h.
23874 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23875 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23876 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23877 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23878
238792012-10-10 Alexandre Oliva <aoliva@redhat.com>
23880
23881 * crypt/crypt-private.h: Include stdbool.h.
23882 (_ufc_setup_salt_r): Return bool.
23883 * crypt/crypt-entry.c: Include errno.h.
23884 (__crypt_r): Return NULL with EINVAL for bad salt.
23885 * crypt/crypt_util.c (bad_for_salt): New.
23886 (_ufc_setup_salt_r): Check that salt is long enough and within
23887 the specified alphabet.
23888 * crypt/badsalttest.c: New file.
23889 * crypt/Makefile (tests): Add it.
23890 ($(objpfx)badsalttest): New.
23891
238922012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23893
23894 * NEWS: Add entry for BZ #14602.
23895
238962012-10-09 Joseph Myers <joseph@codesourcery.com>
23897
23898 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23899 type-generic.
23900 * math/libm-test.inc: Update comment listing what functions and
23901 macros are tested.
23902 (isgreater_test): New function.
23903 (isgreaterequal_test): Likewise.
23904 (isless_test): Likewise.
23905 (islessequal_test): Likewise.
23906 (islessgreater_test): Likewise.
23907 (isunordered_test): Likewise.
23908 (main): Call the new functions.
23909
239102012-10-09 Roland McGrath <roland@hack.frob.com>
23911
23912 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23913 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23914 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23915 * sysdeps/i386/configure: Regenerated.
23916 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23917 * sysdeps/mach/configure: Regenerated.
23918 * sysdeps/mach/hurd/configure: Regenerated.
23919 * sysdeps/powerpc/configure: Regenerated.
23920 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23921 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23922 * sysdeps/s390/s390-32/configure: Regenerated.
23923 * sysdeps/s390/s390-64/configure: Regenerated.
23924 * sysdeps/sh/configure: Regenerated.
23925 * sysdeps/sparc/configure: Regenerated.
23926 * sysdeps/unix/sysv/linux/configure: Regenerated.
23927 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23928 * sysdeps/x86_64/configure: Regenerated.
23929
23930 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23931 defined. Don't check if MAP is NULL.
23932
239332012-10-09 Joseph Myers <joseph@codesourcery.com>
23934
23935 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23936 (_G_stat64): Likewise.
23937 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23938 (_G_stat64): Likewise.
23939 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23940 instead of struct _G_stat64.
23941 * libio/fileops.c (mmap_remap_check): Likewise.
23942 (decide_maybe_mmap): Likewise.
23943 (_IO_new_file_seekoff): Likewise.
23944 (_IO_file_stat): Likewise.
23945 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23946 _G_off64_t.
23947 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23948 instead of struct _G_stat64.
23949 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23950
239512012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23952
23953 [BZ #14602]
23954 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23955 Replace with ...
23956 (CHECK_EOL): New macro.
23957 (two_way_short_needle): Check beginning of haystack for EOL. Use
23958 CHECK_EOL.
23959 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23960 Replace with CHECK_EOL.
23961 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23962 Replace with CHECK_EOL.
23963
239642012-10-08 Joseph Myers <joseph@codesourcery.com>
23965
23966 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23967 type-generic.
23968 * math/libm-test.inc: Update comment listing what functions and
23969 macros are tested.
23970 (finite_test): New function.
23971 (isinf_test): Likewise.
23972 (isnan_test): Likewise.
23973 (fpclassify_test): Test subnormal input.
23974 (isfinite_test): Likewise.
23975 (isnormal_test): Likewise.
23976 (main): Call the new functions.
23977
239782012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23979
23980 [BZ #14660]
23981 * Makerules (%.dynsym): Force C locale when running
23982 $(OBJDUMP) --dynamic-syms.
23983
239842012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23985
23986 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23987 <stdint.h>.
23988
239892012-10-06 David S. Miller <davem@davemloft.net>
23990
23991 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23992 upper 32-bits of the length value in %o2 since we use branch-on-register
23993 tests which consider the entire 64-bit register.
23994
239952012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23996
23997 * string/test-strstr.c (check2): Add a test for page boundary.
23998
239992012-10-05 David S. Miller <davem@davemloft.net>
24000
24001 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24002 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24003 file.
24004 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24005 sysdep_routines.
24006 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24007 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24008 and bzero when HWCAP_SPARC_CRYPTO is present.
24009
240102012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24011
24012 [BZ #14602]
24013 * string/test-strstr.c (check2): New function.
24014 (test_main): Call check2.
24015
24016 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24017 and bug-strchr1.
24018 * string/bug-strcasestr1.c (do_test): Moved to ...
24019 * string/test-strcasestr.c (check1): Here. New function.
24020 (do_one_test): Break out result checking code into ...
24021 (check_result): This. New function.
24022 (do_one_test): Call check_result.
24023 (test_main): Call check1.
24024 * string/bug-strchr1.c (do_test): Moved to ...
24025 * string/test-strchr.c (check1): Here. New function.
24026 (do_one_test): Break out result checking code into ...
24027 (check_result): This. New function.
24028 (do_one_test): Call check_result.
24029 (test_main): Call check1.
24030 * string/bug-strstr1.c (main): Moved to ...
24031 * string/test-strstr.c (check1): Here. New function.
24032 (do_one_test): Break out result checking code into ...
24033 (check_result): This. New function.
24034 (do_one_test): Call check_result.
24035 (test_main): Call check1.
24036 * string/bug-strcasestr1.c: Removed.
24037 * string/bug-strchr1.c: Likewise.
24038 * string/bug-strstr1.c: Likewise.
24039
24040 * elf/Makefile (dl-routines): Add hwcaps.
24041 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24042 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24043 (_dl_important_hwcaps): Moved to ...
24044 * elf/dl-hwcaps.c: Here. New file.
24045 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24046
24047 [BZ #14557]
24048 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24049 if IS_IN_rtld isn't defined.
24050
24051 * elf/dl-support.c (_dl_sysinfo_map): New.
24052 Include "get-dynamic-info.h" and "setup-vdso.h".
24053 (_dl_non_dynamic_init): Call setup_vdso.
24054 * elf/dynamic-link.h: Don't include <assert.h>.
24055 (elf_get_dynamic_info): Moved to ...
24056 * elf/get-dynamic-info.h: Here. New file.
24057 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24058 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24059 * elf/setup-vdso.h: Here. New file.
24060 * elf/rtld.c: Include "setup-vdso.h".
24061 (dl_main): Call setup_vdso.
24062
240632012-10-05 Joseph Myers <joseph@codesourcery.com>
24064
24065 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24066 creal in comment listing functions tested. List finite, isinf,
24067 isnan, isless, islessequal, isgreater, isgreaterequal,
24068 islessgreater, isunordered, lgamma_r and pow10 as functions and
24069 macros not tested. Mention which functions not tested are aliases
24070 for other functions. Fix typo. Note that signs of NaNs are not
24071 tested.
24072
24073 * scripts/config.guess: Update from config.git.
24074 * scripts/config.sub: Likewise.
24075
240762012-10-04 Roland McGrath <roland@hack.frob.com>
24077
24078 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24079 * misc/madvise.c (madvise): Renamed to __madvise.
24080 Make madvise a weak alias.
24081 * include/sys/mman.h: Declare __madvise.
24082 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24083 * sysdeps/unix/syscalls.list
24084 (madvise): Make __madvise the strong name, and madvise a weak alias.
24085 * sysdeps/unix/sysv/linux/syscalls.list
24086 (madvise, mmap): Remove redundant entries.
24087 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24088 * malloc/malloc.c (mtrim): Likewise.
24089 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24090
240912012-10-03 Roland McGrath <roland@hack.frob.com>
24092
24093 * sysdeps/mach/hurd/dl-cache.c: File removed.
24094 * config.h.in (USE_LDCONFIG): New #undef.
24095 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24096 * configure: Regenerated.
24097 * elf/Makefile (dl-routines): Add dl-cache only under
24098 [$(use-ldconfig) = yes].
24099 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24100 cache on [USE_LDCONFIG].
24101 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24102 [USE_LDCONFIG].
24103 * elf/rtld.c (dl_main): Likewise.
24104
241052012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24106
24107 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24108 _SC_LEVEL4_CACHE_LINESIZE.
24109
241102012-10-03 Roland McGrath <roland@hack.frob.com>
24111
24112 * sysdeps/unix/bsd/confstr.h: File removed.
24113
241142012-10-02 Alexandre Oliva <aoliva@redhat.com>
24115
24116 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24117 sys/sdt-config.h.
24118
241192012-10-02 Roland McGrath <roland@hack.frob.com>
24120
24121 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24122 Make 'mapoff' field ElfW(Off) rather than off_t.
24123
241242012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24125
24126 * nscd/Makefile: Remove nscd-cflags and all its users.
24127 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24128 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24129
24130 [BZ #10631]
24131 * malloc.c (malloc_printerr): Clarify error message.
24132
241332012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24134
24135 [BZ #14648]
24136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24137 Set bit_FMA_Usable if FMA is supported.
24138 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24139 macro.
24140 (bit_FMA4_Usable): Updated.
24141 (index_FMA_Usable): New macro.
24142 (CPUID_FMA): Likewise
24143 (HAS_FMA): Defined with bit_FMA_Usable.
24144
241452012-10-01 Roland McGrath <roland@hack.frob.com>
24146
24147 * bits/types.h (__swblk_t): Type removed.
24148 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24149 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24151 (__SWBLK_T_TYPE): Likewise.
24152 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24153 (__SWBLK_T_TYPE): Likewise.
24154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24155 (__SWBLK_T_TYPE): Likewise.
24156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24157 (__SWBLK_T_TYPE): Likewise.
24158
241592012-10-01 Patsy Franklin <pfrankli@redhat.com>
24160 Honza Horak <hhorak@redhat.com>
24161
24162 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24163 (xdr_mapname): Use YPMAXMAP as maxsize.
24164 (xdr_peername): Use YPMAXPEER as maxsize.
24165 (xdr_keydat): Use YPAXRECORD as maxsize.
24166 (xdr_valdat): Use YPMAXRECORD as maxsize.
24167
241682012-10-01 Roland McGrath <roland@hack.frob.com>
24169
24170 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24171
24172 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24173 * csu/init-first.c: ... here.
24174 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24175 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24176 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24177 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24178 * sysdeps/i386/init-first.c: File removed.
24179 * sysdeps/sh/init-first.c: File removed.
24180
241812012-10-01 Joseph Myers <joseph@codesourcery.com>
24182
24183 [BZ #14645]
24184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24185 if x * y might underflow to zero and z is zero.
24186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24187 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24188 * math/libm-test.inc (min_subnorm_value): New variable.
24189 (fma_test): Add more tests.
24190 (fma_test_towardzero): Likewise.
24191 (fma_test_downward): Likewise
24192 (fma_test_upward): Likewise.
24193 (initialize): Set min_subnorm_value.
24194
241952012-09-29 Joseph Myers <joseph@codesourcery.com>
24196
24197 [BZ #14638]
24198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24199 0 + 0.
24200 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24201 mode for addition resulting in exact zero.
24202 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24203 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24204 exact 0 + 0.
24205 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24206 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24207 * math/libm-test.inc (fma_test): Add more tests.
24208 (fma_test_towardzero): New function.
24209 (fma_test_downward): Likewise.
24210 (fma_test_upward): Likewise.
24211 (main): Call the new functions.
24212
242132012-09-28 David S. Miller <davem@davemloft.net>
24214
24215 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24216
242172012-09-28 Roland McGrath <roland@hack.frob.com>
24218
24219 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24220 instead of SIGALRM.
24221
24222 * sysdeps/gnu/_G_config.h: Moved to ...
24223 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24224 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24225 * sysdeps/generic/_G_config.h: ... here.
24226
24227 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24228
24229 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24230
24231 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24232 Conditionalize target on [libnss_test1.so-version].
24233
24234 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24235
24236 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24237 (elfobjdir): Move out of conditionals.
24238
24239 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24240 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24241 (__nss_lookup_function): Conditionalize label remove_from_tree on
24242 [!DO_STATIC_NSS || SHARED], matching its only use.
24243
242442012-09-28 David S. Miller <davem@davemloft.net>
24245
24246 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24247 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24248 file.
24249 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24250 sysdep_routines.
24251 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24253 when HWCAP_SPARC_CRYPTO is present.
24254
242552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24256
24257 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24258
242592012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24260
24261 [BZ #6530]
24262 * stdio-common/vfprintf.c (process_string_arg): Revert
24263 2000-07-22 change.
24264
242652011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24266
24267 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24268 for testcase.
24269 * stdio-common/tst-sprintf.c: Include <locale.h>
24270 (main): Test sprintf's handling of incomplete multibyte
24271 characters.
24272
242732012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24274
24275 * elf/dl-runtime.c (VERSYMIDX): Removed.
24276 * elf/dl-version.c (VERSYMIDX): Likewise.
24277 * elf/do-rel.h (VERSYMIDX): Likewise.
24278 (VALIDX): Likewise.
24279 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24280 * elf/rtld.c (VALIDX): Likewise.
24281 (ADDRIDX): Likewise.
24282 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24283 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24284 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24285 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24286 (VALIDX): Likewise.
24287 (ADDRIDX): Likewise.
24288
242892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24290
24291 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24292
242932012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24294
24295 [BZ #11438]
24296 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24297 to global scope.
24298 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24299 addresses are in the same scope as 192.0.2/24.
24300 * posix/gai.conf: Document new scope table defaults.
24301
243022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24303
24304 [BZ #5298]
24305 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24306 for ftell. Compute offsets from write pointers instead.
24307 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24308
243092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24310
24311 [BZ #14543]
24312 * libio/Makefile (tests): New test case tst-fseek.
24313 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24314 combination works in wide mode.
24315 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24316 state when the external buffer state changes.
24317
243182012-09-27 David S. Miller <davem@davemloft.net>
24319
24320 [BZ #14376]
24321 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24322 pass reloc->r_addend in as the 'high' argument to
24323 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24324
24325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24326
243272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24328
24329 * rt/tst-aio2.c: Include <pthread.h>.
24330 * rt/tst-aio3.c: Likewise.
24331
243322012-09-27 Steve Ellcey <sellcey@mips.com>
24333
24334 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24335
243362012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24337
24338 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24339 contents on [SHARED].
24340
243412012-09-26 Marek Polacek <polacek@redhat.com>
24342
24343 [BZ #14530]
24344 [BZ #13741]
24345 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24346 for C++ and GCC <4.3 as well as for non GCC compilers.
24347
243482012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24349
24350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24351
243522012-09-25 Roland McGrath <roland@hack.frob.com>
24353
24354 * Makefile.in (all, install): Declare with .PHONY.
24355 Reported by Michael Hope <michael.hope@linaro.org>.
24356
243572012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24358
24359 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24360 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24361 system header.
24362 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24363 Likewise.
24364 (sydep_routines): Add the new and the internal functions.
24365 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24366 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24368 (GLIBC_2.17): Add the new function.
24369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24370 (GLIBC_2.17): Likewise.
24371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24372 (GLIBC_2.17): Likewise.
24373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24374 (GLIBC_2.17): Likewise.
24375 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24376
243772012-09-25 Alan Modra <amodra@gmail.com>
24378
24379 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24380 Add release barrier before setting once_control to say
24381 initialisation is done. Add hints on lwarx. Use macro in
24382 place of isync.
24383 (clear_once_control): Add release barrier.
24384
243852012-09-25 Joseph Myers <joseph@codesourcery.com>
24386
24387 [BZ #13629]
24388 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24389 specially.
24390 * math/s_clog10.c (__clog10): Likewise.
24391 * math/s_clog10f.c (__clog10f): Likewise.
24392 * math/s_clog10l.c (__clog10l): Likewise.
24393 * math/s_clogf.c (__clogf): Likewise.
24394 * math/s_clogl.c (__clogl): Likewise.
24395 * math/Makefile (libm-calls): Add x2y2m1.
24396 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24397 (__x2y2m1): Likewise.
24398 (__x2y2m1l): Likewise.
24399 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24400 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24401 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24402 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24403 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24404 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24405 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24406 * sysdeps/i386/fpu/libm-test-ulps: Update.
24407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24408
24409 [BZ #14621]
24410 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24411 int as type of variable DEPTH.
24412 (glob): Use size_t instead of int as type of variables NEWCOUNT
24413 and OLD_PATHC.
24414
244152012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24416
24417 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24418 Add s_sincosf-sse2.
24419 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24420 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24421 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24422 macros for using routine as __sincosf_ia32.
24423 Use macro for function declaration and weak_alias.
24424 * sysdeps/i386/fpu/libm-test-ulps: Update.
24425
24426 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24428
24429 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24430 subnormal argument.
24431 * math/s_cexpf.c (__cexpf): Likewise.
24432 * math/s_csinf.c (__csinf): Likewise.
24433 * math/s_csinhf.c (__csinhf): Likewise.
24434 * math/s_ctanf.c (__ctanf): Likewise.
24435 * math/s_ctanhf.c (__ctanhf): Likewise.
24436 * math/s_ccosh.c (__ccoshf): Likewise.
24437 * math/s_cexp.c (__cexpl): Likewise.
24438 * math/s_csin.c (__csin): Likewise.
24439 * math/s_csinh.c (__csinh): Likewise.
24440 * math/s_ctan.c (__ctan): Likewise.
24441 * math/s_ctanh.c (ctanh): Likewise.
24442 * math/s_ccoshl.c (__ccoshl): Likewise.
24443 * math/s_cexpl.c (__cexpl): Likewise.
24444 * math/s_csinl.c (__csinl): Likewise.
24445 * math/s_csinhl.c (__csinhl): Likewise.
24446 * math/s_ctanl.c (__ctanl): Likewise.
24447 * math/s_ctanhl.c (__ctanhl): Likewise.
24448
244492012-09-25 Joseph Myers <joseph@codesourcery.com>
24450
24451 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24452 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24453 (_IO_off_t): Define to __off_t, not _G_off_t.
24454 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24455 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24456 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24457 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24458 type of __dummy and __dummy2 fields.
24459 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24460 (_G_ssize_t): Likewise.
24461 (_G_off_t): Likewise.
24462 (_G_pid_t): Likewise.
24463 (_G_uid_t): Likewise.
24464 (_G_wchar_t): Likewise.
24465 (_G_wint_t): Likewise.
24466 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24467 (_G_ssize_t): Likewise.
24468 (_G_off_t): Likewise.
24469 (_G_pid_t): Likewise.
24470 (_G_uid_t): Likewise.
24471 (_G_wchar_t): Likewise.
24472 (_G_wint_t): Likewise.
24473 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24474 (_G_ssize_t): Likewise.
24475 (_G_off_t): Likewise.
24476 (_G_pid_t): Likewise.
24477 (_G_uid_t): Likewise.
24478 (_G_wchar_t): Likewise.
24479 (_G_wint_t): Likewise.
24480
244812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24482
24483 * malloc/arena.c: Include malloc-sysdep.h.
24484 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24485 is sufficient to shrink the heap or an unmap is needed.
24486 * sysdeps/generic/malloc-sysdep.h: New file. Define
24487 new function check_may_shrink_heap.
24488 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24489 new function check_may_shrink_heap.
24490
244912012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24492
24493 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24494 comments.
24495
244962012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24497
24498 * catgets/test-gencat.sh: Add "set -e".
24499 * elf/tst-pathopt.sh: Likewise.
24500 * grp/tst_fgetgrent.sh: Likewise.
24501 * iconvdata/run-iconv-test.sh: Likewise.
24502 * intl/tst-gettext.sh: Likewise.
24503 * intl/tst-gettext2.sh: Likewise.
24504 * intl/tst-gettext4.sh: Likewise.
24505 * intl/tst-gettext6.sh: Likewise.
24506 * intl/tst-translit.sh: Likewise.
24507 * io/ftwtest-sh: Likewise.
24508 * libio/test-freopen.sh: Likewise.
24509 * malloc/tst-mtrace.sh: Likewise.
24510 * posix/globtest.sh: Likewise.
24511 * posix/tst-getconf.sh: Likewise.
24512 * posix/wordexp-tst.sh: Likewise.
24513 * stdio-common/tst-printf.sh: Likewise.
24514 * stdio-common/tst-unbputc.sh: Likewise.
24515 * stdlib/tst-fmtmsg.sh: Likewise.
24516 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24517 * catgets/Makefile: Do not specify -e option when running
24518 testsuite shell scripts.
24519 * elf/Makefile: Likewise.
24520 * grp/Makefile: Likewise.
24521 * iconvdata/Makefile: Likewise.
24522 * intl/Makefile: Likewise.
24523 * io/Makefile: Likewise.
24524 * libio/Makefile: Likewise.
24525 * malloc/Makefile: Likewise.
24526 * posix/Makefile: Likewise.
24527 * stdio-common/Makefile: Likewise.
24528 * stdlib/Makefile: Likewise.
24529 * sysdeps/x86_64/Makefile: Likewise.
24530
24531 * io/ftwtest-sh: Add copyright header.
24532 * posix/globtest.sh: Likewise.
24533 * posix/tst-getconf.sh: Likewise.
24534 * posix/wordexp-tst.sh: Likewise.
24535 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24536
245372012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24538
24539 [BZ #13679]
24540 * Makeconfig (+link): Defined as $(+link-static) if
24541 $(build-shared) isn't yes.
24542 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24543 isn't yes.
24544 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24545
24546 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24547
24548 [BZ #14562]
24549 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24550 new chunk size with MALLOC_ALIGN_MASK.
24551
245522012-09-24 Joseph Myers <joseph@codesourcery.com>
24553
24554 [BZ #5044]
24555 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24556 <rounding-mode.h>.
24557 (__printf_fphex): Determine rounding using get_rounding_mode and
24558 round_away.
24559 * stdio-common/tst-printf-round.c (struct hex_test): New
24560 structure.
24561 (hex_tests): New variable.
24562 (test_hex_in_one_mode): New function.
24563 (do_test): Also run tests for hex float output.
24564
245652012-09-21 Joseph Myers <joseph@codesourcery.com>
24566
24567 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24568 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24569 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24570 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24571 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24572 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24573 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24574 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24575
245762012-09-20 Joseph Myers <joseph@codesourcery.com>
24577
24578 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24579 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24580 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24581 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24582
245832012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24584
24585 [BZ #14579]
24586 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24587 mode only.
24588 * elf/tst-rtld-load-self.sh: New test.
24589 * elf/Makefile: Run it.
24590
245912012-09-18 Joseph Myers <joseph@codesourcery.com>
24592
24593 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24594 (tst-writev-ENV): Remove.
24595 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24596
245972012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24598
24599 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24600
246012012-09-17 Joseph Myers <joseph@codesourcery.com>
24602
24603 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24604 unconditional.
24605 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24606 Likewise.
24607 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24608 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24609 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24610 Likewise.
24611
246122012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24613
24614 [BZ #14587]
24615 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24616 * config.make.in (have-cpp-asm-debuginfo): Removed.
24617 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24618 * configure: Regenerated.
24619
246202012-09-14 Joseph Myers <joseph@codesourcery.com>
24621
24622 [BZ #5044]
24623 * stdio-common/printf_fp.c: Include <stdbool.h> and
24624 <rounding-mode.h>.
24625 (___printf_fp): Determine rounding using get_rounding_mode and
24626 round_away.
24627 * stdio-common/tst-printf-round.c: New file.
24628 * stdio-common/Makefile (tests): Add tst-printf-round.
24629 (link-libm): New variable.
24630 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24631
246322012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24633
24634 [BZ #14576]
24635 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24636 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24637 Likewise.
24638 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24639 Likewise.
24640
246412012-09-13 Joseph Myers <joseph@codesourcery.com>
24642
24643 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24644 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24645 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24646 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24647
246482012-09-12 Joseph Myers <joseph@codesourcery.com>
24649
24650 [BZ #14518]
24651 * include/rounding-mode.h: New file.
24652 * sysdeps/generic/get-rounding-mode.h: Likewise.
24653 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24654 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24655 (MAX_VALUE): New macro.
24656 (MIN_VALUE): Likewise.
24657 (overflow_value): New function.
24658 (underflow_value): Likewise.
24659 (round_and_return): Use overflow_value and underflow_value to
24660 determine return values in overflow and underflow cases. Use
24661 round_away to determine rounding depending on rounding mode.
24662 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24663 determine return values in overflow and underflow cases.
24664 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24665 (struct test_results): New structure.
24666 (struct test): Use struct test_results to store expected results
24667 for all rounding modes.
24668 (TEST): Include expected results for all rounding modes.
24669 (test_in_one_mode): New function.
24670 (do_test): Use test_in_one_mode to compute and check results.
24671 Check results for all rounding modes.
24672 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24673 $(link-libm).
24674
246752012-12-09 Allan McRae <allan@archlinux.org>
24676
24677 * sysdeps/i386/fpu/libm-test-ulps: Update
24678
246792012-09-11 Joseph Myers <joseph@codesourcery.com>
24680
24681 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24682 (_G_int32_t): Likewise.
24683 (_G_uint16_t): Likewise.
24684 (_G_uint32_t): Likewise.
24685 (_G_HAVE_BOOL): Likewise.
24686 (_G_HAVE_ATEXIT): Likewise.
24687 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24688 (_G_HAVE_IO_FILE_OPEN): Likewise.
24689 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24690 (_G_int32_t): Likewise.
24691 (_G_uint16_t): Likewise.
24692 (_G_uint32_t): Likewise.
24693 (_G_HAVE_BOOL): Likewise.
24694 (_G_HAVE_ATEXIT): Likewise.
24695 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24696 (_G_HAVE_IO_FILE_OPEN): Likewise.
24697 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24698 (_G_int32_t): Likewise.
24699 (_G_uint16_t): Likewise.
24700 (_G_uint32_t): Likewise.
24701 (_G_HAVE_BOOL): Likewise.
24702 (_G_HAVE_ATEXIT): Likewise.
24703 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24704 (_G_HAVE_IO_FILE_OPEN): Likewise.
24705
247062012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24707
24708 * csu/libc-tls.c: Update copyright years.
24709
247102012-09-10 Joseph Myers <joseph@codesourcery.com>
24711
24712 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24713 [!_G_USING_THUNKS]: Remove conditional code.
24714 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24715 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24716
24717 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24718 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24719 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24720 (_G_VTABLE_LABEL_PREFIX): Likewise.
24721 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24722 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24723 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24724 (_G_VTABLE_LABEL_PREFIX): Likewise.
24725 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24726 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24727 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24728 (_G_VTABLE_LABEL_PREFIX): Likewise.
24729 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24730
247312012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24732
24733 * libio/Makefile: Include ../Makeconfig before tests.
24734 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24735 only if $(build-shared) is yes.
24736
24737 * iconv/gconv_db.c: Update copyright years.
24738
247392012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24740
24741 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24742 unwind info if defined PIC. Fix special cases description.
24743 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24744
24745 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24746 DP_HI_MASK entry.
24747 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24748
247492012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24750
24751 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24752
24753 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24754 is NULL.
24755
24756 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24757 (LDLIBS-tst-chk4): This.
24758 (LDFLAGS-tst-chk5): Renamed to ...
24759 (LDLIBS-tst-chk5): This.
24760 (LDFLAGS-tst-chk6): Renamed to ...
24761 (LDLIBS-tst-chk6): This.
24762 (LDFLAGS-tst-lfschk4): Renamed to ...
24763 (LDLIBS-tst-lfschk4): This.
24764 (LDFLAGS-tst-lfschk5): Renamed to ...
24765 (LDLIBS-tst-lfschk5): This.
24766 (LDFLAGS-tst-lfschk6): Renamed to ...
24767 (LDLIBS-tst-lfschk6): This.
24768
24769 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24770 on $(common-objpfx)soversions.mk.
24771
247722012-09-07 Joseph Myers <joseph@codesourcery.com>
24773
24774 [BZ #10014]
24775 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24776 example host name.
24777
247782012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24779
24780 * malloc/arena.c (arena_get_retry): New function that gets
24781 another arena for the caller to try its request on.
24782 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24783 current arena cannot fulfill the request.
24784 (__libc_memalign): Likewise.
24785 (__libc_memalign): Likewise.
24786 (__libc_pvalloc): Likewise.
24787 (__libc_calloc): Likewise.
24788
247892012-09-05 John Tobey <john.tobey@gmail.com>
24790
24791 [BZ #13542]
24792 * manual/arith.texi (Operations on Complex): Fix description
24793 of carg branch cut.
24794
247952012-09-06 Joseph Myers <joseph@codesourcery.com>
24796
24797 [BZ #10014]
24798 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24799 host name.
24800
24801 [BZ #10038]
24802 * manual/memory.texi (Memory): Make order of menu items match
24803 order of sections.
24804
248052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24806
24807 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24808 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24809 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24810
248112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24812
24813 * csu/libc-tls.c (static_dtv): Renamed to ...
24814 (_dl_static_dtv): This. Make it global.
24815 (_dl_initial_dtv): Removed.
24816 (__libc_setup_tls): Updated.
24817 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24818 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24819 DL_INITIAL_DTV.
24820
248212012-09-06 Petr Machata <pmachata@redhat.com>
24822
24823 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24824 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24825 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24826 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24827
248282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24829
24830 [BZ #14545]
24831 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24832 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24833 freeing dtv[-1].
24834
248352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24836
24837 [BZ #14544]
24838 * Makeconfig (link-static-before-libc): Replace $(+prector)
24839 with $(+prectorT).
24840 (link-static-after-libc): Replace $(+postctor) with
24841 $(+postctorT).
24842 (link-bounded): Replace $(+prector)/$(+postctor) with
24843 $(+prectorT)/$(+postctorT).
24844 (+prectorT): New macro.
24845 (+postctorT): Likewise.
24846
248472012-09-06 Joseph Myers <joseph@codesourcery.com>
24848
24849 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24850 (round_str): Handle values above the maximum for IBM long double
24851 as inexact.
24852 * stdlib/tst-strtod-round.c (tests): Regenerated.
24853
248542012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24855
24856 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24857 assembler flag.
24858 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24859 zarch_nohighgprs around the zarch optimized routines.
24860 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24861 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24862 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24863 for zarch.
24864
248652012-09-05 David S. Miller <davem@davemloft.net>
24866
24867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24868
24869 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24870 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24871 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24872 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24873 entries.
24874
248752012-09-05 Alexandre Oliva <aoliva@redhat.com>
24876
24877 * malloc/arena.c: Fold copyright years.
24878 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24879
248802012-09-05 Alexandre Oliva <aoliva@redhat.com>
24881
24882 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24883
248842012-09-05 Alexandre Oliva <aoliva@redhat.com>
24885
24886 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24887
248882012-09-05 Alexandre Oliva <aoliva@redhat.com>
24889
24890 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24891 change internal state upon failure.
24892
248932012-09-05 Alexandre Oliva <aoliva@redhat.com>
24894
24895 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24896 * malloc/memusage.c (mmap): Likewise.
24897 (mmap64, mremap): Likewise. Adjust name in comment.
24898
248992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24900
24901 * libio/fileops.c: Fix typos in comments.
24902 * libio/oldfileops.c: Likewise.
24903 * libio/wfileops.c: Likewise.
24904
249052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24906
24907 [BZ #1349]
24908 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24909 (tst-malloc-usable-ENV): Set environment for test case.
24910 * malloc/hooks.c (malloc_check_get_size): New function to get
24911 requested size.
24912 * malloc/malloc.c (musable): Use malloc_check_get_size.
24913 * malloc/tst-malloc-usable.c: New test case.
24914
249152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24916
24917 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24918
249192012-09-05 Allan McRae <allan@archlinux.org>
24920
24921 [BZ #13966]
24922 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24923 determine header location.
24924 * configure: Regenerated.
24925
249262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24927
24928 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24929 float format.
24930 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24931 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24932 format.
24933 (test): Regenerate.
24934
249352012-09-04 David S. Miller <davem@davemloft.net>
24936
24937 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24938 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24939 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24940
249412012-09-04 Florian Weimer <fweimer@redhat.com>
24942
24943 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24944 failures.
24945
24946 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24947
249482012-09-04 Joseph Myers <joseph@codesourcery.com>
24949
24950 [BZ #9914]
24951 * libio/iogetdelim.c: Include <limits.h>.
24952 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24953 + len + 1 would overflow.
24954
249552012-09-03 Andreas Jaeger <aj@suse.de>
24956
24957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24958 * sysdeps/i386/fpu/libm-test-ulps: Update.
24959
249602012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24961
24962 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24963 Add s_sinf-sse2, s_conf-sse2.
24964
24965 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24966 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24967 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24968 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24969
24970 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24971 for using routine as __sinf_ia32.
24972 Use macro for function declaration and weak_alias.
24973 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24974 for using routine as __cosf_ia32.
24975 Use macro for function declaration and weak_alias.
24976
24977 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24978 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24979
24980 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24981 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24983
24984 * math/libm-test.inc (cos_test): Add more test cases.
24985 (sin_test): Likewise.
24986 (sincos_test): Likewise.
24987
249882012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24989
24990 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24991 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24992 hidden.
24993 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24994
249952012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24996
24997 [BZ #14538]
24998 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24999 first element of the GOT.
25000 (elf_machine_load_address): Return the difference between
25001 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25002
250032012-09-01 Allan McRae <allan@archlinux.org>
25004
25005 [BZ #13412]
25006 * configure.in (AWK): Require gawk version 3.0 or later.
25007 * configure: Regenerated.
25008
250092012-09-01 Joseph Myers <joseph@codesourcery.com>
25010
25011 * sysdeps/unix/sysv/linux/kernel-features.h
25012 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25013 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25014 [__NR_clock_getres]: Make code unconditional.
25015 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25016 (clock_getcpuclockid): Remove code left unreachable by removal of
25017 conditionals.
25018 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25019 code unconditional.
25020 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25021 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25022 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25023 Make code unconditional.
25024 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25025 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25026 * sysdeps/unix/sysv/linux/clock_settime.c
25027 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25028 conditional code.
25029 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25030 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25031
250322012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25033
25034 [BZ #14476]
25035 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25036 scripts/test-installation.pl.
25037
25038 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25039 and $ld_so_version if it is set.
25040
250412012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25042
25043 [BZ #14516]
25044 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25045 failure if reading from procfs failed.
25046 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25047
250482012-08-27 Joseph Myers <joseph@codesourcery.com>
25049
25050 * sysdeps/unix/sysv/linux/kernel-features.h
25051 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25052 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25053 Remove conditional code.
25054 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25055 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25056 Remove conditional code.
25057 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25058 * sysdeps/unix/sysv/linux/i386/fxstat.c
25059 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25060 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25061 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25062 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25063 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25064 * sysdeps/unix/sysv/linux/i386/lxstat.c
25065 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25066 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25067 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25068 Remove conditional code.
25069 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25070 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25071 Remove conditional code.
25072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25073 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25074 <kernel-features.h>.
25075 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25076 Remove.
25077 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25078 Remove conditional code.
25079 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25080 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25081 Remove conditional.
25082
250832012-08-27 Mike Frysinger <vapier@gentoo.org>
25084
25085 [BZ #5400]
25086 * NEWS: Add fixed bug number.
25087
250882012-08-27 Joseph Myers <joseph@codesourcery.com>
25089
25090 [BZ #14519]
25091 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25092 underflowing exponent in case of negative sign.
25093 * stdlib/tst-strtod-round-data: Add more tests.
25094 * stdlib/tst-strtod-round.c (tests): Regenerated.
25095
25096 [BZ #3479]
25097 * stdlib/strtod_l.c (NDIG): Remove.
25098 (HEXNDIG): Likewise.
25099 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25100 smallest representable value.
25101 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25102 lie within an exact representation of 1/2 ulp of the result.
25103 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25104 unconditionally.
25105 (TENS_P9_IDX): Define unconditionally.
25106 (TENS_P9_SIZE): Likewise.
25107 (TENS_P10_IDX): Likewise.
25108 (TENS_P10_SIZE): Likewise.
25109 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25110 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25111 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25112 entries for 10^2^13 and 10^2^14.
25113 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25114 (TENS_P13_IDX): Define.
25115 (TENS_P13_SIZE): Likewise.
25116 (TENS_P14_IDX): Likewise.
25117 (TENS_P14_SIZE): Likewise.
25118 (_fpioconst_pow10): Change array size to
25119 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25120 unconditional.
25121 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25122 1024]: Add entries for 10^2^13 and 10^2^14.
25123 [LAST_POW10 > _LAST_POW10]: Remove #error.
25124 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25125 (_fpioconst_pow10): Change array size to
25126 FPIOCONST_POW10_ARRAY_SIZE.
25127 * stdlib/gen-fpioconst.c: New file.
25128 * stdlib/gen-tst-strtod-round.c: Likewise.
25129 * stdlib/tst-strtod-round-data: Likewise.
25130 * stdlib/tst-strtod-round.c: Likewise.
25131 * stdlib/Makefile (tests): Add tst-strtod-round.
25132
25133 [BZ #14459]
25134 * stdlib/strtod_l.c: Include <stdint.h>.
25135 (NDEBUG): Do not define.
25136 (round_and_return): Change EXPONENT parameter to type intmax_t.
25137 Rearrange calculations to avoid internal overflow possibilities.
25138 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25139 Rearrange calculations to avoid internal overflow possibilities.
25140 Assert that number fits inside MPNSIZE limbs.
25141 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25142 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25143 calculations and add assertions to avoid internal overflow
25144 possibilities. Add casts to avoid signed/unsigned operations.
25145 * stdlib/tst-strtod-overflow.c: New file.
25146 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25147
251482012-08-25 Marek Polacek <polacek@redhat.com>
25149
25150 * time/time.h: Fix some typos in comments.
25151
251522012-08-23 Roland McGrath <roland@hack.frob.com>
25153
25154 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25155 * posix/tst-rfc3484-2.c: Likewise.
25156 * posix/tst-rfc3484-3.c: Likewise.
25157
251582012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25159
25160 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25161 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25162
251632012-08-23 Joseph Myers <joseph@codesourcery.com>
25164
25165 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25166 #include of fxstatat64.c.
25167
251682012-08-22 Roland McGrath <roland@hack.frob.com>
25169
25170 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25171 * shadow/getspent_r.c: Likewise.
25172 * shadow/getspnam.c: Likewise.
25173 * shadow/getspnam_r.c: Likewise.
25174 * gshadow/getsgent.c: Likewise.
25175 * gshadow/getsgent_r.c: Likewise.
25176 * gshadow/getsgnam.c: Likewise.
25177 * gshadow/getsgnam_r.c: Likewise.
25178 * inet/getnetbyad.c: Likewise.
25179 * inet/getnetbyad_r.c: Likewise.
25180 * inet/getnetbynm.c: Likewise.
25181 * inet/getnetbynm_r.c: Likewise.
25182 * inet/getnetent.c: Likewise.
25183 * inet/getnetent_r.c: Likewise.
25184 * inet/getproto.c: Likewise.
25185 * inet/getproto_r.c: Likewise.
25186 * inet/getprtent.c: Likewise.
25187 * inet/getprtent_r.c: Likewise.
25188 * inet/getprtname.c: Likewise.
25189 * inet/getprtname_r.c: Likewise.
25190 * inet/getrpcbyname.c: Likewise.
25191 * inet/getrpcbyname_r.c: Likewise.
25192 * inet/getrpcbynumber.c: Likewise.
25193 * inet/getrpcbynumber_r.c: Likewise.
25194 * inet/getrpcent.c: Likewise.
25195 * inet/getrpcent_r.c: Likewise.
25196 * inet/getaliasent.c: Likewise.
25197 * inet/getaliasent_r.c: Likewise.
25198 * inet/getaliasname.c: Likewise.
25199 * inet/getaliasname_r.c: Likewise.
25200 * nscd/getgrgid_r.c: Likewise.
25201 * nscd/getgrnam_r.c: Likewise.
25202 * nscd/gethstbyad_r.c: Likewise.
25203 * nscd/gethstbynm3_r.c: Likewise.
25204 * nscd/getpwnam_r.c: Likewise.
25205 * nscd/getpwuid_r.c: Likewise.
25206 * nscd/getsrvbynm_r.c: Likewise.
25207 * nscd/getsrvbypt_r.c: Likewise.
25208 * nscd/gai.c: Likewise.
25209
25210 * configure.in (build_nscd): New substituted variable, set
25211 by --disable-build-nscd and defaults to $use_nscd.
25212 * configure: Regenerated.
25213 * config.make.in (build-nscd): New substituted variable.
25214 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25215 Change conditional to require [$(build-nscd) = yes] as well.
25216 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25217
25218 [BZ# 13696]
25219 * configure.in (use_nscd): New substituted variable, set by
25220 --disable-nscd. If enabled, define USE_NSCD.
25221 * configure: Regenerated.
25222 * config.h.in: Add USE_NSCD.
25223 * config.make.in (use-nscd): New substituted variable.
25224 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25225 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25226 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25227 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25228 (CFLAGS-getgrnam_r.c): Likewise.
25229 (CFLAGS-initgroups.c): Likewise.
25230 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25231 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25232 Variables removed.
25233 * inet/getnetgrent_r.c
25234 (nscd_setnetgrent): New function, broken out of ...
25235 (setnetgrent): ... here. Call it.
25236 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25237 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25238 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25239 * nscd/Makefile (routines, aux): Move definitions after include of
25240 Makeconfig. Conditionalize on [$(use-nscd) != no].
25241 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25242 Conditionalize on [USE_NSCD].
25243 (is_nscd, nscd_init_cb): Likewise.
25244 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25245 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25246 * nss/nss_db/db-init.c: Likewise.
25247 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25248 [USE_NSCD].
25249 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25250 (make_request): Use it.
25251 (cache_valid_p): New function.
25252 (__check_pf): Use it.
25253 * NEWS: Add item for --disable-nscd.
25254
252552012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25256
25257 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25258 to support sed >= 4.2.1-20-ga9bf076.
25259 * configure: Regenerated.
25260
252612012-08-22 Roland McGrath <roland@hack.frob.com>
25262
25263 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25264 Conditionalize whole body on [IREL].
25265
252662012-08-22 Jeff Law <law@redhat.com>
25267
25268 [BZ #14505]
25269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25270 if the family is PF_UNSPEC.
25271
252722012-08-22 Mike Frysinger <vapier@gentoo.org>
25273
25274 * Makerules (lib-version): Rename from V.
25275 (install-lib-nosubdir): Change V to lib-version.
25276
252772012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25278
25279 [BZ #14252]
25280 * powerpc32/power6/wcschr.c: New file.
25281 * powerpc32/power6/wcscpy.c: New file.
25282 * powerpc32/power6/wcsrchr.c: New file.
25283 * powerpc64/power6/wcschr.c: New file.
25284 * powerpc64/power6/wcscpy.c: New file.
25285 * powerpc64/power6/wcsrchr.c: New file.
25286
252872012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25288
25289 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25290 (two_way_short_needle): Use it.
25291 * string/strstr.c (AVAILABLE1_USES_J): Define.
25292 * string/strcasestr.c: Likewise.
25293
25294 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25295 array references.
25296 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25297
25298 [BZ #11607]
25299 * NEWS: Add an entry.
25300 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25301 define their defaults.
25302 (two_way_short_needle): Detect end-of-string on-the-fly.
25303 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25304 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25305 * string/bug-strcasestr1.c: New test.
25306 * string/Makefile: Run it.
25307
253082012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25309
25310 [BZ #11607]
25311 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25312 the first character.
25313
253142012-08-21 Roland McGrath <roland@hack.frob.com>
25315
25316 * csu/elf-init.c (__libc_csu_irel): Function removed.
25317 * csu/libc-start.c (apply_irel): New function.
25318 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25319
253202012-08-21 Joseph Myers <joseph@codesourcery.com>
25321
25322 * sysdeps/unix/sysv/linux/kernel-features.h
25323 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25324 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25325 <kernel-features.h>.
25326 [__NR_fadvise64_64]: Make code unconditional.
25327 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25328 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25329 !__NR_fadvise64_64)]: Likewise.
25330 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25331 !__NR_fadvise64_64))]: Likewise.
25332 [__NR_fadvise64]: Make code unconditional.
25333 [!__NR_fadvise64]: Remove conditional code.
25334 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25335 <kernel-features.h>.
25336 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25337 unconditional.
25338 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25339 conditional code.
25340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25341 not include <kernel-features.h>.
25342 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25343 unconditional.
25344 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25345 conditional code.
25346 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25347 include <kernel-features.h>.
25348 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25349 unconditional.
25350 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25351 conditional code.
25352
253532012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25354
25355 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25356 slight instruction rearrangements per scrollpipe analysis.
25357 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25358
253592012-08-20 Roland McGrath <roland@hack.frob.com>
25360
25361 * manual/syslog.texi (syslog; vsyslog, closelog):
25362 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25363 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25364
25365 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25366 DSOCAPS to match condition on defining it.
25367
253682012-08-20 Joseph Myers <joseph@codesourcery.com>
25369
25370 * sysdeps/unix/sysv/linux/kernel-features.h
25371 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25373 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25374 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25376 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25377 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25379 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25380 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25381
25382 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25383 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25384
25385 * sysdeps/unix/sysv/linux/kernel-features.h
25386 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25387 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25388 unconditional.
25389 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25390 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25391 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25392 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25393 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25394 Make code unconditional.
25395 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25396 (__mmap64) [!__NR_mmap2]: Likewise.
25397 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25398 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25399 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25400 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25401 [__NR_mmap2]: Make code unconditional.
25402 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25403 (__mmap64) [!__NR_mmap2]: Likewise.
25404
254052012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25406
25407 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25408
254092012-08-18 Andreas Jaeger <aj@suse.de>
25410
25411 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25412
254132012-08-18 Mike Frysinger <vapier@gentoo.org>
25414
25415 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25416 * include/unistd.h (__have_sock_cloexec): Likewise.
25417 (__have_pipe2): Likewise.
25418 (__have_dup3): Likewise.
25419
254202012-08-18 Mike Frysinger <vapier@gentoo.org>
25421
25422 [BZ #9685]
25423 * include/unistd.h (__have_pipe2): Change define into an extern int.
25424 (__have_dup3): Likewise.
25425 * socket/have_sock_cloexec.c: Include fcntl.h.
25426 (__have_pipe2): New variable.
25427 (__have_dup3): Likewise.
25428
254292012-08-17 Mike Frysinger <vapier@gentoo.org>
25430
25431 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25432
254332012-08-17 Marek Polacek <polacek@redhat.com>
25434
25435 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25436 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25437
254382012-08-17 Roland McGrath <roland@hack.frob.com>
25439
25440 * configure.in: Add AC_SUBST for sysheaders.
25441 * configure: Regenerated.
25442 * config.make.in (sysheaders): New substituted variable.
25443
25444 * sysdeps/unix/mkfifo.c: Moved ...
25445 * sysdeps/posix/mkfifo.c: ... here.
25446 * sysdeps/unix/mkfifoat.c: Moved ...
25447 * sysdeps/posix/mkfifoat.c: ... here.
25448
25449 * sysdeps/unix/utime.c: Moved ...
25450 * sysdeps/posix/utime.c: ... here.
25451
25452 * sysdeps/unix/time.c: Moved ...
25453 * sysdeps/posix/time.c: ... here.
25454 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25455 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25456
25457 * sysdeps/unix/nice.c: Moved ...
25458 * sysdeps/posix/nice.c: ... here.
25459
25460 * sysdeps/unix/alarm.c: Moved ...
25461 * sysdeps/posix/alarm.c: ... here.
25462
25463 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25464
254652012-08-17 Jeff Law <law@redhat.com>
25466
25467 * intl/Makefile (codeset_mo): New variable.
25468 ($(codeset_mo)): New target.
25469 (tst-codeset.out): Depend on that. Remove explicit rule.
25470 (tst-gettext3.out, tst-gettext5.out): Likewise.
25471 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25472 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25473 * intl/tst-codeset.sh: Remove.
25474 * intl/tst-gettext3.sh: Likewise.
25475 * intl/tst-gettext5.sh: Likewise.
25476
254772012-08-17 Roland McGrath <roland@hack.frob.com>
25478
25479 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25480 * sysdeps/unix/syscalls.list: ... here.
25481
25482 * sysdeps/posix/getaddrinfo.c
25483 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25484 (gaiconf_init, gaiconf_reload): Use them.
25485 [!_STATBUF_ST_NSEC]
25486 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25487 Define using time_t rather than struct timespec.
25488
25489 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25490 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25491 Macros removed.
25492 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25493 [!NO_THREADS].
25494 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25495 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25496 Likewise.
25497
25498 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25499 __libc_cleanup_push argument.
25500
25501 * bits/param.h: New file.
25502 * misc/sys/param.h: New file.
25503 * include/sys/param.h: New file.
25504 * misc/Makefile (headers): Add bits/param.h.
25505 * sysdeps/generic/sys/param.h: File removed.
25506 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25507 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25508 * sysdeps/mach/hurd/bits/param.h: New file.
25509 * sysdeps/mach/hurd/sys/param.h: File removed.
25510
25511 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25512 last change.
25513
25514 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25515 [_IO_MTSAFE_IO].
25516 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25517 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25518 New macros.
25519
25520 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25521 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25522 rather than -D_IO_MTSAFE_IO conditionally.
25523 * stdio-common/Makefile (CPPFLAGS): Likewise.
25524 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25525 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25526 Use $(libio-mtsafe).
25527 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25528 of -D_IO_MTSAFE_IO.
25529 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25530 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25531 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25532 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25533 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25534 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25535 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25536 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25537 (CFLAGS-fread_u_chk.c): Likewise.
25538 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25539 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25540 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25541 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25542 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25543 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25544 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25545 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25546 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25547
25548 * libio/Makefile: Test [$(libc-reentrant) = yes]
25549 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25550
25551 * Makeconfig
25552 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25553 * sysdeps/pthread/configure: File removed.
25554 * sysdeps/pthread/Makeconfig: New file.
25555 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25556 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25557
255582012-08-16 Gary Benson <gbenson@redhat.com>
25559
25560 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25561 unmapping the first object in a namespace.
25562
255632012-08-16 Roland McGrath <roland@hack.frob.com>
25564
25565 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25566 (__internal_setnetgrent): ... this. Add internal_function to
25567 definition. Add libc_hidden_def.
25568 (setnetgrent): Update caller.
25569 (internal_endnetgrent): Renamed to ...
25570 (__internal_endnetgrent): ... this. Add internal_function to
25571 definition. Add libc_hidden_def.
25572 (endnetgrent): Update caller.
25573 (internal_getnetgrent_r): Renamed to ...
25574 (__internal_getnetgrent_r): ... this. Add internal_function to
25575 definition. Add libc_hidden_def.
25576 (__getnetgrent_r): Update caller.
25577 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25578
255792012-08-16 Joseph Myers <joseph@codesourcery.com>
25580
25581 * stdlib/longlong.h: Update from GCC.
25582
255832012-08-16 Roland McGrath <roland@hack.frob.com>
25584
25585 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25586 on _QL, which is set by umul_ppmm but never used.
25587 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25588 variables, which are set by GMP macros but never used.
25589 * stdio-common/_itowa.c (_itowa): Likewise.
25590 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25591 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25592
255932012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25594
25595 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25596 struct La_sh_regs is not constant.
25597 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25598 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25599 and struct La_sparc64_regs are not constant.
25600
256012012-08-16 Joseph Myers <joseph@codesourcery.com>
25602
25603 * sysdeps/unix/sysv/linux/kernel-features.h
25604 (__ASSUME_POSIX_TIMERS): Remove.
25605 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25606 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25607 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25608 Make code unconditional.
25609 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25610 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25611 Make code unconditional.
25612 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25613 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25614 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25615 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25616 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25617 Make code unconditional.
25618 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25619 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25620 (__libc_missing_posix_timers): Remove.
25621
256222012-08-15 Roland McGrath <roland@hack.frob.com>
25623
25624 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25625 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25626
25627 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25628
25629 * elf/dl-sym.c: Include <stdlib.h>.
25630
25631 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25632 constants, which avoids warnings in 32-bit builds.
25633
25634 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25635 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25636
25637 * misc/lseek.c: File moved to ...
25638 * io/lseek.c: ... here.
25639
25640 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25641
25642 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25643 shifting LEN more than 31 bits at once.
25644
256452012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25646
25647 [BZ #14195]
25648 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25649 segmentation fault for a case of two empty input strings.
25650 * string/test-strncasecmp.c (check1): Renamed to...
25651 (bz12205): ...this.
25652 (bz14195): Add new testcase for two empty input strings and N > 0.
25653 (test_main): Call new testcase, adapt for renamed function.
25654
256552012-08-15 Andreas Jaeger <aj@suse.de>
25656
25657 [BZ #14090]
25658 * crypt/md5test2.c: New test, based on test supplied by Serge
25659 Belyshev <belyshev@depni.sinp.msu.ru>.
25660 * crypt/Makefile (xtests): Add md5test-giant..
25661 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25662
256632012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25664
25665 [BZ #14090]
25666 * crypt/md5.c (md5_process_block): Don't assume the buffer
25667 length is less than 2**32.
25668 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25669 length is less than 2**64.
25670
256712012-08-15 Roland McGrath <roland@hack.frob.com>
25672
25673 * string/str-two-way.h: Include <sys/param.h>.
25674 (MAX): Macro removed.
25675
25676 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25677 Move #define and #undef of memmove to just before and after
25678 including <string.h>.
25679
25680 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25681 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25682 and after including <string.h>. Move declarations of
25683 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25684 to before #include "string/memmove.c".
25685
25686 * include/dirent.h: Declare __getdirentries.
25687
25688 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25689 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25690
256912012-08-14 Mike Frysinger <vapier@gentoo.org>
25692
25693 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25694 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25695 * sysdeps/i386/configure: Regenerated.
25696 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25697 STABS_CURRENT_FILE, and STABS_FUN.
25698 (END): Remove call to STABS_FUN_END.
25699 (STABS_CURRENT_FILE1): Delete.
25700 (STABS_CURRENT_FILE): Likewise.
25701 (STABS_FUN): Likewise.
25702 (STABS_FUN_END): Likewise.
25703 (STABS_FUN2): Likewise.
25704 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25705 * sysdeps/x86_64/configure: Regenerated.
25706
257072012-08-14 Roland McGrath <roland@hack.frob.com>
25708
25709 * elf/dl-open.c: Include <atomic.h>.
25710 * elf/dl-lookup.c: Likewise.
25711
257122012-08-14 Joseph Myers <joseph@codesourcery.com>
25713
25714 * sysdeps/unix/sysv/linux/kernel-features.h
25715 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25716 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25717 unconditionally.
25718 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25719 unconditionally.
25720 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25721 condition on __ASSUME_CLONE_THREAD_FLAGS.
25722
257232012-08-14 Andreas Jaeger <aj@suse.de>
25724
25725 * sysdeps/i386/fpu/libm-test-ulps: Update.
25726
257272012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25728
25729 * include/atomic.h (atomic_exchange_and_add): Split into ...
25730 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25731 New atomic macros.
25732
257332012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25734
25735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25736
257372012-08-13 Jeff Law <law@redhat.com>
25738
25739 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25740 null byte in the output string.
25741
257422012-08-10 Joseph Myers <joseph@codesourcery.com>
25743
25744 * sysdeps/unix/sysv/linux/kernel-features.h
25745 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25746 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25747 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25748 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25749 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25750 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25751 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25752
257532012-08-09 Jeff Law <law@redhat.com>
25754
25755 [BZ #13939]
25756 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25757 When avoid_arena is set, don't retry in the that arena. Pick the
25758 next one, whatever it might be.
25759 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25760 (arena_lock): Pass in new parameter to arena_get2.
25761 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25762 arena_get2.
25763 (__libc_malloc): Unify retrying after main arena failure with
25764 __libc_memalign version.
25765 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25766
257672012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25768
25769 [BZ #14166]
25770 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25771 to __redirect_strstr.
25772 (__strstr_sse42): Use typeof __redirect_strstr.
25773 (__strstr_ia32): Likewise.
25774 (__libc_strstr): New prototype.
25775 (strstr): Renamed to ...
25776 (__libc_strstr): This.
25777 (strstr): New strong alias of __libc_strstr.
25778 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25779 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25780 __redirect_time.
25781 Include <time.h>.
25782 (__libc_time): New prototype.
25783 (time_ifunc): Replace time with __libc_time.
25784 (time): New strong alias and hidden definition of __libc_time.
25785 (__GI_time): Remove strong alias.
25786 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25787 Include <stddef.h>.
25788 (memmove): Redefined to __redirect_memmove.
25789 (__memmove_sse2): Use typeof __redirect_memmove.
25790 (__memmove_ssse3): Likewise.
25791 (__memmove_ssse3_back): Likewise.
25792 (__libc_memmove): New prototype.
25793 (memmove): Renamed to ...
25794 (__libc_memmove): This.
25795 (memmove): New strong alias of __libc_memmove.
25796
257972012-08-08 Mark Salter <msalter@redhat.com>
25798
25799 * elf/elf.h
25800 (R_MN10300_TLS_GD): Define.
25801 (R_MN10300_TLS_LD): Likewise.
25802 (R_MN10300_TLS_LDO): Likewise.
25803 (R_MN10300_TLS_GOTIE): Likewise.
25804 (R_MN10300_TLS_IE): Likewise.
25805 (R_MN10300_TLS_LE): Likewise.
25806 (R_MN10300_TLS_DTPMOD): Likewise.
25807 (R_MN10300_TLS_DTPOFF): Likewise.
25808 (R_MN10300_TLS_TPOFF): Likewise.
25809 (R_MN10300_SYM_DIFF): Likewise.
25810 (R_MN10300_ALIGN): Likewise.
25811 (R_MN10300_NUM): Update.
25812
258132012-08-08 Joseph Myers <joseph@codesourcery.com>
25814
25815 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25816 Remove.
25817
258182012-08-08 Roland McGrath <roland@hack.frob.com>
25819
25820 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25821
25822 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25823 sysdeps/unix -> sysdeps/posix move.
25824 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25825
258262012-08-07 Allan McRae <allan@archlinux.org>
25827
25828 [BZ #14303]
25829 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25830 (SUNOS_CPP): Likewise.
25831 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25832 not found.
25833 (open_input): Call CPP using execvp.
25834
258352012-08-07 Joseph Myers <joseph@codesourcery.com>
25836
25837 * sysdeps/unix/sysv/linux/kernel-features.h
25838 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25839 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25840 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25841 (__ASSUME_WAITID_SYSCALL): Likewise.
25842 * sysdeps/unix/sysv/linux/dl-execstack.c
25843 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25844 code unconditional.
25845 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25846 conditional code.
25847 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25848 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25849 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25850 code.
25851 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25852 unconditional.
25853 [__ASSUME_WAITID_SYSCALL]: Likewise.
25854 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25855
258562012-08-07 Roland McGrath <roland@hack.frob.com>
25857
25858 * sysdeps/unix/closedir.c: Renamed to ...
25859 * sysdeps/posix/closedir.c: ... here.
25860 * sysdeps/unix/dirfd.c: Renamed to ...
25861 * sysdeps/posix/dirfd.c: ... here.
25862 * sysdeps/unix/dirstream.h: Renamed to ...
25863 * sysdeps/posix/dirstream.h: ... here.
25864 * sysdeps/unix/fdopendir.c: Renamed to ...
25865 * sysdeps/posix/fdopendir.c: ... here.
25866 * sysdeps/unix/opendir.c: Renamed to ...
25867 * sysdeps/posix/opendir.c: ... here.
25868 * sysdeps/unix/readdir.c: Renamed to ...
25869 * sysdeps/posix/readdir.c: ... here.
25870 * sysdeps/unix/readdir_r.c: Renamed to ...
25871 * sysdeps/posix/readdir_r.c: ... here.
25872 * sysdeps/unix/rewinddir.c: Renamed to ...
25873 * sysdeps/posix/rewinddir.c: ... here.
25874 * sysdeps/unix/seekdir.c: Renamed to ...
25875 * sysdeps/posix/seekdir.c: ... here.
25876 * sysdeps/unix/telldir.c: Renamed to ...
25877 * sysdeps/posix/telldir.c: ... here.
25878 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25879 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25880 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25881 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25882
25883 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25884 * bits/fcntl.h: ... here.
25885
25886 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25887 not 0.
25888 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25889 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25890 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25891 (struct flock): Move l_start, l_len to the beginning.
25892 Use __pid_t for l_pid.
25893 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25894 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25895 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25896 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25897 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25898 [__USE_LARGEFILE64] (struct flock64): New type.
25899 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25900
25901 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25902 * bits/dirent.h: ... here.
25903
25904 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25905 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25906
259072012-08-07 Joseph Myers <joseph@codesourcery.com>
25908
25909 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25910 Change from 2.6.0 to 2.6.16.
25911 * sysdeps/unix/sysv/linux/configure: Regenerated.
25912 * sysdeps/unix/sysv/linux/kernel-features.h
25913 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25914 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25915 version.
25916 (__ASSUME_UTIMES): Likewise.
25917 (__ASSUME_CLONE_STOPPED): Remove.
25918 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25919 architectures, not kernel version.
25920 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25921 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25922 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25923 (__ASSUME_WAITID_SYSCALL): Likewise.
25924 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25925 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25926 * README: State 2.6.16 as minimum Linux kernel version. Do not
25927 refer to older versions.
25928
259292012-08-06 Roland McGrath <roland@hack.frob.com>
25930
25931 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25932 Define alphasort64 as an alias.
25933 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25934 Define versionsort64 as an alias.
25935 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25936 Define scandir64 as an alias.
25937 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25938 Define scandirat64 as an alias.
25939 * dirent/alphasort64.c (alphasort64):
25940 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25941 * dirent/versionsort64.c: Likewise.
25942 * dirent/scandir64.c: Likewise.
25943 * dirent/scandirat64.c: Likewise.
25944 * sysdeps/wordsize-64/alphasort.c: File removed.
25945 * sysdeps/wordsize-64/alphasort64.c: File removed.
25946 * sysdeps/wordsize-64/scandir.c: File removed.
25947 * sysdeps/wordsize-64/scandir64.c: File removed.
25948 * sysdeps/wordsize-64/scandirat.c: File removed.
25949 * sysdeps/wordsize-64/scandirat64.c: File removed.
25950 * sysdeps/wordsize-64/versionsort.c: File removed.
25951 * sysdeps/wordsize-64/versionsort64.c: File removed.
25952 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25953 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25954 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25955 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25956 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25957 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25958 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25959 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25960
25961 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25962 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25963 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25964 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25965 [defined __arch64__ || defined __sparcv9]
25966 (__INO_T_MATCHES_INO64_T): New macro.
25967 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25968 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25969 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25970 * sysdeps/unix/sysv/linux/bits/dirent.h
25971 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25972 (_DIRENT_MATCHES_DIRENT64): New macro.
25973
25974 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25975 Define lockf64 as an alias.
25976 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25977 Define fseeko64 as an alias.
25978 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25979 Define ftello64 as an alias.
25980 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25981 Define _IO_fgetpos64 and fgetpos64 as aliases.
25982 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25983 Define _IO_fsetpos64 and fsetpos64 as aliases.
25984 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25985 Conditionalize body on this.
25986 * libio/fseeko64.c: Likewise.
25987 * libio/ftello64.c: Likewise.
25988 * libio/iofgetpos64.c: Likewise.
25989 * libio/iofsetpos64.c: Likewise.
25990 * sysdeps/wordsize-64/lockf.c: File removed.
25991 * sysdeps/wordsize-64/lockf64.c: File removed.
25992 * sysdeps/wordsize-64/fseeko.c: File removed.
25993 * sysdeps/wordsize-64/fseeko64.c: File removed.
25994 * sysdeps/wordsize-64/ftello.c: File removed.
25995 * sysdeps/wordsize-64/ftello64.c: File removed.
25996 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25997 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25998 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25999 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26000 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26001 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26002 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26003 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26004 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26005 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26006 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26007 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26008 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26009 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26010
26011 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26013 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26015 [defined __arch64__ || defined __sparcv9]
26016 (__OFF_T_MATCHES_OFF64_T): New macro.
26017 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26018 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26020 (__OFF_T_MATCHES_OFF64_T): New macro.
26021
260222012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26023
26024 * stdlib/secure-getenv.c (__secure_getenv): Replace
26025 GLIBC_2_16 with GLIBC_2_17.
26026
260272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26028
26029 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26030 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26031
260322012-08-03 David S. Miller <davem@davemloft.net>
26033
26034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26035
260362012-08-03 Joseph Myers <joseph@codesourcery.com>
26037
26038 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26039 Remove.
26040 (__ASSUME_CORRECT_SI_PID): Likewise.
26041 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26042 (__ASSUME_TMPFS_NAME): Likewise.
26043 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26044 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26045 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26046 (HAVE_AUX_SECURE): Make definition unconditional.
26047 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26048 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26049
260502012-08-03 Roland McGrath <roland@hack.frob.com>
26051
26052 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26053 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26054 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26055 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26056 __eloop_threshold instead of SYMLOOP_MAX.
26057
26058 * sysdeps/generic/eloop-threshold.h: New file.
26059 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26060 of MAXSYMLINKS.
26061 * elf/chroot_canon.c (chroot_canon): Likewise.
26062
260632012-08-03 Joseph Myers <joseph@codesourcery.com>
26064
26065 [BZ #13717]
26066 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26067 Change to 2.6.0 everywhere.
26068 * sysdeps/unix/sysv/linux/configure: Regenerated.
26069 * sysdeps/unix/sysv/linux/kernel-features.h
26070 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26071 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26072 kernel versions.
26073 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26074 (__ASSUME_FUTEX_REQUEUE): Remove.
26075 (__ASSUME_STATFS64): Define unconditionally.
26076 (__ASSUME_AT_SECURE): Likewise.
26077 (__ASSUME_CORRECT_SI_PID): Likewise.
26078 (__ASSUME_TGKILL): Define without depending on kernel version for
26079 i386.
26080 (__ASSUME_UTIMES): Likewise.
26081 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26082 kernel version.
26083 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26084 (__ASSUME_TMPFS_NAME): Likewise.
26085 * README: Update reference to Linux kernel versions.
26086
260872012-08-02 Marek Polacek <polacek@redhat.com>
26088
26089 [BZ# 14150]
26090 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26091 libc_cv_asm_type_prefix with %.
26092 * configure: Regenerated.
26093 * include/libc-symbols.h: Remove comment about
26094 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26095 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26096 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26097 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26098 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26099 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26100 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26101 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26102 * elf/tst-unique2mod1.c: Likewise.
26103 * elf/tst-unique1mod2.c: Likewise.
26104 * elf/tst-unique1mod1.c: Likewise.
26105 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26106 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26107 Replace ASM_TYPE_DIRECTIVE with .type.
26108 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26109 * sysdeps/i386/sysdep.h: Likewise.
26110 * sysdeps/x86_64/sysdep.h: Likewise.
26111 * sysdeps/sh/sysdep.h: Likewise.
26112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26113 Do not define ASM_TYPE_DIRECTIVE.
26114 * sysdeps/powerpc/sysdep.h: Likewise.
26115 * sysdeps/powerpc/powerpc32/sysdep.h:
26116 Replace ASM_TYPE_DIRECTIVE with .type.
26117 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26118 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26119 * sysdeps/i386/fpu/e_powf.S: Likewise.
26120 * sysdeps/i386/fpu/e_expl.S: Likewise.
26121 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26122 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26123 * sysdeps/i386/fpu/e_pow.S: Likewise.
26124 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26125 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26126 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26127 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26128 * sysdeps/i386/fpu/e_log2.S: Likewise.
26129 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26130 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26131 * sysdeps/i386/fpu/e_powl.S: Likewise.
26132 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26133 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26134 * sysdeps/i386/fpu/e_logl.S: Likewise.
26135 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26136 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26137 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26138 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26139 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26140 * sysdeps/i386/fpu/e_log.S: Likewise.
26141 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26142 * sysdeps/i386/fpu/e_logf.S: Likewise.
26143 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26144 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26145 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26146 * sysdeps/i386/fpu/e_log10.S: Likewise.
26147 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26148 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26149 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26150 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26151 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26152 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26153 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26154 * sysdeps/i386/i686/strtok.S: Likewise.
26155 * sysdeps/i386/i386-mcount.S: Likewise.
26156 * sysdeps/i386/strtok.S: Likewise.
26157 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26158 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26159 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26160 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26161 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26162 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26163 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26164 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26165 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26166 * sysdeps/x86_64/_mcount.S: Likewise.
26167 * sysdeps/x86_64/strtok.S: Likewise.
26168 * sysdeps/sh/_mcount.S: Likewise.
26169
261702012-08-01 Roland McGrath <roland@hack.frob.com>
26171
26172 * libio/iofopen.c: Include <fcntl.h>.
26173 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26174 (_IO_fopen64, fopen64): Define as aliases.
26175 * libio/iofopen64.c: Include <fcntl.h>.
26176 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26177 Conditionalize body on this.
26178 * sysdeps/wordsize-64/iofopen.c: File removed.
26179 * sysdeps/wordsize-64/iofopen64.c: File removed.
26180
261812012-08-01 Marek Polacek <polacek@redhat.com>
26182
26183 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26184 Use dlfcn directly instead of a variable.
26185 (binfmt-subdir): Do not define.
26186 (dlfcn): Likewise.
26187
261882012-08-01 Joseph Myers <joseph@codesourcery.com>
26189
26190 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26191 Remove all definitions.
26192 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26193 <kernel-features.h>.
26194 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26195 (miss_F_GETOWN_EX): Remove all definitions.
26196 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26197 macro definition.
26198 [!__ASSUME_FCNTL64]: Remove conditional code.
26199 [__ASSUME_FCNTL64]: Make code unconditional.
26200 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26201 <kernel-features.h>.
26202 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26203 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26204 (lockf64) [__NR_fcntl64]: Make code unconditional.
26205 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26206
26207 * sysdeps/unix/sysv/linux/kernel-features.h
26208 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26209 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26210 Make code unconditional.
26211 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26212 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26214 [__NR_vfork]: Make code unconditional.
26215 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26216 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26218 [__NR_vfork]: Make code unconditional.
26219 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26220 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26221
262222012-08-01 Roland McGrath <roland@hack.frob.com>
26223
26224 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26225 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26226
26227 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26228 Define mkstemp64 as an alias.
26229 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26230 Define mkstemps64 as an alias.
26231 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26232 Define mkostemp64 as an alias.
26233 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26234 Define mkostemps64 as an alias.
26235 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26236 Conditionalize body on this.
26237 * misc/mkostemp64.c: Likewise.
26238 * misc/mkostemps64.c: Likewise.
26239 * misc/mkstemps64.c: Likewise.
26240 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26241 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26242 * sysdeps/wordsize-64/mkostemp.c: File removed.
26243 * sysdeps/wordsize-64/mkstemp.c: File removed.
26244 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26245 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26246 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26247 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26248
26249 [BZ #14138]
26250 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26251 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26252 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26253 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26254
26255 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26256 compat_symbol macros from <shlib-compat.h> rather than the underlying
26257 default_symbol_version and symbol_version macros, so that DEFAULT
26258 lines in shlib-versions are respected.
26259 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26260
262612012-08-01 Florian Weimer <fweimer@redhat.com>
26262
26263 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26264 Declare with warn_unused_result.
26265 (setgid, setregid, setegid, setresgid): Likewise.
26266 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26267 Likewise.
26268 * WUR-REPORT: Remove set*id functions.
26269
262702012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26271
26272 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26273
262742012-07-31 Roland McGrath <roland@hack.frob.com>
26275
26276 [BZ #10191]
26277 * include/sys/socket.h (__libc_accept, __libc_accept4):
26278 Add attribute_hidden.
26279 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26280
26281 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26282 use of PTR_MANGLE.
26283 * inet/getnetgrent_r.c (setup): Likewise.
26284
26285 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26286
262872012-07-31 David S. Miller <davem@davemloft.net>
26288
26289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26290
262912012-07-31 Joseph Myers <joseph@codesourcery.com>
26292
26293 [BZ #13629]
26294 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26295 value between 1.0 and 2.0 and smaller part has absolute value less
26296 than 1.0.
26297 * math/s_clog10.c (__clog10): Likewise.
26298 * math/s_clog10f.c (__clog10f): Likewise.
26299 * math/s_clog10l.c (__clog10l): Likewise.
26300 * math/s_clogf.c (__clogf): Likewise.
26301 * math/s_clogl.c (__clogl): Likewise.
26302 * math/libm-test.inc (clog_test): Add more tests.
26303 (clog10_test): Likewise.
26304 * sysdeps/i386/fpu/libm-test-ulps: Update.
26305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26306
263072012-07-31 Florian Weimer <fweimer@redhat.com>
26308
26309 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26310 Exit with zero in case no suitable GID is found, and write a
26311 message to standard error.
26312
263132012-07-30 Roland McGrath <roland@hack.frob.com>
26314
26315 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26316 rather than to 1.
26317 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26318 (MAXPATHLEN): Removed.
26319 (NOGROUP, NODEV): New macros.
26320 (setbit, clrbit, isset, isclr): New macros.
26321 (howmany, roundup, powerof2): New macros.
26322 (DEV_BSIZE): New macro.
26323
26324 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26325 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26326
26327 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26328 definition on [!__NO_LONG_DOUBLE_MATH].
26329
26330 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26331 PTR_MANGLE and PTR_DEMANGLE.
26332
26333 * socket/accept4.c (accept4): Rename to __libc_accept4.
26334 Define accept4 as a weak alias.
26335
26336 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26337 on [_DIRENT_HAVE_D_TYPE].
26338 * io/ftw.c (ftw_dir): Likewise.
26339
26340 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26341
26342 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26343
26344 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26345 Use the BSD numbers rather than the arbitrary ones we had.
26346 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26347 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26348 (SIGXCPU, SIGXFSZ): New macros.
26349 (_NSIG): Now 32.
26350
26351 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26352 initializer on [_LIBC_REENTRANT].
26353
26354 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26355 definitions inside [_POSIX_MAPPED_FILES].
26356
26357 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26358
26359 * dirent/opendir.c: Include <fcntl.h>.
26360
26361 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26362 (__libc_getspecific): Likewise.
26363 (__libc_key_create): Likewise.
26364
26365 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26366 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26367 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26368 (tmpfile64): Define as alias.
26369 * sysdeps/wordsize-64/tmpfile.c: File removed.
26370 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26371 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26372 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26373
26374 * stdio-common/vfscanf.c: Include <stdbool.h>.
26375 * nss/makedb.c: Likewise.
26376 * stdio-common/_i18n_number.h: Likewise.
26377 * argp/argp-help.c: Likewise.
26378 * posix/wordexp.c: Likewise.
26379 * sysdeps/posix/spawni.c: Likewise.
26380 * nss/nss_files/files-initgroups.c: Likewise.
26381 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26382 * nss/nss_files/files-initgroups.c: Likewise.
26383 * nss/nss_db/db-netgrp.c: Likewise.
26384 * nss/nss_db/db-initgroups.c: Likewise.
26385 * io/fchmodat.c: Include <sys/stat.h>.
26386
26387 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26388 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26389
26390 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26391 [HAVE_MMAP].
26392
26393 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26394 Add multiple inclusion protection.
26395
263962012-07-27 David S. Miller <davem@davemloft.net>
26397
26398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26399
264002012-07-27 Gary Benson <gbenson@redhat.com>
26401
26402 [BZ #14298]
26403 * elf/rtld.c: Include <stap-probe.h>.
26404 (dl_main): Added static probes "init_start" and "init_complete".
26405 * elf/dl-load.c: Include <stap-probe.h>.
26406 (lose): Take new parameter "nsid".
26407 Added static probe "map_failed".
26408 (_dl_map_object_from_fd): Pass namespace id to lose.
26409 Added static probe "map_start".
26410 (open_verify): Pass namespace id to lose.
26411 * elf/dl-open.c: Include <stap-probe.h>.
26412 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26413 and "reloc_complete".
26414 * elf/dl-close.c: Include <stap-probe.h>.
26415 (_dl_close_worker): Added static probes "unmap_start" and
26416 "unmap_complete".
26417 * elf/rtld-debugger-interface.txt: New file documenting the above.
26418
264192012-07-26 Roland McGrath <roland@hack.frob.com>
26420
26421 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26422 rather than a string variable.
26423 * sunrpc/rpc_main.c (h_output): Likewise.
26424 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26425
264262012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26427
26428 * inet/check_native.c: New file.
26429
264302012-07-26 Joseph Myers <joseph@codesourcery.com>
26431
26432 [BZ #13629]
26433 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26434 if larger part has absolute value 1.0.
26435 * math/s_clog10.c (__clog10): Likewise.
26436 * math/s_clog10f.c (__clog10f): Likewise.
26437 * math/s_clog10l.c (__clog10l): Likewise.
26438 * math/s_clogf.c (__clogf): Likewise.
26439 * math/s_clogl.c (__clogl): Likewise.
26440 * math/libm-test.inc (clog_test): Add more tests.
26441 (clog10_test): Likewise.
26442 * sysdeps/i386/fpu/libm-test-ulps: Update.
26443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26444
26445 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26446 (pltexit): Likewise.
26447 (La_regs): Likewise.
26448 (La_retval): Likewise.
26449 (int_retval): Likewise.
26450 Update #error for removed macros to refer only to definitions in
26451 tst-audit.h.
26452 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26453 macro.
26454 (pltexit): Likewise.
26455 (La_regs): Likewise.
26456 (La_retval): Likewise.
26457 (int_retval): Likewise.
26458 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26459 macro.
26460 (pltexit): Likewise.
26461 (La_regs): Likewise.
26462 (La_retval): Likewise.
26463 (int_retval): Likewise.
26464 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26465 macro.
26466 (pltexit): Likewise.
26467 (La_regs): Likewise.
26468 (La_retval): Likewise.
26469 (int_retval): Likewise.
26470 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26471 macro.
26472 (pltexit): Likewise.
26473 (La_regs): Likewise.
26474 (La_retval): Likewise.
26475 (int_retval): Likewise.
26476 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26477 macro.
26478 (pltexit): Likewise.
26479 (La_regs): Likewise.
26480 (La_retval): Likewise.
26481 (int_retval): Likewise.
26482 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26483 macro.
26484 (pltexit): Likewise.
26485 (La_regs): Likewise.
26486 (La_retval): Likewise.
26487 (int_retval): Likewise.
26488 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26489 macro definitions in tst-audit.h.
26490 * sysdeps/i386/tst-audit.h: New file.
26491 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26492 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26493 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26494 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26495 * sysdeps/sh/tst-audit.h: Likewise.
26496 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26497 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26498 * sysdeps/x86_64/tst-audit.h: Likewise.
26499
265002012-07-26 Andreas Jaeger <aj@suse.de>
26501
26502 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26503 ptrace.
26504
26505 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26506 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26507 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26508 PTRACE_O_MASK.
26509 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26510 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26511 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26512
26513 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26514 value.
26515
26516 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26517 _sigsys.
26518 (si_call_addr, si_syscall, si_arch): Define new macro.
26519 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26520 _sigsys.
26521 (si_call_addr, si_syscall, si_arch): Define new marcro.
26522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26523 _sigsys.
26524 (si_call_addr, si_syscall, si_arch): Define new macro.
26525 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26526 _sigsys.
26527 (si_call_addr, si_syscall, si_arch): Define new macro.
26528
265292012-07-25 Joseph Myers <joseph@codesourcery.com>
26530
26531 [BZ #13717]
26532 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26533 Change to 2.4.21 where previously 2.4.1.
26534 * sysdeps/unix/sysv/linux/configure: Regenerated.
26535 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26536 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26537 Linux kernel version.
26538 (__ASSUME_STD_AUXV): Remove.
26539 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26540 kernel version.
26541 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26542 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26543 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26544 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26545 (__ASSUME_NETLINK_SUPPORT): Likewise.
26546 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26547 (__no_netlink_support): Remove conditional definition.
26548 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26549 Remove.
26550 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26551 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26552 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26553 (if_nameindex_ioctl): Remove.
26554 (if_nameindex_netlink): Do not handle __no_netlink_support.
26555 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26556 code.
26557 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26558 Remove conditional code.
26559 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26560 code.
26561 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26562 unconditional.
26563 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26564 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26565 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26566 Remove.
26567 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26568 [!__ASSUME_STD_AUXV]: Remove conditional code.
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26570 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26571 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26573 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26574 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26575 code.
26576 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26578 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26579 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26580 conditional code.
26581 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26583 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26584 code.
26585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26586 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26587 conditional code.
26588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26589 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26590 code unconditional.
26591 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26592 conditional code.
26593 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26594 unconditional.
26595 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26596 conditional code.
26597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26598 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26599 unconditional.
26600 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26601 conditional code.
26602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26603 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26604 code unconditional.
26605 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26606 conditional code.
26607 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26608 unconditional.
26609 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26610 conditional code.
26611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26612 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26613 code unconditional.
26614 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26615 conditional code.
26616 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26617 unconditional.
26618 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26619 conditional code.
26620
266212012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26622
26623 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26624 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26625 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26626 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26627 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26628 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26629 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26630 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26631 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26632 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26633 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26634 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26635 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26636 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26637 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26638 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26639 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26640 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26641 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26643 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26644 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26645 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26646
266472012-07-25 Florian Weimer <fweimer@redhat.com>
26648
26649 * Versions.def: Add GLIBC_2.17.
26650 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26651 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26652 Introduce __libc_secure_getenv.
26653 * stdlib/Versions (2.17): Add secure_getenv
26654 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26655 * stdlib/secure-getenv.c: Rename __secure_getenv to
26656 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26657 symbol __secure_getenv for GLIBC_2.0.
26658 * stdlib/tst-secure-getenv.c: New.
26659 * stdlib/Makefile (tests): Add testcase.
26660 * manual/startup.texi (Environment Access): Document
26661 secure_getenv.
26662 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26663 __libc_secure_getenv.
26664 * inet/ruserpass.c (ruserpass): Likewise.
26665 * malloc/mtrace.c (mtrace): Likewise.
26666 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26667 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26668 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26669 * sysdeps/posix/tempname.c: Likewise. Evaluate
26670 HAVE_SECURE_GETENV.
26671 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26672 __secure_getenv to __libc_secure_getenv.
26673 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26675 Likewise.
26676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26677 Likewise.
26678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26685
266862012-07-25 Joseph Myers <joseph@codesourcery.com>
26687
26688 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26689 (struct La_i86_retval): Likewise.
26690 (struct La_x86_64_regs): Likewise.
26691 (struct La_x86_64_retval): Likewise.
26692 (struct La_x32_regs): Likewise.
26693 (struct La_x32_retval): Likewise.
26694 (struct La_ppc32_regs): Likewise.
26695 (struct La_ppc32_retval): Likewise.
26696 (struct La_ppc64_regs): Likewise.
26697 (struct La_ppc64_retval): Likewise.
26698 (struct La_sh_regs): Likewise.
26699 (struct La_sh_retval): Likewise.
26700 (struct La_s390_32_regs): Likewise.
26701 (struct La_s390_32_retval): Likewise.
26702 (struct La_s390_64_regs): Likewise.
26703 (struct La_s390_64_retval): Likewise.
26704 (struct La_sparc32_regs): Likewise.
26705 (struct La_sparc32_retval): Likewise.
26706 (struct La_sparc64_regs): Likewise.
26707 (struct La_sparc64_retval): Likewise.
26708 (struct audit_ifaces): Remove architecture-specific pltenter and
26709 pltexit members.
26710 * sysdeps/i386/ldsodefs.h: New file.
26711 * sysdeps/powerpc/ldsodefs.h: Likewise.
26712 * sysdeps/s390/ldsodefs.h: Likewise.
26713 * sysdeps/sh/ldsodefs.h: Likewise.
26714 * sysdeps/sparc/ldsodefs.h: Likewise.
26715 * sysdeps/x86_64/ldsodefs.h: Likewise.
26716
267172012-07-25 Marek Polacek <polacek@redhat.com>
26718
26719 [BZ #6808]
26720 * math/libm-test.inc (yn_test): Add another test.
26721 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26722 to ERANGE when the result is +-Inf.
26723 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26724 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26725 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26726 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26727
267282012-07-24 Joseph Myers <joseph@codesourcery.com>
26729
26730 * conform/data/time.h-data (NULL): Use macro-constant. Require
26731 equal to 0.
26732 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26733 clock_t.
26734 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26735
267362012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26737
26738 * configure.in <sysdeps resolving>: Correct printing
26739 Implies_before.
26740 * configure: Regenerate.
26741
267422012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26743
26744 * math/w_ilogb.c: Include <limits.h>.
26745 * math/w_ilogbl.c: Likewise.
26746
267472012-07-20 Joseph Myers <joseph@codesourcery.com>
26748
26749 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26750 va_copy. Document allowing for unavailable va_copy only as
26751 pre-C99 compatibility.
26752 * manual/string.texi (Copying and Concatenation): Use va_copy
26753 instead of __va_copy in concat example.
26754
267552012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26756
26757 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26758 (__sendto): Use create_address_port. Initialize APORT and deallocate
26759 it if not null.
26760
26761 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26762 with O_NOLINK passed to __file_name_lookup.
26763
26764 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26765 with O_NOLINK passed to __file_name_lookup.
26766
26767 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26768 negative N or less than NGIDS.
26769
26770 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26771 type to string_t. Set ERANGE as errno and return it if NAME is not big
26772 enough. Use memcpy instead of strncpy.
26773
267742012-07-20 Joseph Myers <joseph@codesourcery.com>
26775
26776 * elf/Makefile (check-data): Remove.
26777 (localplt.data): New vpath directive.
26778 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26779 instead of $(check-data).
26780 * scripts/data/localplt-generic.data: Move to ...
26781 * sysdeps/generic/localplt.data: ... here.
26782 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26783 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26784 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26786 ... here.
26787 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26789 ... here.
26790 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26792 ... here.
26793 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26795 ... here.
26796 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26798 ... here.
26799 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26801 ... here.
26802
268032012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26804
26805 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26806 PPC32 and PPC64 files.
26807 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26808 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26809
268102012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26811
26812 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26813 __makecontext_ret to ...
26814 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26815 ... here and call exit if uc_link is NULL. New file.
26816 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26817 __makecontext_ret.S.
26818 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26819 __makecontext_ret to ...
26820 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26821 ... here and call exit if uc_link is NULL. New file.
26822 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26823 __makecontext_ret.S.
26824
268252012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26826
26827 * elf/elf.h (R_390_IRELATIVE): New definition.
26828 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26829 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26830 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26831 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26832 (elf_machine_lazy_rel): Likewise.
26833 * sysdeps/s390/dl-irel.h: New file.
26834 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26835 * sysdeps/s390/s390-64/memset.S: New asm code.
26836 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26837 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26838 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26839 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26840 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26841 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26842 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26843 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26844 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26845 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26846 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26847 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26848 * sysdeps/s390/s390-32/memset.S: New asm code.
26849 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26850
268512012-07-17 Marek Polacek <polacek@redhat.com>
26852
26853 [BZ #14349]
26854 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26855 * sysdeps/s390/s390-64/configure.in: Likewise.
26856 * sysdeps/sparc/configure.in: Likewise.
26857 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26858 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26859 * sysdeps/i386/configure.in: Likewise.
26860 * sysdeps/x86_64/configure.in: Likewise.
26861 * sysdeps/sh/configure.in: Likewise.
26862 * sysdeps/s390/s390-32/configure: Regenerated.
26863 * sysdeps/s390/s390-64/configure: Likewise.
26864 * sysdeps/x86_64/configure: Likewise.
26865 * sysdeps/sh/configure: Likewise.
26866 * sysdeps/powerpc/powerpc64/configure: Likewise.
26867 * sysdeps/powerpc/powerpc32/configure: Likewise.
26868 * sysdeps/sparc/configure: Likwise.
26869 * sysdeps/i386/configure: Likewise.
26870
26871 * elf/dl-open.c: Comment fixes.
26872
268732012-07-17 Joseph Myers <joseph@codesourcery.com>
26874
26875 * Makefile [CXX] (check-data): Remove.
26876 [CXX] (c++-types.data): New vpath directive.
26877 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26878 vpath. Do not allow for C++ type data being missing.
26879 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26880 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26881 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26882 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26883 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26884 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26885 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26887 ... here.
26888 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26890 ... here.
26891 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26893 ... here.
26894 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26896 ... here.
26897 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26899 ... here.
26900 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26902 ... here.
26903 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26905 ... here.
26906 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26908
26909 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26910 definitions to architecture-specific files.
26911 (TLS_IE): Likewise.
26912 (TLS_LD): Likewise.
26913 (TLS_GD): Likewise.
26914 * sysdeps/i386/tls-macros.h: New file.
26915 * sysdeps/powerpc/tls-macros.h: Likewise.
26916 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26917 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26918 * sysdeps/sh/tls-macros.h: Likewise.
26919 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26920 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26921 * sysdeps/x86_64/tls-macros.h: Likewise.
26922
269232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26924
26925 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26926 zero value for regular exit case.
26927
26928 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26929 (__start_context): Preserve zero value for regular exit case.
26930
269312012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26932 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26933
26934 * manual/setjmp.texi (setcontext): Clarify normal process
26935 termination when uc_link is the null pointer.
26936 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26937 exit call.
26938
269392012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26940
26941 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26942 preprocessor. Test for each exception mask separately.
26943
269442012-07-16 Andreas Jaeger <aj@suse.de>
26945
26946 * po/ru.po: Update from translation team.
26947
269482012-07-15 Joseph Myers <joseph@codesourcery.com>
26949
26950 * conform/data/string.h-data (NULL): Use macro-constant. Require
26951 equal to 0.
26952 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26953 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26954 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26955 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26956 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26957
269582012-07-13 Andreas Jaeger <aj@suse.de>
26959
26960 * po/fr.po: Update from translation team.
26961
269622012-07-12 Marek Polacek <polacek@redhat.com>
26963
26964 [BZ #14173]
26965 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26966 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26967 loop condition.
26968
269692012-07-12 Joseph Myers <joseph@codesourcery.com>
26970
26971 [BZ #13717]
26972 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26973 Change to 2.4.1 where previously 2.4.0.
26974 * sysdeps/unix/sysv/linux/configure: Regenerated.
26975 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26976 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26977 version.
26978 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26979 (__ASSUME_AT_CLKTCK): Remove.
26980 (__ASSUME_AT_PAGESIZE): Likewise.
26981 (__ASSUME_AT_XID): Likewise.
26982 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26983 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26984 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26985 unconditionally.
26986 (HAVE_AUX_PAGESIZE): Likewise.
26987 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26988 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26989 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26990
269912012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26992
26993 [BZ #14307]
26994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26995 the temporary buffer used to invoke __gethostbyname2_r,
26996 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26997 host_data / struct gaih_addrtuple.
26998 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26999 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27000 header file nss/nsswitch.h.
27001 * nss/nsswitch.h (global scope): Add definition of implementation
27002 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27003 resolv/nss_dns/dns-host.c).
27004
270052012-07-11 Andreas Jaeger <aj@suse.de>
27006
27007 * po/fr.po: Update from translation team.
27008
27009 * po/sv.po: Update from translation team
27010 * po/fr.po: Another update from translation team.
27011
270122012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27013
27014 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27015 for subnormals or multiply small sinh result by itself.
27016 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27018
270192012-07-11 David S. Miller <davem@davemloft.net>
27020
27021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27022
270232012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27024
27025 [BZ #14347]
27026 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27027 (INTERNAL_MARK): Shift it here.
27028
270292012-07-10 Marek Polacek <polacek@redhat.com>
27030
27031 [BZ #14151]
27032 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27033 libc_cv_asm_global_directive with .globl.
27034 * configure: Regenerated.
27035 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27036 with .globl.
27037 * sysdeps/i386/configure: Regenerated.
27038 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27039 with .globl.
27040 * sysdeps/x86_64/configure: Regenerated.
27041 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27042 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27043 * elf/tst-unique2mod2.c: Likewise.
27044 * elf/tst-unique2mod1.c: Likewise.
27045 * elf/tst-unique1mod2.c: Likewise.
27046 * elf/tst-unique1mod1.c: Likewise.
27047 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27048 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27049 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27050 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27051 * sysdeps/mach/sysdep.h: Likewise.
27052 * sysdeps/i386/sysdep.h: Likewise.
27053 * sysdeps/i386/i386-mcount.S: Likewise.
27054 * sysdeps/x86_64/_mcount.S: Likewise.
27055 * sysdeps/x86_64/sysdep.h: Likewise.
27056 * sysdeps/sh/_mcount.S: Likewise.
27057 * sysdeps/sh/sysdep.h: Likewise.
27058 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27059 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27060 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27061 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27062 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27063 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27064 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27065 * locale/localeinfo.h: Likewise.
27066 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27067 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27068
270692012-07-09 Roland McGrath <roland@hack.frob.com>
27070
27071 [BZ #14336]
27072 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27073 system".
27074 * manual/message.texi (The Uniforum approach): Likewise.
27075 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27076 (glibc iconv Implementation): Likewise.
27077
270782012-07-09 Joseph Myers <joseph@codesourcery.com>
27079
27080 [BZ #14337]
27081 * math/s_clog.c (__clog): Avoid scaling a value down where that
27082 could result in underflow.
27083 * math/s_clog10.c (__clog10): Likewise.
27084 * math/s_clog10f.c (__clog10f): Likewise.
27085 * math/s_clog10l.c (__clog10l): Likewise.
27086 * math/s_clogf.c (__clogf): Likewise.
27087 * math/s_clogl.c (__clogl): Likewise.
27088 * math/libm-test.inc (clog_test): Add more tests.
27089 (clog10_test): Likewise.
27090 * sysdeps/i386/fpu/libm-test-ulps: Update.
27091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27092
270932012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27094
27095 [BZ #14283]
27096 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27097 by 7 not 8 to examine high bit of fractional part.
27098
27099 [BZ #14042]
27100 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27101 for call to __mcount_internal.
27102 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27103 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27104 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27105
271062012-07-06 Joseph Myers <joseph@codesourcery.com>
27107
27108 [BZ #14154]
27109 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27110 approximation for values within 0x1p-13f of an odd multiple of
27111 pi/4.
27112 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27113 exception. Add more tests.
27114 * sysdeps/i386/fpu/libm-test-ulps: Update.
27115
27116 [BZ #6778]
27117 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27118 inputs and return -1 for them. Do not check for +Inf in case not
27119 reachable for +Inf.
27120 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27121 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27122 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27123 and return -1 for them. Do not check for +Inf in case not
27124 reachable for +Inf.
27125 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27126 define.
27127 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27128 and return -1 for them. Do not check for +Inf in case not
27129 reachable for +Inf.
27130 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27131 spurious underflow.
27132 * sysdeps/i386/fpu/libm-test-ulps: Update.
27133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27134
271352012-07-06 Mike Frysinger <vapier@gentoo.org>
27136
27137 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27138
271392012-07-05 Joseph Myers <joseph@codesourcery.com>
27140
27141 [BZ #14157]
27142 [BZ #14331]
27143 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27144 could result in spurious underflow. Scale down values above
27145 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27146 * math/s_csqrtf.c (__csqrtf): Likewise.
27147 * math/s_csqrtl.c (__csqrtl): Likewise.
27148 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27149 spurious underflow.
27150 * sysdeps/i386/fpu/libm-test-ulps: Update.
27151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27152
271532012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27154
27155 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27156 xopen-msg.sed.
27157 * catgets/xopen-msg.awk: New file.
27158 * catgets/xopen-msg.sed: Removed.
27159
27160 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27161 po2text.sed.
27162 * intl/po2test.awk: New file.
27163 * intl/po2test.sed: Removed.
27164
271652012-07-04 Joseph Myers <joseph@codesourcery.com>
27166
27167 [BZ #14328]
27168 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27169 or multiply small sinh result by itself.
27170 * math/s_ctanf.c (__ctanf): Likewise.
27171 * math/s_ctanh.c (__ctanh): Likewise.
27172 * math/s_ctanhf.c (__ctanhf): Likewise.
27173 * math/s_ctanhl.c (__ctanhl): Likewise.
27174 * math/s_ctanl.c (__ctanl): Likewise.
27175 * math/libm-test.inc (ctan_test_tonearest): New function.
27176 (ctan_test_towardzero): Likewise.
27177 (ctan_test_downward): Likewise.
27178 (ctan_test_upward): Likewise.
27179 (ctanh_test_tonearest): Likewise.
27180 (ctanh_test_towardzero): Likewise.
27181 (ctanh_test_downward): Likewise.
27182 (ctanh_test_upward): Likewise.
27183 (main): Call these new functions.
27184 * sysdeps/i386/fpu/libm-test-ulps: Update.
27185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27186
271872012-07-03 Mike Frysinger <vapier@gentoo.org>
27188
27189 * .gitignore: Delete /ports entry.
27190
271912012-07-03 Andreas Jaeger <aj@suse.de>
27192
27193 * po/bg.po: Update from translation team.
27194 * po/cs.po: Likewise.
27195 * po/de.po: Likewise.
27196 * po/hr.po: Likewise.
27197 * po/nl.pl: Likewise.
27198 * po/pl.po: Likewise.
27199 * po/vi.po: Likewise.
27200
272012012-07-03 Joseph Myers <joseph@codesourcery.com>
27202
27203 * Makeconfig [!+link] (+link-before-libc): New variable.
27204 [!+link] (+link-after-libc): Likewise.
27205 [!+link] (+link-tests): Likewise.
27206 [!+link] (+link): Define in terms of $(+link-before-libc) and
27207 $(+link-after-libc).
27208 [!+link-static] (+link-static-before-libc): New variable.
27209 [!+link-static] (+link-static-after-libc): Likewise.
27210 [!+link-static] (+link-static-tests): Likewise.
27211 [!+link-static] (+link-static): Define in terms of
27212 $(+link-static-before-libc) and $(+link-static-after-libc).
27213 [build-shared] (link-libc-before-gnulib): New variable.
27214 [build-shared] (link-libc-tests): Likewise.
27215 [build-shared] (link-libc): Define in terms of
27216 $(link-libc-before-gnulib).
27217 [!build-shared] (link-libc-tests): New variable.
27218 (link-libc-static-tests): New variable.
27219 [!gnulib] (gnulib-arch): New variable.
27220 [!gnulib] (gnulib-tests): Likewise.
27221 [!gnulib] (static-gnulib-arch): Likewise.
27222 [!gnulib] (static-gnulib-tests): Likewise.
27223 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27224 Define with "=" instead of ":=".
27225 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27226 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27227 * Rules (binaries-all-notests): New variable.
27228 (binaries-all-tests): Likewise.
27229 (binaries-static-notests): Likewise.
27230 (binaries-static-tests): Likewise.
27231 (binaries-all): Define using $(binaries-all-notests) and
27232 $(binaries-all-tests).
27233 (binaries-static): Define using $(binaries-static-notests) and
27234 $(binaries-static-tests).
27235 (binaries-shared-tests): New variable.
27236 (binaries-shared-notests): Likewise.
27237 (binaries-shared): Remove variable.
27238 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27239 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27240 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27241 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27242 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27243 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27244 * elf/Makefile (sln-modules): New variable.
27245 (extra-objs): Add $(sln-modules:=.o).
27246 (ldconfig-modules): Add static-stubs.
27247 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27248 * elf/static-stubs.c: New file.
27249
27250 [BZ #14283]
27251 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27252 by 7 not 8 to examine high bit of fractional part. Use volatile
27253 variables when splitting into final array of floats if
27254 __FLT_EVAL_METHOD__ != 0.
27255 * math/libm-test.inc (cos_test): Add another test.
27256 (sin_test): Likewise.
27257 * sysdeps/i386/fpu/libm-test-ulps: Update.
27258
27259 [BZ #14273]
27260 * math/libm-test.inc (cosh_test): Add more tests.
27261
27262 * version.h (RELEASE): Set to "development".
27263 (VERSION): Set to "2.16.90".
27264
272652012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27266
27267 * NEWS: Update copyright. Remove last-updated date.
27268 Mention math library bug fixes and timezone data changes.
27269 * README: Mention GNU/Hurd, x32, and HPPA support status.
27270
272712012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27272
27273 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27274
272752012-06-27 Andreas Jaeger <aj@suse.de>
27276
27277 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27278
272792012-06-25 Andreas Jaeger <aj@suse.de>
27280
27281 * sysdeps/s390/fpu/libm-test-ulps: Update.
27282
272832012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27284 Thomas Schwinge <thomas@codesourcery.com>
27285
27286 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27287 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27288 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27289 fanotify_mark.
27290
272912012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27292
27293 * sysdeps/mach/start.c: Remove file.
27294 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27295 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27296 * sysdeps/sh/init-first.c: Likewise.
27297
27298 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27299 registers for frame unwinding purposes, add CFI directives.
27300 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27301 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27302 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27303 Likewise.
27304
27305 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27306 __fortify_fail returning.
27307 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27308
27309 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27310 sysdeps/sh/____longjmp_chk.S.
27311 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27312 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27313 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27314 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27315
27316 * sysdeps/sh/abort-instr.h: New file.
27317 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27318 process in case exit returns.
27319
27320 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27321 initialize the GOT register before use.
27322
27323 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27324 calculation of ARGC > 4.
27325
27326 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27327 meaningful names to some local labels.
27328
273292012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27330 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27331
27332 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27333 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27334 (__arch_compare_and_exchange_val_16_acq): Likewise.
27335 (__arch_compare_and_exchange_val_32_acq): Likewise.
27336 (atomic_exchange_and_add): Fix gUSA sequence.
27337 (atomic_add): Likewise.
27338 (atomic_add_negative): Likewise.
27339 (atomic_add_zero): Likewise.
27340 (atomic_bit_test_set): Likewise.
27341
273422012-06-22 Andreas Schwab <schwab@redhat.com>
27343
27344 [BZ #13579]
27345 * include/link.h (struct link_map): Add l_free_initfini.
27346 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27347 l_initfini.
27348 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27349 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27350 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27351 set.
27352
273532012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27354
27355 * configure.in: Use AC_LANG_SOURCE.
27356 * configure: Regenerate.
27357
273582012-06-22 Roland McGrath <roland@hack.frob.com>
27359
27360 * configure.in (libc_cv_localstatedir): New substituted variable.
27361 * configure: Regenerated.
27362 * config.make.in (localstatedir): New variable, substituted from
27363 libc_cv_localstatedir.
27364 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27365 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27366 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27367 * sysdeps/gnu/configure: Regenerated.
27368
273692012-06-21 Jeff Law <law@redhat.com>
27370
27371 [BZ #14277]
27372 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27373 free. Simplify list management for _LIBC case.
27374
273752012-06-21 Joseph Myers <joseph@codesourcery.com>
27376
27377 [BZ #14273]
27378 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27379 Clear sign bit of 64-bit integer value before comparing against
27380 overflow value.
27381
27382 * sysdeps/mach/configure: Regenerated.
27383
273842012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27385
27386 [BZ #14278]
27387 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27388
273892012-06-21 Jeff Law <law@redhat.com>
27390
27391 [BZ #13882]
27392 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27393 uint16_t for elements in the "seen" array to avoid char overflows.
27394 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27395 * elf/dl-open.c (dl_open_worker): Likewise.
27396
273972012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27398
27399 * scripts/list-sources.sh: Scan PORTS for translations.
27400 * po/libc.pot: Regenerated.
27401
274022012-06-21 Andreas Jaeger <aj@suse.de>
27403
27404 [BZ #12194]
27405 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27406 warning.
27407 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27408 * bits/byteswap-16.h (__bswap_16): Likewise.
27409 * bits/byteswap.h (__bswap_constant_16): Likewise.
27410
274112012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27412
27413 [BZ #14117]
27414 * sysdeps/i386/fpu_control.h: Removed.
27415 * sysdeps/x86_64/fpu_control.h: Moved to ...
27416 * sysdeps/x86/fpu_control.h: Here.
27417
27418 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27419 (_FPU_SETCW): Likewise.
27420
274212012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27422
27423 [BZ #14117]
27424 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27425 * sysdeps/x86/fpu/bits/mathinline.h: This.
27426 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27427
27428 [BZ #14050]
27429 [BZ #14117]
27430 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27431 functions if __x86_64__ is defined.
27432
274332012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27434
27435 * string/endian.h: Add !__ASSEMBLER__ condition for including
27436 conversion interfaces.
27437
274382012-06-15 Joseph Myers <joseph@codesourcery.com>
27439
27440 [BZ #14241]
27441 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27442 of ABS(x) in calculating zero to negative powers other than odd
27443 integers.
27444 * math/libm-test.inc (pow_test): Add more tests.
27445
274462012-06-15 Andreas Jaeger <aj@suse.de>
27447
27448 * manual/contrib.texi (Contributors): Update entry of Liubov
27449 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27450 Machado Filho.
27451
274522012-06-15 Cyril Hrubis <metan@ucw.cz>
27453
27454 * string/string.h: Add __wur to GNU version of strerror_r.
27455
274562012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27457
27458 [BZ #14229]
27459 * string/Makefile (tests): Add tst-strtok_r.
27460 * string/tst-strtok_r.c: New file.
27461 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27462 RAX_LP/RDX_LP on SAVE_PTR.
27463
274642012-06-14 Roland McGrath <roland@hack.frob.com>
27465
27466 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27467
274682012-06-14 Joseph Myers <joseph@codesourcery.com>
27469
27470 * libm_test.inc (csqrt_test): Allow more spurious underflow
27471 exceptions.
27472 (j0_test): Likewise.
27473 (j1_test): Likewise.
27474 (y0_test): Likewise.
27475 (y1_test): Likewise.
27476
274772012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27478
27479 * po/Makefile (libc.pot): Use UTF-8 charset.
27480
274812012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27482
27483 [BZ #14210]
27484 Suppress sign-conversion warning from FD_SET.
27485 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27486 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27487 not unsigned long int.
27488 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27489
274902012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27491
27492 [BZ #14050]
27493 [BZ #14117]
27494 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27495 __extern_always_inline instead of __extern_inline.
27496 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27497 (__signbit): Likewise.
27498 (__signbitl): Support C++ namespace.
27499 (lrintf): New inline function.
27500 (lrint): Likewise.
27501 (llrintf): Likewise.
27502 (llrint): Likewise.
27503 (fmaxf): Likewise.
27504 (fmax): Likewise.
27505 (fminf): Likewise.
27506 (fmin): Likewise.
27507 (rint): Likewise.
27508 (rintf): Likewise.
27509 (ceil): Likewise.
27510 (ceilf): Likewise.
27511 (floor): Likewise.
27512 (floorf): Likewise.
27513 (nearbyint): Likewise.
27514 (nearbyintf): Likewise.
27515
275162012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27517
27518 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27519 non-default versions.
27520
275212012-06-11 Roland McGrath <roland@hack.frob.com>
27522
27523 [BZ #14218]
27524 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27525
275262012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27527
27528 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27529 (FE_UPWARD, FE_DOWNWARD): Don't define.
27530 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27531 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27532
27533 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27534 reading it.
27535 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27536 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27537
275382012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27539
27540 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27542 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27543 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27544
275452012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27546
27547 [BZ #14117]
27548 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27549 * sysdeps/i386/fpu/Implies: New file.
27550 * sysdeps/x86_64/fpu/Implies: Likewise.
27551 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27552 * sysdeps/x86/fpu/bits/fenv.h: This.
27553
27554 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27555 __SSE_MATH__.
27556
275572012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27558
27559 [BZ #14134]
27560 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27561 character 0xffff that matches the last element of the
27562 conversion table.
27563
275642012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27565
27566 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27567 fmodl commit.
27568
275692012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27570
27571 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27572 values higher than 25.6283.
27573
275742012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27575
27576 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27577 subnormal exponent extraction and add some __builtin_expect.
27578 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27579 Fix for subnormal mantissa calculation.
27580
275812012-06-04 Mike Frysinger <vapier@gentoo.org>
27582
27583 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27584 cpu2 is -1 and errno is not ENOSYS.
27585
275862012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27587
27588 [BZ #14117]
27589 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27590 * sysdeps/x86/bits/string.h: This.
27591 * sysdeps/x86_64/bits/string.h: Removed.
27592
27593 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27594 if not compiling for x86-64, but compiling for >= i486.
27595
27596 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27597 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27598
27599 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27600 New macro from Linux kernel 3.4.0.
27601 (FP_XSTATE_MAGIC2): Likewise.
27602 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27603 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27604 (struct _fpx_sw_bytes): New struct.
27605 (struct _xsave_hdr): Likewise.
27606 (struct _ymmh_state): Likewise.
27607 (struct _xstate): Likewise.
27608
27609 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27610 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27611 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27612 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27613 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27614 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27615
27616 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27617 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27618 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27619 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27620 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27621 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27622
276232012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27624
27625 [BZ #13743]
27626 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27627 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27628 (sysdep_headers): Include sys/platform/ppc.h.
27629 * sysdeps/powerpc/test-gettimebase.c: Test for
27630 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27631 * manual/Makefile (appendices): Include platform.texi.
27632 * manual/contrib.texi (Contributors): Update @node pointers.
27633 * manual/maint.texi (Maintenance): Likewise.
27634 (Platform): New node.
27635 * manual/platform.texi: New file. Document the new features.
27636
276372012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27638 Jakub Jelinek <jakub@redhat.com>
27639
27640 [BZ #14188]
27641 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27642 where __builtin_expect is unavailable.
27643
276442012-06-03 David S. Miller <davem@davemloft.net>
27645
27646 * stdlib/longlong.h: Updated from GCC.
27647
276482012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27649
27650 [BZ #14042]
27651 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27652 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27653 __mcount_internal.
27654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27655 (GLIBC_2.16): Likewise.
27656
276572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27658
27659 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27660
276612012-06-01 Joseph Myers <joseph@codesourcery.com>
27662
27663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27664 (default-abi): New variable.
27665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27666 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27667 variable.
27668 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27669 Likewise.
27670 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27671 Likewise.
27672 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27673 Likewise.
27674
27675 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27676 definition. Document in comment.
27677
276782012-06-01 David S. Miller <davem@davemloft.net>
27679
27680 * stdlib/longlong.h: Updated from GCC.
27681
276822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27683
27684 [BZ #14117]
27685 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27686 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27687 sys/debugreg.h sys/io.h here.
27688 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27689 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27690 sys/io.h.
27691 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27692 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27693 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27694 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27695 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27696 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27697
27698 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27699 Define only if __x86_64__ is defined.
27700
277012012-06-01 Joseph Myers <joseph@codesourcery.com>
27702
27703 [BZ #14048]
27704 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27705 Use int64_t for variable i.
27706 * math/libm-test.inc (fmod_test): Add more tests.
27707
27708 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27709 z computation is not scheduled after fetestexcept.
27710 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27711 Use math_force_eval instead of asm to ensure calculation scheduled
27712 before exception test.
27713 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27714 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27715
277162012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27717
27718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27719 computation is not scheduled after fetestexcept.
27720
277212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27722
27723 [BZ #14117]
27724 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27725 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27726
277272012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27728
27729 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27730 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27731
277322012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27733
27734 [BZ #14117]
27735 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27736 <bits/wordsize.h>.
27737 (__WCHAR_MIN): Support __WORDSIZE == 64.
27738 (__WCHAR_MAX): Likewise.
27739
27740 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27741 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27742
27743 [BZ #14183]
27744 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27745 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27746
27747 [BZ #14117]
27748 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27749 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27750
27751 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27752 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27753
27754 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27755 Defined to 1 if __x86_64__ isn't defined.
27756 (_STAT_VER_LINUX_OLD): New.
27757 (st_atime): Remove duplicate.
27758 (st_mtime): Likewise.
27759 (st_ctime): Likewise.
27760
277612012-05-31 David S. Miller <davem@davemloft.net>
27762
27763 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27764 entries.
27765
277662012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27767
27768 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27769 gen-libm-test.pl.
27770
27771 [BZ #14132]
27772 * elf/dl-reloc.c: Include <_itoa.h>.
27773 (_dl_reloc_bad_type): Remove use of INTUSE.
27774 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27775 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27776 * stdio-common/psiginfo.c (psiginfo): Likewise.
27777 * stdio-common/psignal.c (psignal): Likewise.
27778 * string/strsignal.c (strsignal): Likewise.
27779 * include/signal.h (_sys_siglist): Declare hidden proto.
27780 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27781 INTVARDEF with libc_hidden_data_def.
27782 * stdio-common/itoa-udigits.c: Likewise.
27783 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27784 (_itoa_lower_digits_internal): Remove declaration.
27785 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27786 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27787 (_sys_sigabbrev_internal): Remove aliases.
27788 (_sys_siglist): Define hidden alias.
27789
277902012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27791
27792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27793 bits/sysctl.h.
27794
277952012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27796
27797 [BZ #14117]
27798 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27799 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27800
27801 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27802 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27803 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27804 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27805 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27806 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27807
27808 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27809 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27810 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27811
27812 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27813 with __addr.
27814 (insw): Likewise.
27815 (insl): Likewise.
27816 (outsb): Likewise.
27817 (outsw): Likewise.
27818 (outsl): Likewise.
27819
27820 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27821 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27822 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27823
27824 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27825 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27826 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27827 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27828 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27829 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27830
27831 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27832 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27833
27834 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27835 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27836
27837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27838 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27839 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27840
27841 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27842 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27843 to ...
27844 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27845
27846 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27847 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27848 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27849
27850 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27851 for x86-64.
27852 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27853
278542012-05-31 Joseph Myers <joseph@codesourcery.com>
27855
27856 * math/math.h (M_El): Use two more decimal places.
27857 (M_LOG2El): Likewise.
27858 (M_LOG10El): Likewise.
27859 (M_LN2l): Likewise.
27860 (M_LN10l): Likewise.
27861 (M_PIl): Likewise.
27862 (M_PI_2l): Likewise.
27863 (M_PI_4l): Likewise.
27864 (M_1_PIl): Likewise.
27865 (M_2_PIl): Likewise.
27866 (M_2_SQRTPIl): Likewise.
27867 (M_SQRT2l): Likewise.
27868 (M_SQRT1_2l): Likewise.
27869
278702012-05-31 David S. Miller <davem@davemloft.net>
27871
27872 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27873 values between float registers.
27874 * sysdeps/sparc/sparc64/memset.S: Likewise.
27875 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27876
278772012-05-31 Mike Frysinger <vapier@gentoo.org>
27878
27879 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27880 -D_FORTIFY_SOURCE=1.
27881 (CPPFLAGS-tst-longjmp_chk.c): Define.
27882 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27883 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27884 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27885 CFLAGS-tst-wchar-h.c.
27886
278872012-05-31 Marek Polacek <polacek@redhat.com>
27888
27889 [BZ #14132]
27890 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27891 __endmntent_internal): Remove declaration.
27892 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27893 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27894 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27895
278962012-05-30 David S. Miller <davem@davemloft.net>
27897
27898 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27899 (___Q_simulate_exceptions): Use real FP ops rather than writing
27900 into the %fsr.
27901 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27902 Likewise.
27903
279042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27905
27906 [BZ #14117]
27907 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27908 * sysdeps/x86/bits/xtitypes.h: This.
27909
27910 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27911 * sysdeps/x86/bits/wordsize.h: This.
27912
27913 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27914 * sysdeps/x86/bits/huge_vall.h: This.
27915
27916 * sysdeps/i386/bits/select.h: Removed.
27917 * sysdeps/x86_64/bits/select.h: Renamed to ...
27918 * sysdeps/x86/bits/select.h: This.
27919
27920 * sysdeps/i386/bits/setjmp.h: Removed.
27921 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27922 * sysdeps/x86/bits/setjmp.h: This.
27923
27924 * sysdeps/i386/bits/mathdef.h: Removed.
27925 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27926 * sysdeps/x86/bits/mathdef.h: This.
27927
279282012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27929
27930 [BZ #14132]
27931 * include/sys/socket.h (__connect_internal)
27932 (__libc_sa_len_internal): Remove declaration.
27933 (__connect, __libc_sa_len): Declare hidden_proto.
27934 (SA_LEN): Remove use of INTUSE.
27935 * socket/connect.c: Add libc_hidden_def.
27936 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27937 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27938 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27939 alias.
27940 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27941 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27942 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27943 of adding _internal alias.
27944
279452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27946
27947 [BZ #14117]
27948 * sysdeps/i386/bits/link.h: Removed.
27949 * sysdeps/i386/bits/linkmap.h: Likewise.
27950 * sysdeps/x86_64/bits/link.h: Renamed to ...
27951 * sysdeps/x86/bits/link.h: This.
27952 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27953 * sysdeps/x86/bits/linkmap.h: This.
27954
27955 * sysdeps/i386/bits/endian.h: Removed.
27956 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27957 * sysdeps/x86/bits/endian.h: This.
27958
27959 * sysdeps/i386/bits/byteswap.h: Removed.
27960 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27961 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27962 * sysdeps/x86/bits/byteswap.h: This.
27963 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27964 * sysdeps/x86/bits/byteswap-16.h: This.
27965 * sysdeps/i386/Implies: Add x86.
27966 * sysdeps/x86_64/Implies: Likewise.
27967
279682012-05-30 David S. Miller <davem@davemloft.net>
27969
27970 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27971 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27972 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27973 (FP_TRAPPING_EXCEPTIONS): Define.
27974 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27975 (FP_TRAPPING_EXCEPTIONS): Define.
27976 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27977 subnormals only when inexact has been signalled or underflow
27978 exceptions are enabled.
27979 (_FP_PACK_CANONICAL): Likewise.
27980
279812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27982
27983 [BZ #14183]
27984 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27985 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27986
279872012-05-30 Richard Henderson <rth@twiddle.net>
27988
27989 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27990 with #ifndef NOT_IN_libc.
27991
27992 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27993 marked to avoid plt entry.
27994
279952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27996
27997 [BZ #14112]
27998 * Makeconfig (default-abi): New macro.
27999 (abi-includes): Likewise.
28000 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28001 $(abi-$(default-abi)-lib-soname) for soname if defined.
28002 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28003 abi-variants.
28004 * Makefile (installed-stubs): Likewise.
28005 * include/stubs-biarch.h: Removed.
28006 * scripts/lib-names.awk: Only handle one library at a time.
28007 * scripts/soversions.awk: Remove WORDSIZE support.
28008 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28009 entries.
28010 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28011 Removed.
28012 (syscall-list-default-condition): Likewise.
28013 (syscall-list-default-condition): Likewise.
28014 (syscall-list-includes): Likewise.
28015 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28016 syscall-list-* with abi-*. Handle undefined abi-variants.
28017 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28018 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28019 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28020 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28021 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28022 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28023 Removed.
28024 (syscall-list-32-options): Likewise.
28025 (syscall-list-32-condition): Likewise.
28026 (syscall-list-64-options): Likewise.
28027 (syscall-list-64-condition): Likewise.
28028 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28029 macro.
28030 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28031 Renamed to ...
28032 (abi-*): This.
28033 (abi-64-ld-soname): New macro.
28034 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28035 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28036 Renamed to ...
28037 (abi-*): This.
28038 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28039 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28040
280412012-05-30 Joseph Myers <joseph@codesourcery.com>
28042
28043 * sysdeps/unix/sysv/linux/kernel-features.h
28044 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28045 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28046 include <kernel-features.h>.
28047 [!__NR_ftruncate64]: Remove conditional code.
28048 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28049 [__NR_ftruncate64]: Make code unconditional.
28050 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28051 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28052 include <kernel-features.h>.
28053 [!__NR_ftruncate64]: Remove conditional code.
28054 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28055 [__NR_ftruncate64]: Make code unconditional.
28056 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28058 include <kernel-features.h>.
28059 [!__NR_ftruncate64]: Remove conditional code.
28060 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28061 [__NR_ftruncate64]: Make code unconditional.
28062 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28064 include <kernel-features.h>.
28065 [!__NR_ftruncate64]: Remove conditional code.
28066 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28067 [__NR_ftruncate64]: Make code unconditional.
28068 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28069
28070 * configure.in (libc_cv_fpie): Weaken to a compile test using
28071 LIBC_TRY_CC_OPTION.
28072 * configure: Regenerated.
28073
280742012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28075
28076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28080 Refreshed.
28081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28087 Refreshed.
28088
280892012-05-27 David S. Miller <davem@davemloft.net>
28090
28091 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28092 (___Q_zero): New.
28093 (__Q_simulate_exceptions): Return void. Change to simulate
28094 exceptions by writing into the %fsr.
28095 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28096 (__Qp_handle_exceptions): Likewise.
28097 (numbers): Delete.
28098 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28099 __Qp_handle_exceptions.
28100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28101 __Qp_handle_exceptions.
28102 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28103 as unused and give dummy FP_RND_NEAREST initializer.
28104 (FP_INHIBIT_RESULTS): Define.
28105 (___Q_simulate_exceptions): Update declaration.
28106 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28107 formatting.
28108 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28109 as unused and give dummy FP_RND_NEAREST initializer.
28110 (__Qp_handle_exceptions): Update declaration.
28111 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28112 formatting.
28113
281142012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28115
28116 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28117 the temporary FPU control word.
28118 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28119 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28120 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28121 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28122 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28123 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28124 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28125 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28126 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28127 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28128 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28129
281302012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28131
28132 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28133 fields.
28134
281352012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28136
28137 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28138 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28139 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28140 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28141 Likewise.
28142 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28143 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28144 Likewise.
28145
281462012-05-27 Ulrich Drepper <drepper@gmail.com>
28147
28148 * po/h.po: Update from translation team.
28149
281502012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28151
28152 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28153
28154 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28155 handling of denormals.
28156 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28157 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28158 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28159 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28160 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28161 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28162 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28163 Likewise.
28164
281652012-05-26 Marek Polacek <polacek@redhat.com>
28166
28167 [BZ #14152]
28168 * math/libm-test.inc (fma_test): Don't always expect underflow
28169 exception.
28170
281712012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28172
28173 [BZ #12416]
28174 * elf/tst-execstack.c: Include stackinfo.h.
28175 (do_test): Adjust test case to ensure that pthread_getattr_np
28176 behaviour remains the same after marking stack executable.
28177
281782012-05-25 Joseph Myers <joseph@codesourcery.com>
28179
28180 * sysdeps/unix/sysv/linux/kernel-features.h
28181 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28182 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28183 kernel-features.h.
28184 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28185 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28186 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28187 kernel-features.h.
28188 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28189 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28190
281912012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28192
28193 * configure.in: Define the default includes to being none.
28194 * configure: Regenerated.
28195
281962012-05-25 Roland McGrath <roland@hack.frob.com>
28197
28198 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28199 * sysdeps/x86_64/setjmp.S: Likewise.
28200 * sysdeps/i386/bsd-setjmp.S: Likewise.
28201 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28202 * sysdeps/i386/setjmp.S: Likewise.
28203 * sysdeps/i386/__longjmp.S: Likewise.
28204 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28205 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28206
28207 * include/stap-probe.h: New file.
28208 * configure.in: Handle --enable-systemtap.
28209 * configure: Regenerated.
28210 * config.h.in (USE_STAP_PROBE): New #undef.
28211 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28212 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28213 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28214
282152012-05-25 Joseph Myers <joseph@codesourcery.com>
28216
28217 [BZ #13717]
28218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28219 to 2.4.0 where earlier.
28220 * sysdeps/unix/sysv/linux/configure: Regenerated.
28221 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28222 <kernel-features.h>.
28223 [__ASSUME_32BITUIDS]: Make code unconditional.
28224 [!__ASSUME_32BITUIDS]: Remove conditional code.
28225 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28226 <kernel-features.h>.
28227 [__ASSUME_32BITUIDS]: Make code unconditional.
28228 [!__ASSUME_32BITUIDS]: Remove conditional code.
28229 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28230 [__ASSUME_32BITUIDS]: Make code unconditional.
28231 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28232 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28233 <kernel-features.h>.
28234 [__ASSUME_32BITUIDS]: Make code unconditional.
28235 [!__ASSUME_32BITUIDS]: Remove conditional code.
28236 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28237 <kernel-features.h>.
28238 [__ASSUME_32BITUIDS]: Make code unconditional.
28239 [!__ASSUME_32BITUIDS]: Remove conditional code.
28240 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28241 <kernel-features.h>.
28242 [__ASSUME_32BITUIDS]: Make code unconditional.
28243 [!__ASSUME_32BITUIDS]: Remove conditional code.
28244 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28245 <kernel-features.h>.
28246 [__ASSUME_32BITUIDS]: Make code unconditional.
28247 [!__ASSUME_32BITUIDS]: Remove conditional code.
28248 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28249 <kernel-features.h>.
28250 [__ASSUME_32BITUIDS]: Make code unconditional.
28251 [!__ASSUME_32BITUIDS]: Remove conditional code.
28252 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28253 <kernel-features.h>.
28254 [__ASSUME_32BITUIDS]: Make code unconditional.
28255 [!__ASSUME_32BITUIDS]: Remove conditional code.
28256 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28257 <kernel-features.h>.
28258 [__ASSUME_32BITUIDS]: Make code unconditional.
28259 [!__ASSUME_32BITUIDS]: Remove conditional code.
28260 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28261 <kernel-features.h>.
28262 [__ASSUME_32BITUIDS]: Make code unconditional.
28263 [!__ASSUME_32BITUIDS]: Remove conditional code.
28264 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28265 <kernel-features.h>.
28266 [__ASSUME_32BITUIDS]: Make code unconditional.
28267 [!__ASSUME_32BITUIDS]: Remove conditional code.
28268 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28269 <kernel-features.h>.
28270 [__ASSUME_32BITUIDS]: Make code unconditional.
28271 [!__ASSUME_32BITUIDS]: Remove conditional code.
28272 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28273 <kernel-features.h>.
28274 [__NR_setresgid] (__setresgid): Do not declare.
28275 [__ASSUME_32BITUIDS]: Make code unconditional.
28276 [!__ASSUME_32BITUIDS]: Remove conditional code.
28277 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28278 <kernel-features.h>.
28279 [__NR_setresuid] (__setresuid): Do not declare.
28280 [__ASSUME_32BITUIDS]: Make code unconditional.
28281 [!__ASSUME_32BITUIDS]: Remove conditional code.
28282 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28283 <kernel-features.h>.
28284 [__ASSUME_32BITUIDS]: Make code unconditional.
28285 [!__ASSUME_32BITUIDS]: Remove conditional code.
28286 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28287 <kernel-features.h>.
28288 [__ASSUME_32BITUIDS]: Make code unconditional.
28289 [!__ASSUME_32BITUIDS]: Remove conditional code.
28290 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28291 <kernel-features.h>.
28292 [__ASSUME_32BITUIDS]: Make code unconditional.
28293 [!__ASSUME_32BITUIDS]: Remove conditional code.
28294 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28295 <kernel-features.h>.
28296 [__ASSUME_32BITUIDS]: Make code unconditional.
28297 [!__ASSUME_32BITUIDS]: Remove conditional code.
28298 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28299 <kernel-features.h>.
28300 [__ASSUME_32BITUIDS]: Make code unconditional.
28301 [!__ASSUME_32BITUIDS]: Remove conditional code.
28302 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28303 <kernel-features.h>.
28304 [__ASSUME_32BITUIDS]: Make code unconditional.
28305 [!__ASSUME_32BITUIDS]: Remove conditional code.
28306 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28307 <kernel-features.h>.
28308 [__ASSUME_32BITUIDS]: Make code unconditional.
28309 [!__ASSUME_32BITUIDS]: Remove conditional code.
28310 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28311 <kernel-features.h>.
28312 [__ASSUME_32BITUIDS]: Make code unconditional.
28313 [!__ASSUME_32BITUIDS]: Remove conditional code.
28314 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28315 <kernel-features.h>.
28316 [__ASSUME_32BITUIDS]: Make code unconditional.
28317 [!__ASSUME_32BITUIDS]: Remove conditional code.
28318 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28319 <kernel-features.h>.
28320 [__ASSUME_32BITUIDS]: Make code unconditional.
28321 [!__ASSUME_32BITUIDS]: Remove conditional code.
28322 * sysdeps/unix/sysv/linux/kernel-features.h
28323 (__ASSUME_SETRESUID_SYSCALL): Remove.
28324 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28325 (__ASSUME_32BITUIDS): Likewise.
28326 (__ASSUME_LDT_WORKS): Likewise.
28327 (__ASSUME_O_DIRECTORY): Likewise.
28328 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28329 architecture but not kernel version.
28330 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28331 (__ASSUME_MMAP2_SYSCALL): Likewise.
28332 (__ASSUME_STAT64_SYSCALL): Likewise.
28333 (__ASSUME_IPC64): Likewise.
28334 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28335 <kernel-features.h>.
28336 [__ASSUME_32BITUIDS]: Make code unconditional.
28337 [!__ASSUME_32BITUIDS]: Remove conditional code.
28338 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28339 <kernel-features.h>.
28340 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28341 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28342 132096]: Remove conditional code.
28343 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28344 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28345 <kernel-features.h>.
28346 [__ASSUME_32BITUIDS]: Make code unconditional.
28347 [!__ASSUME_32BITUIDS]: Remove conditional code.
28348 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28349 <kernel-features.h>.
28350 [__ASSUME_32BITUIDS]: Make code unconditional.
28351 [!__ASSUME_32BITUIDS]: Remove conditional code.
28352 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28353 <kernel-features.h>.
28354 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28355 unconditional.
28356 (__setresgid): Do not declare.
28357 [__ASSUME_32BITUIDS]: Make code unconditional.
28358 [!__ASSUME_32BITUIDS]: Remove conditional code.
28359 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28360 <kernel-features.h>.
28361 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28362 unconditional.
28363 (__setresuid): Do not declare.
28364 [__ASSUME_32BITUIDS]: Make code unconditional.
28365 [!__ASSUME_32BITUIDS]: Remove conditional code.
28366 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28367 <kernel-features.h>.
28368 [__ASSUME_32BITUIDS]: Make code unconditional.
28369 [!__ASSUME_32BITUIDS]: Remove conditional code.
28370 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28371 <kernel-features.h>.
28372 [__ASSUME_32BITUIDS]: Make code unconditional.
28373 [!__ASSUME_32BITUIDS]: Remove conditional code.
28374
283752012-05-25 Richard Henderson <rth@twiddle.net>
28376
28377 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28378 dl_hwcap to ifunc resolver.
28379 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28380 elf_ifunc_invoke.
28381 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28382 dl_hwcap to ifunc resolver.
28383 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28384
283852012-05-24 Joseph Myers <joseph@codesourcery.com>
28386
28387 [BZ #14153]
28388 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28389 for |x| <= 2**-26, not 2**-57.
28390 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28391 exception.
28392
283932012-05-24 Jeff Law <law@redhat.com>
28394
28395 * stdio-common/Makefile (tests): Add bug25.
28396 * stdio-common/bug25.c: New test.
28397
283982012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28399
28400 [BZ #13576]
28401 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28402 multiple of MALLOC_ALIGNMENT in size.
28403 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28404
284052012-05-24 Joseph Myers <joseph@codesourcery.com>
28406
28407 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28408 Require >= 256.
28409 (FILENAME_MAX): Use macro-int-constant.
28410 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28411 (_IOFBF): Use macro-int-constant.
28412 (_IOLBF): Likewise.
28413 (_IONBF): Likewise.
28414 (SEEK_CUR): Likewise.
28415 (SEEK_END): Likewise.
28416 (SEEK_SET): Likewise.
28417 (TMP_MAX): Likewise.
28418 (EOF): Use macro-int-constant. Require < 0.
28419 (NULL): Use macro-constant. Require == 0.
28420 (stdin): Require type to be FILE *.
28421 (stdout): Likewise.
28422 (stderr): Likewise.
28423 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28424 macro-int-constant.
28425 (EXIT_SUCCESS): Likewise.
28426 (NULL): Use macro-constant. Require == 0.
28427 (RAND_MAX): Use macro-int-constant.
28428 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28429 [C99-based standards] (strtof): Require function.
28430 [C99-based standards] (strtold): Likewise.
28431 [C99-based standards] (strtoll): Likewise.
28432 [C99-based standards] (strtoull): Likewise.
28433 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28434 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28435 [ISO || ISO99 || ISO11] (math.h): Likewise.
28436 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28437 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28439
284402012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28441
28442 [BZ #14132]
28443 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28444 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28445 * intl/dgettext.c (DCGETTEXT): Likewise.
28446 * intl/gettext.c (DCGETTEXT): Likewise.
28447 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28448 * posix/regex_internal.h (gettext): Likewise.
28449 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28450 Remove declaration.
28451 * include/argz.h (__argz_count_internal)
28452 (__argz_stringify_internal): Remove declaration.
28453 (__argz_count, __argz_stringify): Declare hidden proto.
28454 * intl/dcgettext.c: Remove use of INTDEF.
28455 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28456 * string/argz-stringify.c: Likewise.
28457 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28458 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28459 Declare hidden proto.
28460 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28461 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28462 Declare hidden proto.
28463 * include/stdio.h (__asprintf_internal): Don't declare.
28464 (__asprintf): Don't define as macro. Declare hidden proto.
28465 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28466 (__fsetlocking): Declare hidden proto.
28467 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28468 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28469 hidden proto.
28470 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28471 (_IO_setlinebuf): Remove use of INTUSE.
28472 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28473 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28474 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28475 Remove declaration.
28476 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28477 (_IO_do_flush): Remove use of INTUSE.
28478 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28479 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28480 (_IO_adjust_column, _IO_least_wmarker)
28481 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28482 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28483 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28484 (_IO_default_doallocate, _IO_wdefault_doallocate)
28485 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28486 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28487 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28488 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28489 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28490 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28491 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28492 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28493 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28494 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28495 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28496 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28497 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28498 proto.
28499 (_IO_flush_all_internal, _IO_adjust_column_internal)
28500 (_IO_default_uflow_internal, _IO_default_finish_internal)
28501 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28502 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28503 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28504 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28505 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28506 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28507 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28508 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28509 (_IO_file_close_internal, _IO_file_close_it_internal)
28510 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28511 (_IO_file_init_internal, _IO_file_attach_internal)
28512 (_IO_file_fopen_internal, _IO_file_read_internal)
28513 (_IO_file_sync_internal, _IO_file_seek_internal)
28514 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28515 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28516 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28517 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28518 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28519 (_IO_list_all_internal, _IO_link_in_internal)
28520 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28521 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28522 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28523 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28524 (_IO_do_write_internal, _IO_padn_internal)
28525 (_IO_getline_info_internal, _IO_getline_internal)
28526 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28527 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28528 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28529 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28530 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28531 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28532 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28533 with libc_hidden_ver, remove use of INTUSE.
28534 * libio/genops.c: Likewise.
28535 * libio/freopen.c: Likewise.
28536 * libio/freopen64.c: Likewise.
28537 * libio/iofclose.c: Likewise.
28538 * libio/iofdopen.c: Likewise.
28539 * libio/iofflush.c: Likewise.
28540 * libio/iofflush_u.c: Likewise.
28541 * libio/iofgets.c: Likewise.
28542 * libio/iofgets_u.c: Likewise.
28543 * libio/iofopen.c: Likewise.
28544 * libio/iofopncook.c: Likewise.
28545 * libio/iofread.c: Likewise.
28546 * libio/iofread_u.c: Likewise.
28547 * libio/ioftell.c: Likewise.
28548 * libio/iofwrite.c: Likewise.
28549 * libio/iogetline.c: Likewise.
28550 * libio/iogets.c: Likewise.
28551 * libio/iogetwline.c: Likewise.
28552 * libio/iopadn.c: Likewise.
28553 * libio/iopopen.c: Likewise.
28554 * libio/ioseekoff.c: Likewise.
28555 * libio/ioseekpos.c: Likewise.
28556 * libio/iosetbuffer.c: Likewise.
28557 * libio/iosetvbuf.c: Likewise.
28558 * libio/ioungetc.c: Likewise.
28559 * libio/ioungetwc.c: Likewise.
28560 * libio/iovdprintf.c: Likewise.
28561 * libio/iovsprintf.c: Likewise.
28562 * libio/iovsscanf.c: Likewise.
28563 * libio/memstream.c: Likewise.
28564 * libio/obprintf.c: Likewise.
28565 * libio/oldfileops.c: Likewise.
28566 * libio/oldiofclose.c: Likewise.
28567 * libio/oldiofdopen.c: Likewise.
28568 * libio/oldiofopen.c: Likewise.
28569 * libio/oldiopopen.c: Likewise.
28570 * libio/oldstdfiles.c: Likewise.
28571 * libio/putc.c: Likewise.
28572 * libio/setbuf.c: Likewise.
28573 * libio/setlinebuf.c: Likewise.
28574 * libio/stdfiles.c: Likewise.
28575 * libio/strops.c: Likewise.
28576 * libio/vasprintf.c: Likewise.
28577 * libio/vscanf.c: Likewise.
28578 * libio/vsnprintf.c: Likewise.
28579 * libio/vswprintf.c: Likewise.
28580 * libio/wfiledoalloc.c: Likewise.
28581 * libio/wfileops.c: Likewise.
28582 * libio/wgenops.c: Likewise.
28583 * libio/wmemstream.c: Likewise.
28584 * libio/wstrops.c: Likewise.
28585 * libio/__fpurge.c: Likewise.
28586 * libio/__fsetlocking.c: Likewise.
28587 * assert/assert.c: Likewise.
28588 * debug/fgets_chk.c: Likewise.
28589 * debug/fgets_u_chk.c: Likewise.
28590 * debug/fread_chk.c: Likewise.
28591 * debug/fread_u_chk.c: Likewise.
28592 * debug/gets_chk.c: Likewise.
28593 * debug/obprintf_chk.c: Likewise.
28594 * debug/vasprintf_chk.c: Likewise.
28595 * debug/vdprintf_chk.c: Likewise.
28596 * debug/vsnprintf_chk.c: Likewise.
28597 * debug/vsprintf_chk.c: Likewise.
28598 * malloc/mtrace.c: Likewise.
28599 * misc/error.c: Likewise.
28600 * misc/syslog.c: Likewise.
28601 * stdio-common/asprintf.c: Likewise.
28602 * stdio-common/fxprintf.c: Likewise.
28603 * stdio-common/getw.c: Likewise.
28604 * stdio-common/isoc99_fscanf.c: Likewise.
28605 * stdio-common/isoc99_scanf.c: Likewise.
28606 * stdio-common/isoc99_vfscanf.c: Likewise.
28607 * stdio-common/isoc99_vscanf.c: Likewise.
28608 * stdio-common/isoc99_vsscanf.c: Likewise.
28609 * stdio-common/printf-prs.c: Likewise.
28610 * stdio-common/printf_fp.c: Likewise.
28611 * stdio-common/printf_fphex.c: Likewise.
28612 * stdio-common/printf_size.c: Likewise.
28613 * stdio-common/putw.c: Likewise.
28614 * stdio-common/scanf.c: Likewise.
28615 * stdio-common/sprintf.c: Likewise.
28616 * stdio-common/tmpfile.c: Likewise.
28617 * stdio-common/vfprintf.c: Likewise.
28618 * stdio-common/vfscanf.c: Likewise.
28619 * stdlib/strfmon_l.c: Likewise.
28620 * sunrpc/openchild.c: Likewise.
28621 * sunrpc/xdr_stdio.c: Likewise.
28622 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28623 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28624
286252012-05-24 Roland McGrath <roland@hack.frob.com>
28626
28627 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28628
28629 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28630 in the third column, to generate for the shared library an IFUNC
28631 that uses _dl_vdso_vsym.
28632 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28633 * Makeconfig (object-suffixes-noshared): New variable.
28634
28635 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28636 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28637 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28638 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28639
28640 [BZ #14132]
28641 * include/sys/time.h (__gettimeofday): Remove macro.
28642 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28643 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28644 Remove INTDEF.
28645 (__gettimeofday): Add libc_hidden_def.
28646 (gettimeofday): Add libc_hidden_weak.
28647 * sysdeps/mach/gettimeofday.c: Likewise.
28648 * sysdeps/posix/gettimeofday.c: Likewise.
28649 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28650 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28652 (__gettimeofday_internal): Remove strong_alias.
28653 (__gettimeofday): Add libc_hidden_def.
28654 (gettimeofday): Add libc_hidden_weak.
28655 * sysdeps/unix/syscalls.list (gettimeofday):
28656 Remove __gettimeofday_internal alias.
28657
286582012-05-24 Daniel Jacobowitz <drow@false.org>
28659 H.J. Lu <hongjiu.lu@intel.com>
28660
28661 [BZ #12495]
28662 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28663 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28664 (largebin_index_32_big): New.
28665 (largebin_index): Use it for 16-byte alignment.
28666 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28667 correction with front_misalign.
28668
286692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28670
28671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28673 Likewise.
28674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28675 Likewise.
28676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28677 Likewise.
28678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28679 Likewise.
28680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28681 Likewise.
28682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28683 Likewise.
28684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28685 Likewise.
28686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28687 Likewise.
28688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28689 Likewise.
28690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28691 Likewise.
28692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28693 Likewise.
28694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28695 Likewise.
28696
28697 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28698 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28699
287002012-05-24 Joseph Myers <joseph@codesourcery.com>
28701
28702 [BZ #10846]
28703 [BZ #14036]
28704 * math/libm-test.inc (exp_test): Add test from bug 14036.
28705 (pow_test): Add test from bug 10846.
28706
28707 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28708 and other flags.
28709 (special_function): Do not include flags in test name.
28710 (parse_args): Likewise.
28711 * sysdeps/i386/fpu/libm-test-ulps: Update.
28712 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28713 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28714 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28716
28717 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28718 exceptions.
28719 * math/libm-test.inc ("Philosophy"): Update comment about
28720 exception testing.
28721 (UNDERFLOW_EXCEPTION): New macro.
28722 (UNDERFLOW_EXCEPTION_OK): Likewise.
28723 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28724 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28725 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28726 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28727 (INVALID_EXCEPTION_OK): Update value.
28728 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28729 (OVERFLOW_EXCEPTION_OK): Likewise.
28730 (IGNORE_ZERO_INF_SIGN): Likewise.
28731 (test_exceptions): Handle underflow exceptions.
28732 (acos_test): Update for underflow exception expectations.
28733 (cexp_test): Likewise.
28734 (clog_test): Likewise.
28735 (clog10_test): Likewise.
28736 (csqrt_test): Likewise.
28737 (ctan_test): Likewise.
28738 (ctanh_test): Likewise.
28739 (exp_test): Likewise.
28740 (exp10_test): Likewise.
28741 (exp2_test): Likewise.
28742 (expm1_test): Likewise.
28743 (fma_test): Likewise.
28744 (j0_test): Likewise.
28745 (jn_test): Likewise.
28746 (nexttoward_test): Likewise.
28747 (pow_test): Likewise.
28748 (scalbn_test): Likewise.
28749 (scalbln_test): Likewise.
28750 (tan_test): Likewise.
28751 (y1_test): Likewise.
28752 * sysdeps/i386/fpu/libm-test-ulps: Update.
28753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28754
287552012-05-23 David S. Miller <davem@davemloft.net>
28756
28757 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28758 (__libc_sigaction): Remove unused local variables.
28759
287602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28761
28762 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28763
287642012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28765
28766 mktime: avoid signed integer overflow
28767 * time/mktime.c (__mktime_internal): Do not mishandle the case
28768 where diff == INT_MIN.
28769
28770 mktime: simplify computation of average
28771 * time/mktime.c (ranged_convert): Use new time_t_avg function
28772 instead of rolling our own (probably-slower) code.
28773
28774 mktime: do not assume signed right shift propagates sign bit
28775 * time/mktime.c (isdst_differ): New static function.
28776 (__mktime_internal): No need to normalize tm_isdst now.
28777 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28778 tm_isdst values.
28779
28780 mktime: merge another wrapv change from gnulib
28781 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28782 from some compilers.
28783
28784 mktime: remove incorrect attempt at unusual arithmetics
28785 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28786 The code didn't really work on such machines anyway.
28787 (TYPE_MINIMUM): Assume two's complement.
28788 (twos_complement_arithmetic): Verify that long_int and time_t
28789 are two's complement (or unsigned, in the latter case).
28790
28791 mktime: check signed shifts on long_int and time_t, too
28792 * time/mktime.c (SHR): Check that shifts work as desired
28793 on the types long_int and time_t too, as SHR is used on
28794 such types.
28795
28796 mktime: do not assume 'long' is wide enough
28797 * time/mktime.c (verify): Move decl up.
28798 (long_int): New type.
28799 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28800 to remove assumption in the code that 'long' is wide enough to
28801 store year values. This assumption is not true on x32 and on
28802 some non-glibc platforms.
28803
28804 mktime: merge wrapv change from gnulib
28805 * time/mktime.c (WRAPV): New macro.
28806 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28807 (guess_time_tm, __mktime_internal): Do not assume that signed
28808 integer overflow wraps around; modern compilers generate code
28809 where this assumption is no longer valid.
28810
288112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28812
28813 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28814 Replace "jmp L(pseudo_end)" with "ret".
28815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28816 Likewise.
28817
288182012-05-23 Andreas Jaeger <aj@suse.de>
28819
28820 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28821 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28822
288232012-05-23 Andreas Jaeger <aj@suse.de>
28824 Maximilian Attems <max@stro.at>
28825
28826 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28827 New macros.
28828
288292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28830
28831 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28832 code so that pseudo_end is just ret and the stack pointer is
28833 correct also for static library in error case.
28834
288352012-05-23 Joseph Myers <joseph@codesourcery.com>
28836
28837 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28838 move to syscalls.list.
28839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28843
28844 * manual/install.texi (Running make install): Do not mention Linux
28845 kernel version for which pt_chown is not needed.
28846 (Linux): Do not mention problems with nscd with 2.0 kernels.
28847 * INSTALL: Regenerated.
28848
288492012-05-23 Andreas Jaeger <aj@suse.de>
28850
28851 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28852 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28853 macro.
28854 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28855 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28856 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28857 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28858 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28859 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28860 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28861 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28862 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28863 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28864 * sysdeps/unix/sysv/linux/bits/in.h
28865 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28866
288672012-05-22 Roland McGrath <roland@hack.frob.com>
28868
28869 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28870 (PREPARE_VERSION): Just use assert instead, it will be elided
28871 under [NDEBUG] anyway.
28872
288732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28874
28875 * sysdeps/unix/sysv/linux/Makefile: Include
28876 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28877 (sysdep_routines): Remove sysctl.
28878 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28879 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28880 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28881 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28882 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28883
288842012-05-22 Andreas Jaeger <aj@suse.de>
28885
28886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28887 that pseudo_end is just ret and the stack pointer is correct also
28888 for static library in error case.
28889
288902012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28891
28892 [BZ #14122]
28893 * nss/nsswitch.c (defconfig_entries): New variable.
28894 (__nss_database_lookup): Don't leak defconfig entries.
28895 (nss_parse_service_list): Don't leak on error paths.
28896 (free_database_entries): New function.
28897 (free_defconfig): New function.
28898 (free_mem): Move common code to free_database_entries.
28899
289002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28901
28902 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28903 Add arch_prctl.
28904 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28905
28906 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28907 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28909 New macro.
28910 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28911 (INTERNAL_SYSCALL_TYPES): Likewise.
28912 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28913 (LOAD_REGS_TYPES_[1-6]): Likewise.
28914 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28915 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28916
289172012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28918
28919 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28920 copysignl for GLIBC_2_0.
28921 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28922 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28924 logbl for GLIBC_2_0.
28925 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28926 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28927
289282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28929
28930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28931 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28932
28933 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28934 Use "neg %eax".
28935
28936 * time/mktime.c: Update copyright years.
28937
289382012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28939
28940 mktime: merge comment-quoting-style change from gnulib
28941 * time/mktime.c: Quote 'like this' in comments.
28942 The GNU coding standards suggest that we no longer quote `like this',
28943 as "`" and "'" are typically rendered asymmetrically nowadays.
28944 The typical gnulib style is to quote 'like this' when quoting
28945 code, and "like this" when quoting English.
28946
28947 * time/mktime.c (compile-command): Add "-I.".
28948
28949 mktime: merge mktime-internal.h change from gnulib
28950 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28951
28952 mktime: merge time_r change from gnulib
28953 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28954
28955 mktime: merge DEBUG change from gnulib
28956 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28957 case system <time.h> has a #define.
28958
28959 mktime: merge <sys/types.h> change from gnulib
28960 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28961 since <time.t> is now guaranteed to define time_t.
28962
28963 mktime: merge HAVE_CONFIG_H change from gnulib
28964 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28965
289662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28967
28968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28969 Use "neg %eax".
28970
28971 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28972 __rlim_t cast.
28973 (struct rusage): Use anonymous union to pad each field to
28974 __syscall_slong_t.
28975
289762012-05-21 David S. Miller <davem@davemloft.net>
28977
28978 * Makefules (o-iterator): Remove .s cases.
28979 (compile-command.s): Delete.
28980 (COMPILE.s): Delete.
28981 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28982
289832012-05-21 Joseph Myers <joseph@codesourcery.com>
28984
28985 * configure.in (libc_cv_predef_stack_protector): Only consider
28986 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28987 * configure: Regenerated.
28988
289892012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28990
28991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28992 New macro. Use R*LP on int and pointer.
28993 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28994 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28995 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28996 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28997
28998 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28999 [__WORDSIZE_TIME64_COMPAT32] instead of
29000 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29001 (struct utmp): Likewise.
29002 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29003 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29004 Renamed to ...
29005 (__WORDSIZE_TIME64_COMPAT32): This.
29006 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29007 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29008 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29009 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29010 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29011 (__WORDSIZE_TIME64_COMPAT32): New macro.
29012
290132012-05-21 Andreas Jaeger <aj@suse.de>
29014
29015 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29016 only if [SHARED]. Add prototype for __wcschr_ia32.
29017
290182012-05-21 Roland McGrath <roland@hack.frob.com>
29019
29020 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29021 of %rbp unmolested in the jmp_buf while mangling the low bits.
29022 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29023 unmolested high bits of %rbp while demangling the low bits.
29024 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29025
290262012-05-21 Andreas Jaeger <aj@suse.de>
29027
29028 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29029 * sunrpc/svc_simple.c: Use it for registerrpc.
29030 * sunrpc/xcrypt.c: Use it for passwd2des.
29031
29032 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29033
290342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29035
29036 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29037 Don't define if [__SYSCALL_WORDSIZE != 32].
29038 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29039 New macro.
29040
290412012-05-21 Bruno Haible <bruno@clisp.org>
29042 Andreas Jaeger <aj@suse.de>
29043
29044 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29045 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29046 inptr and inend for must_buffer_ch.
29047 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29048 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29049 * stdio-common/Makefile (tests): Remove bug15.
29050 (bug15-ENV): Remove macro.
29051 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29052 anymore.
29053
290542012-05-19 Andreas Jaeger <aj@suse.de>
29055 Roland McGrath <roland@hack.frob.com>
29056
29057 * manual/contrib.texi: Completely rewritten. It contains now an
29058 alphabetical list of contributors and their contributions.
29059
290602012-05-21 Richard Henderson <rth@twiddle.net>
29061
29062 * misc/getauxval.c (__getauxval): Use unsigned long int.
29063 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29064 (getauxval): Use unsigned long int.
29065
290662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29067
29068 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29069
290702012-05-21 Roland McGrath <roland@hack.frob.com>
29071
29072 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29073 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29074 __alignof__ (long double).
29075
290762012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29077
29078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29079
290802012-05-20 Richard Henderson <rth@twiddle.net>
29081
29082 * misc/getauxval.c: New file.
29083 * misc/sys/auxv.h: New file.
29084 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29085 (routines): Add getauxval.
29086 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29087 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29088 * elf/dl-sysdep.c (_dl_auxv): Remove.
29089 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29090 * elf/dl-support.c (_dl_auxv): New variable.
29091 (_dl_aux_init): Initialize it.
29092 * manual/startup.texi (Auxiliary Vector): New node.
29093 * sysdeps/generic/bits/hwcap.h: New file.
29094 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29095 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29096 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29097 * sysdeps/sparc/sysdep.h: ... here. Include it.
29098 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29099 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29101 Update.
29102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29105 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29110
291112012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29112
29113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29114
291152012-05-19 David S. Miller <davem@davemloft.net>
29116
29117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29118
291192012-05-19 Joseph Myers <joseph@codesourcery.com>
29120
29121 [BZ #14123]
29122 * math/s_ccosh.c: Include <float.h>
29123 (__ccosh): Avoid internal overflow calculating sinh and cosh
29124 values before multiplying by sin and cos values.
29125 * math/s_ccoshf.c: Likewise.
29126 * math/s_ccoshl.c: Likewise.
29127 * math/s_csin.c: Likewise.
29128 * math/s_csinf.c: Likewise.
29129 * math/s_csinl.c: Likewise.
29130 * math/s_csinh.c: Likewise.
29131 * math/s_csinhf.c: Likewise.
29132 * math/s_csinhl.c: Likewise.
29133 * math/libm-test.inc (ccos_test): Add more tests.
29134 (ccosh_test): Likewise.
29135 (csin_test): Likewise.
29136 (csinh_test): Likewise.
29137 * sysdeps/i386/fpu/libm-test-ulps: Update.
29138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29139
291402012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29141
29142 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29143 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29144
29145 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29146
291472012-05-19 Joseph Myers <joseph@codesourcery.com>
29148
29149 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29150 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29151 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29152 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29153 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29154 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29155 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29156 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29157 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29158 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29159 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29160 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29161 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29162 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29163 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29164 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29165 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29166 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29167 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29168 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29169 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29170 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29171 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29172 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29173 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29174 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29175 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29176 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29177 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29178 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29179 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29180
291812012-05-18 Andreas Jaeger <aj@suse.de>
29182
29183 * csu/.gitignore: Delete.
29184
291852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29186
29187 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29188 (timex): Use __syscall_slong_t.
29189
291902012-05-18 Andreas Jaeger <aj@suse.de>
29191 Carlos O'Donell <carlos_odonell@mentor.com>
29192
29193 * manual/install.texi (Configuring and compiling): Update
29194 description about files modified in the source directory.
29195 * INSTALL: Regenerated.
29196
291972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29198
29199 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29200 value. Use "or" to set return value to -1.
29201 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29202 negate return value.
29203
292042012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29205
29206 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29207 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29208 failure if the compiler has Graphite support disabled.
29209 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29210 Likewise.
29211 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29212 (CFLAGS-memmove.c): Likewise.
29213 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29214 Likewise.
29215
292162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29217
29218 * sysdeps/x86_64/x32/_itoa.h: New file.
29219
29220 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29221 getdents system call only if kernel and user dirents have the
29222 same d_ino and d_off.
29223
29224 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29225 LLONG_MAX != LONG_MAX.
29226 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29227 (_fitoa_word): Likewise.
29228
29229 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29230 years.
29231 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29232 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29233 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29234
29235 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29236 include <bits/wordsize.h>. Check __x86_64__ instead of
29237 __WORDSIZE.
29238 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29239 if __x86_64__ is defined. Use anonymous union on fpstate.
29240
29241 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29242 anonymous union.
29243
292442012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29245
29246 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29247 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29248 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29249 Refer to _rtld_local_ro instead of _rtld_global_ro.
29250 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29251 Likewise.
29252 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29253 Likewise.
29254 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29255 Likewise.
29256 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29257 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29258 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29259
29260 * sysdeps/powerpc/powerpc32/dl-machine.c
29261 (__elf_machine_runtime_setup) [PROF]: Don't reference
29262 _dl_prof_resolve.
29263
292642012-05-18 Andreas Jaeger <aj@suse.de>
29265
29266 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29267 function only available for GCCs before 3.4 since GCC 3.4
29268 introduced a builtin.
29269 (lrint): Likewise.
29270 (llrintf): Likewise.
29271 (llrint): Likewise.
29272 (fmaxf): Likewise.
29273 (fmax): Likewise.
29274 (fminf): Likewise.
29275 (fmin): Likewise.
29276 (rint): Likewise.
29277 (rintf): Likewise.
29278 (nearbyint): Likewise.
29279 (nearbyintf): Likewise.
29280 (ceil): Likewise.
29281 (ceilf): Likewise.
29282 (floor): Likewise.
29283 (floorf): Likewise.
29284
292852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29286
29287 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29288 on both fields and cast pointer to __syscall_ulong_t.
29289
29290 * bits/types.h (__fsword_t): New type.
29291 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29292 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29294 (__FSWORD_T_TYPE): Likewise.
29295 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29296 (__FSWORD_T_TYPE): Likewise.
29297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29298 (__FSWORD_T_TYPE): Likewise.
29299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29300 (__FSWORD_T_TYPE): Likewise.
29301 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29302 __SWORD_TYPE with __fsword_t.
29303 (statfs64): Likewise.
29304
293052012-05-17 David S. Miller <davem@davemloft.net>
29306
29307 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29308
293092012-05-17 Andreas Jaeger <aj@suse.de>
29310
29311 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29312 warning.
29313
293142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29315
29316 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29317
293182012-05-17 Andreas Jaeger <aj@suse.de>
29319
29320 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29321 when it is used.
29322
293232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29324
29325 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29326
293272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29328
29329 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29330 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29331
293322012-05-17 Andreas Jaeger <aj@suse.de>
29333 Carlos O'Donell <carlos_odonell@mentor.com>
29334
29335 [BZ #14059]
29336 * sysdeps/x86_64/multiarch/init-arch.h
29337 (bit_YMM_Usable): Rename to...
29338 (bit_AVX_Usable): ... this.
29339 (bit_FMA4_Usable): New macro.
29340 (bit_XMM_state): New macro.
29341 (bit_YMM_state): New macro.
29342 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29343 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29344 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29345 (CPUID_OSXSAVE): New macro.
29346 (CPUID_AVX): New macro.
29347 (CPUID_FMA4): New macro.
29348 (index_YMM_Usable): Rename to...
29349 (index_AVX_Usable): ... this.
29350 (HAS_AVX): Use HAS_ARCH_FEATURE.
29351 (HAS_FMA4): Likewise.
29352 (HAS_YMM_USABLE): Remove.
29353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29354 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29355 are present.
29356 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29357 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29358 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29359 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29360 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29361
293622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29363
29364 * math/libm-test.c: Support platforms without multiple rounding modes.
29365 * math/bug-nextafter.c: Support platforms without FP exceptions.
29366 * math/bug-nexttoward.c: Likewise.
29367 * math/test-fenv.c: Likewise.
29368 * math/test-misc.c: Likewise.
29369 * stdlib/bug-getcontext.c: Likewise.
29370
293712012-05-17 Andreas Jaeger <aj@suse.de>
29372
29373 * manual/examples/search.c (critter_cmp): Change signature to
29374 avoid warnings.
29375 * manual/string.texi (Collation Functions): Likewise.
29376
293772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29378
29379 * bits/types.h: Fold copyright years.
29380 * bits/typesizes.h: Likewise.
29381 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29383 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29385 * time/time.h: Likewise.
29386
293872012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29388
29389 [BZ #208]
29390 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29391 in instead of returning them. Return void.
29392 (__libc_mallinfo): Accumulate over all arenas.
29393 (__malloc_stats): Adjust for change in int_mallinfo interface.
29394
293952012-05-16 Roland McGrath <roland@hack.frob.com>
29396
29397 [BZ #10375]
29398 * configure.in (NM): Add AC_CHECK_TOOL for it.
29399 (libc_extra_cflags): New substituted variable.
29400 Check for -fstack-protector being used implicitly.
29401 * configure: Regenerated.
29402 * config.make.in (config-extra-cflags): New variable,
29403 gets @libc_extra_cflags@.
29404 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29405
29406 [BZ #10375]
29407 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29408 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29409 * configure: Regenerated.
29410 * config.make.in (CPPUNDEFS): New substituted variable.
29411 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29412 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29413 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29414
294152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29416
29417 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29418 (mq_attr): Use __syscall_slong_t.
29419
294202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29421
29422 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29423 Check __x86_64__ instead of __WORDSIZE.
29424 (_STAT_VER_LINUX): Likewise.
29425 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29426 __syscall_ulong_t and __syscall_slong_t.
29427 (stat64): Likewise.
29428
294292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29430
29431 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29432
294332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29434
29435 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29436
294372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29438
29439 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29440 __syscall_ulong_t.
29441
29442 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29443 include <bits/wordsize.h>. Check __x86_64__ instead of
29444 __WORDSIZE.
29445 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29446 defined.
29447 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29448
29449 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29450 include <bits/wordsize.h>. Check __x86_64__ instead of
29451 __WORDSIZE.
29452 (user_regs_struct): Use "__extension__ unsigned long long"
29453 instead of "unsigned long" if __x86_64__ is defined.
29454 (user): Likewise. Pad after pointer field if __ILP32__ is
29455 defined.
29456
294572012-05-16 Joseph Myers <joseph@codesourcery.com>
29458
29459 * configure.in (makeinfo): Require version 4.5 or later. Allow
29460 versions 5 to 9.
29461 * configure: Regenerated.
29462 * manual/install.texi (texinfo): Increase version requirement to
29463 4.5 or later.
29464 * INSTALL: Regenerated.
29465
29466 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29467
294682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29469
29470 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29471
29472 * sysdeps/x86_64/x32/ffs.c: New file.
29473
29474 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29475 __syscall_ulong_t.
29476 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29477 defined. Use __syscall_ulong_t.
29478 (shminfo): Use __syscall_ulong_t.
29479 (shm_info): Likewise.
29480
29481 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29482 __syscall_ulong_t.
29483
29484 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29485 <bits/wordsize.h>.
29486 (msgqnum_t): Use __syscall_ulong_t.
29487 (msglen_t): Likewise.
29488 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29489 __syscall_ulong_t.
29490
29491 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29492 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29493
29494 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29495
29496 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29497 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29498
29499 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29500 __syscall_slong_t.
29501
29502 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29503 include <bits/wordsize.h>. Check __x86_64__ instead of
29504 __WORDSIZE.
29505
29506 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29507 "unsigned long long int" if __x86_64__ is defined.
29508 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29509
29510 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29511 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29512 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29513
29514 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29515 <stdint.h>.
29516 (GET_PC): Cast to uintptr_t first.
29517 (GET_FRAME): Likewise.
29518 (GET_STACK): Likewise.
29519
29520 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29521 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29522 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29523 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29524 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29525 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29526 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29527 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29528 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29529 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29530 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29531 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29532 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29533 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29534 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29535 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29536 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29537 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29538 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29539 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29540 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29541 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29542 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29543 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29544 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29545 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29546 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29547 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29548 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29549
295502012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29551
29552 * Makerules (+depfiles): Also collect depfiles from .oS in
29553 $(extra-objs).
29554 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29555 .oS, $(libnldbl-routines)).
29556
29557 * Makerules (native-compile-mkdep-flags): Define.
29558 * sunrpc/Makefile (extra-objs): Add $(addprefix
29559 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29560 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29561 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29562 calling $(make-target-directory).
29563
295642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29565
29566 * bits/types.h (__snseconds_t): Removed.
29567 * time/time.h (struct timespec): Replace __snseconds_t with
29568 __syscall_slong_t.
29569 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29570 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29571 Likewise.
29572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29573 (__SNSECONDS_T_TYPE): Likewise.
29574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29575 (__SNSECONDS_T_TYPE): Likewise.
29576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29577 (__SNSECONDS_T_TYPE): Likewise.
29578
295792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29580
29581 * sysdeps/mach/hurd/bits/typesizes.h
29582 (__SYSCALL_SLONG_TYPE): New macro.
29583 (__SYSCALL_ULONG_TYPE): Likewise.
29584
295852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29586
29587 * bits/types.h (__syscall_slong_t): New type.
29588 (__syscall_ulong_t): Likewise.
29589
29590 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29591 (__SYSCALL_ULONG_TYPE): Likewise.
29592 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29593 (__SYSCALL_SLONG_TYPE): Likewise.
29594 (__SYSCALL_ULONG_TYPE): Likewise.
29595 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29596 (__SYSCALL_SLONG_TYPE): Likewise.
29597 (__SYSCALL_ULONG_TYPE): Likewise.
29598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29599 (__SYSCALL_SLONG_TYPE): Likewise.
29600 (__SYSCALL_ULONG_TYPE): Likewise.
29601
296022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29603
29604 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29605 Add sigaltstack-offsets.sym.
29606 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29607 <sigaltstack-offsets.h>.
29608 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29609 longjmp_msg pointer.
29610 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29611 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29612 signal stack.
29613 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29614
296152012-05-15 Joseph Myers <joseph@codesourcery.com>
29616
29617 * elf/stackguard-macros.h: Remove file.
29618 * sysdeps/generic/stackguard-macros.h: New file.
29619 * sysdeps/i386/stackguard-macros.h: Likewise.
29620 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29621 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29622 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29623 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29624 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29625 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29626 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29627 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29628 <elf/stackguard-macros.h>.
29629
29630 [BZ #14109]
29631 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29632 __aligned__ in attribute.
29633 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29634 (gregset_t): Likewise.
29635
296362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29637
29638 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29639 * sysdeps/x86_64/64/Implies-after: Here. New file.
29640 * sysdeps/x86_64/x32/Implies-after: New file.
29641
296422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29643
29644 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29645 and access return value for _dl_profile_fixup. Use R10_LP to
29646 load frame size.
29647
296482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29649
29650 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29651
296522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29653
29654 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29655 * sysdeps/x86_64/x32/sysdep.h: New file.
29656
296572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29658
29659 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29660 * sysdeps/x86_64/setjmp.S: Likewise.
29661
296622012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29663
29664 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29665 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29666 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29667 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29668 remove unused global constant.
29669
296702012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29671
29672 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29673 include of <not-cancel.h>.
29674
296752012-05-15 Roland McGrath <roland@hack.frob.com>
29676
29677 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29678
296792012-05-15 Jeff Law <law@redhat.com>
29680 Andreas Jaeger <aj@suse.de>
29681
29682 [BZ #13594]
29683 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29684 out from...
29685 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29686 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29687 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29688 code changing __hst_map_handle.map.
29689
296902012-05-15 Roland McGrath <roland@hack.frob.com>
29691
29692 * configure.in (sysnames): Look for Implies-before and Implies-after
29693 files.
29694 * configure: Regenerated.
29695
296962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29697
29698 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29699 8-byte data alignment with LP_SIZE alignment.
29700
297012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29702
29703 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29704 into R10_LP.
29705
297062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29707
29708 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29709
297102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29711
29712 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29713 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29714 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29715 Likewise.
29716 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29717
297182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29719
29720 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29721 (stackinfo_sub_sp): Likewise.
29722
297232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29724
29725 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29726 RAX_LP.
29727
297282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29729
29730 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29731 into R*_LP.
29732
297332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29734
29735 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29736 sizes into R*_LP.
29737
297382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29739
29740 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29741
297422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29743
29744 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29745 into R11_LP and load __x86_64_shared_cache_size_half into
29746 R8_LP.
29747
297482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29749
29750 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29751 R8_LP.
29752
297532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29754
29755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29756 logb for POWER7.
29757 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29758 logbf for POWER7.
29759 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29760 logbl for POWER7.
29761 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29762 powerpc32/power7/fpu/s_logb.c via #include.
29763 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29764 powerpc32/power7/fpu/s_logbf.c via #include.
29765 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29766 powerpc32/power7/fpu/s_logbl.c via #include.
29767
297682012-05-15 Joseph Myers <joseph@codesourcery.com>
29769
29770 * README.libm: Remove file.
29771
297722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29773
29774 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29775 count for x32. Use R*_LP and omit operand-size suffix.
29776
297772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29778
29779 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29780 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29781 * sysdeps/x86_64/x32/shlib-versions: New file.
29782
297832012-05-14 Roland McGrath <roland@hack.frob.com>
29784
29785 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29786 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29787 Use _dl_fatal_printf instead.
29788
297892012-05-14 Joseph Myers <joseph@codesourcery.com>
29790
29791 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29792 set if not set by the user. Do not allow for being unset.
29793 * sysdeps/unix/sysv/linux/configure: Regenerated.
29794
297952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29796
29797 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29798 the `q' suffix from lea and replace .quad with ASM_ADDR.
29799
298002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29801
29802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29803 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29804 instead of $17.
29805 (PTR_DEMANGLE): Likewise.
29806
298072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29808
29809 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29810 (LP_OP): Likewise.
29811 (ASM_ADDR): Likewise.
29812 (RAX_LP): Likewise.
29813 (RBP_LP): Likewise.
29814 (RBX_LP): Likewise.
29815 (RCX_LP): Likewise.
29816 (RDI_LP): Likewise.
29817 (RSI_LP): Likewise.
29818 (RSP_LP): Likewise.
29819 (R8_LP): Likewise.
29820 (R9_LP): Likewise.
29821 (R10_LP): Likewise.
29822 (R10_LP): Likewise.
29823 (R11_LP): Likewise.
29824 (R12_LP): Likewise.
29825 (R13_LP): Likewise.
29826 (R14_LP): Likewise.
29827 (R15_LP): Likewise.
29828
298292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29830
29831 * sysdeps/x86_64/x32/dl-machine.h: New file.
29832
298332012-05-14 Andreas Jaeger <aj@suse.de>
29834
29835 * manual/Makefile (subdir): Remove export of subdir.
29836 (all): Remove target.
29837 (.PHONY): Remove all from list.
29838 (mkinstalldirs): Remove.
29839 (.PHONY): Remove installdirs from list.
29840 ($(inst_infodir)/libc.info): Use make-target-directory.
29841 (installdirs): Remove.
29842 (subdir_%): Remove.
29843 (glibc-targets): Remove.
29844 (lib): Remove.
29845 (stubs): Remove.
29846 ($(objpfx)stubs ../po/manual.pot): Remove.
29847 ($(objpfx)stamp%): Remove.
29848 (make-target-directory): Remove.
29849 (subdir_install): Remove.
29850 (routines): Remove.
29851 (aux): Remove.
29852 (sources): Remove.
29853 (objects): Remove.
29854 (headers): Remove.
29855
29856 [BZ #13750]
29857 * manual/.gitignore: Remove, it's not needed anymore.
29858 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29859 all files in it.
29860 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29861 directory.
29862 (texis): Renamed to $(objpfx)texis.
29863 (texis-path): New, contains path to generated files.
29864 (chapters.%): Use texis-path for complete path, add extra argument
29865 libc-texinfo.sh.
29866 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29867 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29868 (summary,texi, stamp-summary): Use complete path of
29869 files. Generate files in build dir.
29870 (dir-add.texi): Build in build dir.
29871 (libm-err.texi,stamp-libm-err): Likewise.
29872 (version.texi, stamp-version): Likewise.
29873 (.%c.texi): Likewise.
29874 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29875 (mostlyclean): Remove target.
29876 (realclean): Remove target.
29877 (generated): Add new variable with contents from mostlyclean and
29878 realclean, remove entries duplicated in common-mostlyclean, add
29879 stamp-libm-err and stamp-version.
29880 (generated-dirs): Add libc directory.
29881 ($(inst_infodir)/libc.info): Install files from build dir.
29882
29883 * manual/install.texi (Configuring and compiling): Adjust since
29884 the info files are not part of the tar ball anymore.
29885
298862012-05-14 Andreas Jaeger <aj@suse.de>
29887
29888 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29889 variable.
29890
298912012-05-14 Joseph Myers <joseph@codesourcery.com>
29892
29893 [BZ #13717]
29894 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29895 to 2.2.0 where earlier.
29896 * sysdeps/unix/sysv/linux/configure: Regenerated.
29897 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29898 Remove conditional code.
29899 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29900 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29901 Remove conditional code.
29902 [!__NR_lchown]: Likewise.
29903 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29904 [__NR_lchown]: Likewise.
29905 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29906 comment referencing __ASSUME_LCHOWN_SYSCALL.
29907 * sysdeps/unix/sysv/linux/i386/sigaction.c
29908 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29909 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29910 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29911 Remove conditional code.
29912 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29913 (__protocol_available): Remove #if 0 code.
29914 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29915 conditional code.
29916 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29917 * sysdeps/unix/sysv/linux/kernel-features.h
29918 (__ASSUME_GETCWD_SYSCALL): Don't define.
29919 (__ASSUME_REALTIME_SIGNALS): Likewise.
29920 (__ASSUME_PREAD_SYSCALL): Likewise.
29921 (__ASSUME_PWRITE_SYSCALL): Likewise.
29922 (__ASSUME_POLL_SYSCALL): Likewise.
29923 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29924 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29925 non-SPARC.
29926 (__ASSUME_SIOCGIFNAME): Don't define.
29927 (__ASSUME_MSG_NOSIGNAL): Likewise.
29928 (__ASSUME_SENDFILE): Define unconditionally.
29929 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29930 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29931 conditional code.
29932 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29933 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29934 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29935 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29936 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29937 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29938 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29940 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29943 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29946 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29947 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29949 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29952 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29953 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29955 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29956 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29958 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29959 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29961 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29962 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29963 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29964 Remove conditional code.
29965 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29966 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29967 Remove conditional code.
29968 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29969 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29970 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29971 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29972 Remove conditional code.
29973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29974 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29975 Remove conditional code.
29976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29977 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29978 Remove conditional code.
29979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29980 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29981 Remove conditional code.
29982 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29983 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29984 Remove conditional code.
29985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29986 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29987 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29988 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29989 * sysdeps/unix/sysv/linux/sigaction.c
29990 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29991 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29992 * sysdeps/unix/sysv/linux/sigpending.c
29993 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29994 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29995 * sysdeps/unix/sysv/linux/sigprocmask.c
29996 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29997 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29998 * sysdeps/unix/sysv/linux/sigsuspend.c
29999 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30000 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30001 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30002 (__libc_missing_rt_sigs): Remove.
30003 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30004 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30005 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30006 Remove conditional code.
30007 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30008 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30009 return 1.
30010 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30011 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30012 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30013 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30014
300152012-05-14 Andreas Jaeger <aj@suse.de>
30016
30017 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30018 it's not used in glibc.
30019 (__coshm1): Likewise.
30020 (__acosh1p): Likewise.
30021 (__sgn): Likewise.
30022
30023 * manual/string.texi (Copying and Concatenation): Add missing
30024 variable in concat example.
30025 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30026
300272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30028
30029 [BZ #14103]
30030 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30031 __builtin_clzl with __builtin_clzll.
30032
300332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30034
30035 [BZ #14104]
30036 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30037 libc_freeres_ptr.
30038
300392012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30040
30041 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30042 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30043 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30044 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30045
300462012-05-14 Mike Frysinger <vapier@gentoo.org>
30047
30048 * NEWS: Update ia64 info.
30049
300502012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30051
30052 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30053 used as bcopy.
30054
300552012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30056
30057 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30058 * sysdeps/unix/syscalls.list (dup3): Likewise.
30059 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30060 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30061
300622012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30063
30064 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30065 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30066
300672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30068
30069 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30070 thread pointer.
30071 (TLS_IE): Use mov/add instead of movq/addq to load thread
30072 pointer.
30073 (TLS_GD_PREFIX): New.
30074 (TLS_GD): Use it.
30075
300762012-05-11 David S. Miller <davem@davemloft.net>
30077
30078 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30079 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30080 (_FPU_SETCW): Likewise.
30081
300822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30083
30084 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30085 is 32-byte aligned.
30086
300872012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30088
30089 [BZ #11837]
30090 * iconvdata/gb18030.c: Update tables.
30091 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30092 characters specially.
30093 (BODY for TO_LOOP): Add encoding of missing ranges.
30094
300952012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30096
30097 [BZ #13673]
30098 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30099 * sysdeps/mach/hurd/dup3.c: Likewise.
30100 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30101 * sysdeps/powerpc/memmove.c:: Likewise.
30102
301032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30104
30105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30106 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30107
301082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30109
30110 * elf/elf.h (R_X86_64_RELATIVE64): New.
30111 (R_X86_64_NUM): Updated.
30112 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30113 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30114 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30115 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30116 tst-quad1pie tst-quad2pie
30117 (modules-names): Add tst-quadmod1 tst-quadmod2.
30118 ($(objpfx)tst-quad1): New dependency.
30119 ($(objpfx)tst-quad2): Likewise.
30120 ($(objpfx)tst-quad1pie): Likewise.
30121 ($(objpfx)tst-quad2pie): Likewise.
30122 * sysdeps/x86_64/tst-quad1.c: New file.
30123 * sysdeps/x86_64/tst-quad1pie.c: New file.
30124 * sysdeps/x86_64/tst-quad2.c: Likewise.
30125 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30126 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30127 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30128 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30129 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30130
301312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30132
30133 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30134 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30135 * streams/stropts.h (t_scalar_t): Define type.
30136
30137 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30138 (_PATH_PRESERVE): Set to "/var/lib".
30139 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30140
30141 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30142 instead of int.
30143
30144 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30145 if __dir_mkfile succeeded.
30146
30147 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30148 checking for _hurd_dtablesize. Unlock it right after having
30149 finished _hurd_dtable allocation.
30150
301512012-05-10 Thomas Schwinge <thomas@schwinge.name>
30152
30153 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30154 * sysdeps/mach/hurd/configure: Regenerated.
30155 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30156 special-casing to...
30157 * sysdeps/gnu/configure.in: ... this new file.
30158 * sysdeps/unix/sysv/linux/configure: Regenerated.
30159 * sysdeps/gnu/configure: New generated file.
30160
30161 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30162 for Linux: use nsec instead of usec, as well as:
30163 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30164 members of type struct timespec.
30165 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30166 New macros.
30167 (struct stat64): Likewise.
30168 (_STATBUF_ST_NSEC): New macro.
30169 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30170
30171 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30172 __strtoul_internal rather than strtoul.
30173
301742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30175
30176 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30177 and reject them.
30178
301792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30180
30181 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30182 which preserves existing values.
30183 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30184
301852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30186
30187 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30188 TIMEOUT values. Return EINVAL for NFDS values either negative or
30189 greater than FD_SETSIZE.
30190
301912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30192
30193 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30194 allocated, call __vm_protect to finish enabling the existing space, and
30195 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30196 allocate the remainder.
30197
301982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30199
30200 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30201 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30202
302032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30204
30205 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30206 sysdeps/mach/hurd/readlink.c.
30207
30208 * posix/tst-sysconf.c (posix_options): Only use
30209 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30210 _POSIX_SYNCHRONIZED_IO when they are defined
30211 * sysdeps/mach/hurd/bits/posix_opt.h:
30212 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30213 (_XOPEN_REALTIME): Undefine macro.
30214 (_XOPEN_REALTIME_THREADS): Undefine macro.
30215 (_XOPEN_SHM): Undefine macro.
30216 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30217 macro to -1.
30218 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30219 macro to -1.
30220 (_POSIX_ASYNC_IO): Undefine macro.
30221 (_POSIX_PRIORITIZED_IO): Undefine macro.
30222 (_POSIX_SPIN_LOCKS): Define macro to -1.
30223
30224 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30225 SA_NODEFER, SA_RESETHAND.
30226 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30227 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30228 F_DUPFD_CLOEXEC.
30229
302302012-05-10 Thomas Schwinge <thomas@schwinge.name>
30231
30232 * elf/Makefile (pldd-modules): Define unconditionally.
30233
302342012-05-10 Thomas Schwinge <thomas@schwinge.name>
30235
30236 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30237
302382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30239
30240 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30241 Return ENOENT when name is empty.
30242 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30243
302442012-05-10 Thomas Schwinge <thomas@schwinge.name>
30245
30246 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30247
30248 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30249
302502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30251
30252 Fix mlock in all cases except non-readable pages.
30253 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30254 instead of VM_PROT_ALL as parameter to __vm_wire function.
30255
30256 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30257 (__mkdir): When path is `/', just fail with EEXIST.
30258 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30259
302602012-05-10 Thomas Schwinge <thomas@schwinge.name>
30261
30262 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30263 <sys/uio.h> (for writev).
30264 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30265 and <sys/param.h> (for MIN).
30266
302672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30268
30269 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30270 REQUESTED_TIME. Properly set the remaining time and return EINTR
30271 if interrupted.
30272
302732012-05-10 Thomas Schwinge <thomas@schwinge.name>
30274
30275 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30276 Depend on against $(link-rpcuserlibs).
30277
302782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30279
30280 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30281 (__libc_stack_end): Do not use attribute_relro.
30282 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30283 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30284 to libthread-provided value.
30285 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30286 attribute_relro.
30287
302882012-05-10 Thomas Schwinge <thomas@schwinge.name>
30289
30290 [BZ #3748]
30291 * bits/libc-lock.h (__libc_once_get): New macro.
30292 * sysdeps/mach/bits/libc-lock.h: Likewise.
30293 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30294 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30295 instead of using implementation details.
30296
30297 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30298 * libio/freopen.c: Likewise.
30299 * libio/freopen64.c: Likewise.
30300 * misc/syslog.c: Likewise.
30301 * nscd/connections.c: Likewise.
30302 * nscd/netgroupcache.c: Likewise.
30303 * sysdeps/posix/getcwd.c: Likewise.
30304
303052012-05-10 Roland McGrath <roland@hack.frob.com>
30306
30307 * math/w_ilogbf.c: Add #include <limits.h>.
30308
303092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30310
30311 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30312 path instead of returning without unlocking.
30313
30314 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30315 immediate-write ioctls.
30316 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30317
303182012-05-10 Thomas Schwinge <thomas@schwinge.name>
30319
30320 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30321 __builtin_frame_address instead of making assumptions about the
30322 location of the return address relative to DATA. Force early load of
30323 the return address.
30324 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30325 __builtin_frame_address.
30326
30327 dup3 for GNU Hurd.
30328 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30329 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30330 implement dup3 and do some further code clean-ups.
30331 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30332 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30333
303342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30335
30336 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30337
30338 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30339 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30340 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30341 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30342 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30343 d->port.lock.
30344
30345 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30346 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30347 when handler == SIG_ERR, not when handler != SIG_ERR.
30348
303492012-05-10 Thomas Schwinge <thomas@schwinge.name>
30350
30351 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30352 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30353 definitions.
30354
30355 accept4 for GNU Hurd.
30356 * include/sys/socket.h (__libc_accept4): New prototype.
30357 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30358 to implement __libc_accept4.
30359 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30360 __libc_accept4.
30361 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30362
30363 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30364 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30365 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30366 signal-defines.sym.
30367
303682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30369
30370 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30371
303722012-05-10 Thomas Schwinge <thomas@schwinge.name>
30373
30374 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30375 assertion on O_CLOEXEC flag.
30376 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30377 * hurd/intern-fd.c: Likewise.
30378 * hurd/port2fd.c: Likewise.
30379
303802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30381
30382 [BZ #3906]
30383 * bits/in.h (IPV6_PKTINFO): Define new macro.
30384 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30385
303862012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30387
30388 [BZ #13954]
30389 [BZ #13955]
30390 [BZ #13956]
30391 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30392 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30393 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30394 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30395 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30396 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30397 * math/libm-test.inc (logb_test) : Additional logb tests.
30398
303992012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30400 Andreas Jaeger <aj@suse.de>
30401
30402 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30403 * configure: Regenerated.
30404 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30405 * config.make.in (link-obsolete-rpc): New substituted variable.
30406 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30407 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30408 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30409 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30410 so that libc.a contains the symbols.
30411 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30412 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30413 * sunrpc/auth_none.c: Likewise.
30414 * sunrpc/auth_unix.c: Likewise.
30415 * sunrpc/authdes_prot.c: Likewise.
30416 * sunrpc/authuxprot.c: Likewise.
30417 * sunrpc/clnt_gen.c: Likewise.
30418 * sunrpc/clnt_perr.c: Likewise.
30419 * sunrpc/clnt_raw.c: Likewise.
30420 * sunrpc/clnt_simp.c: Likewise.
30421 * sunrpc/clnt_tcp.c: Likewise.
30422 * sunrpc/clnt_udp.c: Likewise.
30423 * sunrpc/clnt_unix.c: Likewise.
30424 * sunrpc/des_crypt.c: Likewise.
30425 * sunrpc/des_soft.c: Likewise.
30426 * sunrpc/get_myaddr.c: Likewise.
30427 * sunrpc/key_call.c: Likewise.
30428 * sunrpc/key_prot.c: Likewise.
30429 * sunrpc/netname.c: Likewise.
30430 * sunrpc/pm_getmaps.c: Likewise.
30431 * sunrpc/pm_getport.c: Likewise.
30432 * sunrpc/pmap_clnt.c: Likewise.
30433 * sunrpc/pmap_prot.c: Likewise.
30434 * sunrpc/pmap_prot2.c: Likewise.
30435 * sunrpc/pmap_rmt.c: Likewise.
30436 * sunrpc/publickey.c: Likewise.
30437 * sunrpc/rpc_cmsg.c: Likewise.
30438 * sunrpc/rpc_common.c: Likewise.
30439 * sunrpc/rpc_dtable.c: Likewise.
30440 * sunrpc/rpc_prot.c: Likewise.
30441 * sunrpc/rpc_thread.c: Likewise.
30442 * sunrpc/rtime.c: Likewise.
30443 * sunrpc/svc.c: Likewise.
30444 * sunrpc/svc_auth.c: Likewise.
30445 * sunrpc/svc_raw.c: Likewise.
30446 * sunrpc/svc_run.c: Likewise.
30447 * sunrpc/svc_tcp.c: Likewise.
30448 * sunrpc/svc_udp.c: Likewise.
30449 * sunrpc/svc_unix.c: Likewise.
30450 * sunrpc/svcauth_des.c: Likewise.
30451 * sunrpc/xcrypt.c: Likewise.
30452 * sunrpc/xdr.c: Likewise.
30453 * sunrpc/xdr_array.c: Likewise.
30454 * sunrpc/xdr_float.c: Likewise.
30455 * sunrpc/xdr_intXX_t.c: Likewise.
30456 * sunrpc/xdr_mem.c: Likewise.
30457 * sunrpc/xdr_rec.c: Likewise.
30458 * sunrpc/xdr_ref.c: Likewise.
30459 * sunrpc/xdr_sizeof.c: Likewise.
30460 * sunrpc/xdr_stdio.c: Likewise.
30461
304622012-05-10 Roland McGrath <roland@hack.frob.com>
30463
30464 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30465 change. Update copyright years.
30466
304672012-05-10 Joseph Myers <joseph@codesourcery.com>
30468
30469 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30470
304712012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30472 Joseph Myers <joseph@codesourcery.com>
30473 Paul Pluzhnikov <ppluzhnikov@google.com>
30474
30475 [BZ #14012]
30476 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30477 requiring rpcgen.
30478 [cross-compiling] (extra-libs): Likewise.
30479 [cross-compiling] (extra-libs-others): Likewise.
30480 [cross-compiling] (librpcsvc-routines): Likewise.
30481 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30482 [cross-compiling] (omit-deps): Likewise.
30483 (sunrpc-CPPFLAGS): New variable.
30484 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30485 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30486 (cross-rpcgen-objs): New variable.
30487 (extra-objs): Append $(cross-rpcgen-objs).
30488 ($(cross-rpcgen-objs)): New rule.
30489 ($(objpfx)cross-rpcgen): Likewise.
30490 (rpcgen-cmd): Define to use $(built-program-file). Expand
30491 comment.
30492 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30493 ($(objpfx)x%.stmp): Likewise.
30494 * sunrpc/proto.h [IS_IN_build] (_): Define.
30495 [IS_IN_build] (_libc_intl_domainname): Likewise.
30496
304972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30498
30499 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30500 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30501 and R_X86_64_TPOFF64.
30502
305032012-05-10 Joseph Myers <joseph@codesourcery.com>
30504
30505 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30506 sysdeps/unix/sysv/syscalls.list.
30507 (stime): Likewise.
30508 (utime): Likewise.
30509 * sysdeps/unix/sysv/syscalls.list: Remove file.
30510
305112012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30512
30513 [BZ #3440]
30514 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30515 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30516 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30517 (__LC_IDENTIFICATION): Make these macros useful in #if
30518 expressions, as required by C99.
30519
305202012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30521
30522 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30523 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30524 after this.
30525
305262012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30527
30528 * stdlib/longlong.h: Updated from GCC.
30529
305302012-05-09 Andreas Jaeger <aj@suse.de>
30531
30532 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30533 default is first entry.
30534 (run_mode): Set type.
30535 (main): Remove informal message about syslog.
30536 (options): Fix typo.
30537
30538 [BZ #14053]
30539 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30540 to asm.
30541 (lrint): Likewise.
30542 (llrintf): Likewise.
30543 (llrint): Likewise.
30544 (rint): Likewise.
30545 (rintf): Likewise.
30546 (nearbyint): Likewise.
30547 (nearbyintf): Likewise.
30548
305492012-05-09 Andreas Jaeger <aj@suse.de>
30550 Pedro Alves <palves@redhat.com>
30551
30552 * nscd/nscd.c (run_mode): Use enum.
30553 (main): Cleanup coding style issue.
30554
305552012-05-09 Alexandre Oliva <aoliva@redhat.com>
30556 Andreas Jaeger <aj@suse.de>
30557
30558 * nscd/nscd.c (go_background): Replaced with...
30559 (run_mode): ... this.
30560 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30561 (options): Add -F --foreground.
30562 (main): Implement it.
30563 (parse_opt): Parse it.
30564
305652012-05-09 Andreas Jaeger <aj@suse.de>
30566
30567 [BZ #14083]
30568 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30569 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30570 -Wconversion warning.
30571 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30572 Likewise.
30573
305742012-05-09 Joseph Myers <joseph@codesourcery.com>
30575
30576 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30577 == 0.
30578 (LC_ALL): Use macro-int-constant.
30579 (LC_COLLATE): Likewise.
30580 (LC_CTYPE): Likewise.
30581 (LC_MESSAGES): Likewise.
30582 (LC_MONETARY): Likewise.
30583 (LC_NUMERIC): Likewise.
30584 (LC_TIME): Likewise.
30585 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30586 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30587 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30588 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30589 Specify type.
30590 [C99-based standards] (float_t): Expect type.
30591 [C99-based standards] (double_t): Expect type.
30592 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30593 type.
30594 [C99-based standards] (HUGE_VALL): Likewise.
30595 [C99-based standards] (INFINITY): Likewise.
30596 [C99-based standards] (NAN): Likewise.
30597 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30598 [C99-based standards] (FP_NAN): Likewise.
30599 [C99-based standards] (FP_NORMAL): Likewise.
30600 [C99-based standards] (FP_SUBNORMAL): Likewise.
30601 [C99-based standards] (FP_ZERO): Likewise.
30602 [C99-based standards] (FP_FAST_FMA): Use
30603 optional-macro-int-constant. Specify type. Require == 1.
30604 [C99-based standards] (FP_FAST_FMAF): Likewise.
30605 [C99-based standards] (FP_FAST_FMAL): Likewise.
30606 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30607 [C99-based standards] (FP_ILOGBNAN): Likewise.
30608 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30609 Specify type.
30610 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30611 [C99-based standards] (math_errhandling): Specify type.
30612 [ISO99 || ISO11] (signgam): Do not allow.
30613 [non-C99-based standards] (copysignf): Do not allow.
30614 [non-C99-based standards] (exp2f): Likewise.
30615 [non-C99-based standards] (log2f): Likewise.
30616 [non-C99-based standards] (modff): Allow.
30617 [non-C99-based standards] (erff): Do not allow.
30618 [non-C99-based standards] (erfcf): Likewise.
30619 [non-C99-based standards] (gammaf): Likewise.
30620 [non-C99-based standards] (hypotf): Likewise.
30621 [non-C99-based standards] (j0f): Likewise.
30622 [non-C99-based standards] (j1f): Likewise.
30623 [non-C99-based standards] (jnf): Likewise.
30624 [non-C99-based standards] (lgammaf): Likewise.
30625 [non-C99-based standards] (tgammaf): Likewise.
30626 [non-C99-based standards] (y0f): Likewise.
30627 [non-C99-based standards] (y1f): Likewise.
30628 [non-C99-based standards] (ynf): Likewise.
30629 [non-C99-based standards] (isnanf): Likewise.
30630 [non-C99-based standards] (acoshf): Likewise.
30631 [non-C99-based standards] (asinhf): Likewise.
30632 [non-C99-based standards] (atanhf): Likewise.
30633 [non-C99-based standards] (cbrtf): Likewise.
30634 [non-C99-based standards] (expm1f): Likewise.
30635 [non-C99-based standards] (ilogbf): Likewise.
30636 [non-C99-based standards] (log1pf): Likewise.
30637 [non-C99-based standards] (logbf): Likewise.
30638 [non-C99-based standards] (nextafterf): Likewise.
30639 [non-C99-based standards] (remainderf): Likewise.
30640 [non-C99-based standards] (rintf): Likewise.
30641 [non-C99-based standards] (scalbf): Likewise.
30642 [non-C99-based standards] (copysignl): Likewise.
30643 [non-C99-based standards] (exp2l): Likewise.
30644 [non-C99-based standards] (log2l): Likewise.
30645 [non-C99-based standards] (modfl): Allow.
30646 [non-C99-based standards] (erfl): Do not allow.
30647 [non-C99-based standards] (erfcl): Likewise.
30648 [non-C99-based standards] (gammal): Likewise.
30649 [non-C99-based standards] (hypotl): Likewise.
30650 [non-C99-based standards] (j0l): Likewise.
30651 [non-C99-based standards] (j1l): Likewise.
30652 [non-C99-based standards] (jnl): Likewise.
30653 [non-C99-based standards] (lgammal): Likewise.
30654 [non-C99-based standards] (tgammal): Likewise.
30655 [non-C99-based standards] (y0l): Likewise.
30656 [non-C99-based standards] (y1l): Likewise.
30657 [non-C99-based standards] (ynl): Likewise.
30658 [non-C99-based standards] (isnanl): Likewise.
30659 [non-C99-based standards] (acoshl): Likewise.
30660 [non-C99-based standards] (asinhl): Likewise.
30661 [non-C99-based standards] (atanhl): Likewise.
30662 [non-C99-based standards] (cbrtl): Likewise.
30663 [non-C99-based standards] (expm1l): Likewise.
30664 [non-C99-based standards] (ilogbl): Likewise.
30665 [non-C99-based standards] (log1pl): Likewise.
30666 [non-C99-based standards] (logbl): Likewise.
30667 [non-C99-based standards] (nextafterl): Likewise.
30668 [non-C99-based standards] (remainderl): Likewise.
30669 [non-C99-based standards] (rintl): Likewise.
30670 [non-C99-based standards] (scalbl): Likewise.
30671 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30672 [non-C99-based standards] (FP_*): Do not allow.
30673 [C99-based standards] (FP_*): Change to
30674 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30675 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30676 allow.
30677 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30678 (SIG_ERR): Likewise.
30679 [X/Open-based standards] (SIG_HOLD): Likewise.
30680 (SIG_IGN): Likewise.
30681 (SIGABRT): Use macro-int-constant. Specify type. Require
30682 positive value.
30683 (SIGFPE): Likewise.
30684 (SIGILL): Likewise.
30685 (SIGINT): Likewise.
30686 (SIGSEGV): Likewise.
30687 (SIGTER): Likewise.
30688 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30689 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30690 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30691 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30692 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30693 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30694 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30695 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30696 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30697 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30698 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30699 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30700 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30701 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30702 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30703 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30704 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30705 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30706 [X/Open-based standards] (SIGTRAP): Likewise.
30707 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30708 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30709 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30710 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30711 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30712 allow.
30713
307142012-05-08 Ian Wienand <ianw@vmware.com>
30715
30716 [BZ #14080]
30717 * time/tzset.c (__tzset_parse_tz): Update default rules for
30718 daylight time changes in the Energy Policy Act of 2005.
30719
307202012-05-09 Andreas Jaeger <aj@suse.de>
30721
30722 [BZ #13983]
30723 * elf/ldconfig.c (parse_conf): Change string to make clear that
30724 ldconfig only issued a warning if ld.so.conf does not exist.
30725
307262012-05-08 David S. Miller <davem@davemloft.net>
30727
30728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30729 movxtod instead of popping the value on the stack.
30730
30731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30732
307332012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30734
30735 * config.h.in: Add HAVE_ARM_PCS_VFP.
30736
307372012-05-08 Roland Mc Grath <roland@hack.frob.com>
30738
30739 [BZ #13979]
30740 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30741 checking but the checks are disabled for any reason.
30742
307432012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30744
30745 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30746 and ELF64_R_TYPE with ELFW(R_TYPE).
30747
307482012-05-08 Joseph Myers <joseph@codesourcery.com>
30749
30750 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30751 (ulimit): Likewise.
30752
30753 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30754 (settimeofday): Likewise.
30755
307562012-05-08 Mike Frysinger <vapier@gentoo.org>
30757
30758 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30759 a struct th_u2 inside the union, and move tu_block/tu_code into
30760 a new th_u3 union of tu_block/tu_code inside of that. Move
30761 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30762 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30763 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30764 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30765 (th_stuff): Change to th_u1.tu_stuff.
30766 (th_data): Define.
30767 (th_msg): Change to th_u1.th_u2.tu_data.
30768
307692012-05-07 David S. Miller <davem@davemloft.net>
30770
30771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30772
30773 [BZ #14074]
30774 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30775 (SETUP_PIC_REG): Use it.
30776 (SETUP_PIC_REG_LEAF): Use it.
30777
307782012-05-07 Joseph Myers <joseph@codesourcery.com>
30779
30780 [BZ #13885]
30781 [BZ #13923]
30782 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30783 USE_AS_EXPM1L.
30784 (EXPL_FINITE): Likewise.
30785 (FLDLOG): Likewise.
30786 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30787 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30788 e_expl.S.
30789 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30790 USE_AS_EXPM1L.
30791 (EXPL_FINITE): Likewise.
30792 (FLDLOG): Likewise.
30793 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30794 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30795 e_expl.S.
30796 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30797 test of -max_value argument for long double.
30798 * sysdeps/i386/fpu/libm-test-ulps: Update.
30799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30800
308012012-05-06 David S. Miller <davem@davemloft.net>
30802
30803 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30804 quad soft-float symbols whose references which are compiler
30805 generated.
30806 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30807
308082012-05-06 Joseph Myers <joseph@codesourcery.com>
30809
30810 [BZ #13884]
30811 [BZ #13914]
30812 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30813 USE_AS_EXP10L.
30814 (EXPL_FINITE): Likewise.
30815 (FLDLOG): Likewise.
30816 (c0): Likewise.
30817 (c1): Likewise.
30818 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30819 Adjust comments for base varying.
30820 (__expl_finite): Change alias to EXPL_FINITE.
30821 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30822 e_expl.S.
30823 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30824 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30825 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30826 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30827 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30828 USE_AS_EXP10L.
30829 (EXPL_FINITE): Likewise.
30830 (FLDLOG): Likewise.
30831 (c0): Likewise.
30832 (c1): Likewise.
30833 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30834 Adjust comments for base varying.
30835 (__expl_finite): Change alias to EXPL_FINITE.
30836 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30837 tests for bugs.
30838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30839
30840 [BZ #14064]
30841 * math/libm-test.inc (check_float_internal): Correct ulp
30842 calculation for subnormal expected results.
30843
308442012-05-06 Andreas Jaeger <aj@suse.de>
30845
30846 * Makeconfig (+math-flags): New, set to -frounding-math.
30847 (+cflags): Add +math-flags so that all of glibc gets compiled with
30848 it.
30849
30850 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30851
308522012-05-05 Joseph Myers <joseph@codesourcery.com>
30853
30854 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30855 Disable one test.
30856
30857 [BZ #13787]
30858 [BZ #13922]
30859 [BZ #14036]
30860 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30861 (__ieee754_expl): Allow for and saturate large arguments.
30862 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30863 (u_threshold): Likewise.
30864 (__exp): Call __ieee754_exp before checking for overflow and
30865 underflow.
30866 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30867 (u_threshold): Likewise.
30868 (__expf): Call __ieee754_expf before checking for overflow and
30869 underflow.
30870 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30871 (u_threshold): Likewise.
30872 (__expl): Call __ieee754_expl before checking for overflow and
30873 underflow.
30874 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30875 (__ieee754_expl): Allow for and saturate large arguments.
30876 * math/libm-test.inc (exp_test): Add another test. Do not allow
30877 missing overflow exception on overflow.
30878 (expm1_test): Do not allow missing overflow exception on overflow.
30879
30880 * sysdeps/i386/fpu/e_expl.c: Move to ...
30881 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30882 rather than using inline asm.
30883 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30884 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30885 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30886
30887 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30888 (nice): Likewise.
30889 (poll): Likewise.
30890 (signal): Likewise.
30891 (time): Likewise.
30892 (times): Likewise.
30893
308942012-05-04 Joseph Myers <joseph@codesourcery.com>
30895
30896 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30897 sysdeps/unix/common/syscalls.list.
30898 (fchmod): Likewise.
30899 (fchown): Likewise.
30900 (ftruncate): Likewise.
30901 (getrusage): Likewise.
30902 (gettimeofday): Likewise.
30903 (setpgid): Likewise.
30904 (setregid): Likewise.
30905 (setreuid): Likewise.
30906 (sigaction): Likewise.
30907 (truncate): Likewise.
30908 (vhangup): Likewise.
30909 * sysdeps/unix/common/syscalls.list: Remove file.
30910 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30911 * sysdeps/unix/sysv/linux/Implies: Likewise.
30912
309132012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30914
30915 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30917 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30918 Moved to ...
30919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30920 Here.
30921 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30922 to ...
30923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30924 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30925 to ...
30926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30927 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30928 to ...
30929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30930 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30931 to ...
30932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30933 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30934 to ...
30935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30936 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30937 to ...
30938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30939 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30940 to ...
30941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30942 Here.
30943 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30944 to ...
30945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30946 Here.
30947 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30948 to ...
30949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30950 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30951 Moved to ...
30952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30953 Here.
30954 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30955 to ...
30956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30957
309582012-05-04 Joseph Myers <joseph@codesourcery.com>
30959
30960 * sysdeps/unix/common/bits/dirent.h: Remove file.
30961 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30962
30963 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30964 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30965 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30966 * sysdeps/unix/bsd/isatty.c: Likewise.
30967 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30968 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30969 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30970
309712012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30972
30973 [BZ #13563]
30974 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30975 long double comparison inaccuracies.
30976 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30978
309792012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30980
30981 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30982 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30983
309842012-05-04 Joseph Myers <joseph@codesourcery.com>
30985
30986 [BZ #14049]
30987 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30988 nonzero digits before rounding a hex value.
30989 * stdlib/tst-strtod.c (tests): Add another test.
30990
309912012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30992
30993 * sysdeps/s390/fpu/libm-test-ulps: Update.
30994
309952012-05-03 Andreas Jaeger <aj@suse.de>
30996
30997 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30998 does not get optimized out.
30999 (malloc_opt_barrier): New.
31000
310012012-05-03 Andreas Jaeger <aj@suse.de>
31002 Roland McGrath <roland@hack.frob.com>
31003
31004 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31005 intermediate file deletion.
31006 (generated): Add .symlist files.
31007
310082012-05-03 Joseph Myers <joseph@codesourcery.com>
31009
31010 [BZ #13775]
31011 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31012 Redirect under this condition.
31013 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31014 [__USE_GNU] (__dprintf_chk): Not under this condition.
31015 [__USE_GNU] (__vdprintf_chk): Likewise.
31016 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31017 under this condition.
31018 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31019 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31020 [__USE_XOPEN2K8] (vdprintf): Likewise.
31021 [__USE_GNU] (__dprintf_chk): Not under this condition.
31022 [__USE_GNU] (__vdprintf_chk): Likewise.
31023 [__USE_GNU] (dprintf): Likewise.
31024 [__USE_GNU] (vdprintf): Likewise.
31025
310262012-05-03 Roland McGrath <roland@hack.frob.com>
31027
31028 * elf/Makefile (common-generated): Set this instead of generated for
31029 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31030 $(all-built-dso)-derived lists.
31031
310322012-05-03 Andreas Jaeger <aj@suse.de>
31033
31034 * sysdeps/i386/fpu/libm-test-ulps: Update.
31035
31036 * FAQ: Removed.
31037 * FAQ.in: Likewise.
31038 * scripts/gen-FAQ.pl: Likewise.
31039 * manual/install.texi (Installation): Point to online location of
31040 FAQ.
31041 * Makefile (files-for-dist): Remove FAQ.
31042 (FAQ): Remove.
31043
310442012-05-02 Allan McRae <allan@archlinux.org>
31045
31046 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31047 (LDFLAGS-reldepmod5.so): Likewise.
31048 (LDFLAGS-reldep6mod1.so): Likewise.
31049 (LDFLAGS-reldep6mod4.so): Likewise.
31050 (LDFLAGS-reldep8mod3.so): Likewise.
31051 (LDFLAGS-unload4mod1.so): Likewise.
31052 (LDFLAGS-unload4mod2.so): Likewise.
31053 (LDFLAGS-tst-initorder): Likewise.
31054 (LDFLAGS-tst-initordera2.so): Likewise.
31055 (LDFLAGS-tst-initordera3.so): Likewise.
31056 (LDFLAGS-tst-initordera4.so): Likewise.
31057 (LDFLAGS-tst-initorderb2.so): Likewise.
31058 (LDFLAGS-noload): Likewise.
31059 (LDFLAGS-next): Likewise.
31060 (LDFLAGS-order2mod1.so): Likewise.
31061 (LDFLAGS-order2mod2.so): Likewise.
31062 (LDFLAGS-tst-initorder2): Likewise.
31063 (LDFLAGS-tst-initorder2a.so): Likewise.
31064 (LDFLAGS-tst-initorder2b.so): Likewise.
31065 (LDFLAGS-tst-initorder2c.so): Likewise.
31066 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31067
310682012-05-02 David S. Miller <davem@davemloft.net>
31069
31070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31071
310722012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31073
31074 [BZ #14055]
31075 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31076
310772012-05-02 Andreas Jaeger <aj@suse.de>
31078
31079 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31080 since we manipulate rounding mode.
31081 (CPPFLAGS-test-idouble.c): Likewise.
31082 (CPPFLAGS-test-ifloat.c): Likewise.
31083 (CFLAGS-test-ldouble.c): Likewise.
31084 (CFLAGS-test-double.c): Likewise.
31085 (CFLAGS-test-float.c): Likewise.
31086 (CFLAGS-test-misc.c): Likewise.
31087 (CFLAGS-test-test-fenv.c): Likewise.
31088
310892012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31090
31091 [BZ #2550]
31092 [BZ #2570]
31093 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31094 comparisons to determine direction to adjust input.
31095
310962012-05-01 Roland McGrath <roland@hack.frob.com>
31097
31098 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31099 output to the target.
31100
31101 * scripts/localplt.awk: New file.
31102 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31103 (check-localplt-CFLAGS): Variable removed.
31104 ($(all-built-dso:=.jmprel)): New static pattern rule.
31105 (generated): Add those targets.
31106 (localplt-built-dso): New variable.
31107 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31108
31109 * elf/check-localplt.c: File removed.
31110
31111 * scripts/check-execstack.awk: New file.
31112 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31113 (check-execstack-CFLAGS): Variable removed.
31114 ($(objpfx)check-execstack.h): Target removed.
31115 ($(objpfx)execstack-default): New target.
31116 (generated): Add that instead of check-execstack.h.
31117 ($(all-built-dso:=.phdr)): New static pattern rule.
31118 (generated): Add those targets.
31119 * elf/check-execstack.c: File removed.
31120
31121 * scripts/check-textrel.awk: New file.
31122 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31123 (check-textrel-CFLAGS): Variable removed.
31124 (all-built-dso): Use := to define.o
31125 ($(all-built-dso:=.dyn)): New static pattern rule.
31126 (generated): Add those targets.
31127 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31128 * config.make.in (READELF): New substituted variable.
31129 * elf/check-textrel.c: File removed.
31130
311312012-05-01 Joseph Myers <joseph@codesourcery.com>
31132
31133 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31134 allow.
31135 * conform/data/ctype.h-data [C99-based standards] (isblank):
31136 Expect function.
31137 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31138 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31140 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31141 Specify type. Require positive value.
31142 (EILSEQ): Likewise.
31143 (ERANGE): Likewise.
31144 [ISO || POSIX] (EILSEQ): Do not expect.
31145 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31146 Specify type. Require positive value.
31147 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31148 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31149 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31150 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31151 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31152 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31153 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31154 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31155 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31156 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31157 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31158 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31159 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31160 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31161 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31162 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31163 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31164 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31165 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31166 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31167 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31168 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31169 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31170 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31171 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31172 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31173 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31174 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31175 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31176 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31177 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31178 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31179 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31180 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31181 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31182 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31183 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31184 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31185 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31186 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31187 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31188 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31189 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31190 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31191 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31192 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31193 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31194 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31195 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31196 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31197 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31198 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31199 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31200 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31201 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31202 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31203 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31204 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31205 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31206 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31207 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31208 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31209 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31210 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31211 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31212 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31213 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31214 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31215 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31216 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31217 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31218 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31219 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31220 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31221 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31222 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31223 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31224 Require >= 2.
31225 (FLT_ROUNDS): Expect as macro, not constant.
31226 (FLT_MANT_DIG): Use macro-int-constant.
31227 (DBL_MANT_DIG): Likewise.
31228 (LDBL_MANT_DIG): Likewise.
31229 (FLT_DIG): Likewise.
31230 (DBL_DIG): Likewise.
31231 (LDBL_DIG): Likewise.
31232 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31233 (DBL_MIN_EXP): Likewise.
31234 (LDBL_MIN_EXP): Likewise.
31235 (FLT_MAX_EXP): Use macro-int-constant.
31236 (DBL_MAX_EXP): Likewise.
31237 (LDBL_MAX_EXP): Likewise.
31238 (FLT_MAX_10_EXP): Likewise.
31239 (DBL_MAX_10_EXP): Likewise.
31240 (LDBL_MAX_10_EXP): Likewise.
31241 (FLT_MAX): Use macro-constant.
31242 (DBL_MAX): Likewise.
31243 (LDBL_MAX): Likewise.
31244 (FLT_EPSILON): Use macro-constant. Give upper bound.
31245 (DBL_EPSILON): Likewise.
31246 (LDBL_EPSILON): Likewise.
31247 (FLT_MIN): Likewise.
31248 (DBL_MIN): Likewise.
31249 (LDBL_MIN): Likewise.
31250 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31251 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31252 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31253 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31254 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31255 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31256 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31257 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31258 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31259 [ISO11] (FLT_TRUE_MIN): Likewise.
31260 [ISO11] (LDBL_TRUE_MIN): Likewise.
31261 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31262 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31263 (SCHAR_MIN): Use macro-int-constant. Specify type.
31264 (SCHAR_MAX): Likewise.
31265 (UCHAR_MAX): Likewise.
31266 (CHAR_MIN): Likewise.
31267 (CHAR_MAX): Likewise.
31268 (MB_LEN_MAX): Use macro-int-constant.
31269 (SHRT_MIN): Use macro-int-constant. Specify type.
31270 (SHRT_MAX): Likewise.
31271 (USHRT_MAX): Likewise.
31272 (INT_MAX): Likewise.
31273 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31274 bound negative.
31275 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31276 bound with "U".
31277 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31278 bound with "L".
31279 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31280 bound negative. Suffix upper bound with "L".
31281 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31282 bound with "UL".
31283 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31284 Specify type.
31285 [C99-based standards] (LLONG_MAX): Likewise.
31286 [C99-based standards] (ULLONG_MAX): Likewise.
31287 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31288 == 0.
31289 [ISO11] (max_align_t): Require type.
31290 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31291
31292 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31293 from $CFLAGS, without defining away __attribute__ calls.
31294 (checknamespace): Use $CFLAGS_namespace.
31295
31296 * conform/conformtest.pl (@keywords): Only include C99 keywords
31297 for standards based on C99 or C11.
31298
31299 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31300 Disable tests.
31301 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31302 UNIX98]: Likewise.
31303
31304 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31305 usability of symbols in #if.
31306
31307 * conform/conformtest.pl: If macro or constant types start
31308 "promoted:", expect the symbol to be of the following type
31309 promoted by the integer promotions.
31310
31311 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31312 in one place. Also handle "macro-constant".
31313
31314 * conform/conformtest.pl: Only accept expected macro values with
31315 "==". Parse all "macro" lines in one place.
31316 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31317
31318 * conform/conformtest.pl: Handle braced types on "constant" lines
31319 instead of handling "typed-constant".
31320 * conform/data/signal.h-data: Use "constant" instead of
31321 "typed-constant".
31322
31323 * conform/conformtest.pl: Handle "optional-" at start of lines in
31324 one place rather than duplicating several cases. Handle each
31325 format of "macro" line with initial "optional-".
31326
31327 * conform/conformtest.pl: Only accept expected constant or
31328 optional-constant values with "==". Parse all "constant" lines in
31329 one place. Parse all "optional-constant" lines in one place.
31330 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31331 * conform/data/fmtmsg.h-data: Likewise.
31332 * conform/data/netinet/in.h-data: Likewise.
31333 * conform/data/tar.h-data: Likewise.
31334 * conform/data/limits.h-data: Use "==" form on "constant" and
31335 "optional-constant" lines.
31336
31337 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31338 Use -std=c99 for XOPEN2K.
31339 (@knownproblems): Remove.
31340 (newtoken): Don't check %isknown.
31341
31342 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31343 Do not expect macro.
31344 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31345 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31346 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31347 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31348 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31349 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31350 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31351 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31352 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31353 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31354 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31355 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31356 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31357 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31358 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31359 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31360 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31361 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31362 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31363 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31364 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31365 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31366 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31367 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31368 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31369 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31370 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31371 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31372 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31373 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31374 [XPG3] (acosh): Likewise.
31375 [XPG3] (asinh): Likewise.
31376 [XPG3] (atanh): Likewise.
31377 [XPG3] (cbrt): Likewise.
31378 [XPG3] (expm1): Likewise.
31379 [XPG3] (ilogb): Likewise.
31380 [XPG3] (log1p): Likewise.
31381 [XPG3] (logb): Likewise.
31382 [XPG3] (nextafter): Likewise.
31383 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31384 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31385 [XPG3] (remainder): Likewise.
31386 [XPG3] (rint): Likewise.
31387 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31388 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31389 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31390 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31391 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31392 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31393 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31394 [UNIX98 || XOPEN2K] (scalb): Expect.
31395 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31396 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31397 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31398 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31399 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31400 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31401 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31402 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31403 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31404 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31405 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31406 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31407 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31408 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31409 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31410 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31411 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31412 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31413 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31414 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31415 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31416 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31417 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31418 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31419 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31420 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31421 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31422 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31423 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31424 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31425 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31426 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31427 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31428 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31429 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31430 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31431 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31432 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31433 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31434 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31435 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31436 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31437 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31438 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31439 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31440 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31441 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31442 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31443 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31444 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31445 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31446 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31447 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31448 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31449 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31450 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31451 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31452 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31453 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31454 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31455 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31456 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31457 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31458 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31459 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31460 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31461 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31462 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31463 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31464 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31465 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31466 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31467 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31468 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31469 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31470 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31471 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31472 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31473 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31474 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31475 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31476 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31477 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31478 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31479 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31480 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31481 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31482 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31483 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31484 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31485 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31486 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31487 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31488 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31489 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31490 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31491 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31492 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31493 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31494 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31495 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31496 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31497 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31498 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31499 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31500 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31501 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31502 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31503 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31504 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31505 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31506 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31507 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31508 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31509 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31510 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31511 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31512 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31513 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31514 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31515 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31516 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31517 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31518 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31519 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31520 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31521 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31522 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31523 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31524 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31525 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31526 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31527 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31528 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31529 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31530 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31531 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31532
31533 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31534 _XOPEN_SOURCE_EXTENDED for XPG4.
31535
31536 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31537
31538 * Makeconfig (localtime): Remove variable.
31539 (inst_localtime-file): Likewise.
31540
315412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31542
31543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31544 Update.
31545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31546 Update.
31547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31548 Update.
31549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31550 Update.
31551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31552 Update.
31553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31554 Update.
31555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31556 Update.
31557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31558 Update.
31559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31560 Update.
31561
315622012-05-01 Joseph Myers <joseph@codesourcery.com>
31563
31564 [BZ #2550]
31565 [BZ #2570]
31566 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31567 comparisons to determine direction to adjust input.
31568 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31569 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31570 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31571 Likewise.
31572 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31573 Likewise.
31574 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31575 Likewise.
31576 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31577 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31578 Likewise.
31579 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31580 Likewise.
31581 * math/libm-test.inc (nexttoward_test): Add more tests.
31582
315832012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31584
31585 [BZ #14040]
31586 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31587 in version GLIBC_2.1, not GLIBC_2.0.
31588 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31589 Likewise.
31590
315912012-04-30 Joseph Myers <joseph@codesourcery.com>
31592
31593 [BZ #13942]
31594 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31595 (1 - x) * (1 + x).
31596 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31597 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31598 * math/libm-test.inc (acos_test): Add more tests.
31599 (asin_test): Likewise.
31600 * sysdeps/i386/fpu/libm-test-ulps: Update.
31601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31602
31603 [BZ #14034]
31604 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31605 of square root.
31606 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31607 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31608 * math/libm-test.inc (acos_test_tonearest): New function.
31609 (acos_test_towardzero): Likewise.
31610 (acos_test_downward): Likewise.
31611 (acos_test_upward): Likewise.
31612 (asin_test_tonearest): Likewise.
31613 (asin_test_towardzero): Likewise.
31614 (asin_test_downward): Likewise.
31615 (asin_test_upward): Likewise.
31616 (main): Call the new functions.
31617 * sysdeps/i386/fpu/libm-test-ulps: Update.
31618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31619
31620 [BZ #13884]
31621 [BZ #13924]
31622 * math/e_exp10.c: Include <float.h>.
31623 (__ieee754_exp10): Handle underflow here rather than multiplying
31624 large negative argument by M_LN10.
31625 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31626 of __ieee754_expf.
31627 * math/e_exp10l.c: Include <float.h>.
31628 (__ieee754_exp10l): Handle underflow here rather than multiplying
31629 large negative argument by M_LN10l.
31630 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31631 spurious overflow exception on underflow.
31632
316332012-04-29 Marek Polacek <polacek@redhat.com>
31634
31635 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31636 (__fortify_function): New macro.
31637 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31638 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31639 __extern_always_inline.
31640 * libio/bits/stdio2.h: Likewise.
31641 * libio/bits/stdio.h: Likewise.
31642 * string/string.h: Likewise.
31643 * string/bits/string3.h: Likewise.
31644 * include/stdio.h: Likewise.
31645 * stdlib/bits/stdlib.h: Likewise.
31646 * stdlib/stdlib.h: Likewise.
31647 * rt/bits/mqueue2.h: Likewise.
31648 * rt/mqueue.h: Likewise.
31649 * posix/bits/unistd.h: Likewise.
31650 * posix/unistd.h: Likewise.
31651 * io/bits/poll2.h: Likewise.
31652 * io/bits/fcntl2.h: Likewise.
31653 * io/fcntl.h: Likewise.
31654 * io/sys/poll.h: Likewise.
31655 * misc/bits/syslog.h: Likewise.
31656 * misc/bits/syslog-ldbl.h: Likewise.
31657 * misc/sys/syslog.h: Likewise.
31658 * socket/bits/socket2.h: Likewise.
31659 * socket/sys/socket.h: Likewise.
31660 * debug/tst-chk1.c: Likewise.
31661 * wcsmbs/bits/wchar2.h: Likewise.
31662 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31663 * wcsmbs/wchar.h: Likewise.
31664
316652012-04-29 Andreas Jaeger <aj@suse.de>
31666
31667 * Makerules (tests): Remove enable-check-abi protection.
31668 (check-abi-warn): Remove.
31669 (check-abi-%): Remove check-abi-warn usage.
31670
31671 * configure.in: Remove check-abi configure option.
31672 * configure: Regenerated.
31673 * config.make.in (enable-check-abi): Remove.
31674
316752012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31676
31677 [BZ #14033]
31678 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31679 double functions to double *_finite functions.
31680
31681 [BZ #13941]
31682 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31683 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31684 LDBL_MIN_EXP.
31685 * stdio-common/Makefile (tests): Add tst-sprintf3.
31686 * stdio-common/tst-sprintf3.c: New file.
31687
31688 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31689 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31690
316912012-04-28 Joseph Myers <joseph@codesourcery.com>
31692
31693 * conform/conformtest.pl: Remove duplicate typed-constant
31694 handling.
31695
316962012-04-28 David S. Miller <davem@davemloft.net>
31697
31698 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31699 (check-abi-%): Remove AWK script prerequisite and explicit
31700 abilist directory.
31701 (check-abi): Rewrite to just diff the symlist with the abilist.
31702 (config-tls, config-abi-config): Delete, no longer used.
31703 (update-abi-%): Remove AWK script and explicit abilist directory.
31704 (update-abi): Rewrite to simply compare and conditionally copy the
31705 symlist and the sysdep abilist file. Remove update-abi-config
31706 checks.
31707 * abilist/ld.abilist: Remove.
31708 * abilist/libBrokenLocale.abilist: Remove.
31709 * abilist/libanl.abilist: Remove.
31710 * abilist/libcrypt.abilist: Remove.
31711 * abilist/libdl.abilist: Remove.
31712 * abilist/librt.abilist: Remove.
31713 * abilist/libthread_db.abilist: Remove.
31714 * abilist/libutil.abilist: Remove.
31715 * scripts/extract-abilist.awk: Remove.
31716 * scripts/merge-abilist.awk: Remove.
31717 * sysdeps/generic/libcidn.abilist: New file.
31718 * sysdeps/generic/libnss_compat.abilist: New file.
31719 * sysdeps/generic/libnss_db.abilist: New file.
31720 * sysdeps/generic/libnss_dns.abilist: New file.
31721 * sysdeps/generic/libnss_files.abilist: New file.
31722 * sysdeps/generic/libnss_hesiod.abilist: New file.
31723 * sysdeps/generic/libnss_nis.abilist: New file.
31724 * sysdeps/generic/libnss_nisplus.abilist: New file.
31725 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31726 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31727 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31728 file.
31729 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31730 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31731 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31732 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31733 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31734 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31735 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31736 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31737 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31738 file.
31739 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31740 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31741 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31742 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31743 file.
31744 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31745 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31746 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31747 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31748 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31749 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31750 file.
31751 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31752 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31753 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31754 file.
31755 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31757 New file.
31758 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31759 New file.
31760 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31761 New file.
31762 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31763 New file.
31764 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31765 New file.
31766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31767 New file.
31768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31769 New file.
31770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31771 New file.
31772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31773 New file.
31774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31775 New file.
31776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31777 New file.
31778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31779 New file.
31780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31781 New file.
31782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31783 file.
31784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31785 New file.
31786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31787 New file.
31788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31789 file.
31790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31791 New file.
31792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31793 New file.
31794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31795 file.
31796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31797 New file.
31798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31799 New file.
31800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31801 New file.
31802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31803 New file.
31804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31805 New file.
31806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31807 New file.
31808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31810 file.
31811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31812 New file.
31813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31814 file.
31815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31816 file.
31817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31818 file.
31819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31820 file.
31821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31822 file.
31823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31824 New file.
31825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31826 file.
31827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31828 file.
31829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31830 New file.
31831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31832 file.
31833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31835 file.
31836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31837 New file.
31838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31839 file.
31840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31841 file.
31842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31843 file.
31844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31845 file.
31846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31847 file.
31848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31849 New file.
31850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31851 file.
31852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31853 file.
31854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31855 New file.
31856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31857 file.
31858 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31859 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31860 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31861 file.
31862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31863 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31864 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31865 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31866 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31867 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31868 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31869 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31870 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31871 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31874 file.
31875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31876 New file.
31877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31878 file.
31879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31880 file.
31881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31882 file.
31883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31884 file.
31885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31886 file.
31887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31888 New file.
31889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31890 New file.
31891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31892 file.
31893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31894 New file.
31895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31896 file.
31897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31899 file.
31900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31901 New file.
31902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31903 file.
31904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31905 file.
31906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31907 file.
31908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31909 file.
31910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31911 file.
31912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31913 New file.
31914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31915 New file.
31916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31917 file.
31918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31919 New file.
31920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31921 file.
31922
319232012-04-28 Joseph Myers <joseph@codesourcery.com>
31924
31925 * conform/conformtest.pl: Fix typo in handling typed-constant from
31926 allow-header.
31927
319282012-04-27 Joseph Myers <joseph@codesourcery.com>
31929
31930 * README: Cut down references to pre-2.6 Linux kernels and
31931 Linuxthreads. Update lists of configurations in libc and ports
31932 and sort alphabetically. Say "or newer" with Linux kernel version
31933 requirements.
31934
31935 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31936
319372012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31938
31939 [BZ #887]
31940 * math/libm-test.inc (logb_test_downward): New test to expose
31941 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31942 rounding mode.
31943
319442012-04-27 Joseph Myers <joseph@codesourcery.com>
31945
31946 [BZ #14027]
31947 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31948 to be done.
31949 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31950 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31951
319522012-04-26 Joseph Myers <joseph@codesourcery.com>
31953
31954 * sysdeps/unix/i386/brk.S: Remove file.
31955 * sysdeps/unix/i386/dl-brk.S: Likewise.
31956 * sysdeps/unix/i386/pipe.S: Likewise.
31957 * sysdeps/unix/i386/sigreturn.S: Likewise.
31958 * sysdeps/unix/i386/syscall.S: Likewise.
31959 * sysdeps/unix/i386/vfork.S: Likewise.
31960 * sysdeps/unix/i386/wait.S: Likewise.
31961
31962 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31963 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31964
31965 * configure.in (arm*-none*): Do not allow without
31966 --enable-hacker-mode.
31967 (netbsd*): Remove case setting base_os.
31968 (386bsd*): Likewise.
31969 (freebsd*): Likewise.
31970 (bsdi*): Likewise.
31971 (osf*): Likewise.
31972 (sunos*): Likewise.
31973 (ultrix*): Likewise.
31974 (newsos*): Likewise.
31975 (dynix*): Likewise.
31976 (*bsd*): Likewise.
31977 (sysv*): Likewise.
31978 (isc*): Likewise.
31979 (esix*): Likewise.
31980 (sco*): Likewise.
31981 (minix*): Likewise.
31982 (irix4*): Likewise.
31983 (irix6*): Likewise.
31984 (solaris[2-9]*): Likewise.
31985 (none): Likewise.
31986 * configure: Regenerated.
31987
319882012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31989
31990 [BZ #11521]
31991 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31992 overflow or cancellation in calculating denominator.
31993 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31994 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31995 down expression to avoid unexpected rounding in newer GCCs.
31996 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31997
319982012-04-26 David S. Miller <davem@davemloft.net>
31999
32000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32001 long-double compat symbols.
32002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32015
320162012-04-25 David S. Miller <davem@davemloft.net>
32017
32018 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32019 HWCAP_* values only after the memory barriers have been defined.
32020 (atomic_full_barrier): Define.
32021 (atomic_read_barrier): Define.
32022 (atomic_write_barrier): Define.
32023
320242012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32025
32026 * shlib-versions: Add libgcc_s version information.
32027 * sysdeps/generic/libgcc_s.h: Remove.
32028 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32029 libgcc_s.h.
32030 * sysdeps/gnu/unwind-resume.c: Likewise.
32031 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32032
320332012-04-25 David S. Miller <davem@davemloft.net>
32034
32035 * sysdeps/unix/sparc/brk.S: Delete.
32036 * sysdeps/unix/sparc/dl-brk.S: Delete.
32037 * sysdeps/unix/sparc/pipe.S: Delete.
32038 * sysdeps/unix/sparc/sysdep.S: Delete.
32039 * sysdeps/unix/sparc/sysdep.h: Delete.
32040 * sysdeps/unix/sparc/vfork.S: Delete.
32041 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32042 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32043 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32044 (ret_ERRVAL, r0, r1, MOVE): Define.
32045 (JUMPTARGET): Remove.
32046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32047 sysdeps/unix/sparc/sysdep.h
32048 (ENTRY, END): Remove.
32049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32050
320512012-04-25 Joseph Myers <joseph@codesourcery.com>
32052
32053 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32054 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32055 -DIS_IN_build.
32056
32057 * timezone/README: Update upstream location and email address for
32058 tzcode and tzdata.
32059 * timezone/zdump.c: Update from tzcode 2012b.
32060 * timezone/zic.c: Likewise.
32061
32062 * configure.in (libc_cv_as_needed): Remove test.
32063 * configure: Regenerated.
32064 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32065 conditional definition.
32066 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32067 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32068 * config.make.in (have-as-needed): Remove variable.
32069
320702012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32071 Paul Pluzhnikov <ppluzhnikov@google.com>
32072
32073 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32074 strings correctly.
32075
320762012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32077
32078 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32079 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32080 * sysdeps/sh/strlen.S: Likewise.
32081
320822012-04-24 Joseph Myers <joseph@codesourcery.com>
32083
32084 * sysdeps/unix/fork.S: Remove file.
32085 * sysdeps/unix/i386/fork.S: Likewise.
32086 * sysdeps/unix/sparc/fork.S: Likewise.
32087
32088 * sysdeps/unix/system.c: Remove file.
32089 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32090
32091 * sysdeps/unix/getegid.S: Remove file.
32092 * sysdeps/unix/geteuid.S: Likewise.
32093
320942012-04-24 Roland McGrath <roland@hack.frob.com>
32095
32096 * scripts/check-localplt.awk: New file.
32097 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32098 of diff.
32099 * scripts/data/localplt-generic.data: Add a comment.
32100
32101 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32102 NODE when __dir_mkfile failed.
32103 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32104 Reported by Ludovic Courtès <ludo@gnu.org>.
32105
321062012-04-24 Andreas Jaeger <aj@suse.de>
32107
32108 * Makerules (common-clean): Also remove gen-as-const-headers
32109 files.
32110
321112012-04-24 Joseph Myers <joseph@codesourcery.com>
32112
32113 * Makerules (native-compile): Do not change working directory for
32114 build. Use $(OUTPUT_OPTION) in command.
32115 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32116
321172012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32118
32119 [BZ #13886]
32120 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32121 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32122 * math/libm-test.inc (floor_test): Add more tests.
32123 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32124
321252012-04-24 Joseph Myers <joseph@codesourcery.com>
32126
32127 * sysdeps/unix/getdents.c: Remove file.
32128 * sysdeps/unix/sysv/getdents.c: Likewise.
32129 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32130
32131 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32132 sysdeps/unix/mman/syscalls.list.
32133 (mmap): Likewise.
32134 (mprotect): Likewise.
32135 (msync): Likewise.
32136 (munmap): Likewise.
32137 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32138 * sysdeps/unix/mman/syscalls.list: Remove.
32139 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32140
32141 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32142 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32143 * configure: Regenerated.
32144 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32145 $(libgcc_s_suffix).
32146 * config.make.in (libgcc_s_suffix): Remove variable.
32147
321482012-04-23 Joseph Myers <joseph@codesourcery.com>
32149
32150 * sysdeps/unix/sysv/gethostname.c: Move to ...
32151 * sysdeps/posix/gethostname.c: ... here.
32152
32153 * sysdeps/unix/execve.S: Remove file.
32154
32155 * sysdeps/unix/_exit.S: Remove file.
32156
321572012-04-23 Andreas Jaeger <aj@suse.de>
32158
32159 [BZ #13739]
32160 * manual/Makefile: Remove make dist support, there's no
32161 need for a stand-alone documentation tar ball.
32162 (TEXI2DVI): Define always, it's not in Makeconfig.
32163 (dist): Removed.
32164 (tar-it): Removed.
32165 (edition): Removed.
32166 (glibc-doc-$(edition).tar): Removed
32167 (%.Z): Removed.
32168 (%.gz): Removed.
32169 (%.uu): Removed.
32170 (ETAGS): Remove, it's in Makeconfig.
32171 (move-if-change): Remove, it's in Makeconfig.
32172
321732012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32174
32175 [BZ #13970]
32176 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32177 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32178 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32179 (strtod_l, strtof_l, strtold_l): Remove __wur.
32180 It is not necessarily an error to ignore strtol's return value.
32181 One can reliably look at the stored endptr to decide whether
32182 the number had valid syntax.
32183
321842012-04-21 Andreas Jaeger <aj@suse.de>
32185
32186 [BZ #13739]
32187 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32188
321892012-04-21 Joseph Myers <joseph@codesourcery.com>
32190
32191 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32192 * sysdeps/unix/sysv/Versions: Remove file.
32193
321942012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32195
32196 [BZ #13927]
32197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32198
321992012-04-21 Nick Alcock <nick.alcock@oracle.com>
32200
32201 [BZ #7064]
32202 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32203 version from __vm86.
32204
322052012-04-20 Joseph Myers <joseph@codesourcery.com>
32206
32207 * sysdeps/unix/common/lxstat.c: Remove file.
32208 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32209
32210 * sysdeps/unix/sysv/Makefile: Remove file.
32211
32212 * sysdeps/unix/sysv/direct.h: Remove file.
32213
32214 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32215 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32216 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32217 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32218 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32219 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32220 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32221
32222 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32223
32224 * sysdeps/unix/xmknod.c: Remove file.
32225 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32226
32227 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32228
32229 * sysdeps/unix/sysv/i386/time.S: Remove file.
32230
32231 * sysdeps/unix/fxstat.c: Remove file.
32232 * sysdeps/unix/xstat.c: Likewise.
32233 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32234
32235 * sysdeps/unix/sysv/sigaction.c: Remove file.
32236
32237 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32238 (sysdep_headers): Remove variable.
32239 [termio.h not in sysdep_headers] (generated): Likewise.
32240 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32241 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32242 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32243 * sysdeps/unix/sysv/tcflow.c: Likewise.
32244 * sysdeps/unix/sysv/tcflush.c: Likewise.
32245 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32246 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32247 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32248 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32249 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32250
32251 * sysdeps/unix/siglist.c: Remove file.
32252
32253 * sysdeps/unix/getppid.S: Remove file.
32254
32255 * sysdeps/unix/mkdir.c: Remove file.
32256 * sysdeps/unix/rmdir.c: Likewise.
32257
322582012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32259
32260 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32261 ERR_MAX value.
32262 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32263 errlist-compat value.
32264
322652012-04-18 David S. Miller <davem@davemloft.net>
32266
32267 * sysdeps/generic/memcopy.h (reg_char): Delete.
32268 * debug/strcat_chk.c: Use char, not reg_char.
32269 * debug/strcpy_chk.c: Likewise.
32270 * debug/strncat_chk.c: Likewise.
32271 * debug/strncpy_chk.c: Likewise.
32272 * string/memchr.c: Likewise.
32273 * string/memrchr.c: Likewise.
32274 * string/rawmemchr.c: Likewise.
32275 * string/strcat.c: Likewise.
32276 * string/strchr.c: Likewise.
32277 * string/strchrnul.c: Likewise.
32278 * string/strcmp.c: Likewise.
32279 * string/strcpy.c: Likewise.
32280 * string/strncat.c: Likewise.
32281 * string/strncmp.c: Likewise.
32282 * string/strncpy.c: Likewise.
32283
322842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32285
32286 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32287 __builtin_memcopy is called when src and dest ranges are known to not
32288 overlap.
32289
322902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32291
32292 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32293 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32294 fwd_align_merge macro call.
32295 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32296 bwd_align_merge macro call.
32297 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32298
322992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32300
32301 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32302 bwd_align_merge macros.
32303 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32304 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32305 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32306
323072012-04-18 David S. Miller <davem@davemloft.net>
32308
32309 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32310
323112012-04-18 Andreas Jaeger <aj@suse.de>
32312
32313 [BZ# 6794]
32314 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32315 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32316 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32317
32318 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32319 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32320 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32321
32322 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32323 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32324 Adjust for changed ldbl-128 files.
32325
32326 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32327 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32328 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32329
323302012-04-17 David S. Miller <davem@davemloft.net>
32331
32332 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32333
323342012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32335
32336 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32337 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32338 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32339 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32340 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32341 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32342
323432012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32344
32345 [BZ #6794]
32346 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32347 * math/libm-test.inc: Add ilogb errno and exception tests.
32348 * math/w_ilogb.c: New file: ilogb wrapper.
32349 * math/w_ilogbf.c: New file: ilogbf wrapper.
32350 * math/w_ilogbl.c: New file: ilogbl wrapper.
32351 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32352 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32353 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32354 exception being thrown with 0.0 as argument.
32355 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32356 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32357 exception being thrown with 0.0 as argument.
32358 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32359 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32360 exception being thrown with 0.0 as argument.
32361 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32362 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32363 exception being thrown with 0.0 as argument.
32364 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32365 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32366 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32367 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32368 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32369 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32370 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32371 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32372 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32373
323742012-04-17 Petr Baudis <pasky@ucw.cz>
32375
32376 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32377 with altivec.
32378
323792012-04-16 Marek Polacek <polacek@redhat.com>
32380
32381 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32382
323832012-04-16 Marek Polacek <polacek@redhat.com>
32384
32385 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32386 operands of fdivp instruction.
32387
323882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32389
32390 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32391 * elf/tst-auditmod3b.c: Likewise.
32392 * elf/tst-auditmod4b.c: Likewise.
32393 * elf/tst-auditmod5b.c: Likewise.
32394 * elf/tst-auditmod6b.c: Likewise.
32395 * elf/tst-auditmod6c.c: Likewise.
32396 * elf/tst-auditmod7b.c: Likewise.
32397 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32398 * sysdeps/x86_64/preconfigure.in: Likewise.
32399 * sysdeps/x86_64/preconfigure: Regenerated.
32400
324012012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32402
32403 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32404 __ILP32__.
32405
324062012-04-13 Antoine Balestrat <merkil33@gmail.com>
32407
32408 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32409 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32410
324112012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32412
32413 [BZ #13973]
32414 * locale/iso-639.def: Fix gl language name. Spotted by
32415 Yaron Shahrabani.
32416
324172012-04-12 Roland McGrath <roland@hack.frob.com>
32418
32419 [BZ #2074]
32420 * libio/libio.h (__io_write_fn): Update comment.
32421
324222012-04-12 Petr Baudis <pasky@ucw.cz>
32423
32424 [BZ #2074]
32425 * stdio.texi (Hook Functions): The user provided writer function
32426 is not allowed to return -1.
32427
324282012-04-11 David S. Miller <davem@davemloft.net>
32429
32430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32431
324322012-04-11 Mike Frysinger <vapier@gentoo.org>
32433
32434 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32435 Add a leading slash to rtkaio.
32436
324372012-04-11 Jim Meyering <meyering@redhat.com>
32438
32439 [BZ #11959]
32440 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32441 It is not necessarily an error to ignore fwrite's return
32442 value. One can reliably use ferror to test for errors after
32443 the fact.
32444
324452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32446
32447 * bits/types.h (__snseconds_t): New type.
32448 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32449
32450 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32451 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32452 (__SNSECONDS_T_TYPE): Likewise.
32453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32454 (__SNSECONDS_T_TYPE): Likewise.
32455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32456 (__SNSECONDS_T_TYPE): Likewise.
32457
324582012-04-10 Andreas Jaeger <aj@suse.de>
32459
32460 [BZ #2636]
32461 * manual/time.texi (Processor Time): Return type of times is
32462 elapsed real time since an arbitrary point in the past.
32463 (CPU Time): Move CLK_TCK from here...
32464 (Processor Time): ...to here. Correct description.
32465 * manual/conf.texi (Constants for Sysconf): Correct description of
32466 _SC_CLK_TCK.
32467
324682012-04-10 David S. Miller <davem@davemloft.net>
32469
32470 [BZ #13967]
32471 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32472 where the is a gap between DT_REL(A) and DT_JMPREL.
32473
324742012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32475
32476 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32477 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32478 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32479
324802012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32481
32482 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32483 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32484 (dl_main): Handle --inhibit-cache.
32485 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32486 _dl_inhibit_cache.
32487 * elf/dl-load.c (_dl_map_object): Use it.
32488 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32489
324902012-04-09 Joseph Myers <joseph@codesourcery.com>
32491
32492 [BZ #13872]
32493 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32494 (__ieee754_powl): Saturate large exponents rather than testing for
32495 overflow of y*log2(x).
32496 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32497 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32498 exceptions.
32499
32500 [BZ #11521]
32501 * math/s_ctan.c: Include <float.h>.
32502 (__ctan): Avoid internal overflow or cancellation in calculating
32503 denominator.
32504 * math/s_ctanf.c: Likewise.
32505 * math/s_ctanl.c: Likewise.
32506 * math/s_ctanh.c: Likewise.
32507 * math/s_ctanhf.c: Likewise.
32508 * math/s_ctanhl.c: Likewise.
32509 * math/libm-test.inc (ctan_test): Add more tests.
32510 (ctanh_test): Likewise.
32511 * sysdeps/i386/fpu/libm-test-ulps: Update.
32512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32513
325142012-04-09 Andreas Jaeger <aj@suse.de>
32515
32516 [BZ #6894]
32517 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32518 is an optional BSD extension.
32519
32520 [BZ #10254]
32521 * manual/stdio.texi (Opening Streams): Document additional fopen
32522 parameters.
32523
325242012-04-09 Roland McGrath <roland@hack.frob.com>
32525
32526 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32527 %eax without telling the compiler.
32528
325292012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32530
32531 [BZ # 13963]
32532 * manual/install.texi: Use sourceware.org.
32533
325342012-04-09 Joseph Myers <joseph@codesourcery.com>
32535
32536 [BZ #13873]
32537 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32538 (__ieee754_pow): Generate overflow and underflow using huge*huge
32539 and tiny*tiny rather than just returning constant infinity or zero
32540 for large exponents.
32541 * math/libm-test.inc (pow_test): Require overflow exceptions for
32542 applicable cases of large exponents.
32543
32544 [BZ #706]
32545 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32546 (__ieee754_pow): Use iterative multiplication algorithm only for
32547 integer exponents with absolute value below 1024. Check for odd
32548 integer exponents when using algorithm for real exponents.
32549 * math/libm-test.inc (pow_test): Add more tests.
32550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32551
325522012-04-08 Joseph Myers <joseph@codesourcery.com>
32553
32554 [BZ #13705]
32555 * math/libm-test.inc (exp_test): Do not allow overflow exception
32556 on underflow test.
32557
325582012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32559
32560 [BZ #13705]
32561 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32562 instead of __kernel_standard_f.
32563
325642012-04-08 Mike Frysinger <vapier@gentoo.org>
32565
32566 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32567 * sysdeps/x86_64/memset_chk.S: Likewise.
32568
325692012-04-08 Andreas Jaeger <aj@suse.de>
32570
32571 [BZ #10153]
32572 * manual/startup.texi (Environment Access): Describe return value
32573 for putenv and setenv.
32574
32575 [BZ #6895]
32576 * manual/filesys.texi (Directory Entries): Add description for
32577 DT_LNK.
32578
32579 [BZ #6890]
32580 * manual/filesys.texi (Directory Entries): Clarify that it's file
32581 system not operating system in the description of DT_UNKNOWN.
32582
32583 [BZ #6578]
32584 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32585
325862012-04-08 Stephen Compall <s11@member.fsf.org>
32587
32588 [BZ #6649]
32589 * manual/llio.texi (Opening and Closing Files): Add cross
32590 reference to explain mode argument.
32591
325922012-04-07 Mike Frysinger <vapier@gentoo.org>
32593
32594 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32595 * sysdeps/x86_64/memset_chk.S: Likewise.
32596
325972012-04-07 David S. Miller <davem@davemloft.net>
32598
32599 * elf/elf.h (R_SPARC_WDISP10): Define.
32600 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32601 R_SPARC_SIZE32.
32602 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32603 R_SPARC_SIZE64 and R_SPARC_H34.
32604
326052012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32606
32607 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32608 conditions and remove no longer applicable assertion.
32609
326102012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32611
32612 * bits/byteswap.h: Include <features.h>.
32613 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32614 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32615
326162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32617
32618 * bits/byteswap.h (__bswap_16): Removed.
32619 Include <bits/byteswap-16.h> to get __bswap_16.
32620 * sysdeps/i386/bits/byteswap.h: Likewise.
32621 * sysdeps/s390/bits/byteswap.h: Likewise.
32622 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32623 * bits/byteswap-16.h: New file.
32624 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32625 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32626 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32627 * string/Makefile (headers): Add bits/byteswap-16.h.
32628
326292012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32630
32631 [BZ #13895]
32632 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32633 extra indirection.
32634 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32635 * nss/tst-nss-static.c: New.
32636
326372012-04-06 Robert Millan <rmh@gnu.org>
32638
32639 [BZ #6486]
32640 * manual/llio.texi (File Position Primitive): lseek
32641 refers to WHENCE when it really means OFFSET.
32642
326432012-04-06 Andreas Jaeger <aj@suse.de>
32644
32645 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32646 strncmp declarations.
32647
32648 * abilist/libc.abilist: Add __poll and __ppoll.
32649
326502012-04-05 David S. Miller <davem@davemloft.net>
32651
32652 * scripts/check-local-headers.sh: Accept a host triplet in the
32653 path matched by the exclude regexp.
32654
32655 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32656 definition.
32657 * sysdeps/powerpc/powerpc32/dl-machine.h
32658 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32659 * sysdeps/s390/s390-32/dl-machine.h
32660 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32661 * sysdeps/sparc/sparc32/dl-machine.h
32662 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32663 * sysdeps/sparc/sparc64/dl-machine.h
32664 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32665
32666 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32667 lazy binding.
32668 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32669 undefined symbol errors.
32670
32671 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32672 DT_NEEDED entries.
32673
326742012-04-05 Michael Matz <matz@suse.de>
32675
32676 [BZ #13592]
32677 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32678
326792012-04-05 Andreas Jaeger <aj@suse.de>
32680
32681 [BZ #13908]
32682 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32683 comment.
32684
326852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32686
32687 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32688 which ROUND is no valid rounding mode.
32689
326902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32691
32692 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32693 read again.
32694 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32695
326962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32697
32698 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32699 an exception using FPU order intentionally.
32700
327012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32702
32703 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32704 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32705 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32706 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32707
327082012-04-05 Simon Josefsson <simon@josefsson.org>
32709
32710 [BZ #12340]
32711 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32712 EINVAL when BUFLEN is too smal.
32713
327142012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32715
32716 [BZ #13553]
32717 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32718 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32719
327202012-04-03 Andreas Jaeger <aj@suse.de>
32721
32722 [BZ #13938]
32723 * manual/setjmp.texi (System V contexts): Fix sentence.
32724
32725 [BZ #13926]
32726 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32727 New macro for this case.
32728 [!__GNUC__] (__bswap_64): New inline function for this case.
32729 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32730 * bits/byteswap.h: Likewise.
32731 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32732 ull, guard with __GLIBC_HAVE_LONG_LONG.
32733
32734 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32735 __GLIBC_HAVE_LONG_LONG.
32736
32737 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32738 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32739
327402012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32741
32742 [BZ #13691]
32743 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32744 inptr and inend, rather than using last_ch.
32745
327462012-04-02 David S. Miller <davem@davemloft.net>
32747
32748 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32749 * stdio-common/printf-parse.h (read_int): Change return type to
32750 'int', return -1 on INT_MAX overflow.
32751 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32752 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32753 overflows INT_MAX. Check for overflow of in-format-string precision
32754 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32755 SIZE_MAX not INT_MAX for integer overflow test.
32756 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32757 skip the construct in the format string but do not record anything.
32758 * stdio-common/bug22.c: Adjust to test both width/prevision
32759 INT_MAX overflow as well as total length INT_MAX overflow. Check
32760 explicitly for proper errno values.
32761
327622012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32763
32764 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32765 CHAR_MAX.
32766 * string/test-strcmp.c [! WIDE]: Likewise.
32767 * time/tst-mktime2.c: Likewise for INT_MAX.
32768 * string/test-string.h: #include <sys/param.h> for MIN.
32769
32770 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32771 * sysdeps/i386/init-first.c (init): Likewise.
32772 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32773 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32774 * sysdeps/sh/init-first.c (init): Likewise.
32775
327762012-04-01 Ulrich Drepper <drepper@gmail.com>
32777
32778 * po/ru.po: Update from translation team.
32779 * po/vi.po: Likewise.
32780
327812012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32782
32783 * resolv/nss_dns/dns-host.c: Merge copyright years.
32784
327852012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32786
32787 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32788 Optimize memcpy with prefetch if
32789 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32790 src, dst pointers have unequal 16 byte alignments.
32791
327922012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32793
32794 [BZ #13928]
32795 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32796 from a CNAME entry and return the minimum ttl for the query.
32797 (gaih_getanswer_slice): Likewise.
32798
327992012-03-30 Jeff Law <law@redhat.com>
32800
32801 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32802 due to long keys.
32803 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32804 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32805
32806 * resolv/nss_dns/dns-host.c: Update copyright year.
32807
328082012-03-30 Ulrich Drepper <drepper@gmail.com>
32809
32810 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32811 requests to save a system call. Fix check that all bytes are sent.
32812
32813 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32814 comments for sendmmsg.
32815
328162012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32817
32818 [BZ #13691]
32819 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32820 with only 1 character between 0x0041 and 0x01b0.
32821 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32822 * wcsmbs/tst-mbsnrtowcs.c: New file.
32823
328242012-03-29 David S. Miller <davem@davemloft.net>
32825
32826 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32827 small copies by hand.
32828
328292012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32830
32831 [BZ #13761]
32832 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32833 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32834 group memberships.
32835
328362012-03-28 David S. Miller <davem@davemloft.net>
32837
32838 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32839 that branches into memcpy.
32840 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32842 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32843 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32845 bits.
32846 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32847 implementation too.
32848 * sysdeps/sparc/mempcpy.S: New file.
32849
32850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32851 the IFUNC routine in the libc case.
32852 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32853
32854 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32855 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32856 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32857 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32858 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32859 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32860 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32861 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32862
32863 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32864 loop to 256 bytes instead of 64 bytes and fix test signedness.
32865
32866 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32867 * sysdeps/sparc/sparc32/Makefile: rather than here...
32868 * sysdeps/sparc/sparc64/Makefile: and here.
32869
328702012-03-28 Ulrich Drepper <drepper@gmail.com>
32871
32872 * malloc/mallocbug.c: Avoid warnings about unused variables.
32873
328742012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32875
32876 [BZ #13760]
32877 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32878 in the right place. Discard and retry query if response is
32879 larger than input buffer size.
32880
328812012-03-28 Joseph Myers <joseph@codesourcery.com>
32882
32883 [BZ #369]
32884 [BZ #2678]
32885 [BZ #3866]
32886 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32887 x for large integer exponent.
32888 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32889 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32890 sign of result as needed afterwards.
32891 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32892 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32893 result for underflowing pow the same as for overflow.
32894 (__kernel_standard_l): Handle powl overflow and underflow here
32895 rather than calling __kernel_standard.
32896 * math/libm-test.inc (pow_test): Add more tests.
32897
32898 [BZ #3868]
32899 [BZ #13879]
32900 [BZ #13910]
32901 [BZ #13911]
32902 [BZ #13912]
32903 [BZ #13913]
32904 [BZ #13915]
32905 [BZ #13916]
32906 [BZ #13917]
32907 [BZ #13918]
32908 [BZ #13919]
32909 [BZ #13920]
32910 [BZ #13921]
32911 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32912 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32913 (__kernel_standard_l): New function.
32914 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32915 __kernel_standard.
32916 * math/w_acosl.c (__acosl): Likewise.
32917 * math/w_asinl.c (__asinl): Likewise.
32918 * math/w_atan2l.c (__atan2l): Likewise.
32919 * math/w_atanhl.c (__atanhl): Likewise.
32920 * math/w_coshl.c (__coshl): Likewise.
32921 * math/w_exp10l.c (__exp10l): Likewise.
32922 * math/w_exp2l.c (__exp2l): Likewise.
32923 * math/w_fmodl.c (__fmodl): Likewise.
32924 * math/w_hypotl.c (__hypotl): Likewise.
32925 * math/w_j0l.c (__j0l, __y0l): Likewise.
32926 * math/w_j1l.c (__j1l, __y1l): Likewise.
32927 * math/w_jnl.c (__jnl, __ynl): Likewise.
32928 * math/w_lgammal.c (__lgammal): Likewise.
32929 * math/w_log10l.c (__log10l): Likewise.
32930 * math/w_log2l.c (__log2l): Likewise.
32931 * math/w_logl.c (__logl): Likewise.
32932 * math/w_powl.c (__powl): Likewise.
32933 * math/w_remainderl.c (__remainderl): Likewise.
32934 * math/w_scalbl.c (sysv_scalbl): Likewise.
32935 * math/w_sinhl.c (__sinhl): Likewise.
32936 * math/w_sqrtl.c (__sqrtl): Likewise.
32937 * math/w_tgammal.c (__tgammal): Likewise.
32938 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32939 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32940 * math/libm-test.inc (acos_test): Add more tests.
32941 (acosh_test): Likewise.
32942 (asin_test): Likewise.
32943 (atanh_test): Likewise.
32944 (exp_test): Likewise.
32945 (exp10_test): Likewise.
32946 (exp2_test): Likewise.
32947 (expm1_test): Likewise.
32948 (lgamma_test): Likewise.
32949 (log_test): Likewise.
32950 (log10_test): Likewise.
32951 (log1p_test): Likewise.
32952 (log2_test): Likewise.
32953 (pow_test): Do not allow some spurious overflow exceptions.
32954 (sqrt_test): Add more tests.
32955 (tgamma_test): Likewise.
32956 (y0_test): Likewise.
32957 (y1_test): Likewise.
32958 (yn_test): Likewise.
32959
329602012-03-27 Anton Blanchard <anton@samba.org>
32961
32962 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32963 MAP_HUGETLB.
32964 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32965 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32966 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32967
329682012-03-27 David S. Miller <davem@davemloft.net>
32969
32970 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32971
32972 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32973 have-as-vis3 check.
32974
329752012-03-27 Andreas Jaeger <aj@suse.de>
32976
32977 * sysdeps/x86_64/elf/configure.in: Moved to ...
32978 * sysdeps/x86_64/configure.in: ... here.
32979 * sysdeps/x86_64/elf/start.S: Moved to ...
32980 * sysdeps/x86_64/start.S: ... here.
32981 * sysdeps/x86_64/elf/configure: Delete.
32982
32983 * sysdeps/x86_64/configure.in: Merge contents from
32984 sysdeps/i386/configure.in (without i686 check).
32985
32986 * sysdeps/i386/elf/Versions: Merge into ...
32987 * sysdeps/i386/Versions: ... this.
32988 * sysdeps/i386/elf/Versions: Delete file.
32989 * sysdeps/i386/elf/start.S: Moved to ...
32990 * sysdeps/i386/start.S: ...here.
32991 * sysdeps/i386/elf/configure.in: Merge into...
32992 * sysdeps/i386/configure.in: ...here.
32993 * sysdeps/i386/elf/configure.in: Delete file.
32994 * sysdeps/i386/elf/configure: Delete file.
32995
32996 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32997 * debug/backtracesyms.c: ... here.
32998 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32999 * debug/backtracesymsfd.c: ... here.
33000 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33001 * sysdeps/generic/ifunc-sel.h: ... here.
33002
33003 * sysdeps/unix/i386/start.c: Delete file.
33004 * sysdeps/unix/sparc/start.c: Delete file.
33005 * sysdeps/unix/start.c: Delete file.
33006
33007 * sysdeps/sh/elf/configure.in: Moved to ...
33008 * sysdeps/sh/configure.in: ... here.
33009 * sysdeps/sh/elf/start.S: Moved to ...
33010 * sysdeps/sh/start.S: ... here.
33011 * sysdeps/sh/elf/configure: Delete file.
33012
33013 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33014 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33015 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33016 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33017 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33018 * sysdeps/powerpc/powerpc64/start.S: here.
33019 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33020 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33021 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33022 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33023 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33024
33025 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33026 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33027 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33028 * sysdeps/powerpc/powerpc32/start.S: ... here.
33029 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33030 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33031 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33032
33033 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33034 * sysdeps/powerpc/ifunc-sel.h: ... here.
33035 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33036 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33037
33038 * sysdeps/sparc/elf/configure.in: Moved to ...
33039 * sysdeps/sparc/configure.in: ... here.
33040 * sysdeps/sparc/elf/configure: Delete file.
33041 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33042 * sysdeps/sparc/sparc32/start.S: ... here.
33043 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33044 * sysdeps/sparc/sparc64/start.S: ... here.
33045 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33046 * sysdeps/sparc/sparc32/Makefile: ... this.
33047 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33048 * sysdeps/sparc/sparc64/Makefile: ... this.
33049
33050 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33051 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33052 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33053 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33054 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33055 * sysdeps/s390/s390-32/setjmp.S: ... here.
33056 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33057 * sysdeps/s390/s390-32/configure.in: ... here.
33058 * sysdeps/s390/s390-32/elf/configure: Delete file.
33059 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33060 * sysdeps/s390/s390-32/start.S: ... here.
33061
33062 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33063 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33064 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33065 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33066 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33067 * sysdeps/s390/s390-64/setjmp.S: ... here.
33068 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33069 * sysdeps/s390/s390-64/configure.in: ... here
33070 * sysdeps/s390/s390-64/elf/configure: Delete file.
33071 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33072 * sysdeps/s390/s390-64/start.S: ... here.
33073 * sysdeps/s390/s390-64/elf/configure: Delete.
33074
33075 * configure.in: Remove support for elf directories in sysdeps.
33076
33077 * configure: Regenerated.
33078 * sysdeps/i386/configure: Regenerated.
33079 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33080 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33081 * sysdeps/s390/s390-32/configure: Regenerated.
33082 * sysdeps/s390/s390-64/configure: Regenerated.
33083 * sysdeps/sh/configure: Regenerated.
33084 * sysdeps/sparc/configure: Regenerated.
33085 * sysdeps/x86_64/configure: Regenerated.
33086
330872012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33088
33089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33090
33091 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33092 denormal result into account.
33093
330942012-03-25 Roland McGrath <roland@hack.frob.com>
33095
33096 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33097 Reported by Allan McRae <allan@archlinux.org>.
33098
330992012-03-23 Jeff Law <law@redhat.com>
33100
33101 * nss/getnssent.c (__nss_getent): Fix typo.
33102
331032012-03-23 David S. Miller <davem@davemloft.net>
33104
33105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33106
331072012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33108
33109 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33110 to pad to uint64_t for each field.
33111 (dl_tls_index): Replace unsigned long with uint64_t.
33112
331132012-03-23 Daniel Jacobowitz <dmj@google.com>
33114 Paul Pluzhnikov <ppluzhnikov@google.com>
33115
33116 [BZ #6528]
33117 * grp/Makefile (otherlibs): Don't set it.
33118 * inet/Makefile (otherlibs): Likewise.
33119 * login/Makefile (otherlibs): Likewise.
33120 * nscd/Makefile (otherlibs): Likewise.
33121 * posix/Makefile (otherlibs): Likewise.
33122 * pwd/Makefile (otherlibs): Likewise.
33123 * rt/Makefile (otherlibs): Likewise.
33124 * sunrpc/Makefile (otherlibs): Likewise.
33125 * nss/Makefile (otherlibs): Likewise.
33126 Add libnss_files to routines and static-only-routines.
33127 ($(objpfx)getent): Remove rule.
33128 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33129 static-only-routines.
33130
331312012-03-22 Joseph Myers <joseph@codesourcery.com>
33132
33133 [BZ #13892]
33134 * math/s_cexp.c: Include <float.h>.
33135 (__cexp): Handle exp result overflowing not necessarily
33136 overflowing both real and imaginary parts of result.
33137 * math/s_cexpf.c: Likewise.
33138 * math/s_cexpl.c: Likewise.
33139 * math/libm-test.inc (cexp_test): Add more tests.
33140 * sysdeps/i386/fpu/libm-test-ulps: Update.
33141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33142
331432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33144
33145 * include/link.h (ELFW): New macro.
33146 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33147 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33148
331492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33150
33151 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33152 with uint64_t.
33153
331542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33155
33156 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33157 declaration.
33158 (struct La_x32_retval): Likewise.
33159
331602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33161
33162 * sysdeps/x86_64/preconfigure.in: New file.
33163 * sysdeps/x86_64/preconfigure: New generated file.
33164
331652012-03-22 Joseph Myers <joseph@codesourcery.com>
33166
33167 [BZ #13824]
33168 * math/e_exp2l.c: Include <float.h>.
33169 (__ieee754_exp2l): Handle overflow and underflow cases
33170 separately. Only pass fractional part of argument to
33171 __ieee754_expl.
33172 * math/libm-test.inc (exp2_test): Add more tests.
33173
33174 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33175 negating x to take absolute value.
33176 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33177 Likewise.
33178 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33179 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33180 Likewise.
33181 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33182 computing low part if x was negated.
33183 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33184
331852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33186
33187 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33188 la_x32_gnu_pltexit.
33189 (pltexit): Cast int_retval to ptrdiff_t.
33190 * elf/tst-auditmod3b.c: Likewise.
33191 * elf/tst-auditmod4b.c: Likewise.
33192 * elf/tst-auditmod5b.c: Likewise.
33193 * elf/tst-auditmod6b.c: Likewise.
33194 * elf/tst-auditmod6c.c: Likewise.
33195 * elf/tst-auditmod7b.c: Likewise.
33196
33197 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33198 and x32_gnu_pltexit.
33199
33200 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33201 __ELF_NATIVE_CLASS.
33202 (La_x32_regs): New macro.
33203 (La_x32_retval): Likewise.
33204 (la_x32_gnu_pltenter): New function prototype.
33205 (la_x32_gnu_pltexit): Likewise.
33206
332072012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33208
33209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33210 exponent.
33211
33212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33213
33214 * configure.in (libc_cv_cc_nofma): Check for option to disable
33215 generation of FMA instructions.
33216 * configure: Regenerate.
33217 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33218 * sysdeps/ieee754/dbl-64/Makefile: New file.
33219 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33220 Remove brandred-fma4.
33221 (CFLAGS-brandred-fma4.c): Remove.
33222 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33223 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33224 define.
33225 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33226 define.
33227
332282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33229
33230 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33231 LLONG_MAX != LONG_MAX.
33232 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33233 (_fitoa_word): Likewise.
33234 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33235 LLONG_MAX != LONG_MAX.
33236 * stdio-common/_itowa.h: Include <_itoa.h>.
33237 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33238 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33239 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33240 only if not defined.
33241 (_ITOA_WORD_TYPE): Likewise.
33242 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33243 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33244
332452012-03-21 David S. Miller <davem@davemloft.net>
33246
33247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33248
332492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33250
33251 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33252 of x86_64 when setting libc_cv_slibdir, libdir and
33253 libc_cv_localedir.
33254 * sysdeps/unix/sysv/linux/configure: Regenerated.
33255
332562012-03-21 Joseph Myers <joseph@codesourcery.com>
33257
33258 * manual/lang.texi (Old Varargs): Remove section.
33259 (How Variadic): Update menu.
33260 (va_start): Do not mention varargs.h.
33261
332622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33263 Joseph Myers <joseph@codesourcery.com>
33264
33265 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33266 link test.
33267 * configure: Regenerated.
33268
332692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33270
33271 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33272 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33273 conformtest.pl
33274
332752012-03-21 Joseph Myers <joseph@codesourcery.com>
33276
33277 * NOTES: Remove.
33278 * Makefile (files-for-dist): Remove NOTES.
33279 (NOTES): Remove rule.
33280 * README: Don't refer to NOTES.
33281 * manual/creature.texi: Don't include macros.texi.
33282 * manual/intro.texi (creature.texi): Remove comment referring to
33283 NOTES.
33284
33285 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33286 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33287 * configure: Regenerated.
33288 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33289 LIBC_TRY_CC_OPTION.
33290 (libc_cv_as_i686): Likewise.
33291 (libc_cv_cc_avx): Likewise.
33292 (libc_cv_cc_sse2avx): Likewise.
33293 (libc_cv_cc_fma4): Likewise.
33294 (libc_cv_cc_novzeroupper): Likewise.
33295 * sysdeps/i386/configure: Regenerated.
33296
33297 [BZ #13883]
33298 * sysdeps/i386/fpu/s_cexp.S: Remove.
33299 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33300 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33301 * math/libm-test.inc (cexp_test): Add more tests.
33302 * sysdeps/i386/fpu/libm-test-ulps: Update.
33303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33304
333052012-03-21 Allan McRae <allan@archlinux.org>
33306
33307 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33308
333092012-03-21 Joseph Myers <joseph@codesourcery.com>
33310
33311 [BZ #13871]
33312 * math/w_exp2.c: Do not include <float.h>.
33313 (o_threshold, u_threshold): Remove.
33314 (__exp2): Calculate result before checking finiteness and calling
33315 __kernel_standard.
33316 * math/w_exp2f.c: Likewise.
33317 * math/w_exp2l.c: Likewise.
33318 * math/libm-test.inc (exp2_test): Require overflow exception for
33319 1e6 input.
33320
33321 [BZ #3866]
33322 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33323 range of signed 64-bit integers before using fistpll. Remove
33324 checks for whether integers fit in mantissa bits.
33325 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33326 the range of signed 32-bit integers before using fistpl. Remove
33327 checks for whether integers fit in mantissa bits.
33328 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33329 (__ieee754_powl): Test for y outside the range of signed 64-bit
33330 integers before using fistpll. Reduce 64-bit values to 63-bit
33331 ones as needed.
33332 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33333 divide-by-zero is raised for zero to large negative powers.
33334 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33335 (__ieee754_powl): Test for y outside the range of signed 64-bit
33336 integers before using fistpll. Reduce 64-bit values to 63-bit
33337 ones as needed.
33338 * math/libm-test.inc (pow_test): Add more tests.
33339
333402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33341
33342 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33343 <stdio-common/_itoa.h>.
33344 * debug/segfault.c: Likewise.
33345 * elf/dl-cache.c: Likewise.
33346 * elf/dl-minimal.c: Likewise.
33347 * elf/dl-misc.c: Likewise.
33348 * elf/dl-sysdep.c: Likewise.
33349 * elf/dl-version.c: Likewise.
33350 * elf/rtld.c: Likewise.
33351 * hurd/hurdsock.c: Likewise.
33352 * hurd/lookup-retry.c: Likewise.
33353 * malloc/malloc.c: Likewise.
33354 * malloc/mtrace.c: Likewise.
33355 * nscd/nscd_getgr_r.c: Likewise.
33356 * nscd/nscd_getpw_r.c: Likewise.
33357 * nscd/nscd_getserv_r.c: Likewise.
33358 * posix/getopt_init.c: Likewise.
33359 * posix/wordexp.c: Likewise.
33360 * stdio-common/_itoa.c: Likewise.
33361 * stdio-common/printf_fphex.c: Likewise.
33362 * stdio-common/vfprintf.c: Likewise.
33363 * string/_strerror.c: Likewise.
33364 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33365 * sysdeps/i386/i686/hp-timing.h: Likewise.
33366 * sysdeps/mach/_strerror.c: Likewise.
33367 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33368 * sysdeps/mach/hurd/sethostid.c: Likewise.
33369 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33370 * sysdeps/mach/xpg-strerror.c: Likewise.
33371 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33372 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33373 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33374 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33375 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33376 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33377 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33378 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33379 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33380 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33381 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33382 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33383 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33384 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33385 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33386 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33387 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33388 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33389 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33390 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33391 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33392
33393 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33394
33395 * stdio-common/_itoa.h: Moved to ...
33396 * sysdeps/generic/_itoa.h: Here.
33397
33398 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33399
33400 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33401 instead of "_itoa.h" and "_itowa.h".
33402 * stdio-common/vfprintf.: Likewise.
33403
334042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33405
33406 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33407 <bits/wordsize.h>.
33408 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33409 (__signbit): Likwise.
33410 (llrintf): Likwise.
33411 (llrint): Likwise.
33412
334132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33414
33415 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33416 __WORDSIZE != 64.
33417
334182012-03-20 Joseph Myers <joseph@codesourcery.com>
33419
33420 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33421 OVERFLOW_EXCEPTION_OK.
33422 * math/libm-test.inc ("Philosophy"): Update comment about
33423 exception testing.
33424 (OVERFLOW_EXCEPTION): Define.
33425 (OVERFLOW_EXCEPTION_OK): Likewise.
33426 (INVALID_EXCEPTION_OK): Renumber.
33427 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33428 (IGNORE_ZERO_INF_SIGN): Likewise.
33429 (test_exceptions): Handle FE_OVERFLOW.
33430 (exp10_test): Expect overflow exceptions.
33431 (exp2_test): Likewise.
33432 (expm1_test): Likewise.
33433 (nextafter_test): Likewise.
33434 (pow_test): Likewise.
33435 (scalbn_test): Likewise.
33436 (scalbln_test): Likewise.
33437
334382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33439
33440 * sysdeps/x86_64/bits/atomic.h
33441 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33442 64bit integer.
33443 (atomic_exchange_acq): Likewise.
33444 (__arch_exchange_and_add_body): Likewise.
33445 (__arch_add_body): Likewise.
33446 (atomic_add_negative): Likewise.
33447 (atomic_add_zero): Likewise.
33448
334492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33450
33451 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33452 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33453
334542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33455
33456 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33457 Check __x86_64__ instead of __WORDSIZE.
33458
334592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33460
33461 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33462
334632012-03-19 David S. Miller <davem@davemloft.net>
33464
33465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33466
33467 * sysdeps/sparc/fpu/fenv_private.h: New file.
33468 * sysdeps/sparc/fpu/math_private.h: Use it.
33469 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33470 Remove.
33471 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33472 (libc_feholdexcept_setroundl): Remove.
33473 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33474 Remove.
33475 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33476 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33477
334782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33479
33480 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33481 int64_t instead of long int.
33482 (INSERT_WORDS64): Likwise.
33483
334842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33485
33486 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33487 _Unwind_GetCFA return to _Unwind_Ptr first.
33488
334892012-03-19 Joseph Myers <joseph@codesourcery.com>
33490
33491 [BZ #13629]
33492 * math/s_clog.c: Include <float.h>.
33493 (__clog): Scale large or subnormal inputs.
33494 * math/s_clogf.c: Likewise.
33495 * math/s_clogl.c: Likewise.
33496 * math/s_clog10.c: Include <float.h>.
33497 (M_LOG10_2): Define.
33498 (__clog10): Scale large or subnormal inputs.
33499 * math/s_clog10f.c: Likewise.
33500 * math/s_clog10l.c: Likewise.
33501 * math/libm-test.inc (clog_test): Add more tests.
33502 (clog10_test): Likewise.
33503 * sysdeps/i386/fpu/libm-test-ulps: Update.
33504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33505
33506 [BZ #11451]
33507 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33508 x and y.
33509 * math/libm-test.inc (atan2_test): Add another test.
33510
33511 * Makerules (common-objdir-compile): Remove.
33512 * sysdeps/unix/Makefile (config-generated): Do not add
33513 $(unix-generated) to variable.
33514 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33515 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33516 Remove rule.
33517 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33518 Likewise.
33519 [generic bits/local_lim.h] (before-compile): Do not append to
33520 variable.
33521 [generic bits/local_lim.h] (common-generated): Likewise.
33522 [generic sys/param.h] (before-compile): Do not append to variable.
33523 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33524 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33525 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33526 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33527 include.
33528 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33529 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33530 [generic sys/param.h] ($(addprefix
33531 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33532 [generic sys/param.h] (common-generated): Do not append to
33533 variable.
33534 [generic sys/param.h] (sysdep_headers): Likewise.
33535 [generic bits/errno.h] (before-compile): Do not append to
33536 variable.
33537 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33538 rule.
33539 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33540 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33541 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33542 [generic bits/errno.h] (common-generated): Do not append to
33543 variable.
33544 [generic bits/ioctls.h] (before-compile): Do not append to
33545 variable.
33546 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33547 rule.
33548 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33549 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33550 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33551 rule.
33552 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33553 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33554 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33555 [generic bits/ioctls.h] (common-generated): Do not append to
33556 variable.
33557 [generic sys/syscall.h] (syscall.h): Remove variable.
33558 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33559 rule.
33560 [generic sys/syscall.h] (before-compile): Do not append to
33561 variable.
33562 [generic sys/syscall.h] (common-generated): Likewise.
33563 * sysdeps/unix/errnos-tmpl.c: Remove file.
33564 * sysdeps/unix/errnos.awk: Likewise.
33565 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33566 * sysdeps/unix/ioctls.awk: Likewise.
33567 * sysdeps/unix/mk-local_lim.c: Likewise.
33568 * sysdeps/unix/snarf-ioctls: Likewise.
33569
335702012-03-19 Richard Henderson <rth@twiddle.net>
33571
33572 * sysdeps/i386/fpu/fenv_private.h: New file.
33573 * sysdeps/i386/fpu/math_private.h: Use it.
33574 (math_opt_barrier, math_force_eval): Remove.
33575 (libc_feholdexcept_setround_53bit): Remove.
33576 (libc_feupdateenv_53bit): Remove.
33577 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33578 (math_opt_barrier, math_force_eval): Remove.
33579 (libc_feholdexcept): Remove.
33580 (libc_feholdexcept_setround): Remove.
33581 (libc_fetestexcept, libc_fesetenv): Remove.
33582 (libc_feupdateenv_test): Remove.
33583 (libc_feupdateenv, libc_feholdsetround): Remove.
33584 (libc_feresetround): Remove.
33585
33586 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33587 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33588
33589 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33590 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33591 (libc_feupdateenv_testl): New.
33592 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33593 (libc_feupdateenv_testf): New.
33594 (libc_feupdateenv): Use libc_feupdateenv_test.
33595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33596 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33597
33598 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33599 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33600 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33601 (libc_feresetround_noex): New.
33602 (libc_feresetround_noexf): New.
33603 (libc_feresetround_noexl): New.
33604 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33605 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33606 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33607 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33608 SET_RESTORE_ROUND.
33609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33611 (__cos): Likewise.
33612 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33613 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33614 SET_RESTORE_ROUND_NOEX.
33615 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33616 SET_RESTORE_ROUND_NOEXF.
33617 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33618 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33619 (libc_feholdsetroundf): New.
33620 (libc_feresetround, libc_feresetroundf): New.
33621
33622 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33623 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33624 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33625
33626 * sysdeps/generic/math_private.h: Include <fenv.h>.
33627 (default_libc_feholdexcept): New.
33628 (default_libc_feholdexcept_setround): New.
33629 (default_libc_fesetenv, default_libc_feupdateenv): New.
33630 (libc_feholdexcept): Only define if undefined.
33631 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33632 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33633 (libc_feholdexcept_setroundl): Likewise.
33634 (libc_feholdexcept_setround_53bit): Likewise.
33635 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33636 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33637 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33638 (libc_feupdateenv_53bit): Likewise.
33639 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33640 (libc_feholdexcept): Convert from macro to inline function.
33641 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33642 (libc_fesetenv, libc_feupdateenv): Likewise.
33643
33644 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33645 not previously defined.
33646 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33647 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33648 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33649 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33650 * sysdeps/ieee754/flt-32/math_private.h: New file.
33651 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33652 math_private.h below SET_FLOAT_WORD.
33653 (__isnan, __isinf_ns, __finite): Remove.
33654 (__isnanf, __isinf_nsf, __finitef): Remove.
33655
336562012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33657
33658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33659
336602012-03-17 David S. Miller <davem@davemloft.net>
33661
33662 [BZ #6471]
33663 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33664 for 2.16.
33665
336662012-03-16 David S. Miller <davem@davemloft.net>
33667
33668 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33669 warnings.
33670
33671 [BZ #6471]
33672 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33673 properly.
33674 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33675 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33676 sysdep_routines when subdir is sysvipc.
33677 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33678 __getshmlba helper.
33679
33680 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33681
336822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33683
33684 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33685 [__LP64__].
33686
336872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33688
33689 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33690 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33691 (__lround): Renamed to ...
33692 (__llround): This. Replace long int with long long int.
33693 Define lround functions as aliases of llround functions.
33694 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33695
336962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33697
33698 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33699 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33700 adresses to uintptr_t. Replace "long int" and "unsigned long
33701 int" with "greg_t" on va_arg.
33702
337032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33704
33705 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33706 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33707
33708 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33709 Move e_machine check before EI_CLASS check. Handle x32
33710 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33711 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33712 SKIP_EM_IA_64 and include
33713 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33714
33715 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33716 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33717 (add_system_dir): New macro.
33718
33719 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33720 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33721
337222012-03-16 Joseph Myers <joseph@codesourcery.com>
33723
33724 [BZ #2551]
33725 [BZ #2552]
33726 [BZ #2553]
33727 [BZ #2554]
33728 [BZ #2562]
33729 [BZ #2563]
33730 [BZ #2565]
33731 [BZ #2566]
33732 [BZ #2576]
33733 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33734 (y0): Likewise.
33735 * math/w_j0f.c (j0f): Likewise.
33736 (y0f): Likewise.
33737 * math/w_j0l.c (__j0l): Likewise.
33738 (__y0l): Likewise.
33739 * math/w_j1.c (j1): Likewise.
33740 (y1): Likewise.
33741 * math/w_j1f.c (j1f): Likewise.
33742 (y1f): Likewise.
33743 * math/w_j1l.c (__j1l): Likewise.
33744 (__y1l): Likewise.
33745 * math/w_jn.c (jn): Likewise.
33746 (yn): Likewise.
33747 * math/w_jnf.c (jnf): Likewise.
33748 (ynf): Likewise.
33749 * math/w_jnl.c (__jnl): Likewise.
33750 (__ynl): Likewise.
33751 * math/libm-test.inc (j0_test): Add more tests.
33752 (j1_test): Likewise.
33753 (jn_test): Likewise. Add trailing semicolon to existing test.
33754 (y0_test): Likewise.
33755 (y1_test): Likewise.
33756 * sysdeps/i386/fpu/libm-test-ulps: Update.
33757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33758
33759 [BZ #13851]
33760 [BZ #13854]
33761 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33762 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33763 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33764 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33765 (__tanl): Set errno for infinite argument.
33766 * sysdeps/i386/fpu/mptan.c: Remove.
33767 * sysdeps/i386/fpu/s_tan.S: Likewise.
33768 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33769 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33770 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33771 * math/libm-test.inc (tan_test): Add more tests and enable more
33772 tests for double and long double.
33773 * sysdeps/i386/fpu/libm-test-ulps: Update.
33774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33775
337762012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33777
33778 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33779 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33780
337812012-03-16 Roland McGrath <roland@hack.frob.com>
33782
33783 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33784 * configure.in: Use it for both main tree and add-ons.
33785 * configure: Regenerated.
33786
337872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33788
33789 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33790
337912012-03-16 Joseph Myers <joseph@codesourcery.com>
33792
33793 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33794 in comment.
33795
33796 [BZ #13851]
33797 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33798 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33801 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33802 infinite argument.
33803 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33805 != 0 for prec == 2.
33806 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33807 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33808 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33809 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33810 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33811 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33812 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33813 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33814 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33815 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33816 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33817 * math/libm-test.inc (cos_test): Add more tests and enable more
33818 tests for long double.
33819 (sin_test): Likewise.
33820 (sincos_test): Likewise.
33821 * sysdeps/i386/fpu/libm-test-ulps: Update.
33822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33823
338242012-03-16 David S. Miller <davem@davemloft.net>
33825
33826 * sysdeps/sparc/fpu/math_private.h: New file.
33827
338282012-03-15 David S. Miller <davem@davemloft.net>
33829
33830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33831 file.
33832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33834 file.
33835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33840 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33841 sysdep routines.
33842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33843
33844 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33845 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33846
33847 * sysdeps/sparc/sparc-ifunc.h: New file.
33848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33849 sparc-ifunc.h
33850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33852 Likewise.
33853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33854 Likewise.
33855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33859 Likewise.
33860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33865 Likewise.
33866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33867 Likewise.
33868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33874 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33875 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33887 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33888 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33889 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33890 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33891 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33892
338932012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33894
33895 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33896 scaling.
33897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33898
338992012-03-15 Andreas Jaeger <aj@suse.de>
33900
33901 [BZ #13852]
33902 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33903 ieee754/flt-32 implementation for sin, cos and sincos.
33904 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33905 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33906 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33907 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33908 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33909 ieee754/flt-32 implementation for tan.
33910
33911 * math/libm-test.inc (cos_test): Enable some large input tests for
33912 float as well
33913 (sin_test): Likewise.
33914 (sincos_test): Likewise.
33915 (tan_test): Add tests for large input.
33916
33917 * sysdeps/i386/fpu/libm-test-ulps: Update.
33918
339192012-03-15 Andreas Jaeger <aj@suse.de>
33920
33921 [BZ #13658]
33922 * math/libm-test.inc (cos_test): Add more test cases.
33923 (sin_test): Likewise.
33924 (sincos_test): Likewise.
33925
339262012-03-15 Andreas Jaeger <aj@suse.de>
33927
33928 [BZ #13837]
33929 * math/libm-test.inc (cos_test): Add a test case for large input
33930 value.
33931 (sin_test): Likewise.
33932 (sincos_test): Likewise.
33933
339342012-03-15 Andreas Jaeger <aj@suse.de>
33935 Joseph Myers <joseph@codesourcery.com>
33936
33937 [BZ #13658]
33938 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33939 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33940 * sysdeps/i386/fpu/branred.c: Likewise.
33941 * sysdeps/i386/fpu/dosincos.c: Likewise.
33942 * sysdeps/i386/fpu/mpa.c: Likewise.
33943 * sysdeps/i386/fpu/s_cos.S: Likewise.
33944 * sysdeps/i386/fpu/s_sin.S: Likewise.
33945 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33946 * sysdeps/i386/fpu/sincos32.c: Likewise.
33947
33948 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33949 Define.
33950 (libc_feupdateenv_53bit): Define.
33951 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33952 Define.
33953 (libc_feupdateenv_53bit): Define.
33954
33955 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33956 53 bit (without extend i386 double precision).
33957
33958 * math/libm-test.inc (sincos_test): Add tests for large input.
33959 (sin): Likewise.
33960 (cos): Likewise.
33961
33962 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33963
339642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33965
33966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33967
339682012-03-15 David S. Miller <davem@davemloft.net>
33969
33970 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33971 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33972 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33973 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33986 file.
33987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33989 file.
33990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33992 file.
33993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33995 file.
33996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33998 fmin/fmax sysdep routines.
33999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34000
340012012-03-14 David S. Miller <davem@davemloft.net>
34002
34003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34007 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34008 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34009 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34010 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34020 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34023 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34024 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34025 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34026 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34027 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34028 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34029 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34030 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34032 routines.
34033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34034 file.
34035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34037 file.
34038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34040 file.
34041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34043 file.
34044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34046 file.
34047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34049 file.
34050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34051 file.
34052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34053 file.
34054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34055 file.
34056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34057 New file.
34058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34059 file.
34060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34061 file.
34062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34064 file.
34065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34067 file.
34068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34070 file.
34071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34073 VIS3 routines.
34074
34075 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34076 New file.
34077
34078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34079
34080 * sysdeps/sparc/configure.in: New file.
34081 * sysdeps/sparc/configure: Generate.
34082 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34083 * configure: Regenerate.
34084 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34085 * config.make.in (have-as-vis3): New.
34086 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34087 available use -Av9d instead of -Av9a.
34088 * sysdeps/sparc/sparc64/Makefile: Likewise.
34089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34091 New file.
34092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34093 file.
34094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34095 New file.
34096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34097 file.
34098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34099 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34100 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34101 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34102 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34103
34104 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34105 fzeros/fnegs to load 0x80000000 into a float register instead of
34106 using the stack.
34107 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34108
341092012-03-14 Joseph Myers <joseph@codesourcery.com>
34110
34111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34112 bits/syscall.h.
34113 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34114 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34115 ($(inst_includedir)/bits/syscall.h): Remove rule.
34116 ($(objpfx)bits/syscall.d): Include instead of
34117 $(objpfx)syscall-list.d.
34118 (generated): Change syscall-list.h and syscall-list.d to
34119 bits/syscall.h and bits/syscall.d.
34120
341212012-03-14 Roland McGrath <roland@hack.frob.com>
34122
34123 [BZ #13846]
34124 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34125
341262012-03-14 Joseph Myers <joseph@codesourcery.com>
34127
34128 [BZ #13841]
34129 * math/s_csqrt.c: Include <float.h>.
34130 (__csqrt): Scale large or subnormal inputs.
34131 * math/s_csqrtf.c: Likewise.
34132 * math/s_csqrtl.c: Likewise.
34133 * math/libm-test.inc (csqrt_test): Add more tests.
34134 * sysdeps/i386/fpu/libm-test-ulps: Update.
34135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34136
34137 [BZ #13840]
34138 * math/libm-test.inc (hypot_test): Add more tests.
34139
341402012-03-13 David S. Miller <davem@davemloft.net>
34141
34142 [BZ #13840]
34143 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34144 double-precision for the calculation instead of scaling.
34145
341462012-03-13 Joseph Myers <joseph@codesourcery.com>
34147
34148 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34149 manipulate bits before adding and subtracting TWO52[sx].
34150 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34151 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34152 Likewise.
34153 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34154
341552012-03-13 David S. Miller <davem@davemloft.net>
34156
34157 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34158 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34159 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34160 rtld-global-offsets.h
34161 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34162
34163 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34164 large parameters.
34165
34166 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34167
34168 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34169 'err' in the ifdef scope in which it is actually used.
34170
34171 * nss/nss_db/db-init.c: Include string.h
34172
341732012-03-12 David S. Miller <davem@davemloft.net>
34174
34175 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34176 masking out of the most significant byte of random value used.
34177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34178 Fix coding style in previous change.
34179
34180 * sysdeps/unix/sysv/linux/kernel-features.h
34181 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34182 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34183 expression.
34184 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34185 later.
34186
341872012-03-11 David S. Miller <davem@davemloft.net>
34188
34189 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34190 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34191 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34192 for 'resultvar' otherwise things get truncated on 64-bit.
34193
34194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34195 Fix masking out of the most significant byte of random value used.
34196
34197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34198
341992012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34200
34201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34202
342032012-03-09 David S. Miller <davem@davemloft.net>
34204
34205 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34206 variables with appropriate CPP guards.
34207 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34208 from the frame pointer, not the stack pointer. Correct layout
34209 comments. Fix test on resulting framesize and the management of
34210 the outregs buffer for pltexit. Preserve floating point return
34211 values across _dl_call_pltexit call.
34212 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34213 framesize and the management of the outregs buffer for pltexit.
34214 Preserve floating point return values across _dl_call_pltexit
34215 call.
34216 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34217 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34218 (la_sparc64_gnu_pltexit): New functions.
34219 (print_exit): Fix format string for return register value.
34220
342212012-03-10 Joseph Myers <joseph@codesourcery.com>
34222
34223 * sunrpc/Makefile (others): Add rpcgen.
34224 ($(objpfx)rpcgen): Remove special build rule and dependency on
34225 libc.
34226 * sunrpc/rpcgen.c: New file.
34227
342282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34229
34230 [BZ #13673]
34231 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34232 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34233 * sysdeps/i386/crti.S: Likewise.
34234 * sysdeps/i386/crtn.S: Likewise.
34235 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34236 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34237 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34238 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34239 * sysdeps/sh/crti.S: Likewise.
34240 * sysdeps/sh/crtn.S: Likewise.
34241 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34242
34243 [BZ #13673]
34244 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34245 with URL.
34246 * locale/programs/locfile-kw.gperf: Likewise.
34247 * locale/programs/charmap-kw.h: Regenerated.
34248 * locale/programs/locfile-kw.h: Likewise.
34249
34250 [BZ #13673]
34251 * intl/plural.y: Replace FSF snail mail address with URL.
34252 * intl/plural.c: Regenerated.
34253
342542012-03-09 Richard Henderson <rth@twiddle.net>
34255
34256 * include/math_private.h: Remove file.
34257 * math/math_private.h: Move file ...
34258 * sysdeps/generic/math_private.h: ... here.
34259
34260 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34261 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34262 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34263
34264 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34265 and <math_private.h>.
34266 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34267 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34268 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34269 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34270 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34271 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34272 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34273 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34274 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34275 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34276 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34277 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34278 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34279 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34280 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34281 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34282 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34283 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34284 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34285 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34287 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34288 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34289 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34290 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34291 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34292 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34293 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34294 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34295 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34296 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34297 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34298 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34299 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34300 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34301 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34302 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34303 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34304 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34305 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34306 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34307 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34308 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34309 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34310 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34311 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34312 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34313 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34314 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34315 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34316 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34317 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34318 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34319 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34320 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34321 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34322 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34323 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34324 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34325 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34326 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34327 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34329 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34330 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34331 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34332 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34333 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34334 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34335 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34336 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34337 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34338 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34339 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34340 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34341 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34342 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34343 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34344 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34345 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34346 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34347 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34348 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34349 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34350 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34352 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34353 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34354 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34355 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34356 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34357 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34358 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34359 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34360 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34361 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34362 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34363 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34364 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34365 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34366 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34367 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34368 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34369 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34370 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34371 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34372 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34373 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34374 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34375 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34376 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34377 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34378 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34379 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34380 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34381 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34382 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34383 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34384 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34385 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34386 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34387 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34388 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34389 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34390 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34391 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34392 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34393 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34394 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34395 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34396 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34397 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34398 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34399 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34400 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34401 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34402 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34403 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34404 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34405 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34406 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34407 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34408 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34409 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34410 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34411 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34412 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34413 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34414 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34415 * sysdeps/ieee754/k_standard.c: Likewise.
34416 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34417 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34418 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34419 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34420 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34421 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34422 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34423 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34424 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34425 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34426 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34427 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34430 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34432 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34433 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34434 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34435 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34436 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34437 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34438 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34439 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34440 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34441 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34442 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34443 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34444 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34445 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34446 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34447 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34448 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34449 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34450 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34451 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34452 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34462 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34465 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34470 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34476 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34478 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34480 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34482 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34488 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34489 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34491 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34493 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34494 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34495 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34496 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34497 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34498 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34499 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34500 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34501 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34502 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34503 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34504 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34506 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34507 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34508 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34509 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34510 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34511 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34512 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34513 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34514 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34515 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34516 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34517 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34518 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34519 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34520 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34521 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34522 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34523 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34524 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34525 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34526 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34527 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34528 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34529 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34530 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34531 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34532 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34533 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34534 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34535 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34536 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34537 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34538 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34539 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34540 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34541 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34542 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34543 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34544 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34545 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34546 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34547 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34548 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34549 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34550 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34551 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34552 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34553 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34554 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34555 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34556 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34557 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34558 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34559 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34560 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34561 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34562 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34563 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34564 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34565 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34566 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34567 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34568 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34569 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34570 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34571 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34572 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34573 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34574 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34575 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34576 * sysdeps/ieee754/s_lib_version.c: Likewise.
34577 * sysdeps/ieee754/s_matherr.c: Likewise.
34578 * sysdeps/ieee754/s_signgam.c: Likewise.
34579 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34580 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34581 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34582 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34583 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34584 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34585 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34586 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34587 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34588 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34589 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34590 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34591 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34592 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34593 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34594 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34595 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34596 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34597 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34598 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34599 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34600
346012012-03-09 Joseph Myers <joseph@codesourcery.com>
34602
34603 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34604 * sunrpc/rpc_main.c: Likewise.
34605 * sunrpc/rpc_svcout.c: Likewise.
34606
346072012-03-09 David S. Miller <davem@davemloft.net>
34608
34609 * include/math_private.h: New file.
34610
346112012-03-09 Joseph Myers <joseph@codesourcery.com>
34612
34613 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34614 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34615 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34616 from <bits/socket_type.h>.
34617 (enum __socket_type): Don't define here.
34618 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34620 bits/socket_type.h.
34621
34622 [BZ #13566]
34623 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34624 checking __USE_GNU.
34625
34626 * Makerules ($(inst_includedir)/%.h): New rule.
34627 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34628 (install-others): Remove variable setting.
34629 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34630
346312012-03-08 Richard Henderson <rth@twiddle.net>
34632
34633 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34634 from macro to inline function; merge with the
34635 !__LIBC_INTERNAL_MATH_INLINES version.
34636 (__ieee754_sqrtf): Likewise.
34637
34638 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34639 to inline function.
34640 (__rintf, __floor, __floorf): Likewise.
34641
34642 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34643 macro to inline function.
34644 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34645
34646 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34647 not <math/math_private.h>.
34648
346492012-03-08 David S. Miller <davem@davemloft.net>
34650
34651 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34652 copyright year.
34653 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34654
346552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34656
34657 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34658 normalization.
34659 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34660 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34661
346622012-03-08 Ulrich Drepper <drepper@gmail.com>
34663
34664 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34665 be defined individually, they must be defined as a block. Define
34666 S for printing a string instead of hidint the different by using a
34667 macro for adding the 'l'.
34668 * stdio-common/tst-fphex-wide.c: Adjust.
34669
346702012-03-07 Marek Polacek <polacek@redhat.com>
34671
34672 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34673
346742012-03-08 Marek Polacek <polacek@redhat.com>
34675
34676 [BZ #13806]
34677 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34678 * stdio-common/tst-fphex.c: Define a few macros to make the
34679 test reusable. Use them.
34680 * stdio-common/tst-fphex-wide.c: New file.
34681
346822012-03-08 Joseph Myers <joseph@codesourcery.com>
34683
34684 [BZ #6911]
34685 * manual/macros.texi (gnusystems): New macro.
34686 (nongnusystems): Likewise.
34687 (gnulinuxhurdsystems): Likewise.
34688 (gnuhurdsystems): Likewise..
34689 (gnulinuxsystems): Likewise.
34690 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34691 variants of the GNU system, not "GNU system".
34692 * manual/conf.texi: Likewise.
34693 * manual/errno.texi: Likewise. Update example of errno macro
34694 expansion.
34695 * manual/filesys.texi: Likewise.
34696 (getumask): Document as specific to GNU/Hurd.
34697 * manual/install.texi: Likewise. Reword some references to
34698 GNU/Linux.
34699 * manual/intro.texi: Likewise.
34700 * manual/io.texi: Likewise.
34701 (File Name Portability): Detail which constraints are inapplicable
34702 to all GNU systems and which are only inapplicable to GNU/Hurd.
34703 * manual/job.texi: Likewise.
34704 * manual/llio.texi: Likewise.
34705 (O_NOCTTY): Document as present on GNU/Linux.
34706 * manual/maint.texi: Likewise.
34707 * manual/memory.texi: Likewise.
34708 * manual/pattern.texi: Likewise.
34709 * manual/pipe.texi: Likewise.
34710 * manual/process.texi: Likewise.
34711 * manual/resource.texi: Likewise.
34712 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34713 child on GNU/Hurd.
34714 * manual/setjmp.texi: Likewise.
34715 * manual/signal.texi: Likewise.
34716 * manual/startup.texi: Likewise.
34717 * manual/stdio.texi: Likewise.
34718 * manual/terminal.texi: Likewise.
34719 (ONLCR): Document as POSIX.
34720 (OXTABS): Document availability on GNU/Linux as XTABS.
34721 (ONOEOT): Document availability separately from other bits.
34722 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34723 * manual/time.texi: Likewise.
34724 * manual/users.texi: Likewise.
34725 * INSTALL: Regenerated.
34726 * sysdeps/gnu/errlist.c: Regenerated.
34727
34728 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34729 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34730 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34731 puts.
34732 * configure: Regenerated.
34733
347342012-03-07 Joseph Myers <joseph@codesourcery.com>
34735
34736 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34737 default includes instead of AC_HEADER_CHECK.
34738 * sysdeps/i386/configure: Regenerated.
34739
34740 [BZ #10716]
34741 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34742 * math/s_cacoshf.c (__cacoshf): Likewise.
34743 * math/s_cacoshl.c (__cacoshl): Likewise.
34744 * math/s_casinh.c (__casinh): Set signs of result from argument.
34745 * math/s_casinhf.c (__casinhf): Likewise.
34746 * math/s_casinhl.c (__casinhl): Likewise.
34747 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34748 (casinh_test): Add more tests.
34749 * sysdeps/i386/fpu/libm-test-ulps: Update.
34750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34751
347522012-03-07 Ulrich Drepper <drepper@gmail.com>
34753
34754 * po/zh_TW.po: Update from translation team.
34755
34756 * login/Makefile (distribute): Remove variable.
34757 * catgets/Makefile: Likewise.
34758 * mach/Makefile: Likewise.
34759 * malloc/Makefile: Likewise.
34760 * misc/Makefile: Likewise.
34761 * iconv/Makefile: Likewise.
34762 * nscd/Makefile: Likewise.
34763 * hurd/Makefile: Likewise.
34764 * manual/Makefile: Likewise.
34765 * locale/Makefile: Likewise.
34766 * intl/Makefile: Likewise.
34767 * conform/Makefile: Likewise.
34768 * nss/Makefile: Likewise.
34769 * time/Makefile: Likewise.
34770 * soft-fp/Makefile: Likewise.
34771 * dirent/Makefile: Likewise.
34772 * gmon/Makefile: Likewise.
34773 * po/Makefile: Likewise.
34774 * rt/Makefile: Likewise.
34775 * socket/Makefile: Likewise.
34776 * math/Makefile: Likewise.
34777 * signal/Makefile: Likewise.
34778 * debug/Makefile: Likewise.
34779 * elf/Makefile: Likewise.
34780 * timezone/Makefile: Likewise.
34781 * stdlib/Makefile: Likewise.
34782 * iconvdata/Makefile: Likewise.
34783 * sunrpc/Makefile: Likewise.
34784 * io/Makefile: Likewise.
34785 * argp/Makefile: Likewise.
34786 * inet/Makefile: Likewise.
34787 * hesiod/Makefile: Likewise.
34788 * grp/Makefile: Likewise.
34789 * csu/Makefile: Likewise.
34790 * wctype/Makefile: Likewise.
34791 * crypt/Makefile: Likewise.
34792 * libio/Makefile: Likewise.
34793 * string/Makefile: Likewise.
34794 * nis/Makefile: Likewise.
34795 * resolv/Makefile: Likewise.
34796 * stdio-common/Makefile: Likewise.
34797 * wcsmbs/Makefile: Likewise.
34798 * dlfcn/Makefile: Likewise.
34799 * posix/Makefile: Likewise.
34800
34801 [BZ #6959]
34802 * timezone/Makefile: Don't install timezone files, just the programs
34803 and scripts.
34804
348052012-03-06 Ulrich Drepper <drepper@gmail.com>
34806
34807 * nss/databases.def: Add missing gshadow entry.
34808
34809 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34810
348112012-03-06 Marek Polacek <polacek@redhat.com>
34812
34813 [BZ #13726]
34814 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34815 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34816 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34817 * stdio-common/tst-long-dbl-fphex.c: New file.
34818
348192012-03-06 David S. Miller <davem@davemloft.net>
34820
34821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34822 (set_obp_int): New function.
34823 (get_obp_int): New function.
34824 (__get_clockfreq_via_dev_openprom): Likewise.
34825 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34826 Avoid unused variable warnings on 'val' and use builtin_expect.
34827 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34828 __builtin_expect.
34829 (INLINE_CLONE_SYSCALL): Likewise.
34830
348312012-03-05 David S. Miller <davem@davemloft.net>
34832
34833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34834
348352012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34836
34837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34838
34839 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34840 only for |x| >= 40.
34841 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34842
348432012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34844
34845 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34846 Replace gettimeofday with __vdso_gettimeofday.
34847
34848 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34849 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34850 __vdso_clock_gettime and __vdso_getcpu.
34851
34852 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34853 time with __vdso_time.
34854
348552012-03-05 Joseph Myers <joseph@codesourcery.com>
34856
34857 * manual/lang.texi (size_t): Note types to which size_t may be
34858 equivalent with the GNU C Library, but do not describe when
34859 differences between them are significant.
34860
348612012-03-05 Andreas Jaeger <aj@suse.de>
34862
34863 * sysdeps/i386/fpu/libm-test-ulps: Update.
34864
348652012-03-05 Joseph Myers <joseph@codesourcery.com>
34866
34867 [BZ #3976]
34868 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34869 (__ieee754_pow): Save and restore rounding mode and use
34870 round-to-nearest for main computations.
34871 * math/libm-test.inc (pow_test_tonearest): New function.
34872 (pow_test_towardzero): Likewise.
34873 (pow_test_downward): Likewise.
34874 (pow_test_upward): Likewise.
34875 (main): Call the new functions.
34876 * sysdeps/i386/fpu/libm-test-ulps: Update.
34877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34878
34879 [BZ #3976]
34880 * math/libm-test.inc (cosh_test_tonearest): New function.
34881 (cosh_test_towardzero): Likewise.
34882 (cosh_test_downward): Likewise.
34883 (cosh_test_upward): Likewise.
34884 (sinh_test_tonearest): Likewise.
34885 (sinh_test_towardzero): Likewise.
34886 (sinh_test_downward): Likewise.
34887 (sinh_test_upward): Likewise.
34888 (main): Call the new functions.
34889 * sysdeps/i386/fpu/libm-test-ulps: Update.
34890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34891
348922012-03-05 Tom de Vries <tom@codesourcery.com>
34893
34894 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34895 default stack guard is set in last bytes.
34896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34897
348982012-03-05 Kees Cook <keescook@chromium.org>
34899
34900 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34901
34902 [BZ #13656]
34903 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34904 possibly allocate from heap instead of stack.
34905 * stdio-common/bug-vfprintf-nargs.c: New file.
34906 * stdio-common/Makefile (tests): Add nargs overflow test.
34907
349082012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34909
34910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34911
349122012-03-03 Marek Polacek <polacek@redhat.com>
34913
34914 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34915 * math/math_private.h: Likewise.
34916 * stdlib/tst-strtod.c: Likewise.
34917 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34918 * sysdeps/x86_64/bits/atomic.h: Likewise.
34919
349202012-03-02 David S. Miller <davem@davemloft.net>
34921
34922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34926 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34927 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34928 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34929 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34930
349312012-03-02 Roland McGrath <roland@hack.frob.com>
34932
34933 [BZ #13792]
34934 * manual/examples/README: New file, says the example source files
34935 can be used under GPL>=2.
34936 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34937 line containing just "*/".
34938 * manual/examples/add.c: Add copyright header (GPL>=2).
34939 * manual/examples/argp-ex1.c: Likewise.
34940 * manual/examples/argp-ex2.c: Likewise.
34941 * manual/examples/argp-ex3.c: Likewise.
34942 * manual/examples/argp-ex4.c: Likewise.
34943 * manual/examples/atexit.c: Likewise.
34944 * manual/examples/db.c: Likewise.
34945 * manual/examples/dir.c: Likewise.
34946 * manual/examples/dir2.c: Likewise.
34947 * manual/examples/execinfo.c: Likewise.
34948 * manual/examples/filecli.c: Likewise.
34949 * manual/examples/filesrv.c: Likewise.
34950 * manual/examples/fmtmsgexpl.c: Likewise.
34951 * manual/examples/genpass.c: Likewise.
34952 * manual/examples/inetcli.c: Likewise.
34953 * manual/examples/inetsrv.c: Likewise.
34954 * manual/examples/isockad.c: Likewise.
34955 * manual/examples/longopt.c: Likewise.
34956 * manual/examples/memopen.c: Likewise.
34957 * manual/examples/memstrm.c: Likewise.
34958 * manual/examples/mkfsock.c: Likewise.
34959 * manual/examples/mkisock.c: Likewise.
34960 * manual/examples/mygetpass.c: Likewise.
34961 * manual/examples/pipe.c: Likewise.
34962 * manual/examples/popen.c: Likewise.
34963 * manual/examples/rprintf.c: Likewise.
34964 * manual/examples/search.c: Likewise.
34965 * manual/examples/select.c: Likewise.
34966 * manual/examples/setjmp.c: Likewise.
34967 * manual/examples/sigh1.c: Likewise.
34968 * manual/examples/sigusr.c: Likewise.
34969 * manual/examples/stpcpy.c: Likewise.
34970 * manual/examples/strdupa.c: Likewise.
34971 * manual/examples/strftim.c: Likewise.
34972 * manual/examples/strncat.c: Likewise.
34973 * manual/examples/subopt.c: Likewise.
34974 * manual/examples/swapcontext.c: Likewise.
34975 * manual/examples/termios.c: Likewise.
34976 * manual/examples/testopt.c: Likewise.
34977 * manual/examples/testpass.c: Likewise.
34978 * manual/examples/timeval_subtract.c: Likewise.
34979
34980 [BZ #13792]
34981 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34982 function to ...
34983 * manual/timeval_subtract.c.texi: ... here, new file.
34984
349852012-03-02 David S. Miller <davem@davemloft.net>
34986
34987 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34988
349892012-03-02 Joseph Myers <joseph@codesourcery.com>
34990
34991 [BZ #3976]
34992 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34993 (__sin): Save and restore rounding mode and use round-to-nearest
34994 for all computations.
34995 (__cos): Save and restore rounding mode and use round-to-nearest
34996 for all computations.
34997 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34998 <fenv.h>.
34999 (tan): Save and restore rounding mode and use round-to-nearest for
35000 all computations.
35001 * math/libm-test.inc (cos_test_tonearest): New function.
35002 (cos_test_towardzero): Likewise.
35003 (cos_test_downward): Likewise.
35004 (cos_test_upward): Likewise.
35005 (sin_test_tonearest): Likewise.
35006 (sin_test_towardzero): Likewise.
35007 (sin_test_downward): Likewise.
35008 (sin_test_upward): Likewise.
35009 (tan_test_tonearest): Likewise.
35010 (tan_test_towardzero): Likewise.
35011 (tan_test_downward): Likewise.
35012 (tan_test_upward): Likewise.
35013 (main): Call the new functions.
35014 * sysdeps/i386/fpu/libm-test-ulps: Update.
35015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35016
35017 [BZ #10135]
35018 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35019 small n, then large n, before computing and testing k+n.
35020 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35021 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35022 Likewise.
35023 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35024 Likewise.
35025 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35026 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35027 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35028 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35029 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35030 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35031 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35032 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35033 * math/libm-test.inc (scalbn_test): Add more tests.
35034 (scalbln_test): Likewise.
35035
35036 * manual/filesys.texi (mode_t): Describe constraints on size and
35037 signedness, not exact equivalence to a particular type.
35038 (ino_t): Likewise.
35039 (ino64_t): Likewise.
35040 (dev_t): Likewise.
35041 (nlink_t): Likewise.
35042 (blkcnt_t): Likewise.
35043 (blkcnt64_t): Likewise.
35044 * manual/llio.texi (off_t): Likewise.
35045
35046 [BZ #3976]
35047 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35048 (__ieee754_exp): Save and restore rounding mode and use
35049 round-to-nearest for all computations.
35050 * math/libm-test.inc (exp_test_tonearest): New function.
35051 (exp_test_towardzero): Likewise.
35052 (exp_test_downward): Likewise.
35053 (exp_test_upward): Likewise.
35054 (main): Call the new functions.
35055 * sysdeps/i386/fpu/libm-test-ulps: Update.
35056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35057
350582012-03-01 Chris Demetriou <cgd@google.com>
35059
35060 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35061 have predictable order.
35062
350632012-03-01 David S. Miller <davem@davemloft.net>
35064
35065 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35066
35067 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35068 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35069 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35070 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35071
35072 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35073 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35074 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35076 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35077 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35078 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35079 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35080 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35081
35082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35083
35084 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35085 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35086 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35087
35088 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35089 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35090 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35091 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35092 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35093 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35094 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35095 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35096 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35097 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35098 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35099 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35100 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35101 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35102 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35103 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35104 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35105 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35106 * sysdeps/sparc/elf/configure: Regenerated.
35107
351082012-03-01 Joseph Myers <joseph@codesourcery.com>
35109
35110 * configure.in (AS, LD): Require binutils 2.20 or later.
35111 * configure: Regenerated.
35112 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35113 as required minimum version.
35114 * INSTALL: Regenerated.
35115
35116 [BZ #2541]
35117 [BZ #4108]
35118 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35119 before squaring exponent.
35120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35121 bottom long double and 27 bits of top long double before squaring
35122 exponent.
35123 * math/libm-test.inc (erfc_test): Add more tests.
35124 * sysdeps/i386/fpu/libm-test-ulps: Update.
35125 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35127
351282012-03-01 Kai Tietz <ktietz@redhat.com>
35129
35130 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35131 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35132 containing bit-fields.
35133 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35134 * soft-fp/single.h (_FP_UNION_S): Likewise.
35135 * soft-fp/double.h (_FP_UNION_D): Likewise.
35136
351372012-02-29 Joseph Myers <joseph@codesourcery.com>
35138
35139 [BZ #13786]
35140 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35141 not include ../strcmp.S.
35142 [USE_AS_STRNCASECMP_L]: Likewise.
35143 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35144 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35145 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35146 (__strncasecmp_l_ia32): Define as alias to
35147 __strncasecmp_l_nonascii.
35148
35149 [BZ #5794]
35150 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35151 * sysdeps/i386/fpu/libm-test-ulps: Update.
35152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35153
35154 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35156
351572012-02-29 Jeff Law <law@redhat.com>
35158
35159 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35160 out of bounds read.
35161
351622012-02-29 Marek Polacek <polacek@redhat.com>
35163
35164 [BZ #13706]
35165 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35166 * elf/Makefile: Add rules to run tst-unused-dep.out.
35167
351682012-02-28 David S. Miller <davem@davemloft.net>
35169
35170 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35171 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35172 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35173 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35174 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35175 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35176
351772012-02-29 Joseph Myers <joseph@codesourcery.com>
35178
35179 * math/libm-test.inc (llround_test): Move one test from
35180 lround_test. Use TEST_f_L in moved test.
35181 (lround_test): Move misplaced test to llround_test. Add testcase
35182 from bug 2561.
35183
351842012-02-28 Ulrich Drepper <drepper@gmail.com>
35185
35186 * sysdeps/x86_64/fpu/e_expf.S: New file.
35187 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35188
351892012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35190
35191 [BZ #13637]
35192 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35193 of remain_len that may cause incomplete multi-byte character and
35194 false match.
35195 * posix/bug-regex33.c: New file.
35196 * posix/Makefile (tests): Add bug-regex33.
35197
351982012-02-28 Joseph Myers <joseph@codesourcery.com>
35199
35200 * manual/macros.texi: New file.
35201 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35202 * manual/libc.texinfo: Include macros.texi.
35203 * manual/creatute.texi: Likewise.
35204 * manual/install.texi: Likewise.
35205 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35206 @glibcadj{} in references to the GNU C Library.
35207 * manual/charset.texi: Likewise.
35208 * manual/conf.texi: Likewise.
35209 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35210 when not using those macros.
35211 * manual/creature.texi: Likewise.
35212 * manual/crypt.texi: Likewise.
35213 * manual/errno.texi: Likewise.
35214 * manual/filesys.texi: Likewise.
35215 * manual/header.texi: Likewise.
35216 * manual/install.texi: Likewise.
35217 * manual/intro.texi: Likewise.
35218 * manual/io.texi: Likewise.
35219 * manual/job.texi: Likewise.
35220 * manual/lang.texi: Likewise.
35221 * manual/libc.texiinfo: Likewise.
35222 * manual/llio.texi: Likewise.
35223 * manual/locale.texi: Likewise.
35224 * manual/maint.texi: Likewise.
35225 * manual/math.texi: Likewise.
35226 * manual/memory.texi: Likewise.
35227 * manual/message.texi: Likewise.
35228 * manual/nss.texi: Likewise.
35229 * manual/pattern.texi: Likewise.
35230 * manual/process.texi: Likewise.
35231 * manual/resource.texi: Likewise.
35232 * manual/search.texi: Likewise.
35233 * manual/setjmp.texi: Likewise.
35234 * manual/signal.texi: Likewise.
35235 * manual/socket.texi: Likewise.
35236 * manual/startup.texi: Likewise.
35237 * manual/stdio.texi: Likewise.
35238 * manual/string.texi: Likewise.
35239 * manual/sysinfo.texi: Likewise.
35240 * manual/syslog.texi: Likewise.
35241 * manual/terminal.texi: Likewise.
35242 * manual/time.texi: Likewise.
35243 * manual/users.texi: Likewise.
35244 * INSTALL: Regenerated.
35245 * NOTES: Regenerated.
35246 * sysdeps/gnu/errlist.c: Regenerated.
35247
352482012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35249
35250 * include/dirent.h: Include <dirstream.h> before
35251 <dirent/dirent.h>.
35252
352532012-02-28 David S. Miller <davem@davemloft.net>
35254
35255 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35256 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35257 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35258 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35259
352602012-02-27 David S. Miller <davem@davemloft.net>
35261
35262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35264 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35265 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35266
35267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35268 frame pointer instead of stack pointer relative arg slot.
35269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35270 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35271 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35272
352732012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35274
35275 [BZ #3992]
35276 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35277
352782012-02-27 David S. Miller <davem@davemloft.net>
35279
35280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35284 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35285 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35286 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35287 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35288
352892012-02-27 Joseph Myers <joseph@codesourcery.com>
35290
35291 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35292 later. Allow versions 5-9.
35293 * configure: Regenerated.
35294 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35295 required minimum version and 4.6 as recommended version. Do not
35296 mention bugs in GCC 2.7 and 2.8.
35297 * INSTALL: Regenerated.
35298
352992012-02-27 David S. Miller <davem@davemloft.net>
35300
35301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35305 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35306 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35307 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35308 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35309
35310 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35311 manipulate bits before adding and subtracting TWO112[sx].
35312 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35313
353142012-02-27 Roland McGrath <roland@hack.frob.com>
35315
35316 [BZ #13775]
35317 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35318 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35319 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35320 being in POSIX, because they are in 1003.1-2008.
35321
35322 * rt/tst-aio.c: Include <fcntl.h>.
35323 * rt/tst-aio7.c: Likewise.
35324 * rt/tst-aio64.c: Likewise.
35325
35326 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35327
353282012-02-27 Joseph Myers <joseph@codesourcery.com>
35329
35330 * manual/install.texi (--with-headers): Describe headers as
35331 interface headers, not private headers.
35332 (Specific advice for GNU/Linux systems): Describe use of headers
35333 from "make headers_install", not private headers from older
35334 kernels.
35335 * INSTALL: Regenerated.
35336 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35337 Change to 2.6.19.
35338 * sysdeps/unix/sysv/linux/configure: Regenerated.
35339
35340 * manual/llio.texi (fclean): Remove documentation.
35341
35342 * manual/Makefile (libc-texi-generated): New variable. Include
35343 version.texi.
35344 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35345 $(libc-texi-generated), not duplicated list of files.
35346 (version.texi, stamp-version): New rules.
35347 (realclean): Remove $(libc-texi-generated), not individual files
35348 from that list. Do not remove dir-add.texinfo.
35349 * manual/libc.texinfo: Comment out uses of edition numbers and
35350 references to printed manual. Remove last-updated dates.
35351 (EDITION): Comment out.
35352 (ISBN): Likewise.
35353 (VERSION, UPDATED): Remove.
35354 (version.texi): Include.
35355
353562012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35357
35358 * sysdeps/posix/spawni.c: Include <signal.h>.
35359 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35360 * sysdeps/pthread/aio_fsync.c: Likewise.
35361
353622012-02-26 Ulrich Drepper <drepper@gmail.com>
35363
35364 * conform/Makefile (tests): Run only when not cross-compiling and
35365 when fast-check is not defined.
35366
35367 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35368 * conform/data/limits.h-data: Fixes for POSIX2008.
35369 * conform/run-conformtest.sh: Run all tests.
35370 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35371 headers.
35372 * include/bits/dlfcn.h: Likewise.
35373 * include/langinfo.h: Likewise.
35374 * include/monetary.h: Likewise.
35375 * include/sys/poll.h: Likewise.
35376
35377 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35378 for __USE_GNU.
35379 * posix/spawn.h: Define __need_sigset_t.
35380 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35381 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35382 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35383 to get sigevent_t only.
35384 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35385 only for __USE_GNU.
35386 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35387 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35388 process_vm_writev only for __USE_GNU.
35389 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35390
35391 * conform/Makefile: For now ignore errors from run-conformtest.
35392 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35393 POSIX to avoid namespace pollution. Don't prepend headers.
35394 * conform/data/aio.h-data: Fixes for POSIX testing.
35395 * conform/data/fcntl.h-data: Likewise.
35396 * conform/data/glob.h-data: Likewise.
35397 * conform/data/grp.h-data: Likewise.
35398 * conform/data/pthread.h-data: Likewise.
35399 * conform/data/pwd.h-data: Likewise.
35400 * conform/data/signal.h-data: Likewise.
35401 * conform/data/spawn.h-data: Likewise.
35402 * conform/data/stdio.h-data: Likewise.
35403 * conform/data/stdlib.h-data: Likewise.
35404 * conform/data/stropts.h-data: Likewise.
35405 * conform/data/sys/mman.h-data: Likewise.
35406 * conform/data/sys/stat.h-data: Likewise.
35407 * conform/data/sys/types.h-data: Likewise.
35408 * conform/data/sys/wait.h-data: Likewise.
35409 * conform/data/time.h-data: Likewise.
35410 * conform/data/unistd.h-data: Likewise.
35411 * conform/data/utime.h-data: Likewise.
35412
35413 * io/sys/stat.h: fchmod was always in POSIX.
35414 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35415 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35416 * rt/aio.h: Define __need_timespec before including <time.h>.
35417 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35418 struct. Add forward declaration of pthread_attr_t and use it in
35419 sigevent.
35420 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35421 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35422 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35423 always remove CLK_TCK definition.
35424
354252012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35426
35427 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35428
354292012-02-25 Ulrich Drepper <drepper@gmail.com>
35430
35431 * conform/run-conformtest.sh: New file.
35432 * conform/Makefile: Run run-conformtest for tests.
35433 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35434 support.
35435
35436 * conform/data/uchar.h-data: New file.
35437 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35438 * conform/data/arpa/inet.h-data: Likewise.
35439 * conform/data/assert.h-data: Likewise.
35440 * conform/data/complex.h-data: Likewise.
35441 * conform/data/cpio.h-data: Likewise.
35442 * conform/data/ctype.h-data: Likewise.
35443 * conform/data/dirent.h-data: Likewise.
35444 * conform/data/dlfcn.h-data: Likewise.
35445 * conform/data/errno.h-data: Likewise.
35446 * conform/data/fcntl.h-data: Likewise.
35447 * conform/data/float.h-data: Likewise.
35448 * conform/data/fmtmsg.h-data: Likewise.
35449 * conform/data/fnmatch.h-data: Likewise.
35450 * conform/data/ftw.h-data: Likewise.
35451 * conform/data/glob.h-data: Likewise.
35452 * conform/data/grp.h-data: Likewise.
35453 * conform/data/iconv.h-data: Likewise.
35454 * conform/data/inttypes.h-data: Likewise.
35455 * conform/data/langinfo.h-data: Likewise.
35456 * conform/data/libgen.h-data: Likewise.
35457 * conform/data/limits.h-data: Likewise.
35458 * conform/data/locale.h-data: Likewise.
35459 * conform/data/math.h-data: Likewise.
35460 * conform/data/monetary.h-data: Likewise.
35461 * conform/data/mqueue.h-data: Likewise.
35462 * conform/data/ndbm.h-data: Likewise.
35463 * conform/data/net/if.h-data: Likewise.
35464 * conform/data/netdb.h-data: Likewise.
35465 * conform/data/netinet/in.h-data: Likewise.
35466 * conform/data/nl_types.h-data: Likewise.
35467 * conform/data/poll.h-data: Likewise.
35468 * conform/data/pthread.h-data: Likewise.
35469 * conform/data/pwd.h-data: Likewise.
35470 * conform/data/regex.h-data: Likewise.
35471 * conform/data/sched.h-data: Likewise.
35472 * conform/data/search.h-data: Likewise.
35473 * conform/data/semaphore.h-data: Likewise.
35474 * conform/data/setjmp.h-data: Likewise.
35475 * conform/data/signal.h-data: Likewise.
35476 * conform/data/spawn.h-data: Likewise.
35477 * conform/data/stdarg.h-data: Likewise.
35478 * conform/data/stdio.h-data: Likewise.
35479 * conform/data/stdlib.h-data: Likewise.
35480 * conform/data/string.h-data: Likewise.
35481 * conform/data/strings.h-data: Likewise.
35482 * conform/data/stropts.h-data: Likewise.
35483 * conform/data/sys/ipc.h-data: Likewise.
35484 * conform/data/sys/mman.h-data: Likewise.
35485 * conform/data/sys/msg.h-data: Likewise.
35486 * conform/data/sys/resource.h-data: Likewise.
35487 * conform/data/sys/select.h-data: Likewise.
35488 * conform/data/sys/sem.h-data: Likewise.
35489 * conform/data/sys/shm.h-data: Likewise.
35490 * conform/data/sys/socket.h-data: Likewise.
35491 * conform/data/sys/stat.h-data: Likewise.
35492 * conform/data/sys/statvfs.h-data: Likewise.
35493 * conform/data/sys/time.h-data: Likewise.
35494 * conform/data/sys/timeb.h-data: Likewise.
35495 * conform/data/sys/times.h-data: Likewise.
35496 * conform/data/sys/types.h-data: Likewise.
35497 * conform/data/sys/uio.h-data: Likewise.
35498 * conform/data/sys/un.h-data: Likewise.
35499 * conform/data/sys/utsname.h-data: Likewise.
35500 * conform/data/sys/wait.h-data: Likewise.
35501 * conform/data/syslog.h-data: Likewise.
35502 * conform/data/tar.h-data: Likewise.
35503 * conform/data/termios.h-data: Likewise.
35504 * conform/data/utime.h-data: Likewise.
35505 * conform/data/utmpx.h-data: Likewise.
35506 * conform/data/varargs.h-data: Likewise.
35507 * conform/data/wchar.h-data: Likewise.
35508 * conform/data/wctype.h-data: Likewise.
35509 * conform/data/wordexp.h-data: Likewise.
35510
35511 * include/stropts.h: New file.
35512 * include/uchar.h: New file.
35513 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35514 * include/assert.h: Likewise.
35515 * include/ctype.h: Likewise.
35516 * include/dirent.h: Likewise.
35517 * include/dlfcn.h: Likewise.
35518 * include/fcntl.h: Likewise.
35519 * include/fnmatch.h: Likewise.
35520 * include/glob.h: Likewise.
35521 * include/grp.h: Likewise.
35522 * include/libio.h: Likewise.
35523 * include/locale.h: Likewise.
35524 * include/math.h: Likewise.
35525 * include/net/if.h: Likewise.
35526 * include/netdb.h: Likewise.
35527 * include/netinet/in.h: Likewise.
35528 * include/pthread.h: Likewise.
35529 * include/pwd.h: Likewise.
35530 * include/regex.h: Likewise.
35531 * include/sched.h: Likewise.
35532 * include/search.h: Likewise.
35533 * include/setjmp.h: Likewise.
35534 * include/signal.h: Likewise.
35535 * include/stdio.h: Likewise.
35536 * include/stdlib.h: Likewise.
35537 * include/string.h: Likewise.
35538 * include/sys/cdefs.h: Likewise.
35539 * include/sys/mman.h: Likewise.
35540 * include/sys/msg.h: Likewise.
35541 * include/sys/resource.h: Likewise.
35542 * include/sys/select.h: Likewise.
35543 * include/sys/socket.h: Likewise.
35544 * include/sys/stat.h: Likewise.
35545 * include/sys/statvfs.h: Likewise.
35546 * include/sys/time.h: Likewise.
35547 * include/sys/times.h: Likewise.
35548 * include/sys/uio.h: Likewise.
35549 * include/sys/utsname.h: Likewise.
35550 * include/sys/wait.h: Likewise.
35551 * include/termios.h: Likewise.
35552 * include/time.h: Likewise.
35553 * include/ulimit.h: Likewise.
35554 * include/unistd.h: Likewise.
35555 * include/utime.h: Likewise.
35556 * include/wchar.h: Likewise.
35557 * include/wctype.h: Likewise.
35558 * include/wordexp.h: Likewise.
35559
35560 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35561
35562 * time/time.h: TIME_UTC must be a macro.
35563 Make timespec_get available for ISO C11 only as well.
35564
355652012-02-24 Ulrich Drepper <drepper@gmail.com>
35566
35567 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35568 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35569
355702012-02-24 Joseph Myers <joseph@codesourcery.com>
35571
35572 * configure.in: Use -o not -a in test for unsupported multi-arch.
35573
355742012-02-24 Joseph Myers <joseph@codesourcery.com>
35575
35576 * manual/texinfo.tex: Update to version 2012-01-19.16.
35577
355782012-02-24 Joseph Myers <joseph@codesourcery.com>
35579
35580 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35581
355822012-02-24 Roland McGrath <roland@hack.frob.com>
35583
35584 [BZ #13738]
35585 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35586 * manual/fdl-1.3.texi: New file.
35587 * manual/fdl-1.1.texi: File removed.
35588
35589 [BZ #13738]
35590 * manual/libc.texinfo (FDL_VERSION): New @set.
35591 Use it for mention of FDL in cover text.
35592 (Documentation License): Use it in @include file name.
35593
355942012-02-22 Joseph Myers <joseph@codesourcery.com>
35595 Roland McGrath <roland@hack.frob.com>
35596
35597 [BZ #5461]
35598 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35599 (not LONG_LONG_MAX and LONG_LONG_MIN.
35600 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35601 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35602 name.
35603 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35604
356052012-02-22 Joseph Myers <joseph@codesourcery.com>
35606
35607 [BZ #2547]
35608 [BZ #11365]
35609 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35610 manipulate bits before adding and subtracting TWO23[sx].
35611 * math/libm-test.inc (nearbyint_test): Add more tests.
35612
356132012-02-22 Joseph Myers <joseph@codesourcery.com>
35614
35615 [BZ #2548]
35616 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35617 bits before adding and subtracting TWO23[sx].
35618 * math/libm-test.inc (rint_test): Add more tests.
35619 (rint_test_tonearest): Likewise.
35620 (rint_test_towardzero): Likewise.
35621 (rint_test_downward): Likewise.
35622 (rint_test_upward: Likewise.
35623
356242012-02-22 Joseph Myers <joseph@codesourcery.com>
35625
35626 [BZ #10110]
35627 * include/stdc-predef.h: New file. Extracted from features.h.
35628 * include/features.h: Include stdc-predef.h.
35629 * Makefile (headers): Add stdc-predef.h.
35630 * CONFORMANCE (Compiler limitations): Update.
35631
356322012-02-22 Joseph Myers <joseph@codesourcery.com>
35633
35634 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35635
356362012-02-21 David S. Miller <davem@davemloft.net>
35637
35638 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35639 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35640
356412012-02-20 David S. Miller <davem@davemloft.net>
35642
35643 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35644 using a normal save/restore sequence, rather than allocating a
35645 dummy stack frame just to store a frame pointer and restore.
35646 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35647
356482012-02-21 Joseph Myers <joseph@codesourcery.com>
35649
35650 * manual/install.texi: Fix stray word in line-wrapped comment.
35651
356522012-02-20 David S. Miller <davem@davemloft.net>
35653
35654 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35655 both binutils and gcc support GOTDATA.
35656
35657 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35658 "rd %pc" in the PIC register setup sequences.
35659
35660 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35661 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35662 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35663 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35664 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35665 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35666 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35667 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35668 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35669 (SYSCALL_ERROR_HANDLER): Likewise.
35670 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35671 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35672 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35673 (SYSCALL_ERROR_HANDLER): Likewise.
35674
35675 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35676 (HAVE_GCC_GOTDATA): New.
35677 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35678 relocation support in both binutils and gcc.
35679 * sysdeps/sparc/elf/configure: Regenerate.
35680
35681 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35682 * sysdeps/sparc/sparc32/elf/configure: Delete.
35683 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35684 * sysdeps/sparc/sparc64/elf/configure: Delete.
35685 * sysdeps/sparc/elf/configure.in: New file.
35686 * sysdeps/sparc/elf/configure: Generate.
35687
35688 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35689 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35690 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35691 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35692 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35693
356942012-02-21 Joseph Myers <joseph@codesourcery.com>
35695
35696 * manual/install.texi: Do not mention specific glibc version
35697 numbers.
35698 * manual/libc.texinfo (VERSION, UPDATED): Update.
35699 (@copying): Use @copyright{} and range of years.
35700
357012012-02-21 Joseph Myers <joseph@codesourcery.com>
35702
35703 [BZ #13695]
35704 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35705 [crti.S not in sysdirs] (generated): Do not append.
35706 [crti.S not in sysdirs] (omit-deps): Likewise.
35707 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35708 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35709 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35710 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35711 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35712 Likewise.
35713 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35714 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35715 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35716 * csu/defs.awk: Remove file.
35717 * sysdeps/generic/initfini.c: Likewise.
35718 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35719 variable.
35720 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35721 Likewise.
35722
357232012-02-20 Joseph Myers <joseph@codesourcery.com>
35724
35725 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35726 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35727 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35728 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35729 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35730 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35731 <bits/epoll.h>.
35732 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35733 (__EPOLL_PACKED): Define to empty if not defined by
35734 <bits/epoll.h>.
35735 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35737 bits/epoll.h.
35738
357392012-02-20 Joseph Myers <joseph@codesourcery.com>
35740
35741 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35742 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35743 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35744 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35745 <bits/timerfd.h>.
35746 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35748 bits/timerfd.h.
35749
357502012-02-20 Joseph Myers <joseph@codesourcery.com>
35751
35752 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35753 in C locale.
35754 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35755 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35756 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35758
357592012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35760
35761 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35762 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35763
357642012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35765
35766 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35767 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35768 defined.
35769 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35770 Likewise.
35771 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35772 entry for 2.16.
35773
357742012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35775
35776 * math/w_acos.c: Use non-signaling floating-point comparisons.
35777 * math/w_acosf.c: Likewise.
35778 * math/w_acosh.c: Likewise.
35779 * math/w_acoshf.c: Likewise.
35780 * math/w_acoshl.c: Likewise.
35781 * math/w_acosl.c: Likewise.
35782 * math/w_asin.c: Likewise.
35783 * math/w_asinf.c: Likewise.
35784 * math/w_asinl.c: Likewise.
35785 * math/w_atanh.c: Likewise.
35786 * math/w_atanhf.c: Likewise.
35787 * math/w_atanhl.c: Likewise.
35788 * math/w_exp2.c: Likewise.
35789 * math/w_exp2f.c: Likewise.
35790 * math/w_exp2l.c: Likewise.
35791 * math/w_j0.c: Likewise.
35792 * math/w_j0f.c: Likewise.
35793 * math/w_j0l.c: Likewise.
35794 * math/w_j1.c: Likewise.
35795 * math/w_j1f.c: Likewise.
35796 * math/w_j1l.c: Likewise.
35797 * math/w_jn.c: Likewise.
35798 * math/w_jnf.c: Likewise.
35799 * math/w_log.c: Likewise.
35800 * math/w_log10.c: Likewise.
35801 * math/w_log10f.c: Likewise.
35802 * math/w_log10l.c: Likewise.
35803 * math/w_log2.c: Likewise.
35804 * math/w_log2f.c: Likewise.
35805 * math/w_log2l.c: Likewise.
35806 * math/w_logf.c: Likewise.
35807 * math/w_logl.c: Likewise.
35808 * math/w_sqrt.c: Likewise.
35809 * math/w_sqrtf.c: Likewise.
35810 * math/w_sqrtl.c: Likewise.
35811 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35812 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35813 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35814 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35815 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35816
358172012-02-19 Joseph Myers <joseph@codesourcery.com>
35818
35819 [BZ #9739]
35820 * manual/string.texi (strnlen): Use correct parameter name in
35821 equivalent expression.
35822
358232012-02-19 Joseph Myers <joseph@codesourcery.com>
35824
35825 [BZ #11174]
35826 * manual/users.texi (seteuid): Consistently use neweuid for
35827 argument name.
35828
358292012-02-19 Joseph Myers <joseph@codesourcery.com>
35830
35831 [BZ #13704]
35832 * manual/nss.texi (Services in the NSS configuration): Correct
35833 list of services in example configuration file.
35834
358352012-02-19 Nick Bowler <nbowler@draconx.ca>
35836
35837 [BZ #11322]
35838 * manual/arith.texi: Remove statements about negative zero
35839 behaving identically to zero.
35840
358412012-02-18 Joseph Myers <joseph@codesourcery.com>
35842
35843 [BZ #5993]
35844 * manual/install.texi: Do not document upgrading from libc5.
35845
358462012-02-18 Joseph Myers <joseph@codesourcery.com>
35847
35848 [BZ #4596]
35849 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35850
358512012-02-18 David S. Miller <davem@davemloft.net>
35852
35853 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35854 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35855 %o7 across the call.
35856 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35857 instead.
35858 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35859 SETUP_PIC_REG_LEAF.
35860 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35861 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35862 * sysdeps/sparc/crtn.S: Likewise.
35863
358642012-02-17 Ulrich Drepper <drepper@gmail.com>
35865
35866 * aout/Makefile: Remove.
35867
358682012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35869
35870 [BZ #13058]
35871 * manual/examples/argp-ex1.c (main): Format definition in GNU
35872 style.
35873 * manual/examples/argp-ex2.c (main): Likewise.
35874 * manual/examples/argp-ex3.c (main): Likewise.
35875 * manual/examples/argp-ex4.c (main): Likewise.
35876 * manual/examples/longopt.c (main): Use new-style prototype
35877 definition.
35878 * manual/examples/strncat.c (main): Specify return type and use
35879 (void) for arguments.
35880 * manual/examples/subopt.c (main): Use char **argv argument.
35881
358822012-02-17 Joseph Myers <joseph@codesourcery.com>
35883
35884 [BZ #5077]
35885 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35886 rounding modes.
35887
358882012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35889
35890 [BZ #6907]
35891 * manual/string.texi (strchr): Change when strchrnul is
35892 recommended.
35893
358942012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35895
35896 [BZ #174]
35897 * manual/locale.texi (setlocale): Document LOCPATH.
35898
358992012-02-17 Joseph Myers <joseph@codesourcery.com>
35900
35901 [BZ #10210]
35902 * manual/process.texi (execle): Move @dots{} before last argument.
35903
359042012-02-17 Paul Bolle <pebolle@tiscali.nl>
35905
35906 [BZ #12047]
35907 * manual/charset.texi (Generic Charset Conversion): Fix typo
35908 (LC_TYPE -> LC_CTYPE).
35909
359102012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35911
35912 [BZ #5805]
35913 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35914 (scalbnf): Likewise.
35915 (scalbnl): Likewise.
35916 (scalbln): Likewise.
35917 (scalblnf): Likewise.
35918 (scalblnl): Likewise.
35919 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35920 (vwarnx): Likewise.
35921 (verr): Likewise.
35922 (verrx): Likewise.
35923 * manual/filesys.texi (telldir): Use braces around return type.
35924 * manual/llio.texi (mmap): Add space after comma.
35925 (mmap64): Likewise.
35926 * manual/math.texi (jn): Use @var{} on parameter names.
35927 (jnf): Likewise.
35928 (jnl): Likewise.
35929 (yn): Likewise.
35930 (ynf): Likewise.
35931 (ynl): Likewise.
35932 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35933 line.
35934 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35935 "...".
35936 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35937 (sched_get_priority_max): Likewise.
35938 * manual/signal.texi (sigvec): Add space after comma.
35939 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35940 names.
35941 (if_indextoname): Likewise.
35942 (if_freenameindex): Likewise.
35943 (sendto): Use ',' instead of '.' in prototype.
35944 * manual/startup.texi (syscall): Use @dots{} instead of literal
35945 "...".
35946 * manual/stdio.texi (__fpending): Separate initial words of
35947 paragraph from @deftypefun line.
35948 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35949 "...".
35950 (vsyslog): Use @var{} on parameter names.
35951 * manual/terminal.texi (stty): Use @var{} on parameter names.
35952 * manual/users.texi (getutmp): Use @var{} on parameter names.
35953 (getutmpx): Likewise.
35954
359552012-02-17 Joseph Myers <joseph@codesourcery.com>
35956
35957 [BZ #6884]
35958 * manual/stdio.texi (fopen): Fix typos in description of
35959 ",ccs=STRING".
35960
359612012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35962
35963 [BZ #4026]
35964 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35965 get clock_id definition.
35966
359672012-02-17 Thomas Schwinge <thomas@schwinge.name>
35968
35969 [BZ #4822]
35970 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35971 (madvise): Cast every argument to void on its own.
35972
359732012-02-17 Joseph Myers <joseph@codesourcery.com>
35974
35975 [BZ #9902]
35976 * manual/startup.texi (Exit Status): Fix typo.
35977
359782012-02-17 Joseph Myers <joseph@codesourcery.com>
35979
35980 [BZ #10140]
35981 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35982 * manual/examples/argp-ex2.c: Likewise.
35983 * manual/examples/argp-ex3.c: Likewise.
35984
359852012-02-16 Richard Henderson <rth@redhat.com>
35986
35987 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35988 * sysdeps/s390/s390-32/initfini.c: Remove.
35989 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35990 * sysdeps/s390/s390-64/initfini.c: Remove.
35991
359922012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35993
35994 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35995 compiler output for sysdeps/generic/initfini.c.
35996 * sysdeps/sh/elf/initfini.c: Remove file.
35997
359982012-02-16 David S. Miller <davem@davemloft.net>
35999
36000 [BZ #11494]
36001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36002
36003 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36004 * sysdeps/sparc/crti.S: New file.
36005 * sysdeps/sparc/crtn.S: New file.
36006 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36007 * sysdeps/sparc/sparc64/Makefile: Likewise.
36008
360092012-02-15 Mike Frysinger <vapier@gentoo.org>
36010
36011 [BZ #3335]
36012 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36013
360142012-02-15 Roland McGrath <roland@hack.frob.com>
36015
36016 [BZ #4822]
36017 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36018
36019 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36020 (write, read, close): Likewise.
36021 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36022
360232012-02-15 Joseph Myers <joseph@codesourcery.com>
36024
36025 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36026 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36027 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36028 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36029 <bits/signalfd.h>.
36030 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36032 bits/signalfd.h.
36033
360342012-02-14 Marek Polacek <polacek@redhat.com>
36035
36036 * sysdeps/x86_64/crti.S: New file.
36037 * sysdeps/x86_64/crtn.S: New file.
36038 * sysdeps/x86_64/elf/initfini.c: Remove file.
36039
360402012-02-13 Joseph Myers <joseph@codesourcery.com>
36041
36042 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36043 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36044 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36045 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36046 <bits/inotify.h>.
36047 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36049 bits/inotify.h.
36050
360512012-02-13 Joseph Myers <joseph@codesourcery.com>
36052
36053 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36054 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36055 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36056 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36057 <bits/eventfd.h>.
36058 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36059 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36060 bits/eventfd.h.
36061
360622012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36063
36064 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36065 __feraiseexcept instead of feraiseexcept.
36066
36067 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36068 nanosleep invocations.
36069 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36070 strings, and add error checking for a nanosleep invocations.
36071
360722012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36073
36074 Replace FSF snail mail address with URLs, as per GNU coding standards.
36075 Most of the snail mail addresses were wrong anyway, and omitting
36076 them makes the source code easier to maintain. Almost all of the
36077 changes are to license notices and to locale LC_IDENTIFICATION
36078 addresses, except for this one:
36079 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36080 not its snail mail address.
36081
360822012-02-09 Richard Henderson <rth@twiddle.net>
36083
36084 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36085 of kernel-features.h.
36086
36087 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36088
360892012-02-08 Marek Polacek <polacek@redhat.com>
36090
36091 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36092 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36093 * sysdeps/gnu/_G_config.h: Likewise.
36094 * sysdeps/generic/_G_config.h: Likewise.
36095
360962012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36097
36098 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36099 tests.
36100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36101
36102 * sysdeps/powerpc/powerpc32/crti.S: New file.
36103 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36104 * sysdeps/powerpc/powerpc64/crti.S: New file.
36105 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36106
36107 * Makeconfig (have-initfini): Don't set.
36108 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36109 * configure.in (nopic_initfini): Don't substitute.
36110 * config.h.in (HAVE_INITFINI): Don't #undef.
36111 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36112 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36113
361142012-02-08 Joseph Myers <joseph@codesourcery.com>
36115
36116 Support crti.S and crtn.S provided directly by architectures.
36117 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36118 [crti.S in sysdirs] (omit-deps): Likewise.
36119 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36120 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36121 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36122 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36123 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36124 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36125 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36126 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36127 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36128 compiler output for sysdeps/generic/initfini.c.
36129 * sysdeps/i386/elf/Makefile: Remove file.
36130 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36131
361322012-02-07 Marek Polacek <polacek@redhat.com>
36133
36134 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36135 * sysdeps/gnu/_G_config.h: Likewise.
36136 * sysdeps/mach/hurd/_G_config.h: Likewise.
36137
361382012-02-07 Marek Polacek <polacek@redhat.com>
36139
36140 * math/Makefile (tests): Add tst-CMPLX2.
36141 * math/tst-CMPLX2.c: New file.
36142
361432012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36144
36145 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36146
36147 * math/libm-test.inc (jn_test): Add missing L suffix.
36148
361492012-02-06 Marek Polacek <polacek@redhat.com>
36150
36151 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36152 * sysdeps/i386/fpu/e_powf.S: Likewise.
36153 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36154 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36155 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36156 * sysdeps/i386/fpu/e_pow.S: Likewise.
36157 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36158 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36159 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36160 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36161 * sysdeps/i386/fpu/e_log2.S: Likewise.
36162 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36163 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36164 * sysdeps/i386/fpu/e_powl.S: Likewise.
36165 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36166 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36167 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36168 * sysdeps/i386/fpu/e_logl.S: Likewise.
36169 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36170 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36171 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36172 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36173 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36174 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36175 * sysdeps/i386/fpu/e_log.S: Likewise.
36176 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36177 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36178 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36179 * sysdeps/i386/fpu/e_logf.S: Likewise.
36180 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36181 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36182 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36183 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36184 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36185 * sysdeps/i386/fpu/e_log10.S: Likewise.
36186 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36187 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36188 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36189 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36190 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36191 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36192 * sysdeps/i386/asm-syntax.h: Likewise.
36193 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36194 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36195 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36196 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36197 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36198 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36199 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36200 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36201 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36202 * sysdeps/powerpc/sysdep.h: Likewise.
36203 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36204 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36205
362062012-02-06 Joseph Myers <joseph@codesourcery.com>
36207
36208 [BZ #411]
36209 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36210
362112012-02-06 Joseph Myers <joseph@codesourcery.com>
36212
36213 * sysdeps/i386/sysdep.h: Include <features.h>.
36214 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36215 version.
36216
362172012-02-05 Joseph Myers <joseph@codesourcery.com>
36218
36219 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36220 Define.
36221 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36222 LOAD_PIC_REG_STR.
36223
362242012-02-03 Joseph Myers <joseph@codesourcery.com>
36225
36226 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36227 (SETUP_PIC_REG): Use GET_PC_THUNK.
36228 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36229 macro.
36230
362312012-02-03 Joseph Myers <joseph@codesourcery.com>
36232
36233 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36234 for non-PIC compilation.
36235 (SETUP_PIC_REG): Add .p2align directive.
36236 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36237 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36238 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36239 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36240 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36241 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36242 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36243 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36244 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36245 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36246 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36247 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36248 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36249 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36250 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36251 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36252 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36253 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36254 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36255 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36256 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36257 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36258 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36259 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36260 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36261 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36262 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36263 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36264 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36265 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36266 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36267 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36268 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36269 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36270 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36271 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36272 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36273 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36274 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36275 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36276 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36277
362782012-02-03 Joseph Myers <joseph@codesourcery.com>
36279
36280 * math/tst-CMPLX.c: Include <stdio.h>.
36281
362822012-01-31 Joseph Myers <joseph@codesourcery.com>
36283
36284 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36285 float.
36286 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36287 * sysdeps/sparc/bits/mathdef.h: Likewise.
36288
362892012-01-31 Marek Polacek <polacek@redhat.com>
36290
36291 * libio/libio.h: Don't define _PARAMS.
36292 * locale/programs/config.h: Don't define PARAMS.
36293 * stdlib/strtol_l.c: Likewise.
36294 (__strtol_l): Remove PARAMS from the prototype.
36295
362962012-01-31 Ulrich Drepper <drepper@gmail.com>
36297
36298 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36299 names. Just use the correct names. Remove unnecessary wrapper
36300 functions.
36301 * malloc/arena.c: Likewise.
36302 * malloc/hooks.c: Likewise.
36303
36304 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36305 ARENA_TEST says not to. Simplify test for creation of a new arena.
36306 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36307
363082012-01-30 Ulrich Drepper <drepper@gmail.com>
36309
36310 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36311 into tail calls.
36312 (update_get_addr): New function.
36313 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36314 GET_ADDR_MODULE parameter.
36315
363162012-01-30 Joseph Myers <joseph@codesourcery.com>
36317
36318 * crypt/cert.c: Remove __STDC__ conditionals.
36319 * crypt/crypt-entry.c: Likewise.
36320 * crypt/crypt_util.c: Likewise.
36321 * libio/filedoalloc.c: Likewise.
36322 * libio/fileops.c: Likewise.
36323 * libio/genops.c: Likewise.
36324 * libio/iofclose.c: Likewise.
36325 * libio/iofdopen.c: Likewise.
36326 * libio/iofopen.c: Likewise.
36327 * libio/iofopen64.c: Likewise.
36328 * libio/iogetdelim.c: Likewise.
36329 * libio/iopopen.c: Likewise.
36330 * libio/obprintf.c: Likewise.
36331 * libio/oldfileops.c: Likewise.
36332 * libio/oldiofclose.c: Likewise.
36333 * libio/oldiofdopen.c: Likewise.
36334 * libio/oldiofopen.c: Likewise.
36335 * libio/oldiopopen.c: Likewise.
36336 * libio/wfiledoalloc.c: Likewise.
36337 * libio/wgenops.c: Likewise.
36338 * locale/programs/xmalloc.c: Likewise.
36339 * misc/syslog.c: Likewise.
36340 * stdio-common/xbug.c: Likewise.
36341 * string/memchr.c: Likewise.
36342 * string/memcmp.c: Likewise.
36343 * string/memrchr.c: Likewise.
36344 * string/rawmemchr.c: Likewise.
36345 * sysdeps/posix/getcwd.c: Likewise.
36346 * time/strftime_l.c: Likewise.
36347
363482012-01-30 Joseph Myers <joseph@codesourcery.com>
36349
36350 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36351 * config.make.in (config-cflags-sse2avx): Define.
36352 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36353 Fix typo.
36354
363552012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36356
36357 * scripts/config.guess: Update from upstream config git repository.
36358 * scripts/config.sub: Likewise.
36359
363602012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36361
36362 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36363 (EM_NUM): Update.
36364 (R_TILEPRO_*, R_TILEGX_*): New macros.
36365
36366 * scripts/firstversions.awk: Fix bug in version range handling.
36367
36368 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36369
36370 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36371
36372 * include/sys/epoll.h: New file.
36373 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36374 libc_hidden_def.
36375
363762012-01-28 Ulrich Drepper <drepper@gmail.com>
36377
36378 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36379 Avoid unnecessary __WORDSIZE == 64 test.
36380 (fmaxf): Use VEX format if possible.
36381 (fmax): Likewise.
36382 (fminf): Likewise.
36383 (fmin): Likewise.
36384
36385 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36386 * math/math_private.h: Remove libc_fegetround* and
36387 libc_fesetround*.
36388 * sysdeps/i386/configure.in: Check for -msse2avx.
36389 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36390 also if SSE2AVX is defined.
36391 Remove libc_fegetround* and libc_fesetround*.
36392 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36393 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36394 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36395 of HAS_YMM_USABLE.
36396 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36397 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36398 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36399 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36400 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36401
36402 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36403
364042012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36405
36406 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36407 size is not set.
36408 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36409
364102012-01-27 Ulrich Drepper <drepper@gmail.com>
36411
36412 [BZ #13618]
36413 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36414 relocation.
36415 * Makeconfig (libm): Define.
36416 * elf/Makefile: Add rules to build and run tst-relsort1.
36417 * elf/tst-relsort1.c: New file.
36418 * elf/tst-relsort1mod1.c: New file.
36419 * elf/tst-relsort1mod2.c: New file.
36420
364212012-01-27 Joseph Myers <joseph@codesourcery.com>
36422
36423 * math/s_ldexp.c: Remove __STDC__ conditionals.
36424 * math/s_ldexpf.c: Likewise.
36425 * math/s_ldexpl.c: Likewise.
36426 * math/s_nextafter.c: Likewise.
36427 * math/s_nexttowardf.c: Likewise.
36428 * math/s_significand.c: Likewise.
36429 * math/s_significandf.c: Likewise.
36430 * math/s_significandl.c: Likewise.
36431 * math/w_jnl.c: Likewise.
36432 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36433 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36434 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36435 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36436 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36437 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36438 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36439 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36440 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36441 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36442 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36443 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36444 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36445 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36446 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36447 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36448 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36449 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36450 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36451 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36452 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36453 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36454 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36455 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36456 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36457 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36458 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36459 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36460 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36461 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36462 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36463 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36464 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36465 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36466 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36467 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36468 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36469 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36470 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36471 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36472 * sysdeps/ieee754/k_standard.c: Likewise.
36473 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36474 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36475 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36476 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36477 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36478 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36479 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36480 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36481 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36482 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36483 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36484 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36485 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36486 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36487 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36488 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36489 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36490 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36491 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36492 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36493 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36494 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36495 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36496 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36497 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36498 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36499 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36500 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36502 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36503 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36504 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36505 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36506 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36507 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36508 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36509 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36510 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36511 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36512 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36513 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36515 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36516 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36517 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36518 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36519 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36520 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36521 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36522 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36523 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36524 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36525 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36526 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36527 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36528 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36529 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36530 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36531 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36532 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36533 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36534 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36535 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36536 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36537 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36538 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36539 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36540 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36541 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36542 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36543 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36544 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36545 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36546 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36547 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36548 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36549 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36550 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36551 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36552 * sysdeps/ieee754/s_matherr.c: Likewise.
36553 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36554 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36555 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36556 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36557
365582012-01-26 Joseph Myers <joseph@codesourcery.com>
36559
36560 * crypt/md5.h: Remove __STDC__ conditionals.
36561 * libio/libioP.h: Likewise.
36562 * locale/programs/config.h: Likewise.
36563 * sysdeps/generic/sysdep.h: Likewise.
36564 * sysdeps/i386/asm-syntax.h: Likewise.
36565 * sysdeps/s390/asm-syntax.h: Likewise.
36566 * sysdeps/unix/sysdep.h: Likewise.
36567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36569
365702012-01-26 Joseph Myers <joseph@codesourcery.com>
36571
36572 * libio/libio.h: Remove __STDC__ conditionals.
36573 * malloc/obstack.h: Likewise.
36574 * math/complex.h: Likewise.
36575 * math/math.h: Likewise.
36576 * sysdeps/generic/_G_config.h: Likewise.
36577 * sysdeps/gnu/_G_config.h: Likewise.
36578 * sysdeps/mach/hurd/_G_config.h: Likewise.
36579 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36580 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36581 * sysdeps/sparc/bits/mathdef.h: Likewise.
36582
365832012-01-26 Ulrich Drepper <drepper@gmail.com>
36584
36585 [BZ #13583]
36586 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36587 Clean up HAS_* macros.
36588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36589 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36590 possible.
36591 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36592 HAS_AVX.
36593 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36594 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36595 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36596 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36597 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36598
365992012-01-25 Joseph Myers <joseph@codesourcery.com>
36600
36601 * elf/tst-unique3.cc (gets): Remove declaration.
36602 * elf/tst-unique3lib.cc (gets): Likewise.
36603 * elf/tst-unique3lib2.cc (gets): Likewise.
36604 * elf/tst-unique4.cc (gets): Likewise.
36605
366062012-01-24 Ulrich Drepper <drepper@gmail.com>
36607
36608 * include/stdio.h: Add C++ protection. Add gets declarations and
36609 definitions.
36610 * debug/tst-chk1.c: Don't declare gets here.
36611 * stdio-common/tst-gets.c: Likewise.
36612
366132012-01-24 Joseph Myers <joseph@codesourcery.com>
36614
36615 * posix/glob: Remove directory.
36616
366172012-01-24 Joseph Myers <joseph@codesourcery.com>
36618
36619 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36620
366212012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36622
36623 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36624 of the non-standard EPFNOSUPPORT.
36625
366262011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36627
36628 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36629 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36630 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36631
366322012-01-21 Ulrich Drepper <drepper@gmail.com>
36633
36634 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36635
366362012-01-20 Ulrich Drepper <drepper@gmail.com>
36637
36638 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36639 transient errors.
36640 * nscd/grpcache.c (cache_addgr): Likewise.
36641 * nscd/hstcache.c (cache_addhst): Likewise.
36642 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36643 * nscd/pwdcache.c (cache_addpw): Likewise.
36644 * nscd/servicescache.c (cache_addserv): Likewise.
36645
366462012-01-16 Ulrich Drepper <drepper@gmail.com>
36647
36648 * malloc/malloc.c: Various cleanups.
36649 * malloc/hooks.c: Likewise.
36650
36651 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36652 * stdlib/bug-fmtmsg1.c: New file.
36653
36654 * stdlib/fmtmsg.c (init): Add missing unlock.
36655 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36656
366572012-01-12 Marek Polacek <polacek@redhat.com>
36658
36659 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36660 and _GNU_SOURCE.
36661
366622012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36663
36664 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36665 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36666 macro to ensure uniqueness of label name.
36667 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36668 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36669
366702012-01-11 Ulrich Drepper <drepper@gmail.com>
36671
36672 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36673
36674 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36675 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36676 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36678
366792012-01-10 Ulrich Drepper <drepper@gmail.com>
36680
36681 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36682
36683 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36684 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36685 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36686
36687 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36688
36689 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36690 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36691 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36692 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36693
36694 * math/bits/math-finite.h: Add ldexp support.
36695
366962012-01-10 Marek Polacek <polacek@redhat.com>
36697
36698 * locale/programs/localedef.h (show_archive_content): Add noreturn
36699 attribute.
36700
367012012-01-09 Ulrich Drepper <drepper@gmail.com>
36702
36703 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36704
367052012-01-08 Ulrich Drepper <drepper@gmail.com>
36706
36707 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36708
36709 * io/Makefile (headers): Add bits/poll2.h.
36710
367112011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36712
36713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36714 typo #include statement.
36715
367162012-01-08 Ulrich Drepper <drepper@gmail.com>
36717
36718 * include/sys/cdefs.h: Define __attribute_alloc_size.
36719 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36720 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36721 * elf/pldd.c: Likewise.
36722 * iconv/iconv_charmap.c: Likewise.
36723 * iconv/iconvconfig.c: Likewise.
36724 * iconv/strtab.c: Likewise.
36725 * locale/programs/locale.c: Likewise.
36726 * locale/programs/localedef.h: Likewise.
36727 * locale/programs/simple-hash.c: Likewise.
36728 * nscd/nscd.h: Likewise.
36729 * nss/makedb.c: Likewise.
36730 * sysdeps/generic/ldconfig.h: Likewise.
36731 * locale/programs/localedef.c: Remove xmalloc prototype.
36732 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36733
367342012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36735
36736 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36737 appropriate.
36738
367392012-01-08 Ulrich Drepper <drepper@gmail.com>
36740
36741 * math/Makefile (tests): Add tst-CMPLX.
36742 * math/tst-CMPLX.c: New file.
36743
36744 * math/complex.h (CMPLXL): Fix typo.
36745
36746 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36747 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36748 GLIBC_2.16.
36749 * debug/tst-chk1.c: Add poll and ppoll tests.
36750 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36751 * include/sys/poll.h: Add hidden proto for ppoll.
36752 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36753 * sysdeps/mach/hurd/ppoll.c: Likewise.
36754 * io/ppoll.c: Likewise.
36755 * debug/poll_chk.c: New file.
36756 * debug/ppoll_chk.c: New file.
36757 * include/bits/poll2.h: New file.
36758 * io/bits/poll2.h: New file.
36759
36760 [BZ #1350]
36761 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36762
36763 * configure.in: static is always set to yes. Remove.
36764 * config.make.in: Don't set build-static.
36765 * Makeconfig: Remove use of build-static.
36766 * dlfcn/Makefile: Likewise.
36767 * elf/Makefile: Likewise.
36768 * math/Makefile: Likewise.
36769 * misc/Makefile: Likewise.
36770 * nptl/Makefile: Likewise.
36771 * sysdeps/mach/hurd/Makefile: Likewise.
36772
36773 * configure.in: PWD_P is not used anymore.
36774 * config.make.in: Remove PWD_P entry.
36775
36776 * configure.in: Remove last remnants of RANLIB.
36777 No need to check for signed size_t anymore.
36778 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36779 and IA-64.
36780 Remove __builtin_expect test because we require at least gcc 3.4.
36781 * aclocal.m4: Likewise.
36782
36783 * wcsmbs/mbrtoc16.c: Implement using towc function.
36784 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36785 * wcsmbs/wcsmbsload.c: Likewise.
36786 * iconv/gconv_simple.c: Likewise.
36787 * iconv/gconv_int.h: Likewise.
36788 * iconv/gconv_builtin.h: Likewise.
36789 * iconv/iconv_prog.c: Remove CHAR16 handling.
36790
36791 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36792
36793 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36794
36795 * configure.in: Remove --with-elf and --enable-bounded options.
36796 Dont set base_machine for ia64. More non-ELF conditions removed.
36797 Remove testing and setting of leading underscore information.
36798 * config.make.in (build-bounded): Set to no.
36799 * config.h.in: Remove NO_UNDERSCORES entry.
36800 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36801 them.
36802 * csu/start.c: Remove !NO_UNDERSCORE code.
36803 * locale/localeinfo.h: Likewise.
36804 * sysdeps/generic/machine-gmon.h: Likewise.
36805 * sysdeps/generic/sysdep.h: Likewise.
36806 * sysdeps/i386/sysdep.h: Likewise.
36807 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36808 * sysdeps/mach/sysdep.h: Likewise.
36809 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36810 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36811 * sysdeps/sh/sysdep.h: Likewise.
36812 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36813 * sysdeps/unix/i386/sysdep.S: Likewise.
36814 * sysdeps/unix/sparc/start.c: Likewise.
36815 * sysdeps/unix/sparc/sysdep.S: Likewise.
36816 * sysdeps/unix/sparc/sysdep.h: Likewise.
36817 * sysdeps/unix/start.c: Likewise.
36818 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36819 * sysdeps/x86_64/sysdep.h: Likewise.
36820
368212012-01-07 Ulrich Drepper <drepper@gmail.com>
36822
36823 [BZ #13553]
36824 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36825 for non-gcc.
36826 * argp/argp-fmtstream.h: Use const instead __const.
36827 * argp/argp.h: Likewise.
36828 * assert/assert.h: Likewise.
36829 * bits/fenv.h: Likewise.
36830 * bits/sched.h: Likewise.
36831 * bits/sigset.h: Likewise.
36832 * bits/sigthread.h: Likewise.
36833 * catgets/nl_types.h: Likewise.
36834 * conform/data/pthread.h-data: Likewise.
36835 * crypt/crypt-private.h: Likewise.
36836 * crypt/crypt.h: Likewise.
36837 * crypt/crypt_util.c: Likewise.
36838 * ctype/ctype.h: Likewise.
36839 * debug/execinfo.h: Likewise.
36840 * debug/mbsnrtowcs_chk.c: Likewise.
36841 * debug/mbsrtowcs_chk.c: Likewise.
36842 * debug/wcsnrtombs_chk.c: Likewise.
36843 * debug/wcsrtombs_chk.c: Likewise.
36844 * debug/wcstombs_chk.c: Likewise.
36845 * dirent/dirent.h: Likewise.
36846 * dlfcn/dlfcn.h: Likewise.
36847 * elf/neededtest4.c: Likewise.
36848 * grp/grp.h: Likewise.
36849 * gshadow/gshadow.h: Likewise.
36850 * iconv/gconv.h: Likewise.
36851 * iconv/gconv_int.h: Likewise.
36852 * iconv/gconv_simple.c: Likewise.
36853 * iconv/iconv.h: Likewise.
36854 * iconv/loop.c: Likewise.
36855 * iconv/skeleton.c: Likewise.
36856 * include/aio.h: Likewise.
36857 * include/aliases.h: Likewise.
36858 * include/argz.h: Likewise.
36859 * include/arpa/inet.h: Likewise.
36860 * include/assert.h: Likewise.
36861 * include/dirent.h: Likewise.
36862 * include/dlfcn.h: Likewise.
36863 * include/execinfo.h: Likewise.
36864 * include/fcntl.h: Likewise.
36865 * include/fenv.h: Likewise.
36866 * include/glob.h: Likewise.
36867 * include/grp.h: Likewise.
36868 * include/libintl.h: Likewise.
36869 * include/mntent.h: Likewise.
36870 * include/netdb.h: Likewise.
36871 * include/pwd.h: Likewise.
36872 * include/rpc/netdb.h: Likewise.
36873 * include/sched.h: Likewise.
36874 * include/search.h: Likewise.
36875 * include/shadow.h: Likewise.
36876 * include/signal.h: Likewise.
36877 * include/stdio.h: Likewise.
36878 * include/stdlib.h: Likewise.
36879 * include/string.h: Likewise.
36880 * include/sys/socket.h: Likewise.
36881 * include/sys/stat.h: Likewise.
36882 * include/sys/statfs.h: Likewise.
36883 * include/sys/statvfs.h: Likewise.
36884 * include/sys/syslog.h: Likewise.
36885 * include/sys/time.h: Likewise.
36886 * include/sys/uio.h: Likewise.
36887 * include/time.h: Likewise.
36888 * include/unistd.h: Likewise.
36889 * include/utmp.h: Likewise.
36890 * include/wchar.h: Likewise.
36891 * include/wctype.h: Likewise.
36892 * inet/aliases.h: Likewise.
36893 * inet/arpa/inet.h: Likewise.
36894 * inet/netinet/ether.h: Likewise.
36895 * inet/netinet/in.h: Likewise.
36896 * intl/libintl.h: Likewise.
36897 * io/bits/fcntl2.h: Likewise.
36898 * io/fcntl.h: Likewise.
36899 * io/ftw.h: Likewise.
36900 * io/sys/poll.h: Likewise.
36901 * io/sys/stat.h: Likewise.
36902 * io/sys/statfs.h: Likewise.
36903 * io/sys/statvfs.h: Likewise.
36904 * io/utime.h: Likewise.
36905 * libio/bits/stdio.h: Likewise.
36906 * libio/bits/stdio2.h: Likewise.
36907 * libio/libio.h: Likewise.
36908 * libio/libioP.h: Likewise.
36909 * libio/stdio.h: Likewise.
36910 * locale/lc-ctype.c: Likewise.
36911 * locale/locale.h: Likewise.
36912 * login/utmp.h: Likewise.
36913 * malloc/arena.c: Likewise.
36914 * malloc/malloc.c: Likewise.
36915 * malloc/malloc.h: Likewise.
36916 * malloc/mcheck.c: Likewise.
36917 * malloc/mtrace.c: Likewise.
36918 * math/bits/mathcalls.h: Likewise.
36919 * math/fenv.h: Likewise.
36920 * math/math_private.h: Likewise.
36921 * misc/bits/error.h: Likewise.
36922 * misc/bits/syslog.h: Likewise.
36923 * misc/err.h: Likewise.
36924 * misc/error.h: Likewise.
36925 * misc/fstab.h: Likewise.
36926 * misc/mntent.h: Likewise.
36927 * misc/regexp.h: Likewise.
36928 * misc/search.h: Likewise.
36929 * misc/sgtty.h: Likewise.
36930 * misc/sys/mman.h: Likewise.
36931 * misc/sys/syslog.h: Likewise.
36932 * misc/sys/uio.h: Likewise.
36933 * misc/sys/xattr.h: Likewise.
36934 * misc/ttyent.h: Likewise.
36935 * nis/rpcsvc/ypclnt.h: Likewise.
36936 * nss/nss.h: Likewise.
36937 * posix/bits/unistd.h: Likewise.
36938 * posix/fnmatch.h: Likewise.
36939 * posix/glob.h: Likewise.
36940 * posix/sched.h: Likewise.
36941 * posix/spawn.h: Likewise.
36942 * posix/sys/wait.h: Likewise.
36943 * posix/unistd.h: Likewise.
36944 * posix/wordexp.h: Likewise.
36945 * pwd/pwd.h: Likewise.
36946 * resolv/netdb.h: Likewise.
36947 * resource/sys/resource.h: Likewise.
36948 * rt/aio.h: Likewise.
36949 * rt/bits/mqueue2.h: Likewise.
36950 * rt/mqueue.h: Likewise.
36951 * shadow/shadow.h: Likewise.
36952 * signal/signal.h: Likewise.
36953 * socket/send.c: Likewise.
36954 * socket/sendto.c: Likewise.
36955 * socket/sys/socket.h: Likewise.
36956 * stdio-common/printf.h: Likewise.
36957 * stdlib/bits/stdlib.h: Likewise.
36958 * stdlib/fmtmsg.h: Likewise.
36959 * stdlib/monetary.h: Likewise.
36960 * stdlib/stdlib.h: Likewise.
36961 * stdlib/ucontext.h: Likewise.
36962 * streams/stropts.h: Likewise.
36963 * string/argz.h: Likewise.
36964 * string/bits/string2.h: Likewise.
36965 * string/string.h: Likewise.
36966 * string/strings.h: Likewise.
36967 * sunrpc/rpc/auth.h: Likewise.
36968 * sunrpc/rpc/auth_des.h: Likewise.
36969 * sunrpc/rpc/clnt.h: Likewise.
36970 * sunrpc/rpc/netdb.h: Likewise.
36971 * sunrpc/rpc/pmap_clnt.h: Likewise.
36972 * sunrpc/rpc/xdr.h: Likewise.
36973 * sysdeps/generic/inttypes.h: Likewise.
36974 * sysdeps/generic/net/if.h: Likewise.
36975 * sysdeps/generic/sys/swap.h: Likewise.
36976 * sysdeps/gnu/net/if.h: Likewise.
36977 * sysdeps/gnu/utmpx.h: Likewise.
36978 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36979 * sysdeps/i386/i486/bits/string.h: Likewise.
36980 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36981 * sysdeps/s390/bits/string.h: Likewise.
36982 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36983 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36984 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36985 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36986 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36987 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36988 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36989 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36990 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36991 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36992 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36993 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36994 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36995 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36996 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36997 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36998 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36999 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37000 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37001 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37002 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37003 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37004 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37005 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37006 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37007 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37008 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37009 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37010 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37011 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37012 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37013 * sysvipc/sys/ipc.h: Likewise.
37014 * sysvipc/sys/msg.h: Likewise.
37015 * sysvipc/sys/sem.h: Likewise.
37016 * sysvipc/sys/shm.h: Likewise.
37017 * termios/termios.h: Likewise.
37018 * time/sys/time.h: Likewise.
37019 * time/time.h: Likewise.
37020 * wcsmbs/bits/wchar2.h: Likewise.
37021 * wcsmbs/uchar.h: Likewise.
37022 * wcsmbs/wchar.h: Likewise.
37023 * wctype/wctype.h: Likewise.
37024
37025 [BZ #13551]
37026 * Makeconfig: Remove all but ELF support including AIX support.
37027 * Makerules: Likewise.
37028 * config.h.in: Likewise.
37029 * config.make.in: Likewise.
37030 * configure: Likewise.
37031 * configure.in: Likewise.
37032 * csu/Makefile: Likewise.
37033 * csu/version.c: Likewise.
37034 * debug/Makefile: Likewise.
37035 * dlfcn/Makefile: Likewise.
37036 * elf/Makefile: Likewise.
37037 * extra-lib.mk: Likewise.
37038 * iconv/Makefile: Likewise.
37039 * include/libc-symbols.h: Likewise.
37040 * include/shlib-compat.h: Likewise.
37041 * resolv/Makefile: Likewise.
37042 * resolv/res_libc.c: Likewise.
37043 * rt/Makefile: Likewise.
37044 * sysdeps/i386/asm-syntax.h: Likewise.
37045 * sysdeps/i386/sysdep.h: Likewise.
37046 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37047 * sysdeps/mach/sysdep.h: Likewise.
37048 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37049 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37050 * sysdeps/s390/asm-syntax.h: Likewise.
37051 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37052 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37053 * sysdeps/sh/sysdep.h: Likewise.
37054 * sysdeps/unix/sparc/sysdep.h: Likewise.
37055 * sysdeps/wordsize-32/divdi3.c: Likewise.
37056 * sysdeps/x86_64/sysdep.h: Likewise.
37057
37058 * argp/Versions: Remove _argp_unlock_xxx.
37059
37060 [BZ #13559]
37061 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37062 * abilist/libBrokenLocale.abilist: Likewise.
37063 * abilist/libanl.abilist: Likewise.
37064 * abilist/libc.abilist: Likewise.
37065 * abilist/libcrypt.abilist: Likewise.
37066 * abilist/libdl.abilist: Likewise.
37067 * abilist/libm.abilist: Likewise.
37068 * abilist/libnsl.abilist: Likewise.
37069 * abilist/libpthread.abilist: Likewise.
37070 * abilist/libresolv.abilist: Likewise.
37071 * abilist/librt.abilist: Likewise.
37072 * abilist/libthread_db.abilist: Likewise.
37073 * abilist/libutil.abilist: Likewise.
37074 * abilist/libnss_db.abilist: New file.
37075
37076 * scripts/abilist.awk: Add support for indirect functions.
37077
37078 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37079
37080 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37081
37082 * shlib-versions: Remove entries for ports architectures.
37083
37084 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37085 files in ports.
37086 * elf/stackguard-macros.h: Remove support for IA-64.
37087 * elf/tst-auditmod1.c: Likewise.
37088 * sysdeps/generic/ldsodefs.h: Likewise.
37089
37090 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37091 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37092 configure files.
37093
37094 [BZ #13552]
37095 * configure.in: Remove --enable-omitfp support.
37096 * FAQ.in: Adjust.
37097 * config.make.in: Likewise.
37098 * Makeconfig: Likewise.
37099 * manual/install.texi: Likewise.
37100
37101 In case anyone cares, the IA-64 architecture could move to ports.
37102 * sysdeps/ia64/*: Removed.
37103 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37104 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37105
37106 [BZ #13555]
37107 * configure.in: Remove entries for unsupported architectures.
37108
37109 [BZ #13533]
37110 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37111 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37112 routines.
37113 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37114 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37115 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37116 fall back to using wcrtomb.
37117 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37118 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37119 renaming.
37120 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37121 * wcsmbs/tst-c16c32-1.c: New file.
37122
37123 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37124 local variable.
37125
37126 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37127
37128 * elf/tst-unique3.cc: Add explicit declaration of gets.
37129 * elf/tst-unique3lib.cc: Likewise.
37130 * elf/tst-unique3lib2.cc: Likewise.
37131 * elf/tst-unique4.cc: Likewise.
37132
37133 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37134
371352012-01-06 Joseph Myers <joseph@codesourcery.com>
37136
37137 [BZ #13566]
37138 * assert/assert.h (static_assert): Don't define for C++.
37139 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37140 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37141
371422012-01-03 Ulrich Drepper <drepper@gmail.com>
37143
37144 * iconv/loop.c (single loop): Fix assertion in storing of
37145 remaining bytes.
37146
37147 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37148
371492012-01-01 Ulrich Drepper <drepper@gmail.com>
37150
37151 * posix/getconf.c: Update copyright year.
37152 * nss/getent.c: Likewise.
37153 * nss/makedb.c: Likewise.
37154 * iconv/iconvconfig.c: Likewise.
37155 * iconv/iconv_prog.c: Likewise.
37156 * elf/ldconfig.c: Likewise.
37157 * elf/pldd.c: Likewise.
37158 * elf/sotruss.ksh: Likewise.
37159 * catgets/gencat.c: Likewise.
37160 * csu/version.c: Likewise.
37161 * elf/ldd.bash.in: Likewise.
37162 * elf/sprof.c (print_version): Likewise.
37163 * locale/programs/locale.c: Likewise.
37164 * locale/programs/localedef.c: Likewise.
37165 * login/programs/pt_chown.c: Likewise.
37166 * nscd/nscd.c (print_version): Likewise.
37167 * debug/xtrace.sh: Likewise.
37168 * malloc/memusage.sh: Likewise.
37169 * malloc/mtrace.pl: Likewise.
37170 * debug/catchsegv.sh: Likewise.
37171
371722011-12-30 Jakub Jelinek <jakub@redhat.com>
37173
37174 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37175 pure attribute.
37176
371772011-12-24 Ulrich Drepper <drepper@gmail.com>
37178
37179 [BZ #13533]
37180 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37181 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37182 transformations.
37183 * iconv/gconv_int.h: Likewise.
37184 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37185 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37186 from libc for GLIBC_2.16.
37187 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37188 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37189 * wcsmbs/uchar.h: Really define mbstate_t.
37190 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37191 * wcsmbs/c16rtomb.c: New file.
37192 * wcsmbs/mbrtoc16.c: New file.
37193 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37194 for C/POSIX locale.
37195 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37196 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37197
37198 * wcsmbs/wchar.h: Add missing __restrict.
37199
372002011-12-23 Ulrich Drepper <drepper@gmail.com>
37201
37202 [BZ #13532]
37203 * time/Makefile (routines): Add timespec_get.
37204 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37205 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37206 timespec for ISO C11.
37207 * time/timespec_get.c: New file.
37208 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37209 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37210
37211 [BZ #13531]
37212 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37213 * stdlib/stdlib.h: Declare aligned_alloc.
37214 * Versions.def: Add GLIBC_2.16 for libc.
37215 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37216
37217 [BZ 13527]
37218 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37219 ISO C11.
37220
37221 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37222 code.
37223
37224 [BZ #13528]
37225 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37226
37227 [BZ #13529]
37228 * assert/assert.h (static_assert): Define.
37229
37230 * version.h: Update for 2.16 development version.
37231
37232 [BZ #13526]
37233 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37234 _ISOC11_SOURCE.
37235
37236 * version.h (RELEASE): Bump for 2.15 release.
37237 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37238
37239 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37240 Patch by Marek Polacek <mpolacek@redhat.com>.
37241
37242 * bits/byteswap.h: Protect long long constants with __extension__.
37243 * sysdeps/i386/bits/byteswap.h: Likewise.
37244 * sysdeps/ia64/bits/byteswap.h: Likewise.
37245 * sysdeps/s390/bits/byteswap.h: Likewise.
37246 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37247
372482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37249
37250 [BZ #13540]
37251 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37252 destination buffer.
37253 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37254
372552011-12-23 Marek Polacek <polacek@redhat.com>
37256
37257 * elf/dl-addr.c (determine_info): Add inline keyword.
37258 * elf/tst-auditmod4b.c (check_avx): Likewise.
37259 * elf/tst-auditmod6b.c (check_avx): Likewise.
37260 * elf/tst-auditmod6c.c (check_avx): Likewise.
37261 * elf/tst-auditmod7b.c (check_avx): Likewise.
37262
372632011-12-23 Ulrich Drepper <drepper@gmail.com>
37264
37265 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37266 !__SSE_MATH__.
37267
372682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37269
37270 [BZ #13540]
37271 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37272 processing for last bytes.
37273
372742011-08-06 Bruno Haible <bruno@clisp.org>
37275
37276 [BZ #13061]
37277 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37278 U+0385, not to U+1FEE.
37279
37280 [BZ #13062]
37281 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37282 entry for U+00A5 U+0301.
37283
372842011-12-22 Ulrich Drepper <drepper@gmail.com>
37285
37286 [BZ #13166]
37287 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37288 buffer for the output is too small.
37289
37290 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37291 optimization.
37292
37293 [BZ #13185]
37294 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37295 SSE flags if possible.
37296
372972011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37298
37299 [BZ #13540]
37300 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37301 processing for last bytes.
37302
373032011-12-22 Joseph Myers <joseph@codesourcery.com>
37304
37305 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37306 (syscall-list-default-options, syscall-list-default-condition)
37307 (syscall-list-includes): Define.
37308 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37309 list of ABIs and options and #if conditions for each ABI. Do not
37310 handle common syscalls between ABIs specially.
37311 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37312 Remove.
37313 (syscall-list-variants, syscall-list-32bit-options)
37314 (syscall-list-32bit-condition, syscall-list-64bit-options)
37315 (syscall-list-64bit-condition): Define.
37316 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37317 (syscall-list-variants, syscall-list-32bit-options)
37318 (syscall-list-32bit-condition, syscall-list-64bit-options)
37319 (syscall-list-64bit-condition): Define.
37320 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37321 Remove.
37322 (syscall-list-variants, syscall-list-32bit-options)
37323 (syscall-list-32bit-condition, syscall-list-64bit-options)
37324 (syscall-list-64bit-condition): Define.
37325 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37326 Remove.
37327 (syscall-list-variants, syscall-list-32bit-options)
37328 (syscall-list-32bit-condition, syscall-list-64bit-options)
37329 (syscall-list-64bit-condition): Define.
37330
373312011-12-22 Ulrich Drepper <drepper@gmail.com>
37332
37333 * locale/iso-639.def: Add brx entry.
37334
37335 [BZ #13328]
37336 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37337 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37338
37339 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37340 __feraiseexcept_renamed.
37341
373422011-12-21 Ulrich Drepper <drepper@gmail.com>
37343
37344 [BZ #13538]
37345 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37346 EPOLLET with unsigned values.
37347 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37348 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37349
37350 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37351 to large cancellation.
37352 * math/s_cacoshf.c: Likewise.
37353 * math/s_cacoshl.c: Likewise.
37354
373552011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37356
37357 [BZ #13305]
37358 [BZ #12786]
37359 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37360 * math/s_cacoshf.c: Likewise.
37361 * math/s_cacoshl.c: Likewise.
37362
373632011-12-21 Ulrich Drepper <drepper@gmail.com>
37364
37365 [BZ #13439]
37366 * iconv/gconv.h: Define __GCONV_SWAP.
37367 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37368 * iconvdata/utf-16.c: Likewise.
37369 * iconvdata/utf-32.c: Likewise.
37370
373712011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37372
37373 [BZ #13524]
37374 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37375 numerator after shifting it by one limb.
37376
373772011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37378
37379 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37380 under [__USE_EXTERN_INLINES].
37381
373822011-12-17 Ulrich Drepper <drepper@gmail.com>
37383
37384 [BZ #13446]
37385 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37386
373872011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37388
37389 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37390 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37391 optimized code.
37392 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37393 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37394 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37395 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37396 for strncasecmp/strncasecmp_l compilation.
37397 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37398 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37399
374002011-12-08 Marek Polacek <mpolacek@redhat.com>
37401
37402 [BZ #13484]
37403 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37404 of __asm__.
37405
374062011-12-17 Ulrich Drepper <drepper@gmail.com>
37407
37408 [BZ #13506]
37409 * time/tzfile.c (__tzfile_read): Check values from file header.
37410
374112011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37412
37413 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37414 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37415 * powerpc/powerpc32/dl-start.S: Likewise.
37416 * powerpc/powerpc32/elf/start.S: Likewise.
37417 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37418 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37419 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37420 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37421 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37422 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37423 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37424 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37425 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37426 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37427 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37428 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37429 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37430 * powerpc/powerpc32/memset.S: Likewise.
37431 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37432 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37433 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37434 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37435 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37436 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37437 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37438 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37439 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37440 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37441 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37442 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37443 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37444
374452011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37446
37447 * math/libm-test.inc: Added more nearbyint tests.
37448 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37449 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37450 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37451 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37452
374532011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37454
37455 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37456 FD_CLOEXEC.
37457
374582011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37459
37460 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37461 Add wcscpy-ssse3 wcscpy-c.
37462 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37463 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37464 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37465 * sysdeps/x86_64/wcschr.S: New file.
37466 * sysdeps/x86_64/wcsrchr.S: New file.
37467 * string/test-strcmp.c: Remove checking of wcscmp function for
37468 wrong alignments.
37469 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37470 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37471 wcsrchr-sse2 wcsrchr-c.
37472 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37473 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37474 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37475 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37476 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37477 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37478 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37479 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37480 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37481 * wcsmbc/wcschr.c (WCSCHR): New macro.
37482
374832011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37484
37485 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37486 * wcsmbs/test-wcsrchr.c: New file.
37487 * string/test-strrchr.c: Add wcsrchr support.
37488 (WIDE): New macro.
37489 * wcsmbs/test-wcscpy.c: New file.
37490 * string/test-strcpy.c: Add wcscpy support.
37491 (WIDE): New macro.
37492
374932011-12-10 Ulrich Drepper <drepper@gmail.com>
37494
37495 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37496 the inner loop.
37497
374982011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37499
37500 [BZ #13472]
37501 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37502
375032011-12-04 Ulrich Drepper <drepper@gmail.com>
37504
37505 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37506 Minor optimizations.
37507
37508 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37509 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37510 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37511
375122011-12-03 Ulrich Drepper <drepper@gmail.com>
37513
37514 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37515 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37516 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37517 for gcc to avoid warnings.
37518 * inet/Makefile (tests): Add tst-checks.
37519 * inet/tst-checks.c: New file.
37520
37521 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37522 warning.
37523
37524 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37525 __wmemcmp_sse2.
37526
37527 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37528 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37529
37530 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37531
375322011-12-02 Ulrich Drepper <drepper@gmail.com>
37533
37534 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37535 problem.
37536
37537 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37538
375392011-11-29 Joseph Myers <joseph@codesourcery.com>
37540
37541 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37542 conditional on GCC version.
37543 (__arch_compare_and_exchange_val_8_acq)
37544 (__arch_compare_and_exchange_val_16_acq)
37545 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37546 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37547 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37548
375492011-12-02 Joseph Myers <joseph@codesourcery.com>
37550
37551 * sysdeps/sh/backtrace.c: New file.
37552
375532011-12-02 Andreas Schwab <schwab@redhat.com>
37554
37555 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37556 parenthesis.
37557
375582011-12-01 Andreas Schwab <schwab@redhat.com>
37559
37560 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37561 falling back to utime.
37562
375632011-11-30 Andreas Schwab <schwab@redhat.com>
37564
37565 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37566 expectations for float.
37567
375682011-11-29 Andreas Schwab <schwab@redhat.com>
37569
37570 * locale/weight.h (findidx): Add parameter len.
37571 * locale/weightwc.h (findidx): Likewise.
37572 * posix/fnmatch_loop.c (FCT): Adjust caller.
37573 * posix/regcomp.c (build_equiv_class): Likewise.
37574 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37575 * posix/regexec.c (check_node_accept_bytes): Likewise.
37576 * string/strcoll_l.c (STRCOLL): Likewise.
37577 * string/strxfrm_l.c (STRXFRM): Likewise.
37578
375792011-11-17 Ulrich Drepper <drepper@gmail.com>
37580
37581 * Makefile.in: Remove CVSOPT handling.
37582 * configure.in: Remove use of AC_REVISION.
37583 * iconvdata/Makefile (distribute): No need to filter out CVS.
37584 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37585 handling.
37586
375872011-11-16 Andreas Schwab <schwab@redhat.com>
37588
37589 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37590 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37591 [USE_AS_STRNCASECMP_L]: Likewise.
37592 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37593 NO_TLS_DIRECT_SEG_REFS.
37594 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37595 Fix argument offsets for non-PIC.
37596 [USE_AS_STRNCASECMP_L]: Likewise.
37597 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37598 NO_TLS_DIRECT_SEG_REFS.
37599
376002011-11-15 Ulrich Drepper <drepper@gmail.com>
37601
37602 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37603 O_CLOEXEC.
37604 * locale/loadlocale.c (_nl_load_locale): Likewise.
37605
376062011-11-15 Andreas Schwab <schwab@redhat.com>
37607
37608 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37609 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37610 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37611 (SYSCALL_GETTIME): Set errno on error.
37612
37613 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37614 count references to noai6ai_cached.
37615
376162011-11-15 Ulrich Drepper <drepper@gmail.com>
37617
37618 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37619
37620 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37621 FD_CLOEXEC for /proc/self/maps.
37622
37623 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37624 FD_CLOEXEC for /proc/meminfo.
37625
37626 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37627 gai.conf.
37628
37629 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37630 FD_CLOEXEC for given file.
37631
37632 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37633
37634 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37635 FD_CLOEXEC for /etc/hosts.
37636 (_gethtent): Likewise.
37637
37638 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37639
37640 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37641 cancellation and set FD_CLOEXEC for /etc/netgroup.
37642
37643 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37644 reading /etc/publickey.
37645
37646 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37647 allow cancellation when reading /etc/group.
37648
37649 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37650 cancellation.
37651 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37652
37653 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37654 when using data file.
37655
37656 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37657
37658 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37659 (write_nis_obj): Use "c" and "e" in fopen.
37660
37661 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37662
37663 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37664
37665 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37666
37667 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37668
37669 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37670 locale.alias.
37671
37672 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37673
37674 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37675
37676 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37677
37678 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37679 file parsing and set FD_CLOEXEC.
37680
376812011-11-14 Ulrich Drepper <drepper@gmail.com>
37682
37683 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37684
376852011-11-14 Andreas Schwab <schwab@redhat.com>
37686
37687 * malloc/arena.c (arena_get2): Don't call reused_arena when
37688 _int_new_arena failed.
37689
376902011-11-14 Ulrich Drepper <drepper@gmail.com>
37691
37692 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37693 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37694 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37695 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37696 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37697 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37698 to compile strcasecmp and strncasecmp.
37699 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37700 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37701
37702 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37703
377042011-11-13 Ulrich Drepper <drepper@gmail.com>
37705
37706 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37707 locale-defines.sym to gen-as-const-headers.
37708 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37709 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37710 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37711 to compile strcasecmp and strncasecmp.
37712 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37713 strcasecmp_l and strncasecmp_l.
37714 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37715 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37716 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37717 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37718 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37719 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37720 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37721 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37722 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37723 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37724 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37725
377262011-11-12 Ulrich Drepper <drepper@gmail.com>
37727
37728 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37729 result of SYSDEP_GETTIME_CPU to retval.
37730 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37731 parameter list to macro. Remove trailing semicolon. Adjust users.
37732
37733 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37734 variable.
37735
37736 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37737 mantissa words.
37738 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37739
37740 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37741 from unused variable.
37742
37743 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37744 DWARF definitions.
37745 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37746 for assembling.
37747
37748 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37749 over namespaces.
37750
37751 * sunrpc/rpc_prot.c (rejected): Fix case value.
37752
37753 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37754 unsigned long long int to avoid warnings in shift.
37755
37756 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37757 of use of trans.
37758 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37759 variable tmp.
37760
37761 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37762 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37763 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37764
37765 * nis/nis_table.c (nis_list): Use variable of correct type for
37766 result of __follow_path call.
37767
377682011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37769
37770 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37771 of math functions ceil, trunc, floor, round, and sqrt, when
37772 avaliable on the platform.
37773 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37774 name clash.
37775 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37776 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37777 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37778
377792011-10-30 Marek Polacek <mpolacek@redhat.com>
37780
37781 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37782 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37783
377842011-11-11 Roland McGrath <roland@hack.frob.com>
37785
37786 * include/unistd.h: Fix __readlink return type.
37787 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37788
377892011-11-11 Ulrich Drepper <drepper@gmail.com>
37790
37791 * stdlib/ucontext.h: Undo last change for makecontext.
37792
377932011-11-11 Andreas Schwab <schwab@redhat.com>
37794
37795 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37796
37797 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37798 * setjmp/setjmp.h: Mark functions as non-leaf.
37799 * setjmp/bits/setjmp2.h: Likewise.
37800 * stdlib/ucontext.h: Likewise.
37801
378022011-11-10 Andreas Schwab <schwab@redhat.com>
37803
37804 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37805 (reused_arena): Don't check arena limit.
37806 (arena_get2): Atomically check arena limit.
37807
378082011-11-08 Ulrich Drepper <drepper@gmail.com>
37809
37810 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37811 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37812
37813 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37814 instructions.
37815
378162011-11-07 Andreas Schwab <schwab@redhat.com>
37817
37818 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37819 handler when locking.
37820
37821 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37822 Fix size of allocated buffer.
37823
378242011-11-04 Andreas Schwab <schwab@redhat.com>
37825
37826 [BZ #10103]
37827 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37828 declarations for long double functions.
37829 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37830
37831 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37832
378332011-11-03 Andreas Schwab <schwab@redhat.com>
37834
37835 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37836 installed.
37837
37838 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37839 is disabled.
37840
378412011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37842
37843 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37844
378452011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37846
37847 * include/alloca.h (stackinfo_alloca_round): Define.
37848 (extend_alloca): Use it.
37849 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37850 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37851 here.
37852
37853 * scripts/check-local-headers.sh: Ignore libaudit.h.
37854
37855 * nscd/Makefile (extra-objs): Make recursively expanded.
37856
378572011-11-01 Ulrich Drepper <drepper@gmail.com>
37858
37859 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37860 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37861
37862 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37863 * posix/tst-rfc3484-2.c: Likewise.
37864 * posix/tst-rfc3484-3.c: Likewise.
37865
37866 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37867 process_vm_writev.
37868 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37869 process_vm_writev.
37870 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37871 process_vm_writev from libc using GLIBC_2.15 version.
37872
37873 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37874
378752011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37876
37877 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37878 stack usage.
37879
378802011-10-31 Ulrich Drepper <drepper@gmail.com>
37881
37882 [BZ #13367]
37883 * nss/getent.c (initgroups_keys): Show error message in case no group
37884 names are given.
37885
37886 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37887 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37888 __bump_nl_timestamp.
37889 * nscd/connections (nscd_init): When host database is served open
37890 netlink socket and request notification about configuration changes.
37891 (main_loop_poll): Track netlink file descriptor and bump timestamp
37892 in case data becomes available.
37893 (main_loop_epoll): Likewise.
37894 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37895 (database_pers_head): Add extra_data fileds.
37896 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37897 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37898 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37899 Adjust caller.
37900 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37901 in6ai data, call __free_in6ai.
37902 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37903 Add -DHAVE_NETLINK.
37904 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37905 interface information. Reuse previous data if netlink timestamp
37906 is not changed.
37907 (__bump_nl_timestamp): New function.
37908 (__free_in6ai): New function.
37909
379102011-10-30 Ulrich Drepper <drepper@gmail.com>
37911
37912 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37913 close_not_cancel_no_status here.
37914 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37915
379162011-10-29 Ulrich Drepper <drepper@gmail.com>
37917
37918 [BZ #13276]
37919 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37920 return value.
37921
37922 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37923 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37924 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37925
379262011-07-03 Andreas Jaeger <aj@suse.de>
37927
37928 [BZ #10709]
37929 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37930 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37931 * math/libm-test.inc (sin_test): Add test case.
37932
379332011-10-29 Ulrich Drepper <drepper@gmail.com>
37934
37935 [BZ #13337]
37936 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37937 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37938
37939 * elf/chroot_canon.c (chroot_canon): Cleanups.
37940
37941 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37942
37943 [BZ #13335]
37944 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37945 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37946
37947 * string/test-strchr.c: Make usable for strchrnul testing.
37948 * string/test-strchrnul.c: New file.
37949 * string/Makefile (strop-tests): Add strchrnul.
37950
37951 * po/it.po: Update from translation team.
37952 * po/es.po: Likewise.
37953
379542011-10-28 Ulrich Drepper <drepper@gmail.com>
37955
37956 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37957 the three constants needed as parameters. Drop the others.
37958 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37959 __m128i_strloadu_tolower.
37960 Create and initialize variable zero and use it in all the places
37961 where _mm_setzero_si128 was used.
37962
37963 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37964 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37965 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37966 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37967 anymore.
37968 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37969 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37970 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37971 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37972 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37973 __mpranred, __mptan.
37974 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37975 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37976 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37977 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37978 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37979 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37980 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37981 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37982 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37983
379842011-10-28 Andreas Schwab <schwab@redhat.com>
37985
37986 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37987 redefine if SHARED.
37988 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37989
37990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37991 wide char related routines to wcsmbs subdir.
37992
379932011-10-27 Andreas Schwab <schwab@redhat.com>
37994
37995 [BZ #13344]
37996 * misc/sys/cdefs.h (__THROWNL): Define.
37997 * posix/unistd.h: Use __THREADNL instead of __THREAD
37998 for memory synchronization functions.
37999
380002011-10-26 Roland McGrath <roland@hack.frob.com>
38001
38002 [BZ #13349]
38003 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38004 doesn't exist.
38005 * manual/stdio.texi (Obstack Streams): Node removed.
38006
380072011-10-26 Andreas Schwab <schwab@redhat.com>
38008
38009 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38010 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38011 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38012
38013 * math/math_private.h (math_force_eval): Allow non-addressable
38014 arguments.
38015 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38016
380172011-10-25 Ulrich Drepper <drepper@gmail.com>
38018
38019 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38020 file is not needed.
38021
38022 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38023 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38024 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38025 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38026 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38027 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38028 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38029 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38030 Add AVX variants.
38031 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38032 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38033 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38034 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38035 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38036 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38037 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38038 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38039 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38040 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38041 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38042 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38043 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38044 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38045 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38046 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38047 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38048 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38049 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38050
38051 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38052 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38053
38054 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38055 place. Use VEX encoding when compiling for AVX.
38056
380572011-10-25 Andreas Schwab <schwab@redhat.com>
38058
38059 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38060 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38061
38062 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38063
380642011-10-25 Ulrich Drepper <drepper@gmail.com>
38065
38066 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38067 useless if() expression.
38068 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38069 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38070 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38071 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38072 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38073 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38074 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38075 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38076 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38077 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38078 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38079 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38080 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38081 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38082 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38083 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38084 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38085 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38086 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38087
38088 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38089
380902011-10-25 Andreas Schwab <schwab@redhat.com>
38091
38092 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38093 condition.
38094 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38095
380962011-10-25 Ulrich Drepper <drepper@gmail.com>
38097
38098 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38099 .text section. Avoid duplicate constants.
38100 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38102 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38103 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38104 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38108 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38109 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38110 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38111 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38112 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38113 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38114 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38115 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38117 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38120 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38121 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38122 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38123 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38124 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38125 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38126 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38127 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38128 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38129 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38130 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38131 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38132 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38133 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38134 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38135 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38136 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38137 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38138 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38139 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38140 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38141 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38142 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38143 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38144 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38145
381462011-10-24 Ulrich Drepper <drepper@gmail.com>
38147
38148 * sysdeps/x86_64/dla.h: Move to ...
38149 * sysdeps/x86_64/fpu/dla.h: ...here.
38150 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38151 situations. Use __builtin_fma only for gcc 4.6 and up.
38152
38153 * config.make.in: Add have-mfma4 entry.
38154 * configure.in: Substitute libc_cv_cc_fma4.
38155 * math/Makefile (dbl-only-routines): Add sincostab.
38156 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38157 Use __sincostab not sincos.
38158 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38159 name is a macro.
38160 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38164 using __copysign.
38165 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38166 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38167 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38168 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38169 and __inv.
38170 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38171 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38172 __copysign.
38173 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38174 define aliases when function name is a macro.
38175 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38176 sysdeps/ieee754/dbl-64/sincos.tbl.
38177 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38178 fma4-enabled routines.
38179 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38180 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38181 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38182 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38183 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38184 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38185 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38186 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38187 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38188 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38189 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38190 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38191 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38192 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38193 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38194 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38195 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38196 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38197 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38198 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38199 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38200 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38201 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38202 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38203 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38204 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38205 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38206 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38207 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38208 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38209
38210 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38211 rename.
38212 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38213 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38220
382212011-10-24 Andreas Schwab <schwab@redhat.com>
38222
38223 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38224
382252011-10-23 Ulrich Drepper <drepper@gmail.com>
38226
38227 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38228
38229 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38230 prediction.
38231 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38232
38233 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38234 Remove unused variable magic_bits.
38235 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38236
38237 * string/strnlen.c: Define and use STRNLEN macro.
38238 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38239 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38240 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38241 * wcsmbs/wcslen.c: Define and use WCSLEN.
38242 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38243 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38244 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38245 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38246 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38247 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38248 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38249
382502011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38251
38252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38253 strnlen-sse2-no-bsf.
38254 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38255 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38256 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38257 Add strnlen support.
38258 (USE_AS_STRNLEN): New macro.
38259 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38260 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38261 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38262 * sysdeps/x86_64/wcslen.S: New file.
38263
382642011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38265
38266 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38267 XMM-moves are used for copying on small sizes.
38268
382692011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38270
38271 * wcsmbs/Makefile (strop-tests): Add wcschr.
38272 * wcsmbs/test-wcschr.c: New file.
38273 * string/test-strchr.c: Update.
38274 Add wcschr support.
38275 (WIDE): New macro.
38276
382772011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38278
38279 * wcsmbs/Makefile (strop-tests): Add wcslen.
38280 * wcsmbs/test-wcslen.c: New file.
38281 * string/test-strlen.c: Update.
38282 Add wcslen support.
38283 (WIDE): New macro.
38284
382852011-10-23 Ulrich Drepper <drepper@gmail.com>
38286
38287 * po/it.po: Update from translation team.
38288
382892011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38290
38291 * sysdeps/x86_64/wcscmp.S: Update.
38292 Fix wrong comparison semantics.
38293 wcscmp shall use signed comparison not unsigned.
38294 Don't use substraction to avoid overflow bug.
38295 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38296 * wcsmbc/wcscmp.c: Likewise.
38297 * string/test-strcmp.c: Likewise.
38298 Add new tests to check cases with negative values.
38299
383002011-10-23 Ulrich Drepper <drepper@gmail.com>
38301
38302 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38303 * sysdeps/x86_64/dla.h: ...here. New file.
38304 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38305 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38309 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38312 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38313
383142011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38315
38316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38317 __ynl_finite aliases.
38318
383192011-10-22 Ulrich Drepper <drepper@gmail.com>
38320
38321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38322
38323 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38324 define DLA_FMA.
38325 [DLA_FMA] (EMULV): Use DLA_FMA.
38326 [DLA_FMA] (MUL12): Use EMULV.
38327 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38328 that are not needed.
38329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38330 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38334 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38335 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38336
383372011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38338
38339 * math/s_nan.c: Undef __nan.
38340 * math/s_nanf.c: Undef __nanf.
38341 * math/s_nanl.c: Undef __nanl.
38342 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38343 "math_private.h".
38344
383452011-10-22 Ulrich Drepper <drepper@gmail.com>
38346
38347 * math/s_catan.c: Add branch predictions.
38348 * math/s_catanf.c: Likewise.
38349 * math/s_catanh.c: Likewise.
38350 * math/s_catanhf.c: Likewise.
38351 * math/s_catanhl.c: Likewise.
38352 * math/s_catanl.c: Likewise.
38353 * math/s_cexp.c: Likewise.
38354 * math/s_cexpf.c: Likewise.
38355 * math/s_cexpl.c: Likewise.
38356 * math/s_clog.c: Likewise.
38357 * math/s_clog10.c: Likewise.
38358 * math/s_clog10f.c: Likewise.
38359 * math/s_clog10l.c: Likewise.
38360 * math/s_clogf.c: Likewise.
38361 * math/s_clogl.c: Likewise.
38362 * math/s_csqrt.c: Likewise.
38363 * math/s_csqrtf.c: Likewise.
38364 * math/s_csqrtl.c: Likewise.
38365 * math/s_ctanf.c: Likewise.
38366 * math/s_ctanh.c: Likewise.
38367 * math/s_ctanhf.c: Likewise.
38368 * math/s_ctanhl.c: Likewise.
38369 * math/s_ctanl.c: Likewise.
38370
38371 * math/math_private.h: Define __nan, __nanf, __nanl.
38372 * math/s_cacosh.c: Include <math_private.h>.
38373 * math/s_cacoshl.c: Likewise.
38374 * math/s_casinh.c: Likewise.
38375 * math/s_casinhf.c: Likewise.
38376 * math/s_casinhl.c: Likewise.
38377 * math/s_ccos.c: Rely entire on ccosh.
38378 * math/s_ccosf.c: Rely entire on ccoshf.
38379 * math/s_ccosl.c: Rely entirely on ccoshl.
38380 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38381 Remove tests for FE_INVALID.
38382 * math/s_ccoshf.c: Likewise.
38383 * math/s_ccoshl.c: Likewise.
38384 * math/s_csin.c: Likewise.
38385 * math/s_csinf.c: Likewise.
38386 * math/s_csinh.c Likewise.
38387 * math/s_csinhf.c: Likewise.
38388 * math/s_csinhl.c: Likewise.
38389 * math/s_csinl.c: Likewise.
38390 * math/s_ctan.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38392 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38393 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38394
383952011-10-21 Ulrich Drepper <drepper@gmail.com>
38396
38397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38398 compilation problems.
38399
38400 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38401 __builtin_expect.
38402
384032011-10-20 Ulrich Drepper <drepper@gmail.com>
38404
38405 * sysdeps/i386/configure.in: Test for -mfma4 option.
38406 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38407 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38408 COMMON_CPUID_INDEX_80000001.
38409 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38410 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38411 use it if FMA3 is not supported.
38412 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38413
38414 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38415 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38416
384172011-10-20 Andreas Schwab <schwab@redhat.com>
38418
38419 [BZ #12892]
38420 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38421 it would create a cycle with a link time dependency.
38422
384232011-10-19 Ulrich Drepper <drepper@gmail.com>
38424
38425 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38426 instruction.
38427 * string/Makefile (strop-tests): Add rawmemchr.
38428 * string/test-rawmemchr.c: New file.
38429
38430 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38431 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38432 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38433 when compiling str{,n}casecmp and when AVX is available. Hook up
38434 new optimized code in initializers.
38435
384362011-10-19 Andreas Schwab <schwab@redhat.com>
38437
38438 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38439 __feraiseexcept instead of feraiseexcept.
38440
384412011-10-18 Ulrich Drepper <drepper@gmail.com>
38442
38443 * math/math_private.h: Define defaults for libc_fetestexcept and
38444 libc_feupdateenv.
38445 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38446 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38447 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38448 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38449 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38450 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38451 libc_fetestexcept and libc_feupdateenv.
38452
38453 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38454 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38455 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38456 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38457 libc_feholdexcept_setround.
38458
38459 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38460 Add s_nearbyint-c and s_nearbyintf-c.
38461 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38462 nearbyintf inlines.
38463 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38464 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38465 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38466 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38467
38468 * math/math_private.h: Define defaults for libc_fegetround,
38469 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38470 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38471 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38472 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38473 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38474 standard functions.
38475 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38476 Remove comments and hacks for old compiler versions.
38477 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38478 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38479 libc_feholdexceptl.
38480
384812011-10-18 Andreas Schwab <schwab@redhat.com>
38482
38483 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38484 (__feraiseexcept_renamed): Add __NTH.
38485 (feraiseexcept): Add __NTH. Rename local variables to fix
38486 namespace violations.
38487
384882011-10-17 Ulrich Drepper <drepper@gmail.com>
38489
38490 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38491
38492 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38493
38494 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38495 recently added interfaces.
38496 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38497
38498 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38499 about macro parameter expansion.
38500
38501 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38502 __NO_MATH_INLINES is defined. Cleanups.
38503
38504 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38505 and __floorf is target has SSE4.1.
38506 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38507 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38508 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38509 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38510
38511 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38512 name.
38513 (floorf): Likewise.
38514
38515 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38516
385172011-10-17 Andreas Schwab <schwab@redhat.com>
38518
38519 * misc/sys/cdefs.h: Fix last change.
38520
38521 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38522 database lookup.
38523
385242011-10-16 Ulrich Drepper <drepper@gmail.com>
38525
38526 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38527
38528 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38529 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38530 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38531 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38532 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38533 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38534 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38535 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38536 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38537 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38538 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38539 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38540 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38541 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38542 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38543 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38544 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38545 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38546 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38547 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38548 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38549 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38550
38551 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38552 ceil, ceilf, floor, floorf.
38553
38554 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38555 Perform IRELATIVE relocations last.
38556
38557 * elf/do-rel.h: Add another parameter nrelative, replacing the
38558 local variable with the same name. Change name of the function
38559 to end in Rel or Rela (uppercase).
38560 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38561 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38562 elf_dynamic_do_##reloc function.
38563
385642011-10-15 Ulrich Drepper <drepper@gmail.com>
38565
38566 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38567 is sufficient, at least on modern CPUs.
38568
38569 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38570
38571 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38572 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38573
38574 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38575 __expl_finite.
38576 * math/bits/math-finite.h: Add entries for exp.
38577 * math/e_expl.c: Add __*_finite alias.
38578 * sysdeps/i386/fpu/e_exp.S: Likewise.
38579 * sysdeps/i386/fpu/e_expf.S: Likewise.
38580 * sysdeps/i386/fpu/e_expl.c: Likewise.
38581 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38582 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38585 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38586 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38587 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38588
38589 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38590 is sufficient, at least on modern CPUs.
38591
38592 * ctype/ctype-info.c (__ctype_init): Define.
38593 * include/ctype.h (__ctype_init): Declare.
38594 (__ctype_b_loc): The variable is always initialized.
38595 (__ctype_toupper_loc): Likewise.
38596 (__ctype_tolower_loc): Likewise.
38597 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38598 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38599
386002011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38601
38602 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38603
38604 * configure.in: Also look in $cxxmachine/include for C++ system
38605 headers.
38606
386072011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38608
38609 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38610 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38611 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38612 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38613 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38614 (USE_AS_WMEMCMP): New macro.
38615 Fixing indents.
38616 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38617 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38618 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38619 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38621 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38622 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38623 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38624 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38625 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38626 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38627 (USE_AS_WMEMCMP): New macro.
38628 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38629 * sysdeps/string/test-memcmp.c: Update.
38630 Fix simple_wmemcmp.
38631 Add new tests.
38632 * wcsmbs/wmemcmp.c: Update.
38633 (WMEMCMP): New macro.
38634 Fix overflow bug.
38635
386362011-10-12 Andreas Jaeger <aj@suse.de>
38637
38638 [BZ #13268]
38639 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38640
386412011-10-15 Ulrich Drepper <drepper@gmail.com>
38642
38643 * libio/iofwide.c (do_length): Avoid warning.
38644
38645 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38646
386472011-10-14 Ulrich Drepper <drepper@gmail.com>
38648
38649 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38650
38651 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38652 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38653 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38654 * sysdeps/i386/i686/fpu/e_log.S: New file.
38655 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38656 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38657
38658 * ctype/ctype.h: Add support for inlined isXXX functions when
38659 compiling C++ code.
38660
386612011-10-14 Andreas Schwab <schwab@redhat.com>
38662
38663 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38664
38665 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38666
386672011-10-13 Roland McGrath <roland@hack.frob.com>
38668
38669 [BZ #13291]
38670 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38671
386722011-10-13 Andreas Schwab <schwab@redhat.com>
38673
38674 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38675 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38676 feraiseexcept.
38677
38678 * sysdeps/x86_64/memrchr.S: Check for zero size.
38679
38680 * string/stratcliff.c: Add memrchr tests.
38681
386822011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38683
38684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38685 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38686 rawmemchr-sse2 rawmemchr-sse2-bsf.
38687 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38688 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38689 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38690 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38691 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38692 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38693 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38694 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38695 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38696 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38697 * string/memrchr.c (MEMRCHR): New macro.
38698
386992011-10-12 Ulrich Drepper <drepper@gmail.com>
38700
38701 Add integration with gcc's -ffinite-math-only and optimize wrapper
38702 functions in libm.
38703 * Versions.def: Define GLIBC_2.15 version for libm.
38704 * math/Makefile (headers): Add bits/math-finite.h.
38705 * math/bits/math-finite.h: New file.
38706 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38707 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38708 * math/e_acoshl.c: Add __*_finite alias.
38709 * math/e_acosl.c: Likewise.
38710 * math/e_asinl.c: Likewise.
38711 * math/e_atan2l.c: Likewise.
38712 * math/e_atanhl.c: Likewise.
38713 * math/e_coshl.c: Likewise.
38714 * math/e_exp10.c: Likewise.
38715 * math/e_exp10f.c: Likewise.
38716 * math/e_exp10l.c: Likewise.
38717 * math/e_exp2l.c: Likewise.
38718 * math/e_fmodl.c: Likewise.
38719 * math/e_gammal_r.c: Likewise.
38720 * math/e_hypotl.c: Likewise.
38721 * math/e_j0l.c: Likewise.
38722 * math/e_j1l.c: Likewise.
38723 * math/e_jnl.c: Likewise.
38724 * math/e_lgammal_r.c: Likewise.
38725 * math/e_log10l.c: Likewise.
38726 * math/e_log2l.c: Likewise.
38727 * math/e_logl.c: Likewise.
38728 * math/e_powl.c: Likewise.
38729 * math/e_sinhl.c: Likewise.
38730 * math/e_sqrtl.c: Likewise.
38731 * math/e_scalb.c: Completely rewritten and optimized.
38732 * math/e_scalbf.c: Likewise.
38733 * math/e_scalbl.c: Likewise.
38734 * math/w_acos.c: Likewise.
38735 * math/w_acosf.c: Likewise.
38736 * math/w_acosl.c: Likewise.
38737 * math/w_acosh.c: Likewise.
38738 * math/w_acoshf.c: Likewise.
38739 * math/w_acoshl.c: Likewise.
38740 * math/w_asin.c: Likewise.
38741 * math/w_asinf.c: Likewise.
38742 * math/w_asinl.c: Likewise.
38743 * math/w_atan2.c: Likewise.
38744 * math/w_atan2f.c: Likewise.
38745 * math/w_atan2l.c: Likewise.
38746 * math/w_atanh.c: Likewise.
38747 * math/w_atanhf.c: Likewise.
38748 * math/w_atanhl.c: Likewise.
38749 * math/w_exp10.c: Likewise.
38750 * math/w_exp10f.c: Likewise.
38751 * math/w_exp10l.c: Likewise.
38752 * math/w_fmod.c: Likewise.
38753 * math/w_fmodf.c: Likewise.
38754 * math/w_fmodl.c: Likewise.
38755 * math/w_j0.c: Likewise.
38756 * math/w_j0f.c: Likewise.
38757 * math/w_j0l.c: Likewise.
38758 * math/w_j1.c: Likewise.
38759 * math/w_j1f.c: Likewise.
38760 * math/w_j1l.c: Likewise.
38761 * math/w_jn.c: Likewise.
38762 * math/w_jnf.c: Likewise.
38763 * math/w_log.c: Likewise.
38764 * math/w_logf.c: Likewise.
38765 * math/w_logl.c: Likewise.
38766 * math/w_log10.c: Likewise.
38767 * math/w_log10f.c: Likewise.
38768 * math/w_log10l.c: Likewise.
38769 * math/w_log2.c: Likewise.
38770 * math/w_log2f.c: Likewise.
38771 * math/w_log2l.c: Likewise.
38772 * math/w_pow.c: Likewise.
38773 * math/w_powf.c: Likewise.
38774 * math/w_powl.c: Likewise.
38775 * math/w_remainder.c: Likewise.
38776 * math/w_remainderf.c: Likewise.
38777 * math/w_remainderl.c: Likewise.
38778 * math/w_scalb.c: Likewise.
38779 * math/w_scalbf.c: Likewise.
38780 * math/w_scalbl.c: Likewise.
38781 * math/w_sqrt.c: Likewise.
38782 * math/w_sqrtf.c: Likewise.
38783 * math/w_sqrtl.c: Likewise.
38784 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38785 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38786 used.
38787 * math/math_private.h: Declare __kernel_standard_f.
38788 * math/w_cosh.c: Remove cruft and optimize a bit.
38789 * math/w_coshf.c: Likewise.
38790 * math/w_coshl.c: Likewise.
38791 * math/w_exp2.c: Likewise.
38792 * math/w_exp2f.c: Likewise.
38793 * math/w_exp2l.c: Likewise.
38794 * math/w_hypot.c: Likewise.
38795 * math/w_hypotf.c: Likewise.
38796 * math/w_hypotl.c: Likewise.
38797 * math/w_lgamma.c: Likewise.
38798 * math/w_lgamma_r.c: Likewise.
38799 * math/w_lgammaf.c: Likewise.
38800 * math/w_lgammaf_r.c: Likewise.
38801 * math/w_lgammal.c: Likewise.
38802 * math/w_lgammal_r.c: Likewise.
38803 * math/w_sinh.c: Likewise.
38804 * math/w_sinhf.c: Likewise.
38805 * math/w_sinhl.c: Likewise.
38806 * math/w_tgamma.c: Likewise.
38807 * math/w_tgammaf.c: Likewise.
38808 * math/w_tgammal.c: Likewise.
38809 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38810 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38811 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38812 Minor optimizations. Pretty printing. Remove cruft.
38813 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38814 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38815 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38816 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38817 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38818 * sysdeps/i386/fpu/e_asin.S: Likewise.
38819 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38820 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38821 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38822 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38823 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38824 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38825 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38826 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38827 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38828 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38829 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38830 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38831 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38832 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38833 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38834 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38835 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38836 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38837 * sysdeps/i386/fpu/e_log.S: Likewise.
38838 * sysdeps/i386/fpu/e_log10.S: Likewise.
38839 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38840 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38841 * sysdeps/i386/fpu/e_log2.S: Likewise.
38842 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38843 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38844 * sysdeps/i386/fpu/e_logf.S: Likewise.
38845 * sysdeps/i386/fpu/e_logl.S: Likewise.
38846 * sysdeps/i386/fpu/e_pow.S: Likewise.
38847 * sysdeps/i386/fpu/e_powf.S: Likewise.
38848 * sysdeps/i386/fpu/e_powl.S: Likewise.
38849 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38850 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38851 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38852 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38853 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38854 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38855 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38856 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38857 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38858 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38859 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38860 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38861 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38862 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38863 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38864 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38866 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38869 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38871 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38872 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38873 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38874 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38875 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38876 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38877 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38878 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38879 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38880 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38881 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38882 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38883 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38884 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38885 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38886 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38887 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38888 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38889 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38890 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38891 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38892 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38893 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38894 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38895 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38896 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38897 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38898 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38899 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38904 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38908 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38910 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38911 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38913 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38914 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38915 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38917 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38923 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38925 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38926 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38927 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38929 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38930 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38935 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38936 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38938 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38939 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38940 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38941 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38943 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38944 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38945 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38946 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38947 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38948 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38949 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38950 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38951 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38952 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38953 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38954 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38955 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38956 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38957 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38958 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38959 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38960 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38961 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38962 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38963 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38964 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38965 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38966 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38967 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38968 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38969 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38970 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38971 (__isnanf): Likewise.
38972 (__isinf_ns): Likewise.
38973 (__isinf_nsf): Likewise.
38974 (__finite): Likewise.
38975 (__finitef): Likewise.
38976 (__ieee754_sqrt): Define as macro.
38977 (__ieee754_sqrtf): Define as macro.
38978 (__ieee754_sqrtl): Define as macro.
38979 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38980 inlined copy.
38981 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38982 __FINITE_MATH_ONLY__ consistent.
38983 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38984
389852011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38986
38987 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38988 of rawmemchr.
38989
38990 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38991
389922011-10-09 Ulrich Drepper <drepper@gmail.com>
38993
38994 * po/ja.po: Update from translation team.
38995
389962011-10-08 Roland McGrath <roland@hack.frob.com>
38997
38998 * locale/programs/locarchive.c (prepare_address_space): New function.
38999 (create_archive, enlarge_archive, open_archive): Use it.
39000
39001 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39002 inside [SHARED], where it is used.
39003
39004 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39005
39006 * nss/getent.c (netgroup_keys): Remove unused variable.
39007 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39008
390092011-10-08 Ulrich Drepper <drepper@gmail.com>
39010
39011 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39012 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39013 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39014 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39015 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39016 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39017 * math/Makefile (libm-calls): Add s_isinf_ns.
39018 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39019 * math/multc3.c: Likewise.
39020 * math/s_casin.c: Likewise.
39021 * math/s_casinf.c: Likewise.
39022 * math/s_casinl.c: Likewise.
39023 * math/s_ccos.c: Likewise.
39024 * math/s_ccosf.c: Likewise.
39025 * math/s_ccosl.c: Likewise.
39026 * math/s_ctan.c: Likewise.
39027 * math/s_ctanf.c: Likewise.
39028 * math/s_ctanh.c: Likewise.
39029 * math/s_ctanhf.c: Likewise.
39030 * math/s_ctanhl.c: Likewise.
39031 * math/s_ctanl.c: Likewise.
39032 * math/w_fmod.c: Likewise.
39033 * math/w_fmodf.c: Likewise.
39034 * math/w_fmodl.c: Likewise.
39035 * math/w_remainder.c: Likewise.
39036 * math/w_remainderf.c: Likewise.
39037 * math/w_remainderl.c: Likewise.
39038 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39039 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39040 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39042 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39043 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39044 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39045 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39046
39047 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39048 of the number.
39049 * stdio-common/printf_fphex.c: Likewise.
39050 * stdio-common/printf_size.c: Likewise.
39051
39052 * math/e_exp10.c: Include math_private.h using <...> not "...".
39053 * math/e_exp10f.c: Likewise.
39054 * math/e_exp10l.c: Likewise.
39055 * math/e_exp2l.c: Likewise.
39056 * math/e_j0l.c: Likewise.
39057 * math/e_j1l.c: Likewise.
39058 * math/e_jnl.c: Likewise.
39059 * math/e_lgammal_r.c: Likewise.
39060 * math/e_rem_pio2l.c: Likewise.
39061 * math/e_scalb.c: Likewise.
39062 * math/e_scalbf.c: Likewise.
39063 * math/e_scalbl.c: Likewise.
39064 * math/k_cosl.c: Likewise.
39065 * math/k_sinl.c: Likewise.
39066 * math/k_tanl.c: Likewise.
39067 * math/s_cacoshf.c: Likewise.
39068 * math/s_catan.c: Likewise.
39069 * math/s_catanf.c: Likewise.
39070 * math/s_catanh.c: Likewise.
39071 * math/s_catanhf.c: Likewise.
39072 * math/s_catanhl.c: Likewise.
39073 * math/s_catanl.c: Likewise.
39074 * math/s_ccosh.c: Likewise.
39075 * math/s_ccoshf.c: Likewise.
39076 * math/s_ccoshl.c: Likewise.
39077 * math/s_cexp.c: Likewise.
39078 * math/s_cexpf.c: Likewise.
39079 * math/s_cexpl.c: Likewise.
39080 * math/s_clog.c: Likewise.
39081 * math/s_clog10.c: Likewise.
39082 * math/s_clog10f.c: Likewise.
39083 * math/s_clog10l.c: Likewise.
39084 * math/s_clogf.c: Likewise.
39085 * math/s_clogl.c: Likewise.
39086 * math/s_csin.c: Likewise.
39087 * math/s_csinf.c: Likewise.
39088 * math/s_csinh.c: Likewise.
39089 * math/s_csinhf.c: Likewise.
39090 * math/s_csinhl.c: Likewise.
39091 * math/s_csinl.c: Likewise.
39092 * math/s_csqrt.c: Likewise.
39093 * math/s_csqrtf.c: Likewise.
39094 * math/s_csqrtl.c: Likewise.
39095 * math/s_ctan.c: Likewise.
39096 * math/s_ctanf.c: Likewise.
39097 * math/s_ctanh.c: Likewise.
39098 * math/s_ctanhf.c: Likewise.
39099 * math/s_ctanhl.c: Likewise.
39100 * math/s_ctanl.c: Likewise.
39101 * math/s_ldexp.c: Likewise.
39102 * math/s_ldexpf.c: Likewise.
39103 * math/s_ldexpl.c: Likewise.
39104 * math/s_significand.c: Likewise.
39105 * math/s_significandf.c: Likewise.
39106 * math/s_significandl.c: Likewise.
39107 * math/w_acos.c: Likewise.
39108 * math/w_acosf.c: Likewise.
39109 * math/w_acosh.c: Likewise.
39110 * math/w_acoshf.c: Likewise.
39111 * math/w_acoshl.c: Likewise.
39112 * math/w_acosl.c: Likewise.
39113 * math/w_asin.c: Likewise.
39114 * math/w_asinf.c: Likewise.
39115 * math/w_asinl.c: Likewise.
39116 * math/w_atan2.c: Likewise.
39117 * math/w_atan2f.c: Likewise.
39118 * math/w_atan2l.c: Likewise.
39119 * math/w_atanh.c: Likewise.
39120 * math/w_atanhf.c: Likewise.
39121 * math/w_atanhl.c: Likewise.
39122 * math/w_cosh.c: Likewise.
39123 * math/w_coshf.c: Likewise.
39124 * math/w_coshl.c: Likewise.
39125 * math/w_dremf.c: Likewise.
39126 * math/w_exp10.c: Likewise.
39127 * math/w_exp10f.c: Likewise.
39128 * math/w_exp10l.c: Likewise.
39129 * math/w_exp2.c: Likewise.
39130 * math/w_exp2f.c: Likewise.
39131 * math/w_fmod.c: Likewise.
39132 * math/w_fmodf.c: Likewise.
39133 * math/w_fmodl.c: Likewise.
39134 * math/w_hypot.c: Likewise.
39135 * math/w_hypotf.c: Likewise.
39136 * math/w_hypotl.c: Likewise.
39137 * math/w_j0.c: Likewise.
39138 * math/w_j0f.c: Likewise.
39139 * math/w_j0l.c: Likewise.
39140 * math/w_j1.c: Likewise.
39141 * math/w_j1f.c: Likewise.
39142 * math/w_j1l.c: Likewise.
39143 * math/w_jn.c: Likewise.
39144 * math/w_jnf.c: Likewise.
39145 * math/w_jnl.c: Likewise.
39146 * math/w_lgamma.c: Likewise.
39147 * math/w_lgamma_r.c: Likewise.
39148 * math/w_lgammaf.c: Likewise.
39149 * math/w_lgammaf_r.c: Likewise.
39150 * math/w_lgammal.c: Likewise.
39151 * math/w_lgammal_r.c: Likewise.
39152 * math/w_log.c: Likewise.
39153 * math/w_log10.c: Likewise.
39154 * math/w_log10f.c: Likewise.
39155 * math/w_log10l.c: Likewise.
39156 * math/w_log2.c: Likewise.
39157 * math/w_log2f.c: Likewise.
39158 * math/w_log2l.c: Likewise.
39159 * math/w_logf.c: Likewise.
39160 * math/w_logl.c: Likewise.
39161 * math/w_pow.c: Likewise.
39162 * math/w_powf.c: Likewise.
39163 * math/w_powl.c: Likewise.
39164 * math/w_remainder.c: Likewise.
39165 * math/w_remainderf.c: Likewise.
39166 * math/w_remainderl.c: Likewise.
39167 * math/w_scalb.c: Likewise.
39168 * math/w_scalbf.c: Likewise.
39169 * math/w_scalbl.c: Likewise.
39170 * math/w_sinh.c: Likewise.
39171 * math/w_sinhf.c: Likewise.
39172 * math/w_sinhl.c: Likewise.
39173 * math/w_sqrt.c: Likewise.
39174 * math/w_sqrtf.c: Likewise.
39175 * math/w_sqrtl.c: Likewise.
39176 * math/w_tgamma.c: Likewise.
39177 * math/w_tgammaf.c: Likewise.
39178 * math/w_tgammal.c: Likewise.
39179
39180 * po/ja.po: Update from translation team.
39181
391822011-09-29 Andreas Jaeger <aj@suse.de>
39183
39184 [BZ #13179]
39185 * sunrpc/netname.c (netname2host): Fix logic.
39186
39187 [BZ #6779]
39188 [BZ #6783]
39189 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39190 correctly.
39191 * math/w_remainder.c (__remainder): Likewise.
39192 * math/w_remainderf.c (__remainderf): Likewise.
39193 * math/libm-test.inc (remainder_test): Add test cases.
39194
391952011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39196
39197 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39198 sdiv_qrnnd.
39199
392002011-10-07 Ulrich Drepper <drepper@gmail.com>
39201
39202 * string/test-memcmp.c: Avoid unncessary #defines.
39203 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39204
392052011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39206
39207 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39208 Use new sse2 version for core i3 - i7 as it's faster
39209 than sse42 version.
39210 (bit_Prefer_PMINUB_for_stringop): New.
39211 * sysdeps/x86_64/rawmemchr.S: Update.
39212 Replace with faster SSE2 version.
39213 * sysdeps/x86_64/memrchr.S: New file.
39214 * sysdeps/x86_64/memchr.S: Update.
39215 Replace with faster SSE2 version.
39216
392172011-09-12 Marek Polacek <mpolacek@redhat.com>
39218
39219 * elf/dl-load.c (lose): Add cast to avoid warning.
39220
392212011-10-07 Ulrich Drepper <drepper@gmail.com>
39222
39223 * po/ca.po: Update from translation team.
39224
39225 * inet/getnetgrent_r.c: Hook up nscd.
39226 * nscd/Makefile (routines): Add nscd_netgroup.
39227 (nscd-modules): Add netgroupcache.
39228 (CFLAGS-netgroupcache.c): Define.
39229 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39230 (cache_search): Add const to second parameter.
39231 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39232 INNETGR.
39233 (dbs): Add netgrdb entry.
39234 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39235 (verify_persistent_db): Handle netgrdb.
39236 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39237 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39238 GETFDNETGR.
39239 (netgroup_response_header): Define.
39240 (innetgroup_response_header): Define.
39241 (datahead): Add netgroup_response_header and innetgroup_response_header
39242 elements.
39243 * nscd/nscd.conf: Add entries for netgroup cache.
39244 * nscd/nscd.h (dbtype): Add netgrdb.
39245 (_PATH_NSCD_NETGROUP_DB): Define.
39246 (netgroup_iov_disabled): Declare.
39247 (xmalloc, xcalloc, xrealloc): Move declarations here.
39248 (cache_search): Adjust prototype.
39249 Add netgroup-related prototypes.
39250 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39251 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39252 (__nscd_innetgr): Declare.
39253 * nscd/selinux.c (perms): Use access_vector_t as element type and
39254 add netgroup-related initializers.
39255 * nscd/netgroupcache.c: New file.
39256 * nscd/nscd_netgroup.c: New file.
39257 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39258 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39259 For four parameters use innetgr.
39260 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39261 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39262 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39263 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39264
39265 * nscd/connections.c (register_traced_file): Don't register file
39266 for disabled databases.
39267
392682011-10-06 Ulrich Drepper <drepper@gmail.com>
39269
39270 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39271
39272 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39273 from tree and freeing node.
39274
392752011-09-25 Jiri Olsa <jolsa@redhat.com>
39276
39277 * nss/nsswitch.c (__nss_database_lookup): Handle
39278 nss_parse_service_list out of memory case.
39279
392802011-09-15 Jiri Olsa <jolsa@redhat.com>
39281
39282 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39283 out of memory case.
39284
392852011-10-04 Andreas Schwab <schwab@redhat.com>
39286
39287 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39288 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39289 pass it down.
39290 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39291 elf_machine_rela, elf_machine_lazy_rel.
39292 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39293 (ELF_DYNAMIC_DO_REL): Likewise.
39294 (ELF_DYNAMIC_DO_RELA): Likewise.
39295 (ELF_DYNAMIC_RELOCATE): Likewise.
39296 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39297 to ELF_DYNAMIC_DO_REL.
39298 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39299 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39300 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39301 elf_machine_rela.
39302 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39303 skip_ifunc, don't call ifunc function if non-zero.
39304 (elf_machine_rela): Likewise.
39305 (elf_machine_lazy_rel): Likewise.
39306 (elf_machine_lazy_rela): Likewise.
39307 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39308 (elf_machine_lazy_rel): Likewise.
39309 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39310 Likewise.
39311 (elf_machine_lazy_rel): Likewise.
39312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39313 Likewise.
39314 (elf_machine_lazy_rel): Likewise.
39315 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39316 (elf_machine_lazy_rel): Likewise.
39317 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39318 (elf_machine_lazy_rel): Likewise.
39319 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39320 (elf_machine_lazy_rel): Likewise.
39321 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39322 (elf_machine_lazy_rel): Likewise.
39323 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39324 (elf_machine_lazy_rel): Likewise.
39325 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39326 (elf_machine_lazy_rel): Likewise.
39327
393282011-09-28 Ulrich Drepper <drepper@gmail.com>
39329
39330 * nss/nss_files/files-init.c (_nss_files_init): Use static
39331 initialization for all the *_traced_file variables.
39332
393332011-09-28 Andreas Schwab <schwab@redhat.com>
39334
39335 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39336
393372011-09-27 Roland McGrath <roland@hack.frob.com>
39338
39339 [BZ #13226]
39340 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39341
393422011-09-27 Andreas Schwab <schwab@redhat.com>
39343
39344 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39345 Reread the line before reparsing it.
39346
393472011-09-26 Andreas Schwab <schwab@redhat.com>
39348
39349 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39350
393512011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39352 Maxim Kuvyrkov <maxim@codesourcery.com>
39353 Joseph Myers <joseph@codesourcery.com>
39354
39355 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39356 if needed for __stack_chk_guard.
39357
393582011-09-19 Roland McGrath <roland@hack.frob.com>
39359
39360 * sysdeps/posix/spawni.c (script_execute): Always define it.
39361 It will be optimized away if unused.
39362 (maybe_script_execute): New function.
39363 (__spawni): Call it.
39364
39365 * Makerules: Don't include tls.make.
39366 (config-tls): Always set to thread.
39367 * tls.make.c: File removed.
39368
393692011-09-19 Mike Frysinger <vapier@gentoo.org>
39370
39371 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39372 * config.make.in (CPPFLAGS-config): New substituted variable.
39373
393742011-09-15 Ulrich Drepper <drepper@gmail.com>
39375
39376 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39377
39378 [BZ #13192]
39379 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39380 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39381
393822011-09-15 Roland McGrath <roland@hack.frob.com>
39383
39384 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39385 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39386 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39387 (CALL_FAIL): Likewise.
39388 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39389 (CALL_FAIL): Macro removed.
39390 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39391
393922011-09-15 Ulrich Drepper <drepper@gmail.com>
39393
39394 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39395 for __FINITE_MATH_ONLY__ == 1.
39396
393972011-09-15 Andreas Schwab <schwab@redhat.com>
39398
39399 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39400 __ieee754_sqrt instead of sqrt.
39401 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39402 __ieee754_sqrtf instead of sqrtf.
39403 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39404 __floorf instead of floorf.
39405 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39406 __floorf, __truncf instead of floorf, truncf.
39407
394082011-09-14 Ulrich Drepper <drepper@gmail.com>
39409
39410 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39411
39412 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39413 __extern_always_inline.
39414 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39415 32-bit.
39416
394172011-09-14 Andreas Schwab <schwab@redhat.com>
39418
39419 * elf/rtld.c (dl_main): Also relocate in dependency order when
39420 doing symbol dependency testing.
39421
394222011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39423
39424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39425 Always define `refsym'.
39426
394272011-09-13 Andreas Schwab <schwab@redhat.com>
39428
39429 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39430 (__FD_ELT): Renamed from __FDELT.
39431 * misc/bits/select2.h (__FD_ELT): Likewise.
39432 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39433 __FD_MASK instead of __FDELT, __FDMASK.
39434 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39435 Likewise.
39436 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39437 Likewise.
39438
39439 * elf/Makefile (gen-ldd): Fix pattern.
39440
39441 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39442 (init_tls): Likewise.
39443
394442011-09-12 Ulrich Drepper <drepper@gmail.com>
39445
39446 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39447
394482011-09-12 Andreas Schwab <schwab@redhat.com>
39449
39450 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39451 `struct cmsghdr *' instead of `void *'.
39452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39453 Likewise.
39454
394552011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39456
39457 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39458 if non-absolute.
39459 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39460 ldd_rewrite_script.
39461
394622011-09-11 Ulrich Drepper <drepper@gmail.com>
39463
39464 * configure.in: Remove --with-tls option.
39465 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39466 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39467 out in case it is missing.
39468 * sysdeps/ia64/elf/configure.in: Likewise.
39469 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39470 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39471 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39472 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39473 * sysdeps/sh/elf/configure.in: Likewise.
39474 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39475 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39476 * sysdeps/x86_64/elf/configure.in: Likewise.
39477 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39478 * sysdeps/mach/hurd/tls.h: Likewise.
39479
39480 [BZ #13067]
39481 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39482
39483 [BZ #13090]
39484 * configure.in: Fix use of AC_INIT.
39485
39486 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39487
394882011-09-10 Ulrich Drepper <drepper@gmail.com>
39489
39490 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39491 __set_errno.
39492 * malloc/hooks.c: Likewise.
39493
39494 [BZ #11929]
39495 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39496 variables statically.
39497 (narenas): Initialize.
39498 (list_lock): Initialize.
39499 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39500 initializtion of main_arena and list_lock. Small cleanups.
39501 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39502 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39503 Add initializers to main_arena and mp_.
39504 (malloc_state): Remove pagesize member. Change all users to use
39505 GLRO(dl_pagesize).
39506
39507 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39508 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39509 is always initialized.
39510
39511 * malloc/malloc.c: Removed unused configurations and dead code.
39512 * malloc/arena.c: Likewise.
39513 * malloc/hooks.c: Likewise.
39514 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39515
39516 * include/tls.h: Removed. USE___THREAD must always be defined.
39517 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39518 * elf/dl-libc.c: Likewise.
39519 * elf/dl-tsd.c: Likewise.
39520 * include/errno.h: Likewise.
39521 * include/netdb.h: Likewise.
39522 * include/resolv.h: Likewise.
39523 * inet/herrno-loc.c: Likewise.
39524 * inet/herrno.c: Likewise.
39525 * malloc/arena.c: Likewise.
39526 * malloc/hooks.c: Likewise.
39527 * malloc/malloc.c: Likewise.
39528 * resolv/res-state.c: Likewise.
39529 * resolv/res_libc.c: Likewise.
39530 * sysdeps/i386/dl-machine.h: Likewise.
39531 * sysdeps/ia64/dl-machine.h: Likewise.
39532 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39533 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39534 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39535 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39536 * sysdeps/sh/dl-machine.h: Likewise.
39537 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39538 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39539 * sysdeps/unix/i386/sysdep.S: Likewise.
39540 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39541 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39542 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39543 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39544 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39545 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39546 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39547 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39548 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39550 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39551 * sysdeps/x86_64/dl-machine.h: Likewise.
39552 * tls.make.c: Likewise.
39553
39554 * configure.in: Remove --with-__thread option. Make tests for
39555 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39556 tls_model attribute fail if no support is available. Remove
39557 USE_IN_LIBIO.
39558 * Makeconfig: Adjust for dropped configure option. All features are
39559 now mandatory.
39560 * Makerules: Likewise.
39561 * Versions.def: Likewise.
39562 * argp/argp-fmtstream.c: Likewise.
39563 * argp/argp-fmtstream.h: Likewise.
39564 * argp/argp-help.c: Likewise.
39565 * assert/assert.c: Likewise.
39566 * config.h.in: Likewise.
39567 * config.make.in: Likewise.
39568 * configure: Likewise.
39569 * configure.in: Likewise.
39570 * csu/Versions: Likewise.
39571 * csu/init.c: Likewise.
39572 * elf/tst-audit2.c: Likewise.
39573 * elf/tst-tls10.c: Likewise.
39574 * elf/tst-tls10.h: Likewise.
39575 * elf/tst-tls11.c: Likewise.
39576 * elf/tst-tls12.c: Likewise.
39577 * elf/tst-tls14.c: Likewise.
39578 * elf/tst-tlsmod11.c: Likewise.
39579 * elf/tst-tlsmod12.c: Likewise.
39580 * elf/tst-tlsmod13.c: Likewise.
39581 * elf/tst-tlsmod13a.c: Likewise.
39582 * elf/tst-tlsmod14a.c: Likewise.
39583 * elf/tst-tlsmod15b.c: Likewise.
39584 * elf/tst-tlsmod16a.c: Likewise.
39585 * elf/tst-tlsmod16b.c: Likewise.
39586 * elf/tst-tlsmod7.c: Likewise.
39587 * elf/tst-tlsmod8.c: Likewise.
39588 * elf/tst-tlsmod9.c: Likewise.
39589 * gmon/gmon.c: Likewise.
39590 * grp/fgetgrent_r.c: Likewise.
39591 * grp/putgrent.c: Likewise.
39592 * hurd/fopenport.c: Likewise.
39593 * include/libc-symbols.h: Likewise.
39594 * include/tls.h: Likewise.
39595 * intl/gettextP.h: Likewise.
39596 * intl/loadinfo.h: Likewise.
39597 * locale/global-locale.c: Likewise.
39598 * locale/localeinfo.h: Likewise.
39599 * mach/devstream.c: Likewise.
39600 * malloc/arena.c: Likewise.
39601 * malloc/set-freeres.c: Likewise.
39602 * misc/err.c: Likewise.
39603 * misc/getttyent.c: Likewise.
39604 * misc/mntent_r.c: Likewise.
39605 * posix/getopt.c: Likewise.
39606 * posix/wordexp.c: Likewise.
39607 * pwd/fgetpwent_r.c: Likewise.
39608 * resolv/Versions: Likewise.
39609 * resolv/res_hconf.c: Likewise.
39610 * shadow/fgetspent_r.c: Likewise.
39611 * shadow/putspent.c: Likewise.
39612 * stdio-common/printf_fphex.c: Likewise.
39613 * stdio-common/tmpfile.c: Likewise.
39614 * stdlib/abort.c: Likewise.
39615 * stdlib/fmtmsg.c: Likewise.
39616 * sunrpc/auth_unix.c: Likewise.
39617 * sunrpc/clnt_perr.c: Likewise.
39618 * sunrpc/clnt_tcp.c: Likewise.
39619 * sunrpc/clnt_udp.c: Likewise.
39620 * sunrpc/clnt_unix.c: Likewise.
39621 * sunrpc/openchild.c: Likewise.
39622 * sunrpc/svc_simple.c: Likewise.
39623 * sunrpc/svc_tcp.c: Likewise.
39624 * sunrpc/svc_udp.c: Likewise.
39625 * sunrpc/svc_unix.c: Likewise.
39626 * sunrpc/xdr.c: Likewise.
39627 * sunrpc/xdr_array.c: Likewise.
39628 * sunrpc/xdr_rec.c: Likewise.
39629 * sunrpc/xdr_ref.c: Likewise.
39630 * sunrpc/xdr_stdio.c: Likewise.
39631
396322011-09-09 Ulrich Drepper <drepper@gmail.com>
39633
39634 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39635
396362011-07-03 Andreas Jaeger <aj@suse.de>
39637
39638 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39639 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39640 regenerate with gen-libm-tests.pl.
39641
396422010-05-12 Petr Baudis <pasky@suse.cz>
39643
39644 [BZ #11589]
39645 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39646 around j0() zero points by switching to j1().
39647 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39648 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39650 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39651
396522011-09-09 Ulrich Drepper <drepper@gmail.com>
39653
39654 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39655 instead of 0.
39656 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39657 instead of 0.
39658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39659 Patch in part by Pavel Roskin <proski@gnu.org>.
39660
39661 [BZ #13138]
39662 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39663 realloc.
39664 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39665 Free memory block if necessary.
39666
39667 [BZ #12847]
39668 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39669 be NULL. Don't lock in this case.
39670
396712011-09-09 Roland McGrath <roland@hack.frob.com>
39672
39673 * elf/elf.h (ELFOSABI_GNU): New macro.
39674 (ELFOSABI_LINUX): Define to that.
39675
396762011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39677
39678 * string/strncat.c (strncat): Undef the symbol in case it has been
39679 defined in bits/string.h.
39680
396812011-09-09 Ulrich Drepper <drepper@gmail.com>
39682
39683 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39684
39685 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39686 link map.
39687
396882011-08-17 Andreas Jaeger <aj@suse.de>
39689
39690 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39691
396922011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39693 Ian Lance Taylor <iant@google.com>
39694
39695 * math/libm-test.inc (lround_test): New testcase.
39696 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39697
396982011-09-08 Ulrich Drepper <drepper@gmail.com>
39699
39700 * Makefile: Remove support for automatic cvs check-ins.
39701 * Makerules: Likewise.
39702 * config.make.in: Likewise.
39703 * configure.in: Likewise.
39704 * intl/Makefile: Likewise.
39705 * locale/Makefile: Likewise.
39706 * po/Makefile: Likewise.
39707 * posix/Makefile: Likewise.
39708 * sysdeps/gnu/Makefile: Likewise.
39709 * sysdeps/mach/hurd/Makefile: Likewise.
39710 * sysdeps/sparc/sparc32/Makefile: Likewise.
39711
39712 [BZ #13118]
39713 * posix/Makefile (bug-regex32-ENV): Define.
39714 Patch by John Stanley <jpsinthemix@verizon.net>.
39715
39716 * misc/Makefile (headers): Add bits/select2.h.
39717 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39718 * misc/bits/select2.h: New file.
39719 * include/bits/select2.h: New file.
39720 * debug/Makefile (routines): Add fdelt_chk.
39721 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39722 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39723 FD_ISSET.
39724 * debug/fdelt_chk.c: New file.
39725
39726 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39727 * wcsmbs/test-wmemcmp.c: Likewise.
39728 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39729 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39730
397312011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39732
39733 * string/Makefile (strop-tests): Add memcmp.
39734 * string/test-wmemcmp.c: New file.
39735 * string/test-memcmp.c: Add wmemcmp support.
39736
397372011-09-08 Roland McGrath <roland@hack.frob.com>
39738
39739 [BZ #13153]
39740 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39741 2011-07-19 change.
39742
39743 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39744 garbage value in a __mach_port_mod_refs call in the cases of the
39745 task-self and thread-self ports.
39746
397472011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39748
39749 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39750
397512011-09-08 Andreas Schwab <schwab@redhat.com>
39752
39753 * elf/dl-load.c (lose): Check for non-null L.
39754
397552011-09-07 Ulrich Drepper <drepper@gmail.com>
39756
39757 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39758
39759 * elf/dl-libc.c (dlerror_run): Pass back error code from
39760 dl_catch_error.
39761
39762 [BZ #13123]
39763 * elf/dl-load.c (lose): Free l_origin if it is valid.
39764
39765 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39766 names.
39767 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39768 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39769 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39770 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39771 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39772 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39773
397742011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39775
39776 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39777 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39778 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39779 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39780 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39781 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39782 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39783 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39784 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39785 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39786
397872011-08-15 Alan Modra <amodra@gmail.com>
39788
39789 [BZ #13092]
39790 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39791 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39792 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39793 ppc_mcount to static-only-routines.
39794 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39795 __mcount_internal.
39796 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39797 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39798
397992011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39800
39801 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39802 for finite and infinity parameters.
39803
398042011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39805
39806 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39807 and add nop instructions for throughput optimization.
39808 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39809
398102011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39811
39812 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39813 aligned copy for power7 with vector-scalar instructions.
39814 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39815
398162011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39817
39818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39819 AVX check.
39820
398212011-09-07 Andreas Schwab <schwab@redhat.com>
39822
39823 [BZ #13144]
39824 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39825 last change.
39826
398272011-09-07 Ulrich Drepper <drepper@gmail.com>
39828
39829 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39830 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39831 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39832 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39833 clock_gettime.
39834
398352011-09-06 Ulrich Drepper <drepper@gmail.com>
39836
39837 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39838 Forgot to demangle the pointer.
39839
39840 * sysdeps/i386/sysdep.h: Define atom_text_section.
39841 * sysdeps/x86_64/sysdep.h: Likewise.
39842 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39843 section with atom_text_section.
39844 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39845 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39846 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39848 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39849
39850 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39851 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39852 already be defined. Change to take two parameters and don't assign
39853 result to variable. Adjust all users.
39854 Define INTERNAL_GETTIME if not already defined.
39855 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39856 call.
39857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39858 HAVE_CLOCK_GETTIME_VSYSCALL.
39859 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39860
39861 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39862 gettimeofday vsyscall, just use time.
39863
398642011-09-06 Andreas Schwab <schwab@redhat.com>
39865
39866 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39867 <errno.h>.
39868
398692011-09-06 Ulrich Drepper <drepper@gmail.com>
39870
39871 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39872 syscall on x86-64.
39873 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39874 syscall.
39875 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39876 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39877 syscall if possible.
39878
398792011-09-05 Ulrich Drepper <drepper@gmail.com>
39880
39881 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39882 e_ident. Don't pass to find_mapsXX.
39883 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39884
398852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39886
39887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39888 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39889 * sysdeps/x86_64/multiarch/strchr.S: Update.
39890 Check bit_slow_BSF bit.
39891 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39892 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39893 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39894
398952011-09-05 Ulrich Drepper <drepper@gmail.com>
39896
39897 [BZ #13134]
39898 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39899 before glibc 2.15.
39900 (tryshell): Define.
39901 (__spawni): Change last parameter to be flag. Test
39902 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39903 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39904 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39905 * posix/spawni.c: Likewise.
39906 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39907 * posix/spawnp.c: Likewise. Change normal version to use
39908 SPAWN_XFLAGS_USE_PATH.
39909 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39910 SPAWN_XFLAGS_TRY_SHELL.
39911
39912 [BZ #13150]
39913 * posix/glob.h: Remove gcc 1.x support.
39914
39915 [BZ #13068]
39916 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39917
399182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39919
39920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39921 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39922 strrchr-sse2-bsf
39923 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39924 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39925 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39926 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39927 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39928 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39929
399302011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39931
39932 * sysdeps/x86_64/wcscmp.S: New file.
39933
39934 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39935 wcscmp-c wcscmp-sse2
39936 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39937 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39938 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39939 * wcsmbs/wcscmp.c: Allow renaming.
39940
399412011-09-05 David S. Miller <davem@davemloft.net>
39942
39943 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39944 stack slot, rather than the struct return pointer slot.
39945 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39946 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39948 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39949
399502011-09-05 Ulrich Drepper <drepper@gmail.com>
39951
39952 * po/ja.po: Update from translation team.
39953
39954 [BZ #13144]
39955 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39956 kernel in 64-bit binaries.
39957
399582011-09-01 David S. Miller <davem@davemloft.net>
39959
39960 * elf/elf.h (HWCAP_SPARC_*): Move to..
39961 * sysdeps/sparc/sysdep.h: this new file and add new values.
39962 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39963 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39964 _DL_HWCAP_COUNT to 24.
39965 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39966 entries.
39967 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39968 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39969 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39970 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39971 instead of magic constants.
39972 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39973
399742011-08-31 David S. Miller <davem@davemloft.net>
39975
39976 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39978 Reimplement to do errno handling inline.
39979 (SYSCALL_ERROR_HANDLER): New macro.
39980 (__SYSCALL_STRING): Do not do errno handling in asm.
39981 (__CLONE_SYSCALL_STRING): Delete.
39982 (__INTERNAL_SYSCALL_STRING): Delete.
39983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39984 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39985 (PSEUDO): Reimplement to do errno handling inline.
39986 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39987 (SYSCALL_ERROR_HANDLER): New macro.
39988 (__SYSCALL_STRING): Do not do errno handling in asm.
39989 (__CLONE_SYSCALL_STRING): Delete.
39990 (__INTERNAL_SYSCALL_STRING): Delete.
39991 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39992 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39993 i386.
39994 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39995 (inline_syscall*): Add 'err' argument.
39996 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39997 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39998 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39999 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40000
40001 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40002 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40003
400042011-08-30 Andreas Schwab <schwab@redhat.com>
40005
40006 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40007
400082011-08-29 Jiri Olsa <jolsa@redhat.com>
40009
40010 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40011 directive.
40012
400132011-08-24 David S. Miller <davem@davemloft.net>
40014
40015 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40016
400172011-08-24 Andreas Schwab <schwab@redhat.com>
40018
40019 * elf/Makefile: Add rules to build and run unload8 test.
40020 * elf/unload8.c: New file.
40021 * elf/unload8mod1.c: New file.
40022 * elf/unload8mod1x.c: New file.
40023 * elf/unload8mod2.c: New file.
40024 * elf/unload8mod3.c: New file.
40025
40026 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40027 it wasn't used.
40028
400292011-08-23 David S. Miller <davem@davemloft.net>
40030
40031 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40032 subtract stack bias.
40033 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40034 %sp not %fp in calculations.
40035 (_JMPBUF_UNWINDS_ADJ): Likewise.
40036
40037 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40038 (aio_suspend): Call it to force an exception region around the
40039 AIO_MISC_WAIT() invocation.
40040
400412011-08-23 Andreas Schwab <schwab@redhat.com>
40042
40043 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40044 backslash.
40045
400462011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40047
40048 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40049 protection macro.
40050 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40051 and <dl-machine.h>.
40052 (Elf64_FuncDesc): Remove.
40053
400542011-08-22 David S. Miller <davem@davemloft.net>
40055
40056 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40057 sigaltstack check, add missing cfi directives.
40058 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40059 missing cfi directives, and sigaltstack handling.
40060
400612011-08-16 Andreas Schwab <schwab@redhat.com>
40062
40063 [BZ #11724]
40064 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40065 object is seen twice.
40066 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40067
40068 * elf/Makefile (distribute): Add tst-initorder2.c.
40069 (tests): Add tst-initorder2.
40070 (modules-names): Add tst-initorder2a tst-initorder2b
40071 tst-initorder2c tst-initorder2d. Add rules to build them.
40072 ($(objpfx)tst-initorder2.out): New rule.
40073 * elf/tst-initorder2.c: New file.
40074 * elf/tst-initorder2.exp: New file.
40075
400762011-08-22 Andreas Schwab <schwab@redhat.com>
40077
40078 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40079
40080 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40081 dependencies back to end of function.
40082
40083 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40084 $(elfobjdir)/ld.so.
40085
400862011-08-21 Ulrich Drepper <drepper@gmail.com>
40087
40088 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40089 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40090 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40091 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40092 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40093 of __vdso_gettimeofday.
40094 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40095 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40096 attribute_hidden.
40097 (_libc_vdso_platform_setup): Remove initialization of
40098 __vdso_gettimeofday and __vdso_time.
40099
401002011-08-20 Ulrich Drepper <drepper@gmail.com>
40101
40102 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40103 and fgetc_unlocked.
40104 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40105 getc_unlocked.
40106
40107 * elf/dl-open.c (add_to_global): Report additions to the global scope
40108 for LD_DEBUG=scopes.
40109 (dl_open_worker): Also print scope of newly loaded dependencies.
40110 (_dl_show_scope): Indicate if there is no scope.
40111
40112 [BZ #13114]
40113 * stdio-common/Makefile (tests): Add bug24.
40114 * stdio-common/bug24.c: New file.
40115
401162011-08-19 Andreas Jaeger <aj@suse.de>
40117
40118 [BZ #13114]
40119 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40120 non-existant file when using close-on-exec mode.
40121
401222011-08-20 Ulrich Drepper <drepper@gmail.com>
40123
40124 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40125 the very first instruction.
40126
40127 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40128 the CFI state in the end.
40129 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40130 inclusion of dl-trampoline.h.
40131 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40132
401332011-08-19 Andreas Schwab <schwab@redhat.com>
40134
40135 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40136 expectations for long double.
40137
40138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40139 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40140
401412011-08-14 David S. Miller <davem@davemloft.net>
40142
40143 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40144 artificual limit depends upon the system page size.
40145
401462011-08-17 Ulrich Drepper <drepper@gmail.com>
40147
40148 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40149 * resolv/Makefile: Define CFLAGS-libresolv.
40150
401512011-08-17 Andreas Schwab <schwab@redhat.com>
40152
40153 * nss/makedb.c (compute_tables): Make variables used in nested
40154 function static.
40155
401562011-08-17 Ulrich Drepper <drepper@gmail.com>
40157
40158 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40159 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40160 if buffer was too small.
40161
40162 * elf/pldd.c (main): Attach to all threads in the process.
40163 Rewrite /proc handling to use *at functions.
40164
401652011-08-16 Ulrich Drepper <drepper@gmail.com>
40166
40167 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40168 specifies first scope to show.
40169 (dl_open_worker): Update callers. Move printing scope of new
40170 object to before the relocation.
40171 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40172 * sysdeps/generic/ldsodefs.h: Update declaration.
40173
40174 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40175 string for the scope number.
40176
401772011-08-14 Ulrich Drepper <drepper@gmail.com>
40178
40179 * nscd/servicescache.c (cache_addserv): Make sure written is always
40180 initialized.
40181
401822011-08-14 Roland McGrath <roland@hack.frob.com>
40183
40184 * sysdeps/i386/i486/bits/atomic.h
40185 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40186 statement expression, so as to suppress "set but not used" warning.
40187 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40188
40189 * string/strncat.c (STRNCAT): Use prototype definition.
40190
40191 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40192 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40193 -Iprograms here.
40194 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40195 (localedef-modules): Add localedef.
40196 (locale-modules): Add locale.
40197
40198 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40199 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40200 to avoid a warning.
40201
402022011-08-14 David S. Miller <davem@davemloft.net>
40203
40204 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40205 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40206
402072011-08-13 Ulrich Drepper <drepper@gmail.com>
40208
40209 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40210 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40211 * elf/rtld.c (dl_main): Set l_name of vDSO.
40212 Call _dl_show_scope when DL_DEBUG_SCOPES.
40213 (process_dl_debug): Recognize scopes flag and also set it for all.
40214 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40215 Declare _dl_show_scope.
40216
40217 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40218 (do_dlopen): Pass caller_dlopen to dl_open.
40219 (__libc_dlopen_mode): Initialize caller_dlopen.
40220
40221 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40222 of libc. Make tolower call locale-independent. Optimize a bit by
40223 using isdigit instead of isalnum.
40224 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40225
402262011-08-12 Ulrich Drepper <drepper@gmail.com>
40227
40228 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40229 was a dependency or dynamically loaded.
40230
402312011-08-11 Ulrich Drepper <drepper@gmail.com>
40232
40233 * intl/l10nflist.c: Allow architecture-specific pop function.
40234 * sysdeps/x86_64/l10nflist.c: New file.
40235
40236 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40237 classification.
40238
402392011-08-10 Andreas Schwab <schwab@redhat.com>
40240
40241 * include/dirent.h: Add libc_hidden_proto for scandirat and
40242 scandirat64. Don't declare __scandirat64.
40243 * dirent/scandirat.c: Add libc_hidden_def.
40244 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40245 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40246
402472011-08-10 David S. Miller <davem@davemloft.net>
40248
40249 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40250 enum.
40251 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40252 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40253 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40254
402552011-08-09 Ulrich Drepper <drepper@gmail.com>
40256
40257 * Versions.def [libc]: Add GLIBC_2.15.
40258 * dirent/Makefile (routines): Add scandirat and scandirat64.
40259 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40260 GLIBC_2.15.
40261 * dirent/dirent.h: Declare scandirat and scandirat64.
40262 * dirent/scandirat.c: New file.
40263 * dirent/scandirat64.c: New file.
40264 * sysdeps/wordsize-64/scandirat.c: New file.
40265 * sysdeps/wordsize-64/scandirat64.c: New file.
40266 * dirent/opendir.c: Define opendirat.
40267 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40268 using scandirat.
40269 * dirent/scandir64.c: Adjust for scandir.c change.
40270 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40271 __scandirat64, and __scandir_cancel_handler.
40272 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40273 additional parameter and use openat instead of open (outside of ld.so).
40274 Add new __opendir as wrapper around __opendirat.
40275 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40276 here without requiring old scandirat implementation.
40277
402782011-08-08 Ulrich Drepper <drepper@gmail.com>
40279
40280 * dirent/scandir.c (cancel_handler): Renamed to
40281 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40282 defined. Adjust users.
40283 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40284 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40285
402862011-08-04 Ulrich Drepper <drepper@gmail.com>
40287
40288 * string/test-string.h (IMPL): Use __STRING to expand name and then
40289 stringify it.
40290
40291 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40292 of cleanups.
40293
402942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40295
40296 * string/Makefile: Update.
40297 (strop-tests): Append strncat.
40298 * string/test-wcscmp.c: New file.
40299 New comprehensive test for wcscmp.
40300 * string/test-strcmp.c: Update.
40301 (WIDE): New define.
40302
403032011-07-22 Andreas Schwab <schwab@redhat.com>
40304
40305 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40306 line.
40307
403082011-07-26 Andreas Schwab <schwab@redhat.com>
40309
40310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40311 encoding to ACE if AI_IDN.
40312
403132011-08-01 Jakub Jelinek <jakub@redhat.com>
40314
40315 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40316 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40317
403182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40319
40320 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40321 Fix overflow bug in strncat.
40322 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40323
40324 * string/test-strncat.c: Update.
40325 Add new tests for checking overflow bugs.
40326
403272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40328
40329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40330 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40331 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40332 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40333 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40334 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40335 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40336 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40337 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40338
40339 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40340 (USE_AS_STRCAT): Define.
40341 Add strcat and strncat support.
40342 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40343
403442011-07-25 Andreas Schwab <schwab@redhat.com>
40345
40346 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40347 __n bigger than INT_MAX+1.
40348 (__strncmp_g): Likewise.
40349
403502011-07-23 Ulrich Drepper <drepper@gmail.com>
40351
40352 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40353 * libio/stido.h: Likewise.
40354
40355 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40356 (AF_NFC): Define.
40357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40358 (AF_NFC): Define.
40359
40360 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40361 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40362 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40363 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40364 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40365
40366 [BZ #13021]
40367 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40368 installed.
40369
40370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40371 typo.
40372 (_dl_x86_64_save_sse): Likewise.
40373
403742011-07-22 Ulrich Drepper <drepper@gmail.com>
40375
40376 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40377 OSXSAVE.
40378 (_dl_x86_64_save_sse): Likewise.
40379
40380 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40381
40382 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40383
403842011-07-21 Andreas Schwab <schwab@redhat.com>
40385
40386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40387 change.
40388 (_dl_x86_64_save_sse): Use correct AVX check.
40389
403902011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40391
40392 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40393 bug in strncpy/strncat.
40394 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40395
403962011-07-21 Ulrich Drepper <drepper@gmail.com>
40397
40398 * string/tester.c (test_strcat): Add tests for different alignments
40399 of source and destination.
40400 (test_strncat): Likewise.
40401
404022011-07-20 Ulrich Drepper <drepper@gmail.com>
40403
40404 [BZ #12852]
40405 * posix/glob.c (glob): Check passed in values before using them in
40406 expressions to avoid some overflows.
40407 (glob_in_dir): Likewise.
40408
40409 [BZ #13007]
40410 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40411 check for AVX enablement so that we don't crash with old kernels and
40412 new hardware.
40413 * elf/tst-audit4.c: Add same checks here.
40414 * elf/tst-audit6.c: Likewise.
40415
40416 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40417
404182011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40419
40420 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40421
404222011-07-20 Ulrich Drepper <drepper@gmail.com>
40423
40424 * po/cs.po: Update from translation team.
40425 * po/bg.po: Likewise.
40426
404272011-07-12 Marek Polacek <mpolacek@redhat.com>
40428
40429 * misc/sys/cdefs.h: Add support for const attribute.
40430 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40431 to gnu_dev_{major,minor,makedev} functions.
40432
404332011-07-20 Marek Polacek <mpolacek@redhat.com>
40434
40435 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40436
404372011-07-20 Andreas Schwab <schwab@redhat.com>
40438
40439 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40440 strlen results.
40441
404422011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40443
40444 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40445 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40446 register in order to avoid conflicts with the soft frame pointer
40447 being held in r11 when necessary.
40448 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40449 (INTERNAL_VSYSCALL_NCS): Likewise.
40450
404512011-07-14 Marek Polacek <mpolacek@redhat.com>
40452
40453 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40454 * elf/dl-fini.c (_dl_fini): Adjust caller.
40455 * elf/dl-close.c (_dl_close_worker): Likewise.
40456 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40457
404582011-07-15 Marek Polacek <mpolacek@redhat.com>
40459
40460 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40461 "aux_cache->nlibs < 0".
40462
40463 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40464 in the reload-count case.
40465
404662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40467
40468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40469 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40470 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40471 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40472 * sysdeps/x86_64/multiarch/strcat.S: New file.
40473 * sysdeps/x86_64/multiarch/strncat.S: New file.
40474 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40475 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40476 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40477 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40478 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40479 (USE_AS_STRCAT): Define.
40480 Add strcat and strncat support.
40481 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40482 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40483 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40484 * string/strncat.c: Update.
40485 (USE_AS_STRNCAT): Define.
40486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40487 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40488 and i7.
40489 * sysdeps/x86_64/multiarch/init-arch.h
40490 (bit_Prefer_PMINUB_for_stringop): New.
40491 (index_Prefer_PMINUB_for_stringop): Likewise.
40492 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40493 bit_Prefer_PMINUB_for_stringop.
40494
404952011-07-19 Ulrich Drepper <drepper@gmail.com>
40496
40497 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40498 buffer64.
40499 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40500 of casting of buffer.
40501 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40502 buffer32 and buffer64.
40503 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40504 writes instead of casting of buffer.
40505 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40506 buffer32.
40507 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40508 casting of buffer.
40509
405102011-07-19 Andreas Schwab <schwab@redhat.com>
40511
40512 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40513
405142011-07-19 Ulrich Drepper <drepper@gmail.com>
40515
40516 * nscd/nscd.c (termination_handler): Don't do anything for a database
40517 if it has not yet been initialized.
40518
405192011-07-18 Ulrich Drepper <drepper@gmail.com>
40520
40521 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40522
405232011-07-15 Marek Polacek <mpolacek@redhat.com>
40524
40525 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40526
405272011-07-18 Ulrich Drepper <drepper@gmail.com>
40528
40529 * po/nl.po: Update from translation team.
40530 * po/sv.po: Likewise.
40531
405322011-07-16 Roland McGrath <roland@hack.frob.com>
40533
40534 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40535 now disallowed by GCC.
40536
40537 * configure.in (use-default-link): Default to yes if a test -shared
40538 link meets our qualifications.
40539 * configure: Regenerated.
40540
40541 * config.make.in (output-format): New variable.
40542 * configure.in: Check for ld --print-output-format support.
40543 * configure: Regenerated.
40544 * Makerules ($(common-objpfx)format.lds)
40545 [$(output-format) != unknown]: Just use $(output-format),
40546 instead of the linker-script munging.
40547
405482011-07-14 Roland McGrath <roland@hack.frob.com>
40549
40550 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40551 of $(common-objpfx)shlib.lds.
40552 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40553
40554 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40555 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40556
40557 * configure.in (-z relro check): Adjust test code to add a large
40558 writable data section after it.
40559 * configure: Regenerated.
40560
405612011-07-11 Roland McGrath <roland@hack.frob.com>
40562
40563 * configure.in (-z relro check): Fix test code to make the variable
40564 truly const.
40565 * configure: Regenerated.
40566
405672011-07-11 Ulrich Drepper <drepper@gmail.com>
40568
40569 * nscd/nscd.h (struct traced_file): Define.
40570 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40571 elements. Add traced_files.
40572 (inotify_fd): Declare.
40573 (register_traced_file): Declare.
40574 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40575 (inotify_fd): Export.
40576 (resolv_conf_descr): Remove.
40577 (nscd_init): Move inotify descriptor creation to main.
40578 Don't register files for notification here.
40579 (register_traced_file): New function.
40580 (invalidate_cache): Don't use reset_res to determine whether to call
40581 res_init, go through the list of registered files.
40582 (main_loop_poll): The inotify descriptors are now stored in the
40583 structures for the traced files.
40584 (main_loop_epoll): Likewise
40585 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40586 to __nss_disable_nscd.
40587 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40588 for a database anymore. Check the records for all the registered
40589 files instead.
40590 * nss/Makefile (libnss_files-routines): Add files-init.
40591 (libnss_db-routines): Add db-init.
40592 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40593 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40594 * nss/nss_db/db-init.c: New file.
40595 * nss/nss_files/files-init.c: New file.
40596 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40597 __nss_lookup_function.
40598 (__nss_lookup_function): Call nss_load_library.
40599 (nss_load_all_libraries): New function.
40600 (__nss_disable_nscd): Take parameter with callback function for files
40601 to register. Set is_nscd. Load all the DSOs for the NSS modules
40602 used for the cached services.
40603 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40604 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40605 options for features to all the files in nscd.
40606
40607 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40608
406092011-07-10 Roland McGrath <roland@hack.frob.com>
40610
40611 * csu/elf-init.c (__libc_csu_init): Comment typo.
40612
406132011-07-09 Ulrich Drepper <drepper@gmail.com>
40614
40615 * po/pl.po: Update from translation team.
40616 * po/ja.po: Likewise.
40617 * po/ru.po: Likewise.
40618 * po/ko.po: Likewise.
40619 * po/fr.po: Likewise.
40620
406212011-07-09 Roland McGrath <roland@hack.frob.com>
40622
40623 * configure.in (.ctors/.dtors header and trailer check):
40624 Use an empirical test on a built program.
40625 * configure: Regenerated.
40626
40627 * configure.in (-z relro check): Use an empirical test on a built DSO.
40628 Detect, but do not require, on ia64.
40629 * configure: Regenerated.
40630
40631 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40632 Update tests that use readelf to use $READELF instead.
40633 * configure: Regenerated.
40634
406352011-07-08 Ulrich Drepper <drepper@gmail.com>
40636
40637 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40638 if the result is not used.
40639
406402011-07-05 Andreas Jaeger <aj@suse.de>
40641
40642 [BZ#9696]
40643 * stdlib/tst-strtod.c: Add testcase.
40644
406452011-07-07 Ulrich Drepper <drepper@gmail.com>
40646
40647 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40648 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40649 The latter has a higher limit. Take additional parameter to pass to
40650 the new function.
40651 (__pathconf): Pass file to __statfs_link_max.
40652 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40653 __statfs_link_max.
40654 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40655 __statfs_link_max.
40656
40657 [BZ #12868]
40658 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40659 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40660 Handle Lustre.
40661 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40662 (__statfs_filesize_max): Likewise.
40663 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40664
406652011-07-05 Andreas Jaeger <aj@suse.de>
40666
40667 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40668
406692011-07-06 Marek Polacek <mpolacek@redhat.com>
40670
40671 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40672 `status' variable.
40673 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40674 Likewise.
40675
406762011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40677
40678 * Makefile (strop-tests): Add strncat.
40679 * string/test-strncat.c: New file.
40680
406812011-06-30 Marek Polacek <mpolacek@redhat.com>
40682
40683 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40684
406852011-06-21 Andreas Jaeger <aj@suse.de>
40686
40687 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40688 Copy rule from iconvdata/Makefile.
40689
406902011-07-06 Ulrich Drepper <drepper@gmail.com>
40691
40692 [BZ #12922]
40693 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40694 but no long options are defined, just return 'W'.
40695
406962011-06-22 Marek Polacek <mpolacek@redhat.com>
40697
40698 [BZ #9696]
40699 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40700
407012011-07-06 Ulrich Drepper <drepper@gmail.com>
40702
40703 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40704 netgroups to read.
40705 (innetgr): Likewise.
40706
407072011-07-05 Roland McGrath <roland@hack.frob.com>
40708
40709 * config.make.in (install_root): Default to $(DESTDIR).
40710
407112011-07-05 Ulrich Drepper <drepper@gmail.com>
40712
40713 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40714
407152011-07-02 Roland McGrath <roland@hack.frob.com>
40716
40717 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40718
40719 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40720 containing directory rather than embedding absolute directory names.
40721
40722 * scripts/check-local-headers.sh: Rewritten using awk.
40723 Match by word, not by line. Print error messages for matches.
40724 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40725
40726 * Makerules [shlib-lds-flags empty]:
40727 ($(common-objpfx)libc_pic.opts): New target.
40728 ($(common-objpfx)libc_pic.os.clean): New target.
40729 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40730
40731 * config.make.in (OBJCOPY): New variable.
40732 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40733 * configure: Regenerated.
40734
40735 * config.make.in (use-default-link): New variable.
40736 * configure.in (use_default_link): Grok --with-default-link to set it.
40737 * configure: Regenerated.
40738 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40739 (shlib-lds, shlib-lds-flags): Define to empty.
40740
40741 * Makerules (shlib-lds): New variable.
40742 (shlib-lds-flags): New variable.
40743 (build-shlib, build-moduile, build-module-asneeded): Use it.
40744 ($(common-objpfx)libc.so): Use $(shlib-lds).
40745 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40746 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40747
40748 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40749 DT_FLAGS/DT_FLAGS_1 with zero flags.
40750
40751 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40752 linker script munging.
40753
407542011-07-02 Ulrich Drepper <drepper@gmail.com>
40755
40756 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40757 as 128-bit value.
40758 * crypt/sha512.c (sha512_process_block): Perform total addition using
40759 128-bit if possible.
40760 (__sha512_finish_ctx): Likewise.
40761 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40762 as 64-bit value.
40763 * crypt/sha256.c (SWAP64): Define.
40764 (sha256_process_block): Perform total addition using 64-bit if
40765 possible.
40766 (__sha256_finish_ctx): Likewise.
40767
407682011-07-01 Ulrich Drepper <drepper@gmail.com>
40769
40770 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40771 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40772 * nscd/hstcache.c (cache_addhst): Likewise.
40773 * nscd/grpcache.c (cache_addgr): Likewise.
40774 * nscd/aicache.c (addhstaiX): Likewise
40775 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40776
407772011-07-01 Thorsten Kukuk <kukuk@suse.de>
40778
40779 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40780 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40781 * nscd/hstcache.c (cache_addhst): Likewise.
40782 * nscd/grpcache.c (cache_addgr): Likewise.
40783 * nscd/aicache.c (addhstaiX): Likewise
40784
407852011-07-01 Andreas Schwab <schwab@redhat.com>
40786
40787 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40788 domain only when needed.
40789
407902011-06-30 Andreas Schwab <schwab@redhat.com>
40791
40792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40793 is always restored.
40794
407952011-06-29 Ulrich Drepper <drepper@gmail.com>
40796
40797 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40798 are re-adding the entry.
40799 * nscd/servicescache.c (cache_addserv): Likewise.
40800
408012011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40802
40803 * sysdeps/generic/dl-irel.h: fix protection against multiple
40804 inclusions.
40805 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40806
408072011-06-28 Ulrich Drepper <drepper@gmail.com>
40808
40809 [BZ #12935]
40810 * malloc/memusage.sh: Fix quoting in message.
40811 * debug/xtrace.sh: Likewise.
40812
40813 * configure.in: Remove support for --experimental-malloc option, make
40814 it the default.
40815 * config.make.in: Likewise.
40816 * malloc/Makefile: Likewise.
40817
408182011-06-27 Andreas Schwab <schwab@redhat.com>
40819
40820 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40821 two-byte characters.
40822
408232011-06-27 Roland McGrath <roland@hack.frob.com>
40824
40825 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40826 AC_CACHE_CHECK invocation.
40827 * configure: Regenerated.
40828
40829 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40830
408312011-06-27 Ulrich Drepper <drepper@gmail.com>
40832
40833 [BZ #12350]
40834 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40835 bit from old_res_options.
40836
40837 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40838
40839 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40840 value type for setfct.
40841
408422011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40843
40844 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40845 __gettimeofday instead of gettimeofday.
40846
408472011-06-26 Ulrich Drepper <drepper@gmail.com>
40848
40849 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40850
408512011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40852
40853 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40854
40855 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40856 info.
40857
408582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40859
40860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40861 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40862 strcpy-sse2-unaligned strncpy-sse2-unaligned
40863 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40864 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40865 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40866 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40867 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40868 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40869 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40870 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40871 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40872 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40873 (STRCPY): Support SSE2 and SSSE3 versions.
40874
408752011-06-24 Ulrich Drepper <drepper@gmail.com>
40876
40877 [BZ #12874]
40878 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40879 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40880 kernels which artificially limit size of requests.
40881
408822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40883
40884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40885 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40886 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40887 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40888 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40889 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40890 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40891 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40892 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40893 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40894 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40895 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40896 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40897 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40898 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40900 Enable unaligned load optimization for Intel Core i3, i5 and i7
40901 processors.
40902 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40903 Define.
40904 (index_Fast_Unaligned_Load): Define.
40905 (HAS_FAST_UNALIGNED_LOAD): Define.
40906
409072011-06-23 Marek Polacek <mpolacek@redhat.com>
40908
40909 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40910
409112011-06-22 Ulrich Drepper <drepper@gmail.com>
40912
40913 [BZ #12907]
40914 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40915 until it is clear that the information is realy needed.
40916 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40917
409182011-06-22 Andreas Schwab <schwab@redhat.com>
40919
40920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40921
409222011-06-22 Ulrich Drepper <drepper@gmail.com>
40923
40924 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40925 /sys/devices/system/cpu/online if it is usable.
40926
40927 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40928 reading the information from the /proc filesystem to once a second.
40929
409302011-06-21 Andreas Jaeger <aj@suse.de>
40931
40932 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40933 NULL after inclusion of kernel headers.
40934
409352011-06-21 Ulrich Drepper <drepper@gmail.com>
40936
40937 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40938 calls to internal_setent.
40939
40940 [BZ #12885]
40941 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40942 addresses using gethostbyname4_r ignore IPv4 addresses.
40943
40944 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40945 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40946
40947 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40948
409492011-06-20 David S. Miller <davem@davemloft.net>
40950
40951 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40952 inclusions.
40953 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40954
40955 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40956 (elf_irel): Use it.
40957 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40958 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40959 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40960 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40961 * sysdeps/x86_64/dl-irel.h: Likewise.
40962
40963 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40964 * elf/dl-sym.c: Likewise.
40965
409662011-06-15 Ulrich Drepper <drepper@gmail.com>
40967
40968 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40969 need to dereference resplen2.
40970
409712011-06-14 Andreas Schwab <schwab@redhat.com>
40972
40973 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40974
409752011-06-15 Ulrich Drepper <drepper@gmail.com>
40976
40977 * Makeconfig: Define vardbdir and inst_vardbdir.
40978 * nss/Makefile: Add rules to install db-Makefile.
40979
40980 * nss/nss_db/db-XXX.c: Cleanup.
40981
40982 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40983 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40984 GLIBC_PRIVATE.
40985 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40986 * nss/makedb.c: Implement -g option to specify that value strings
40987 are generated and should not be added to table iterated over for
40988 get*ent calls.
40989 * nss/nss_db/db-initgroups.c: New file.
40990
40991 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40992 interface.
40993
40994 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40995 (internal_getgrouplist): Adjust to name change.
40996 Update use_initgroups_entry if this is not the first call.
40997 * nss/databases.def: Add initgroups entry.
40998
40999 * nss/makedb.c (compute_tables): Check result of multiple hash table
41000 sizes to minimize maximum chain length.
41001
410022011-06-14 Ulrich Drepper <drepper@gmail.com>
41003
41004 * Versions.def: Add entry for libnss_db.
41005 * shlib-versions: Likewise.
41006 * nss/Makefile: Add rules to build libnss_db.
41007 * nss/Versions: Add libnss_db information. Organize libnss_files
41008 entries better.
41009 * nss/db-Makefile: Add gshadow support. Change rules for the new
41010 makedb progra. Some minor improvements to generate smaller files.
41011 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41012 here from...
41013 * nss/makedb.c: ...here.
41014 Improve database format to be smaller and require less memory at
41015 runtime.
41016 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41017 db anymore.
41018 * nss/nss_db/db-netgrp.c: Likewise.
41019 * nss/nss_db/db-open.c: Likewise.
41020 * nss/nss_files/flies-XXX.x: Adjust comments.
41021 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41022 * nss/nss_files/files-grp.c: Likewise.
41023 * nss/nss_files/files-hosts.c: Likewise.
41024 * nss/nss_files/files-network.c: Likewise.
41025 * nss/nss_files/files-proto.c: Likewise.
41026 * nss/nss_files/files-pwd.c: Likewise.
41027 * nss/nss_files/files-rpc.c: Likewise.
41028 * nss/nss_files/files-service.c: Likewise.
41029 * nss/nss_files/files-sgrp.c: Likewise.
41030 * nss/nss_files/files-spwd.c: Likewise.
41031 * nss/nss_db/db-alias.c: Removed.
41032 * nss/nss_db/dummy-db.h: Removed.
41033
410342011-06-02 Ulrich Drepper <drepper@gmail.com>
41035
41036 * nss/makedb.c: Rewritten to not use database library.
41037 * nss/Makefile: Update to build new makedb program.
41038
410392011-06-14 Andreas Jaeger <aj@suse.de>
41040
41041 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41042 memset declaration.
41043
410442011-06-10 Andreas Schwab <schwab@redhat.com>
41045
41046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41047 tmpbuf.
41048
410492011-06-10 Roland McGrath <roland@hack.frob.com>
41050
41051 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41052 * elf/Makefile ($(objpfx)ld.so): Likewise.
41053
41054 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41055 Don't list ld.so twice in dependencies.
41056
41057 * posix/bug-regex31.c: Include <stdlib.h>.
41058
41059 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41060
41061 * nis/nss_compat/compat-spwd.c
41062 (getspent_next_nss_netgr): Remove unused variable.
41063 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41064
41065 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41066 nonmembers" output to use the right array.
41067
41068 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41069
41070 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41071
41072 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41073 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41074 * catgets/gencat.c (read_input_file): Likewise.
41075 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41076
41077 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41078 variable definition inside #if's controlling its use.
41079
41080 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41081
41082 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41083
41084 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41085
41086 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41087 unreachable code.
41088
41089 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41090
41091 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41092 * configure: Regenerated.
41093
41094 * Makerules: Revert last change.
41095 * elf/Makefile: Likewise.
41096
410972011-06-09 Roland McGrath <roland@hack.frob.com>
41098
41099 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41100 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41101 (reloc-link): Likewise.
41102
411032011-06-09 Ulrich Drepper <drepper@gmail.com>
41104
41105 * elf/Makefile: Add rules to build pldd.
41106 * elf/pldd.c: New file.
41107 * elf/pldd-xx.c: New file.
41108
411092011-06-07 Ulrich Drepper <drepper@gmail.com>
41110
41111 * version.h: Update for 2.15 development version.
41112
411132011-06-07 David S. Miller <davem@davemloft.net>
41114
41115 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41116 ifuncs.
41117 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41118 elf_machine_lazy_rel): Likewise.
41119 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41120 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41121 elf_machine_lazy_rel): Likewise.
41122 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41123 dl_hwcap via passed in argument.
41124 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41125 Likewise.
41126
411272011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41128
41129 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41130
411312011-06-06 Roland McGrath <roland@hack.frob.com>
41132
41133 [BZ #12849]
41134 * manual/fdl-1.1.texi: New file, verbatim from:
41135 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41136 * manual/lgpl-2.1.texi: New file, verbatim from:
41137 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41138 * manual/Makefile (licenses): New variable, list those new file names.
41139 (texis): Use it.
41140 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41141
41142 * manual/fdl.texi: File removed.
41143 * manual/lesser.texi: File removed.
41144 * manual/libc.texinfo (Copying, Documentation License):
41145 Use new @include file names, put @appendix directive before @include.
41146
411472011-06-04 Jakub Jelinek <jakub@redhat.com>
41148
41149 [BZ #12841]
41150 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41151 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41152 (mq_open): Add __NTH.
41153
411542011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41155
41156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41157 Assume Intel Core i3/i5/i7 processor if AVX is available.
41158
411592011-05-31 Ulrich Drepper <drepper@gmail.com>
41160
41161 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41162 typo.
41163
411642011-05-31 Andreas Schwab <schwab@redhat.com>
41165
41166 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41167 memory. Use alloca_account. Fix memory leak when retrying.
41168
411692011-05-31 Ulrich Drepper <drepper@gmail.com>
41170
41171 * version.h (RELEASE): Bump for 2.14 release.
41172 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41173
41174 * config.make.in (RANLIB): Remove entry.
41175
411762011-05-30 Ulrich Drepper <drepper@gmail.com>
41177
41178 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41179 (libc.pot): Work around missing support for .ksh extension in xgettext.
41180
41181 [BZ #12684]
41182 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41183 if both request failed.
41184 (send_dg): In case of server errors clear resplen or *resplen2.
41185
41186 [BZ #12454]
41187 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41188 when there are multiple maps.
41189 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41190 (_dl_fini): Remove test here.
41191
41192 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41193
411942011-05-29 Ulrich Drepper <drepper@gmail.com>
41195
41196 [BZ #12350]
41197 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41198 bit from old_res_options.
41199 (gaih_inet): Likewise.
41200
41201 [BZ #11099]
41202 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41203 as signed.
41204
41205 * resolv/res_init.c (res_setoptions): Make the code more compact.
41206
41207 [BZ #11558]
41208 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41209 set RES_USEVC.
41210
41211 [BZ #11634]
41212 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41213
41214 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41215
41216 [BZ #11781]
41217 * malloc/malloc.h: Declare malloc hook variables as volatile.
41218
41219 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41220 in last patch.
41221
41222 [BZ #11799]
41223 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41224 raise in the comment.
41225 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41226 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41227 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41228
412292011-05-28 Ulrich Drepper <drepper@gmail.com>
41230
41231 [BZ #12811]
41232 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41233 grow the buffers more if it already has to be sufficient.
41234 (build_wcs_upper_buffer): Likewise.
41235 * posix/regexec.c (check_matching): Likewise.
41236 (clean_state_log_if_needed): Likewise.
41237 (extend_buffers): Don't enlarge buffers beyond size of the input
41238 buffer.
41239 Patches mostly by Emil Wojak <emil@wojak.eu>.
41240 * posix/bug-regex32.c: New file.
41241 * posix/Makefile (tests): Add bug-regex32.
41242
41243 * locale/findlocale.c (_nl_find_locale): Return right away if
41244 _nl_explode_name failed.
41245 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41246
41247 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41248
41249 * debug/xtrace.sh: Unify messages.
41250 * malloc/memusage.sh: Likewise.
41251
41252 [BZ #12813]
41253 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41254 time symbol from vDSO. Substitute with vsyscall if not available.
41255 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41256 __vdso_time.
41257
41258 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41259 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41260 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41261 Add sendmmsg and internal_sendmmsg.
41262 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41263 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41264 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41265
41266 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41267 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41268 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41269
412702011-05-27 Ulrich Drepper <drepper@gmail.com>
41271
41272 [BZ #12813]
41273 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41274 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41275 available.
41276 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41277 __vdso_getcpu.
41278
41279 [BZ #12814]
41280 * iconvdata/Makefile (tests): Add bug-iconv9.
41281 * iconvdata/bug-iconv9.c: New file.
41282
412832011-05-27 Andreas Schwab <schwab@redhat.com>
41284
41285 [BZ #12814]
41286 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41287
412882011-05-25 Jakub Jelinek <jakub@redhat.com>
41289
41290 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41291 (struct user_regs_struct): Change intcs field back to cs.
41292
412932011-05-25 Ulrich Drepper <drepper@gmail.com>
41294
41295 * po/ja.po: Update from translation team.
41296
412972011-05-23 Ulrich Drepper <drepper@gmail.com>
41298
41299 [BZ #12795]
41300 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41301 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41302
413032011-05-20 Andreas Schwab <schwab@redhat.com>
41304
41305 * stdlib/longlong.h: Update from GCC.
41306
413072011-05-23 Andreas Schwab <schwab@redhat.com>
41308
41309 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41310 parameter name.
41311 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41312 Add parameter name.
41313 (__sysconf): Pass it down.
41314
413152011-05-22 Ulrich Drepper <drepper@gmail.com>
41316
41317 [BZ #12671]
41318 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41319 some situations.
41320 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41321 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41322 add in in __libc_use_alloca calls. Adjust callers.
41323 (glob): Use malloc in some situations.
41324
41325 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41326 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41327 pltexit.
41328
413292011-05-21 Ulrich Drepper <drepper@gmail.com>
41330
41331 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41332 and CLOCK_BOOTTIME_ALARM.
41333
41334 [BZ #12782]
41335 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41336 is returned.
41337
41338 * string/_strerror.c (__strerror_r): Print negative errors as signed
41339 numbers.
41340
41341 [BZ #12777]
41342 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41343 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41344 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41345
41346 * configure.in: Fix typo in redirection and correct removal of test
41347 files in two cases.
41348
41349 [BZ #12788]
41350 * locale/setlocale.c (new_composite_name): Fix test to check for
41351 identical name of all categories.
41352
41353 [BZ #12792]
41354 * libio/filedoalloc.c (local_isatty): New function.
41355 (_IO_file_doallocate): Use local_isatty.
41356 * stdio-common/perror.c (perror): In case a new stream is used
41357 forward the stream error.
41358 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41359 error flag.
41360
413612011-05-20 Ulrich Drepper <drepper@gmail.com>
41362
41363 [BZ #11869]
41364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41365 alloca.
41366 * include/alloca.h (extend_alloca_account): Define.
41367
41368 [BZ #11857]
41369 * posix/regex.h: Fix comments with documentation of user-accessible
41370 fields after compilation and describe correct free'ing of pattern
41371 after re_compile_pattern.
41372 Patch by Reuben Thomas <rrt@sc3d.org>.
41373
413742011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41375
41376 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41377 and -mno-altivec to prevent the compiler from using Altivec and/or
41378 VSX instructions when the corresponding registers are not available.
41379
413802011-05-19 Andreas Schwab <schwab@redhat.com>
41381
41382 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41383
413842011-05-19 Ulrich Drepper <drepper@gmail.com>
41385
41386 * libio/freopen.c (freopen): Use __dup2, not dup2.
41387 * libio/freopen64.c (freopen64): Likewise.
41388
413892011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41390
41391 [BZ #12775]
41392 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41393 * math/Makefile (tests): Add test-powl.
41394 (CFLAGS-test-powl.c): Define.
41395 * math/test-powl.c: New file.
41396
413972011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41398
41399 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41400
414012011-05-17 Ulrich Drepper <drepper@gmail.com>
41402
41403 [BZ #11837]
41404 * iconvdata/gb18030.c: Update to GB18020-2005.
41405
414062011-05-16 Ulrich Drepper <drepper@gmail.com>
41407
41408 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41409 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41410 Patch by Aharon Robbins <arnold@skeeve.com>.
41411
41412 [BZ #11892]
41413 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41414 on the stack.
41415
41416 [BZ #11895]
41417 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41418 through underflows.
41419
41420 [BZ #12766]
41421 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41422 point to strings before performing equality test for error_one_per_line
41423 mode.
41424
41425 [BZ #11697]
41426 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41427
41428 [BZ #11820]
41429 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41430 (struct user_fpregs_struct): Avoid __uint*_t types.
41431
41432 [BZ #6420]
41433 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41434 symbol info. Use it instead of calling _dl_addr locally.
41435 (lock_and_info): New function.
41436 (tr_freehook): Call lock_and_info and pass symbol info as additional
41437 parameter to tr_where.
41438 (tr_mallochook): Likewise.
41439 (tr_reallochook): Likewise.
41440 (tr_memalignhook): Likewise.
41441
41442 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41443 used and couldn't be at all thread-safe.
41444
414452011-05-15 Ulrich Drepper <drepper@gmail.com>
41446
41447 * libio/freopen.c (freopen): Don't close old file descriptor
41448 before the new one is opened. Instead dup the new file descriptor
41449 to the old one after the new stream is created.
41450 * libio/freopen64.c (freopen64): Likewise.
41451 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41452 * libio/fileops.c (_IO_new_file_close_it): Handle new
41453 _IO_FLAGS2_NOCLOSE flag.
41454 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41455 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41456 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41457 _IO_FLAGS2_NOCLOSE flag.
41458 * include/unistd.h: Add hidden_proto for dup3.
41459 Define __have_dup3.
41460 * io/dup3.c: Define hidden symbol.
41461 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41462
41463 [BZ #7101]
41464 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41465 when an incomplete long option is used.
41466 * posix/tst-getopt_long1.c: New file.
41467 * posix/Makefile (tests): Add tst-getopt_long1.
41468
41469 [BZ #10138]
41470 * scripts/config.guess: Update from autoconf-2.68.
41471 * scripts/config.sub: Likewise.
41472
41473 [BZ #10157]
41474 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41475 tests into ...
41476 (has_cpuclock): ...this. New function.
41477 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41478 macro here based on has_cpuclock code.
41479
41480 [BZ #10149]
41481 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41482 First byte (not low byte) is now always NUL.
41483 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41484
41485 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41486 Use non-cancelable interfaces.
41487
41488 [BZ #9809]
41489 * locale/iso-639.def: Add entry for Sorani.
41490
41491 [BZ #11901]
41492 * include/stdlib.h: Move include protection to the right place.
41493 Define abort_msg_s. Declare __abort_msg with it.
41494 * stdlib/abort.c (__abort_msg): Adjust type.
41495 * assert/assert.c (__assert_fail_base): New function. Majority
41496 of code from __assert_fail. Allocate memory for __abort_msg with
41497 mmap.
41498 (__assert_fail): Now call __assert_fail_base.
41499 * assert/assert-perr.c: Remove bulk of implementation. Use
41500 __assert_fail_base.
41501 * include/assert.hL Declare __assert_fail_base.
41502 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41503 mmap.
41504 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41505
415062011-05-14 Ulrich Drepper <drepper@gmail.com>
41507
41508 [BZ #11952]
41509 [BZ #12453]
41510 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41511 until all modules are registered in the DTV.
41512 * elf/Makefile: Add rules to build and run tst-tls19.
41513 * elf/tst-tls19.c: New file.
41514 * elf/tst-tls19mod1.c: New file.
41515 * elf/tst-tls19mod2.c: New file.
41516 * elf/tst-tls19mod3.c: New file.
41517 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41518
41519 [BZ #12083]
41520 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41521 correctly.
41522
41523 [BZ #12601]
41524 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41525 two-byte sequence errors.
41526 * iconvdata/Makefile (tests): Add bug-iconv8.
41527 * iconvdata/bug-iconv8.c: New file.
41528
41529 [BZ #12626]
41530 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41531 buf2 definition.
41532
41533 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41534
41535 [BZ #12432]
41536 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41537 (dummy_getcfa): New function.
41538 (init): Get _Unwind_GetCFA address, use dummy if not found.
41539 (backtrace_helper): In recursion check, also check whether CFA changes.
41540 (__backtrace): Completely initialize arg.
41541
41542 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41543 storing incomplete byte sequence in state object. Avoid testing for
41544 guaranteed too small input if we know there is enough data available.
41545
415462011-05-11 Andreas Schwab <schwab@redhat.com>
41547
41548 * Makeconfig (+link-pie): Indent.
41549 * Rules (binaries-pie): Define if $(have-fpie) and
41550 $(build-shared).
41551 (binaries-shared): Also filter out $(binaries-pie).
41552 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41553 * nscd/Makefile (others-pie): Add nscd.
41554 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41555 ($(objpfx)nscd): Remove command override.
41556 * login/Makefile (others-pie): Add pt_chown.
41557 ($(objpfx)pt_chown): Remove command override.
41558 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41559 remove command overrides.
41560
415612011-05-13 Ulrich Drepper <drepper@gmail.com>
41562
41563 * libio/tst_putwc.c: Fix error messages.
41564
41565 [BZ #12724]
41566 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41567 currently writing and seek to current position when not.
41568 * libio/Makefile (tests): Add bug-fclose1.
41569 * libio/bug-fclose1.c: New file.
41570
415712011-05-12 Ulrich Drepper <drepper@gmail.com>
41572
41573 [BZ #12511]
41574 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41575 don't set DF_1_NODELETE here.
41576 (do_lookup_x): When entering new entry test for copy relocation
41577 and if necessary set DF_1_NODELETE flag.
41578 * elf/tst-unique4.cc: New file.
41579 * elf/tst-unique4.h: New file.
41580 * elf/tst-unique4lib.cc: New file.
41581 * elf/Makefile: Add rules to build and run tst-unique4.
41582 Patch by Piotr Bury <pbury@goahead.com>.
41583
415842011-05-11 Ulrich Drepper <drepper@gmail.com>
41585
41586 [BZ #12052]
41587 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41588
41589 [BZ #12625]
41590 * misc/mntent_r.c (addmntent): Flush the stream after the output
41591
41592 [BZ #12393]
41593 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41594 (is_trusted_path_normalize): Skip initial colon. Append slash
41595 to empty buffer. Duplicate is_trusted_path code but allow
41596 constructed patch to be prefix.
41597 (is_dst): Allow $ORIGIN followed by /.
41598 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41599 Correct testing of result of is_trusted_path_normalize
41600 (decompose_rpath): Fix warning.
41601
416022011-05-10 Ulrich Drepper <drepper@gmail.com>
41603
41604 [BZ #11257]
41605 * grp/initgroups.c (internal_getgrouplist): When we found the service
41606 list through the initgroups entry in nsswitch.conf do not always
41607 continue on a successful lookup. Don't always use the
41608 __nss_group_database value if it is set.
41609 * nss/nsswitch.conf (initgroups): Change action for successful db
41610 lookup to continue for compatibility.
41611
416122011-05-09 Ulrich Drepper <drepper@gmail.com>
41613
41614 [BZ #11532]
41615 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41616 and CP774 modules.
41617 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41618 and CP774 modules.
41619 * iconvdata/tst-tables.sh: Likewise.
41620 * iconvdata/cp770.c: New file.
41621 * iconvdata/cp771.c: New file.
41622 * iconvdata/cp772.c: New file.
41623 * iconvdata/cp773.c: New file.
41624 * iconvdata/cp774.c: New file.
41625 * iconvdata/testdata/CP770: New file.
41626 * iconvdata/testdata/CP770..UTF8: New file.
41627 * iconvdata/testdata/CP771: New file.
41628 * iconvdata/testdata/CP771..UTF8: New file.
41629 * iconvdata/testdata/CP772: New file.
41630 * iconvdata/testdata/CP772..UTF8: New file.
41631 * iconvdata/testdata/CP773: New file.
41632 * iconvdata/testdata/CP773..UTF8: New file.
41633 * iconvdata/testdata/CP774: New file.
41634 * iconvdata/testdata/CP774..UTF8: New file.
41635
41636 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41637 END CHARMAP line.
41638 * iconvdata/gen-8bit-gap.sh: Likewise.
41639 * iconvdata/gen-8bit.sh: Likewise.
41640
41641 * locale/iso-639.def: Add ary entry.
41642
41643 [BZ #11258]
41644 * locale/C-translit.h.in: Add U20A1 transliteration.
41645
41646 [BZ #12178]
41647 * locale/iso-639.def: Add wae entry.
41648 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41649
41650 [BZ #12545]
41651 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41652 for n.
41653
41654 [BZ #12711]
41655 * locale/C-translit.h.in: Add entry for U20B9.
41656 Patch by pravin.d.s@gmail.com.
41657
416582011-05-08 Ulrich Drepper <drepper@gmail.com>
41659
41660 [BZ #12713]
41661 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41662 ENAMETOOLONG use generic getcwd.
41663 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41664 in rtld. Use *stat64.
41665 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41666 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41667 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41668 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41669 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41670 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41671 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41672 __fstatat64 macros.
41673 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41674 * dirent/rewinddir.c: Add libc_hidden_def.
41675 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41676 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41677
41678 * include/dirent.h (__alloc_dir): Add flags parameter.
41679 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41680 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41681 __alloc_dir.
41682 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41683 from fdopendir if O_CLOEXEC is already set.
41684
416852011-03-15 Alan Modra <amodra@gmail.com>
41686
41687 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41688 l_tls_firstbyte_offset non-zero. Save padding offset in
41689 l_tls_firstbyte_offset for later use.
41690 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41691 freeing static tls block.
41692
416932011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41694
41695 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41696 where #ifdef was intended. The intent is to prevent ARG_MAX from
41697 being defined by the kernel headers.
41698
416992011-05-07 Ulrich Drepper <drepper@gmail.com>
41700
41701 [BZ #12734]
41702 * resolv/resolv.h: Define RES_NOTLDQUERY.
41703 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41704 no-tld-query and set RES_NOTLDQUERY.
41705 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41706 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41707 modern BIND to search name as TLD unless forbidden.
41708
417092011-05-07 Petr Baudis <pasky@suse.cz>
41710 Ulrich Drepper <drepper@gmail.com>
41711
41712 [BZ #12393]
41713 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41714 (is_trusted_path): ...to here.
41715 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41716 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41717 using is_trusted_path_normalize() in setuid scripts.
41718
417192011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41720
41721 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41722 __BEGIN/__END_DECLS.
41723
417242011-05-06 Ulrich Drepper <drepper@gmail.com>
41725
41726 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41727 NSS_STATUS_NOTFOUND if no record was found.
41728
417292011-05-05 Andreas Schwab <schwab@redhat.com>
41730
41731 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41732 (headers-not-in-tirpc): Remove rpc/netdb.h
41733 * resolv/netdb.h: Revert last change.
41734
417352011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41736
41737 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41738 circular dependency between libgcc.a and libc.a.
41739
417402011-05-05 Andreas Schwab <schwab@redhat.com>
41741
41742 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41743 * nis/Makefile: Don't install rpcsvc/*.
41744 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41745 instead of <rpc/types.h>.
41746 (MAXHOSTNAMELEN): Define.
41747
417482011-05-03 Andreas Schwab <schwab@redhat.com>
41749
41750 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41751
417522011-04-28 Maciej Babinski <mbabinski@google.com>
41753
41754 [BZ #12714]
41755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41756 gethostbyname4_r when IPv6 results are possible.
41757
417582011-05-02 Ulrich Drepper <drepper@gmail.com>
41759
41760 [BZ #12723]
41761 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41762 _PC_PIPE_BUF handling.
41763
417642011-04-30 Bruno Haible <bruno@clisp.org>
41765
41766 [BZ #12717]
41767 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41768 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41769 to 'int'.
41770 * inet/getnameinfo.c (getnameinfo): Likewise.
41771
417722011-04-29 Ulrich Drepper <drepper@gmail.com>
41773
41774 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41775 to groups setting in database lookup.
41776 * nss/nsswitch.conf: Add initgroups entry.
41777
417782011-04-22 Ulrich Drepper <drepper@gmail.com>
41779
41780 [BZ #12685]
41781 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41782 mode string.
41783 Patch by Eric Blake <eblake@redhat.com>.
41784
417852011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41786
41787 * sunrpc/Makefile (need-export-routines): Add svc_run.
41788 (routines): Remove svc_run.
41789 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41790 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41791 * sunrpc/svc_run.c (svc_run): Likewise.
41792 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41793
417942011-04-21 Ulrich Drepper <drepper@gmail.com>
41795
41796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41797 problem in reallocation in last patch.
41798
417992011-04-20 Ulrich Drepper <drepper@gmail.com>
41800
41801 * sunrpc/Makefile: Move inclusion of Rules.
41802
418032011-04-19 Ulrich Drepper <drepper@gmail.com>
41804
41805 * nss/nss_files/files-initgroups.c: New file.
41806 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41807 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41808 _nss_files_initgroups_dyn.
41809
418102011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41811
41812 * elf/elf.h (R_ARM_IRELATIVE): Define.
41813
418142011-04-19 Ulrich Drepper <drepper@gmail.com>
41815
41816 * po/ru.po: Update from translation team.
41817
418182011-04-17 Ulrich Drepper <drepper@gmail.com>
41819
41820 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41821 dependencies.
41822
418232011-02-06 Mike Frysinger <vapier@gentoo.org>
41824
41825 [BZ #12653]
41826 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41827 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41828 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41829 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41830 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41831
418322011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41833
41834 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41835 differing bytes.
41836 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41837 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41838 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41839
418402011-04-17 Ulrich Drepper <drepper@gmail.com>
41841
41842 [BZ #12420]
41843 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41844 storing it.
41845 * stdlib/bug-getcontext.c: New file.
41846 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41847
418482011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41849
41850 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41851 instructions into .machine "z9-109".
41852 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41853 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41854
418552011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41856
41857 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41858 between environment variables and auxiliary vector.
41859
418602011-04-16 Ulrich Drepper <drepper@gmail.com>
41861
41862 * Makefile: Add rules to build linkobj/libc.so.
41863 * include/libc-symbols.h: Define libc_hidden_nolink.
41864 * include/rpc/auth.h: Mark functions which are to be hidden.
41865 * include/rpc/auth_des.h: Likewise.
41866 * include/rpc/auth_unix.h: Likewise.
41867 * include/rpc/clnt.h: Likewise.
41868 * include/rpc/des_crypt.h: Likewise.
41869 * include/rpc/key_prot.h: Likewise.
41870 * include/rpc/pmap_clnt.h: Likewise.
41871 * include/rpc/pmap_prot.h: Likewise.
41872 * include/rpc/pmap_rmt.h: Likewise.
41873 * include/rpc/rpc_msg.h: Likewise.
41874 * include/rpc/svc.h: Likewise.
41875 * include/rpc/svc_auth.h: Likewise.
41876 * include/rpc/xdr.h: Likewise.
41877 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41878 * nss/Makefile: Likewise.
41879 * sunrpc/Makefile: Don't install headers. Build library with normal
41880 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41881 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41882 for the compat linking library. Remove use of INTDEF/INTUSE.
41883 * sunrpc/auth_none.c: Likewise.
41884 * sunrpc/auth_unix.c: Likewise.
41885 * sunrpc/authdes_prot.c: Likewise.
41886 * sunrpc/authuxprot.c: Likewise.
41887 * sunrpc/clnt_gen.c: Likewise.
41888 * sunrpc/clnt_perr.c: Likewise.
41889 * sunrpc/clnt_raw.c: Likewise.
41890 * sunrpc/clnt_simp.c: Likewise.
41891 * sunrpc/clnt_tcp.c: Likewise.
41892 * sunrpc/clnt_udp.c: Likewise.
41893 * sunrpc/clnt_unix.c: Likewise.
41894 * sunrpc/des_crypt.c: Likewise.
41895 * sunrpc/des_soft.c: Likewise.
41896 * sunrpc/get_myaddr.c: Likewise.
41897 * sunrpc/key_call.c: Likewise.
41898 * sunrpc/key_prot.c: Likewise.
41899 * sunrpc/netname.c: Likewise.
41900 * sunrpc/pm_getmaps.c: Likewise.
41901 * sunrpc/pm_getport.c: Likewise.
41902 * sunrpc/pmap_clnt.c: Likewise.
41903 * sunrpc/pmap_prot.c: Likewise.
41904 * sunrpc/pmap_prot2.c: Likewise.
41905 * sunrpc/pmap_rmt.c: Likewise.
41906 * sunrpc/publickey.c: Likewise.
41907 * sunrpc/rpc_cmsg.c: Likewise.
41908 * sunrpc/rpc_common.c: Likewise.
41909 * sunrpc/rpc_dtable.c: Likewise.
41910 * sunrpc/rpc_prot.c: Likewise.
41911 * sunrpc/rpc_thread.c: Likewise.
41912 * sunrpc/rtime.c: Likewise.
41913 * sunrpc/svc.c: Likewise.
41914 * sunrpc/svc_auth.c: Likewise.
41915 * sunrpc/svc_authux.c: Likewise.
41916 * sunrpc/svc_raw.c: Likewise.
41917 * sunrpc/svc_run.c: Likewise.
41918 * sunrpc/svc_simple.c: Likewise.
41919 * sunrpc/svc_tcp.c: Likewise.
41920 * sunrpc/svc_udp.c: Likewise.
41921 * sunrpc/svc_unix.c: Likewise.
41922 * sunrpc/svcauth_des.c: Likewise.
41923 * sunrpc/xcrypt.c: Likewise.
41924 * sunrpc/xdr.c: Likewise.
41925 * sunrpc/xdr_array.c: Likewise.
41926 * sunrpc/xdr_float.c: Likewise.
41927 * sunrpc/xdr_intXX_t.c: Likewise.
41928 * sunrpc/xdr_mem.c: Likewise.
41929 * sunrpc/xdr_rec.c: Likewise.
41930 * sunrpc/xdr_ref.c: Likewise.
41931 * sunrpc/xdr_sizeof.c: Likewise.
41932 * sunrpc/xdr_stdio.c: Likewise.
41933
419342011-04-10 Ulrich Drepper <drepper@gmail.com>
41935
41936 [BZ #12650]
41937 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41938 * sysdeps/ia64/dl-tls.h: Likewise.
41939 * sysdeps/powerpc/dl-tls.h: Likewise.
41940 * sysdeps/s390/dl-tls.h: Likewise.
41941 * sysdeps/sh/dl-tls.h: Likewise.
41942 * sysdeps/sparc/dl-tls.h: Likewise.
41943 * sysdeps/x86_64/dl-tls.h: Likewise.
41944 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41945
419462011-03-14 Andreas Schwab <schwab@redhat.com>
41947
41948 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41949 rpath element also skip the following colon.
41950 (expand_dynamic_string_token): Add is_path parameter and pass
41951 down to DL_DST_REQUIRED and _dl_dst_substitute.
41952 (decompose_rpath): Call expand_dynamic_string_token with
41953 non-zero is_path. Ignore empty rpaths.
41954 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41955 with zero is_path.
41956
419572011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41958
41959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41960 Make cancelable.
41961
419622011-04-09 Ulrich Drepper <drepper@gmail.com>
41963
41964 [BZ #12655]
41965 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41966 Patch by Filipe David Manana <fdmanana@apache.org>.
41967
419682011-04-07 Andreas Schwab <schwab@redhat.com>
41969
41970 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41971 Maintain aligned stack.
41972 (CHECK_RSP): Remove unused macro.
41973
419742011-04-03 Ulrich Drepper <drepper@gmail.com>
41975
41976 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41977 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41978
419792011-04-02 Ulrich Drepper <drepper@gmail.com>
41980
41981 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41982
41983 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41984
419852011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41986
41987 [BZ #12518]
41988 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41989 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41990 * sysdeps/x86_64/memmove.c: New file.
41991 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41992 (memcpy): Renamed to ...
41993 (__new_memcpy): This.
41994 (memcpy): Provide GLIBC_2_14 memcpy.
41995 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41996 (memcpy): Provide GLIBC_2_2_5 memcpy.
41997
419982011-04-01 Ulrich Drepper <drepper@gmail.com>
41999
42000 [BZ #12631]
42001 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42002
420032011-03-30 Andreas Schwab <schwab@redhat.com>
42004
42005 * misc/syncfs.c: New file.
42006 * misc/Makefile (routines): Add syncfs.
42007 * posix/unistd.h: Declare syncfs.
42008 * sysdeps/unix/syscalls.list: Add syncfs.
42009
420102011-04-01 Andreas Schwab <schwab@redhat.com>
42011
42012 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42013 open_by_handle_at.
42014 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42015 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42017 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42019 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42020 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42021
420222011-04-01 Ulrich Drepper <drepper@gmail.com>
42023
42024 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42025 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42026 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42028 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42029 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42030 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42031
42032 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42033 sync_file_range.c with -fexceptions.
42034 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42035 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42036 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42037 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42038 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42039 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42040 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42041 sync_file_range as cancellation point
42042 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42043 now a wrapper around __call_sync_file_range with cancellation handling.
42044 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42045 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42046 function name to __call_sync_file_range.
42047 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42048 Add call_sync_file_range.
42049
420502011-04-01 Andreas Schwab <schwab@redhat.com>
42051
42052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42053 bits/timex.h.
42054
420552011-04-01 Ulrich Drepper <drepper@gmail.com>
42056
42057 * iconv/iconv.h: Fix typo in comment.
42058 * io/fcntl.h: Likewise.
42059 * libio/stdio.h: Likewise.
42060 * posix/spawn.h: Likewise.
42061 * posix/unistd.h: Likewise.
42062 * stdlib/stdlib.h: Likewise.
42063 * time/time.h: Likewise.
42064 * wcsmbs/wchar.h: Likewise.
42065
42066 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42067 open_by_handle): Add.
42068 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42069 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42070 Augment a few comments.
42071 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42073 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42075 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42076 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42077 open_by_handle.
42078
42079 * io/fcntl.h (AT_EMPTY_PATH): Define.
42080
420812011-03-30 Ulrich Drepper <drepper@gmail.com>
42082
42083 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42084 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42085 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42086 to...
42087 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42088 * Versions.def: Add GLIBC_2.14.
42089 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42090 Export.
42091
420922011-03-22 Ulrich Drepper <drepper@gmail.com>
42093
42094 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42095 round counter.
42096 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42097
420982011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42099
42100 [BZ #12597]
42101 * string/test-strncmp.c (do_page_test): New function.
42102 (check2): Likewise.
42103 (test_main): Call check2.
42104 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42105
421062011-03-20 Ulrich Drepper <drepper@gmail.com>
42107
42108 [BZ #12587]
42109 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42110 Handle cache information in CPU leaf 4.
42111 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42112
421132011-03-18 Ulrich Drepper <drepper@gmail.com>
42114
42115 [BZ #12583]
42116 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42117 character representation.
42118 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42119
421202011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42121
42122 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42123 END(__isnan) to END(__isnanf) to match function entry point/label
42124 EALIGN(__isnanf,...).
42125
421262011-03-10 Jakub Jelinek <jakub@redhat.com>
42127
42128 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42129
421302011-03-10 Ulrich Drepper <drepper@gmail.com>
42131
42132 [BZ #12510]
42133 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42134 copy from the symbol referenced in the relocation to initialize the
42135 used variable.
42136 Patch by Piotr Bury <pbury@goahead.com>.
42137 * elf/Makefile: Add rules to build and tst-unique3.
42138 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42139 * elf/tst-unique3.cc: New file.
42140 * elf/tst-unique3.h: New file.
42141 * elf/tst-unique3lib.cc: New file.
42142 * elf/tst-unique3lib2.cc: New file.
42143
42144 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42145
421462011-03-10 Mike Frysinger <vapier@gentoo.org>
42147
42148 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42149 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42150 to _start.
42151
421522011-03-06 Ulrich Drepper <drepper@gmail.com>
42153
42154 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42155 to-be-loaded object along a path to loader is ld.so.
42156
421572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42158 Ulrich Drepper <drepper@gmail.com>
42159
42160 * sysdeps/x86_64/memset.S: After aligning destination, code
42161 branches to different locations depending on the value of
42162 misalignment, when multiarch is enabled. Fix this.
42163
421642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42165
42166 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42167 Set _x86_64_preferred_memory_instruction for AMD processsors.
42168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42169 Set bit_Prefer_SSE_for_memop for AMD processors.
42170
421712011-03-04 Ulrich Drepper <drepper@gmail.com>
42172
42173 * libio/fmemopen.c (fmemopen): Optimize a bit.
42174
421752011-03-03 Andreas Schwab <schwab@redhat.com>
42176
42177 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42178
421792011-03-03 Roland McGrath <roland@redhat.com>
42180
42181 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42182
421832011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42184
42185 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42186 __bzero_ultra1 instead of __memset_ultra1.
42187
421882011-02-23 Andreas Schwab <schwab@redhat.com>
42189 Ulrich Drepper <drepper@gmail.com>
42190
42191 [BZ #12509]
42192 * include/link.h (struct link_map): Add l_orig_initfini.
42193 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42194 returning unsuccessfully.
42195 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42196 close of a file loaded at startup, restore the original l_initfini
42197 list.
42198 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42199 list, store the pointer.
42200 * elf/Makefile ($(objpfx)noload-mem): New rule.
42201 (noload-ENV): Define.
42202 (tests): Add $(objpfx)noload-mem.
42203 * elf/noload.c: Include <memcheck.h>.
42204 (main): Call mtrace. Close all opened handles.
42205
422062011-02-17 Andreas Schwab <schwab@redhat.com>
42207
42208 [BZ #12454]
42209 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42210 dependencies are missing.
42211
422122011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42213
42214 Fix __if_freereq crash: Unlike the generic version which uses free,
42215 Hurd needs munmap.
42216 * sysdeps/mach/hurd/ifreq.h: New file.
42217
422182011-01-27 Petr Baudis <pasky@suse.cz>
42219 Ulrich Drepper <drepper@gmail.com>
42220
42221 [BZ 12445]#
42222 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42223 to extend_alloca().
42224 * stdio-common/bug23.c: New file.
42225 * stdio-common/Makefile (tests): Add bug23.
42226
422272010-09-28 Andreas Schwab <schwab@redhat.com>
42228 Ulrich Drepper <drepper@gmail.com>
42229
42230 [BZ #12489]
42231 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42232 before performing relro protection. At old place add assertion
42233 to make sure nothing changed.
42234
422352011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42236 Glauber de Oliveira Costa <glommer@gmail.com>
42237
42238 * elf/elf.h: Add new ARM TLS relocs.
42239
422402011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42241
42242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42243 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42244 cast from r3.
42245 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42246 'tests' variable.
42247 * sysdeps/wordsize-64/tst-writev.c: New file.
42248
422492011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42250
42251 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42252 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42253 insns in _dl_start to prevent a TOC reference before relocs are
42254 resolved.
42255
422562011-02-15 Ulrich Drepper <drepper@gmail.com>
42257
42258 [BZ #12469]
42259 * Makeconfig: Remove RANLIB definition.
42260 * Makerules: Don't use RANLIB.
42261 * aclocal.m4: Remove ranlib test.
42262 * configure.in: No need to check for ranlib.
42263 * elf/rtld-Rules: Don't use RANLIB.
42264
422652011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42266
42267 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42268 protection macro.
42269 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42270 inclusion protection macro.
42271
42272 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42273 SIGRTMIN and SIGRTMAX and print information in that case only when
42274 SIGRTMIN is defined.
42275
422762011-02-11 Jakub Jelinek <jakub@redhat.com>
42277
42278 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42279 arginfo fn returning -1.
42280
42281 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42282 and thousands string is zero terminated.
42283
422842011-02-03 Andreas Schwab <schwab@redhat.com>
42285
42286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42287 sysdeps/unix/sysv/linux/bits/socket.h.
42288
422892011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42290
42291 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42292 (__CPU_COUNT): Remove old macros.
42293 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42294 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42295 (__CPU_ALLOC, __CPU_FREE): Add macros.
42296 (__sched_cpualloc, __sched_cpufree): Add declarations.
42297
422982011-02-05 Ulrich Drepper <drepper@gmail.com>
42299
42300 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42301 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42302 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42303 (readdhstai): Return value of addhstaiX call.
42304 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42305 (addgrbyX): Return value returned by cache_addgr.
42306 (readdgrbyname): Return value returned by addgrbyX.
42307 (readdgrbygid): Likewise.
42308 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42309 (addpwbyX): Return value returned by cache_addpw.
42310 (readdpwbyname): Return value returned by addhstbyX.
42311 (readdpwbyuid): Likewise.
42312 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42313 (addservbyX): Return value returned by cache_addserv.
42314 (readdservbyname): Return value returned by addservbyX:
42315 (readdservbyport): Likewise.
42316 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42317 (addhstbyX): Return value returned by cache_addhst.
42318 (readdhstbyname): Return value returned by addhstbyX.
42319 (readdhstbyaddr): Likewise.
42320 (readdhstbynamev6): Likewise.
42321 (readdhstbyaddrv6): Likewise.
42322 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42323 (readdinitgroups): Return value returned by addinitgroupsX.
42324 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42325 (prune_cache): Keep track of timeout value of re-added entries.
42326 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42327 * nscd/nscd.h: Adjust prototypes of readd* functions.
42328
423292011-02-04 Roland McGrath <roland@redhat.com>
42330
42331 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42332 (nis_stats): Likewise.
42333 * nis/nis_modify.c (nis_modify): Likewise.
42334 * nis/nis_remove.c (nis_remove): Likewise.
42335 * nis/nis_add.c (nis_add): Likewise.
42336
42337 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42338
42339 * posix/fnmatch_loop.c: Add some consts.
42340
42341 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42342
423432011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42344
42345 [BZ #12460]
42346 * config.make.in (config-cflags-novzeroupper): Define.
42347 * configure.in: Substitute libc_cv_cc_novzeroupper.
42348 * elf/Makefile (AVX-CFLAGS): Define.
42349 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42350 (CFLAGS-tst-auditmod4a.c): Likewise.
42351 (CFLAGS-tst-auditmod4b.c): Likewise.
42352 (CFLAGS-tst-auditmod6b.c): Likewise.
42353 (CFLAGS-tst-auditmod6c.c): Likewise.
42354 (CFLAGS-tst-auditmod7b.c): Likewise.
42355 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42356
423572011-02-02 Ulrich Drepper <drepper@gmail.com>
42358
42359 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42360 function to the callback.
42361 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42362
423632011-02-02 Andreas Schwab <schwab@redhat.com>
42364
42365 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42366 of errno.
42367
423682011-01-19 Ulrich Drepper <drepper@gmail.com>
42369
42370 [BZ #11724]
42371 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42372 of constructors.
42373 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42374 of destructors.
42375 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42376
42377 [BZ #11724]
42378 * elf/Makefile: Add rules to build and run new test.
42379 * elf/tst-initorder.c: New file.
42380 * elf/tst-initorder.exp: New file.
42381 * elf/tst-initordera1.c: New file.
42382 * elf/tst-initordera2.c: New file.
42383 * elf/tst-initordera3.c: New file.
42384 * elf/tst-initordera4.c: New file.
42385 * elf/tst-initorderb1.c: New file.
42386 * elf/tst-initorderb2.c: New file.
42387 * elf/tst-order-a1.c: New file.
42388 * elf/tst-order-a2.c: New file.
42389 * elf/tst-order-a3.c: New file.
42390 * elf/tst-order-a4.c: New file.
42391 * elf/tst-order-b1.c: New file.
42392 * elf/tst-order-b2.c: New file.
42393 * elf/tst-order-main.c: New file.
42394 New test case by George Gensure <werkt0@gmail.com>.
42395
423962010-10-01 Andreas Schwab <schwab@redhat.com>
42397
42398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42399 decoding ACE if AI_CANONIDN.
42400
424012011-01-18 Ulrich Drepper <drepper@gmail.com>
42402
42403 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42404
424052011-01-17 Ulrich Drepper <drepper@gmail.com>
42406
42407 * version.h (RELEASE): Bump for 2.13 release.
42408 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42409
42410 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42411
42412 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42413 MADV_NOHUGEPAGE.
42414 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42415 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42416 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42417 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42418 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42419 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42420
42421 * posix/getconf.c: Update copyright year.
42422 * catgets/gencat.c: Likewise.
42423 * csu/version.c: Likewise.
42424 * debug/catchsegv.sh: Likewise.
42425 * debug/xtrace.sh: Likewise.
42426 * elf/ldconfig.c: Likewise.
42427 * elf/ldd.bash.in: Likewise.
42428 * elf/sprof.c (print_version): Likewise.
42429 * iconv/iconv_prog.c: Likewise.
42430 * iconv/iconvconfig.c: Likewise.
42431 * locale/programs/locale.c: Likewise.
42432 * locale/programs/localedef.c: Likewise.
42433 * malloc/memusage.sh: Likewise.
42434 * malloc/mtrace.pl: Likewise.
42435 * nscd/nscd.c (print_version): Likewise.
42436 * nss/getent.c: Likewise.
42437
42438 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42439 PF_CAIF, and PF_ALG.
42440 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42441
424422011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42443
42444 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42445 (modules-names): Use them.
42446 (ifunc-test-modules, ifunc-pie-tests): Define.
42447 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42448 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42449 (test-extras): Likewise.
42450 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42451 $(compile-command.c).
42452 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42453 (all-built-dso): Define.
42454 (check-textrel.out, check-execstack.out): Depend on it.
42455
42456 * configure.in: Don't override --enable-multi-arch.
42457
424582011-01-15 Ulrich Drepper <drepper@gmail.com>
42459
42460 [BZ #6812]
42461 * nscd/hstcache.c (tryagain): Define.
42462 (cache_addhst): Return tryagain not notfound for temporary errors.
42463 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42464 failed.
42465
424662011-01-14 Ulrich Drepper <drepper@gmail.com>
42467
42468 [BZ #10563]
42469 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42470 to make the syscall.
42471 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42472
42473 [BZ #12378]
42474 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42475 and fall back to matching as normal character if the string ends before
42476 the matching ']' is found. This is what POSIX requires.
42477 * posix/testfnm.c: Adjust test result.
42478 * posix/globtest.sh: Adjust test result. Add new test.
42479 * posix/tst-fnmatch.input: Likewise.
42480 * posix/tst-fnmatch2.c: Add new test.
42481
424822010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42483
42484 * elf/Makefile (check-execstack): Revert last change. Depend on
42485 check-execstack.h.
42486 (check-execstack.h): New target.
42487 (generated): Add check-execstack.h.
42488 * elf/check-execstack.c: Include "check-execstack.h".
42489 (main): Revert last change.
42490 (handle_file): Return zero if GNU_STACK is absent and
42491 DEFAULT_STACK_PERMS doesn't include PF_X.
42492
424932011-01-13 Ulrich Drepper <drepper@gmail.com>
42494
42495 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42496 in child fails because the descriptor is already closed.
42497 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42498 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42499 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42500
42501 [BZ #12397]
42502 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42503 syscall.
42504
42505 [BZ #10484]
42506 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42507 temporary buffer used to handle multi lookups locally.
42508 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42509
425102011-01-12 Ulrich Drepper <drepper@gmail.com>
42511
42512 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42513 loader is ld.so.
42514
425152011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42516
42517 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42518 alignment for SSE2.
42519
425202011-01-12 Ulrich Drepper <drepper@gmail.com>
42521
42522 [BZ #12394]
42523 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42524 characters. When rounding increased number of integer digits recompute
42525 number of groups.
42526 * stdio-common/tst-grouping.c: New file.
42527 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42528
425292011-01-09 Ulrich Drepper <drepper@gmail.com>
42530
42531 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42532 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42533
42534 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42535 void.
42536 * bits/select.h: Likewise.
42537
425382011-01-08 Ulrich Drepper <drepper@gmail.com>
42539
42540 * po/ja.po: Update from translation team.
42541
425422011-01-04 David S. Miller <davem@sunset.davemloft.net>
42543
42544 [BZ #11155]
42545 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42546 implementation just like for lxstat, fxstatat, et al.
42547
425482010-12-27 Jim Meyering <meyering@redhat.com>
42549
42550 [BZ #12348]
42551 * posix/regexec.c (build_trtable): Return failure indication upon
42552 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42553
425542010-12-25 Ulrich Drepper <drepper@gmail.com>
42555
42556 [BZ #12201]
42557 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42558 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42559 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42560 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42561
42562 [BZ #12207]
42563 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42564
42565 [BZ #12204]
42566 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42567 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42568
425692010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42570
42571 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42572 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42573 script has SORT_BY_INIT_PRIORITY.
42574 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42575 NO_CTORS_DTORS_SECTIONS is defined.
42576 * elf/soinit.c: Likewise.
42577 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42578 NO_CTORS_DTORS_SECTIONS is defined.
42579 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42580 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42581 * sysdeps/sh/init-first.c: Likewise.
42582 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42583
425842010-12-24 Ulrich Drepper <drepper@gmail.com>
42585
42586 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42587 always use the slow path.
42588
425892010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42590
42591 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42592 similar rule which adds the sysdep directories to the header search in
42593 order to pick up the correct platform stackinfo.h.
42594 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42595 perform test if it is, otherwise return successfully without testing.
42596 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42597 DEFAULT_STACK_PERMS define in stackinfo.h.
42598 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42599 defined in stackinfo.h.
42600 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42601 DEFAULT_STACK_PERMS defined in stackinfo.h.
42602 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42603 * sysdeps/ia64/stackinfo.h: Likewise.
42604 * sysdeps/s390/stackinfo.h: Likewise.
42605 * sysdeps/sh/stackinfo.h: Likewise.
42606 * sysdeps/sparc/stackinfo.h: Likewise.
42607 * sysdeps/x86_64/stackinfo.h: Likewise.
42608 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42609 PF_X for powerpc64. Retain PF_X for powerpc32.
42610
426112010-12-19 Ulrich Drepper <drepper@gmail.com>
42612
42613 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42614 accurately.
42615 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42616 GETDENTS_64BIT_ALIGNED.
42617
426182010-12-14 Ulrich Drepper <dreper@gmail.com>
42619
42620 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42621
426222010-12-10 Andreas Schwab <schwab@redhat.com>
42623
42624 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42625 _GNU_SOURCE.
42626
42627 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42628 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42629 Remove __restrict.
42630 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42631 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42632
426332010-12-09 Ulrich Drepper <drepper@gmail.com>
42634
42635 [BZ #11655]
42636 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42637 are initialized.
42638
426392010-12-09 Jakub Jelinek <jakub@redhat.com>
42640
42641 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42642
426432010-12-03 Ulrich Drepper <drepper@gmail.com>
42644
42645 * po/it.po: Update from translation team.
42646
426472010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42648
42649 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42650 unused codes.
42651
426522010-11-30 Ulrich Drepper <drepper@gmail.com>
42653
42654 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42655
426562010-11-24 Andreas Schwab <schwab@redhat.com>
42657
42658 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42659 specially.
42660 (gaih_getanswer_slice): Likewise.
42661
426622010-10-20 Jakub Jelinek <jakub@redhat.com>
42663
42664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42665
426662010-05-31 Petr Baudis <pasky@suse.cz>
42667
42668 [BZ #11149]
42669 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42670 silently even in the chroot mode.
42671
426722010-11-22 Ulrich Drepper <drepper@gmail.com>
42673
42674 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42675 last patch a bit. Pretty printing
42676
426772010-05-31 Petr Baudis <pasky@suse.cz>
42678
42679 [BZ #10085]
42680 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42681 initialization of skip_initgroups_dyn.
42682
426832010-11-19 Ulrich Drepper <drepper@gmail.com>
42684
42685 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42686 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42687
426882010-11-16 Ulrich Drepper <drepper@gmail.com>
42689
42690 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42691
426922010-11-11 Andreas Schwab <schwab@redhat.com>
42693
42694 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42695 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42696 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42697 ($(objpfx)tst-fnmatch-mem): New rule.
42698 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42699 * posix/tst-fnmatch.c (main): Call mtrace.
42700
427012010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42702
42703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42704 Support Intel processor model 6 and model 0x2c.
42705
427062010-11-10 Luis Machado <luisgpm@br.ibm.com>
42707
42708 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42709 signed comparison.
42710
427112010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42712
42713 [BZ #12205]
42714 * string/test-strncasecmp.c (check_result): New function.
42715 (do_one_test): Use it.
42716 (check1): New function.
42717 (test_main): Use it.
42718 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42719 Support strcasecmp and strncasecmp.
42720
427212010-11-08 Ulrich Drepper <drepper@gmail.com>
42722
42723 [BZ #12194]
42724 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42725 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42726
427272010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42728
42729 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42730 IFUNC support.
42731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42732 memset-x86-64.
42733 * sysdeps/x86_64/multiarch/bzero.S: New file.
42734 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42735 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42736 * sysdeps/x86_64/multiarch/memset.S: New file.
42737 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42739 Set bit_Prefer_SSE_for_memop for Intel processors.
42740 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42741 Define.
42742 (index_Prefer_SSE_for_memop): Define.
42743 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42744
427452010-11-04 Luis Machado <luisgpm@br.ibm.com>
42746
42747 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42748 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42749
427502010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42751
42752 [BZ #12191]
42753 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42754 (__x86_64_raw_data_cache_size_half): Likewise.
42755 (__x86_64_raw_shared_cache_size): Likewise.
42756 (__x86_64_raw_shared_cache_size_half): Likewise.
42757
42758 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42759 (__x86_64_raw_data_cache_size_half): Likewise.
42760 (__x86_64_raw_shared_cache_size): Likewise.
42761 (__x86_64_raw_shared_cache_size_half): Likewise.
42762 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42763 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42764 and __x86_64_raw_shared_cache_size_half. Round
42765 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42766 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42767 to multiple of 256 bytes.
42768
427692010-11-03 Ulrich Drepper <drepper@gmail.com>
42770
42771 [BZ #12167]
42772 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42773 of inacessible symlinks. Verify result of symlink before returning it.
42774 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42775 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42776
427772010-10-28 Erich Ritz <erichritz@gmail.com>
42778
42779 * math/math.h (isinf): Fix typo in comment.
42780
427812010-11-01 Ulrich Drepper <drepper@gmail.com>
42782
42783 * po/da.po: Update from translation team.
42784
427852010-10-26 Ulrich Drepper <drepper@gmail.com>
42786
42787 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42788 is added to the list.
42789
427902010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42791 Ulrich Drepper <drepper@gmail.com>
42792
42793 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42794 the global list here. Move code to...
42795 (_dl_add_to_namespace_list): ...here. New function.
42796 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42797 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42798 * elf/dl-load.c (lose): Don't remove the element from the list.
42799 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42800 (_dl_map_object): Likewise.
42801
428022010-10-25 Ulrich Drepper <drepper@gmail.com>
42803
42804 [BZ #12159]
42805 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42806 into all bytes of SSE register.
42807 Patch by Richard Li <richardpku@gmail.com>.
42808
428092010-10-24 Ulrich Drepper <drepper@gmail.com>
42810
42811 [BZ #12140]
42812 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42813 perturbing.
42814
428152010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42816
42817 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42818 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42819 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42820 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42822 submachine.
42823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42824
428252010-10-22 Andreas Schwab <schwab@redhat.com>
42826
42827 * include/dlfcn.h (__RTLD_SECURE): Define.
42828 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42829 mode & __RTLD_SECURE instead.
42830 (open_path): Rename preloaded parameter to secure.
42831 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42832 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42833 * elf/dl-deps.c (openaux): Likewise.
42834 * elf/rtld.c (struct map_args): Remove is_preloaded.
42835 (map_doit): Don't use it.
42836 (dl_main): Likewise.
42837 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42838 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42839
428402010-09-09 Andreas Schwab <schwab@redhat.com>
42841
42842 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42843 (sysd-rules-targets): Remove duplicates.
42844 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42845 rtld-%.$o dependency.
42846
428472010-10-18 Andreas Schwab <schwab@redhat.com>
42848
42849 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42850 _dl_map_object do it.
42851
428522010-10-19 Ulrich Drepper <drepper@gmail.com>
42853
42854 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42855 fast fma builtins, define the macros in the C99 standard.
42856 (FP_FAST_FMAF): Likewise.
42857 (FP_FAST_FMAL): Likewise.
42858 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42859
42860 * bits/mathdef.h: Update copyright year.
42861 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42862
428632010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42864
42865 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42866 builtins, define the macros in the C99 standard.
42867 (FP_FAST_FMAF): Likewise.
42868 (FP_FAST_FMAL): Likewise.
42869 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42870 multiply/add.
42871 (FP_FAST_FMAF): Likewise.
42872
428732010-10-15 Jakub Jelinek <jakub@redhat.com>
42874
42875 [BZ #3268]
42876 * math/libm-test.inc (fma_test): Some new testcases.
42877 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42878 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42879 y and infinite z. Do multiplication by C already in long double.
42880 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42882 y and infinite z. Do bitwise or of inexact bit into u.d.
42883 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42884 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42885 * sysdeps/i386/fpu/s_fma.S: Removed.
42886 * sysdeps/i386/fpu/s_fmal.S: Removed.
42887
428882010-10-16 Jakub Jelinek <jakub@redhat.com>
42889
42890 [BZ #3268]
42891 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42893 computation is not scheduled after fetestexcept. Fix value
42894 of minimum denormal long double.
42895
428962010-10-14 Jakub Jelinek <jakub@redhat.com>
42897
42898 [BZ #3268]
42899 * math/libm-test.inc (fma_test): Add some more tests.
42900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42901 correctly.
42902
429032010-10-15 Andreas Schwab <schwab@redhat.com>
42904
42905 * scripts/data/localplt-s390-linux-gnu.data: New file.
42906 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42907
429082010-10-13 Jakub Jelinek <jakub@redhat.com>
42909
42910 [BZ #3268]
42911 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42912 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42913 instead of dbl-64.
42914 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42915 inlines.
42916 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42918 if one of x and y is very large and the other is subnormal.
42919 * sysdeps/s390/fpu/s_fmaf.c: New file.
42920 * sysdeps/s390/fpu/s_fma.c: New file.
42921 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42922 * sysdeps/powerpc/fpu/s_fma.S: New file.
42923 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42924 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42925 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42926
429272010-10-12 Jakub Jelinek <jakub@redhat.com>
42928
42929 [BZ #3268]
42930 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42931 fma tests.
42932 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42933 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42934 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42935 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42936 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42937 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42938 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42939
429402010-10-12 Ulrich Drepper <drepper@redhat.com>
42941
42942 [BZ #12078]
42943 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42944 * posix/bug-regex31.input: Add test case.
42945
429462010-10-11 Ulrich Drepper <drepper@gmail.com>
42947
42948 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42949 * posix/bug-regex31.input: New file.
42950
42951 [BZ #12078]
42952 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42953 (parse_sub_exp): Fix last change, use postorder.
42954
42955 * posix/bug-regex31.c: New file.
42956 * posix/Makefile: Add rules to build and run bug-regex31.
42957
42958 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42959
42960 [BZ #12078]
42961 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42962
42963 [BZ #12108]
42964 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42965 to have entries in sys_siglist.
42966
42967 [BZ #12093]
42968 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42969 be NULL.
42970
429712010-10-07 Jakub Jelinek <jakub@redhat.com>
42972
42973 [BZ #3268]
42974 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42975 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42976 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42977 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42978 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42979 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42980 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42981 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42982 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42983 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42984 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42985 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42986 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42987 * math/ftestexcept.c (fetestexcept): Likewise.
42988 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42989 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42990 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42991 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42992 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42993 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42994 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42995
429962010-10-11 Ulrich Drepper <drepper@gmail.com>
42997
42998 [BZ #12107]
42999 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43000 newline.
43001
430022010-10-06 Ulrich Drepper <drepper@gmail.com>
43003
43004 * string/bug-strstr1.c: New file.
43005 * string/Makefile: Add rules to build and run bug-strstr1.
43006
430072010-10-05 Eric Blake <eblake@redhat.com>
43008
43009 [BZ #12092]
43010 * string/str-two-way.h (two_way_long_needle): Always clear memory
43011 when skipping input due to the shift table.
43012
430132010-10-03 Ulrich Drepper <drepper@gmail.com>
43014
43015 [BZ #12005]
43016 * malloc/mcheck.c: Handle large requests.
43017
43018 [BZ #12077]
43019 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43020 for strncmp and strncasecmp.
43021 * string/stratcliff.c: Add tests for strcmp and strncmp.
43022 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43023
430242010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43025
43026 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43027 __set_fpscr.
43028
430292010-09-30 Andreas Jaeger <aj@suse.de>
43030
43031 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43032 (CGROUP_SUPER_MAGIC): Define.
43033 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43034 Handle btrfs and cgroup file systems.
43035 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43036 Likewise.
43037
430382010-09-27 Luis Machado <luisgpm@br.ibm.com>
43039
43040 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43041 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43042
430432010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43044
43045 [BZ #12067]
43046 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43047 trying to locate the ELF header.
43048
430492010-09-27 Andreas Schwab <schwab@redhat.com>
43050
43051 [BZ #11611]
43052 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43053 Mask out sign-bit copies when constructing f_fsid.
43054
430552010-09-24 Petr Baudis <pasky@suse.cz>
43056
43057 * debug/stack_chk_fail_local.c: Add missing licence exception.
43058 * debug/warning-nop.c: Likewise.
43059
430602010-09-15 Joseph Myers <joseph@codesourcery.com>
43061
43062 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43063 implementing getdents64 using getdents syscall, set d_type if
43064 __ASSUME_GETDENTS32_D_TYPE.
43065
430662010-09-16 Andreas Schwab <schwab@redhat.com>
43067
43068 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43069 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43070
430712010-09-21 Ulrich Drepper <drepper@redhat.com>
43072
43073 [BZ #12037]
43074 * posix/unistd.h: Undo change of feature selection for ftruncate from
43075 2010-01-11.
43076
430772010-09-20 Ulrich Drepper <drepper@redhat.com>
43078
43079 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43080 detection.
43081
430822010-09-20 Andreas Schwab <schwab@redhat.com>
43083
43084 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43085 fanotify_mark.
43086 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43087
430882010-09-14 Andreas Schwab <schwab@redhat.com>
43089
43090 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43091 variables after CHECK_SP call.
43092 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43093
430942010-09-13 Andreas Schwab <schwab@redhat.com>
43095 Ulrich Drepper <drepper@redhat.com>
43096
43097 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43098 re-relocationg ld.so.
43099 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43100 _dl_init_paths call.
43101 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43102 here anymore.
43103
431042010-09-14 Ulrich Drepper <drepper@redhat.com>
43105
43106 * resolv/res_init.c (__res_vinit): Count the default server we added.
43107
431082010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43109 Ulrich Drepper <drepper@redhat.com>
43110
43111 [BZ #11968]
43112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43113 (____longjmp_chk): Use %ebx for saving value across system call.
43114 Add unwind info.
43115
431162010-09-06 Andreas Schwab <schwab@redhat.com>
43117
43118 * manual/Makefile: Don't mix pattern rules with normal rules.
43119
431202010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43121
43122 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43123 operation.
43124 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43125 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43126 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43127 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43129 Likewise.
43130
431312010-09-04 Ulrich Drepper <drepper@redhat.com>
43132
43133 [BZ #11979]
43134 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43135 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43136
431372010-09-02 Ulrich Drepper <drepper@redhat.com>
43138
43139 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43140 * sysdeps/x86_64/addmul_1.S: Likewise.
43141 * sysdeps/x86_64/lshift.S: Likewise.
43142 * sysdeps/x86_64/mul_1.S: Likewise.
43143 * sysdeps/x86_64/rshift.S: Likewise.
43144 * sysdeps/x86_64/sub_n.S: Likewise.
43145 * sysdeps/x86_64/submul_1.S: Likewise.
43146
431472010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43148
43149 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43150 Define __sched_param instead of SCHED_* and sched_param when
43151 <bits/sched.h> is included with __need_schedparam defined.
43152 * bits/sched.h [__need_schedparam]
43153 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43154 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43155 (__defined_schedparam): Define to 1.
43156 (__sched_param): New structure, identical to sched_param.
43157 (__need_schedparam): Undefine.
43158
431592010-08-31 Mike Frysinger <vapier@gentoo.org>
43160
43161 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43162 (epoll_create1): Declare.
43163
43164 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43165
431662010-08-31 Andreas Schwab <schwab@redhat.com>
43167
43168 [BZ #7066]
43169 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43170 shifting retval into place.
43171
431722010-09-01 Ulrich Drepper <drepper@redhat.com>
43173
43174 * nis/rpcsvc/nis.h: Update copyright notice.
43175 * nis/rpcsvc/nis.x: Likewise.
43176 * nis/rpcsvc/nis_callback.h: Likewise.
43177 * nis/rpcsvc/nis_callback.x: Likewise.
43178 * nis/rpcsvc/nis_object.x: Likewise.
43179 * nis/rpcsvc/nis_tags.h: Likewise.
43180 * nis/rpcsvc/yp.h: Likewise.
43181 * nis/rpcsvc/yp.x: Likewise.
43182 * nis/rpcsvc/ypupd.h: Likewise.
43183 * nis/yp_xdr.c: Likewise.
43184 * nis/ypupdate_xdr.c: Likewise.
43185
43186 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43187 mainly the body of pmap_getport. Add parameters to specify timeouts.
43188 (pmap_getport): Use __libc_rpc_getport.
43189 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43190 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43191 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43192
431932010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43194
43195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43196 fanotify_mark.
43197
431982010-08-27 Roland McGrath <roland@redhat.com>
43199
43200 * sysdeps/i386/i686/multiarch/Makefile
43201 (CFLAGS-varshift.c): New variable.
43202
432032010-08-27 Ulrich Drepper <drepper@redhat.com>
43204
43205 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43206 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43207
43208 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43209
43210 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43211
432122010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43213
43214 * sysdeps/x86_64/strlen.S: Unroll the loop.
43215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43216 strlen-sse2 strlen-sse2-bsf.
43217 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43218 __strlen_no_bsf if bit_Slow_BSF is set.
43219 (__strlen_sse42): Removed.
43220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43221 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43222
432232010-08-25 Roland McGrath <roland@redhat.com>
43224
43225 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43226 * sysdeps/x86_64/multiarch/varshift.c: New file.
43227 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43228 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43229 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43230 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43231
432322010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43233
43234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43235 strlen-sse2 strlen-sse2-bsf.
43236 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43237 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43238 (__strlen_sse2): Removed.
43239 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43240 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43242 bit_Slow_BSF for Atom.
43243 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43244 (index_Slow_BSF): Define.
43245 (HAS_SLOW_BSF): Define.
43246
432472010-08-25 Ulrich Drepper <drepper@redhat.com>
43248
43249 [BZ #10851]
43250 * resolv/res_init.c (__res_vinit): When no server address at all
43251 is given default to loopback.
43252
432532010-08-24 Roland McGrath <roland@redhat.com>
43254
43255 * configure.in: Remove config-name.h generation.
43256 * configure: Regenerated.
43257 * config-name.in: File removed.
43258 * scripts/config-uname.sh: New file.
43259 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43260 ($(objdir)config-name.h): New target.
43261
43262 * sunrpc/rpc_parse.h: Avoid nested comment.
43263
432642010-08-24 Richard Henderson <rth@redhat.com>
43265 Ulrich Drepper <drepper@redhat.com>
43266 H.J. Lu <hongjiu.lu@intel.com>
43267
43268 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43270 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43271 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43272 _mm_alignr_epi8 with _mm_loadu_si128.
43273 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43274 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43275 (__m128i_shift_right): Removed.
43276 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43277 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43278 * sysdeps/x86_64/multiarch/varshift.h: New file.
43279 * sysdeps/x86_64/multiarch/varshift.S: New file.
43280
432812010-08-21 Mike Frysinger <vapier@gentoo.org>
43282
43283 * configure.in: Move assembler checks to before sysdep dir checking.
43284
432852010-08-20 Petr Baudis <pasky@suse.cz>
43286
43287 * LICENSES: Sync the sunrpc license.
43288
432892010-08-19 Ulrich Drepper <drepper@redhat.com>
43290
43291 * sunrpc/auth_des.c: Update copyright notice once again.
43292 * sunrpc/auth_none.c: Likewise.
43293 * sunrpc/auth_unix.c: Likewise.
43294 * sunrpc/authdes_prot.c: Likewise.
43295 * sunrpc/authuxprot.c: Likewise.
43296 * sunrpc/bindrsvprt.c: Likewise.
43297 * sunrpc/clnt_gen.c: Likewise.
43298 * sunrpc/clnt_perr.c: Likewise.
43299 * sunrpc/clnt_raw.c: Likewise.
43300 * sunrpc/clnt_simp.c: Likewise.
43301 * sunrpc/clnt_tcp.c: Likewise.
43302 * sunrpc/clnt_udp.c: Likewise.
43303 * sunrpc/clnt_unix.c: Likewise.
43304 * sunrpc/des_crypt.c: Likewise.
43305 * sunrpc/des_soft.c: Likewise.
43306 * sunrpc/get_myaddr.c: Likewise.
43307 * sunrpc/getrpcport.c: Likewise.
43308 * sunrpc/key_call.c: Likewise.
43309 * sunrpc/key_prot.c: Likewise.
43310 * sunrpc/openchild.c: Likewise.
43311 * sunrpc/pm_getmaps.c: Likewise.
43312 * sunrpc/pm_getport.c: Likewise.
43313 * sunrpc/pmap_clnt.c: Likewise.
43314 * sunrpc/pmap_prot.c: Likewise.
43315 * sunrpc/pmap_prot2.c: Likewise.
43316 * sunrpc/pmap_rmt.c: Likewise.
43317 * sunrpc/rpc/auth.h: Likewise.
43318 * sunrpc/rpc/auth_unix.h: Likewise.
43319 * sunrpc/rpc/clnt.h: Likewise.
43320 * sunrpc/rpc/des_crypt.h: Likewise.
43321 * sunrpc/rpc/key_prot.h: Likewise.
43322 * sunrpc/rpc/netdb.h: Likewise.
43323 * sunrpc/rpc/pmap_clnt.h: Likewise.
43324 * sunrpc/rpc/pmap_prot.h: Likewise.
43325 * sunrpc/rpc/pmap_rmt.h: Likewise.
43326 * sunrpc/rpc/rpc.h: Likewise.
43327 * sunrpc/rpc/rpc_des.h: Likewise.
43328 * sunrpc/rpc/rpc_msg.h: Likewise.
43329 * sunrpc/rpc/svc.h: Likewise.
43330 * sunrpc/rpc/svc_auth.h: Likewise.
43331 * sunrpc/rpc/types.h: Likewise.
43332 * sunrpc/rpc/xdr.h: Likewise.
43333 * sunrpc/rpc_clntout.c: Likewise.
43334 * sunrpc/rpc_cmsg.c: Likewise.
43335 * sunrpc/rpc_common.c: Likewise.
43336 * sunrpc/rpc_cout.c: Likewise.
43337 * sunrpc/rpc_dtable.c: Likewise.
43338 * sunrpc/rpc_hout.c: Likewise.
43339 * sunrpc/rpc_main.c: Likewise.
43340 * sunrpc/rpc_parse.c: Likewise.
43341 * sunrpc/rpc_parse.h: Likewise.
43342 * sunrpc/rpc_prot.c: Likewise.
43343 * sunrpc/rpc_sample.c: Likewise.
43344 * sunrpc/rpc_scan.c: Likewise.
43345 * sunrpc/rpc_scan.h: Likewise.
43346 * sunrpc/rpc_svcout.c: Likewise.
43347 * sunrpc/rpc_tblout.c: Likewise.
43348 * sunrpc/rpc_util.c: Likewise.
43349 * sunrpc/rpc_util.h: Likewise.
43350 * sunrpc/rpcinfo.c: Likewise.
43351 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43352 * sunrpc/rpcsvc/key_prot.x: Likewise.
43353 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43354 * sunrpc/rpcsvc/mount.x: Likewise.
43355 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43356 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43357 * sunrpc/rpcsvc/rex.x: Likewise.
43358 * sunrpc/rpcsvc/rstat.x: Likewise.
43359 * sunrpc/rpcsvc/rusers.x: Likewise.
43360 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43361 * sunrpc/rpcsvc/spray.x: Likewise.
43362 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43363 * sunrpc/rtime.c: Likewise.
43364 * sunrpc/svc.c: Likewise.
43365 * sunrpc/svc_auth.c: Likewise.
43366 * sunrpc/svc_authux.c: Likewise.
43367 * sunrpc/svc_raw.c: Likewise.
43368 * sunrpc/svc_run.c: Likewise.
43369 * sunrpc/svc_simple.c: Likewise.
43370 * sunrpc/svc_tcp.c: Likewise.
43371 * sunrpc/svc_udp.c: Likewise.
43372 * sunrpc/svc_unix.c: Likewise.
43373 * sunrpc/svcauth_des.c: Likewise.
43374 * sunrpc/xcrypt.c: Likewise.
43375 * sunrpc/xdr.c: Likewise.
43376 * sunrpc/xdr_array.c: Likewise.
43377 * sunrpc/xdr_float.c: Likewise.
43378 * sunrpc/xdr_mem.c: Likewise.
43379 * sunrpc/xdr_rec.c: Likewise.
43380 * sunrpc/xdr_ref.c: Likewise.
43381 * sunrpc/xdr_sizeof.c: Likewise.
43382 * sunrpc/xdr_stdio.c: Likewise.
43383
43384 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43385 handling.
43386
433872010-08-19 Andreas Schwab <schwab@redhat.com>
43388
43389 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43390
433912010-08-19 Luis Machado <luisgpm@br.ibm.com>
43392
43393 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43394 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43395 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43396 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43397 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43398 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43399 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43400 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43401 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43402 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43403 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43404 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43405 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43406 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43407
434082010-07-26 Anton Blanchard <anton@samba.org>
43409
43410 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43411 * malloc/arena.c (heap_trim): Likewise.
43412
434132010-08-16 Ulrich Drepper <drepper@redhat.com>
43414
43415 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43416 here. Not...
43417 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43418 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43419
434202010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43421
43422 * sysdeps/i386/elf/Makefile: New file.
43423
434242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43425
43426 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43427 from fanotify_init.
43428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43429 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43430
434312010-08-15 Ulrich Drepper <drepper@redhat.com>
43432
43433 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43434 of strncasecmp_l.
43435 * sysdeps/multiarch/strcmp.S: Likewise.
43436
434372010-08-14 Ulrich Drepper <drepper@redhat.com>
43438
43439 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43440 strncase_l-nonascii.
43441 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43442 Add strncase_l-ssse3.
43443 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43444 * sysdeps/x86_64/strcmp.S: Likewise.
43445 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43446 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43447 * sysdeps/x86_64/strncase.S: New file.
43448 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43449 * sysdeps/x86_64/strncase_l.S: New file.
43450 * string/Makefile (strop-tests): Add strncasecmp.
43451 * string/test-strncasecmp.c: New file.
43452
43453 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43454 warning.
43455
43456 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43457 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43458
434592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43460
43461 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43462
434632010-08-12 Ulrich Drepper <drepper@redhat.com>
43464
43465 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43466 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43467 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43468
434692010-05-01 Alan Modra <amodra@gmail.com>
43470
43471 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43472 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43473 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43474 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43475 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43476 tidying. Don't tail-call __sigjmp_save for static lib.
43477 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43478 save location.
43479 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43480 (CALL_MCOUNT): Add eh info, and nop after bl.
43481 (TAIL_CALL_SYSCALL_ERROR): New macro.
43482 (PSEUDO_RET): Use it.
43483 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43484 Correct save location of integer regs and cr.
43485 (_dl_profile_resolve): Correct cr save location. Delete nops
43486 after bl when SHARED. Reduce cfi size a little by better
43487 placement of cfi directives.
43488 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43489 make a stack frame. Instead use parm save area as a temp.
43490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43491 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43493 Don't make a stack frame for parent, use parm save area.
43494 Increase child stack frame to 112 bytes. Don't save unused reg,
43495 and adjust reg usage. Set up cfi on error recovery and
43496 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43498 (__makecontext): Add dummy nop after jump to exit.
43499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43500 Use correct parm save area and cr save, reduce stack frame.
43501 Correct cfi for possible PSEUDO_RET frame setup.
43502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43503 Branch to local label emitted by PSEUDO_RET rather than
43504 __syscall_error.
43505
435062010-08-12 Andreas Schwab <schwab@redhat.com>
43507
43508 [BZ #11904]
43509 * locale/programs/locale.c (print_assignment): New function.
43510 (show_locale_vars): Use it.
43511
435122010-08-11 Ulrich Drepper <drepper@redhat.com>
43513
43514 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43515 field.
43516 (struct statfs64): Likewise.
43517 (_STATFS_F_FLAGS): Define.
43518 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43519 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43520 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43521 (ST_VALID): Define locally.
43522 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43523 __statvfs_getflags, use the provided value.
43524 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43525 __ASSUME_STATFS_F_FLAGS.
43526
43527 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43528
43529 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43530 Add sys/fanotify.h.
43531 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43532 fanotify_mask for GLIBC_2.13.
43533 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43534 fanotify_init and fanotify_mark.
43535 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43536 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43537
43538 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43539 Add prlimit.
43540 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43541 prlimit64 for GLIBC_2.13.
43542 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43543 prlimit64.
43544 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43545 syscall.
43546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43547 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43548 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43549 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43550 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43551 add prlimit alias.
43552 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43553
43554 [BZ #11903]
43555 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43556 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43557
43558 * nss/Makefile: Add rules to build and run tst-nss-test1.
43559 * shlib-versions: Add entry for libnss_test1.
43560 * nss/nss_test1.c: New file.
43561 * nss/tst-nss-test1.c: New file.
43562
43563 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43564 (__nss_configure_lookup): Set appropriate entry in
43565 __nss_configure_lookup to true.
43566 * nss/nsswitch.h: Define enum with indeces of databases in
43567 databases and __nss_database_custom arrays. Declare
43568 __nss_database_custom.
43569 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43570 to avoid using nscd when custom rules are installed.
43571 * nss/getXXbyYY_r.c: Likewise.
43572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43573
43574 * nss/nss_files/files-parse.c: Whitespace fixes.
43575
435762010-08-09 Ulrich Drepper <drepper@redhat.com>
43577
43578 [BZ #11883]
43579 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43580 * posix/fnmatch_loop.c: Likewise.
43581
435822010-07-17 Andi Kleen <ak@linux.intel.com>
43583
43584 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43585 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43586 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43587 * Versions.def [GLIBC_2.13]: Add.
43588
435892010-08-06 Ulrich Drepper <drepper@redhat.com>
43590
43591 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43592 Also fail if tpwd after pwuid call is NULL.
43593
435942010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43595
43596 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43597 when converting to ms.
43598
435992010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43600
43601 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43602 EOPNOTSUPP errors with ENOTTY.
43603 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43604 EOPNOTSUPP errors with ENOTTY.
43605
436062010-07-31 Ulrich Drepper <drepper@redhat.com>
43607
43608 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43609 Add strcasecmp_l-ssse3.
43610 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43611 strcasecmp.
43612 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43613 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43614 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43615
436162010-07-30 Ulrich Drepper <drepper@redhat.com>
43617
43618 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43619
43620 * string/Makefile (strop-tests): Add strcasecmp.
43621 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43622 strcasecmp_l-nonascii.
43623 (gen-as-const-headers): Add locale-defines.sym.
43624 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43625 * sysdeps/x86_64/strcasecmp.S: New file.
43626 * sysdeps/x86_64/strcasecmp_l.S: New file.
43627 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43628 * sysdeps/x86_64/locale-defines.sym: New file.
43629 * string/test-strcasecmp.c: New file.
43630
43631 * string/test-strcasestr.c: Test both ends of the range of characters.
43632 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43633
436342010-07-29 Roland McGrath <roland@redhat.com>
43635
43636 [BZ #11856]
43637 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43638
436392010-07-27 Ulrich Drepper <drepper@redhat.com>
43640
43641 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43642 for ld.so.
43643
436442010-07-27 Andreas Schwab <schwab@redhat.com>
43645
43646 * manual/memory.texi (Malloc Tunable Parameters): Document
43647 M_PERTURB.
43648
436492010-07-26 Roland McGrath <roland@redhat.com>
43650
43651 [BZ #11840]
43652 * configure.in (-fgnu89-inline check): Set and substitute
43653 gnu89_inline, not libc_cv_gnu89_inline.
43654 * configure: Regenerated.
43655 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43656
436572010-07-26 Ulrich Drepper <drepper@redhat.com>
43658
43659 * string/test-strnlen.c: New file.
43660 * string/Makefile (strop-tests): Add strnlen.
43661 * string/tester.c (test_strnlen): Add a few more test cases.
43662 * string/tst-strlen.c: Better error reporting.
43663
43664 * sysdeps/x86_64/strnlen.S: New file.
43665
436662010-07-24 Ulrich Drepper <drepper@redhat.com>
43667
43668 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43669 lower-latency instructions.
43670
436712010-07-23 Ulrich Drepper <drepper@redhat.com>
43672
43673 * string/test-strcasestr.c: New file.
43674 * string/test-strstr.c: New file.
43675 * string/Makefile (strop-tests): Add strstr and strcasestr.
43676 * string/str-two-way.h: Don't undefine MAX.
43677 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43678
436792010-07-21 Andreas Schwab <schwab@redhat.com>
43680
43681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43682 strcasestr-nonascii.
43683 (CFLAGS-strcasestr-nonascii.c): Define.
43684 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43685 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43686 Remove unused attribute.
43687
436882010-07-20 Roland McGrath <roland@redhat.com>
43689
43690 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43691 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43692 ld.so.cache was broken. With it, there is no way to disable dsocaps
43693 like LD_HWCAP_MASK can disable hwcaps.
43694
436952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43696
43697 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43698
436992010-07-16 Ulrich Drepper <drepper@redhat.com>
43700
43701 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43702 call in strcasestr.
43703 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43704 __strcasestr_sse42_nonascii.
43705 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43706 strcasestr-nonascii.c.
43707 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43708
437092010-06-15 Luis Machado <luisgpm@br.ibm.com>
43710
43711 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43712 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43713 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43714 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43715
437162010-07-09 Ulrich Drepper <drepper@redhat.com>
43717
43718 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43719 fcntl.
43720
437212010-07-06 Andreas Schwab <schwab@redhat.com>
43722
43723 [BZ #11577]
43724 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43725 dl_signal_cerror.
43726
437272010-07-06 Ulrich Drepper <drepper@redhat.com>
43728
43729 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43730 _PC_PIPE_BUF using F_GETPIPE_SZ.
43731
437322010-07-05 Roland McGrath <roland@redhat.com>
43733
43734 * manual/arith.texi (Rounding Functions): Fix rint description
43735 implicit in round description.
43736
437372010-07-02 Ulrich Drepper <drepper@redhat.com>
43738
43739 * elf/Makefile: Fix linking for a few tests to make recent linker
43740 happy.
43741
437422010-06-30 Andreas Schwab <schwab@redhat.com>
43743
43744 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43745 $(common-objpfx)libc_nonshared.a.
43746
437472010-06-21 Luis Machado <luisgpm@br.ibm.com>
43748
43749 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43750 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43751 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43752 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43753 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43754 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43755 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43756 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43771 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43772 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43773 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43774 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43775 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43776 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43777 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43778 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43779 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43780 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43781 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43782 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43797
437982010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43799
43800 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43801 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43802 * string/memmove.c (memmove): Renamed to ...
43803 (MEMMOVE): ...this. Default to memmove.
43804 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43805 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43806 (END_CHK): Define.
43807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43808 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43809 mempcpy-ssse3-back memmove-ssse3-back.
43810 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43811 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43812 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43813 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43814 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43815 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43816 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43817 * sysdeps/x86_64/multiarch/memmove.c: New file.
43818 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43819 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43820 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43821 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43822 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43823 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43824 Define.
43825 (index_Fast_Copy_Backward): Define.
43826 (HAS_ARCH_FEATURE): Define.
43827 (HAS_FAST_REP_STRING): Define.
43828 (HAS_FAST_COPY_BACKWARD): Define.
43829
438302010-06-21 Andreas Schwab <schwab@redhat.com>
43831
43832 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43833 Restore proper fallback handling.
43834
438352010-06-19 Ulrich Drepper <drepper@redhat.com>
43836
43837 [BZ #11701]
43838 * posix/group_member.c (__group_member): Correct checking loop.
43839
43840 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43841 OOM in getpwuid_r correctly. Return error number when the caller
43842 should return, otherwise -1.
43843 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43844 call returning > 0 value.
43845 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43846
438472010-06-07 Andreas Schwab <schwab@redhat.com>
43848
43849 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43850 libc_nonshared.a from targets in modules-names.
43851
438522010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43853
43854 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43855 requires it.
43856
438572010-06-10 Luis Machado <luisgpm@br.ibm.com>
43858
43859 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43860 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43861 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43862 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43863
438642010-06-02 Andreas Schwab <schwab@redhat.com>
43865
43866 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43867
438682010-06-14 Ulrich Drepper <drepper@redhat.com>
43869
43870 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43871 and F_GETPIPE_SZ.
43872 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43873 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43874 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43875 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43876 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43877 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43878
438792010-06-14 Roland McGrath <roland@redhat.com>
43880
43881 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43882
438832010-06-07 Jakub Jelinek <jakub@redhat.com>
43884
43885 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43886 __REDIRECT followed by __THROW.
43887 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43888 * posix/getopt.h (getopt): Likewise.
43889
438902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43891
43892 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43893 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43894 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43895 in AT_FLAGS.
43896 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43897 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43898
438992010-05-28 Luis Machado <luisgpm@br.ibm.com>
43900
43901 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43902
439032010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43904
43905 [BZ #11640]
43906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43907 Properly check family and model.
43908
439092010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43910
43911 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43912
439132010-05-24 Luis Machado <luisgpm@br.ibm.com>
43914
43915 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43916
439172010-05-21 Ulrich Drepper <drepper@redhat.com>
43918
43919 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43920 symbol reference.
43921
439222010-05-19 Andreas Schwab <schwab@redhat.com>
43923
43924 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43925 symbol reference.
43926
439272010-05-21 Andreas Schwab <schwab@redhat.com>
43928
43929 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43930 and internal_recvmmsg.
43931 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43932 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43933 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43934 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43935
43936 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43937 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43938 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43939
439402010-05-20 Andreas Schwab <schwab@redhat.com>
43941
43942 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43943
439442010-05-17 Luis Machado <luisgpm@br.ibm.com>
43945
43946 POWER7 optimizations.
43947 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43948 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43949
439502010-05-19 Ulrich Drepper <drepper@redhat.com>
43951
43952 * version.h: Update for 2.13 development version.
43953
439542010-05-12 Andrew Stubbs <ams@codesourcery.com>
43955
43956 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43957 exceptions. Return 0.
43958
439592010-05-07 Roland McGrath <roland@redhat.com>
43960
43961 * elf/ldconfig.c (main): Add a const.
43962
439632010-05-06 Ulrich Drepper <drepper@redhat.com>
43964
43965 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43966 (args_options): Add no-idn option.
43967 (ahosts_keys_int): Add idn_flags to ai_flags.
43968 (parse_option): Handle 'i' option to clear idn_flags.
43969
43970 * malloc/malloc.c (_int_free): Possible race in the most recently
43971 added check. Only act on the data if no current modification
43972 happened.
43973
43974See ChangeLog.17 for earlier changes.