1 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * crypt/md5-crypt.c: Fix formatting.
5 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8 (b64_from_24bit): New function.
10 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13 libc_hidden_builtin_def to ifunc.
14 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17 2014-05-21 Roland McGrath <roland@hack.frob.com>
19 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
22 2014-05-21 Joseph Myers <joseph@codesourcery.com>
24 * nscd/Depend (linuxthreads): Remove.
26 * resolv/Depend (linuxthreads): Remove.
27 * rt/Depend (linuxthreads): Remove.
29 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32 (link-libc-before-gnulib): Likewise.
33 (elfobjdir): Remove variable.
34 * Makefile (install): Use $(elf-objpfx) instead of
36 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38 (link-libc-deps): Likewise.
39 ($(common-objpfx)libc.so): Likewise.
40 ($(common-objpfx)linkobj/libc.so): Likewise.
41 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
42 instead of $(common-objpfx)elf/.
43 (symbolic-link-list): Likewise.
44 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45 [$(cross-compiling) = no]: Likewise.
46 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
48 (static-gnulib-arch): Likewise.
49 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
53 2014-05-21 Richard Henderson <rth@redhat.com>
55 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
56 (SINGLE_THREAD_P): Use the correct width load. Fold
59 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
60 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
62 2014-05-20 Joseph Myers <joseph@codesourcery.com>
64 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
65 (libgcc_s_resume): Use __attribute_used__.
66 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
69 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
72 optimization when used with float constants.
74 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
79 * locale/nl_langinfo_l.c: Make direct reference to every
80 _nl_current_CATEGORY symbol.
81 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
82 (tests-static): Add tst-langinfo-static.
83 (tests-special): Add tst-langinfo-static.out.
84 ($(objpfx)tst-langinfo.out): Redirect output.
85 ($(objpfx)tst-langinfo-static.out): New.
86 * localedata/tst-langinfo.sh: Send output to stdout.
87 * localedata/tst-langinfo-static.c: New file.
90 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
91 when the shift amount is modulo the limb size.
93 2014-05-20 Richard Henderson <rth@redhat.com>
96 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
97 Change type of sa_flags from unsigned int to int.
100 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
102 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
104 2014-05-20 Will Newton <will.newton@linaro.org>
106 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
107 Test the return value of the system call in the nocancel case.
109 2014-05-20 Will Newton <will.newton@linaro.org>
110 Yvan Roux <yvan.roux@linaro.org>
112 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
113 #include of asm/ptrace.h.
114 (PTRACE_GET_THREAD_AREA): Remove #undef.
115 (PTRACE_GETHBPREGS): Likewise.
116 (PTRACE_SETHBPREGS): Likewise.
117 (struct user_regs_struct): New structure.
118 (struct user_fpsimd_struct): New structure.
119 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
120 #include of asm/ptrace.h and second #include of sys/user.h.
121 (PTRACE_GET_THREAD_AREA): Remove #undef.
122 (PTRACE_GETHBPREGS): Likewise.
123 (PTRACE_SETHBPREGS): Likewise.
124 (ELF_NGREG): Use new struct user_regs_struct.
125 (elf_fpregset_t): Use new struct user_fpsimd_struct.
127 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
129 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
130 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
132 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
135 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
136 membar to avoid block loads/stores to overlap previous stores.
138 2014-05-17 Richard Henderson <rth@redhat.com>
140 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
141 Create the __##syscall_name##_nocancel entry point.
142 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
143 Remove; let the sysdep-cancel.h code create it.
145 2014-05-17 David S. Miller <davem@davemloft.net>
147 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
148 Protect with __USE_GNU.
149 (TIOCSET_TEMPT): Likewise.
150 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
151 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
152 these are already provided in bits/ioctl-types.h
154 2014-05-16 Roland McGrath <roland@hack.frob.com>
156 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
157 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
159 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
160 Use wait4 regardless of [__NR_waitpid].
162 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
165 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
166 (_FP_NANSIGN_Q): Set the quiet bit.
168 2014-05-16 Joseph Myers <joseph@codesourcery.com>
170 * benchtests/Makefile
171 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
172 not $(common-objpfx)math/libm.so.
173 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
174 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
175 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
176 $(common-objpfx)dlfcn/libdl.so.
177 ($(objpfx)tst-audit8): Depend on $(libm), not
178 $(common-objpfx)math/libm.so.
179 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
180 not $(common-objpfx)dlfcn/libdl.so.
182 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
183 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
184 [$(build-shared) = yes].
185 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
186 $(common-objpfx)nptl/libpthread.so.
187 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
188 $(common-objpfx)math/libm.so$(libm.so-version) or
189 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
190 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
191 $(common-objpfx)dlfcn/libdl.so.
192 * setjmp/Makefile (link-libm): Remove variable.
193 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
194 * stdio-common/Makefile (link-libm): Remove variable.
195 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
196 * stdlib/Makefile (link-libm): Remove variable.
197 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
198 ($(objpfx)tst-strtod-round): Likewise.
199 ($(objpfx)tst-tininess): Likewise.
200 ($(objpfx)tst-strtod-underflow): Likewise.
201 ($(objpfx)tst-strtod6): Likewise.
202 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
203 $(libdl), not $(common-objpfx)nptl/libpthread.so and
204 $(common-objpfx)dlfcn/libdl.so.
206 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
208 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
209 BSD terminal modes definitions.
211 2014-05-16 Roland McGrath <roland@hack.frob.com>
213 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
214 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
216 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
217 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
218 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
219 Don't do #include_next.
220 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
221 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
222 Don't do #include_next.
223 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
224 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
225 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
226 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
228 2014-05-16 Allan McRae <allan@archlinux.org>
230 * po/sv.po: Update Swedish translation from translation project.
232 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
235 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
238 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
239 errno if the TIOCGPTN ioctl fails with an error different than
241 * login/tst-ptsname.c: New file.
242 * login/Makefile (tests): Add tst-ptsname.
245 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
248 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
252 herrno to return EAI_AGAIN.
254 2014-05-14 Roland McGrath <roland@hack.frob.com>
256 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
257 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
258 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
259 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
260 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
261 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
262 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
263 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
265 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
266 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
267 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
268 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
269 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
270 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
271 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
272 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
273 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
274 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
275 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
276 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
277 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
278 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
279 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
280 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
281 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
282 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
283 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
284 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
285 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
287 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
289 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
292 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
298 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
300 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
302 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
304 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
306 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
308 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
310 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
312 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
314 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
316 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
318 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
321 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
323 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
325 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
327 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
329 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
331 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
333 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
335 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
339 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
342 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
344 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
346 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
347 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
348 (libpthread-sysdep_routines): Add elision-related stuff here instead.
349 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
350 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
351 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
352 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
353 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
354 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
355 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
356 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
357 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
358 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
359 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
360 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
361 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
362 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
363 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
364 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
365 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
366 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
367 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
368 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
369 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
370 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
371 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
372 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
373 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
374 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
375 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
376 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
378 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
379 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
381 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
382 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
383 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
384 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
385 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
386 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
388 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
389 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
391 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
392 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
394 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
398 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
399 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
400 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
402 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
403 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
404 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
405 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
406 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
407 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
408 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
409 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
411 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
412 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
414 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
416 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
417 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
418 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
419 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
420 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
422 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
424 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
426 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
427 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
428 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
429 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
430 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
431 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
433 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
434 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
436 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
437 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
439 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
443 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
444 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
445 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
447 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
448 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
449 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
450 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
451 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
452 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
453 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
454 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
456 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
457 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
459 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
461 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
462 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
463 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
464 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
465 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
467 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
469 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
471 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
472 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
473 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
474 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
475 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
476 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
477 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
478 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
479 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
480 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
482 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
483 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
485 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
486 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
488 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
489 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
491 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
492 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
493 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
494 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
495 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
496 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
498 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
499 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
500 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
501 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
502 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
503 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
504 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
505 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
507 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
508 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
510 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
512 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
513 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
514 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
515 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
516 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
518 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
520 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
523 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
524 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
525 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
526 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
527 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
528 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
529 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
530 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
531 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
532 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
534 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
535 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
537 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
538 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
540 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
541 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
542 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
543 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
544 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
545 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
546 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
547 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
548 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
549 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
550 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
551 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
552 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
553 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
554 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
555 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
556 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
557 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
559 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
560 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
561 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
562 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
564 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
565 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
566 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
567 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
568 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
569 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
570 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
571 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
573 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
574 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
576 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
577 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
578 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
579 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
580 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
581 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
582 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
583 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
584 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
585 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
586 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
587 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
588 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
589 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
590 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
591 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
592 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
594 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
595 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
596 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
597 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
598 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
600 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
601 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
602 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
603 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
604 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
605 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
606 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
607 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
608 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
609 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
611 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
612 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
614 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
615 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
616 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
617 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
618 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
619 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
620 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
621 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
622 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
623 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
624 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
625 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
626 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
627 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
628 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
630 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
632 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
634 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
636 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
638 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
640 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
648 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
650 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
651 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
652 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
653 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
654 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
655 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
656 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
657 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
658 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
659 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
660 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
661 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
662 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
664 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
665 that was previously under [RESET_PID].
666 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
667 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
668 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
670 * sysdeps/i386/nptl/Implies: New file.
671 * sysdeps/x86_64/nptl/Implies: New file.
672 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
673 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
674 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
675 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
677 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
678 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
679 (__libc_vfork): New strong alias.
680 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
681 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
683 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
684 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
685 (__libc_vfork): New strong alias.
686 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
687 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
689 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
690 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
691 (__libc_vfork): New strong alias.
692 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
693 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
694 * nptl/pt-vfork.c: New file.
695 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
696 (libpthread: GLIBC_2.20): New version set (empty).
698 2014-05-14 Will Newton <will.newton@linaro.org>
700 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
703 2014-05-14 Joseph Myers <joseph@codesourcery.com>
706 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
707 arguments with exponent 65 or above.
708 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
709 arguments 0x1p113L or above.
710 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
711 to arguments 0x1p107L or above.
712 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
713 positive arguments with exponent 65 or above.
714 * math/auto-libm-test-in: Add more tests of log1p.
715 * math/auto-libm-test-out: Regenerated.
718 * math/s_cacos.c (__cacos): Ensure zero real part of result from
719 non-finite arguments is +0.
720 * math/s_cacosf.c (__cacosf): Likewise.
721 * math/s_cacosl.c (__cacosl): Likewise.
722 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
723 * sysdeps/i386/fpu/libm-test-ulps: Update.
724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
727 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
729 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
730 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
731 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
732 for explicit high bit of mantissa when testing for argument equal
734 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
735 * sysdeps/i386/fpu/libm-test-ulps: Update.
736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
739 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
740 (__erf): Scale by 16 instead of 8 in potentially underflowing
741 case. Ensure exception if result actually underflows.
742 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
743 (__erff): Scale by 16 instead of 8 in potentially underflowing
744 case. Ensure exception if result actually underflows.
745 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
746 (efx8): Remove variable.
747 (__erfl): Scale by 16 instead of 8 in potentially underflowing
748 case. Ensure exception if result actually underflows.
749 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
750 (efx8): Remove variable.
751 (__erfl): Scale by 16 instead of 8 in potentially underflowing
752 case. Ensure exception if result actually underflows.
753 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
754 (efx8): Remove variable.
755 (__erfl): Scale by 16 instead of 8 in potentially underflowing
756 case. Ensure exception if result actually underflows.
757 * math/auto-libm-test-in: Add more tests of erf.
758 * math/auto-libm-test-out: Regenerated.
760 2014-05-14 Andreas Schwab <schwab@suse.de>
762 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
763 Remove code conditionalized on USE___THREAD.
765 * config.h.in (HAVE_PT_CHOWN): Define as 0.
766 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
769 2014-05-14 Joseph Myers <joseph@codesourcery.com>
771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
772 Define unconditionally.
773 (__ASSUME_O_CLOEXEC): Likewise.
774 (__ASSUME_SOCK_CLOEXEC): Likewise.
775 (__ASSUME_IN_NONBLOCK): Likewise.
776 (__ASSUME_PIPE2): Likewise.
777 (__ASSUME_EVENTFD2): Likewise.
778 (__ASSUME_SIGNALFD4): Likewise.
779 (__ASSUME_DUP3): Likewise.
780 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
781 (__ASSUME_DUP3): Do not define.
782 (__ASSUME_EVENTFD2): Likewise.
783 (__ASSUME_IN_NONBLOCK): Likewise.
784 (__ASSUME_O_CLOEXEC): Likewise.
785 (__ASSUME_PIPE2): Likewise.
786 (__ASSUME_SIGNALFD4): Likewise.
787 (__ASSUME_SOCK_CLOEXEC): Likewise.
788 (__ASSUME_UTIMES): Undefine.
789 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
790 (__ASSUME_UTIMES): Do not define.
791 (__ASSUME_O_CLOEXEC): Likewise.
792 (__ASSUME_SOCK_CLOEXEC): Likewise.
793 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
794 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
796 (__ASSUME_PIPE2): Likewise.
797 (__ASSUME_EVENTFD2): Likewise.
798 (__ASSUME_SIGNALFD4): Likewise.
799 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
800 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
802 (__ASSUME_EVENTFD2): Likewise.
803 (__ASSUME_SIGNALFD4): Likewise.
804 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
805 (__ASSUME_32BITUIDS): Likewise.
806 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
807 (__ASSUME_IPC64): Likewise.
808 (__ASSUME_ST_INO_64_BIT): Likewise.
809 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
810 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
811 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
812 (__ASSUME_UTIMES): Do not define.
813 (__ASSUME_PSELECT): Likewise.
814 (__ASSUME_PPOLL): Likewise.
815 (__ASSUME_O_CLOEXEC): Likewise.
816 (__ASSUME_SOCK_CLOEXEC): Likewise.
817 (__ASSUME_IN_NONBLOCK): Likewise.
818 (__ASSUME_PIPE2): Likewise.
819 (__ASSUME_EVENTFD2): Likewise.
820 (__ASSUME_SIGNALFD4): Likewise.
821 (__ASSUME_DUP3): Likewise.
822 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
823 (__ASSUME_UTIMES): Likewise.
824 (__ASSUME_O_CLOEXEC): Likewise.
825 (__ASSUME_SOCK_CLOEXEC): Likewise.
826 (__ASSUME_IN_NONBLOCK): Likewise.
827 (__ASSUME_PIPE2): Likewise.
828 (__ASSUME_EVENTFD2): Likewise.
829 (__ASSUME_SIGNALFD4): Likewise.
830 (__ASSUME_DUP3): Likewise.
831 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
832 (__ASSUME_UTIMES): Likewise.
833 (__ASSUME_O_CLOEXEC): Likewise.
834 (__ASSUME_SOCK_CLOEXEC): Likewise.
835 (__ASSUME_IN_NONBLOCK): Likewise.
836 (__ASSUME_PIPE2): Likewise.
837 (__ASSUME_EVENTFD2): Likewise.
838 (__ASSUME_SIGNALFD4): Likewise.
839 (__ASSUME_DUP3): Likewise.
840 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
842 (__ASSUME_UTIMES): Likewise.
843 (__ASSUME_EVENTFD2): Likewise.
844 (__ASSUME_SIGNALFD4): Likewise.
845 * sysdeps/unix/sysv/linux/tile/kernel-features.h
846 (__ASSUME_O_CLOEXEC): Likewise.
847 (__ASSUME_SOCK_CLOEXEC): Likewise.
848 (__ASSUME_IN_NONBLOCK): Likewise.
849 (__ASSUME_PIPE2): Likewise.
850 (__ASSUME_EVENTFD2): Likewise.
851 (__ASSUME_SIGNALFD4): Likewise.
852 (__ASSUME_DUP3): Likewise.
853 (__ASSUME_UTIMES): Undefine.
855 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
856 feclearexcept. Remove symbol versioning code.
857 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
858 symbol versioning code.
859 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
860 symbol versioning code.
861 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
862 feupdateenv. Remove symbol versioning code.
863 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
864 fegetexceptflag. Remove symbol versioning code.
865 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
866 fesetexceptflag. Remove symbol versioning code.
867 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
868 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
869 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
870 (__posix_fadvise64_l32): Remove prototype.
871 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
874 2014-05-13 Roland McGrath <roland@hack.frob.com>
876 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
877 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
878 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
879 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
881 2014-05-13 Sami Kerola <kerolasa@iki.fi>
883 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
884 current working directory
886 2014-05-13 Roland McGrath <roland@hack.frob.com>
888 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
889 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
890 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
891 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
892 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
893 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
894 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
895 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
896 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
897 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
898 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
899 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
900 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
901 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
902 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
903 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
904 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
905 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
906 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
907 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
908 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
909 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
910 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
911 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
912 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
913 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
914 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
915 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
916 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
917 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
918 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
919 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
920 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
921 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
922 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
923 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
924 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
925 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
926 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
927 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
928 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
929 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
931 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
932 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
934 * sysdeps/unix/sysv/linux/arm/Makefile
935 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
936 Add rt-aeabi_unwind_cpp_pr1.
937 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
938 Add nptl-aeabi_unwind_cpp_pr1.
939 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
940 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
941 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
942 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
943 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
944 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
946 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
947 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
948 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
949 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
951 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
952 Deconditionalize the code that was previously under [RESET_PID].
953 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
955 * sysdeps/generic/exit-thread.h: New file.
956 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
957 * include/unistd.h (__exit_thread): Remove declaration.
958 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
959 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
960 * csu/libc-start.c: Include <exit-thread.h>.
961 (LIBC_START_MAIN): Pass no argument to __exit_thread.
962 * nptl/pthread_create.c: Include <exit-thread.h>.
963 (start_thread): Call __exit_thread in place of __exit_thread_inline.
964 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
965 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
966 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
967 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
968 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
969 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
970 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
971 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
972 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
973 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
974 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
975 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
976 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
977 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
978 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
979 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
981 2014-05-13 Andreas Schwab <schwab@suse.de>
983 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
985 2014-05-12 Joseph Myers <joseph@codesourcery.com>
987 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
988 (__ASSUME_UTIMES): Do not condition on kernel version.
989 (__ASSUME_PSELECT): Define unconditionally.
990 (__ASSUME_PPOLL): Likewise.
991 (__ASSUME_ATFCTS): Likewise.
992 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
993 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
994 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
995 (__ASSUME_UTIMENSAT): Define unconditionally.
996 (__ASSUME_PRIVATE_FUTEX): Likewise.
997 (__ASSUME_FALLOCATE): Likewise.
998 (__ASSUME_O_CLOEXEC): Likewise.
999 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1000 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1001 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1002 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1003 (__ASSUME_IN_NONBLOCK): Likewise.
1004 (__ASSUME_PIPE2): Likewise.
1005 (__ASSUME_EVENTFD2): Likewise.
1006 (__ASSUME_SIGNALFD4): Likewise.
1007 (__ASSUME_DUP3): Likewise.
1008 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1009 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1010 (__ASSUME_AT_RANDOM): Likewise.
1011 (__ASSUME_PREADV): Likewise.
1012 (__ASSUME_PWRITEV): Likewise.
1013 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1014 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1015 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1016 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1017 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1018 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1019 (__ASSUME_O_CLOEXEC): Define unconditionally.
1020 (__ASSUME_PSELECT): Do not undefine conditionally.
1021 (__ASSUME_PPOLL): Likewise.
1022 (__ASSUME_ATFCTS): Likewise.
1023 (__ASSUME_SET_ROBUST_LIST): Likewise.
1024 (__ASSUME_UTIMENSAT): Likewise.
1025 (__ASSUME_FDATASYNC): Define unconditionally.
1026 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1027 (__ASSUME_SIGFRAME_V2): Likewise.
1028 )__ASSUME_EVENTFD2): Likewise.
1029 (__ASSUME_SIGNALFD4): Likewise.
1030 (__ASSUME_PSELECT): Do not undefine conditionally.
1031 (__ASSUME_PPOLL): Likewise.
1032 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1033 (__ASSUME_PSELECT): Define unconditionally.
1034 (__ASSUME_PPOLL): Likewise.
1035 (__ASSUME_O_CLOEXEC): Likewise.
1036 (__ASSUME_SOCK_CLOEXEC): Likewise.
1037 (__ASSUME_IN_NONBLOCK): Likewise.
1038 (__ASSUME_PIPE2): Likewise.
1039 (__ASSUME_EVENTFD2): Likewise.
1040 (__ASSUME_SIGNALFD4): Likewise.
1041 (__ASSUME_DUP3): Likewise.
1042 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1043 (__ASSUME_O_CLOEXEC): Likewise.
1044 (__ASSUME_SOCK_CLOEXEC): Likewise.
1045 (__ASSUME_IN_NONBLOCK): Likewise.
1046 (__ASSUME_PIPE2): Likewise.
1047 (__ASSUME_EVENTFD2): Likewise.
1048 (__ASSUME_SIGNALFD4): Likewise.
1049 (__ASSUME_DUP3): Likewise.
1050 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1051 (__ASSUME_EVENTFD2): Likewise.
1052 (__ASSUME_SIGNALFD4): Likewise.
1053 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1055 2014-05-12 Andreas Schwab <schwab@suse.de>
1058 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1059 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1060 than maximum RPC packet size.
1061 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1062 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1063 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1064 (_nss_nis_getservbyport_r): Likewise.
1066 2014-05-12 Will Newton <will.newton@linaro.org>
1068 * malloc/Makefile (tests): Add tst-mallopt.
1069 * malloc/tst-mallopt.c: New file.
1071 2014-05-09 Roland McGrath <roland@hack.frob.com>
1073 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1074 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1076 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1078 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1079 (tst-tlsmod6.so): Likewise.
1081 2014-05-09 Roland McGrath <roland@hack.frob.com>
1083 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1085 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1088 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1089 and <dl-procinfo.h>.
1090 (__fegetenv): Save SSE state in envp->__eip if supported.
1091 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1092 envp->__eip if supported.
1093 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1094 and <dl-procinfo.h>.
1095 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1096 __data_offset and __data_selector in environment to 0. Set SSE
1098 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1100 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1102 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1104 2014-05-09 Will Newton <will.newton@linaro.org>
1106 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1107 and libc_relro_required for ARM.
1108 * sysdeps/arm/preconfigure: Regenerate.
1110 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1111 Stefan Liebler <stli@linux.vnet.ibm.com>
1113 * config.make.in (enable-lock-elision): New Makefile variable.
1114 * configure.ac: Likewise.
1115 * configure: Regenerate.
1116 * sysdeps/s390/configure.ac:
1117 Add check for gcc transactions support.
1118 * sysdeps/s390/configure: Regenerate.
1119 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1120 Build elision files if enabled.
1121 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1122 Add lock elision support for s390.
1123 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1124 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1125 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1126 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1127 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1128 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1129 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1131 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1133 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1135 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1137 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1138 (__lll_timedlock_elision, __lll_lock_elision)
1139 (__lll_unlock_elision, __lll_trylock_elision)
1140 (lll_timedlock_elision, lll_lock_elision)
1141 (lll_unlock_elision, lll_trylock_elision): Add.
1142 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1143 (pthread_mutex_t): Add lock elision support for s390.
1145 2014-05-14 Wilco <wdijkstr@arm.com>
1147 * sysdeps/arm/fclrexcpt.c: Cleanup.
1148 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1149 * sysdeps/arm/feenablxcpt.c: Cleanup.
1150 * sysdeps/arm/fegetenv.c: Cleanup.
1151 * sysdeps/arm/fegetexcept.c: Cleanup.
1152 * sysdeps/arm/fegetround.c: Cleanup.
1153 * sysdeps/arm/feholdexcpt.c: Cleanup.
1154 * sysdeps/arm/fesetenv.c: Cleanup.
1155 * sysdeps/arm/fesetround.c: Cleanup.
1156 * sysdeps/arm/feupdateenv.c: Cleanup.
1157 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1158 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1159 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1160 * sysdeps/arm/ftestexcept.c: Cleanup.
1161 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1162 * sysdeps/arm/setfpucw.c: Cleanup.
1164 2014-05-09 Will Newton <will.newton@linaro.org>
1166 * sysdeps/arm/armv7/strcmp.S: New file.
1167 * NEWS: Mention addition of ARMv7 optimized strcmp.
1169 2014-05-08 Roland McGrath <roland@hack.frob.com>
1171 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1172 look for %.ac rather than %.in.
1174 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1175 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1176 * sysdeps/mach/hurd/configure: Regenerated.
1177 * sysdeps/unix/sysv/linux/configure: Regenerated.
1179 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1181 2014-05-07 Steve Ellcey <sellcey@mips.com>
1184 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1188 2014-05-07 Andreas Schwab <schwab@suse.de>
1190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1191 when skipping over non-matching result from nscd.
1193 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1196 * nptl/sockperf.c (client): Check socket return value.
1199 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1200 nscd security class.
1202 2014-05-06 Roland McGrath <roland@hack.frob.com>
1204 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1205 * sysdeps/arm/unwind.h: ... here.
1207 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1210 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1213 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1215 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1216 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1217 multiarch strncpy for PPC64.
1218 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1219 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1221 multiarch optimizations.
1222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1223 (__libc_ifunc_impl_list): Likewise.
1224 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1225 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1226 multiarch stpncpy for PPC64.
1227 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1228 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1230 2014-05-06 Andreas Schwab <schwab@suse.de>
1233 * gmon/mcount.c (_MCOUNT_DECL): Use
1234 atomic_compare_and_exchange_bool_acq instead of
1235 catomic_compare_and_exchange_bool_acq.
1237 2014-05-05 Roland McGrath <roland@hack.frob.com>
1239 * elf/Makefile (others, install-bin): Remove pldd.
1240 (pldd-modules): Variable removed.
1241 ($(objpfx)pldd): Target removed.
1242 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1243 (others, install-bin): Append pldd here.
1244 ($(objpfx)pldd): New target.
1246 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1247 to 0, so the first #if test emitted later doesn't see it undefined.
1248 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1249 * sysdeps/gnu/errlist.c: Regenerated.
1251 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1253 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1254 [libc_hidden_builtin_def]: Define to empty value.
1255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1256 [libc_hidden_builtin_def]: Likewise.
1257 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1258 [libc_hidden_builtin_def]: Likewise.
1259 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1260 [libc_hidden_builtin_def]: Likewise.
1261 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1262 __redirect_memcpy and define ifunc as default hidden symbol.
1263 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1264 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1266 2014-05-04 Adam Conrad <adconrad@0c3.net>
1268 * locale/iso-4217.def: Reintroduce XDR currency.
1270 2014-05-04 Allan McRae <allan@archlinux.org>
1272 * po/eo.po: Update Esperanto translation from translation project.
1274 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1276 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1277 and FEATURE_INDEX_MAX to 1.
1278 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1280 2014-05-01 Steve Ellcey <sellcey@mips.com>
1282 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1283 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1284 * iconvdata/big5.c (ONE_DIRECTION): Define.
1285 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1286 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1287 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1288 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1289 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1290 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1291 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1292 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1293 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1294 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1295 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1296 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1297 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1298 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1299 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1300 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1301 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1302 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1303 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1304 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1305 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1306 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1307 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1308 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1309 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1310 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1311 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1312 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1313 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1314 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1315 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1316 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1317 * iconvdata/johab.c (ONE_DIRECTION): Define.
1318 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1319 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1320 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1321 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1322 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1323 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1324 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1325 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1326 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1327 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1329 2014-05-01 Roland McGrath <roland@hack.frob.com>
1331 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1332 (_IO_JUMPS_OFFSET): Define to 0.
1334 * nptl/sysdeps/pthread/bits/libc-lock.h
1335 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1336 (__libc_lock_define_initialized_recursive): Always define using
1337 initializer. Modern compilers treat uninitialized (implicit zero) and
1338 explicit zero initializers the same (i.e. put the datum in bss).
1340 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1342 * nscd/nscd-client.h: Include <string.h>.
1344 2014-05-01 David S. Miller <davem@davemloft.net>
1347 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1348 multiple zero bytes exist at the end of a string.
1349 Reported by Aurelien Jarno <aurelien@aurel32.net>
1351 * string/test-strcmp.c (check): Add explicit test for situations where
1352 there are multiple zero bytes after the first.
1354 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1357 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1358 when compiling wprintf.
1359 * stdio-common/tstdiomisc.c (t3): New function.
1362 2014-05-01 Steve Ellcey <sellcey@mips.com>
1364 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1365 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1366 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1367 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1369 2014-05-01 Steve Ellcey <sellcey@mips.com>
1371 * stdlib/longlong.h: Updated from GCC.
1373 2014-05-01 Will Newton <will.newton@linaro.org>
1374 Bernard Ogden <bernie.ogden@linaro.org>
1376 * NEWS: Update fixed bug list.
1379 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1381 2014-04-30 David S. Miller <davem@davemloft.net>
1383 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1384 (libc_feholdexcept_setround_sparc_ctx): New function.
1385 (libc_fesetenv_sparc_ctx): Likewise.
1386 (libc_feupdateenv_sparc_ctx): Likewise.
1387 (libc_feholdsetround_sparc_ctx): Likewise.
1388 (libc_feholdexcept_setround_ctx): Define.
1389 (libc_feholdexcept_setroundf_ctx): Likewise.
1390 (libc_feholdexcept_setroundl_ctx): Likewise.
1391 (libc_fesetenv_ctx): Likewise.
1392 (libc_fesetenvf_ctx): Likewise.
1393 (libc_fesetenvl_ctx): Likewise.
1394 (libc_feupdateenv_ctx): Likewise.
1395 (libc_feupdateenvf_ctx): Likewise.
1396 (libc_feupdateenvl_ctx): Likewise.
1397 (libc_feresetround_ctx): Likewise.
1398 (libc_feresetroundf_ctx): Likewise.
1399 (libc_feresetroundl_ctx): Likewise.
1400 (libc_feholdsetround_ctx): Likewise.
1401 (libc_feholdsetroundf_ctx): Likewise.
1402 (libc_feholdsetroundl_ctx): Likewise.
1404 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1405 with __USE_GNU instead of XOPEN cpp guards.
1407 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1410 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1411 with XOPEN cpp guards.
1413 2014-04-30 Julian Brown <julian@codesourcery.com>
1416 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1419 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1422 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1424 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1425 * sysdeps/unix/sysv/linux/configure: Regenerated.
1426 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1427 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1428 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1429 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1430 * README: Update reference to required Linux kernel version.
1431 * manual/install.texi (Linux): Update reference to required Linux
1432 kernel headers version.
1433 * INSTALL: Regenerated.
1435 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1437 [POSIX] (limits.h): Likewise.
1438 [POSIX] (math.h): Likewise.
1439 [POSIX] (sys/wait.h): Likewise.
1440 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1442 [POSIX] (stddef.h): Do not allow header inclusion.
1444 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1446 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1448 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1450 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1451 Return immediately after lll_futex_wake.
1453 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1456 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1458 (datahead_init_pos): Call datahead_init_common early.
1459 (datahead_init_neg): Likewise.
1461 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1462 datahead_init_neg): New functions.
1463 * nscd/aicache.c (addhstaiX): Use them.
1464 * nscd/grpcache.c (cache_addgr): Likewise.
1465 * nscd/hstcache.c (cache_addhst): Likewise.
1466 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1467 * nscd/netgroupcache.c (do_notfound): Likewise.
1468 (addgetnetgrentX): Likewise.
1469 (addinnetgrX): Likewise.
1470 * nscd/pwdcache.c (cache_addpw): Likewise.
1471 * nscd/servicescache.c (cache_addserv): Likewise.
1473 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1474 Atsushi Onoe <atsushi@onoe.org>
1479 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1480 one response is valid.
1481 * resolv/res_send.c (send_dg): Check for validity of other
1482 response if the current response is a referral.
1484 2014-04-29 Steve Ellcey <sellcey@mips.com>
1486 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1488 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1491 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1492 Always divide by positive zero when computing -Inf result.
1493 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1494 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1496 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1498 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1499 FPSCR if value do not change.
1500 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1501 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1502 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1503 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1504 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1505 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1508 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1510 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1511 * sysdeps/unix/sysv/linux/hppa: Move directory from
1512 ports/systeps/unix/sysv/linux/hppa.
1513 * README: Update listing for hppa-*-linux-gnu.
1515 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1518 * manual/stdio.texi (Hook functions): Fix types of stream hook
1521 * socket/sys/socket.h: Fix typo in comment.
1523 2014-04-28 Wilco <wdijkstr@arm.com>
1525 * sysdeps/arm/fenv_private.h: New file.
1526 * sysdeps/arm/math_private.h: New file.
1527 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1529 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1531 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1533 (La_x86_64_retval): Likewise.
1535 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1537 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1538 fpsr if value didn't change.
1539 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1540 to fpcr if value didn't change.
1541 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1542 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1543 fpsr or fpcr if value didn't change.
1544 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1545 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1546 fpcr if value didn't change.
1547 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1548 to fpsr if value didn't change.
1550 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1552 * nptl/tst-sem3.c: Use test-skeleton.c
1553 (main): Rename to do_test. Use return instead of
1555 * nptl/tst-sem4.c: Use test-skeleton.c
1556 (main): Rename to do_test.
1558 2014-04-22 David S. Miller <davem@davemloft.net>
1560 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1561 (struct sigaction): New struct member __glibc_reserved0, change
1562 type of sa_flags to int.
1564 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1566 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1567 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1569 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1571 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1572 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1574 2014-04-22 Will Newton <will.newton@linaro.org>
1575 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1577 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1578 (__longjmp): Add longjmp and longjmp_target SystemTap
1580 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1581 (__sigsetjmp): Add setjmp SystemTap probe.
1583 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1585 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1588 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1590 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1592 * sysdeps/powerpc/fpu/fenv_private.h
1593 (libc_feholdexcept_setroundl_ctx): Define to
1594 libc_feholdexcept_setround_ppc_ctx.
1595 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1596 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1597 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1598 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1600 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1602 * sysdeps/aarch64/math-tests.h: New file.
1604 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1606 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1609 Check and set bit_AVX2_Usable.
1610 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1612 (bit_AVX2): Likewise.
1613 (index_AVX2_Usable): Likewise.
1614 (CPUID_AVX2): Likewise.
1615 (HAS_AVX2): Likewise.
1617 2014-04-17 Will Newton <will.newton@linaro.org>
1619 * manual/setjmp.texi (System V contexts): Add note that
1620 calling setcontext on a context created by a call to a
1621 signal handler is undefined. Update text to note that
1622 setcontext from a signal handler is possible but not
1626 * stdlib/tst-setcontext.c: Include signal.h.
1627 (main): Check that the signal stack before and
1628 after swapcontext is the same.
1630 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1631 Re-implement to restore registers in user code and avoid
1632 rt_sigreturn system call.
1634 2014-04-17 Wilco <wdijkstr@arm.com>
1636 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1637 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1638 * math/test-fenv.c: Skip exception trap tests on targets which only
1639 support non-stop mode.
1641 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1642 Wilco Dijkstra <wilco.dijkstra@arm.com>
1644 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1645 (libc_feholdsetround_aarch64_ctx)
1646 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1647 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1648 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1649 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1650 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1651 (libc_feresetround_noexl_ctx): Define.
1653 2014-04-16 Richard Henderson <rth@redhat.com>
1655 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1657 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1660 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1661 const from the non-libc, non-ldso copy.
1663 * sysdeps/alpha/libm-test-ulps: Regenerate.
1665 2014-04-16 Ian Bolton <ian.bolton@arm.com>
1666 Wilco Dijkstra <wilco.dijkstra@arm.com>
1668 * sysdeps/aarch64/fpu/math_private.h: New file.
1670 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1672 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1674 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1676 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1677 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1678 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1679 Intel MPX bound registers before _dl_profile_fixup.
1680 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1681 registers after _dl_profile_fixup. Save and restore bound
1682 registers bnd0/bnd1 when calling _dl_call_pltexit.
1683 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1684 (LR_BND_OFFSET): Likewise.
1685 (LRV_BND0_OFFSET): Likewise.
1686 (LRV_BND1_OFFSET): Likewise.
1688 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1690 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1692 * sysdeps/mach/hurd/i386/tls.h: ... here.
1693 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1694 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1697 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1699 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1701 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1703 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1705 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1708 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1709 * sysdeps/s390/configure: Regenerate.
1712 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1713 Set round-to-nearest internally to reduce error accumulation.
1715 2014-04-16 Alan Modra <amodra@gmail.com>
1719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1720 * math/libm-test.inc (frexp_test_data): Add tests.
1721 * NEWS: Update fixed bug list.
1723 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1725 * benchtests/Makefile: Depend on libraries in build directory.
1726 (bench-math): Separate out math tests.
1727 (bench-pthread): Separate out pthread tests.
1728 (bench): Include math and pthread tests.
1730 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1733 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1734 _dl_debug_initialize.
1736 * configure.ac: Remove SELinux header check.
1737 * configure: Regenerate.
1738 * nscd/selinux.c (perms): Array of const char* to permission names.
1739 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1740 default policy. Call string_to_security_class and string_to_av_perm to
1741 translate strings. Enforce default policy and call avs_has_perm with
1742 results of translated strings.
1744 2014-04-13 David S. Miller <davem@davemloft.net>
1746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1748 2014-04-12 Allan McRae <allan@archlinux.org>
1751 * manual/string.texi (Collation Functions): Fix qsort argument
1753 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1755 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1757 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1758 Make the test a no-op if there are no exceptions defined.
1760 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1762 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1763 enable-hardcoded-path-in-tests
1765 2014-04-11 Will Newton <will.newton@linaro.org>
1767 * benchtests/Makefile (extra-objs): Add json-lib.o.
1768 (bench-func): Tidy up JSON output.
1769 * benchtests/bench-skeleton.c: Include json-lib.h.
1770 (main): Use JSON library functions to do output of
1772 * benchtests/bench-timing-type.c (main): Output the
1773 timing type simply, leaving formatting to the user.
1774 * benchtests/json-lib.c: New file.
1775 * benchtests/json-lib.h: Likewise.
1777 2014-04-11 Torvald Riegel <triegel@redhat.com>
1780 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1781 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1782 memory barriers. Add comments.
1783 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1784 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1785 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1786 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1787 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1788 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1790 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1792 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1793 * sysdeps/s390/s390-64/configure.ac: ... this ...
1794 * sysdeps/s390/configure.ac: ... to here.
1795 * sysdeps/s390/s390-32/configure: Delete file.
1796 * sysdeps/s390/s390-64/configure: Delete file.
1797 * sysdeps/s390/configure: Regenerate.
1799 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1801 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1803 2014-04-11 Will Newton <will.newton@linaro.org>
1805 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1806 to zero if it is not defined elsewhere. (mtrim): Test
1807 the value of MALLOC_DEBUG with #if rather than #ifdef.
1809 2014-04-10 Torvald Riegel <triegel@redhat.com>
1811 * benchtests/pthread_once-inputs: New file.
1812 * benchtests/pthread_once-source.c: New file.
1813 * benchtests/README: Update documentation.
1815 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1816 H.J. Lu <hongjiu.lu@intel.com>
1818 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1819 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1820 * sysdeps/x86_64/configure: Regenerated.
1821 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1823 (REGISTER_SAVE_RAX): Likewise.
1824 (REGISTER_SAVE_RCX): Likewise.
1825 (REGISTER_SAVE_RDX): Likewise.
1826 (REGISTER_SAVE_RSI): Likewise.
1827 (REGISTER_SAVE_RDI): Likewise.
1828 (REGISTER_SAVE_R8): Likewise.
1829 (REGISTER_SAVE_R9): Likewise.
1830 (REGISTER_SAVE_BND0): Likewise.
1831 (REGISTER_SAVE_BND1): Likewise.
1832 (REGISTER_SAVE_BND2): Likewise.
1833 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1834 bound registers when calling _dl_fixup.
1836 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1838 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1839 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1841 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1842 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1843 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1844 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1845 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1846 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1847 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1849 2014-04-09 Peter Brett <peter@peter-b.co.uk>
1852 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1853 pathconf(_PC_NAME_MAX).
1855 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1857 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1859 (__PTHREAD_SPINS): Move definition to ...
1860 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1861 (__PTHREAD_SPINS): ... here.
1862 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1863 (__PTHREAD_SPIN): Likewise.
1864 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1865 (__PTHREAD_SPIN): Likewise.
1866 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1867 (__PTHREAD_SPIN): Likewise.
1868 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1869 (__PTHREAD_SPIN): Likewise.
1870 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1871 (__PTHREAD_SPIN): Likewise.
1872 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1873 (__PTHREAD_SPIN): Likewise.
1874 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1875 (__PTHREAD_SPIN): Likewise.
1876 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1877 (__PTHREAD_SPIN): Likewise.
1878 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1879 (__PTHREAD_SPIN): Likewise.
1880 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1881 (__PTHREAD_SPIN): Likewise.
1882 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1883 (__PTHREAD_SPIN): Likewise.
1884 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1885 (__PTHREAD_SPIN): Likewise.
1887 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1888 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1889 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1890 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1892 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1893 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1894 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1895 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1897 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1898 strlen symbol for non multi-arch builds.
1899 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1900 missing hidden_def and weak_alias.
1902 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1904 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1906 2014-04-07 Will Newton <will.newton@linaro.org>
1908 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1909 and contents. [!_LIBC] Remove #ifndef and contents.
1910 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1911 * string/memccpy.c (__memccpy): Use ANSI prototype.
1912 * string/memfrob.c (memfrob): Likewise.
1913 * string/strcoll.c (STRCOLL): Likewise.
1914 * string/strlen.c (strlen): Likewise.
1915 * string/strtok.c (STRTOK): Likewise.
1916 * string/strcat.c: Remove unused #include of memcopy.h.
1917 (strcat): Use ANSI prototype.
1918 * string/strchr.c: Remove unused #include of memcopy.h.
1919 (strchr): Use ANSI prototype.
1920 * string/strcmp.c: Remove unused #include of memcopy.h.
1921 (strcmp): Use ANSI prototype.
1922 * string/strcpy.c: Remove unused #include of memcopy.h.
1923 (strcpy): Use ANSI prototype.
1925 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1927 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1928 * config.make.in (config-extra-cppflags): Set it from
1929 libc_extra_cppflags.
1930 * configure.ac (libc_extra_cflags): Make it accumulate over
1931 configure fragments.
1932 (libc_extra_cppflags): New flag.
1933 * configure. Regenerate.
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1935 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1936 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1940 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1941 result for FE_DOWNWARD rounding mode.
1942 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1946 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1948 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1949 in function argument name.
1951 2014-04-03 David Svoboda <svoboda@cert.org>
1954 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1957 2014-04-03 Roland McGrath <roland@hack.frob.com>
1959 * elf/dl-unmap-segments.h: New file.
1960 * sysdeps/generic/ldsodefs.h
1961 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1962 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1963 * elf/dl-fptr.c: Likewise.
1964 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1965 * sysdeps/aarch64/tlsdesc.c: Likewise.
1966 * sysdeps/arm/tlsdesc.c: Likewise.
1967 * sysdeps/i386/tlsdesc.c: Likewise.
1968 * sysdeps/tile/dl-runtime.c: Likewise.
1969 * sysdeps/x86_64/tlsdesc.c: Likewise.
1970 * elf/dl-load.h: New file.
1971 * elf/dl-load.c: Include it.
1972 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1973 Macros moved to dl-load.h.
1974 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1975 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1976 Use _dl_unmap_segments in place of __munmap.
1977 Break out segment-mapping loop into ...
1978 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1980 2014-04-03 Will Newton <will.newton@linaro.org>
1982 * elf/dl-lookup.c (do_lookup_x): Remove comment
1983 referring to nested function and move variable
1984 declarations down to before first use.
1986 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1990 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1992 * math/s_catanf.c (__catanf): Likewise.
1993 * math/s_catanh.c (__catanh): Likewise.
1994 * math/s_catanhf.c (__catanhf): Likewise.
1995 * math/s_catanhl.c (__catanhl): Likewise.
1996 * math/s_catanl.c (__catanl): Likewise.
1997 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1998 by positive zero when computing -Inf result.
1999 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2000 (catanh_test): Likewise.
2001 * sysdeps/i386/fpu/libm-test-ulps: Update.
2002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2005 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2006 instead of using underflowing value in computing result.
2007 * math/s_clog10.c (__clog10): Likewise.
2008 * math/s_clog10f.c (__clog10f): Likewise.
2009 * math/s_clog10l.c (__clog10l): Likewise.
2010 * math/s_clogf.c (__clogf): Likewise.
2011 * math/s_clogl.c (__clogl): Likewise.
2012 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2013 (clog10_test): Likewise.
2014 * sysdeps/i386/fpu/libm-test-ulps: Update.
2015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2017 2014-04-02 Alan Modra <amodra@gmail.com>
2020 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2021 output when value is near a power of two. Use int64_t for lx and
2022 remove casts. Use decimal rather than hex exponent constants.
2023 Don't use long double multiplication when double will suffice.
2024 * math/libm-test.inc (nextafter_test_data): Add tests.
2025 * NEWS: Add 16739 and 16786 to bug list.
2027 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2029 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2031 2014-04-01 Will Newton <will.newton@linaro.org>
2033 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2034 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2036 2014-04-01 Florian Weimer <fweimer@redhat.com>
2039 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2040 * nptl/tst-setuid2.c: New file.
2041 * nptl/Makefile (xtests): Add tst-setuid2.
2043 2014-04-01 Alan Modra <amodra@gmail.com>
2046 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2048 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2052 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2053 set errno as appropriate.
2054 * math/w_scalbf.c (__scalbf): Likewise.
2055 * math/w_scalbl.c (__scalbl): Likewise.
2056 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2057 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2058 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2062 * math/w_atan2.c: Include <errno.h>.
2063 (__atan2): Set errno for result underflowing to zero.
2064 * math/w_atan2f.c: Include <errno.h>.
2065 (__atan2f): Set errno for result underflowing to zero.
2066 * math/w_atan2l.c: Include <errno.h>.
2067 (__atan2l): Set errno for result underflowing to zero.
2068 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2070 * math/auto-libm-test-out: Regenerated.
2072 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2075 Encode instruction correctly in little endian.
2076 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2078 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2080 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2082 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2085 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2088 * sysdeps/unix/sysv/linux/kernel-features.h
2089 [__sparc__ && !__arch64__ && !__sparc_v9__]
2090 (__ASSUME_SET_ROBUST_LIST): Do not define.
2091 [__sparc__ && !__arch64__ && !__sparc_v9__]
2092 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2093 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2095 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2096 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2097 (__ASSUME_REQUEUE_PI): Likewise.
2098 (__ASSUME_SET_ROBUST_LIST): Likewise.
2099 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2100 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2102 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2103 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2105 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2107 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2109 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2110 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2112 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2113 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2117 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2118 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2119 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2121 2014-03-31 Will Newton <will.newton@linaro.org>
2123 * benchtests/Makefile (bench): Add ffs and ffsll to list
2125 * benchtests/ffs-inputs: New file.
2126 * benchtests/ffsll-inputs: Likewise.
2128 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2131 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2132 too large before casting to int.
2133 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2134 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2135 * math/libm-test.inc (scalb_test_data): Add more tests.
2137 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2139 * benchtests/Makefile (DETAILED_OPT): New make option.
2140 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2142 * benchtests/bench-skeleton.c: Include stdbool.h.
2143 (main): Store and print timings per input.
2144 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2145 member to each argument value.
2146 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2147 (_print_arg_data): Initialize per-input timing to 0.
2149 * benchtests/Makefile (timing-type): New binary.
2150 (bench-clean): Also remove bench-timing-type.
2151 (bench): New target for timing-type.
2152 (bench-func): Print output in JSON format.
2153 * benchtests/bench-skeleton.c (main): Print output in JSON
2155 * benchtests/bench-timing-type.c: New file.
2156 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2157 (TIMING_PRINT_STATS): Remove.
2158 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2161 * benchtests/bench-modf.c: Remove.
2162 * benchtests/modf-inputs: New inputs file.
2164 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2167 * math/s_clog10.c (M_PI_LOG10E): New macro.
2168 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2169 imaginary parts are 0.
2170 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2171 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2172 imaginary parts are 0.
2173 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2174 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2175 imaginary parts are 0.
2176 * math/libm-test.inc (clog10_test_data): Update expected results
2177 for when real and imaginary parts are 0.
2179 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2181 * elf/dl-load.c: Finish conversion of __builtin_expect into
2184 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2187 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2188 1+x for argument with exponent below -67.
2189 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2191 * math/auto-libm-test-in: Add more tests of exp.
2192 * math/auto-libm-test-out: Regenerated.
2194 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2197 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2198 (nscd_getnetgrent): Use it.
2201 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2204 2014-03-27 Andi Kleen <ak@linux.intel.com>
2206 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2207 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2208 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2209 (lll_robust_unlock): Remove out of line section. Use cfi
2211 (LLL_STUB_UNWIND_INFO*): Remove.
2212 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2213 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2214 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2215 (lll_robust_unlock): Remove out of line section. Use cfi
2217 (LLL_STUB_UNWIND_INFO*): Remove.
2219 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2222 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2225 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2227 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2229 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2232 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2234 * math/test-fenv-preserve.c: New file.
2235 * math/Makefile (tests): Add test-fenv-preserve.
2237 2014-03-26 Will Newton <will.newton@linaro.org>
2239 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2241 2014-03-25 Roland McGrath <roland@hack.frob.com>
2243 * scripts/versionlist.awk: Partition the version sets and emit all
2244 GLIBC_* (sorted) before all others (sorted).
2246 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2248 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2249 GLIBC_2.2.5 version.
2251 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2253 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2256 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2261 2014-03-25 Andreas Schwab <schwab@suse.de>
2263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2264 label to be used after in6ailist is initialized.
2266 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2268 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2269 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2271 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2275 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2277 (fp_formats): Update initializers.
2278 (init_fp_formats): Initialize new field.
2279 (output_for_one_input_case): Allow underflow for results up to
2281 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2282 * math/auto-libm-test-in: Don't mark some underflows from asin and
2284 * math/auto-libm-test-out: Regenerated.
2285 * sysdeps/i386/fpu/libm-test-ulps: Update.
2286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2288 2014-03-25 Andreas Schwab <schwab@suse.de>
2290 * libio/Makefile (tst-ftell-partial-wide-ENV)
2291 (tst-ftell-active-handler-ENV): Define.
2293 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2295 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2297 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2299 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2301 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2303 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2304 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2305 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2307 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2310 * elf/dl-load.c (open_verify): Add mode parameter.
2311 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2312 (open_path): Change from boolean 'secure' to complete flag 'mode'
2313 (_dl_map_object): Adjust.
2314 * elf/Makefile (tests): Add tst-dlopen-aout.
2315 * elf/tst-dlopen-aout.c: New test.
2317 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2320 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2321 (struct stat): Rename member pad0 to __glibc_reserved0.
2324 * sysdeps/s390/s390-32/bits/wordsize.h
2325 (__WORDSIZE32_SIZE_ULONG): New define.
2326 * sysdeps/s390/s390-64/bits/wordsize.h
2327 (__WORDSIZE32_SIZE_ULONG): Likewise.
2328 * sysdeps/generic/stdint.h (SIZE_MAX):
2329 Define as UL if __WORDSIZE32_SIZE_ULONG.
2332 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2333 (__glibc_reserved0): New variable.
2334 (sa_flags): Change type to int.
2336 * posix/Makefile (before-compile): Use += before-compile instead
2339 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2340 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2342 2014-03-20 Andreas Schwab <schwab@suse.de>
2345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2346 non-matching result from nscd.
2348 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2350 * scripts/bench.py: Moved to ...
2351 * benchtests/scripts/bench.py: ... here.
2352 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2354 2014-03-24 Andreas Schwab <schwab@suse.de>
2357 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2358 alloca_account and account alloca use for struct in6ailist.
2360 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2363 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2364 rounding mode to recompute results that overflow to infinity or
2366 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2368 * math/auto-libm-test-out: Regenerated.
2369 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2370 (ccosh_test): Likewise.
2371 (csin_test_data): Use plus_oflow.
2372 (csin_test): Use ALL_RM_TEST.
2373 (csinh_test_data): Use plus_oflow.
2374 (csinh_test): Use ALL_RM_TEST.
2375 * sysdeps/i386/fpu/libm-test-ulps: Update.
2376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2378 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2380 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2381 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2382 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2385 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2387 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2388 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2389 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2390 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2392 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2393 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2395 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2396 * sysdeps/i386/fpu/libm-test-ulps: Update.
2397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2399 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2401 * scripts/bench.pl: Remove file.
2402 * scripts/bench.py: New benchmark script.
2403 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2404 * benchtests/README: Mention python dependency.
2405 * scripts/pylintrc: New file.
2406 * scripts/pylint: New file.
2408 * bits/mathdef.h: Use #ifdef instead of #if.
2409 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2410 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2411 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2412 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2413 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2414 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2416 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2417 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2419 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2421 and strpbrk-ppc64 objects.
2422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2423 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2424 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2425 multiarch strpbrk for POWER7.
2426 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2427 multiarch strpbrk for PPC64.
2428 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2430 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2433 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2435 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2436 (atan_test): Likewise.
2437 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2438 (atanh_test): Use ALL_RM_TEST.
2439 (atan2_test_data): Likewise.
2440 (cabs_test): Likewise.
2441 (cacosh_test): Likewise.
2442 (carg_test): Likewise.
2443 (casin_test): Likewise.
2444 (casinh_test): Likewise.
2445 (cbrt_test): Likewise.
2446 (csqrt_test): Likewise.
2447 (erf_test): Likewise.
2448 (erfc_test): Likewise.
2449 (pow10_test): Likewise.
2450 (exp2_test): Likewise.
2451 (hypot_test): Likewise.
2452 (j0_test): Likewise.
2453 (j1_test): Likewise.
2454 (lgamma_test): Likewise.
2455 (gamma_test): Likewise.
2456 (sincos_test): Likewise.
2457 (tanh_test): Likewise.
2458 (y0_test): Likewise.
2459 (y1_test): Likewise.
2460 * sysdeps/i386/fpu/libm-test-ulps: Update.
2461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2463 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2465 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2467 and strcspn-ppc64 objects.
2468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2469 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2470 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2471 multiarch strcspn for POWER7.
2472 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2473 multiarch strcspn for PPC64.
2474 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2476 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2479 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2481 * math/gen-libm-test.pl (generate_testfile): Expect only function
2482 name as argument to AUTO_TESTS_* and pass results for all rounding
2483 modes to parse_args.
2484 (parse_auto_input): Separate inputs of automatic tests from
2485 outputs before storing in %auto_tests.
2486 * math/libm-test.inc (acos_test_data): Update call to
2488 (acos_test): Use ALL_RM_TEST.
2489 (acos_tonearest_test_data): Remove.
2490 (acos_test_tonearest): Likewise.
2491 (acos_towardzero_test_data): Likewise.
2492 (acos_test_towardzero): Likewise.
2493 (acos_downward_test_data): Likewise.
2494 (acos_test_downward): Likewise.
2495 (acos_upward_test_data): Likewise.
2496 (acos_test_upward): Likewise.
2497 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2498 (asin_test_data): Likewise.
2499 (asin_test): Use ALL_RM_TEST.
2500 (asin_tonearest_test_data): Remove.
2501 (asin_test_tonearest): Likewise.
2502 (asin_towardzero_test_data): Likewise.
2503 (asin_test_towardzero): Likewise.
2504 (asin_downward_test_data): Likewise.
2505 (asin_test_downward): Likewise.
2506 (asin_upward_test_data): Likewise.
2507 (asin_test_upward): Likewise.
2508 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2509 (atan_test_data): Likewise.
2510 (atanh_test_data): Likewise.
2511 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2512 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2513 (carg_test_data): Likewise.
2514 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2515 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2516 (ccosh_test_data): Likewise.
2517 (cexp_test_data): Likewise.
2518 (clog_test_data): Likewise.
2519 (clog10_test_data): Likewise.
2520 (cos_test_data): Update call to AUTO_TESTS_f_f.
2521 (cos_test): Use ALL_RM_TEST.
2522 (cos_tonearest_test_data): Remove.
2523 (cos_test_tonearest): Likewise.
2524 (cos_towardzero_test_data): Likewise.
2525 (cos_test_towardzero): Likewise.
2526 (cos_downward_test_data): Likewise.
2527 (cos_test_downward): Likewise.
2528 (cos_upward_test_data): Likewise.
2529 (cos_test_upward): Likewise.
2530 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2531 (cosh_test): Use ALL_RM_TEST.
2532 (cosh_tonearest_test_data): Remove.
2533 (cosh_test_tonearest): Likewise.
2534 (cosh_towardzero_test_data): Likewise.
2535 (cosh_test_towardzero): Likewise.
2536 (cosh_downward_test_data): Likewise.
2537 (cosh_test_downward): Likewise.
2538 (cosh_upward_test_data): Likewise.
2539 (cosh_test_upward): Likewise.
2540 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2541 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2542 (ctan_test_data): Likewise.
2543 (ctan_test): Use ALL_RM_TEST.
2544 (ctan_tonearest_test_data): Remove.
2545 (ctan_test_tonearest): Likewise.
2546 (ctan_towardzero_test_data): Likewise.
2547 (ctan_test_towardzero): Likewise.
2548 (ctan_downward_test_data): Likewise.
2549 (ctan_test_downward): Likewise.
2550 (ctan_upward_test_data): Likewise.
2551 (ctan_test_upward): Likewise.
2552 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2553 (ctanh_test): Use ALL_RM_TEST.
2554 (ctanh_tonearest_test_data): Remove.
2555 (ctanh_test_tonearest): Likewise.
2556 (ctanh_towardzero_test_data): Likewise.
2557 (ctanh_test_towardzero): Likewise.
2558 (ctanh_downward_test_data): Likewise.
2559 (ctanh_test_downward): Likewise.
2560 (ctanh_upward_test_data): Likewise.
2561 (ctanh_test_upward): Likewise.
2562 (erf_test_data): Update call to AUTO_TESTS_f_f.
2563 (erfc_test_data): Likewise.
2564 (exp_test_data): Likewise.
2565 (exp_test): Use ALL_RM_TEST.
2566 (exp_tonearest_test_data): Remove.
2567 (exp_test_tonearest): Likewise.
2568 (exp_towardzero_test_data): Likewise.
2569 (exp_test_towardzero): Likewise.
2570 (exp_downward_test_data): Likewise.
2571 (exp_test_downward): Likewise.
2572 (exp_upward_test_data): Likewise.
2573 (exp_test_upward): Likewise.
2574 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2575 (exp10_test): Use ALL_RM_TEST.
2576 (exp10_tonearest_test_data): Remove.
2577 (exp10_test_tonearest): Likewise.
2578 (exp10_towardzero_test_data): Likewise.
2579 (exp10_test_towardzero): Likewise.
2580 (exp10_downward_test_data): Likewise.
2581 (exp10_test_downward): Likewise.
2582 (exp10_upward_test_data): Likewise.
2583 (exp10_test_upward): Likewise.
2584 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2585 (expm1_test_data): Likewise.
2586 (expm1_test): Use ALL_RM_TEST.
2587 (expm1_tonearest_test_data): Remove.
2588 (expm1_test_tonearest): Likewise.
2589 (expm1_towardzero_test_data): Likewise.
2590 (expm1_test_towardzero): Likewise.
2591 (expm1_downward_test_data): Likewise.
2592 (expm1_test_downward): Likewise.
2593 (expm1_upward_test_data): Likewise.
2594 (expm1_test_upward): Likewise.
2595 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2596 (fma_test): Use ALL_RM_TEST.
2597 (fma_towardzero_test_data): Remove.
2598 (fma_test_towardzero): Likewise.
2599 (fma_downward_test_data): Likewise.
2600 (fma_test_downward): Likewise.
2601 (fma_upward_test_data): Likewise.
2602 (fma_test_upward): Likewise.
2603 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2604 (j0_test_data): Update call to AUTO_TESTS_f_f.
2605 (j1_test_data): Likewise.
2606 (jn_test_data): Update call to AUTO_TESTS_if_f.
2607 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2608 (log_test_data): Update call to AUTO_TESTS_f_f.
2609 (log10_test_data): Likewise.
2610 (log1p_test_data): Likewise.
2611 (log2_test_data): Likewise.
2612 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2613 (pow_tonearest_test_data): Likewise.
2614 (sin_test_data): Update call to AUTO_TESTS_f_f.
2615 (sin_test): Use ALL_RM_TEST.
2616 (sin_tonearest_test_data): Remove.
2617 (sin_test_tonearest): Likewise.
2618 (sin_towardzero_test_data): Likewise.
2619 (sin_test_towardzero): Likewise.
2620 (sin_downward_test_data): Likewise.
2621 (sin_test_downward): Likewise.
2622 (sin_upward_test_data): Likewise.
2623 (sin_test_upward): Likewise.
2624 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2625 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2626 (sinh_test): Use ALL_RM_TEST.
2627 (sinh_tonearest_test_data): Remove.
2628 (sinh_test_tonearest): Likewise.
2629 (sinh_towardzero_test_data): Likewise.
2630 (sinh_test_towardzero): Likewise.
2631 (sinh_downward_test_data): Likewise.
2632 (sinh_test_downward): Likewise.
2633 (sinh_upward_test_data): Likewise.
2634 (sinh_test_upward): Likewise.
2635 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2636 (sqrt_test): Use ALL_RM_TEST.
2637 (sqrt_tonearest_test_data): Remove.
2638 (sqrt_test_tonearest): Likewise.
2639 (sqrt_towardzero_test_data): Likewise.
2640 (sqrt_test_towardzero): Likewise.
2641 (sqrt_downward_test_data): Likewise.
2642 (sqrt_test_downward): Likewise.
2643 (sqrt_upward_test_data): Likewise.
2644 (sqrt_test_upward): Likewise.
2645 (tan_test_data): Update call to AUTO_TESTS_f_f.
2646 (tan_test): Use ALL_RM_TEST.
2647 (tan_tonearest_test_data): Remove.
2648 (tan_test_tonearest): Likewise.
2649 (tan_towardzero_test_data): Likewise.
2650 (tan_test_towardzero): Likewise.
2651 (tan_downward_test_data): Likewise.
2652 (tan_test_downward): Likewise.
2653 (tan_upward_test_data): Likewise.
2654 (tan_test_upward): Likewise.
2655 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2656 (tgamma_test_data): Likewise.
2657 (y0_test_data): Likewise.
2658 (y1_test_data): Likewise.
2659 (yn_test_data): Update call to AUTO_TESTS_if_f.
2660 (main): Do not call removed functions.
2662 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2664 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2665 (ldexp_test_data): Remove.
2666 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2668 (scalb_test): Use ALL_RM_TEST.
2670 2014-03-19 Andreas Schwab <schwab@suse.de>
2672 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2674 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2677 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2678 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2679 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2680 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2681 (__ASSUME_PREADV): Undefine.
2682 (__ASSUME_PWRITEV): Likewise.
2684 2014-03-18 Roland McGrath <roland@hack.frob.com>
2686 * bits/mman-linux.h: Add comment about non-Linux use.
2687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2688 bits/mman-linux.h resting place.
2690 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2691 * bits/mman-linux.h: ... here.
2693 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2695 * conform/conformtest.pl: Add standard definition when calling C
2696 preprocessor on data files.
2697 (checknamespace): Remove unused variable.
2699 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2701 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2702 minus_oflow, plus_uflow and minus_uflow in expected results.
2703 * math/libm-test.inc (scalbn_test_data): Add more tests of
2704 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2706 (scalbn_test): Use ALL_RM_TEST.
2707 (scalbln_test_data): Add more tests of negative arguments. Use
2708 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2709 (scalbln_test): Use ALL_RM_TEST.
2711 2014-03-18 Roland McGrath <roland@hack.frob.com>
2713 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2715 2014-03-18 Will Newton <will.newton@linaro.org>
2717 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2720 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2722 * Makerules [!subdir] (check-abi): Exit with error status if a
2725 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2727 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2728 for rint. Include results for all rounding modes.
2729 (nearbyint_test): Use ALL_RM_TEST.
2730 (rint_test_data): Include all tests used for nearbyint.
2732 2014-03-17 Will Newton <will.newton@linaro.org>
2734 * nptl/sysdeps/pthread/pthread.h: Revert previous
2737 * sysdeps/generic/ldsodefs.h: Revert previous
2740 * libio/genops.c: Revert previous change.
2741 * libio/libioP.h: Likewise.
2742 * stdio-common/vfprintf.c: Likewise.
2744 * sysdeps/generic/math_private.h: Revert previous
2747 * sysdeps/generic/math_private.h: Check whether
2748 HAVE_RM_CTX is defined with #ifdef rather
2751 * argp/argp-fmtstream.h: Check whether
2752 __STRICT_ANSI__ is defined with #ifdef rather
2754 * argp/argp.h: Likewise.
2756 * libio/genops.c: Check whether
2757 _IO_JUMPS_OFFSET is defined with #ifdef rather
2759 * libio/libioP.h: Likewise.
2760 * stdio-common/vfprintf.c: Likewise.
2762 * sysdeps/generic/ldsodefs.h: Check whether
2763 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2766 * nptl/sysdeps/pthread/pthread.h: Check
2767 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2770 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2772 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2774 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2778 * libio/fileops.c (_IO_file_open): Seek to end of file but
2779 don't cache the offset.
2780 (get_file_offset): Remove function.
2781 (do_ftell): Use cached offset when available.
2782 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2783 don't cache the offset.
2784 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2786 (do_one_test): Call it.
2787 (do_ftell_test): Fix up expected old offset for a+ mode.
2788 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2791 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2792 up test status with function return status.
2793 (do_write_test): Likewise.
2794 (do_append_test): Likewise.
2796 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2797 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2800 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2802 * math/gen-libm-test.pl (parse_args): Handle results specified for
2803 each rounding mode separately.
2804 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2805 tests and results from lrint_tonearest_test_data,
2806 lrint_towardzero_test_data, lrint_downward_test_data and
2807 lrint_upward_test_data.
2808 (lrint_test): Use ALL_RM_TEST.
2809 (lrint_tonearest_test_data): Remove.
2810 (lrint_test_tonearest): Likewise.
2811 (lrint_towardzero_test_data): Likewise.
2812 (lrint_test_towardzero): Likewise.
2813 (lrint_downward_test_data): Likewise.
2814 (lrint_test_downward): Likewise.
2815 (lrint_upward_test_data): Likewise.
2816 (lrint_test_upward): Likewise.
2817 (llrint_test_data): Merge in per-rounding-mode tests and results
2818 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2819 llrint_downward_test_data and llrint_upward_test_data.
2820 (llrint_test): Use ALL_RM_TEST.
2821 (llrint_tonearest_test_data): Remove.
2822 (llrint_test_tonearest): Likewise.
2823 (llrint_towardzero_test_data): Likewise.
2824 (llrint_test_towardzero): Likewise.
2825 (llrint_downward_test_data): Likewise.
2826 (llrint_test_downward): Likewise.
2827 (llrint_upward_test_data): Likewise.
2828 (llrint_test_upward): Likewise.
2829 (rint_test_data): Merge in per-rounding-mode tests and results
2830 from rint_tonearest_test_data, rint_towardzero_test_data,
2831 rint_downward_test_data and rint_upward_test_data. Add
2832 per-rounding-mode results for tests not in those arrays.
2833 (rint_test): Use ALL_RM_TEST.
2834 (rint_tonearest_test_data): Remove.
2835 (rint_test_tonearest): Likewise.
2836 (rint_towardzero_test_data): Likewise.
2837 (rint_test_towardzero): Likewise.
2838 (rint_downward_test_data): Likewise.
2839 (rint_test_downward): Likewise.
2840 (rint_upward_test_data): Likewise.
2841 (rint_test_upward): Likewise.
2842 (main): Don't call removed functions.
2844 2014-03-14 Roland McGrath <roland@hack.frob.com>
2846 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2847 "Compiled on ..." crapola. It is anti-useful.
2849 2014-03-14 Joseph Myers <joseph@codesourcery.com>
2851 * scripts/evaluate-test.sh: Handle fourth argument to determine
2852 whether test run should stop on failure.
2853 * Makeconfig (stop-on-test-failure): New variable.
2854 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2855 $(stop-on-test-failure).
2856 * Makefile (tests): Give a summary of results from testing and
2857 exit with failure status if they include an ERROR or FAIL.
2859 * manual/install.texi (Configuring and compiling): Mention
2860 stop-on-test-failure=y.
2861 * INSTALL: Regenerated.
2863 2014-03-14 Roland McGrath <roland@hack.frob.com>
2865 * scripts/versionlist.awk: New file.
2866 * Makerules [$(build-shared) = yes]
2867 (postclean-generated): Add Versions.def, not Versions.def.v and
2869 ($(common-objpfx)Versions.def.v.i): Target removed.
2870 ($(common-objpfx)Versions.def): New target.
2871 ($(common-objpfx)Versions.all): Depend on that rather that
2872 $(common-objpfx)Versions.def.v.
2873 * Versions.def: File removed.
2875 * Makeconfig (+gccwarn): Add -Wundef.
2876 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2877 a dl-sysdep.h breaking its contract.
2878 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2879 * include/stackinfo.h: New file.
2880 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2881 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2882 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2883 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2884 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2885 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2886 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2887 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2888 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2889 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2890 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2891 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2892 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2893 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2894 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2896 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2899 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2901 * math/libm-test.inc (round_test_data): Add more tests.
2904 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2906 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2909 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2911 * math/libm-test.inc (ceil_test_data): Add more tests.
2913 * math/libm-test.inc (trunc_test_data): Add more tests related to
2916 2014-03-14 Roland McGrath <roland@hack.frob.com>
2918 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2919 with #if rather than #ifdef.
2920 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2922 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2924 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2925 first. Disable AVX-512 GCC support if assembler doesn't support
2927 * sysdeps/x86_64/configure: Regenerated.
2929 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2931 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2932 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2933 (__old_pthread_attr_setstack): Likewise.
2934 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2935 [!_STACK_GROWS_DOWN]: Likewise.
2937 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2939 * config.make.in (have-bash2): Delete.
2940 * configure.ac (libc_cv_have_bash2): Delete.
2941 * configure: Regenerate.
2942 * elf/Makefile (common-ldd-rewrite): Rename to ...
2943 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2944 (sh-ldd-rewrite): Delete.
2945 (bash-ldd-rewrite): Delete.
2946 (have-bash2): Delete checks.
2947 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2950 * config.make.in (have-ksh): Delete.
2952 * configure.ac (libc_cv_have_ksh): Delete.
2953 * configure: Regenerate.
2955 * elf/Makefile: Delete $(have-ksh) check.
2956 ($(objpfx)sotruss): Change KSH to BASH.
2957 * elf/sotruss.ksh: Rename to ...
2958 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2959 function style to match POSIX. Drop ksh vim mode setting.
2961 * manual/time.texi (Specifying the Time Zone with TZ): Change
2962 Tuesday to Thursday.
2964 * debug/tst-longjmp_chk2.c: Update header comment.
2965 (stackoverflow_handler): Add comment. Call assert on pass value.
2967 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2969 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2970 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2971 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2972 (La_x86_64_vector): Add zmm.
2973 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2974 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2975 ($(objpfx)tst-audit10): New target.
2976 ($(objpfx)tst-audit10.out): Likewise.
2977 (tst-audit10-ENV): New.
2978 (AVX512-CFLAGS): Likewise.
2979 (CFLAGS-tst-audit10.c): Likewise.
2980 (CFLAGS-tst-auditmod10a.c): Likewise.
2981 (CFLAGS-tst-auditmod10b.c): Likewise.
2982 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2983 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2984 * sysdeps/x86_64/configure: Regenerated.
2985 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2986 AVX-512 zmm register support.
2987 (_dl_x86_64_save_sse): Likewise.
2988 (_dl_x86_64_restore_sse): Likewise.
2989 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2990 size vector registers.
2991 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2992 (ZMM_SIZE): Likewise.
2993 * sysdeps/x86_64/tst-audit10.c: New file.
2994 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2995 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2997 2014-03-13 Roland McGrath <roland@hack.frob.com>
2999 * configure.ac (HAVE_EHDR_START): New check.
3000 * configure: Regenerated.
3001 * config.h.in (HAVE_EHDR_START): New #undef.
3002 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3003 assuming the lowest-addressed segment maps the start of the file.
3005 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3007 * INSTALL: Regenerated.
3009 2014-03-13 Will Newton <will.newton@linaro.org>
3011 * manual/setjmp.texi (System V contexts): Improve
3012 clarity and grammar of documentation.
3014 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3017 * elf/Makefile (tests): Add tst-pie2.
3018 (tests-pie): Add tst-pie2.
3019 * elf/tst-pie2.c: New file.
3020 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3022 * elf/rtld.c (map_doit): Load executable as lt_executable.
3023 (dl_main): Likewise.
3025 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3028 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3029 (__ASSUME_PSELECT): Undefine.
3031 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3034 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3035 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3037 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3038 selector for static builds.
3040 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3043 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3046 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3048 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3049 IFUNC selector for static builds.
3051 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3053 * sysdeps/mips/math_private.h [__mips_hard_float]
3054 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3055 libc_feresetround_mips_ctx.
3056 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3057 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3058 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3061 * math/s_nextafter.c (__nextafter): Do not return value from
3062 overflowing computation.
3063 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3064 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3065 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3067 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3069 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3070 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3072 2014-03-11 Roland McGrath <roland@hack.frob.com>
3074 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3075 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3076 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3077 the new mov targetting sp.
3079 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3082 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3083 Define it for static builds as well.
3084 (NO_BZERO_IMPL): Likewise.
3086 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3088 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3089 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3090 multiarch strspn for PPC64.
3091 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3092 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3094 (__libc_ifunc_impl_list): Likewise.
3095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3096 multiarch optimizations
3097 * string/strspn.c (strspn): Using macro to redefine symbol name.
3099 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3100 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3102 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3103 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3104 multiarch strncat for PPC64.
3105 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3106 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3108 (__libc_ifunc_impl_list): Likewise.
3109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3110 multiarch optimizations
3112 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3115 * nscd/nscd.service: Make service type forking.
3117 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3119 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3120 sign in non default rounding modes.
3121 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3123 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3125 * math/libm-test.inc (ALL_RM_TEST): New macro.
3126 (ceil_test): Use ALL_RM_TEST.
3127 (cimag_test): Likewise.
3128 (conj_test): Likewise.
3129 (copysign_test): Likewise.
3130 (cproj_test): Likewise.
3131 (creal_test): Likewise.
3132 (fabs_test): Likewise.
3133 (floor_test): Likewise.
3134 (fmax_test): Likewise.
3135 (fmin_test): Likewise.
3136 (fmod_test): Likewise.
3137 (fpclassify_test): Likewise.
3138 (frexp_test): Likewise.
3139 (ilogb_test): Likewise.
3140 (isfinite_test): Likewise.
3141 (finite_test): Likewise.
3142 (isgreater_test): Likewise.
3143 (isgreaterequal_test): Likewise.
3144 (isinf_test): Likewise.
3145 (isless_test): Likewise.
3146 (islessequal_test): Likewise.
3147 (islessgreater_test): Likewise.
3148 (isnan_test): Likewise.
3149 (isnormal_test): Likewise.
3150 (issignaling_test): Likewise.
3151 (isunordered_test): Likewise.
3152 (logb_test): Likewise.
3153 (logb_downward_test_data): Remove.
3154 (logb_test_downward): Likewise.
3155 (lround_test): Use ALL_RM_TEST.
3156 (llround_test): Likewise.
3157 (modf_test): Likewise.
3158 (nexttoward_test): Likewise.
3159 (remainder_test): Likewise.
3160 (drem_test): Likewise.
3161 (remainder_tonearest_test_data): Likewise.
3162 (remainder_test_tonearest): Likewise.
3163 (drem_test_tonearest): Likewise.
3164 (remainder_towardzero_test_data): Likewise.
3165 (remainder_test_towardzero): Likewise.
3166 (drem_test_towardzero): Likewise.
3167 (remainder_downward_test_data): Likewise.
3168 (remainder_test_downward): Likewise.
3169 (drem_test_downward): Likewise.
3170 (remainder_upward_test_data): Likewise.
3171 (remainder_test_upward): Likewise.
3172 (drem_test_upward): Likewise.
3173 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3174 (round_test): Use ALL_RM_TEST.
3175 (signbit_test): Likewise.
3176 (trunc_test): Likewise.
3177 (significand_test): Likewise.
3178 (main): Don't call removed functions.
3180 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3183 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3185 (ILL_ILLOPN): Likewise.
3186 (ILL_ILLADR): Likewise.
3187 (ILL_ILLTRP): Likewise.
3188 (ILL_PRVOPC): Likewise.
3189 (ILL_PRVREG): Likewise.
3190 (ILL_COPROC): Likewise.
3191 (ILL_BADSTK): Likewise.
3192 (FPE_INTDIV): Likewise.
3193 (FPE_INTOVF): Likewise.
3194 (FPE_FLTDIV): Likewise.
3195 (FPE_FLTOVF): Likewise.
3196 (FPE_FLTUND): Likewise.
3197 (FPE_FLTRES): Likewise.
3198 (FPE_FLTINV): Likewise.
3199 (FPE_FLTSUB): Likewise.
3200 (SEGV_MAPERR): Likewise.
3201 (SEGV_ACCERR): Likewise.
3202 (BUS_ADRALN): Likewise.
3203 (BUS_ADRERR): Likewise.
3204 (BUS_OBJERR): Likewise.
3205 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3206 (TRAP_TRACE): Likewise.
3207 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3209 (CLD_KILLED): Likewise.
3210 (CLD_DUMPED): Likewise.
3211 (CLD_TRAPPED): Likewise.
3212 (CLD_STOPPED): Likewise.
3213 (CLD_CONTINUED): Likewise.
3214 (POLL_IN): Likewise.
3215 (POLL_OUT): Likewise.
3216 (POLL_MSG): Likewise.
3217 (POLL_ERR): Likewise.
3218 (POLL_PRI): Likewise.
3219 (POLL_HUP): Likewise.
3220 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3222 (ILL_ILLOPN): Likewise.
3223 (ILL_ILLADR): Likewise.
3224 (ILL_ILLTRP): Likewise.
3225 (ILL_PRVOPC): Likewise.
3226 (ILL_PRVREG): Likewise.
3227 (ILL_COPROC): Likewise.
3228 (ILL_BADSTK): Likewise.
3229 (FPE_INTDIV): Likewise.
3230 (FPE_INTOVF): Likewise.
3231 (FPE_FLTDIV): Likewise.
3232 (FPE_FLTOVF): Likewise.
3233 (FPE_FLTUND): Likewise.
3234 (FPE_FLTRES): Likewise.
3235 (FPE_FLTINV): Likewise.
3236 (FPE_FLTSUB): Likewise.
3237 (SEGV_MAPERR): Likewise.
3238 (SEGV_ACCERR): Likewise.
3239 (BUS_ADRALN): Likewise.
3240 (BUS_ADRERR): Likewise.
3241 (BUS_OBJERR): Likewise.
3242 (BUS_MCEERR_AR): Likewise.
3243 (BUS_MCEERR_AO): Likewise.
3244 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3245 (TRAP_TRACE): Likewise.
3246 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3248 (CLD_KILLED): Likewise.
3249 (CLD_DUMPED): Likewise.
3250 (CLD_TRAPPED): Likewise.
3251 (CLD_STOPPED): Likewise.
3252 (CLD_CONTINUED): Likewise.
3253 (POLL_IN): Likewise.
3254 (POLL_OUT): Likewise.
3255 (POLL_MSG): Likewise.
3256 (POLL_ERR): Likewise.
3257 (POLL_PRI): Likewise.
3258 (POLL_HUP): Likewise.
3259 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3260 (ILL_ILLOPN): Likewise.
3261 (ILL_ILLADR): Likewise.
3262 (ILL_ILLTRP): Likewise.
3263 (ILL_PRVOPC): Likewise.
3264 (ILL_PRVREG): Likewise.
3265 (ILL_COPROC): Likewise.
3266 (ILL_BADSTK): Likewise.
3267 (FPE_INTDIV): Likewise.
3268 (FPE_INTOVF): Likewise.
3269 (FPE_FLTDIV): Likewise.
3270 (FPE_FLTOVF): Likewise.
3271 (FPE_FLTUND): Likewise.
3272 (FPE_FLTRES): Likewise.
3273 (FPE_FLTINV): Likewise.
3274 (FPE_FLTSUB): Likewise.
3275 (SEGV_MAPERR): Likewise.
3276 (SEGV_ACCERR): Likewise.
3277 (BUS_ADRALN): Likewise.
3278 (BUS_ADRERR): Likewise.
3279 (BUS_OBJERR): Likewise.
3280 (BUS_MCEERR_AR): Likewise.
3281 (BUS_MCEERR_AO): Likewise.
3282 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3283 (TRAP_TRACE): Likewise.
3284 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3286 (CLD_KILLED): Likewise.
3287 (CLD_DUMPED): Likewise.
3288 (CLD_TRAPPED): Likewise.
3289 (CLD_STOPPED): Likewise.
3290 (CLD_CONTINUED): Likewise.
3291 (POLL_IN): Likewise.
3292 (POLL_OUT): Likewise.
3293 (POLL_MSG): Likewise.
3294 (POLL_ERR): Likewise.
3295 (POLL_PRI): Likewise.
3296 (POLL_HUP): Likewise.
3297 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3299 (ILL_ILLOPN): Likewise.
3300 (ILL_ILLADR): Likewise.
3301 (ILL_ILLTRP): Likewise.
3302 (ILL_PRVOPC): Likewise.
3303 (ILL_PRVREG): Likewise.
3304 (ILL_COPROC): Likewise.
3305 (ILL_BADSTK): Likewise.
3306 (ILL_BADIADDR): Likewise.
3307 (ILL_BREAK): Likewise.
3308 (FPE_INTDIV): Likewise.
3309 (FPE_INTOVF): Likewise.
3310 (FPE_FLTDIV): Likewise.
3311 (FPE_FLTOVF): Likewise.
3312 (FPE_FLTUND): Likewise.
3313 (FPE_FLTRES): Likewise.
3314 (FPE_FLTINV): Likewise.
3315 (FPE_FLTSUB): Likewise.
3316 (FPE_DECOVF): Likewise.
3317 (FPE_DECDIV): Likewise.
3318 (FPE_DECERR): Likewise.
3319 (FPE_INVASC): Likewise.
3320 (FPE_INVDEC): Likewise.
3321 (SEGV_MAPERR): Likewise.
3322 (SEGV_ACCERR): Likewise.
3323 (SEGV_PSTKOVF): Likewise.
3324 (BUS_ADRALN): Likewise.
3325 (BUS_ADRERR): Likewise.
3326 (BUS_OBJERR): Likewise.
3327 (BUS_MCEERR_AR): Likewise.
3328 (BUS_MCEERR_AO): Likewise.
3329 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3330 (TRAP_TRACE): Likewise.
3331 (TRAP_BRANCH): Likewise.
3332 (TRAP_HWBKPT): Likewise.
3333 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3335 (CLD_KILLED): Likewise.
3336 (CLD_DUMPED): Likewise.
3337 (CLD_TRAPPED): Likewise.
3338 (CLD_STOPPED): Likewise.
3339 (CLD_CONTINUED): Likewise.
3340 (POLL_IN): Likewise.
3341 (POLL_OUT): Likewise.
3342 (POLL_MSG): Likewise.
3343 (POLL_ERR): Likewise.
3344 (POLL_PRI): Likewise.
3345 (POLL_HUP): Likewise.
3346 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3347 (ILL_ILLOPN): Likewise.
3348 (ILL_ILLADR): Likewise.
3349 (ILL_ILLTRP): Likewise.
3350 (ILL_PRVOPC): Likewise.
3351 (ILL_PRVREG): Likewise.
3352 (ILL_COPROC): Likewise.
3353 (ILL_BADSTK): Likewise.
3354 (FPE_INTDIV): Likewise.
3355 (FPE_INTOVF): Likewise.
3356 (FPE_FLTDIV): Likewise.
3357 (FPE_FLTOVF): Likewise.
3358 (FPE_FLTUND): Likewise.
3359 (FPE_FLTRES): Likewise.
3360 (FPE_FLTINV): Likewise.
3361 (FPE_FLTSUB): Likewise.
3362 (SEGV_MAPERR): Likewise.
3363 (SEGV_ACCERR): Likewise.
3364 (BUS_ADRALN): Likewise.
3365 (BUS_ADRERR): Likewise.
3366 (BUS_OBJERR): Likewise.
3367 (BUS_MCEERR_AR): Likewise.
3368 (BUS_MCEERR_AO): Likewise.
3369 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3370 (TRAP_TRACE): Likewise.
3371 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3373 (CLD_KILLED): Likewise.
3374 (CLD_DUMPED): Likewise.
3375 (CLD_TRAPPED): Likewise.
3376 (CLD_STOPPED): Likewise.
3377 (CLD_CONTINUED): Likewise.
3378 (POLL_IN): Likewise.
3379 (POLL_OUT): Likewise.
3380 (POLL_MSG): Likewise.
3381 (POLL_ERR): Likewise.
3382 (POLL_PRI): Likewise.
3383 (POLL_HUP): Likewise.
3384 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3385 (ILL_ILLOPN): Likewise.
3386 (ILL_ILLADR): Likewise.
3387 (ILL_ILLTRP): Likewise.
3388 (ILL_PRVOPC): Likewise.
3389 (ILL_PRVREG): Likewise.
3390 (ILL_COPROC): Likewise.
3391 (ILL_BADSTK): Likewise.
3392 (FPE_INTDIV): Likewise.
3393 (FPE_INTOVF): Likewise.
3394 (FPE_FLTDIV): Likewise.
3395 (FPE_FLTOVF): Likewise.
3396 (FPE_FLTUND): Likewise.
3397 (FPE_FLTRES): Likewise.
3398 (FPE_FLTINV): Likewise.
3399 (FPE_FLTSUB): Likewise.
3400 (SEGV_MAPERR): Likewise.
3401 (SEGV_ACCERR): Likewise.
3402 (BUS_ADRALN): Likewise.
3403 (BUS_ADRERR): Likewise.
3404 (BUS_OBJERR): Likewise.
3405 (BUS_MCEERR_AR): Likewise.
3406 (BUS_MCEERR_AO): Likewise.
3407 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3408 (TRAP_TRACE): Likewise.
3409 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3411 (CLD_KILLED): Likewise.
3412 (CLD_DUMPED): Likewise.
3413 (CLD_TRAPPED): Likewise.
3414 (CLD_STOPPED): Likewise.
3415 (CLD_CONTINUED): Likewise.
3416 (POLL_IN): Likewise.
3417 (POLL_OUT): Likewise.
3418 (POLL_MSG): Likewise.
3419 (POLL_ERR): Likewise.
3420 (POLL_PRI): Likewise.
3421 (POLL_HUP): Likewise.
3422 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3423 (ILL_ILLOPN): Likewise.
3424 (ILL_ILLADR): Likewise.
3425 (ILL_ILLTRP): Likewise.
3426 (ILL_PRVOPC): Likewise.
3427 (ILL_PRVREG): Likewise.
3428 (ILL_COPROC): Likewise.
3429 (ILL_BADSTK): Likewise.
3430 (FPE_INTDIV): Likewise.
3431 (FPE_INTOVF): Likewise.
3432 (FPE_FLTDIV): Likewise.
3433 (FPE_FLTOVF): Likewise.
3434 (FPE_FLTUND): Likewise.
3435 (FPE_FLTRES): Likewise.
3436 (FPE_FLTINV): Likewise.
3437 (FPE_FLTSUB): Likewise.
3438 (SEGV_MAPERR): Likewise.
3439 (SEGV_ACCERR): Likewise.
3440 (BUS_ADRALN): Likewise.
3441 (BUS_ADRERR): Likewise.
3442 (BUS_OBJERR): Likewise.
3443 (BUS_MCEERR_AR): Likewise.
3444 (BUS_MCEERR_AO): Likewise.
3445 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3446 (TRAP_TRACE): Likewise.
3447 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3449 (CLD_KILLED): Likewise.
3450 (CLD_DUMPED): Likewise.
3451 (CLD_TRAPPED): Likewise.
3452 (CLD_STOPPED): Likewise.
3453 (CLD_CONTINUED): Likewise.
3454 (POLL_IN): Likewise.
3455 (POLL_OUT): Likewise.
3456 (POLL_MSG): Likewise.
3457 (POLL_ERR): Likewise.
3458 (POLL_PRI): Likewise.
3459 (POLL_HUP): Likewise.
3460 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3461 (ILL_ILLOPN): Likewise.
3462 (ILL_ILLADR): Likewise.
3463 (ILL_ILLTRP): Likewise.
3464 (ILL_PRVOPC): Likewise.
3465 (ILL_PRVREG): Likewise.
3466 (ILL_COPROC): Likewise.
3467 (ILL_BADSTK): Likewise.
3468 (ILL_DBLFLT): Likewise.
3469 (ILL_HARDWALL): Likewise.
3470 (FPE_INTDIV): Likewise.
3471 (FPE_INTOVF): Likewise.
3472 (FPE_FLTDIV): Likewise.
3473 (FPE_FLTOVF): Likewise.
3474 (FPE_FLTUND): Likewise.
3475 (FPE_FLTRES): Likewise.
3476 (FPE_FLTINV): Likewise.
3477 (FPE_FLTSUB): Likewise.
3478 (SEGV_MAPERR): Likewise.
3479 (SEGV_ACCERR): Likewise.
3480 (BUS_ADRALN): Likewise.
3481 (BUS_ADRERR): Likewise.
3482 (BUS_OBJERR): Likewise.
3483 (BUS_MCEERR_AR): Likewise.
3484 (BUS_MCEERR_AO): Likewise.
3485 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3486 (TRAP_TRACE): Likewise.
3487 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3489 (CLD_KILLED): Likewise.
3490 (CLD_DUMPED): Likewise.
3491 (CLD_TRAPPED): Likewise.
3492 (CLD_STOPPED): Likewise.
3493 (CLD_CONTINUED): Likewise.
3494 (POLL_IN): Likewise.
3495 (POLL_OUT): Likewise.
3496 (POLL_MSG): Likewise.
3497 (POLL_ERR): Likewise.
3498 (POLL_PRI): Likewise.
3499 (POLL_HUP): Likewise.
3500 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3501 (ILL_ILLOPN): Likewise.
3502 (ILL_ILLADR): Likewise.
3503 (ILL_ILLTRP): Likewise.
3504 (ILL_PRVOPC): Likewise.
3505 (ILL_PRVREG): Likewise.
3506 (ILL_COPROC): Likewise.
3507 (ILL_BADSTK): Likewise.
3508 (FPE_INTDIV): Likewise.
3509 (FPE_INTOVF): Likewise.
3510 (FPE_FLTDIV): Likewise.
3511 (FPE_FLTOVF): Likewise.
3512 (FPE_FLTUND): Likewise.
3513 (FPE_FLTRES): Likewise.
3514 (FPE_FLTINV): Likewise.
3515 (FPE_FLTSUB): Likewise.
3516 (SEGV_MAPERR): Likewise.
3517 (SEGV_ACCERR): Likewise.
3518 (BUS_ADRALN): Likewise.
3519 (BUS_ADRERR): Likewise.
3520 (BUS_OBJERR): Likewise.
3521 (BUS_MCEERR_AR): Likewise.
3522 (BUS_MCEERR_AO): Likewise.
3523 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3524 (TRAP_TRACE): Likewise.
3525 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3527 (CLD_KILLED): Likewise.
3528 (CLD_DUMPED): Likewise.
3529 (CLD_TRAPPED): Likewise.
3530 (CLD_STOPPED): Likewise.
3531 (CLD_CONTINUED): Likewise.
3532 (POLL_IN): Likewise.
3533 (POLL_OUT): Likewise.
3534 (POLL_MSG): Likewise.
3535 (POLL_ERR): Likewise.
3536 (POLL_PRI): Likewise.
3537 (POLL_HUP): Likewise.
3538 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3539 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3542 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3543 before #include of <time.h>.
3544 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3545 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3546 (test-xfail-UNIX98/sched.h/conform): Likewise.
3548 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3550 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3551 error absence of trapping exception support.
3552 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3554 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3556 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3557 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3558 * timezone/Makefile (testdata): Move definition above include of
3560 (test-zones): New variable.
3561 (tests-special): Add zone files.
3562 (build-testdata): Use $(evaluate-test).
3564 * elf/Makefile (tests-special): Rename tests to end with .out.
3565 ($(objpfx)noload-mem): Likewise.
3566 ($(objpfx)tst-leaks1-mem): Likewise.
3567 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3568 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3569 $(objpfx)test-iconvconfig.out.
3570 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3571 set -e inside subshell and redirect output to file.
3572 * iconvdata/Makefile (generated): Rename tests to end with .out.
3574 (tests-special): Rename tests to end with .out.
3575 ($(objpfx)mtrace-tst-loading): Likewise.
3576 * intl/Makefile (generated): Likewise.
3577 (tests-special): Likewise.
3578 ($(objpfx)mtrace-tst-gettext): Likewise.
3579 * misc/Makefile (generated): Likewise.
3580 (tests-special): Likewise.
3581 ($(objpfx)tst-error1-mem): Likewise.
3582 * nptl/Makefile (tests-special): Likewise.
3583 ($(objpfx)tst-stack3-mem): Likewise.
3584 (generated): Likewise.
3585 * posix/Makefile (generated): Likewise.
3586 (tests-special): Likewise.
3587 (xtests-special): Likewise.
3588 ($(objpfx)tst-fnmatch-mem): Likewise.
3589 ($(objpfx)bug-regex2-mem): Likewise.
3590 ($(objpfx)bug-regex14-mem): Likewise.
3591 ($(objpfx)bug-regex21-mem): Likewise.
3592 ($(objpfx)bug-regex31-mem): Likewise.
3593 ($(objpfx)tst-vfork3-mem): Likewise.
3594 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3595 ($(objpfx)tst-pcre-mem): Likewise.
3596 ($(objpfx)tst-boost-mem): Likewise.
3597 ($(objpfx)bug-ga2-mem): Likewise.
3598 ($(objpfx)bug-glob2-mem): Likewise.
3599 * resolv/Makefile (generate): Likewise.
3600 (tests-special): Likewise.
3601 (xtests-special): Likewise.
3602 (generated): Likewise.
3603 ($(objpfx)mtrace-tst-leaks): Likewise.
3604 ($(objpfx)mtrace-tst-leaks2): Likewise.
3606 * scripts/merge-test-results.sh: New file.
3607 * Makefile (tests-special-notdir): New variable.
3608 (tests): Run merge-test-results.sh.
3610 * Rules (tests-special-notdir): New variable.
3611 (xtests-special-notdir): Likewise.
3612 (tests): Run merge-test-results.sh
3615 * Makeconfig (test-xfail-name): New variable.
3616 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3617 compute variable name for expected failures.
3618 * conform/Makefile (conformtest-headers-data): New variable.
3619 (conformtest-standards): Likewise.
3620 (conformtest-headers-ISO): Likewise.
3621 (conformtest-headers-ISO99): Likewise.
3622 (conformtest-headers-ISO11): Likewise.
3623 (conformtest-headers-POSIX): Likewise.
3624 (conformtest-headers-XPG3): Likewise.
3625 (conformtest-headers-XPG4): Likewise.
3626 (conformtest-headers-UNIX98): Likewise.
3627 (conformtest-headers-XOPEN2K): Likewise.
3628 (conformtest-headers-POSIX2008): Likewise.
3629 (conformtest-headers-XOPEN2K8): Likewise.
3630 (conformtest-header-list-base): Likewise.
3631 (conformtest-header-list-tests): Likewise.
3632 (conformtest-header-base): Likewise.
3633 (conformtest-header-tests): Likewise.
3634 (tests-special): Add $(conformtest-header-list-tests). If
3635 [$(fast-check) && !$(cross-compiling)], add
3636 $(conformtest-header-tests) instead of
3637 $(objpfx)run-conformtest.out.
3638 (generated): Add $(conformtest-header-list-base). If
3639 [$(fast-check) && !$(cross-compiling)], add
3640 $(conformtest-header-base). Remove previous setting.
3641 ($(conformtest-header-list-tests)): New target.
3642 (test-xfail-run-conformtest): Remove variable.
3643 ($(objpfx)run-conformtest.out): Remove target.
3644 (test-xfail-ISO11/complex.h/conform): New variable.
3645 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3646 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3647 (test-xfail-XPG3/varargs.h/conform): Likewise.
3648 (test-xfail-XPG4/varargs.h/conform): Likewise.
3649 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3650 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3651 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3652 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3653 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3654 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3655 (test-xfail-XPG3/ftw.h/conform): Likewise.
3656 (test-xfail-XPG3/grp.h/conform): Likewise.
3657 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3658 (test-xfail-XPG3/limits.h/conform): Likewise.
3659 (test-xfail-XPG3/pwd.h/conform): Likewise.
3660 (test-xfail-XPG3/search.h/conform): Likewise.
3661 (test-xfail-XPG3/signal.h/conform): Likewise.
3662 (test-xfail-XPG3/stdio.h/conform): Likewise.
3663 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3664 (test-xfail-XPG3/string.h/conform): Likewise.
3665 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3666 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3667 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3668 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3669 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3670 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3671 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3672 (test-xfail-XPG3/termios.h/conform): Likewise.
3673 (test-xfail-XPG3/time.h/conform): Likewise.
3674 (test-xfail-XPG3/unistd.h/conform): Likewise.
3675 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3676 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3677 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3678 (test-xfail-XPG4/netdb.h/conform): Likewise.
3679 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3680 (test-xfail-XPG4/signal.h/conform): Likewise.
3681 (test-xfail-XPG4/stdio.h/conform): Likewise.
3682 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3683 (test-xfail-XPG4/stropts.h/conform): Likewise.
3684 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3685 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3686 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3687 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3688 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3689 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3690 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3691 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3692 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3693 (test-xfail-XPG4/termios.h/conform): Likewise.
3694 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3695 (test-xfail-XPG4/unistd.h/conform): Likewise.
3696 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3697 (test-xfail-POSIX/sched.h/conform): Likewise.
3698 (test-xfail-POSIX/signal.h/conform): Likewise.
3699 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3700 (test-xfail-POSIX/tar.h/conform): Likewise.
3701 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3702 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3703 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3704 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3705 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3706 (test-xfail-UNIX98/sched.h/conform): Likewise.
3707 (test-xfail-UNIX98/signal.h/conform): Likewise.
3708 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3709 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3710 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3711 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3712 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3713 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3714 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3715 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3716 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3717 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3718 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3719 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3720 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3721 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3722 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3723 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3724 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3725 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3726 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3727 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3728 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3729 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3730 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3731 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3732 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3733 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3734 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3735 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3736 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3737 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3738 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3739 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3740 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3741 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3742 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3743 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3744 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3745 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3746 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3747 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3748 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3749 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3750 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3751 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3752 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3753 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3754 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3755 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3756 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3757 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3758 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3759 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3760 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3761 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3762 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3763 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3764 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3765 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3766 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3767 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3768 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3769 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3770 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3771 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3772 (conformtest-cc-flags): Likewise.
3773 ($(conformtest-header-tests): New target.
3774 * conform/check-header-lists.sh: New file.
3775 * conform/run-conformtest.sh: Remove.
3777 * conform/conformtest.pl: Allow ' and \ in values given for
3779 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3781 [POSIX] (sys/types.h): Likewise.
3782 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3784 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3786 * conform/data/signal.h-data (SIGIO): Remove expectation.
3787 [XPG3] (SIGBUS): Do not expect.
3788 [POSIX || XPG3] (SIGPOLL): Likewise.
3789 [POSIX || XPG3] (SIGPROF): Likewise.
3790 [POSIX || XPG3] (SIGSYS): Likewise.
3791 [XPG3] (SIGTRAP): Likewise.
3792 [POSIX || XPG3] (SIGURG): Likewise.
3793 [POSIX || XPG3] (SIGVTALRM): Likewise.
3794 [POSIX || XPG3] (SIGXCPU): Likewise.
3795 [POSIX || XPG3] (SIGXFSZ): Likewise.
3796 [POSIX] (SA_SIGINFO): Expect.
3797 [XPG3] (siginfo_t): Do not expect type or contents.
3798 [POSIX] (si_pid): Do not expect element.
3799 [POSIX] (si_uid): Likewise.
3800 [POSIX] (si_addr): Likewise.
3801 [POSIX] (si_status): Likewise.
3802 [POSIX] (si_band): Likewise.
3803 [XPG4] (si_value): Likewise.
3804 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3805 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3806 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3807 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3808 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3809 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3810 [POSIX || XPG3] (ILL_COPROC): Likewise.
3811 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3812 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3813 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3814 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3815 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3816 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3817 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3818 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3819 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3820 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3821 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3822 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3823 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3824 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3825 [POSIX || XPG3] (CLD_EXITED): Likewise.
3826 [POSIX || XPG3] (CLD_KILLED): Likewise.
3827 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3828 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3829 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3830 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3831 [POSIX || XPG3] (POLL_IN): Likewise.
3832 [POSIX || XPG3] (POLL_OUT): Likewise.
3833 [POSIX || XPG3] (POLL_MSG): Likewise.
3834 [POSIX || XPG3] (POLL_ERR): Likewise.
3835 [POSIX || XPG3] (POLL_PRI): Likewise.
3836 [POSIX || XPG3] (POLL_HUP): Likewise.
3837 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3838 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3839 (SIG*): Do not allow.
3840 [XPG3] (si_*): Likewise.
3841 [XPG3] (SI_*): Likewise.
3842 [XPG3 || XPG4] (sigev_*): Likewise.
3843 [XPG3 || XPG4] (SIGEV_*): Likewise.
3844 [XPG3 || XPG4] (sival_*): Likewise.
3845 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3846 [POSIX || XPG3] (BUS_*): Likewise.
3847 [POSIX || XPG3] (CLD_*): Likewise.
3848 [POSIX || XPG3] (FPE_*): Likewise.
3849 [POSIX || XPG3] (ILL_*): Likewise.
3850 [POSIX || XPG3] (POLL_*): Likewise.
3851 [POSIX || XPG3] (SEGV_*): Likewise.
3852 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3853 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3854 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3855 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3856 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3857 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3858 Specify type and value.
3859 (TVERSLEN): Likewise.
3860 (REGTYPE): Likewise.
3861 (AREGTYPE): Likewise.
3862 (LNKTYPE): Likewise.
3863 (SYMTYPE): Likewise.
3864 (CHRTYPE): Likewise.
3865 (BLKTYPE): Likewise.
3866 (DIRTYPE): Likewise.
3867 (FIFOTYPE): Likewise.
3868 (CONTTYPE): Likewise.
3873 (TUWRITE): Likewise.
3876 (TGWRITE): Likewise.
3879 (TOWRITE): Likewise.
3881 [POSIX] (TSVTX): Expect constant.
3883 2014-03-06 Joseph Myers <joseph@codesourcery.com>
3885 * Makefile (tests): Change dependencies to ....
3886 (tests-special): ... additions to this variable.
3887 (tests): Depend on $(tests-special).
3888 * Makerules (check-abi-list): New variable.
3889 (check-abi): Depend on $(check-abi-list).
3890 [$(subdir) = elf] (tests-special): Add
3891 $(objpfx)check-abi-libc.out.
3892 [$(build-shared) = yes && subdir] (tests-special): Add
3894 [$(build-shared) = yes && subdir] (tests): Do not depend on
3896 * Rules (tests): Depend on $(tests-special).
3897 (xtests): Depend on $(xtests-special).
3898 * catgets/Makefile (tests): Change dependencies to ....
3899 (tests-special): ... additions to this variable.
3900 * conform/Makefile (tests): Change dependencies to ....
3901 (tests-special): ... additions to this variable.
3902 * elf/Makefile (tests): Change dependencies to ....
3903 (tests-special): ... additions to this variable.
3904 * grp/Makefile (tests): Change dependencies to ....
3905 (tests-special): ... additions to this variable.
3906 * iconv/Makefile (xtests): Change dependencies to ....
3907 (xtests-special): ... additions to this variable.
3908 * iconvdata/Makefile (tests): Change dependencies to ....
3909 (tests-special): ... additions to this variable.
3910 * intl/Makefile (tests): Change dependencies to ....
3911 (tests-special): ... additions to this variable. Also add
3912 $(objpfx)tst-gettext.out.
3913 * io/Makefile (tests): Change dependencies to ....
3914 (tests-special): ... additions to this variable.
3915 * libio/Makefile (tests): Change dependencies to ....
3916 (tests-special): ... additions to this variable.
3917 * malloc/Makefile (tests): Change dependencies to ....
3918 (tests-special): ... additions to this variable.
3919 * misc/Makefile (tests): Change dependencies to ....
3920 (tests-special): ... additions to this variable.
3921 * nptl/Makefile (tests): Change dependencies to ....
3922 (tests-special): ... additions to this variable.
3923 * nptl_db/Makefile (tests): Change dependencies to ....
3924 (tests-special): ... additions to this variable.
3925 * posix/Makefile (tests): Change dependencies to ....
3926 (tests-special): ... additions to this variable.
3927 (xtests): Change dependencies to ....
3928 (xtests-special): ... additions to this variable.
3929 * resolv/Makefile (tests): Change dependencies to ....
3930 (tests-special): ... additions to this variable.
3931 (xtests): Change dependencies to ....
3932 (xtests-special): ... additions to this variable.
3933 * stdio-common/Makefile (tests): Change dependencies to ....
3934 (tests-special): ... additions to this variable.
3935 (do-tst-unbputc): Remove target.
3936 (do-tst-printf): Likewise.
3937 * stdlib/Makefile (tests): Change dependencies to ....
3938 (tests-special): ... additions to this variable.
3939 * string/Makefile (tests): Change dependencies to ....
3940 (tests-special): ... additions to this variable.
3941 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3942 (tests-special): ... additions to this variable.
3944 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3946 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3948 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3949 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3951 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3952 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3953 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3954 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3955 * conform/data/libgen.h-data [XPG3]: Likewise.
3956 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3957 * conform/data/ndbm.h-data [XPG3]: Likewise.
3958 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3959 * conform/data/netdb.h-data [XPG3]: Likewise.
3960 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3961 * conform/data/poll.h-data [XPG3]: Likewise.
3962 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3963 * conform/data/strings.h-data [XPG3]: Likewise.
3964 * conform/data/stropts.h-data [XPG3]: Likewise.
3965 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3966 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3967 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3969 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3970 * conform/data/sys/time.h-data [XPG3]: Likewise.
3971 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3972 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3973 * conform/data/sys/un.h-data [XPG3]: Likewise.
3974 * conform/data/syslog.h-data [XPG3]: Likewise.
3975 * conform/data/ucontext.h-data [XPG3]: Likewise.
3976 * conform/data/utmpx.h-data [XPG3]: Likewise.
3977 * conform/data/varargs.h-data [UNIX98]: Enable file.
3979 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3981 * math/libm-test.inc (struct test_f_f_data): Move expected results
3982 into structure for each rounding mode.
3983 (struct test_ff_f_data): Likewise.
3984 (struct test_ff_f_data_nexttoward): Likewise.
3985 (struct test_fi_f_data): Likewise.
3986 (struct test_fl_f_data): Likewise.
3987 (struct test_if_f_data): Likewise.
3988 (struct test_fff_f_data): Likewise.
3989 (struct test_c_f_data): Likewise.
3990 (struct test_f_f1_data): Likewise.
3991 (struct test_fF_f1_data): Likewise.
3992 (struct test_ffI_f1_data): Likewise.
3993 (struct test_c_c_data): Likewise.
3994 (struct test_cc_c_data): Likewise.
3995 (struct test_f_i_data): Likewise.
3996 (struct test_ff_i_data): Likewise.
3997 (struct test_f_l_data): Likewise.
3998 (struct test_f_L_data): Likewise.
3999 (struct test_fFF_11_data): Likewise.
4001 (RM_FE_DOWNWARD): Likewise.
4002 (RM_FE_TONEAREST): Likewise.
4003 (RM_FE_TOWARDZERO): Likewise.
4004 (RM_FE_UPWARD): Likewise.
4005 (RUN_TEST_LOOP_f_f): Update references to expected results.
4006 (RUN_TEST_LOOP_2_f): Likewise.
4007 (RUN_TEST_LOOP_fff_f): Likewise.
4008 (RUN_TEST_LOOP_c_f): Likewise.
4009 (RUN_TEST_LOOP_f_f1): Likewise.
4010 (RUN_TEST_LOOP_fF_f1): Likewise.
4011 (RUN_TEST_LOOP_fI_f1): Likewise.
4012 (RUN_TEST_LOOP_ffI_f1): Likewise.
4013 (RUN_TEST_LOOP_c_c): Likewise.
4014 (RUN_TEST_LOOP_cc_c): Likewise.
4015 (RUN_TEST_LOOP_f_i): Likewise.
4016 (RUN_TEST_LOOP_f_i_tg): Likewise.
4017 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4018 (RUN_TEST_LOOP_f_b): Likewise.
4019 (RUN_TEST_LOOP_f_b_tg): Likewise.
4020 (RUN_TEST_LOOP_f_l): Likewise.
4021 (RUN_TEST_LOOP_f_L): Likewise.
4022 (RUN_TEST_LOOP_fFF_11): Likewise.
4023 * math/gen-libm-test.pl (parse_args): Output four copies of
4024 expected results for each test.
4026 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4027 (__ASSUME_UTIMES): Remove.
4028 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4029 (__ASSUME_UTIMES): Likewise.
4031 * math/gen-auto-libm-tests.c: Update comment on output format.
4032 (output_for_one_input_case): Generate before-rounding and
4033 after-rounding information as conditions on output flags not
4034 floating-point format.
4035 * math/auto-libm-test-out: Regenerated.
4036 * math/gen-libm-test.pl (cond_value): New function.
4037 (or_cond_value): Use cond_value.
4038 (generate_testfile): Handle conditional exceptions.
4040 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4042 * math/libm-test.inc (max_valid_error): New variable.
4043 (init_max_error): Take new argument specifying whether function
4044 results are exactly determined. Set max_valid_error and bound
4045 other variables for errors based on this argument.
4046 (set_max_error): Do not record results above max_valid_error.
4047 (check_float_internal): Only accept errors of up to 0.5ulps if
4048 also at most max_valid_error.
4049 (START): Take new argument EXACT and pass it to init_max_error.
4050 (acos_test): Update call to START.
4051 (acos_test_tonearest): Likewise.
4052 (acos_test_towardzero): Likewise.
4053 (acos_test_downward): Likewise.
4054 (acos_test_upward): Likewise.
4055 (acosh_test): Likewise.
4056 (asin_test): Likewise.
4057 (asin_test_tonearest): Likewise.
4058 (asin_test_towardzero): Likewise.
4059 (asin_test_downward): Likewise.
4060 (asin_test_upward): Likewise.
4061 (asinh_test): Likewise.
4062 (atan_test): Likewise.
4063 (atanh_test): Likewise.
4064 (atan2_test): Likewise.
4065 (cabs_test): Likewise.
4066 (cacos_test): Likewise.
4067 (cacosh_test): Likewise.
4068 (carg_test): Likewise.
4069 (casin_test): Likewise.
4070 (casinh_test): Likewise.
4071 (catan_test): Likewise.
4072 (catanh_test): Likewise.
4073 (cbrt_test): Likewise.
4074 (ccos_test): Likewise.
4075 (ccosh_test): Likewise.
4076 (ceil_test): Likewise.
4077 (cexp_test): Likewise.
4078 (cimag_test): Likewise.
4079 (clog_test): Likewise.
4080 (clog10_test): Likewise.
4081 (conj_test): Likewise.
4082 (copysign_test): Likewise.
4083 (cos_test): Likewise.
4084 (cos_test_tonearest): Likewise.
4085 (cos_test_towardzero): Likewise.
4086 (cos_test_downward): Likewise.
4087 (cos_test_upward): Likewise.
4088 (cosh_test): Likewise.
4089 (cosh_test_tonearest): Likewise.
4090 (cosh_test_towardzero): Likewise.
4091 (cosh_test_downward): Likewise.
4092 (cosh_test_upward): Likewise.
4093 (cpow_test): Likewise.
4094 (cproj_test): Likewise.
4095 (creal_test): Likewise.
4096 (csin_test): Likewise.
4097 (csinh_test): Likewise.
4098 (csqrt_test): Likewise.
4099 (ctan_test): Likewise.
4100 (ctan_test_tonearest): Likewise.
4101 (ctan_test_towardzero): Likewise.
4102 (ctan_test_downward): Likewise.
4103 (ctan_test_upward): Likewise.
4104 (ctanh_test): Likewise.
4105 (ctanh_test_tonearest): Likewise.
4106 (ctanh_test_towardzero): Likewise.
4107 (ctanh_test_downward): Likewise.
4108 (ctanh_test_upward): Likewise.
4109 (erf_test): Likewise.
4110 (erfc_test): Likewise.
4111 (exp_test): Likewise.
4112 (exp_test_tonearest): Likewise.
4113 (exp_test_towardzero): Likewise.
4114 (exp_test_downward): Likewise.
4115 (exp_test_upward): Likewise.
4116 (exp10_test): Likewise.
4117 (exp10_test_tonearest): Likewise.
4118 (exp10_test_towardzero): Likewise.
4119 (exp10_test_downward): Likewise.
4120 (exp10_test_upward): Likewise.
4121 (pow10_test): Likewise.
4122 (exp2_test): Likewise.
4123 (expm1_test): Likewise.
4124 (expm1_test_tonearest): Likewise.
4125 (expm1_test_towardzero): Likewise.
4126 (expm1_test_downward): Likewise.
4127 (expm1_test_upward): Likewise.
4128 (fabs_test): Likewise.
4129 (fdim_test): Likewise.
4130 (floor_test): Likewise.
4131 (fma_test): Likewise.
4132 (fma_test_towardzero): Likewise.
4133 (fma_test_downward): Likewise.
4134 (fma_test_upward): Likewise.
4135 (fmax_test): Likewise.
4136 (fmin_test): Likewise.
4137 (fmod_test): Likewise.
4138 (fpclassify_test): Likewise.
4139 (frexp_test): Likewise.
4140 (hypot_test): Likewise.
4141 (ilogb_test): Likewise.
4142 (isfinite_test): Likewise.
4143 (finite_test): Likewise.
4144 (isgreater_test): Likewise.
4145 (isgreaterequal_test): Likewise.
4146 (isinf_test): Likewise.
4147 (isless_test): Likewise.
4148 (islessequal_test): Likewise.
4149 (islessgreater_test): Likewise.
4150 (isnan_test): Likewise.
4151 (isnormal_test): Likewise.
4152 (issignaling_test): Likewise.
4153 (isunordered_test): Likewise.
4154 (j0_test): Likewise.
4155 (j1_test): Likewise.
4156 (jn_test): Likewise.
4157 (ldexp_test): Likewise.
4158 (lgamma_test): Likewise.
4159 (gamma_test): Likewise.
4160 (lrint_test): Likewise.
4161 (lrint_test_tonearest): Likewise.
4162 (lrint_test_towardzero): Likewise.
4163 (lrint_test_downward): Likewise.
4164 (lrint_test_upward): Likewise.
4165 (llrint_test): Likewise.
4166 (llrint_test_tonearest): Likewise.
4167 (llrint_test_towardzero): Likewise.
4168 (llrint_test_downward): Likewise.
4169 (llrint_test_upward): Likewise.
4170 (log_test): Likewise.
4171 (log10_test): Likewise.
4172 (log1p_test): Likewise.
4173 (log2_test): Likewise.
4174 (logb_test): Likewise.
4175 (logb_test_downward): Likewise.
4176 (lround_test): Likewise.
4177 (llround_test): Likewise.
4178 (modf_test): Likewise.
4179 (nearbyint_test): Likewise.
4180 (nextafter_test): Likewise.
4181 (nexttoward_test): Likewise.
4182 (pow_test): Likewise.
4183 (pow_test_tonearest): Likewise.
4184 (pow_test_towardzero): Likewise.
4185 (pow_test_downward): Likewise.
4186 (pow_test_upward): Likewise.
4187 (remainder_test): Likewise.
4188 (drem_test): Likewise.
4189 (remainder_test_tonearest): Likewise.
4190 (drem_test_tonearest): Likewise.
4191 (remainder_test_towardzero): Likewise.
4192 (drem_test_towardzero): Likewise.
4193 (remainder_test_downward): Likewise.
4194 (drem_test_downward): Likewise.
4195 (remainder_test_upward): Likewise.
4196 (drem_test_upward): Likewise.
4197 (remquo_test): Likewise.
4198 (rint_test): Likewise.
4199 (rint_test_tonearest): Likewise.
4200 (rint_test_towardzero): Likewise.
4201 (rint_test_downward): Likewise.
4202 (rint_test_upward): Likewise.
4203 (round_test): Likewise.
4204 (scalb_test): Likewise.
4205 (scalbn_test): Likewise.
4206 (scalbln_test): Likewise.
4207 (signbit_test): Likewise.
4208 (sin_test): Likewise.
4209 (sin_test_tonearest): Likewise.
4210 (sin_test_towardzero): Likewise.
4211 (sin_test_downward): Likewise.
4212 (sin_test_upward): Likewise.
4213 (sincos_test): Likewise.
4214 (sinh_test): Likewise.
4215 (sinh_test_tonearest): Likewise.
4216 (sinh_test_towardzero): Likewise.
4217 (sinh_test_downward): Likewise.
4218 (sinh_test_upward): Likewise.
4219 (sqrt_test): Likewise.
4220 (sqrt_test_tonearest): Likewise.
4221 (sqrt_test_towardzero): Likewise.
4222 (sqrt_test_downward): Likewise.
4223 (sqrt_test_upward): Likewise.
4224 (tan_test): Likewise.
4225 (tan_test_tonearest): Likewise.
4226 (tan_test_towardzero): Likewise.
4227 (tan_test_downward): Likewise.
4228 (tan_test_upward): Likewise.
4229 (tanh_test): Likewise.
4230 (tgamma_test): Likewise.
4231 (trunc_test): Likewise.
4232 (y0_test): Likewise.
4233 (y1_test): Likewise.
4234 (yn_test): Likewise.
4235 (significand_test): Likewise.
4237 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4238 individual tests in comment.
4239 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4240 (prev_max_error): New variable.
4241 (prev_real_max_error): Likewise.
4242 (prev_imag_max_error): Likewise.
4243 (compare_ulp_data): Don't refer to test names in comment.
4244 (find_test_ulps): Remove function.
4245 (find_function_ulps): Likewise.
4246 (find_complex_function_ulps): Likewise.
4247 (init_max_error): Take function name as argument. Look up ulps
4249 (print_ulps): Remove function.
4250 (print_max_error): Use prev_max_error instead of calling
4252 (print_complex_max_error): Use prev_real_max_error and
4253 prev_imag_max_error instead of calling find_complex_function_ulps.
4254 (check_float_internal): Take max_ulp parameter instead of calling
4255 find_test_ulps. Don't call print_ulps.
4256 (check_float): Update call to check_float_internal.
4257 (check_complex): Update calls to check_float_internal.
4258 (START): Pass argument to init_max_error.
4259 * math/gen-libm-test.pl (%results): Don't include "kind"
4261 (parse_ulps): Don't handle ulps of individual tests.
4262 (print_ulps_file): Likewise.
4263 (output_ulps): Likewise.
4264 * math/README.libm-test: Update.
4265 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4267 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4268 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4269 * sysdeps/arm/libm-test-ulps: Likewise.
4270 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4271 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4272 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4273 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4274 * sysdeps/microblaze/libm-test-ulps: Likewise.
4275 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4276 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4277 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4278 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4279 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4280 * sysdeps/sh/libm-test-ulps: Likewise.
4281 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4282 * sysdeps/tile/libm-test-ulps: Likewise.
4283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4285 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4287 * math/libm-test.inc (print_complex_max_error): Check separately
4288 whether real and imaginary errors are within allowed range and
4289 pass 0 to print_complex_function_ulps instead of value within
4292 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4294 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4296 (get_handles_fopen): Likewise.
4297 (do_write_test): Likewise.
4299 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4301 * libio/fileops.c (do_ftell): Use cached offset when
4303 * libio/iofwide.c (do_ftell_wide): Likewise.
4304 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4306 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4309 * libio/libioP.h (get_file_offset): New function.
4310 * libio/fileops.c (get_file_offset): Likewise.
4311 (do_ftell): Likewise.
4312 (_IO_new_file_seekoff): Split out ftell logic.
4313 * libio/wfileops.c (do_ftell_wide): Likewise.
4314 (_IO_wfile_seekoff): Split out ftell logic.
4315 * libio/tst-ftell-active-handler.c: New test case.
4316 * libio/Makefile (tests): Add it.
4318 2014-03-03 Roland McGrath <roland@hack.frob.com>
4320 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4321 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4323 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4326 * nscd/connections.c (nscd_init): Call do_exit.
4327 (start_threads): Call do_exit and notify_parent.
4328 (begin_drop_privileges): Call do_exit.
4329 (finish_drop_privileges): Likewise.
4330 * nscd/selinux.c (preserve_capabilities): Likewise.
4331 (install_real_capabilities): Likewise.
4332 (nscd_selinux_enabled): Likewise.
4333 (avc_create_thread): Likewise.
4334 (avc_alloc_lock): Likewise.
4335 (nscd_avc_init): Likewise.
4336 * nscd/nscd.c (parent_fd): New static variable.
4337 (main): Create a pipe between parent and child processes.
4338 Skip closing parent_fd.
4339 (monitor_child): New function.
4340 (do_exit): Likewise.
4341 (notify_parent): Likewise.
4342 * nscd/nscd.h (notify_parent): Likewise.
4343 (do_exit): Likewise.
4345 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4347 * malloc/malloc.c (__libc_calloc): Revert last change.
4349 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4353 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4355 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4359 (__libc_ifunc_impl_list): Likewise.
4360 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4361 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4362 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4363 * string/strrchr.c: Define STRRCHR.
4365 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4367 * benchtest/bench-strtok.c (simple_strtok): Delete.
4368 (strtok_string): Use as benchmark.
4369 * string/strtok (STRTOK): New macro.
4371 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4373 * manual/threads.texi: Add header and standard comments to all
4376 * elf/dl-lookup.c (check_match): New function.
4377 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4378 (do_lookup_x): Remove nested function check_match. Use non-nested
4379 function check_match.
4381 2014-02-28 Roland McGrath <roland@hack.frob.com>
4383 * csu/Makefile (generated, before-compile): Use += rather than =.
4384 * catgets/Makefile (generated, generated-dirs): Likewise.
4385 * debug/Makefile (generated): Likewise.
4386 * dlfcn/Makefile (generated): Likewise.
4387 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4388 * iconvdata/Makefile (before-compile, generated): Likewise.
4389 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4390 * libio/Makefile (generated): Likewise.
4391 * malloc/Makefile (generated): Likewise.
4392 * manual/Makefile (generated, generated-dirs): Likewise.
4393 * misc/Makefile (generated): Likewise.
4394 * posix/Makefile (generated): Likewise.
4395 * resolv/Makefile (generated): Likewise.
4396 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4397 * timezone/Makefile (generated, generated-dirs): Likewise.
4399 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4401 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4404 power8 implementation.
4405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4406 file: POWER8 llround ifunc implementation.
4407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4408 (__lllround): Add POWER8 implementation.
4409 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4410 POWER8 llround implementation.
4412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4413 power8 implementation.
4414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4415 file: POWER8 llrint ifunc implementation.
4416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4417 Add POWER8 implementation.
4418 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4419 POWER8 llrint implementation.
4421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4422 power8 implementation.
4423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4424 file: POWER8 finite ifunc implementation.
4425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4426 Add POWER8 implementation.
4427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4429 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4430 POWER8 finite implementation.
4431 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4434 power8 implementation.
4435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4436 file: POWER8 isinf ifunc implementation.
4437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4438 POWER8 implementation.
4439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4441 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4442 isinf implementation.
4443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4445 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4446 (INIT_ARCH): Add hwcap2 initialization.
4447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4448 power8 implementation.
4449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4450 file: POWER8 isnan ifunc implementation.
4451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4452 POWER8 implementation.
4453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4455 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4456 isnan implementation.
4457 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4459 2014-02-27 Joey Ye <joey.ye@arm.com>
4461 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4462 (_FP_NANFRAC_Q): Set to zero.
4464 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4467 * math/auto-libm-test-in: New test inputs.
4468 * math/auto-libm-test-out: Regenerate.
4469 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4472 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4474 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4476 * scripts/evaluate-test.sh: Take new argument indicating whether
4477 failure is expected.
4478 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4479 indicating whether failure is expected.
4480 * conform/Makefile (test-xfail-run-conformtest): New variable.
4481 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4483 * posix/Makefile (test-xfail-annexc): New variable.
4484 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4486 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4488 * argp/Makefile: Include Makeconfig immediately after defining
4490 * assert/Makefile: Likewise.
4491 * benchtests/Makefile: Likewise.
4492 * catgets/Makefile: Likewise.
4493 * conform/Makefile: Likewise.
4494 * crypt/Makefile: Likewise.
4495 * csu/Makefile: Likewise.
4496 (all): Remove target.
4497 * ctype/Makefile: Include Makeconfig immediately after defining
4499 * debug/Makefile: Likewise.
4500 * dirent/Makefile: Likewise.
4501 * dlfcn/Makefile: Likewise.
4502 * gmon/Makefile: Likewise.
4503 * gnulib/Makefile: Likewise.
4504 * grp/Makefile: Likewise.
4505 * gshadow/Makefile: Likewise.
4506 * hesiod/Makefile: Likewise.
4507 * hurd/Makefile: Likewise.
4508 (all): Remove target.
4509 * iconvdata/Makefile: Include Makeconfig immediately after
4511 * inet/Makefile: Likewise.
4512 * intl/Makefile: Likewise.
4513 * io/Makefile: Likewise.
4514 * libio/Makefile: Likewise.
4515 (all): Remove target.
4516 * locale/Makefile: Include Makeconfig immediately after defining
4518 * login/Makefile: Likewise.
4519 * mach/Makefile: Likewise.
4520 (all): Remove target.
4521 * malloc/Makefile: Include Makeconfig immediately after defining
4523 (all): Remove target.
4524 * manual/Makefile: Include Makeconfig immediately after defining
4526 * math/Makefile: Likewise.
4527 * misc/Makefile: Likewise.
4528 * nis/Makefile: Likewise.
4529 * nss/Makefile: Likewise.
4530 * po/Makefile: Likewise.
4531 (all): Remove target.
4532 * posix/Makefile: Include Makeconfig immediately after defining
4534 * pwd/Makefile: Likewise.
4535 * resolv/Makefile: Likewise.
4536 * resource/Makefile: Likewise.
4537 * rt/Makefile: Likewise.
4538 * setjmp/Makefile: Likewise.
4539 * shadow/Makefile: Likewise.
4540 * signal/Makefile: Likewise.
4541 * socket/Makefile: Likewise.
4542 * soft-fp/Makefile: Likewise.
4543 * stdio-common/Makefile: Likewise.
4544 * stdlib/Makefile: Likewise.
4545 * streams/Makefile: Likewise.
4546 * string/Makefile: Likewise.
4547 * sunrpc/Makefile: Likewise.
4548 (all): Remove target.
4549 * sysvipc/Makefile: Include Makeconfig immediately after defining
4551 * termios/Makefile: Likewise.
4552 * time/Makefile: Likewise.
4553 * timezone/Makefile: Likewise.
4554 (all): Remove target.
4555 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4557 * wctype/Makefile: Likewise.
4559 2014-02-26 Steve Ellcey <sellcey@mips.com>
4561 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4562 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4563 (libc_feholdexcept_setround_mips): Ditto.
4564 (libc_feholdsetround): New.
4565 (libc_feholdsetroundf): New.
4566 (libc_feholdsetroundl): New.
4567 (libc_feupdateenv_test_mips): New.
4568 (libc_feupdateenv_test): New.
4569 (libc_feupdateenv_testf): New.
4570 (libc_feupdateenv_testl): New.
4571 (libc_feresetround): New.
4572 (libc_feresetroundf): New.
4573 (libc_feresetroundl): New.
4574 (libc_fetestexcept_mips): New.
4575 (libc_fetestexcept): New.
4576 (libc_fetestexceptf): New.
4577 (libc_fetestexceptl): New.
4579 (libc_feholdexcept_setround_mips_ctx): New.
4580 (libc_feholdexcept_setround_ctx): New.
4581 (libc_feholdexcept_setroundf_ctx): New.
4582 (libc_feholdexcept_setroundl_ctx): New.
4583 (libc_fesetenv_mips_ctx): New.
4584 (libc_fesetenv_ctx): New.
4585 (libc_fesetenv_ctxf): New.
4586 (libc_fesetenv_ctxl): New.
4587 (libc_feupdateenv_mips_ctx): New.
4588 (libc_feupdateenv_ctx): New.
4589 (libc_feupdateenvf_ctx): New.
4590 (libc_feupdateenvl_ctx): New.
4591 (libc_feholdsetround_mips_ctx): New.
4592 (libc_feholdsetround_ctx): New.
4593 (libc_feholdsetroundf_ctx): New.
4594 (libc_feholdsetroundl_ctx): New.
4595 (libc_feresetround_mips_ctx): New.
4596 (libc_feresetround_ctx): New.
4597 (libc_feresetroundf_ctx): New.
4598 (libc_feresetroundl_ctx): New.
4600 2014-02-26 Carlos O'Donell <carlos@redhat.com>
4602 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4604 * manual/ipc.texi: New file.
4605 * manual/Makefile (chapters): Add ipc.
4606 * manual/job.texi: Add "Inter-Process Communication" to next.
4607 * manual/process.texi: Add "Inter-Process Communication" to prev.
4609 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4613 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
4615 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4617 * manual/arith.texi: Fix spaces after sentences.
4618 * manual/charset.texi: Likewise.
4619 * manual/errno.texi: Likewise.
4620 * manual/install.texi: Likewise.
4621 * manual/llio.texi: Likewise.
4622 * manual/locale.texi: Likewise.
4623 * manual/maint.texi: Likewise.
4624 * manual/math.texi: Likewise.
4625 * manual/memory.texi: Likewise.
4626 * manual/message.texi: Likewise.
4627 * manual/probes.texi: Likewise.
4628 * manual/resource.texi: Likewise.
4629 * manual/signal.texi: Likewise.
4630 * manual/socket.texi: Likewise.
4631 * manual/stdio.texi: Likewise.
4632 * manual/string.texi: Likewise.
4633 * manual/time.texi: Likewise.
4634 * manual/users.texi: Likewise.
4636 2014-02-25 Carlos O'Donell <carlos@redhat.com>
4639 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4640 _DEFAULT_SOURCE is defined.
4642 2014-02-25 Ulrich Drepper <drepper@gmail.com>
4643 Carlos O'Donell <carlos@redhat.com>
4646 * elf/dl-tls.c (_dl_count_modids): New function.
4647 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4648 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4649 audit library and increment generation counter.
4650 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4651 * elf/tst-audit9.c: New file.
4652 * elf/tst-auditmod9a.c: New file.
4653 * elf/tst-auditmod9b.c: New file.
4654 * elf/Makefile: Add rules to build and run tst-audit9.
4656 2014-02-25 Florian Weimer <fweimer@redhat.com>
4659 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4661 2014-02-25 Will Newton <will.newton@linaro.org>
4663 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4664 (__longjmp): Restore sp and lr before restoring callee
4665 saved registers. Add longjmp and longjmp_target
4666 SystemTap probe point.
4667 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4668 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4669 Define to zero to match jmpbuf layout.
4670 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4671 (__sigsetjmp): Save sp and lr before saving callee
4672 saved registers. Add setjmp SystemTap probe point.
4674 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4676 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4678 2014-02-24 Andreas Schwab <schwab@suse.de>
4681 * elf/pldd.c (wait_for_ptrace_stop): New function.
4682 (main): Call it after attaching.
4684 2014-02-22 Roland McGrath <roland@hack.frob.com>
4686 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4687 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4688 Versions files is now verboten.
4689 * hurd/Versions (libc: GLIBC_2.0):
4690 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4691 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4692 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4693 * mach/Versions: Likewise.
4695 * csu/Versions: Remove unused %include.
4696 * resolv/Versions: Likewise.
4698 2014-02-21 Joseph Myers <joseph@codesourcery.com>
4700 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4701 ($(objpfx)check-local-headers.out): Likewise.
4702 ($(objpfx)begin-end-check.out): Likewise.
4703 * Makerules (check-abi-%.out): Likewise.
4704 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4705 ($(objpfx)test2.cat): Likewise.
4706 ($(objpfx)de/libc.cat): Likewise.
4707 ($(objpfx)test-gencat.out): Likewise.
4708 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4709 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4710 ($(objpfx)noload-mem): Likewise.
4711 ($(objpfx)tst-pathopt.out): Likewise.
4712 ($(objpfx)tst-rtld-load-self.out): Likewise.
4713 ($(objpfx)tst-array1-cmp.out): Likewise.
4714 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4715 ($(objpfx)tst-array2-cmp.out): Likewise.
4716 ($(objpfx)tst-array3-cmp.out): Likewise.
4717 ($(objpfx)tst-array4-cmp.out): Likewise.
4718 ($(objpfx)tst-array5-cmp.out): Likewise.
4719 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4720 ($(objpfx)check-textrel.out): Likewise.
4721 ($(objpfx)check-execstack.out): Likewise.
4722 ($(objpfx)check-localplt.out): Likewise.
4723 ($(objpfx)order2-cmp.out): Likewise.
4724 ($(objpfx)tst-leaks1-mem): Likewise.
4725 ($(objpfx)tst-leaks1-static-mem): Likewise.
4726 ($(objpfx)tst-initorder-cmp.out): Likewise.
4727 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4728 ($(objpfx)tst-unused-dep.out): Likewise.
4729 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4730 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4731 * iconv/Makefile (test-iconvconfig): Likewise.
4732 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4733 ($(objpfx)iconv-test.out): Likewise.
4734 ($(objpfx)tst-tables.out): Likewise.
4735 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4736 ($(objpfx)tst-gettext.out): Likewise.
4737 ($(objpfx)tst-translit.out): Likewise.
4738 ($(objpfx)tst-gettext2.out): Likewise.
4739 ($(objpfx)tst-gettext4.out): Likewise.
4740 ($(objpfx)tst-gettext6.out): Likewise.
4741 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4742 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4743 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4744 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4745 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4746 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4747 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4748 ($(objpfx)wordexp-tst.out): Likewise.
4749 ($(objpfx)annexc.out): Likewise.
4750 ($(objpfx)tst-fnmatch-mem): Likewise.
4751 ($(objpfx)bug-regex2-mem): Likewise.
4752 ($(objpfx)bug-regex14-mem): Likewise.
4753 ($(objpfx)bug-regex21-mem): Likewise.
4754 ($(objpfx)bug-regex31-mem): Likewise.
4755 ($(objpfx)tst-vfork3-mem): Likewise.
4756 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4757 ($(objpfx)tst-pcre-mem): Likewise.
4758 ($(objpfx)tst-boost-mem): Likewise.
4759 ($(objpfx)tst-getconf.out): Likewise.
4760 ($(objpfx)bug-ga2-mem): Likewise.
4761 ($(objpfx)bug-glob2-mem): Likewise.
4762 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4763 ($(objpfx)mtrace-tst-leaks2): Likewise.
4764 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4765 ($(objpfx)tst-printf.out): Likewise.
4766 ($(objpfx)tst-setvbuf1.out): Likewise.
4767 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4768 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4769 ($(objpfx)tst-fmtmsg.out): Likewise.
4770 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4771 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4773 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4774 * bits/sigaction.h [__USE_MISC]: Likewise.
4775 * bits/waitstatus.h: Update #endif comments.
4776 * ctype/ctype.h: Likewise.
4777 * dirent/dirent.h: Likewise.
4778 [__USE_MISC]: Remove redundant conditionals.
4779 * grp/grp.h: Update #endif comments.
4780 [__USE_GNU]: Remove redundant conditionals.
4781 [__USE_MISC]: Likewise.
4782 * inet/netinet/in.h [__USE_GNU]: Likewise.
4783 * io/sys/stat.h [__USE_MISC]: Likewise.
4784 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4785 * libio/bits/stdio.h: Update #endif comments.
4786 [__USE_MISC]: Remove redundant conditionals.
4787 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4788 * libio/stdio.h: Update #endif comments.
4789 [__USE_MISC]: Remove redundant conditionals.
4790 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4791 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4792 * math/math.h: Update #else and #endif comments.
4793 [__USE_MISC]: Remove redundant conditionals.
4794 * misc/sys/uio.h: Update #endif comments.
4795 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4796 * posix/glob.h [__USE_MISC]: Likewise.
4797 * posix/sys/types.h: Update #endif comments.
4798 [__USE_MISC]: Remove redundant conditionals.
4799 * posix/sys/wait.h: Update #endif comments.
4800 [__USE_MISC]: Remove redundant conditionals.
4801 * posix/unistd.h: Update #endif comments.
4802 [__USE_MISC]: Remove redundant conditionals.
4803 * pwd/pwd.h [__USE_GNU]: Likewise.
4804 [__USE_MISC]: Likewise.
4805 * resolv/netdb.h [__USE_GNU]: Likewise.
4806 * signal/signal.h: Update #endif comments.
4807 [__USE_MISC]: Remove redundant conditionals.
4808 * stdlib/stdlib.h: Update #else and #endif comments.
4809 [__USE_MISC]: Remove redundant conditionals.
4810 [__USE_GNU]: Likewise.
4811 * string/bits/string2.h [__USE_MISC]: Likewise.
4812 * string/string.h: Update #endif comments.
4813 [__USE_MISC]: Remove redundant conditionals.
4814 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4816 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4817 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4818 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4820 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4822 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4824 [__USE_MISC]: Remove redundant conditionals.
4825 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4826 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4827 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4828 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4829 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4831 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4832 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4834 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4835 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4837 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4839 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4840 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4842 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4844 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4845 * sysdeps/x86/bits/string.h: Update #endif comments.
4846 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4848 * time/sys/time.h: Update #endif comments.
4849 * time/time.h: Likewise.
4850 [__USE_MISC]: Remove redundant conditionals.
4852 2014-02-21 Yury Gribov <y.gribov@samsung.com>
4855 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4857 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4859 * Versions.def (librt): Add GLIBC_2.17.
4861 2014-02-21 Adam Conrad <adconrad@0c3.net>
4863 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4864 synonym for _SYS_AUXV_H to allow direct inclusion.
4865 * sysdeps/sparc/bits/hwcap.h: Likewise.
4866 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4867 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4868 * sysdeps/sparc/sysdep.h: Likewise.
4870 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4872 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4874 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4876 * benchtests/bench-strrchr.c: Print length instead of position.
4878 2014-02-20 Joseph Myers <joseph@codesourcery.com>
4881 * sysdeps/unix/sysv/linux/kernel-features.h
4882 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4883 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4884 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4885 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4887 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4888 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4889 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4890 (__ASSUME_SENDMMSG): Define instead of using previous
4891 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4892 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4893 (__ASSUME_SENDMMSG_SYSCALL): Define.
4894 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4895 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4897 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4898 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4900 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4901 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4903 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4904 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4905 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4906 [__ASSUME_SENDMMSG]: Change conditionals to
4907 [__ASSUME_SENDMMSG_SOCKETCALL].
4908 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4909 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4911 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4912 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4914 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4915 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4916 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4917 [!__ASSUME_SENDMMSG]: Change conditional to
4918 [!__ASSUME_SENDMMSG_SOCKETCALL].
4919 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4920 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4924 * sysdeps/unix/sysv/linux/kernel-features.h
4925 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4926 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4927 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4928 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4929 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4930 [__i386__ || __sparc__]
4931 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4932 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4933 (__ASSUME_RECVMMSG): Define instead of using previous
4934 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4935 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4936 (__ASSUME_RECVMMSG_SYSCALL): Define.
4937 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4938 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4940 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4941 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4943 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4944 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4946 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4947 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4948 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4949 [__ASSUME_RECVMMSG]: Change condition to
4950 [__ASSUME_RECVMMSG_SOCKETCALL].
4951 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4952 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4954 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4955 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4956 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4958 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4959 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4960 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4961 [!__ASSUME_RECVMMSG]: Change condition to
4962 [!__ASSUME_RECVMMSG_SOCKETCALL].
4963 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4964 (__ASSUME_RECVMMSG_SYSCALL): Define.
4967 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4968 __powerpc__ || __s390__ || __sh__ || __sparc__]
4969 (__ASSUME_SOCKETCALL): Define.
4970 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4971 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4972 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4973 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4974 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4975 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4976 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4977 (__ASSUME_ACCEPT4): Define instead of using previous
4978 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4979 __powerpc__ || __sparc__ || __s390__)] condition.
4980 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4981 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4982 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4983 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4984 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4985 [!__ASSUME_ACCEPT4]: Change condition to
4986 [!__ASSUME_ACCEPT4_SOCKETCALL].
4987 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4988 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4989 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4990 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4991 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4992 __ASSUME_ACCEPT4_SYSCALL.
4993 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4994 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4995 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4996 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4997 __ASSUME_ACCEPT4_SYSCALL.
4998 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4999 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5000 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5001 [__ASSUME_ACCEPT4]: Change condition to
5002 [__ASSUME_ACCEPT4_SOCKETCALL].
5003 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5004 (__ASSUME_SOCKETCALL): Define.
5005 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5006 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5007 (__ASSUME_SOCKETCALL): Define.
5008 (__ASSUME_ACCEPT4): Remove.
5009 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5011 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5012 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5014 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5015 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5017 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5019 (HWCAP_ARM_LPAE): Likewise.
5020 (HWCAP_ARM_EVTSTRM): Likewise.
5021 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5022 Add vpfd32, lpae and evtstrm.
5023 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5026 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5028 * math/auto-libm-test-in: Add tests of clog10.
5029 * math/auto-libm-test-out: Regenerated.
5030 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5031 * sysdeps/i386/fpu/libm-test-ulps: Update.
5032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5034 2014-02-18 Andreas Schwab <schwab@suse.de>
5037 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5038 Store non-zero if the second buffer was newly allocated.
5039 (send_dg): Likewise.
5040 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5041 to send_vc and send_dg.
5042 (res_nsend): Pass NULL for ansp2_malloced.
5043 * resolv/res_query.c (__libc_res_nquery): Add parameter
5044 answerp2_malloced and pass it down to __libc_res_nsend.
5045 (res_nquery): Pass additional NULL to __libc_res_nquery.
5046 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5047 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5048 second answer buffer if answerp2_malloced was set.
5049 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5050 (__libc_res_nquerydomain): Add parameter
5051 answerp2_malloced and pass it down to __libc_res_nquery.
5052 (res_nquerydomain): Pass additional NULL to
5053 __libc_res_nquerydomain.
5054 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5055 additional NULL to __libc_res_nsend and __libc_res_nquery.
5056 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5057 additional NULL to __libc_res_nsearch.
5058 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5059 parameter of __libc_res_nsearch to check for separately allocated
5061 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5063 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5064 additional NULL to __libc_res_nquery.
5065 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5067 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5068 * include/resolv.h: Update prototypes of __libc_res_nquery,
5069 __libc_res_nsearch, __libc_res_nsend.
5071 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5073 * math/auto-libm-test-in: Add tests of fma.
5074 * math/auto-libm-test-out: Regenerated.
5075 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5076 (fma_towardzero_test_data): Likewise.
5077 (fma_downward_test_data): Likewise.
5078 (fma_upward_test_data): Likewise.
5079 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5081 (rounding_modes): Add values for new field.
5082 (func_calc_method): Add value mpfr_fff_f.
5083 (func_calc_desc): Add mpfr_fff_f union field.
5084 (test_function): Add field exact_args.
5085 (FUNC): Add macro argument EXACT_ARGS.
5086 (FUNC_mpfr_f_f): Update call to FUNC.
5087 (FUNC_mpfr_f_f): Likewise.
5088 (FUNC_mpfr_ff_f): Likewise.
5089 (FUNC_mpfr_if_f): Likewise.
5090 (FUNC_mpc_c_f): Likewise.
5091 (FUNC_mpc_c_c): Likewise.
5092 (test_functions): Add fma. Update calls to FUNC.
5093 (handle_input_arg): Add argument exact_args.
5094 (add_test): Update call to handle_input_arg.
5095 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5096 (output_for_one_input_case): Update call to calc_generic_results.
5097 Recalculate exact zero results in each rounding mode.
5099 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5100 non-negative before setting low bit.
5101 * math/auto-libm-test-in: Mark one asin test possibly having
5103 * math/auto-libm-test-out: Regenerated.
5104 * sysdeps/i386/fpu/libm-test-ulps: Update.
5105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5107 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5109 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5110 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5111 ports/sysdeps/unix/sysv/linux/microblaze.
5112 * README: Add missing listing for microblaze*-*-linux-gnu.
5114 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5116 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5117 * sysdeps/unix/sysv/linux/ia64: Move directory from
5118 ports/sysdeps/unix/sysv/linux/ia64.
5119 * README: Update listing for ia64-*-linux-gnu.
5121 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5122 Joseph Myers <joseph@codesourcery.com>
5124 * Makeconfig (test-name): New variable.
5125 (evaluate-test): Likewise.
5126 * Makerules (do-test-clean): Remove .test-result files.
5127 (common-mostlyclean): Likewise.
5128 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5129 * scripts/evaluate-test.sh: New file.
5131 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5133 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5134 separate $(objpfx)tst-fopenloc-cmp.out and
5135 $(objpfx)tst-fopenloc-mem.out targets.
5136 (tests): Update dependencies.
5137 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5138 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5139 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5140 (tst-rxspencer-no-utf8-ARGS): New variable.
5141 (tst-rxspencer-no-utf8-ENV): Likewise.
5142 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5143 instead of $(objpfx)tst-rxspencer-mem.
5144 ($(objpfx)tst-rxspencer-mem): Change target to
5145 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5146 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5147 * posix/tst-rxspencer-no-utf8.c: New file.
5149 * elf/Makefile ($(objpfx)order.out): Remove rule.
5150 [$(run-built-tests) = yes] (tests): Depend on
5151 $(objpfx)order-cmp.out.
5152 ($(objpfx)order-cmp.out): New rule.
5153 [$(run-built-tests) = yes] (tests): Depend on
5154 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5155 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5156 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5157 $(objpfx)tst-array5-static-cmp.out.
5158 ($(objpfx)tst-array1.out): Remove rule.
5159 ($(objpfx)tst-array1-cmp.out): New rule.
5160 ($(objpfx)tst-array1-static.out): Remove rule.
5161 ($(objpfx)tst-array1-static-cmp.out): New rule.
5162 ($(objpfx)tst-array2.out): Remove rule.
5163 ($(objpfx)tst-array2-cmp.out): New rule.
5164 ($(objpfx)tst-array3.out): Remove rule.
5165 ($(objpfx)tst-array3-cmp.out): New rule.
5166 ($(objpfx)tst-array4.out): Remove rule.
5167 ($(objpfx)tst-array4-cmp.out): New rule.
5168 ($(objpfx)tst-array5.out): Remove rule.
5169 ($(objpfx)tst-array5-cmp.out): New rule.
5170 ($(objpfx)tst-array5-static.out): Remove rule.
5171 ($(objpfx)tst-array5-static-cmp.out): New rule.
5172 [$(run-built-tests) = yes] (tests): Depend on
5173 $(objpfx)order2-cmp.out.
5174 ($(objpfx)order2.out): Remove rule.
5175 ($(objpfx)order2-cmp.out): New rule.
5176 ($(objpfx)tst-initorder.out): Remove rule.
5177 [$(run-built-tests) = yes] (tests): Depend on
5178 $(objpfx)tst-initorder-cmp.out.
5179 ($(objpfx)tst-initorder-cmp.out): New rule.
5180 ($(objpfx)tst-initorder2.out): Remove rule.
5181 [$(run-built-tests) = yes] (tests): Depend on
5182 $(objpfx)tst-initorder2-cmp.out.
5183 ($(objpfx)tst-initorder2-cmp.out): New rule.
5184 [$(run-built-tests) = yes] (tests): Depend on
5185 $(objpfx)tst-unused-dep-cmp.out.
5186 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5187 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5188 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5189 on $(objpfx)tst-setvbuf1-cmp.out.
5190 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5191 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5192 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5193 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5194 ($(objpfx)tst-svc.out): Remove rule.
5195 ($(objpfx)tst-svc-cmp.out): New rule.
5197 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5199 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5200 * ctype/ctype.h [__USE_MISC]: Likewise.
5201 * dirent/dirent.h [__USE_MISC]: Likewise.
5202 * grp/grp.h [__USE_MISC]: Likewise.
5203 * io/fcntl.h [__USE_MISC]: Likewise.
5204 * io/sys/stat.h [__USE_MISC]: Likewise.
5205 * libio/stdio.h [__USE_MISC]: Likewise.
5206 * posix/unistd.h [__USE_MISC]: Likewise.
5207 * pwd/pwd.h [__USE_MISC]: Likewise.
5208 * stdlib.h [__USE_MISC]: Likewise.
5209 * string/bits/string2.h [__USE_MISC]: Likewise.
5210 * string/string.h [__USE_MISC]: Likewise.
5211 * time/time.h [__USE_MISC]: Likewise.
5213 2014-02-13 Andreas Schwab <schwab@suse.de>
5216 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5217 second answer buffer if it was separately allocated.
5219 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5221 * sysdeps/mips/math-tests.h: Include <features.h>.
5222 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5223 (ROUNDING_TESTS_long_double): Do not define.
5224 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5225 (EXCEPTION_TESTS_long_double): Likewise.
5226 * sysdeps/mips/mips64/libm-test-ulps: Update.
5228 * include/features.h (__USE_BSD): Remove macro definitions.
5229 (__USE_SVID): Likewise.
5230 (_BSD_SOURCE): Likewise.
5231 (_SVID_SOURCE): Likewise.
5232 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5233 from definition of _DEFAULT_SOURCE.
5234 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5236 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5237 * bits/mman.h [__USE_BSD]: Likewise.
5238 * bits/termios.h [__USE_BSD]: Likewise.
5239 * bits/waitstatus.h [__USE_BSD]: Likewise.
5240 * ctype/ctype.h [__USE_SVID]: Likewise.
5241 * dirent/dirent.h [__USE_BSD]: Likewise.
5242 * grp/grp.h [__USE_SVID]: Likewise.
5243 [__USE_BSD]: Likewise.
5244 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5245 * io/fcntl.h [__USE_BSD]: Likewise.
5246 * io/ftw.h [__USE_BSD]: Likewise.
5247 * io/sys/stat.h [__USE_BSD]: Likewise.
5248 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5249 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5250 * libio/stdio.h [__USE_SVID]: Likewise.
5251 [__USE_BSD]: Likewise.
5252 * math/math.h [__USE_SVID]: Likewise.
5253 [__USE_BSD]: Likewise.
5254 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5255 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5256 * misc/search.h [__USE_SVID]: Likewise.
5257 * misc/sys/mman.h [__USE_BSD]: Likewise.
5258 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5259 * misc/sys/uio.h [__USE_BSD]: Likewise.
5260 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5261 * posix/glob.h [__USE_BSD]: Likewise.
5262 * posix/regex.h [__USE_BSD]: Likewise.
5263 * posix/sys/types.h [__USE_BSD]: Likewise.
5264 [__USE_SVID]: Likewise.
5265 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5266 * posix/sys/wait.h [__USE_BSD]: Likewise.
5267 [__USE_SVID]: Likewise.
5268 * posix/unistd.h [__USE_BSD]: Likewise.
5269 [__USE_SVID]: Likewise.
5270 * pwd/pwd.h [__USE_SVID]: Likewise.
5271 * resolv/netdb.h [__USE_BSD]: Likewise.
5272 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5273 * signal/signal.h [__USE_BSD]: Likewise.
5274 [__USE_SVID]: Likewise.
5275 * socket/sys/socket.h [__USE_BSD]: Likewise.
5276 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5277 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5278 [__USE_SVID]: Likewise.
5279 * string/bits/string2.h [__USE_BSD]: Likewise.
5280 [__USE_SVID]: Likewise.
5281 * string/bits/string3.h [__USE_BSD]: Likewise.
5282 * string/endian.h [__USE_BSD]: Likewise.
5283 * string/string.h [__USE_SVID]: Likewise.
5284 [__USE_BSD]: Likewise.
5285 * string/strings.h [__USE_BSD]: Likewise.
5286 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5287 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5288 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5289 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5290 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5291 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5293 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5295 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5296 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5298 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5299 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5301 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5303 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5304 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5305 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5307 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5309 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5310 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5311 * termios/termios.h [__USE_BSD]: Likewise.
5312 * time/sys/time.h [__USE_BSD]: Likewise.
5313 * time/time.h [__USE_BSD]: Likewise.
5314 [__USE_SVID]: Likewise.
5316 * Makefile (subdir_targets): Remove subdir_lint.out.
5318 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5319 (do-tst-printf): Likewise.
5320 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5321 $(objpfx)tst-printf.out.
5323 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5325 * Makerules (check-abi-%): Change target to
5326 $(objpfx)check-abi-%.out.
5327 (check-abi target): Update dependencies.
5328 (check-abi-pattern variable): Redirect output of diff to $@.
5329 (check-abi variable): Likewise.
5330 * elf/Makefile (check-abi): Update dependencies.
5332 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5334 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5335 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5337 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5338 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5339 value has largest subnormal exponent.
5340 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5341 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5342 * sysdeps/aarch64/soft-fp/sfp-machine.h
5343 (_FP_TININESS_AFTER_ROUNDING): New macro.
5344 * sysdeps/alpha/soft-fp/sfp-machine.h
5345 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5346 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5348 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5349 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5350 * sysdeps/mips/soft-fp/sfp-machine.h
5351 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5352 * sysdeps/powerpc/soft-fp/sfp-machine.h
5353 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5354 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5356 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5357 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5358 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5359 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5360 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5363 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5366 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5369 2014-02-12 Richard Henderson <rth@redhat.com>
5371 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5372 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5373 * sysdeps/unix/sysv/linux/alpha: Move directory from
5374 ports/sysdeps/unix/sysv/linux/alpha.
5375 * README: Update listing for alpha-*-linux-gnu.
5377 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5379 * include/features.h: Update comment documenting feature test
5381 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5383 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5384 (_SVID_SOURCE): Likewise.
5385 (_DEFAULT_SOURCE): Update description of default features.
5386 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5388 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5389 (S_ISVTX): Likewise.
5390 * manual/math.texi (Mathematical Constants): Likewise.
5391 * manual/signal.texi (Interrupted Primitives): Likewise.
5392 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5393 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5394 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5395 Don't refer to _SVID_SOURCE in warning text.
5397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5399 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5401 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5402 * sysdeps/mips/dl-lookup.c: Remove.
5403 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5405 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5408 * math/auto-libm-test-in: Add testcase for expl.
5409 * math/auto-libm-test-out: Regenerate.
5410 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5411 calculation of unsafe.
5412 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5414 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5416 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5417 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5418 ports/sysdeps/unix/sysv/linux/aarch64.
5419 * README: Update listing for aarch64*-*-linux-gnu.
5421 2014-02-11 Will Newton <will.newton@linaro.org>
5423 * manual/probes.texi (Mathematical Function Probes): Use
5424 "triggered" instead of "hit".
5426 * manual/probes.texi (Internal Probes): Add documentation
5427 of setjmp, longjmp and longjmp_target probes.
5429 * include/stap-probe.h: Add comment about probe argument
5432 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5433 definition. (tr_where, tr_freehook, tr_mallochook,
5434 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5436 2014-02-11 David S. Miller <davem@davemloft.net>
5438 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5439 processing int_tests.
5441 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5443 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5444 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5445 * sysdeps/unix/sysv/linux/mips: Move directory from
5446 ports/sysdeps/unix/sysv/linux/mips.
5447 * README: Update listing for mips-*-linux-gnu and
5450 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5452 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5453 * sysdeps/unix/sysv/linux/m68k: Move directory from
5454 ports/sysdeps/unix/sysv/linux/m68k.
5455 * README: Update listing for m68k-*-linux-gnu.
5457 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5459 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5460 * sysdeps/unix/sysv/linux/generic: Move directory from
5461 ports/sysdeps/unix/sysv/linux/generic.
5462 * sysdeps/unix/sysv/linux/tile: Move directory from
5463 ports/sysdeps/unix/sysv/linux/tile.
5464 * README: Update listing for tile*-*-linux-gnu.
5466 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5468 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5470 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5471 * catgets/open_catalog.c (__open_catalog): Likewise.
5472 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5473 * debug/confstr_chk.c: Likewise.
5474 * debug/fread_chk.c (__fread_chk): Likewise.
5475 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5476 * debug/getgroups_chk.c: Likewise.
5477 * debug/mbsnrtowcs_chk.c: Likewise.
5478 * debug/mbsrtowcs_chk.c: Likewise.
5479 * debug/mbstowcs_chk.c: Likewise.
5480 * debug/memcpy_chk.c: Likewise.
5481 * debug/memmove_chk.c: Likewise.
5482 * debug/mempcpy_chk.c: Likewise.
5483 * debug/memset_chk.c: Likewise.
5484 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5485 * debug/strcat_chk.c (__strcat_chk): Likewise.
5486 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5487 * debug/strncat_chk.c (__strncat_chk): Likewise.
5488 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5489 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5490 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5491 * debug/wcpncpy_chk.c: Likewise.
5492 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5493 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5494 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5495 * debug/wcsncpy_chk.c: Likewise.
5496 * debug/wcsnrtombs_chk.c: Likewise.
5497 * debug/wcsrtombs_chk.c: Likewise.
5498 * debug/wcstombs_chk.c: Likewise.
5499 * debug/wmemcpy_chk.c: Likewise.
5500 * debug/wmemmove_chk.c: Likewise.
5501 * debug/wmempcpy_chk.c: Likewise.
5502 * debug/wmemset_chk.c: Likewise.
5503 * dirent/scandirat.c (SCANDIRAT): Likewise.
5504 * dlfcn/dladdr1.c (dladdr1): Likewise.
5505 * dlfcn/dladdr.c (dladdr): Likewise.
5506 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5507 * dlfcn/dlerror.c (__dlerror): Likewise.
5508 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5509 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5510 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5511 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5512 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5513 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5514 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5515 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5517 * elf/dl-conflict.c: Likewise.
5518 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5519 * elf/dl-dst.h: Likewise.
5520 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5521 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5522 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5523 * elf/dl-init.c (call_init, _dl_init): Likewise.
5524 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5525 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5526 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5528 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5530 * elf/dl-minimal.c (__libc_memalign): Likewise.
5531 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5532 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5533 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5534 * elf/dl-sym.c (do_sym): Likewise.
5535 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5536 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5537 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5538 * elf/dl-writev.h (_dl_writev): Likewise.
5539 * elf/ldconfig.c (search_dir): Likewise.
5540 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5541 (dl_main): Likewise.
5542 * elf/setup-vdso.h (setup_vdso): Likewise.
5543 * grp/compat-initgroups.c (compat_call): Likewise.
5544 * grp/fgetgrent.c (fgetgrent): Likewise.
5545 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5546 * grp/putgrent.c (putgrent): Likewise.
5547 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5549 * hurd/hurdinit.c: Likewise.
5550 * iconvdata/8bit-gap.c (struct): Likewise.
5551 * iconvdata/ansi_x3.110.c : Likewise.
5552 * iconvdata/big5.c : Likewise.
5553 * iconvdata/big5hkscs.c : Likewise.
5554 * iconvdata/cp1255.c: Likewise.
5555 * iconvdata/cp1258.c : Likewise.
5556 * iconvdata/cp932.c : Likewise.
5557 * iconvdata/euc-cn.c: Likewise.
5558 * iconvdata/euc-jisx0213.c : Likewise.
5559 * iconvdata/euc-jp.c: Likewise.
5560 * iconvdata/euc-jp-ms.c : Likewise.
5561 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5562 * iconvdata/gb18030.c : Likewise.
5563 * iconvdata/gbbig5.c (const): Likewise.
5564 * iconvdata/gbgbk.c: Likewise.
5565 * iconvdata/gbk.c : Likewise.
5566 * iconvdata/ibm1364.c : Likewise.
5567 * iconvdata/ibm930.c : Likewise.
5568 * iconvdata/ibm932.c: Likewise.
5569 * iconvdata/ibm933.c : Likewise.
5570 * iconvdata/ibm935.c : Likewise.
5571 * iconvdata/ibm937.c : Likewise.
5572 * iconvdata/ibm939.c : Likewise.
5573 * iconvdata/ibm943.c: Likewise.
5574 * iconvdata/iso_11548-1.c: Likewise.
5575 * iconvdata/iso-2022-cn.c : Likewise.
5576 * iconvdata/iso-2022-cn-ext.c : Likewise.
5577 * iconvdata/iso-2022-jp-3.c: Likewise.
5578 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5579 * iconvdata/iso-2022-kr.c : Likewise.
5580 * iconvdata/iso646.c (gconv_end): Likewise.
5581 * iconvdata/iso_6937-2.c : Likewise.
5582 * iconvdata/iso_6937.c : Likewise.
5583 * iconvdata/iso8859-1.c: Likewise.
5584 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5585 * iconvdata/shift_jisx0213.c : Likewise.
5586 * iconvdata/sjis.c : Likewise.
5587 * iconvdata/t.61.c : Likewise.
5588 * iconvdata/tcvn5712-1.c : Likewise.
5589 * iconvdata/tscii.c: Likewise.
5590 * iconvdata/uhc.c : Likewise.
5591 * iconvdata/unicode.c (gconv_end): Likewise.
5592 * iconvdata/utf-16.c (gconv_end): Likewise.
5593 * iconvdata/utf-32.c (gconv_end): Likewise.
5594 * iconvdata/utf-7.c (base64): Likewise.
5595 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5596 * iconv/gconv_close.c (__gconv_close): Likewise.
5597 * iconv/gconv_open.c (__gconv_open): Likewise.
5598 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5599 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5600 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5601 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5602 (ucs4le_internal_loop_single): Likewise.
5603 * iconv/iconv.c (iconv): Likewise.
5604 * iconv/iconv_close.c: Likewise.
5605 * iconv/loop.c (SINGLE): Likewise.
5606 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5607 * include/atomic.h: Likewise.
5608 * inet/inet6_option.c (option_alloc): Likewise.
5609 * intl/bindtextdom.c (set_binding_values): Likewise.
5610 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5611 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5612 * intl/localealias.c (read_alias_file): Likewise.
5613 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5614 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5615 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5616 * libio/fmemopen.c (fmemopen): Likewise.
5617 * libio/iofgets.c (_IO_fgets): Likewise.
5618 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5619 * libio/iofgetws.c (fgetws): Likewise.
5620 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5621 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5622 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5623 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5624 * locale/findlocale.c (_nl_find_locale): Likewise.
5625 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5626 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5628 * locale/setlocale.c (setlocale): Likewise.
5629 * login/programs/pt_chown.c (main): Likewise.
5630 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5631 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5632 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5633 (mmap, mmap64, mremap, munmap): Likewise.
5634 * math/e_exp2l.c: Likewise.
5635 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5636 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5637 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5638 * math/s_catan.c (__catan): Likewise.
5639 * math/s_catanf.c (__catanf): Likewise.
5640 * math/s_catanh.c (__catanh): Likewise.
5641 * math/s_catanhf.c (__catanhf): Likewise.
5642 * math/s_catanhl.c (__catanhl): Likewise.
5643 * math/s_catanl.c (__catanl): Likewise.
5644 * math/s_ccosh.c (__ccosh): Likewise.
5645 * math/s_ccoshf.c (__ccoshf): Likewise.
5646 * math/s_ccoshl.c (__ccoshl): Likewise.
5647 * math/s_cexp.c (__cexp): Likewise.
5648 * math/s_cexpf.c (__cexpf): Likewise.
5649 * math/s_cexpl.c (__cexpl): Likewise.
5650 * math/s_clog10.c (__clog10): Likewise.
5651 * math/s_clog10f.c (__clog10f): Likewise.
5652 * math/s_clog10l.c (__clog10l): Likewise.
5653 * math/s_clog.c (__clog): Likewise.
5654 * math/s_clogf.c (__clogf): Likewise.
5655 * math/s_clogl.c (__clogl): Likewise.
5656 * math/s_csin.c (__csin): Likewise.
5657 * math/s_csinf.c (__csinf): Likewise.
5658 * math/s_csinh.c (__csinh): Likewise.
5659 * math/s_csinhf.c (__csinhf): Likewise.
5660 * math/s_csinhl.c (__csinhl): Likewise.
5661 * math/s_csinl.c (__csinl): Likewise.
5662 * math/s_csqrt.c (__csqrt): Likewise.
5663 * math/s_csqrtf.c (__csqrtf): Likewise.
5664 * math/s_csqrtl.c (__csqrtl): Likewise.
5665 * math/s_ctan.c (__ctan): Likewise.
5666 * math/s_ctanf.c (__ctanf): Likewise.
5667 * math/s_ctanh.c (__ctanh): Likewise.
5668 * math/s_ctanhf.c (__ctanhf): Likewise.
5669 * math/s_ctanhl.c (__ctanhl): Likewise.
5670 * math/s_ctanl.c (__ctanl): Likewise.
5671 * math/w_pow.c: Likewise.
5672 * math/w_powf.c: Likewise.
5673 * math/w_powl.c: Likewise.
5674 * math/w_scalb.c (sysv_scalb): Likewise.
5675 * math/w_scalbf.c (sysv_scalbf): Likewise.
5676 * math/w_scalbl.c (sysv_scalbl): Likewise.
5677 * misc/error.c (error_tail): Likewise.
5678 * misc/pselect.c (__pselect): Likewise.
5679 * nis/nis_callback.c (__nis_create_callback): Likewise.
5680 * nis/nis_call.c (__nisfind_server): Likewise.
5681 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5682 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5683 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5684 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5685 * nis/nis_lookup.c (nis_lookup): Likewise.
5686 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5687 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5688 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5689 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5690 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5691 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5692 * nis/nss_compat/compat-initgroups.c (add_group)
5693 (internal_getgrent_r): Likewise.
5694 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5695 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5696 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5697 (internal_getspnam_r): Likewise.
5698 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5699 (_nss_nis_getaliasbyname_r): Likewise.
5700 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5701 (_nss_nis_getntohost_r): Likewise.
5702 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5703 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5704 (_nss_nis_getgrgid_r): Likewise.
5705 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5706 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5707 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5708 (_nss_nis_gethostbyname4_r): Likewise.
5709 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5710 (initgroups_netid): Likewise.
5711 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5712 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5713 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5714 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5715 (_nss_nis_getprotobynumber_r): Likewise.
5716 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5717 (_nss_nis_getsecretkey): Likewise.
5718 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5719 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5720 (_nss_nis_getpwuid_r): Likewise.
5721 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5722 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5723 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5724 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5725 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5726 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5727 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5729 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5730 (_nss_nisplus_getntohost_r): Likewise.
5731 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5732 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5733 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5734 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5736 * nis/nss_nisplus/nisplus-initgroups.c
5737 (_nss_nisplus_initgroups_dyn): Likewise.
5738 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5739 (_nss_nisplus_getnetbyaddr_r): Likewise.
5740 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5741 (_nss_nisplus_getprotobynumber_r): Likewise.
5742 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5743 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5744 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5746 * nis/nss_nisplus/nisplus-service.c
5747 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5748 (_nss_nisplus_getservbyport_r): Likewise.
5749 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5750 (_nss_nisplus_getspnam_r): Likewise.
5751 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5753 * nscd/aicache.c (addhstaiX): Likewise.
5754 * nscd/cache.c (cache_search, prune_cache): Likewise.
5755 * nscd/connections.c (register_traced_file, send_ro_fd)
5756 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5757 (main_loop_epoll): Likewise.
5758 * nscd/grpcache.c (addgrbyX): Likewise.
5759 * nscd/hstcache.c (addhstbyX): Likewise.
5760 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5761 * nscd/mem.c (gc, mempool_alloc): Likewise.
5762 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5763 (addinnetgrX): Likewise.
5764 * nscd/nscd-client.h (__nscd_acquire_maplock)
5765 (__nscd_drop_map_ref): Likewise.
5766 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5767 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5768 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5770 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5771 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5772 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5773 (__nscd_get_map_ref): Likewise.
5774 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5775 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5777 * nscd/pwdcache.c (addpwbyX): Likewise.
5778 * nscd/selinux.c (preserve_capabilities): Likewise.
5779 * nscd/servicescache.c (addservbyX): Likewise.
5780 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5781 * posix/fnmatch.c (fnmatch): Likewise.
5782 * posix/getopt.c (_getopt_internal_r): Likewise.
5783 * posix/glob.c (glob, glob_in_dir): Likewise.
5784 * posix/wordexp.c (exec_comm_child): Likewise.
5785 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5786 (getanswer_r, gaih_getanswer_slice): Likewise.
5787 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5788 * resolv/res_init.c: Likewise.
5789 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5790 * resolv/res_query.c (__libc_res_nquery): Likewise.
5791 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5793 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5794 * stdio-common/perror.c (perror): Likewise.
5795 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5796 * stdio-common/tmpnam.c (tmpnam): Likewise.
5797 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5798 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5799 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5801 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5802 * stdlib/putenv.c (putenv): Likewise.
5803 * stdlib/setenv.c (__add_to_environ): Likewise.
5804 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5805 * stdlib/strtol_l.c (INTERNAL): Likewise.
5806 * string/memmem.c (memmem): Likewise.
5807 * string/strerror.c (strerror): Likewise.
5808 * string/strnlen.c (__strnlen): Likewise.
5809 * string/test-memmem.c (simple_memmem): Likewise.
5810 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5811 * sunrpc/pm_getport.c (__get_socket): Likewise.
5812 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5813 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5814 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5815 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5817 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5818 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5819 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5820 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5821 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5822 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5824 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5826 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5827 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5828 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5829 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5830 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5832 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5833 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5834 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5835 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5836 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5837 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5839 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5841 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5843 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5845 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5846 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5847 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5848 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5849 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5850 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5852 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5853 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5854 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5855 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5856 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5858 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5860 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5862 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5864 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5866 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5868 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5870 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5871 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5872 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5873 * sysdeps/posix/sleep.c: Likewise.
5874 * sysdeps/posix/tempname.c: Likewise.
5875 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5876 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5878 * sysdeps/powerpc/powerpc32/dl-machine.h
5879 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5880 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5881 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5882 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5883 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5885 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5886 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5887 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5888 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5889 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5890 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5891 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5892 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5893 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5894 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5895 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5896 (elf_machine_lazy_rel): Likewise.
5897 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5898 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5899 (elf_machine_lazy_rel): Likewise.
5900 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5901 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5902 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5903 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5904 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5905 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5906 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5909 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5910 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5911 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5912 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5913 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5914 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5915 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5916 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5917 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5918 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5919 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5921 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5922 (__posix_fallocate64_l64): Likewise.
5923 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5924 (posix_fallocate): Likewise.
5925 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5927 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5928 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5929 (getifaddrs_internal): Likewise.
5930 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5931 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5932 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5933 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5934 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5935 (__posix_fallocate64_l64): Likewise.
5936 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5938 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5939 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5940 (__get_clockfreq): Likewise.
5941 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5942 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5943 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5945 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5946 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5947 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5948 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5950 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5951 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5952 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5953 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5954 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5955 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5956 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5958 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5959 (posix_fallocate): Likewise.
5960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5961 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5962 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5963 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5964 (elf_machine_rela, elf_machine_rela_relative)
5965 (elf_machine_lazy_rel): Likewise.
5966 * time/asctime.c (asctime_internal): Likewise.
5967 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5968 * time/tzset.c (__tzset_parse_tz): Likewise.
5969 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5970 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5971 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5972 * wcsmbs/wcsmbsload.h: Likewise.
5975 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5977 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5978 (arena_get2): Remove THREAD_STATS conditionals.
5979 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5980 (__malloc_stats, int): Likewise.
5982 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5984 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5985 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5987 * manual/setjmp.texi: Fix typos/grammar errors.
5989 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5990 Only return early when n is <= 0. Delete unused return statement.
5992 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5993 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5994 * debug/tst-longjmp_chk3.c: New file.
5996 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5997 (test_main): Replace code with set_fortify_handler call.
5998 * debug/test-strcpy_chk.c: Likewise.
5999 * debug/tst-chk1.c: Likewise.
6000 * debug/tst-longjmp_chk.c: Likewise.
6001 * test-skeleton.c: Include fcntl.h & paths.h
6002 (set_fortify_handler): Define.
6004 * debug/tst-longjmp_chk.c: Add header comment and include
6006 (do_test): Mark static.
6007 (TEST_FUNCTION): Define.
6009 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6010 (IP_PMTUDISC_INTERFACE): Likewise.
6011 (IP_MULTICAST_IF): Likewise.
6012 (IP_MULTICAST_TTL): Likewise.
6013 (IP_MULTICAST_LOOP): Likewise.
6014 (IP_ADD_MEMBERSHIP): Likewise.
6015 (IP_DROP_MEMBERSHIP): Likewise.
6016 (IP_UNBLOCK_SOURCE): Likewise.
6017 (IP_BLOCK_SOURCE): Likewise.
6018 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6019 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6020 (IP_MSFILTER): Likewise.
6021 (MCAST_JOIN_GROUP): Likewise.
6022 (MCAST_BLOCK_SOURCE): Likewise.
6023 (MCAST_UNBLOCK_SOURCE): Likewise.
6024 (MCAST_LEAVE_GROUP): Likewise.
6025 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6026 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6027 (MCAST_MSFILTER): Likewise.
6028 (IP_MULTICAST_ALL): Likewise.
6029 (IP_UNICAST_IF): Likewise.
6031 * timezone/Makefile: Delete $(have-ksh) check.
6032 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6033 * timezone/tzselect.ksh: Add +x mode bits.
6035 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6036 (ANON_INODE_FS_MAGIC): Likewise.
6037 (BDEVFS_MAGIC): Likewise.
6038 (BINFMTFS_MAGIC): Likewise.
6039 (BTRFS_TEST_MAGIC): Likewise.
6040 (CRAMFS_MAGIC_WEND): Likewise.
6041 (DEBUGFS_MAGIC): Likewise.
6042 (ECRYPTFS_SUPER_MAGIC): Likewise.
6043 (EXT3_SUPER_MAGIC): Likewise.
6044 (EXT4_SUPER_MAGIC): Likewise.
6045 (FUTEXFS_SUPER_MAGIC): Likewise.
6046 (HOSTFS_SUPER_MAGIC): Likewise.
6047 (HUGETLBFS_MAGIC): Likewise.
6048 (MINIX3_SUPER_MAGIC): Likewise.
6049 (MTD_INODE_FS_MAGIC): Likewise.
6050 (NILFS_SUPER_MAGIC): Likewise.
6051 (OPENPROM_SUPER_MAGIC): Likewise.
6052 (PIPEFS_MAGIC): Likewise.
6053 (PSTOREFS_MAGIC): Likewise.
6054 (QNX6_SUPER_MAGIC): Likewise.
6055 (RAMFS_MAGIC): Likewise.
6056 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6057 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6058 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6059 (SECURITYFS_MAGIC): Likewise.
6060 (SELINUX_MAGIC): Likewise.
6061 (SMACK_MAGIC): Likewise.
6062 (SOCKFS_MAGIC): Likewise.
6063 (SQUASHFS_MAGIC): Likewise.
6064 (STACK_END_MAGIC): Likewise.
6065 (TMPFS_MAGIC): Likewise.
6066 (USBDEVICE_SUPER_MAGIC): Likewise.
6067 (V9FS_MAGIC): Likewise.
6068 (XENFS_SUPER_MAGIC): Likewise.
6069 (CRAMFS_MAGIC): Fix typo in comment.
6070 (EXT2_SUPER_MAGIC): Update comment.
6071 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6073 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6075 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6076 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6077 * sysdeps/unix/sysv/linux/arm: Move directory from
6078 ports/sysdeps/unix/sysv/linux/arm.
6079 * README: Update listing for arm-*-linux-gnueabi.
6081 * README: Remove mention of am33.
6083 2014-02-07 Roland McGrath <roland@hack.frob.com>
6085 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6086 than the comma operator, to avoid "rhs of comma has no effect"
6088 (__sigfillset, __sigandset, __sigorset): Likewise.
6089 * include/signal.h (__sigemptyset): Likewise.
6090 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6092 2014-02-07 Allan McRae <allan@archlinux.org>
6094 * version.h (RELEASE): Set to "development".
6095 (VERSION): Set to "2.19.90"
6096 * NEWS: Add 2.20 section.
6098 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6101 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6103 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6105 * manual/contrib.texi: Update entry for Carlos O'Donell,
6106 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6108 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6110 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6112 * sysdeps/unix/sysv/linux/kernel-features.h
6113 [__LINUX_KERNEL_VERSION >= 0x020621]
6114 (__ASSUME_PROC_PID_TASK_COMM): Define.
6116 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6119 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6120 conversion when destination buffer does not have enough space.
6121 * libio/tst-ftell-partial-wide.c: New test case.
6122 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6124 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6125 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6126 Leonard and Allan McRae.
6128 2014-02-04 David S. Miller <davem@davemloft.net>
6130 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6133 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6162 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6164 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6165 * shlib-versions: Likewise.
6167 2014-02-04 Roland McGrath <roland@hack.frob.com>
6168 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6170 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6171 (abilist-pattern): New variable, set to %-le.abilist.
6173 * Makerules (abilist-pattern): New variable.
6174 (vpath): Use $(abilist-pattern) in place of %.abilist.
6175 (check-abi-% pattern rule): Likewise.
6176 (check-abi, update-abi): Likewise.
6178 2014-02-04 Eric Wong <normalperson@yhbt.net>
6180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6182 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6184 * manual/startup.texi: Add next, previous, and top entries for
6185 the `Program Arguments' and `Environment Variables' nodes.
6187 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6189 * manual/macros.texi: Add comments before MTASC-safety macros.
6191 * manual/users.texi: Document MTASC-safety properties.
6193 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6194 (pthread_getspecific, pthread_setspecific): Format with
6195 @deftypefun, and add @safety note.
6196 * manual/signal.texi: Move comments that analyze the above
6197 functions to their home place.
6199 2014-02-03 Allan McRae <allan@archlinux.org>
6201 * po/sl.po: Update Slovenian translation from translation project.
6203 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6205 * manual/time.texi (timegm): Add missing blank after @c.
6206 Reported by Joseph Myers <joseph@codesourcery.com>.
6208 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6210 * manual/check-safety.sh: New.
6211 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6213 * manual/terminal.texi: Document MTASC-safety properties.
6215 * manual/filesys.texi: Document MTASC-safety properties.
6217 * manual/errno.texi: Document MTASC-safety properties.
6219 * manual/intro.texi: Document safety identifiers and
6222 * manual/string.texi (wcstok): Fix prototype.
6223 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6225 * manual/time.texi: Document MTASC-safety properties.
6227 * manual/string.texi: Document MTASC-safety properties.
6229 * manual/threads.texi: Document MTASC-safety properties.
6231 * manual/stdio.texi: Document MTASC-safety properties.
6233 * manual/syslog.texi: Document MTASC-safety properties.
6235 * manual/sysinfo.texi: Document MTASC-safety properties.
6237 * manual/startup.texi: Document MTASC-safety properties.
6239 * manual/socket.texi: Document MTASC-safety properties.
6241 * manual/signal.texi: Document MTASC-safety properties.
6243 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6245 * manual/setjmp.texi: Document MTASC-safety properties.
6247 * manual/search.texi: Document MTASC-safety properties.
6249 * manual/resource.texi: Document MTASC-safety properties.
6251 * manual/process.texi: Document MTASC-safety properties.
6253 * manual/platform.texi: Document MTASC-safety properties.
6255 * manual/pipe.texi: Document MTASC-safety properties.
6257 * manual/pattern.texi: Document MTASC-safety properties.
6259 * manual/message.texi: Document MTASC-safety properties.
6262 * manual/memory.texi: Document MTASC-safety properties.
6264 * manual/math.texi: Document MTASC-safety properties.
6266 * manual/locale.texi: Document MTASC-safety properties.
6268 * manual/llio.texi: Document MTASC-safety properties.
6270 * manual/libdl.texi: New.
6272 * manual/lang.texi: Document MTASC-safety properties.
6274 * manual/job.texi: Document MTASC-safety properties.
6276 * manual/getopt.texi: Document MTASC-safety properties.
6278 * manual/ctype.texi: Document MTASC-safety properties.
6280 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6283 * csu/libc-tls.c (static_map): Remove variable.
6284 (__libc_setup_tls): Use main executable's link map for TLS data.
6285 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6286 casing for LM_ID_BASE and GL(dl_nns).
6287 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6288 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6289 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6290 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6291 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6293 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6296 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6298 * manual/debug.texi: Document MTASC-safety properties.
6300 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6303 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6304 of __x86_64__ when disabling x87 inline functions.
6306 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6308 * manual/charset.texi: Document MTASC-safety properties.
6310 * manual/crypt.texi: Document MTASC-safety properties.
6312 * manual/conf.texi: Document MTASC-safety properties.
6314 * manual/arith.texi: Document MTASC-safety properties.
6316 * manual/argp.texi: Document MTASC-safety properties.
6318 * manual/macros.texi: Introduce macros to document multi
6319 thread, asynchronous signal and asynchronous cancellation
6321 * manual/intro.texi: Introduce the properties themselves.
6323 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6325 * sysdeps/sh/sh4/Makefile: New file.
6327 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6329 * math/gen-libm-test.pl ($srcdir): New variable.
6330 ($auto_input): Use it.
6332 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6335 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6336 access beyond array bounds when parsing netgroups file.
6338 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6339 the old buffer before realloc.
6341 2014-01-27 Allan McRae <allan@archlinux.org>
6343 * po/fr.po: Update French translation from translation project.
6345 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6347 * sysdeps/sh/libm-test-ulps: Regenerate.
6349 2014-01-24 David S. Miller <davem@davemloft.net>
6351 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6353 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6355 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6356 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6358 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6361 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6362 string pointers after reallocation.
6364 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6366 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6367 __SH4A__ instead of __SH_FPU_ANY__.
6369 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6371 * sysdeps/sh/fpu_control.h: New file.
6372 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6373 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6374 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6375 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6376 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6377 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6378 * sysdeps/sh/sys/ucontext.h: Remove.
6379 * sysdeps/sh/sys: Remove directory.
6381 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6383 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6384 s390/sys/ucontext.h.
6385 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6386 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6388 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6391 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6393 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6397 Adjust the vDSO correctly for internal calls.
6398 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6400 2014-01-20 Allan McRae <allan@archlinux.org>
6402 * po/ca.po: Update Catalan translation from translation project.
6404 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6406 * sysdeps/s390/sotruss-lib.c: New file.
6408 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6411 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6412 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6413 local calls issues by not having a PLT stub required for IFUNC calls.
6414 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6416 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6418 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6419 * math/test-fpucw-static.c: Likewise.
6421 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6424 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6426 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6428 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6429 implementation for powerpc.
6431 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6434 * sysdeps/posix/system.c (__libc_system): Do not enable
6435 asynchronous cancellation.
6437 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6440 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6441 handling only for numbers special also in the IEEE case.
6443 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6445 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6447 2014-01-11 Allan McRae <allan@archlinux.org>
6449 * po/bg.po: Update Bulgarian translation from translation project.
6451 * po/de.po: Update German translation from translation project.
6453 2014-01-10 Roland McGrath <roland@hack.frob.com>
6455 * sysdeps/generic/gcc-compat.h: New file.
6457 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6459 * benchtests/asin-inputs: Correct slow inputs.
6460 * benchtests/acos-inputs: Likewise.
6462 2014-01-10 Allan McRae <allan@archlinux.org>
6464 * po:sv.po: Update Swedish translation from translation project.
6466 * po/vi.po: Update Vietnamese translation from translation project.
6468 * po/eo.po: Update Esperanto translation from translation project.
6470 * po/cs.po: Update Czech translation from translation project.
6472 * po/nl.po: Update Dutch translation from translation project.
6474 * po/pl.po: Update Polish translation from translation project.
6476 * po/ru.po: Update Russian translation from translation project.
6478 * po/uk.po: Update Ukrainian translation from translation project.
6480 2014-01-08 Brooks Moses <bmoses@google.com>
6482 * elf/dl-load.c: Fix comment typo.
6484 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6486 * po/header.pot: Rename to...
6487 * po/pot.header: ... this.
6488 * po/Makefile: Use pot.header.
6490 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6491 Maxim Kuvyrkov <maxim@kugelworks.com>
6494 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6495 SRC and DEST against LEN.
6497 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6500 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6502 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6504 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6508 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6511 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6512 for large positive arguments.
6514 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6516 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6518 * math/auto-libm-test-in: Mark various tests with
6519 xfail-rounding:ldbl-128ibm.
6520 * math/auto-libm-test-out: Regenerated.
6523 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6524 Increase overflow threshold.
6526 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6529 * stdio-common/vfprintf.c: Check for integer overflow.
6531 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6533 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6534 the first argument and return value of __tls_get_addr_internal.
6536 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6538 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6539 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6541 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6543 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6544 * sysdeps/s390/rtld-global-offsets.sym: New file.
6545 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6547 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6548 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6549 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6551 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6552 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6558 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6559 halfs of GPRs for high_gprs contexts.
6560 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6561 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6563 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6565 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6567 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6568 for high GPRs (uc_high_gprs) and for future extensions
6570 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6571 for future extensions (__reserved).
6572 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6574 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6575 SC_HIGHGPRS offset definition.
6576 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6577 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6579 * Versions.def: Add GLIBC_2.19 for libpthread.
6580 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6581 siglongjmp for libpthread with GLIBC_2.19 symver.
6582 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6583 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6584 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6585 * sysdeps/s390/__longjmp.c: New file.
6586 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6587 * sysdeps/s390/longjmp.c: New file.
6588 * sysdeps/s390/setjmp.S: New file.
6589 * sysdeps/s390/sigjmp.S: New file.
6590 * sysdeps/s390/v1-longjmp.c: New file.
6591 * sysdeps/s390/v1-setjmp.h: New file.
6592 * sysdeps/s390/v1-sigjmp.c: New file.
6593 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6594 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6596 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6597 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6598 versioned symbols for ____longjmp_chk.
6599 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6609 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6610 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6611 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6612 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6613 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6614 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6615 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6616 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6617 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6618 * sysdeps/s390/rtld-__longjmp.c: New file.
6619 * sysdeps/s390/rtld-setjmp.S: New file.
6621 2014-01-06 Joseph Myers <joseph@codesourcery.com>
6624 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6625 Return -__logl (x) for small positive arguments without evaluating
6628 2014-01-06 Mike Frysinger <vapier@gentoo.org>
6630 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6632 (__ptrace_peeksiginfo_args): ... this.
6633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6635 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6637 2014-01-06 Allan McRae <allan@archlinux.org>
6639 * inet/netinet/in.h: Fix typo in comment.
6641 2014-01-05 Andreas Jaeger <aj@suse.de>
6643 * sysdeps/i386/fpu/libm-test-ulps: Update.
6645 2014-01-05 Allan McRae <allan@archlinux.org>
6647 * po/libc.pot: Regenerated.
6649 * malloc/memusagestat.c: Fix gettext call formatting.
6651 2014-01-04 Sami Kerola <kerolasa@iki.fi>
6653 * nscd/nscd.c: Improve usage() output.
6655 2014-01-04 Mike Frysinger <vapier@gentoo.org>
6657 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6658 * sysdeps/unix/sysv/linux/configure: Regenerated.
6659 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6660 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6662 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6665 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6666 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6668 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6670 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6671 extra tokens at end of #undef directive.
6672 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6673 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6674 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6676 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6678 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6680 * math/auto-libm-test-in: Mark various tests with
6681 xfail-rounding:ldbl-128ibm.
6682 * math/auto-libm-test-out: Regenerated.
6684 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6687 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6688 numbers with subnormal high part when calculating exponent.
6691 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6695 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6697 (__ieee754_acoshl): Use __log1pl not __log1p.
6699 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
6701 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6702 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6703 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6704 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6705 (reused_arena, arena_get2): Convert to GNU style.
6706 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6707 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6708 (memalign_check, __malloc_set_state): Likewise.
6709 * malloc/mallocbug.c (main): Likewise.
6710 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6711 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6712 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6713 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6714 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6715 (__posix_memalign, malloc_info): Likewise.
6716 * malloc/malloc.h: Likewise.
6717 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6718 (mallochook, memalignhook, reallochook, mabort): Likewise.
6719 * malloc/mcheck.h: Likewise.
6720 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6721 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6722 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6723 * malloc/morecore.c (__default_morecore): Likewise.
6724 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6725 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6726 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6727 (print_and_abort): Likewise.
6728 * malloc/obstack.h: Likewise.
6729 * malloc/set-freeres.c (__libc_freeres): Likewise.
6730 * malloc/tst-mallocstate.c (main): Likewise.
6731 * malloc/tst-mtrace.c (main): Likewise.
6732 * malloc/tst-realloc.c (do_test): Likewise.
6734 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6737 * nscd/netgroupcache.c (do_notfound): New function.
6738 (addgetnetgrentX): Use it.
6741 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6742 NSS_STATUS_NOTFOUND.
6744 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6746 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6749 2014-01-01 Allan McRae <allan@archlinux.org>
6751 * scripts/update-copyrights: Update configure input file suffix.
6753 * NEWS: Update copyright year.
6754 * catgets/gencat.c: Likewise.
6755 * csu/version.c: Likewise.
6756 * debug/catchsegv.sh: Likewise.
6757 * debug/pcprofiledump.c: Likewise.
6758 * debug/xtrace.sh: Likewise.
6759 * elf/ldconfig.c: Likewise.
6760 * elf/ldd.bash.in: Likewise.
6761 * elf/pldd.c: Likewise.
6762 * elf/sotruss.ksh: Likewise.
6763 * elf/sprof.c: Likewise.
6764 * iconv/iconv_prog.c: Likewise.
6765 * iconv/iconvconfig.c: Likewise.
6766 * locale/programs/locale.c: Likewise.
6767 * locale/programs/localedef.c: Likewise.
6768 * login/programs/pt_chown.c: Likewise.
6769 * malloc/memusage.sh: Likewise.
6770 * malloc/memusagestat.c: Likewise.
6771 * malloc/mtrace.pl: Likewise.
6772 * manual/libc.texinfo: Likewise.
6773 * nscd/nscd.c: Likewise.
6774 * nss/getent.c: Likewise.
6775 * nss/makedb.c: Likewise.
6776 * posix/getconf.c: Likewise.
6777 * scripts/test-installation.pl: Likewise.
6779 * All files with FSF copyright notices: Update copyright dates
6780 using scripts/update-copyrights.
6781 * intl/plural.c: Regenerated.
6782 * locale/programs/charmap-kw.h: Likewise.
6783 * locale/programs/locfile-kw.h: Likewise.
6785 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6787 * sysdeps/unix/sysv/linux/configure: Regenerated.
6788 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6789 the linux/fanotify.h header.
6790 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6791 HAVE_LINUX_FANOTIFY_H is defined.
6793 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6795 * benchtests/cos-inputs: New inputs.
6796 * benchtests/sin-inputs: Likewise.
6798 * benchtests/atan-inputs: New inputs. Fix name of multiple
6799 precision fallback inputs.
6801 * benchtests/atanh-inputs: New inputs.
6802 * benchtests/tanh-inputs: Likewise.
6804 * benchtests/acosh-inputs: New inputs.
6805 * benchtests/asinh-inputs: Likewise.
6807 * benchtests/cosh-inputs: New inputs.
6808 * benchtests/sinh-inputs: Likewise.
6810 * benchtests/acos-inputs: Add more inputs.
6811 * benchtests/asin-inputs: Likewise.
6813 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6816 * manual/arith.texi: Fix spelling.
6817 * manual/charset.texi: Likewise.
6818 * manual/errno.texi: Likewise.
6819 * manual/filesys.texi: Likewise.
6820 * manual/lang.texi: Likewise.
6821 * manual/llio.texi: Likewise.
6822 * manual/locale.texi: Likewise.
6823 * manual/message.texi: Likewise.
6824 * manual/resource.texi: Likewise.
6825 * manual/search.texi: Likewise.
6826 * manual/setjmp.texi: Likewise.
6827 * manual/stdio.texi: Likewise.
6828 * manual/string.texi: Likewise.
6829 * manual/sysinfo.texi: Likewise.
6830 * manual/time.texi: Likewise.
6832 2013-12-27 Carlos O'Donell <carlos@redhat.com>
6834 * po/sl.po: New file.
6836 2013-12-27 Mike Frysinger <vapier@gentoo.org>
6838 * .gitignore: Add core/.gdbinit/.gdb_history.
6840 2013-12-27 Allan McRae <allan@archlinux.org>
6843 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6844 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6846 2013-12-24 Brooks Moses <bmoses@google.com>
6848 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6849 all compilers that claim C++98 compliance, not just GCC.
6850 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6853 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6855 * NEWS: Restore accidentally deleted bug-fix entries.
6857 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6858 Ondřej Bílka <neleai@seznam.cz>
6861 * malloc/malloc.c (_int_free): Perform sanity check only if we
6864 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
6867 * manual/stdio.texi (String Input Conversions): Clarify that character
6868 classes are not supported.
6870 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6874 2013-12-22 Joseph Myers <joseph@codesourcery.com>
6877 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6878 Calculate results for small negative arguments directly rather
6879 than using reflection formula with special underflow handling.
6881 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6882 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6883 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6884 (fchflags): Likewise.
6886 (setlogin): Likewise.
6887 (sigaltstack): Likewise.
6890 (sigsetmask): Likewise.
6892 (waitpid): Likewise.
6893 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6894 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6896 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6897 * sysdeps/unix/bsd/Makefile: ... here.
6898 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6899 * sysdeps/unix/bsd/Versions: ... here.
6900 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6901 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6902 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6903 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6904 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6905 * sysdeps/unix/bsd/sigblock.c: ... here.
6906 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6907 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6908 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6909 * sysdeps/unix/bsd/sigvec.c: ... here.
6910 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6911 * sysdeps/unix/bsd/tcdrain.c: ... here.
6912 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6913 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6914 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6915 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6916 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6917 * sysdeps/unix/bsd/wait.c: ... here.
6918 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6919 * sysdeps/unix/bsd/wait3.c: ... here.
6920 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6921 * sysdeps/unix/bsd/waitpid.c: ... here.
6923 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6926 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6927 round-to-nearest for [!USE_AS_EXPM1L].
6928 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6929 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6930 more tests of exp and exp10. Expect some exp10 tests to miss
6931 exceptions or fail in directed rounding modes.
6932 * math/auto-libm-test-out: Regenerated.
6933 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6934 (exp10_test_tonearest): New function.
6935 (exp10_towardzero_test_data): New array.
6936 (exp10_test_towardzero): New function.
6937 (exp10_downward_test_data): New array.
6938 (exp10_test_downward): New function.
6939 (exp10_upward_test_data): New array.
6940 (exp10_test_upward): New function.
6941 (main): Call the new functions.
6942 * sysdeps/i386/fpu/libm-test-ulps: Update.
6943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6945 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6947 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6948 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6949 * math/auto-libm-test-out: Regenerated.
6950 * math/libm-test.inc (acosh_test_data): Add more tests.
6951 (atanh_test_data): Likewise.
6952 (ceil_test_data): Likewise.
6953 (copysign_test_data): Likewise.
6954 * sysdeps/i386/fpu/libm-test-ulps: Update.
6955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6957 * timezone/checktab.awk: Update from tzcode 2013i.
6958 * timezone/private.h: Likewise.
6959 * timezone/scheck.c: Likewise.
6960 * timezone/tzfile.h: Likewise.
6961 * timezone/tzselect.ksh: Likewise.
6962 * timezone/zdump.c: Likewise.
6963 * timezone/zic.c: Likewise.
6965 * math/auto-libm-test-in: Add tests of cpow.
6966 * math/auto-libm-test-out: Regenerated.
6967 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6968 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6970 (func_calc_desc): Add mpc_cc_c union field.
6971 (test_functions): Add cpow.
6972 (special_fill_2pi): New function.
6973 (special_real_inputs): Add 2pi.
6974 (calc_generic_results): Handle mpc_cc_c.
6975 * sysdeps/i386/fpu/libm-test-ulps: Update.
6976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6978 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6979 csqrt, ctan and ctanh.
6980 * math/auto-libm-test-out: Regenerated.
6981 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6982 (TEST_COND_x86): Likewise.
6983 (ccos_test_data): Use AUTO_TESTS_c_c.
6984 (ccosh_test_data): Likewise.
6985 (cexp_test_data): Likewise.
6986 (clog_test_data): Likewise.
6987 (csqrt_test_data): Likewise.
6988 (ctan_test_data): Likewise.
6989 (ctan_tonearest_test_data): Likewise.
6990 (ctan_towardzero_test_data): Likewise.
6991 (ctan_downward_test_data): Likewise.
6992 (ctan_upward_test_data): Likewise.
6993 (ctanh_test_data): Likewise.
6994 (ctanh_tonearest_test_data): Likewise.
6995 (ctanh_towardzero_test_data): Likewise.
6996 (ctanh_downward_test_data): Likewise.
6997 (ctanh_upward_test_data): Likewise.
6998 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7000 (func_calc_desc): Add mpc_c_c union field.
7001 (FUNC_mpc_c_c): New macro.
7002 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7003 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7005 (special_fill_min_subnorm_p120): New function.
7006 (special_real_inputs): Add min_subnorm_p120.
7007 (calc_generic_results): Handle mpc_c_c.
7008 * sysdeps/i386/fpu/libm-test-ulps: Update.
7009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7011 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7013 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7014 (do_sin_slow): New functions.
7015 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7016 (cslow2, csloww1, csloww2): Use the new functions.
7018 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7019 Use M to change sign of result instead of X. Assume X is
7021 (csloww1): Likewise.
7025 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7030 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7032 (sloww1): Don't adjust sign of DX.
7033 (csloww1): Likewise.
7034 (sloww2): Use X directly and don't adjust sign of DX.
7035 (csloww2): Likewise.
7037 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7039 * math/auto-libm-test-in: Add tests of cabs and carg.
7040 * math/auto-libm-test-out: Regenerated.
7041 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7042 (carg_test_data): Likewise.
7043 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7045 (func_calc_desc): Add mpc_c_f union field.
7046 (test_functions): Add cabs and carg.
7047 (calc_generic_results): Handle mpc_c_f.
7049 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7050 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7051 as a macro and a compat symbol.
7052 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7053 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7054 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7055 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7056 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7057 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7059 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7061 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7063 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7065 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7067 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7069 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7070 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7073 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7077 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7079 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7080 trailing whitespace removed.
7081 * scripts/config.guess: Update to version 2013-11-29.
7082 * scripts/config.sub: Update to version 2013-10-01.
7084 * math/auto-libm-test-in: Add tests of sincos.
7085 * math/auto-libm-test-out: Regenerated.
7086 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7087 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7089 (func_calc_desc): Add mpfr_f_11 union field.
7090 (test_functions): Add sincos.
7091 (calc_generic_results): Handle mpfr_f_11.
7092 * sysdeps/i386/fpu/libm-test-ulps: Update.
7093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7095 2013-12-19 Andreas Schwab <schwab@suse.de>
7097 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7099 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7100 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7101 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7103 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7105 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7106 * sysdeps/i386/fpu/libm-test-ulps: Update.
7107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7110 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7111 round-to-nearest mode when using frndint.
7112 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7113 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7114 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7116 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7118 * math/auto-libm-test-out: Regenerated.
7119 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7120 (TEST_COND_x86): Likewise.
7121 (expm1_tonearest_test_data): New array.
7122 (expm1_test_tonearest): New function.
7123 (expm1_towardzero_test_data): New array.
7124 (expm1_test_towardzero): New function.
7125 (expm1_downward_test_data): New array.
7126 (expm1_test_downward): New function.
7127 (expm1_upward_test_data): New array.
7128 (expm1_test_upward): New function.
7129 (main): Run the new test functions.
7130 * sysdeps/i386/fpu/libm-test-ulps: Update.
7131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7133 * include/features.h: Update comment documenting feature test
7134 macros. Mention _DEFAULT_SOURCE in comment.
7135 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7136 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7137 _BSD_SOURCE and _SVID_SOURCE.
7138 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7139 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7140 !_SVID_SOURCE]: Likewise.
7141 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7142 (__USE_POSIX_IMPLICITLY): Define.
7143 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7144 (_POSIX_SOURCE): Undefine and redefine.
7145 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7146 (_POSIX_C_SOURCE): Likewise.
7147 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7148 (Feature Test Macros): Update documentation of default features.
7150 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7152 * benchtests/Makefile: Add bench-strtok.
7153 * benchtests/bench-strtok.c: New file: strtok benchtest.
7155 2013-12-19 Allan McRae <allan@archlinux.org>
7157 * manual/install.texi: Suppress menu for plain text output.
7158 * INSTALL: Regenerated.
7160 2013-12-18 Brooks Moses <bmoses@google.com>
7163 * misc/getauxval.c: Include errno.h.
7164 (__getauxval): Set errno to ENOENT if the requested type is not
7166 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7167 don't declare with __attribute_const__.
7168 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7169 * manual/startup.texi: Document that getauxval sets errno.
7171 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7173 * math/auto-libm-test-in: Add tests of jn and yn.
7174 * math/auto-libm-test-out: Regenerated.
7175 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7176 (yn_test_data): Likewise.
7177 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7179 (func_calc_desc): Add mpfr_if_f union field.
7180 (FUNC_mpfr_if_f): New macro.
7181 (test_functions): Add jn and yn.
7182 (calc_generic_results): Assert type of second input for
7183 mpfr_ff_f. Handle mpfr_if_f.
7184 (output_for_one_input_case): Disable all checking for arguments
7185 fitting floating-point types in case of an integer argument.
7186 * sysdeps/i386/fpu/libm-test-ulps: Update.
7187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7190 Don't expect fegetround reference in libm.so.
7192 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7194 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7195 $(config-cflags-nofma).
7197 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7199 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7200 * math/auto-libm-test-out: Regenerated.
7203 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7204 to determine exponent and adjust argument to have exponent of -1.
7205 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7207 * math/auto-libm-test-out: Regenerated.
7208 * sysdeps/i386/fpu/libm-test-ulps: Update.
7209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7211 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7213 * manual/probes.texi: Remove cases when per-thread arenas are
7216 2013-12-18 Andreas Schwab <schwab@suse.de>
7218 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7219 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7220 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7221 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7222 * sysdeps/i386/i686/multiarch/Makefile: Update.
7223 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7225 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7227 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7228 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7230 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7233 Support TZ transition times < 00:00:00.
7234 This is needed for version-3 tz-format files; it supports time
7235 stamps past 2037 for America/Godthab (the only entry in the tz
7236 database for which this change is relevant).
7237 * manual/time.texi (TZ Variable): Document transition times
7238 from -167:59:59 through -00:00:01.
7239 * time/tzset.c (tz_rule): Time of day is now signed.
7240 (__tzset_parse_tz): Parse negative time of day.
7242 Document TZ transition times >= 25:00:00.
7243 * manual/time.texi (TZ Variable): Document transition times from
7244 25:00:00 through 167:59:59. These are already supported, and this
7245 support will help with version-3 tz-format files.
7247 * manual/time.texi (TZ Variable): Modernize North America example
7248 to reflect current (i.e., 2007-and-later) daylight saving rules.
7250 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7252 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7254 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7255 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7257 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7258 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7259 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7260 * sysdeps/unix/bsd/clock.c: Likewise.
7261 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7262 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7263 * sysdeps/unix/bsd/init-posix.c: Likewise.
7264 * sysdeps/unix/bsd/poll.c: Likewise.
7265 * sysdeps/unix/bsd/ptsname.c: Likewise.
7266 * sysdeps/unix/bsd/seekdir.c: Likewise.
7267 * sysdeps/unix/bsd/setegid.c: Likewise.
7268 * sysdeps/unix/bsd/seteuid.c: Likewise.
7269 * sysdeps/unix/bsd/setgid.c: Likewise.
7270 * sysdeps/unix/bsd/setrgid.c: Likewise.
7271 * sysdeps/unix/bsd/setruid.c: Likewise.
7272 * sysdeps/unix/bsd/setsid.c: Likewise.
7273 * sysdeps/unix/bsd/setuid.c: Likewise.
7274 * sysdeps/unix/bsd/sigaction.c: Likewise.
7275 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7276 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7277 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7278 * sysdeps/unix/bsd/telldir.c: Likewise.
7279 * sysdeps/unix/bsd/times.c: Likewise.
7280 * sysdeps/unix/bsd/usleep.c: Likewise.
7282 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7283 ($(objpfx)libbsd-compat.a): Remove rule.
7285 * include/features.h (__FAVOR_BSD): Do not define.
7286 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7287 features conflicting with POSIX.
7288 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7289 (_BSD_SOURCE): Remove description of not being a subset of other
7290 feature test macros.
7291 * manual/job.texi (getpgrp): Do not document BSD version.
7292 (getpgid): Do not document by reference to BSD getpgrp.
7293 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7294 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7295 * signal/signal.h [__FAVOR_BSD]: Likewise.
7296 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7297 instead of making contents conditional on [__FAVOR_BSD].
7298 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7300 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7304 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7307 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7308 values below 2**-450, not 2**-500.
7309 * math/auto-libm-test-in: Don't allow spurious underflow from
7311 * math/auto-libm-test-out: Regenerated.
7315 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7316 values of ha and hb and sort them after adjusting subnormal
7318 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7320 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7321 values of ea and eb and sort them after adjusting subnormal
7323 * math/auto-libm-test-in: Do not expect some hypot tests of
7324 subnormals to fail. Add more hypot tests.
7325 * math/auto-libm-test-out: Regenerated.
7327 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7330 * sysdeps/sh/s_fma.c: New file.
7331 * sysdeps/sh/s_fmaf.c: New file.
7332 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7334 * sysdeps/sh/Implies: Add sh/soft-fp.
7336 2013-12-16 Roland McGrath <roland@hack.frob.com>
7338 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7339 level of indirection to members `objname', `errstring', `malloced'.
7340 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7341 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7342 it as the __longjmp argument (just pass 1 instead).
7343 (_dl_catch_error): Initialize C with argument pointers and address of
7344 volatile local ERRCODE rather than copying values out of C at return.
7346 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7348 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7349 * math/auto-libm-test-out: Regenerated.
7350 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7351 (hypot_test_data): Likewise.
7352 (pow_test_data): Likewise.
7353 (pow_tonearest_test_data): Likewise.
7354 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7356 (func_calc_desc): Add mpfr_ff_f union field.
7357 (FUNC_mpfr_ff_f): New macro.
7358 (test_functions): Add atan2, hypot and pow.
7359 (special_fill_min): New function.
7360 (special_fill_minus_min): Likewise.
7361 (special_fill_min_subnorm): Likewise.
7362 (special_fill_minus_min_subnorm): Likewise.
7363 (special_real_inputs): Add min, -min, min_subnorm and
7365 (calc_generic_results): Handle mpfr_ff_f.
7366 * sysdeps/i386/fpu/libm-test-ulps: Update.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7369 2013-12-16 Will Newton <will.newton@linaro.org>
7371 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7372 (Aligned Memory Blocks): Add documentation for aligned_alloc
7373 and suggest it as an alternative to posix_memalign.
7374 (Hooks for Malloc): Document __memalign_hook is also called
7375 for aligned_alloc. (Summary of Malloc): Add summary for
7376 aligned alloc. Document __memalign_hook is also called
7379 2013-12-16 Will Newton <will.newton@linaro.org>
7381 * manual/memory.texi (Malloc Examples): Clarify default
7382 alignment documentation. Suggest posix_memalign rather
7383 than memalign or valloc.
7384 (Aligned Memory Blocks): Remove suggestion to use memalign
7385 or valloc. Remove obsolete comment about BSD.
7386 Document memalign errno values and mark the function obsolete.
7387 Document posix_memalign returned error codes. Mark valloc
7388 as obsolete. (Hooks for Malloc): __memalign_hook is also
7389 called for posix_memalign and valloc.
7390 (Summary of Malloc): Add posix_memalign to function summary.
7391 __memalign_hook is also called for posix_memalign and valloc.
7393 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7395 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7399 (sloww): Use mynumber union. Expand ternary operator into
7401 (cslow): use mynumber union.
7403 2013-12-16 Allan McRae <allan@archlinux.org>
7405 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7406 * configure: Regenerated.
7408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7411 * configure.ac: Added --enable-maintainer-mode. Check for
7412 autoconf when enabled.
7413 * configure: Regenerated.
7415 * nscd/nscd.service: New file.
7416 * nscd/nscd.tmpfiles: New file.
7418 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7421 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7422 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7423 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7424 (strstr): Add __strstr_sse2_unaligned ifunc.
7425 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7426 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7427 (strcasestr): Remove __strcasestr_sse42 ifunc.
7428 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7432 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7434 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7435 * sysdeps/sh/bits/fenv.h: ... here.
7436 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7438 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7440 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7443 hypotf multiarch implementations.
7444 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7445 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7446 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7447 multiarch hypot for PPC64.
7448 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7449 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7450 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7451 multiarch hypotf for PPC64.
7453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7454 modff multiarch implementations.
7455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7458 multiarch modf for PPC64.
7459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7462 multiarch modff for PPC64.
7464 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7465 and logl multiarch implementations.
7466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7469 multiarch logb for PPC64.
7470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7473 multiarch logb for PPC64.
7474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7477 multiarch logb for PPC64.
7479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7480 isinff multiarch implementation.
7481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7485 multiarch isinf for PPC64.
7486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7489 multiarch isinff for PPC64.
7491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7492 finitef multiarch implementation.
7493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7497 multiarch finite for PPC64.
7498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7501 multiarch finitef for PPC64.
7503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7504 lrint multiarch implementation.
7505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7509 multiarch llrint for PPC64.
7510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7511 multiarch lrint for PPC64.
7513 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7514 copysignf multiarch implementation.
7515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7520 multiarch copysign for PPC64.
7521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7522 multiarch copysignf for PPC64.
7524 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7525 multiarch implementation.
7526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7534 multiarch llround for PPC64.
7535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7536 multiarch trunc for PPC64.
7537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7538 multiarch truncf for PPC64.
7540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7541 multiarch implementation.
7542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7550 multiarch llround for PPC64.
7551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7552 multiarch round for PPC64.
7553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7554 multiarch roundf for PPC64.
7556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7557 multiarch implementation.
7558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7566 multiarch llround for PPC64.
7567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7568 multiarch floor for PPC64.
7569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7570 multiarch floorf for PPC64.
7572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7573 multiarch implementation.
7574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7582 multiarch llround for PPC64.
7583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7584 multiarch ceil for PPC64.
7585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7586 multiarch ceilf for PPC64.
7588 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7589 multiarch implementation.
7590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7597 multiarch llround for PPC64.
7598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7599 multiarch lround for PPC64.
7601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7602 multiarch implementation.
7603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7610 multiarch isnan for PPC64.
7611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7612 multiarch isnanf for PPC64.
7614 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7615 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7616 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7617 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7618 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7621 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7622 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7623 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7624 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7627 multiarch implementations.
7628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7629 (__libc_ifunc_impl_list): Likewise.
7630 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7631 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7632 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7633 multiarch stpcpy for PPC64.
7635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7636 multiarch implementations.
7637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7638 (__libc_ifunc_impl_list): Likewise.
7639 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7640 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7641 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7642 multiarch strcpy for PPC64.
7644 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7645 redefine function name.
7646 (_wordcopy_fwd_dest_aligned): Likewise.
7647 (_wordcopy_bwd_aligned): Likewise.
7648 (_wordcopy_bwd_dest_aligned): Likewise.
7649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7650 multiarch implementations.
7651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7652 (__libc_ifunc_impl_list): Likewise.
7653 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7654 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7655 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7656 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7657 multiarch wcscpy for PPC64.
7659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7660 multiarch implementations.
7661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7662 (__libc_ifunc_impl_list): Likewise.
7663 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7664 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7665 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7666 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7667 multiarch wcscpy for PPC64.
7669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7670 multiarch implementations.
7671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7672 (__libc_ifunc_impl_list): Likewise.
7673 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7674 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7675 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7676 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7677 multiarch wcsrchr for PPC64.
7679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7680 multiarch implementations.
7681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7682 (__libc_ifunc_impl_list): Likewise.
7683 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7684 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7685 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7686 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7687 multiarch wcschr for PPC64.
7689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7690 multiarch implementations.
7691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7692 (__libc_ifunc_impl_list): Likewise.
7693 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7694 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7695 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7696 multiarch strchrnul for PPC64.
7698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7701 (__libc_ifunc_impl_list): Likewise.
7702 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7703 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7704 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7705 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7711 (__libc_ifunc_impl_list): Likewise.
7712 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7713 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7714 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7715 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7719 multiarch implementations.
7720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7721 (__libc_ifunc_impl_list): Likewise.
7722 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7723 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7724 strncasecmp for PPC64.
7725 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7726 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7727 multiarch strncasecmp_l for PPC64.
7729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7730 multiarch implementations.
7731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7732 (__libc_ifunc_impl_list): Likewise.
7733 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7734 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7735 multiarch strcasecmp for PPC64.
7736 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7738 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7739 multiarch strcasecmp_l for PPC64.
7741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7744 (__libc_ifunc_impl_list): Likewise.
7745 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7746 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7747 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7753 (__libc_ifunc_impl_list): Likewise.
7754 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7755 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7756 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7762 (__libc_ifunc_impl_list): Likewise.
7763 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7764 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7765 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7766 rawmemrchr for PPC64.
7768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7771 (__libc_ifunc_impl_list): Likewise.
7772 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7773 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7774 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7780 (__libc_ifunc_impl_list): Likewise.
7781 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7782 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7783 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7786 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7789 (__libc_ifunc_impl_list): Likewise.
7790 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7791 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7792 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7795 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7796 avoid cretion of __bzero symbol.
7797 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7799 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7801 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7804 multiarch implementations.
7805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7806 (__libc_ifunc_impl_list): Likewise.
7807 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7808 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7809 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7810 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7812 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7813 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7814 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7815 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7816 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7818 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7820 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7824 (__libc_ifunc_impl_list): Likewise.
7825 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7826 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7827 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7828 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7832 multiarch for POWER/PPC64.
7833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7834 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7835 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7836 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7837 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7838 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7839 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7840 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7841 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7844 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7845 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7846 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7847 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7848 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7849 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7850 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7851 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7852 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7853 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7854 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7855 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7856 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7857 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7858 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7867 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7869 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7871 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7873 * benchtests/Makefile (bench): Add exp2 and log2.
7874 (LDLIBS-bench-exp2): Add -lm.
7875 (LDLIBS-bench-log2): Likewise.
7876 * benchtests/exp2-inputs: New inputs file.
7877 * benchtests/log2-inputs: New inputs file.
7878 * benchtests/log-inputs: Add new inputs.
7879 * benchtests/tan-inputs: Likewise.
7881 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7883 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7885 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7886 (csloww2): ... from here.
7888 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7889 instead of structures.
7890 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7891 (POLYNOMIAL): Likewise.
7892 (TAYLOR_SLOW): Likewise.
7900 (bsloww1): Likewise.
7901 (bsloww2): Likewise.
7904 (csloww1): Likewise.
7905 (csloww2): Likewise.
7907 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7909 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7910 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7911 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7912 * malloc/hooks.c (realloc_check): Likewise.
7914 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7915 * malloc/arena.c: Remove PER_THREAD conditional.
7916 [!PER_THREAD]: Remove code.
7917 (ptmalloc_unlock_all2): Likewise.
7918 (ptmalloc_init): Likewise.
7919 (_int_new_arena): Likewise.
7920 (arena_get2): Likewise.
7921 * malloc/hooks.c (__malloc_get_state): Likewise.
7922 (__malloc_set_state): Likewise.
7923 * malloc/malloc.c: Likewise.
7924 (struct malloc_state): Likewise.
7925 (struct malloc_par): Likewise.
7926 (__libc_realloc): Likewise.
7927 (__libc_mallopt): Likewise.
7929 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7931 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7933 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7935 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7936 macro to a function. Check for zero perturb_byte.
7937 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7939 * malloc/malloc.c: (force_reg): Remove.
7940 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7941 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7942 force_reg by atomic_forced_read.
7943 * malloc/arena.c (ptmalloc_init): Likewise.
7944 * malloc/hooks.c (top_check): Likewise.
7946 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7950 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7954 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7956 * math/auto-libm-test-in: Add tests of lgamma.
7957 * math/auto-libm-test-out: Regenerated.
7958 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7959 (M_LOG_2_SQRT_PIl): Likewise.
7960 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7961 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7963 (func_calc_desc): Add mpfr_f_f1 union field.
7972 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7973 (test_functions): Add lgamma.
7974 (calc_generic_results): Handle mpfr_f_f1.
7975 * sysdeps/i386/fpu/libm-test-ulps: Update.
7976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7978 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7980 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7981 __mpn_add_n for PowerPC64/POWER7.
7982 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7983 __mpn_sub_n for PowerPC64/POWER7.
7985 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7986 __mpn_addmul_1 for PowerPC64.
7987 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7988 __mpn_submul_1 for PowerPC64.
7989 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7991 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7994 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7997 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7999 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8001 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8003 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8004 add multiarch folders.
8005 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8006 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8007 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8008 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8009 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8010 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8011 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8012 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8013 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8014 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8015 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8024 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8030 multiarch __ieee754_hypot for PowerPC32.
8031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8036 multiarch __ieee754_hypotf for PowerPC32.
8038 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8039 long_double_symbol only if __logbl is defined.
8040 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8041 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8042 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8043 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8044 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8045 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8046 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8047 path for implementation.
8048 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8049 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8051 logb, and logbl multiarch implementations for PowerPC32.
8052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8057 multiarch logb for PowerPC32.
8058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8063 multiarch logbf for PowerPC32.
8064 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8068 multiarch logbl implementation for PowerPC32.
8070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8071 and modff multiarch implementations.
8072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8077 multiarch modf for PowerPC32.
8078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8083 multiarch modff for PowerPC32.
8085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8086 and lrintf multiarch implementations.
8087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8092 multiarch lrint for PowerPC32.
8093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8094 file: multiarch lrintf for PowerPC32.
8096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8097 and lroundf multiarch implementations.
8098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8105 multiarch lround for PowerPC32.
8106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8107 file: multiarch lroundf for PowerPC32.
8109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8110 copysign and copysignf multiarch implementations.
8111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8116 file: multiarch copysign for PowerPC32.
8117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8118 file: multiarch copysignf for PowerPC32.
8120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8121 and truncf multiarch implementations.
8122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8127 multiarch trunc for PowerPC32.
8128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8133 multiarch truncf for PowerPC32.
8135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8136 and roundf multiarch implementations.
8137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8142 multiarch round for PowerPC32.
8143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8148 multiarch roundf for PowerPC32.
8150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8151 and floorf multiarch implementations.
8152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8157 multiarch floor for PowerPC32.
8158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8163 multiarch floorf for PowerPC32.
8165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8166 and ceilf multiarch implementations.
8167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8172 multiarch ceil for PowerPC32.
8173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8178 multiarch ceilf for PowerPC32.
8180 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8182 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8185 and finitef multiarch implementations.
8186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8191 multiarch finite for PowerPC32.
8192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8195 file: multiarch finitef for PowerPC32.
8197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8198 and isinff multiarch implementations.
8199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8204 multiarch isinf for PowerPC32.
8205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8208 multiarch isinff for PowerPC32.
8210 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8211 alias when __isnan is defined.
8212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8213 and isnanf multiarch implementations.
8214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8223 multiarch isnan for PowerPC32.
8224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8229 multiarch isnanf for PowerPC32.
8231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8232 and sqrtf multiarch implementations.
8233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8238 multiarch sqrt for PowerPC32.
8239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8244 multiarch sqrtf for PowerPC32.
8246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8247 and llroundf multiarch implementations.
8248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8255 file: multiarch llround for PowerPC32.
8256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8257 file: multiarch llroundf for PowerPC32.
8259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8260 multiarch PowerPC32 fpu implementations.
8261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8266 multiarch llrint for PowerPC32.
8267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8276 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8278 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8280 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8282 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8283 multiarch wordcopy for PPC32.
8284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8287 (__libc_ifunc_impl_list): Likewise.
8288 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8289 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8290 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8291 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8292 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8293 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8295 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8296 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8303 multiarch wcscpy for PPC32.
8304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8307 (__libc_ifunc_impl_list): Likewise.
8308 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8309 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8310 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8311 sysdeps/powerpc/power6/wcscpy.c.
8313 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8321 multiarch wcsrchr for PPC32.
8322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8325 (__libc_ifunc_impl_list): Likewise.
8326 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8327 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8328 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8329 sysdeps/powerpc/power6/wcsrchr.c.
8331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8333 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8335 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8337 multiarch wcschr for PPc32.
8338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8341 (__libc_ifunc_impl_list): Likewise.
8342 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8343 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8344 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8345 sysdeps/powerpc/power6/wcschr.c.
8347 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8348 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8350 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8351 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8352 file: multiarch strchr for PPC32.
8353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8356 (__libc_ifunc_impl_list): Likewise.
8358 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8360 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8362 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8364 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8365 multiarch strchrnul for PPC32.
8366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8369 (__libc_ifunc_impl_list): Likewise.
8371 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8373 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8374 multiarch strncasecmp for PPC32.
8375 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8377 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8378 multiarch strncasecmp_l for PPC32.
8379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8380 strncasecmp multiarch objects.
8381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8382 (__libc_ifunc_impl_list): Likewise.
8384 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8386 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8387 multiarch strncasecmp for PPC32.
8388 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8390 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8391 multiarch strcasecmp_l for PPC32.
8392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8395 (__libc_ifunc_impl_list): Likewise.
8397 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8399 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8401 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8402 multiarch strncmp for PPC32.
8403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8406 (__libc_ifunc_impl_list): Likewise.
8408 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8409 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8411 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8412 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8416 (__libc_ifunc_impl_list): Likewise.
8418 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8420 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8422 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8426 (__libc_ifunc_impl_list): Likewise.
8428 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8430 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8432 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8433 multiarch rawmemchr for PPC32.
8434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8436 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8437 (__libc_ifunc_impl_list): Likewise.
8439 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8441 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8443 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8444 file: memrchr multiarch for PPC32.
8445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8448 (__libc_ifunc_impl_list): Likewise.
8450 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8451 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8453 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8454 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8455 multiarch memchr for PPC32.
8456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8459 (__libc_ifunc_impl_list): Likewise.
8461 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8462 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8464 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8466 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8467 file: multiarch mempcpy for PPC32.
8468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8471 (__libc_ifunc_impl_list): Likewise.
8473 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8474 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8475 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8476 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8477 multiarch bzero for PPC32.
8478 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8480 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8482 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8483 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8484 file: multiarch memset for PPC32.
8485 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8486 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8487 memset multiarch objects.
8488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8489 (__libc_ifunc_impl_list): Likewise.
8491 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8496 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8500 (__libc_ifunc_impl_list): Likewise.
8502 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8503 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8504 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8506 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8508 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8510 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8511 multiarch memcpy for PPC32.
8512 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8514 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8515 (__libc_ifunc_impl_list): Likewise.
8517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8518 support multiarch for POWER/PPC32.
8519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8521 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8523 Implies file to make multiarch folder appers before the fpu and
8524 default folder for power4 configuration.
8526 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8528 * scripts/bench.pl: Append volatile keyword to type.
8530 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8532 * sysdeps/sh/sotruss-lib.c: New file.
8533 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8535 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8539 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8542 * math/w_tgamma.c: Include <errno.h>.
8543 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8544 * math/w_tgammaf.c: Include <errno.h>.
8545 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8546 * math/w_tgammal.c: Include <errno.h>.
8547 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8548 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8549 underflow. Add more tgamma tests.
8550 * math/auto-libm-test-out: Regenerated.
8551 * sysdeps/i386/fpu/libm-test-ulps: Update.
8552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8554 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8555 sin, sinh, tan, tanh, tgamma, y0 and y1.
8556 * math/auto-libm-test-out: Regenerated.
8557 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8558 (TEST_COND_x86): Likewise.
8559 (M_E2l): Remove macro.
8561 (M_2_SQRT_PIl): Likewise.
8562 (M_SQRT_PIl): Likewise.
8563 (M_1_DIV_El): Likewise.
8564 (log_test_data): Use AUTO_TESTS_f_f.
8565 (log10_test_data): Likewise.
8566 (log1p_test_data): Likewise.
8567 (log2_test_data): Likewise.
8568 (sin_test_data): Likewise.
8569 (sin_tonearest_test_data): Likewise.
8570 (sin_towardzero_test_data): Likewise.
8571 (sin_downward_test_data): Likewise.
8572 (sin_upward_test_data): Likewise.
8573 (sinh_test_data): Likewise.
8574 (sinh_tonearest_test_data): Likewise.
8575 (sinh_towardzero_test_data): Likewise.
8576 (sinh_downward_test_data): Likewise.
8577 (sinh_upward_test_data): Likewise.
8578 (tan_test_data): Likewise.
8579 (tan_tonearest_test_data): Likewise.
8580 (tan_towardzero_test_data): Likewise.
8581 (tan_downward_test_data): Likewise.
8582 (tan_upward_test_data): Likewise.
8583 (tanh_test_data): Likewise.
8584 (tgamma_test_data): Likewise.
8585 (y0_test_data): Likewise.
8586 (y1_test_data): Likewise.
8587 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8588 (special_real_inputs): Add pi/4.
8589 * sysdeps/i386/fpu/libm-test-ulps: Update.
8590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8592 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8594 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8595 "longjmp_target" static probes.
8596 (__longjmp): Rename to __longjmp_symbol.
8597 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8598 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8599 on which longjmp to generate.
8600 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8601 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8603 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8604 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8605 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8606 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8607 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8608 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8610 __longjmp_symbol based on which __longjmp to generate.
8611 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8613 (setjmp): Rename to setjmp_symbol.
8614 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8615 (_setjmp): Rename to _setjmp_symbol.
8616 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8617 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8618 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8619 which setjmp to generate.
8620 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8621 "longjmp_target" static probes.
8623 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8625 * benchtests/README: Add note about output arguments.
8626 * benchtests/bench-sincos.c: Remove file.
8627 * benchtests/sincos-inputs: New file.
8628 * scripts/bench.pl: Identify output arguments and define
8629 static variables for them.
8631 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8634 * Makefile (INSTALL): Add install-plain.texi as the primary
8636 * manual/install-plain.texi: New file.
8637 * manual/install.texi: Include node directive only for
8638 non-plaintext output.
8640 2013-12-04 Joseph Myers <joseph@codesourcery.com>
8642 * stdlib/longlong.h: Update from GCC.
8646 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8647 * math/w_j0f.c (y0f): Likewise.
8648 * math/w_j0l.c (__y0l): Likewise.
8649 * math/w_j1.c (y1): Likewise.
8650 * math/w_j1f.c (y1f): Likewise.
8651 * math/w_j1l.c (__y1l): Likewise
8652 * math/w_jn.c (yn): Likewise.
8653 * math/w_jnf.c (ynf): Likewise.
8654 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8655 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8656 value for Bessel function domain errors outside _SVID_ mode.
8657 Adjust sign of return value for yn (negative integer, 0).
8658 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8659 by zero in return for negative x and set sign appropriately for
8661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8662 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8663 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8664 expectations in error cases.
8665 (y1_test_data): Likewise.
8666 (yn_test_data): Likewise.
8667 * sysdeps/i386/fpu/libm-test-ulps: Update.
8668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8670 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8672 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8673 "64" to "64-v1". Add "64-v2".
8674 (abi-64-options): Rename to ...
8675 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8676 (abi-64-condition): Rename to ...
8677 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8678 (abi-64-ld-soname): Rename to ...
8679 (abi-64-v1-ld-soname): ... this.
8680 (abi-64-v2-options): Define.
8681 (abi-64-v2-condition): Likewise.
8682 (abi-64-v2-ld-soname): Likewise.
8683 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8684 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8689 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8690 Alan Modra <amodra@gmail.com>
8692 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8693 New versions for use with the ELFv2 ABI.
8694 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8695 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8697 (struct La_ppc64v2_retval): Likewise.
8698 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8699 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8700 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8701 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8702 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8703 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8704 Do not save or restore CR.
8705 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8706 (_dl_profile_resolve): Do no save or restore CR. Support extended
8707 return values for ELFv2 ABI. Fix location of FPR return registers.
8708 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8709 updated values for _CALL_ELF == 2.
8710 (La_regs, La_retval, int_retval): Likewise.
8712 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8714 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8715 (FRAME_MIN_SIZE_PARM): Likewise.
8716 (FRAME_BACKCHAIN): Likewise.
8717 (FRAME_CR_SAVE): Likewise.
8718 (FRAME_LR_SAVE): Likewise.
8719 (FRAME_TOC_SAVE): Likewise.
8720 (FRAME_PARM_SAVE): Likewise.
8721 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8722 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8723 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8724 (call_mcount_parm_offset): New macro.
8725 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8726 (PROF): Use symbolic stack frame offsets.
8727 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8728 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8729 Redefine in terms of FRAME_MIN_SIZE.
8730 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8731 (_dl_profile_resolve): Likewise. Update comment.
8732 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8733 symbols stack frame offsets.
8734 (__sigsetjmp): Likewise.
8735 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8736 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8737 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8738 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8741 (FRAME_BACKCHAIN): Remove.
8742 (FRAME_CR_SAVE): Likewise.
8743 (FRAME_LR_SAVE): Likewise.
8744 (FRAME_COMPILER_DW): Likewise.
8745 (FRAME_LINKER_DW): Likewise.
8746 (FRAME_TOC_SAVE): Likewise.
8747 (FRAME_PARM_SAVE): Likewise.
8748 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8749 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8750 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8752 (CHECK_SP): Use symbolic stack frame offsets.
8753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8754 zone" instead of caller's parameter save area for temp storage.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8756 Likewise. Also, use symbolic stack frame offsets.
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8758 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8759 our own stack frame instead of the caller's.
8760 (__socket): Use symbolic stack frame offsets.
8762 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8763 Alan Modra <amodra@gmail.com>
8765 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8767 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8768 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8769 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8771 (elf_machine_fixup_plt): Call it.
8772 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8774 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8775 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8776 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8777 r2 before calling target.
8779 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8780 Alan Modra <amodra@gmail.com>
8782 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8783 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8784 versions of macros to support ELFv2 ABI.
8785 (LOCALENTRY): New macro.
8786 (ENTRY, EALIGN): Use it.
8787 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8788 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8789 fall through into ENTRY entry point.
8790 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8791 Only define if _CALL_ELF != 2.
8793 (elf_machine_matches_host): Verify ABI version matches.
8794 (RTLD_START): Use LOCALENTRY.
8795 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8796 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8797 (PLT_ENTRY_WORDS): New macro.
8798 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8799 (elf_machine_runtime_setup): Support ELFv2 ABI.
8800 (elf_machine_fixup_plt): Likewise.
8801 (elf_machine_plt_conflict): Likewise.
8802 (resolve_ifunc): Likewise.
8803 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8804 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8807 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8809 (makecontext): Support ELFv2 ABI.
8810 * elf/elf.h (EF_PPC64_ABI): Define.
8812 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8814 * sysdeps/powerpc/powerpc64/sysdep.h
8815 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8816 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8817 (ENTRY) [ASSEMBLER]: ... but instead here ...
8818 (EALIGN) [ASSEMBLER]: ... and here.
8819 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8820 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8821 (ENTRY_2) [!ASSEMBLER]: Use it.
8822 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8823 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8824 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8825 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8826 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8828 Use PPC64_LOAD_FUNCPTR.
8830 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8832 2013-12-04 Alan Modra <amodra@gmail.com>
8834 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8835 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8836 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8837 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8840 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8841 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8842 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8843 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8844 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8846 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8849 (__makecontext): Fix incorrect CFI when backtracing out of
8850 context created via makecontext.
8851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8852 (__setcontext): Fix incorrect CFI during switch to new context.
8853 (__novec_setcontext): Likewise.
8855 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8858 * time/strptime_l.c (__strptime_internal): Allow modifiers
8860 * time/tst-strptime.c (day_tests): Add testcase.
8862 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8864 * scripts/bench.pl: Skip over blank lines.
8866 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8869 * manual/time.texi (Calendar Time): Clarify what timezone functions
8872 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8876 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8878 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8880 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8881 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8882 * debug/memset_chk.c (__memset_chk): Likewise.
8883 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8884 * debug/strncpy_chk.c: Likewise.
8886 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8890 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8891 (__ieee754_exp): For possibly underflowing results, check size of
8892 result and force underflow exception if required.
8893 * math/auto-libm-test-in: Add more tests of exp.
8894 * math/auto-libm-test-out: Regenerated.
8895 * sysdeps/i386/fpu/libm-test-ulps: Update.
8896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8899 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8900 * math/w_exp2f.c (__exp2f): Likewise.
8901 * math/w_exp2l.c (__exp2l): Likewise.
8902 * math/auto-libm-test-in: Do not allow missing errno on exp2
8904 * math/auto-libm-test-out: Regenerated.
8906 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8909 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8910 handle filename validation.
8911 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8914 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8917 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8918 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8919 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8921 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8922 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8923 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8925 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8926 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8927 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8928 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8929 Add more erfc tests.
8930 * math/auto-libm-test-out: Regenerated.
8931 * sysdeps/i386/fpu/libm-test-ulps: Update.
8932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8934 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8935 exp2, expm1, j0 and j1.
8936 * math/auto-libm-test-out: Regenerated.
8937 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8938 (erfc_test_data): Likewise.
8939 (exp_test_data): Likewise.
8940 (exp_tonearest_test_data): Likewise.
8941 (exp_towardzero_test_data): Likewise.
8942 (exp_downward_test_data): Likewise.
8943 (exp_upward_test_data): Likewise.
8944 (exp10_test_data): Likewise.
8945 (exp2_test_data): Likewise.
8946 (expm1_test_data): Likewise.
8947 (j0_test_data): Likewise.
8948 (j1_test_data): Likewise.
8949 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8950 (input_flag_type): Add flag_xfail_rounding.
8951 (input_flags): Add xfail-rounding.
8952 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8953 (output_for_one_input_case): Handle flag_xfail_rounding.
8954 * sysdeps/i386/fpu/libm-test-ulps: Update.
8955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8957 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8960 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8963 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8966 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8967 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8968 (STAP_PROBE0): New macro.
8969 (STAP_PROBE1): Likewise.
8970 (STAP_PROBE2): Likewise.
8971 (STAP_PROBE3): Likewise.
8972 (STAP_PROBE4): Likewise.
8974 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8976 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8978 2013-12-02 Steve Ellcey <sellcey@mips.com>
8980 * benchtests/Makefile (bench): Add sqrt.
8981 (LDLIBS-bench-sqrt): New.
8982 * benchtests/sqrt-input: New.
8984 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8986 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8987 (GAIH_EAI): Likewise.
8988 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8989 (gaih_inet): Likewise.
8990 (getaddrinfo): Don't use GAIH_EAI.
8992 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8993 (struct gaih): Remove definition.
8995 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8997 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8998 Use HERRNOP directly.
9000 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9004 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9006 * math/gen-auto-libm-tests.c (test_functions): Add more
9007 single-argument functions.
9008 (special_fill_pi_2): New function.
9009 (special_fill_minus_pi_2): Likewise.
9010 (special_fill_pi_6): Likewise.
9011 (special_fill_minus_pi_6): Likewise.
9012 (special_fill_pi_3): Likewise.
9013 (special_fill_2pi_3): Likewise.
9014 (special_fill_e): Likewise.
9015 (special_fill_1_e): Likewise.
9016 (special_fill_e_minus_1): Likewise.
9017 (special_real_inputs): Add more special inputs.
9018 (output_for_one_input_case): Do not require ERANGE on underflow to
9019 zero if round-to-nearest result does not underflow to zero, unless
9020 exact results required.
9021 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9022 atan, atanh, cbrt, cos and cosh.
9023 * math/auto-libm-test-out: Regenerated.
9024 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9025 (acos_tonearest_test_data): Likewise.
9026 (acos_towardzero_test_data): Likewise.
9027 (acos_downward_test_data): Likewise.
9028 (acos_upward_test_data): Likewise.
9029 (acosh_test_data): Likewise.
9030 (asin_test_data): Likewise.
9031 (asin_tonearest_test_data): Likewise.
9032 (asin_towardzero_test_data): Likewise.
9033 (asin_upward_test_data): Likewise.
9034 (asinh_test_data): Likewise.
9035 (atan_test_data): Likewise.
9036 (atanh_test_data): Likewise.
9037 (cbrt_test_data): Likewise.
9038 (cos_test_data): Likewise.
9039 (cos_tonearest_test_data): Likewise.
9040 (cos_towardzero_test_data): Likewise.
9041 (cos_downward_test_data): Likewise.
9042 (cos_upward_test_data): Likewise.
9043 (cosh_test_data): Likewise.
9044 (cosh_tonearest_test_data): Likewise.
9045 (cosh_towardzero_test_data): Likewise.
9046 (cosh_downward_test_data): Likewise.
9047 (cosh_upward_test_data): Likewise.
9048 * sysdeps/i386/fpu/libm-test-ulps: Update.
9049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9051 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9054 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9055 * math/w_exp10f.c (__exp10f): Likewise.
9056 * math/w_exp10l.c (__exp10l): Likewise.
9057 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9058 errno settings in existing tests.
9061 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9062 precision control set to double precision.
9063 * sysdeps/i386/fpu/w_sqrt.c: New file.
9064 * math/auto-libm-test-in: Add more tests.
9065 * math/auto-libm-test-out: Update.
9067 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9068 (sqrt_test_tonearest): New function.
9069 (sqrt_towardzero_test_data): New variable.
9070 (sqrt_test_towardzero): New function.
9071 (sqrt_downward_test_data): New variable.
9072 (sqrt_test_downward): New function.
9073 (sqrt_upward_test_data): New variable.
9074 (sqrt_test_upward): New function.
9075 (main): Call the new functions.
9077 * math/gen-auto-libm-tests.c: New file.
9078 * math/auto-libm-test-in: Likewise.
9079 * math/auto-libm-test-out: New generated file.
9080 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9082 (%beautify): Add generated representations of zero.
9083 (top level): Set $auto_input and call parse_auto_input.
9084 (beautify): Remove trailing "f" from hex float constants.
9085 (parse_args): Handle XFAIL_TEST.
9086 (convert_condition): New function.
9087 (or_value): Likewise.
9088 (or_cond_value): Likewise.
9089 (generate_testfile): Handle AUTO_TESTS_* lines.
9090 (parse_auto_input): New function.
9091 * math/libm-test.inc (XFAIL_TEST): New macro.
9092 (ERRNO_UNCHANGED): Update value.
9093 (ERRNO_EDOM): Likewise.
9094 (ERRNO_ERANGE): Likewise.
9095 (IGNORE_RESULT): Likewise.
9096 (TEST_COND_flt_32): New macro.
9097 (TEST_COND_dbl_64): Likewise.
9098 (TEST_COND_ldbl_96_intel): Likewise.
9099 (TEST_COND_ldbl_96_m68k): Likewise.
9100 (TEST_COND_ldbl_128): Likewise.
9101 (TEST_COND_ldbl_128ibm): Likewise.
9102 (TEST_COND_long32): Likewise.
9103 (TEST_COND_long64): Likewise.
9104 (TEST_COND_before_rounding): Likewise.
9105 (TEST_COND_after_rounding): Likewise.
9106 (enable_test): Handle XFAIL_TEST flag.
9107 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9108 with finite results.
9109 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9112 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9113 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9116 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9117 __tls_get_addr_internal instead of __tls_get_offset in order to
9118 avoid GOT pointer dependency. Make rtld export
9119 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9120 __tls_get_addr since we are a __tls_get_offset platform.
9121 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9122 GOT pointer being set up before.
9123 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9125 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9127 * manual/math.texi (Errors in Math Functions): Document accuracy
9131 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9132 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9135 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9137 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9148 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9149 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9150 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9151 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9152 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9154 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9156 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9158 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9159 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9160 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9161 atomic-feupdateenv and flt-rounds.
9162 * sysdeps/powerpc/nofpu/Versions (libc): Add
9163 __atomic_feholdexcept, __atomic_feclearexcept,
9164 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9165 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9166 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9167 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9168 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9173 * manual/arith.texi (FP Exceptions): Document that exceptions may
9174 not be raised when matherr is used.
9175 (Math Error Reporting): Document overflow in directed rounding
9176 modes. Document that errno may not be set when finite values are
9177 returned on overflow. Document intent to set errno on underflow
9178 only for underflow to zero.
9181 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9182 round-to-nearest then adjust result for other rounding modes.
9183 * include/fenv.h (fegetround): Use libm_hidden_proto.
9184 * math/fegetround.c (fegetround): Use libm_hidden_def.
9185 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9186 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9187 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9188 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9190 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9191 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9192 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9193 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9195 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9198 * nss/Versions (libnss_files): Add
9199 _nss_files_gethostbyname3_r.
9200 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9202 (HOST_DB_LOOKUP): Remove macro.
9203 (_nss_files_gethostbyname_r): Implement function without the
9204 HOST_DB_LOOKUP macro.
9205 (_nss_files_gethostbyname2_r): Likewise.
9207 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9209 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9211 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9213 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9214 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9217 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9219 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9220 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9221 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9222 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9223 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9224 __fe_nomask_env_priv and attribute_hidden.
9225 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9226 (libc_feupdateenv_test_ppc): Likewise.
9227 (libc_feresetround_ppc): Likewise.
9228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9229 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9230 compat_symbol macro.
9231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9232 (__fe_nomask_env): Likewise.
9233 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9235 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9237 * string/Makefile: Remove ifunc tests.
9238 * string/test-string.h: Define TEST_IFUNC.
9239 * string/test-bcopy-ifunc.c: Remove.
9240 * string/test-bzero-ifunc.c: Likewise.
9241 * string/test-memccpy-ifunc.c: Likewise.
9242 * string/test-memchr-ifunc.c: Likewise.
9243 * string/test-memcmp-ifunc.c: Likewise.
9244 * string/test-memcpy-ifunc.c: Likewise.
9245 * string/test-memmem-ifunc.c: Likewise.
9246 * string/test-memmove-ifunc.c: Likewise.
9247 * string/test-mempcpy-ifunc.c: Likewise.
9248 * string/test-memrchr-ifunc.c: Likewise.
9249 * string/test-memset-ifunc.c: Likewise.
9250 * string/test-rawmemchr-ifunc.c: Likewise.
9251 * string/test-stpcpy-ifunc.c: Likewise.
9252 * string/test-stpncpy-ifunc.c: Likewise.
9253 * string/test-strcasecmp-ifunc.c: Likewise.
9254 * string/test-strcasestr-ifunc.c: Likewise.
9255 * string/test-strcat-ifunc.c: Likewise.
9256 * string/test-strchr-ifunc.c: Likewise.
9257 * string/test-strchrnul-ifunc.c: Likewise.
9258 * string/test-strcmp-ifunc.c: Likewise.
9259 * string/test-strcpy-ifunc.c: Likewise.
9260 * string/test-strcspn-ifunc.c: Likewise.
9261 * string/test-strlen-ifunc.c: Likewise.
9262 * string/test-strncasecmp-ifunc.c: Likewise.
9263 * string/test-strncat-ifunc.c: Likewise.
9264 * string/test-strncmp-ifunc.c: Likewise.
9265 * string/test-strncpy-ifunc.c: Likewise.
9266 * string/test-strnlen-ifunc.c: Likewise.
9267 * string/test-strpbrk-ifunc.c: Likewise.
9268 * string/test-strrchr-ifunc.c: Likewise.
9269 * string/test-strspn-ifunc.c: Likewise.
9270 * string/test-strstr-ifunc.c: Likewise.
9272 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9274 * benchtests/Makefile: Remove ifunc tests.
9275 * benchtests/bench-string.h: Define TEST_IFUNC.
9276 * benchtests/bench-bcopy-ifunc.c: Remove.
9277 * benchtests/bench-bzero-ifunc.c: Likewise.
9278 * benchtests/bench-memccpy-ifunc.c: Likewise.
9279 * benchtests/bench-memchr-ifunc.c: Likewise.
9280 * benchtests/bench-memcmp-ifunc.c: Likewise.
9281 * benchtests/bench-memcpy-ifunc.c: Likewise.
9282 * benchtests/bench-memmem-ifunc.c: Likewise.
9283 * benchtests/bench-memmove-ifunc.c: Likewise.
9284 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9285 * benchtests/bench-memrchr-ifunc.c: Likewise.
9286 * benchtests/bench-memset-ifunc.c: Likewise.
9287 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9288 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9289 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9290 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9291 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9292 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9293 * benchtests/bench-strcat-ifunc.c: Likewise.
9294 * benchtests/bench-strchr-ifunc.c: Likewise.
9295 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9296 * benchtests/bench-strcmp-ifunc.c: Likewise.
9297 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9298 * benchtests/bench-strcpy-ifunc.c: Likewise.
9299 * benchtests/bench-strcspn-ifunc.c: Likewise.
9300 * benchtests/bench-strlen-ifunc.c: Likewise.
9301 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9302 * benchtests/bench-strncat-ifunc.c: Likewise.
9303 * benchtests/bench-strncmp-ifunc.c: Likewise.
9304 * benchtests/bench-strncpy-ifunc.c: Likewise.
9305 * benchtests/bench-strnlen-ifunc.c: Likewise.
9306 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9307 * benchtests/bench-strrchr-ifunc.c: Likewise.
9308 * benchtests/bench-strsep-ifunc.c: Likewise.
9309 * benchtests/bench-strspn-ifunc.c: Likewise.
9310 * benchtests/bench-strstr-ifunc.c: Likewise.
9312 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9314 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9316 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9318 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9319 * rt/aio.h: Likewise.
9320 * sysdeps/gnu/bits/utmp.h: Likewise.
9321 * sysdeps/gnu/bits/utmpx.h: Likewise.
9322 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9323 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9324 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9325 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9326 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9327 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9328 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9329 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9330 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9331 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9332 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9333 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9334 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9336 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9337 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9338 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9339 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9340 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9341 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9342 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9343 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9344 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9345 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9346 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9348 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9349 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9350 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9351 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9352 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9353 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9354 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9355 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9356 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9357 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9358 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9359 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9360 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9361 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9362 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9363 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9365 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9368 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9369 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9371 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9373 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9374 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9377 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9379 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9380 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9381 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9382 (__fesetround): Remove define.
9383 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9384 rounding and exceptions handling.
9385 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9386 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9387 (__fe_nomask_env): Likewise.
9388 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9389 __fegetround instead of fegetround.
9390 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9391 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9393 2013-11-21 Roland McGrath <roland@hack.frob.com>
9395 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9398 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9400 2013-11-21 Meador Inge <meadori@codesourcery.com>
9403 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9404 (encrypt_r): Likewise.
9405 * malloc/obstack.h (obstack_free): Likewise.
9406 * posix/unistd.h (encrypt): Likewise.
9408 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9410 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9411 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9412 DL_CALL_DT_FINI() that call the functions directly.
9413 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9414 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9415 * elf/dl-fini.c: Likewise.
9417 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9419 * malloc/hooks.c (memalign_check): Add alignment rounding.
9420 * malloc/malloc.c (_mid_memalign): New function.
9421 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9422 Implement by calling _mid_memalign.
9423 * manual/probes.texi (Memory Allocation Probes): Remove
9424 memory_valloc_retry and memory_pvalloc_retry.
9426 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9428 * locale/programs/locarchive.c (open_archive): Add const
9429 qualifier to ARCHIVEFNAME and copy default fname to
9433 * libio/tst-widetext.input: Rename Oriya to Odia.
9434 * locale/iso-639.def: Likewise.
9436 * manual/probes.texi (Mathematical Function Probes): Add
9437 documentation for sin, cos, asin and acos probes.
9438 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9439 (__sin32): Add slowasin probe.
9440 (__cos32): Add slowacos probe.
9441 (__mpsin): Add slowsin probe.
9442 (__mpcos): Add slowcos probe.
9444 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9447 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9448 thread-local __sim_exceptions_thread and global
9449 __sim_exceptions_global.
9450 (__sim_disabled_exceptions): Change to thread-local
9451 __sim_disabled_exceptions_thread and global
9452 __sim_disabled_exceptions_global.
9453 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9454 and global __sim_round_mode_global.
9455 (__simulate_exceptions): Use thread-local floating-point state and
9456 set global state from it as needed.
9457 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9458 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9459 __sim_round_mode_thread.
9460 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9461 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9462 and global __sim_exceptions_global.
9463 (__sim_disabled_exceptions): Change to thread-local
9464 __sim_disabled_exceptions_thread and global
9465 __sim_disabled_exceptions_global.
9466 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9467 and global __sim_round_mode_global.
9468 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9469 (SIM_SET_GLOBAL): Likewise.
9470 * sysdeps/powerpc/soft-fp/sfp-machine.h
9471 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9472 __sim_round_mode_thread.
9473 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9474 __sim_disabled_exceptions_thread.
9475 (__sim_exceptions): Change to __sim_exceptions_thread.
9476 (__sim_disabled_exceptions): Change to
9477 __sim_disabled_exceptions_thread.
9478 (__sim_round_mode): Change to __sim_round_mode_thread.
9479 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9480 thread-local floating-point state and set global state from it as
9482 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9483 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9484 (__sim_disabled_exceptions): Remove extern declaration.
9485 (feenableexcept): Use thread-local floating-point state and set
9486 global state from it as needed.
9487 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9489 (__sim_disabled_exceptions): Likewise.
9490 (__sim_round_mode): Likewise.
9491 (__fegetenv): Use thread-local floating-point state.
9492 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9493 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9494 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9495 floating-point state and set global state from it as needed.
9496 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9497 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9498 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9500 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9501 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9503 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9504 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9505 Use __sim_round_mode_thread.
9506 * math/test-fenv-tls.c: New file.
9507 * math/Makefile (tests): Add test-fenv-tls.
9508 ($(objpfx)test-fenv-tls): Depend on
9509 $(common-objpfx)nptl/libpthread.so.
9511 2013-11-19 Andreas Schwab <schwab@suse.de>
9513 * locale/programs/locale.c (show_info): Decode wordarray elements.
9514 * locale/categories.def (LC_MONETARY): Add element for
9515 _NL_MONETARY_CRNCYSTR.
9516 * locale/C-monetary.c (conversion_rate): New variable.
9517 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9520 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9522 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9523 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9525 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9527 * elf/Makefile (tst-auxv): New test.
9528 * elf/tst-auxv.c: New
9529 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9531 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9533 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9534 (hidden_proto): Caller changed.
9535 (hidden_tls_proto): New macro.
9536 (libc_hidden_tls_proto): Likewise.
9537 (rtld_hidden_tls_proto): Likewise.
9538 (libm_hidden_tls_proto): Likewise.
9539 (libresolv_hidden_tls_proto): Likewise.
9540 (librt_hidden_tls_proto): Likewise.
9541 (libdl_hidden_tls_proto): Likewise.
9542 (libnss_files_hidden_tls_proto): Likewise.
9543 (libnsl_hidden_tls_proto): Likewise.
9544 (libnss_nisplus_hidden_tls_proto): Likewise.
9545 (libutil_hidden_tls_proto): Likewise.
9547 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9550 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9551 (decompose_rpath): Defer expansion to fillin_rpath.
9552 (_dl_init_paths): Pass linkmap to fillin_rpath.
9554 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9556 * benchtests/Makefile: Add strsep.
9557 * benchtests/bench-strsep.c: New file: strsep benchtest.
9558 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9560 2013-11-18 Andreas Schwab <schwab@suse.de>
9562 * locale/programs/locale.c (show_info) [case byte]: Check for
9563 '\377' instead of '\177'.
9564 * locale/C-monetary.c (not_available): Always use "\377".
9565 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9566 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9567 detect unavailable sign_posn locale elements.
9568 * locale/localeconv.c (__localeconv): For grouping and
9569 mon_grouping handle "\177" and "\377" like no grouping.
9570 (INT_ELEM): New macro. Use it to set all numeric members.
9571 * locale/programs/ld-monetary.c (monetary_read)
9572 <tok_mon_grouping>: Normalize single -1 to the empty string.
9573 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9576 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9579 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9580 when we match (nil).
9581 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9583 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9585 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9586 (NO_TEST_INLINE): Update value.
9587 (ERRNO_UNCHANGED): Likewise.
9588 (ERRNO_EDOM): Likewise.
9589 (ERRNO_ERANGE): Likewise.
9590 (IGNORE_RESULT): Likewise.
9591 (check_float_internal): Check signs of NaN results if
9593 (check_complex): Pass TEST_NAN_SIGN flag through to second
9594 check_float_internal call.
9595 (copysign_test_data): Add tests with quiet NaNs as second
9596 argument. Use TEST_NAN_SIGN.
9597 (fabs_test_data): Add test of negative quiet NaN argument. Use
9599 (signbit_test_data): Add tests of quiet NaN argument.
9600 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9602 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9604 (parse_args): Handle function results specified as IGNORE.
9605 * math/libm-test.inc (IGNORE_RESULT): New macro.
9606 (check_float_internal): Do not check numerical result if flag
9608 (check_complex): Pass through IGNORE_RESULT to second
9609 check_float_internal call.
9610 (check_int): Do not check numerical result if flag IGNORE_RESULT
9612 (check_long): Likewise.
9613 (check_bool): Likewise.
9614 (check_longlong): Likewise.
9615 (lrint_test_data): Add tests of infinite and NaN arguments.
9616 (lrint_tonearest_test_data): Likewise.
9617 (lrint_towardzero_test_data): Likewise.
9618 (lrint_downward_test_data): Likewise.
9619 (lrint_upward_test_data): Likewise.
9620 (llrint_test_data): Likewise.
9621 (llrint_tonearest_test_data): Likewise.
9622 (llrint_towardzero_test_data): Likewise.
9623 (llrint_downward_test_data): Likewise.
9624 (llrint_upward_test_data): Likewise.
9625 (lround_test_data): Likewise.
9626 (llround_test_data): Likewise.
9628 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9629 (ERRNO_UNCHANGED): Update value.
9630 (ERRNO_EDOM): Likewise.
9631 (ERRNO_ERANGE): Likewise.
9632 (NO_TEST_INLINE_FLOAT): New macro.
9633 (NO_TEST_INLINE_DOUBLE): Likewise.
9634 (enable_test): New function.
9635 (RUN_TEST_f_f): Check enable_test before running test.
9636 (RUN_TEST_2_f): Likewise.
9637 (RUN_TEST_fff_f): Likewise.
9638 (RUN_TEST_c_f): Likewise.
9639 (RUN_TEST_f_f1): Likewise.
9640 (RUN_TEST_fF_f1): Likewise.
9641 (RUN_TEST_fI_f1): Likewise.
9642 (RUN_TEST_ffI_f1): Likewise.
9643 (RUN_TEST_c_c): Likewise.
9644 (RUN_TEST_cc_c): Likewise.
9645 (RUN_TEST_f_i): Likewise.
9646 (RUN_TEST_f_i_tg): Likewise.
9647 (RUN_TEST_ff_i_tg): Likewise.
9648 (RUN_TEST_f_b): Likewise.
9649 (RUN_TEST_f_b_tg): Likewise.
9650 (RUN_TEST_f_l): Likewise.
9651 (RUN_TEST_f_L): Likewise.
9652 (RUN_TEST_fFF_11): Likewise.
9653 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9655 (cosh_test_data): Likewise.
9656 (exp_test_data): Likewise.
9657 (expm1_test_data): Likewise.
9658 (hypot_test_data): Likewise.
9659 (pow_test_data): Likewise.
9660 (sinh_test_data): Likewise.
9661 (tanh_test_data): Likewise.
9662 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9665 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9666 tests with quiet NaN input and output.
9667 (acosh_test_data): Likewise.
9668 (asin_test_data): Likewise.
9669 (asinh_test_data): Likewise.
9670 (atan_test_data): Likewise.
9671 (atanh_test_data): Likewise.
9672 (atan2_test_data): Likewise.
9673 (cbrt_test_data): Likewise.
9674 (cos_test_data): Likewise.
9675 (cosh_test_data): Likewise.
9676 (erf_test_data): Likewise.
9677 (erfc_test_data): Likewise.
9678 (exp_test_data): Likewise.
9679 (exp10_test_data): Likewise.
9680 (exp2_test_data): Likewise.
9681 (expm1_test_data): Likewise.
9682 (hypot_test_data): Likewise.
9683 (j0_test_data): Likewise.
9684 (j1_test_data): Likewise.
9685 (jn_test_data): Likewise.
9686 (lgamma_test_data): Likewise.
9687 (log_test_data): Likewise.
9688 (log10_test_data): Likewise.
9689 (log1p_test_data): Likewise.
9690 (log2_test_data): Likewise.
9691 (pow_test_data): Likewise.
9692 (scalb_test_data): Likewise.
9693 (sin_test_data): Likewise.
9694 (sincos_test_data): Likewise.
9695 (sinh_test_data): Likewise.
9696 (tan_test_data): Likewise.
9697 (tanh_test_data): Likewise.
9698 (tgamma_test_data): Likewise.
9699 (y0_test_data): Likewise.
9700 (y1_test_data): Likewise.
9701 (yn_test_data): Likewise.
9704 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9705 argument being NaN and avoid computations with second argument in
9707 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9708 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9709 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9711 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9713 * locale/iso-639.def: Add Chitwani Tharu (the).
9715 2013-11-14 Andreas Schwab <schwab@suse.de>
9717 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9718 word instead of empty string.
9720 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9723 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9725 (__fe_nomask_env): Likewise.
9727 2013-11-13 Steve Ellcey <sellcey@mips.com>
9729 * benchtests/bench-timing.h: Include time.h.
9731 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9734 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9736 * sysdeps/unix/sysv/linux/configure: Regenerated.
9738 2013-11-13 Joseph Myers <joseph@codesourcery.com>
9741 * stdlib/strtod_l.c (round_and_return): Do not consider
9742 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9743 exponent one less than half the least subnormal exponent.
9744 * stdlib/test-strtod-round-data: Add more tests.
9745 * stdlib/tst-strtod-round.c (tests): Regenerated.
9747 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9750 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9751 (__fe_mask_env): Likewise.
9752 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9753 libm_hidden_proto and add function prototype.
9754 (__fe_mask_env): Add function prototype.
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9756 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9758 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9760 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9762 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9764 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9765 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9767 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9769 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9770 of htab_find_slot().
9772 2013-11-11 David S. Miller <davem@davemloft.net>
9775 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9776 symbol in the non-vis3 case in static builds.
9777 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9778 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9779 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9780 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9782 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9785 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9788 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9790 * benchtests/Makefile: Add bench-strtod.
9791 * benchtests/bench-strtod.c: New file: strtod benchtest
9793 2013-11-11 Andreas Schwab <schwab@suse.de>
9796 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9797 terminating NUL in key length.
9799 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9801 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9802 Add artificial ODP entry for vDSO symbol for PPC64.
9803 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9804 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9806 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9809 * nss/getent.c (services_keys): Recognize services starting with digit.
9811 2013-11-06 David S. Miller <davem@davemloft.net>
9814 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9815 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9817 2013-11-06 Will Newton <will.newton@linaro.org>
9819 * manual/memory.texi (Malloc Examples): Remove register
9820 keyword from examples.
9822 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
9824 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9826 2013-11-04 Joseph Myers <joseph@codesourcery.com>
9829 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9830 depending on [__GCC_IEC_559 > 0].
9831 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9832 depending on [__GCC_IEC_559_COMPLEX > 0].
9834 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
9836 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9839 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
9841 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9843 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
9846 * malloc/malloc (malloc_info): Do not handle first bin as
9849 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
9851 * locale/iso-639.def: Add Central Nahuatl (nhn).
9853 2013-11-01 Bruno Haible <bruno@clisp.org>
9856 * manual/math.texi (BSD Random): Specify range upper bound as
9859 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
9861 * locale/iso-639.def: Add Meadow Mari (mhr).
9863 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
9865 [BZ #14752], [BZ #15763]
9866 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9868 * rt/tst_shm.c: Add test for escaping directory.
9870 2013-10-31 Andreas Schwab <schwab@suse.de>
9873 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9874 followed by 'x' as part of digit sequence.
9875 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9877 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9880 * configure.ac: allow GNU Make 4.0 and greater.
9881 * configure: Regenerated.
9883 2013-10-30 Will Newton <will.newton@linaro.org>
9886 * malloc/hooks.c (memalign_check): Limit alignment to the
9887 maximum representable power of two.
9888 * malloc/malloc.c (__libc_memalign): Likewise.
9889 * malloc/tst-memalign.c (do_test): Add test for very
9890 large alignment values.
9891 * malloc/tst-posix_memalign.c (do_test): Likewise.
9893 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9896 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9897 (munmap_chunk): Likewise.
9898 (mremap_chunk): Likewise.
9900 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9903 * stdlib/div.c (div): Remove obsolete code.
9904 * stdlib/ldiv.c (ldiv): Likewise.
9905 * stdlib/lldiv.c (lldiv): Likewise.
9907 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9910 * nss/nss_files/files-XXX.c (get_contents_ret): New
9912 (get_contents): New function.
9913 (internal_getent): Use it. Expand size of LINEBUFLEN.
9915 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9917 * configure.in: Moved to ...
9918 * configure.ac: ... here. Change reference to configure.in
9920 * sysdeps/arm/preconfigure.ac: ... here.
9921 configure.in to configure.ac.
9922 * sysdeps/gnu/configure.in: Moved to ...
9923 * sysdeps/gnu/configure.ac: ... here.
9924 * sysdeps/i386/configure.in: Moved to ...
9925 * sysdeps/i386/configure.ac: ... here.
9926 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9927 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9928 * sysdeps/mach/configure.in: Moved to ...
9929 * sysdeps/mach/configure.ac: ... here.
9930 * sysdeps/mach/hurd/configure.in: Moved to ...
9931 * sysdeps/mach/hurd/configure.ac: ... here.
9932 * sysdeps/powerpc/configure.in: Moved to ...
9933 * sysdeps/powerpc/configure.ac: ... here.
9934 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9935 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9936 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9937 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9938 * sysdeps/s390/s390-32/configure.in: Moved to ...
9939 * sysdeps/s390/s390-32/configure.ac: ... here.
9940 * sysdeps/s390/s390-64/configure.in: Moved to ...
9941 * sysdeps/s390/s390-64/configure.ac: ... here.
9942 * sysdeps/sh/configure.in: Moved to ...
9943 * sysdeps/sh/configure.ac: ... here.
9944 * sysdeps/sparc/configure.in: Moved to ...
9945 * sysdeps/sparc/configure.ac: ... here.
9946 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9947 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9948 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9949 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9950 * sysdeps/x86_64/configure.in: Moved to ...
9951 * sysdeps/x86_64/configure.ac: ... here.
9952 * sysdeps/x86_64/preconfigure.in: Moved to ...
9953 * sysdeps/x86_64/preconfigure.ac: ... here.
9954 * aclocal.m4: Change reference to configure.in to configure.ac.
9955 * config.h.in: Likewise.
9956 * manual/install.texi: Likewise.
9957 * manual/maint.texi: Likewise.
9958 * Makefile: Likewise.
9959 * malloc/Makefile: Likewise.
9960 * nscd/Makefile: Likewise.
9961 * Makeconfig: Change reference to configure.in and
9962 preconfigure.in to configure.ac and preconfigure.ac
9964 * INSTALL: Regenerated.
9965 * configure: Likewise.
9966 * sysdeps/gnu/configure: Likewise.
9967 * sysdeps/i386/configure: Likewise.
9968 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9969 * sysdeps/mach/configure: Likewise.
9970 * sysdeps/mach/hurd/configure: Likewise.
9971 * sysdeps/powerpc/configure: Likewise.
9972 * sysdeps/powerpc/powerpc32/configure: Likewise.
9973 * sysdeps/powerpc/powerpc64/configure: Likewise.
9974 * sysdeps/s390/s390-32/configure: Likewise.
9975 * sysdeps/s390/s390-64/configure: Likewise.
9976 * sysdeps/sh/configure: Likewise.
9977 * sysdeps/sparc/configure: Likewise.
9978 * sysdeps/unix/sysv/linux/configure: Likewise.
9979 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9980 * sysdeps/x86_64/configure: Likewise.
9981 * sysdeps/x86_64/preconfigure: Likewise.
9983 2013-10-29 Andreas Schwab <schwab@suse.de>
9985 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9987 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9989 * benchtests/pow-inputs: Add new inputs.
9991 * benchtests/exp-inputs: Add new inputs.
9993 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9994 conditional check for return value.
9995 (__cos32): Likewise.
9997 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9999 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10000 to provide a boost for large inputs with word alignment.
10001 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10002 implementation based on optimized PPC64 strcpy.
10003 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10004 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10005 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10006 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10008 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10011 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10013 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10016 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10017 * time/tst-strptime.c (day_tests): Add testcase.
10019 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10022 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10024 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10027 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10028 MAP_FAILED on error.
10030 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10033 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10034 heap for large requests.
10036 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10039 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10040 result if the result has no associated interface.
10041 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10042 interface for all 127.X.Y.Z addresses.
10044 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10046 * locale/iso-639.def: Add Ligurian (lij)
10048 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10051 * sunrpc/rpc_main.c: Document rpcgen -5.
10053 2013-10-19 Michael Stahl <mstahl@redhat.com>
10055 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10057 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10060 * posix/glob.c: Match only directories when trailing slash is present.
10061 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10062 (main): Add testcase.
10064 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10067 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10069 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10071 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10072 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10073 AUTH_DES and cindex for FIPS 140-2.
10074 (DES Encryption): Add cindex FIPS 46-3.
10076 * locale/locarchive.h (struct locarhandle): Add fname.
10077 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10078 if an optional argument was specified to --list-archive,
10080 * locale/programs/locarchive.c (show_archive_content): Take new
10081 argument fname and pass it via ah.fname to open_archive.
10082 * locale/programs/localedef.h: Update decl.
10083 (open_archive): If AH->fname is non-null, open that file
10084 rather than the default file name, and don't ignore ENOENT.
10085 (create_archive): Set AH.fname to NULL.
10086 (delete_locales_from_archive): Likewise.
10087 (add_locales_to_archive): Likewise.
10088 * locale/programs/locfile.c (write_all_categories): Likewise.
10090 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10091 Aldy Hernandez <aldyh@redhat.com>
10093 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10094 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10095 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10096 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10097 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10098 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10099 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10100 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10101 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10102 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10103 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10104 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10105 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10106 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10107 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10109 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10111 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10113 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10115 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10116 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10118 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10119 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10120 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10121 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10123 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10124 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10125 * sysdeps/powerpc/preconfigure: Likewise.
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10128 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10129 Replace contents of file by #include of <fenv_libc.h>.
10130 * sysdeps/powerpc/soft-fp/sfp-machine.h
10131 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10133 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10134 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10135 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10136 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10137 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10138 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10140 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10141 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10142 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10143 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10144 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10146 Allow copysignl PLT reference to be missing.
10148 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10149 Joseph Myers <joseph@codesourcery.com
10152 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10154 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10156 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10158 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10159 * elf/tst-tls1.c: Likewise.
10160 * elf/tst-tls10.h: Likewise.
10161 * elf/tst-tls14.c: Likewise.
10162 * elf/tst-tls2.c: Likewise.
10163 * elf/tst-tls3.c: Likewise.
10164 * elf/tst-tls4.c: Likewise.
10165 * elf/tst-tls5.c: Likewise.
10166 * elf/tst-tls6.c: Likewise.
10167 * elf/tst-tls7.c: Likewise.
10168 * elf/tst-tls8.c: Likewise.
10169 * elf/tst-tls9.c: Likewise.
10170 * elf/tst-tlsmod1.c: Likewise.
10171 * elf/tst-tlsmod13.c: Likewise.
10172 * elf/tst-tlsmod13a.c: Likewise.
10173 * elf/tst-tlsmod14a.c: Likewise.
10174 * elf/tst-tlsmod16a.c: Likewise.
10175 * elf/tst-tlsmod16b.c: Likewise.
10176 * elf/tst-tlsmod2.c: Likewise.
10177 * elf/tst-tlsmod3.c: Likewise.
10178 * elf/tst-tlsmod4.c: Likewise.
10179 * elf/tst-tlsmod5.c: Likewise.
10180 * elf/tst-tlsmod6.c: Likewise.
10182 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10185 * malloc/malloc.c: remove checks for statistics.
10187 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10190 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10191 * inet/tst-network.c: Add testcase.
10193 2013-10-17 Andreas Schwab <schwab@suse.de>
10196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10197 to determine canonical name.
10199 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10201 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10202 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10203 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10204 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10206 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10207 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10209 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10210 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10211 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10212 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10213 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10214 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10215 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10218 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10219 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10220 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10221 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10222 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10223 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10224 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10225 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10226 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10229 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10230 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10231 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10235 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10236 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10241 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10242 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10243 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10244 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10245 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10246 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10249 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10250 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10252 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10253 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10254 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10258 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10260 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10263 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10264 make result into a quiet NaN.
10266 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10268 * soft-fp/adddf3.c: Fix horizontal whitespace.
10269 * soft-fp/addsf3.c: Likewise.
10270 * soft-fp/addtf3.c: Likewise.
10271 * soft-fp/divdf3.c: Likewise.
10272 * soft-fp/divsf3.c: Likewise.
10273 * soft-fp/divtf3.c: Likewise.
10274 * soft-fp/double.h: Likewise.
10275 * soft-fp/eqdf2.c: Likewise.
10276 * soft-fp/eqsf2.c: Likewise.
10277 * soft-fp/eqtf2.c: Likewise.
10278 * soft-fp/extenddftf2.c: Likewise.
10279 * soft-fp/extended.h: Likewise.
10280 * soft-fp/extendsfdf2.c: Likewise.
10281 * soft-fp/extendsftf2.c: Likewise.
10282 * soft-fp/extendxftf2.c: Likewise.
10283 * soft-fp/fixdfdi.c: Likewise.
10284 * soft-fp/fixdfsi.c: Likewise.
10285 * soft-fp/fixdfti.c: Likewise.
10286 * soft-fp/fixsfdi.c: Likewise.
10287 * soft-fp/fixsfsi.c: Likewise.
10288 * soft-fp/fixsfti.c: Likewise.
10289 * soft-fp/fixtfdi.c: Likewise.
10290 * soft-fp/fixtfsi.c: Likewise.
10291 * soft-fp/fixtfti.c: Likewise.
10292 * soft-fp/fixunsdfdi.c: Likewise.
10293 * soft-fp/fixunsdfsi.c: Likewise.
10294 * soft-fp/fixunsdfti.c: Likewise.
10295 * soft-fp/fixunssfdi.c: Likewise.
10296 * soft-fp/fixunssfsi.c: Likewise.
10297 * soft-fp/fixunssfti.c: Likewise.
10298 * soft-fp/fixunstfdi.c: Likewise.
10299 * soft-fp/fixunstfsi.c: Likewise.
10300 * soft-fp/fixunstfti.c: Likewise.
10301 * soft-fp/floatdidf.c: Likewise.
10302 * soft-fp/floatdisf.c: Likewise.
10303 * soft-fp/floatditf.c: Likewise.
10304 * soft-fp/floatsidf.c: Likewise.
10305 * soft-fp/floatsisf.c: Likewise.
10306 * soft-fp/floatsitf.c: Likewise.
10307 * soft-fp/floattidf.c: Likewise.
10308 * soft-fp/floattisf.c: Likewise.
10309 * soft-fp/floattitf.c: Likewise.
10310 * soft-fp/floatundidf.c: Likewise.
10311 * soft-fp/floatundisf.c: Likewise.
10312 * soft-fp/floatunditf.c: Likewise.
10313 * soft-fp/floatunsidf.c: Likewise.
10314 * soft-fp/floatunsisf.c: Likewise.
10315 * soft-fp/floatunsitf.c: Likewise.
10316 * soft-fp/floatuntidf.c: Likewise.
10317 * soft-fp/floatuntisf.c: Likewise.
10318 * soft-fp/floatuntitf.c: Likewise.
10319 * soft-fp/fmadf4.c: Likewise.
10320 * soft-fp/fmasf4.c: Likewise.
10321 * soft-fp/fmatf4.c: Likewise.
10322 * soft-fp/gedf2.c: Likewise.
10323 * soft-fp/gesf2.c: Likewise.
10324 * soft-fp/getf2.c: Likewise.
10325 * soft-fp/ledf2.c: Likewise.
10326 * soft-fp/lesf2.c: Likewise.
10327 * soft-fp/letf2.c: Likewise.
10328 * soft-fp/muldf3.c: Likewise.
10329 * soft-fp/mulsf3.c: Likewise.
10330 * soft-fp/multf3.c: Likewise.
10331 * soft-fp/negdf2.c: Likewise.
10332 * soft-fp/negsf2.c: Likewise.
10333 * soft-fp/negtf2.c: Likewise.
10334 * soft-fp/op-1.h: Likewise.
10335 * soft-fp/op-2.h: Likewise.
10336 * soft-fp/op-4.h: Likewise.
10337 * soft-fp/op-8.h: Likewise.
10338 * soft-fp/op-common.h: Likewise.
10339 * soft-fp/quad.h: Likewise.
10340 * soft-fp/single.h: Likewise.
10341 * soft-fp/soft-fp.h: Likewise.
10342 * soft-fp/sqrtdf2.c: Likewise.
10343 * soft-fp/sqrtsf2.c: Likewise.
10344 * soft-fp/sqrttf2.c: Likewise.
10345 * soft-fp/subdf3.c: Likewise.
10346 * soft-fp/subsf3.c: Likewise.
10347 * soft-fp/subtf3.c: Likewise.
10348 * soft-fp/truncdfsf2.c: Likewise.
10349 * soft-fp/trunctfdf2.c: Likewise.
10350 * soft-fp/trunctfsf2.c: Likewise.
10351 * soft-fp/trunctfxf2.c: Likewise.
10352 * soft-fp/unorddf2.c: Likewise.
10353 * soft-fp/unordsf2.c: Likewise.
10354 * soft-fp/unordtf2.c: Likewise.
10356 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10358 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10359 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10361 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10363 * elf/dl-libc.c: Clear initfini list after freeing.
10365 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10367 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10368 * soft-fp/addsf3.c: Likewise.
10369 * soft-fp/addtf3.c: Likewise.
10370 * soft-fp/divdf3.c: Likewise.
10371 * soft-fp/divsf3.c: Likewise.
10372 * soft-fp/divtf3.c: Likewise.
10373 * soft-fp/double.h: Likewise.
10374 * soft-fp/eqdf2.c: Likewise.
10375 * soft-fp/eqsf2.c: Likewise.
10376 * soft-fp/eqtf2.c: Likewise.
10377 * soft-fp/extenddftf2.c: Likewise.
10378 * soft-fp/extended.h: Likewise.
10379 * soft-fp/extendsfdf2.c: Likewise.
10380 * soft-fp/extendsftf2.c: Likewise.
10381 * soft-fp/extendxftf2.c: Likewise.
10382 * soft-fp/fixdfdi.c: Likewise.
10383 * soft-fp/fixdfsi.c: Likewise.
10384 * soft-fp/fixdfti.c: Likewise.
10385 * soft-fp/fixsfdi.c: Likewise.
10386 * soft-fp/fixsfsi.c: Likewise.
10387 * soft-fp/fixsfti.c: Likewise.
10388 * soft-fp/fixtfdi.c: Likewise.
10389 * soft-fp/fixtfsi.c: Likewise.
10390 * soft-fp/fixtfti.c: Likewise.
10391 * soft-fp/fixunsdfdi.c: Likewise.
10392 * soft-fp/fixunsdfsi.c: Likewise.
10393 * soft-fp/fixunsdfti.c: Likewise.
10394 * soft-fp/fixunssfdi.c: Likewise.
10395 * soft-fp/fixunssfsi.c: Likewise.
10396 * soft-fp/fixunssfti.c: Likewise.
10397 * soft-fp/fixunstfdi.c: Likewise.
10398 * soft-fp/fixunstfsi.c: Likewise.
10399 * soft-fp/fixunstfti.c: Likewise.
10400 * soft-fp/floatdidf.c: Likewise.
10401 * soft-fp/floatdisf.c: Likewise.
10402 * soft-fp/floatditf.c: Likewise.
10403 * soft-fp/floatsidf.c: Likewise.
10404 * soft-fp/floatsisf.c: Likewise.
10405 * soft-fp/floatsitf.c: Likewise.
10406 * soft-fp/floattidf.c: Likewise.
10407 * soft-fp/floattisf.c: Likewise.
10408 * soft-fp/floattitf.c: Likewise.
10409 * soft-fp/floatundidf.c: Likewise.
10410 * soft-fp/floatundisf.c: Likewise.
10411 * soft-fp/floatunsidf.c: Likewise.
10412 * soft-fp/floatunsisf.c: Likewise.
10413 * soft-fp/floatuntidf.c: Likewise.
10414 * soft-fp/floatuntisf.c: Likewise.
10415 * soft-fp/floatuntitf.c: Likewise.
10416 * soft-fp/fmadf4.c: Likewise.
10417 * soft-fp/fmasf4.c: Likewise.
10418 * soft-fp/fmatf4.c: Likewise.
10419 * soft-fp/gedf2.c: Likewise.
10420 * soft-fp/gesf2.c: Likewise.
10421 * soft-fp/getf2.c: Likewise.
10422 * soft-fp/ledf2.c: Likewise.
10423 * soft-fp/lesf2.c: Likewise.
10424 * soft-fp/letf2.c: Likewise.
10425 * soft-fp/muldf3.c: Likewise.
10426 * soft-fp/mulsf3.c: Likewise.
10427 * soft-fp/multf3.c: Likewise.
10428 * soft-fp/negdf2.c: Likewise.
10429 * soft-fp/negsf2.c: Likewise.
10430 * soft-fp/negtf2.c: Likewise.
10431 * soft-fp/op-1.h: Likewise.
10432 * soft-fp/op-2.h: Likewise.
10433 * soft-fp/op-4.h: Likewise.
10434 * soft-fp/op-8.h: Likewise.
10435 * soft-fp/op-common.h: Likewise.
10436 * soft-fp/quad.h: Likewise.
10437 * soft-fp/single.h: Likewise.
10438 * soft-fp/soft-fp.h: Likewise.
10439 * soft-fp/sqrtdf2.c: Likewise.
10440 * soft-fp/sqrtsf2.c: Likewise.
10441 * soft-fp/sqrttf2.c: Likewise.
10442 * soft-fp/subdf3.c: Likewise.
10443 * soft-fp/subsf3.c: Likewise.
10444 * soft-fp/subtf3.c: Likewise.
10445 * soft-fp/truncdfsf2.c: Likewise.
10446 * soft-fp/trunctfdf2.c: Likewise.
10447 * soft-fp/trunctfsf2.c: Likewise.
10448 * soft-fp/trunctfxf2.c: Likewise.
10449 * soft-fp/unorddf2.c: Likewise.
10450 * soft-fp/unordsf2.c: Likewise.
10451 * soft-fp/unordtf2.c: Likewise.
10453 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10456 * misc/error.c (error_tail): Fix possible buffer overflow.
10458 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10461 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10464 2013-10-14 P. J. McDermott <pj@pehjota.net>
10467 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10468 testing pipefail option.
10470 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10472 * soft-fp/double.h: Indent preprocessor directives inside #if.
10473 * soft-fp/extended.h: Likewise.
10474 * soft-fp/op-2.h: Likewise.
10475 * soft-fp/op-4.h: Likewise.
10476 * soft-fp/op-common.h: Likewise.
10477 * soft-fp/quad.h: Likewise.
10478 * soft-fp/single.h: Likewise.
10479 * soft-fp/soft-fp.h: Likewise.
10481 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10483 * iconv/iconv_prog.c: Fix typos.
10484 * stdio-common/psiginfo-data.h: Likewise.
10486 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10489 * locale/setlocale.c: Fix typo.
10491 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10494 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10495 signaling NaN arguments.
10496 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10497 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10500 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10501 unordered operands.
10502 * soft-fp/gesf2.c (__gesf2): Likewise.
10503 * soft-fp/getf2.c (__getf2): Likewise.
10504 * soft-fp/ledf2.c (__ledf2): Likewise.
10505 * soft-fp/lesf2.c (__lesf2): Likewise.
10506 * soft-fp/letf2.c (__letf2): Likewise.
10508 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10509 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10510 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10511 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10512 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10513 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10514 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10515 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10516 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10517 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10518 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10519 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10520 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10521 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10522 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10523 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10524 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10525 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10526 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10527 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10528 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10529 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10530 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10531 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10532 * soft-fp/floattidf.c (__floattidf): Likewise.
10533 * soft-fp/floattisf.c (__floattisf): Likewise.
10534 * soft-fp/floattitf.c (__floattitf): Likewise.
10535 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10536 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10537 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10538 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10539 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10540 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10541 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10542 * soft-fp/gesf2.c (__gesf2): Likewise.
10543 * soft-fp/getf2.c (__getf2): Likewise.
10544 * soft-fp/ledf2.c (__ledf2): Likewise.
10545 * soft-fp/lesf2.c (__lesf2): Likewise.
10546 * soft-fp/letf2.c (__letf2): Likewise.
10548 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10549 Undefine and redefine.
10550 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10551 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10552 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10553 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10554 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10555 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10556 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10557 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10558 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10559 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10560 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10561 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10562 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10563 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10564 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10567 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10568 without decrementing exponent if mantissa >= that for the
10569 denominator, not >.
10570 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10571 denominator, not >. Decrement exponent in < case instead of
10572 incrementing in >= case.
10573 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10574 without decrementing exponent if mantissa >= that for the
10575 denominator, not >.
10577 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10578 computing saturated result for unsigned overflow.
10580 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10581 Jeff Law <law@redhat.com>
10583 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10584 (atan2Mp): Add systemtap probe marker.
10585 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10586 (__ieee754_log): Add systemtap probe marker.
10587 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10588 (atanMp): Add systemtap probe marker.
10589 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10590 (tanMp): Add systemtap probe marker.
10591 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10592 (__slowexp): Add systemtap probe marker.
10593 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10594 (__slowpow): Add systemtap probe marker.
10595 * manual/probes.texi: Document probes.
10597 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10600 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10602 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10604 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10605 written to buffer but not flushed.
10606 * libio/iofwrite_u.c: Likewise.
10607 * libio/iopadn.c: Return bytes returned even if EOF was
10609 * libio/iowpadn.c: Likewise.
10610 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10611 if _IO_padn does not write the whole buffer.
10612 [!COMPILE_WPRINTF] (PAD): Likewise.
10614 2013-10-10 David S. Miller <davem@davemloft.net>
10616 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10619 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10621 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10622 instead of FSF address.
10623 * soft-fp/fixdfti.c: Likewise.
10624 * soft-fp/fixsfti.c: Likewise.
10625 * soft-fp/fixtfti.c: Likewise.
10626 * soft-fp/fixunsdfti.c: Likewise.
10627 * soft-fp/fixunssfti.c: Likewise.
10628 * soft-fp/fixunstfti.c: Likewise.
10629 * soft-fp/floattidf.c: Likewise.
10630 * soft-fp/floattisf.c: Likewise.
10631 * soft-fp/floattitf.c: Likewise.
10632 * soft-fp/floatuntidf.c: Likewise.
10633 * soft-fp/floatuntisf.c: Likewise.
10634 * soft-fp/floatuntitf.c: Likewise.
10635 * soft-fp/trunctfxf2.c: Likewise.
10637 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10638 * soft-fp/fixdfti.c: Likewise.
10639 * soft-fp/fixsfti.c: Likewise.
10640 * soft-fp/fixtfti.c: Likewise.
10641 * soft-fp/fixunsdfti.c: Likewise.
10642 * soft-fp/fixunssfti.c: Likewise.
10643 * soft-fp/fixunstfti.c: Likewise.
10644 * soft-fp/floattidf.c: Likewise.
10645 * soft-fp/floattisf.c: Likewise.
10646 * soft-fp/floattitf.c: Likewise.
10647 * soft-fp/floatuntidf.c: Likewise.
10648 * soft-fp/floatuntisf.c: Likewise.
10649 * soft-fp/floatuntitf.c: Likewise.
10650 * soft-fp/trunctfxf2.c: Likewise.
10652 2013-10-10 David S. Miller <davem@davemloft.net>
10654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10656 2013-10-10 Joseph Myers <joseph@codsourcery.com>
10658 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10659 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10660 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10661 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10662 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10663 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10664 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10666 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10667 for NaNs before doing comparisons on argument.
10668 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10671 2013-10-10 Will Newton <will.newton@linaro.org>
10673 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10674 passed to _int_memalign does not overflow.
10676 2013-10-10 Torvald Riegel <triegel@redhat.com>
10678 * scripts/bench.pl: Add include-sources directive.
10679 * benchtests/README: Update documentation.
10681 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10683 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10684 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10685 instead of FP_INIT_ROUNDMODE.
10686 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10687 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10690 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10691 copy class of input value.
10692 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10693 not handle exceptions.
10694 * soft-fp/negsf2.c (__negsf2): Likewise.
10695 * soft-fp/negtf2.c (__negtf2): Likewise.
10696 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10698 2013-10-09 Joseph Myers <joseph@codesourcery.com>
10700 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10701 semicolon. From Linux kernel.
10703 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10705 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10707 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10710 * manual/socket.texi: Added statement about buffer
10711 for gethostbyname2_r.
10713 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
10715 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10716 Use .p2align directive instead, throughout.
10717 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10718 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10719 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10721 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10722 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10723 * sysdeps/x86_64/strchr.S: Likewise.
10724 * sysdeps/x86_64/strrchr.S: Likewise.
10726 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10728 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10730 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10732 * sysdeps/generic/math_private.h (__mpsin1): Remove
10734 (__mpcos1): Likewise.
10735 (__mpsin): New argument __range_reduce.
10736 (__mpcos): Likewise.
10737 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10738 (slow): Use __mpsin and __mpcos.
10742 (sloww1): Likewise.
10743 (sloww2): Likewise.
10744 (bsloww): Likewise.
10745 (bsloww1): Likewise.
10746 (bsloww2): Likewise.
10747 (cslow2): Likewise.
10748 (csloww): Likewise.
10749 (csloww1): Likewise.
10750 (csloww2): Likewise.
10751 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10752 range_reduce. Merge in __mpsin1.
10753 (__mpcos): Likewise.
10754 (__mpsin1): Remove.
10755 (__mpcos1): Likewise.
10757 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10759 * locale/loadlocale.c (_nl_intern_locale_data): Use
10761 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10762 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10763 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10764 obstack data is appropriately aligned.
10765 (obstack_int32_grow_fast): Likewise.
10766 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10767 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10768 (add_locale_uint32_array): Likewise.
10770 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10772 * benchtests/Makefile: Remove ARGLIST and RET variables.
10773 ($(objpfx)bench-%.c): Pass only function name to the script.
10774 * benchtests/README: Update documentation.
10775 * benchtests/acos-inputs: Add new directives.
10776 * benchtests/acosh-inputs: Likewise.
10777 * benchtests/asin-inputs: Likewise.
10778 * benchtests/asinh-inputs: Likewise.
10779 * benchtests/atan-inputs: Likewise.
10780 * benchtests/atanh-inputs: Likewise.
10781 * benchtests/cos-inputs: Likewise.
10782 * benchtests/cosh-inputs: Likewise.
10783 * benchtests/exp-inputs: Likewise.
10784 * benchtests/log-inputs: Likewise.
10785 * benchtests/pow-inputs: Likewise.
10786 * benchtests/rint-inputs: Likewise.
10787 * benchtests/sin-inputs: Likewise.
10788 * benchtests/sinh-inputs: Likewise.
10789 * benchtests/tan-inputs: Likewise.
10790 * benchtests/tanh-inputs: Likewise.
10791 * scripts/bench.pl: Add support for new directives.
10793 2013-10-07 Alan Modra <amodra@gmail.com>
10795 * README: Fix careless merge.
10797 2013-10-05 Alan Modra <amodra@gmail.com>
10799 * NEWS: Mention powerpc64le support and bugs fixed.
10800 * README: Both big-endian and little-endian powerpc64 supported.
10802 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10804 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10805 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10806 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10807 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10809 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10811 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10814 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10816 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10817 Move -mhard-float appending from
10818 ports/sysdeps/powerpc/powerpc32/Makefile.
10819 [$(with-fp) = yes] (ASFLAGS): Likewise.
10820 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10821 * sysdeps/powerpc/nofpu: Move directory from
10822 ports/sysdeps/powerpc/nofpu.
10823 * sysdeps/powerpc/soft-fp: Move directory from
10824 ports/sysdeps/powerpc/soft-fp.
10825 * sysdeps/powerpc/powerpc32/405: Move directory from
10826 ports/sysdeps/powerpc/powerpc32/405.
10827 * sysdeps/powerpc/powerpc32/440: Move directory from
10828 ports/sysdeps/powerpc/powerpc32/440.
10829 * sysdeps/powerpc/powerpc32/464: Move directory from
10830 ports/sysdeps/powerpc/powerpc32/464.
10831 * sysdeps/powerpc/powerpc32/476: Move directory from
10832 ports/sysdeps/powerpc/powerpc32/476.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10834 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10836 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10838 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10840 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10842 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10843 * README: Update for powerpc-*-linux-gnu software floating point
10846 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10847 case to powerpc/powerpc32*.
10848 * sysdeps/unix/sysv/linux/configure: Regenerated.
10850 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10851 (_FPU_MASK_OM): Define as 0x04.
10852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10860 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10863 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10866 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10867 and setcontext_e500.
10869 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10871 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10873 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10875 * manual/threads.texi (Default Thread Attributes): Fix typo.
10877 2013-10-04 Will Newton <will.newton@linaro.org>
10879 * malloc/Makefile: Add tst-memalign.
10880 * malloc/tst-memalign.c: New file.
10882 * malloc/tst-posix_memalign.c: Add comments.
10883 (do_test): Add comments and call free on all potentially
10884 allocated pointers. Add space after cast.
10886 * malloc/tst-pvalloc.c: Add comments.
10887 (do_test): Add comments and call free on all potentially
10888 allocated pointers. Remove duplicate check for NULL pointer.
10889 Add space after cast.
10891 * malloc/tst-valloc.c: Add comments.
10892 (do_test): Add comments and call free on all potentially
10893 allocated pointers. Remove duplicate check for NULL pointer.
10894 Add space after cast.
10896 2013-10-04 Alan Modra <amodra@gmail.com>
10898 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10899 Use stdint types in rather than __attribute__((mode())).
10900 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10902 2013-10-04 Alan Modra <amodra@gmail.com>
10904 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10905 Correct handling of unaligned relocs for little-endian.
10906 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10908 2013-10-04 Alan Modra <amodra@gmail.com>
10910 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10911 * configure: Regenerate.
10912 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10913 * shlib-versions: Likewise.
10915 2013-10-04 Alan Modra <amodra@gmail.com>
10917 * string/tester.c (test_memrchr): Increment reported test cycle.
10919 2013-10-04 Alan Modra <amodra@gmail.com>
10921 * string/test-memcpy.c (do_one_test): When reporting errors, print
10922 string address and don't overrun end of string.
10924 2013-10-04 Alan Modra <amodra@gmail.com>
10926 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10927 insrdi. Make better use of reg selection to speed exit slightly.
10928 Schedule entry path a little better. Remove useless "are we done"
10929 checks on entry to main loop. Handle wrapping around zero address.
10930 Correct main loop count. Handle single left-over word from main
10931 loop inline rather than by using loop_small. Remove extra word
10932 case in loop_small caused by wrong loop count. Add little-endian
10934 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10935 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10937 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10938 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10939 support. Avoid rlwimi.
10940 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10942 2013-10-04 Alan Modra <amodra@gmail.com>
10944 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10945 insrdi. Formatting.
10946 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10947 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10948 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10949 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10950 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10951 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10953 2013-10-04 Alan Modra <amodra@gmail.com>
10955 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10956 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10957 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10958 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10959 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10960 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10961 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10962 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10963 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10964 use of regs. Use power7 mtocrf. Tidy function tails.
10966 2013-10-04 Alan Modra <amodra@gmail.com>
10968 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10969 Formatting. Consistently use rXXX register defines or rN defines.
10970 Use early exit labels that avoid restoring unused non-volatile regs.
10971 Make cr field use more consistent with rWORDn compares. Rename
10972 regs used as shift registers for unaligned loop, using rN defines
10973 for short lifetime/multiple use regs.
10974 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10975 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10976 addi 1,1,64 to pop stack frame. Simplify return value code.
10977 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10979 2013-10-04 Alan Modra <amodra@gmail.com>
10981 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10982 support. Correct typos, formatting. Optimize tail. Use insrdi
10983 rather than rlwimi.
10984 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10985 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10986 little-endian support. Correct typos.
10987 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10988 rather than rlwimi.
10989 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10990 in loop and entry code to keep "and." results.
10991 (strchr): Add little-endian support. Comment. Move cntlzd
10993 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10995 2013-10-04 Alan Modra <amodra@gmail.com>
10997 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10998 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10999 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11000 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11002 2013-10-04 Alan Modra <amodra@gmail.com>
11004 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11005 (rTMP): Define as r11.
11006 (strcmp): Add little-endian support. Optimise tail.
11007 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11008 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11009 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11010 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11011 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11013 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11015 2013-10-04 Alan Modra <amodra@gmail.com>
11017 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11018 little-endian support. Remove unnecessary "are we done" tests.
11019 Handle "s" wrapping around zero and extremely large "size".
11020 Correct main loop count. Handle single left-over word from main
11021 loop inline rather than by using small_loop. Correct comments.
11022 Delete "zero" tail, use "end_max" instead.
11023 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11025 2013-10-04 Alan Modra <amodra@gmail.com>
11027 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11028 support. Don't branch over align.
11029 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11030 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11031 support. Rearrange tmp reg use to suit. Comment.
11032 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11034 2013-10-04 Alan Modra <amodra@gmail.com>
11036 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11038 2013-10-04 Alan Modra <amodra@gmail.com>
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11041 conditional form of branch and link when obtaining pc.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11044 2013-10-04 Alan Modra <amodra@gmail.com>
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11051 2013-10-04 Alan Modra <amodra@gmail.com>
11053 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11054 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11055 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11056 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11057 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11058 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11059 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11060 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11061 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11062 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11064 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11065 Alistair Popple <alistair@ozlabs.au.ibm.com>
11066 Alan Modra <amodra@gmail.com>
11069 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11070 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11071 _dl_hwcap access for little-endian.
11072 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11073 destroy vmx regs when saving unaligned.
11074 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11075 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11076 destroy vmx regs when saving unaligned.
11078 2013-10-04 Alan Modra <amodra@gmail.com>
11080 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11081 Don't use a union to pack hi/low value.
11083 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11085 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11087 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11088 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11089 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11090 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11091 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11093 2013-10-04 Alan Modra <amodra@gmail.com>
11095 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11096 constants to usual value for .cst8 section, and remove redundant
11098 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11099 constant for 0x1p52. Load little-endian words of double from
11100 correct stack offsets.
11102 2013-10-04 Alan Modra <amodra@gmail.com>
11104 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11105 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11106 words of double from correct stack offsets.
11107 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11108 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11109 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11110 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11111 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11112 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11113 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11114 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11115 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11116 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11117 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11118 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11119 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11120 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11121 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11122 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11123 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11125 2013-10-04 Alan Modra <amodra@gmail.com>
11127 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11128 64-bit int/double union.
11129 (_FPU_SETCW): Likewise.
11130 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11131 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11133 2013-10-04 Alan Modra <amodra@gmail.com>
11135 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11136 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11138 2013-10-04 Alan Modra <amodra@gmail.com>
11140 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11141 use vector int constants.
11142 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11144 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11146 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11147 array with long long.
11148 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11149 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11150 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11151 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11152 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11153 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11154 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11155 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11156 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11157 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11158 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11159 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11160 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11162 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11164 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11165 (__signbit): Likewise. Correct for little-endian.
11166 (__signbitl): Call __signbit.
11167 (lrint): Correct for little-endian.
11168 (lrintf): Call lrint.
11170 2013-10-04 Alan Modra <amodra@gmail.com>
11172 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11173 union 32-bit int array member with 64-bit int array.
11174 (t515, tm256): Double rather than long double.
11175 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11177 2013-10-04 Alan Modra <amodra@gmail.com>
11179 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11181 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11182 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11183 version of math_ldbl.h.
11185 2013-10-04 Alan Modra <amodra@gmail.com>
11187 [BZ #15734], [BZ #15735]
11188 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11189 all uses of ieee875 long double macros and unions. Simplify test
11190 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11191 ldbl_extract_mantissa value for ix,iy exponents. Properly
11192 normalize after ldbl_extract_mantissa, and don't add hidden bit
11193 already handled. Don't treat low word of ieee854 mantissa like
11194 low word of IBM long double and mask off bit when testing for
11196 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11197 all uses of ieee875 long double macros and unions. Simplify tests
11198 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11199 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11200 two1022, instead use their values. Recognise that tests for large
11201 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11202 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11203 Rewrite all uses of ieee875 long double macros and unions. Simplify
11204 test for 0.0L and nan. Correct negation.
11205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11206 ieee875 long double macros and unions. Correct output for large
11207 magnitude x. Correct absolute value calculation.
11208 (__erfcl): Likewise.
11209 * math/libm-test.inc: Add tests for errors discovered in IBM long
11210 double versions of fmodl, remainderl, erfl and erfcl.
11212 2013-10-04 Alan Modra <amodra@gmail.com>
11214 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11215 all uses of ieee854 long double macros and unions. Simplify tests
11216 for long doubles that are fully specified by the high double.
11217 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11219 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11220 Remove dead code too.
11221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11222 (__ieee754_ynl): Likewise.
11223 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11224 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11225 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11226 Remove dead code too.
11227 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11228 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11229 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11230 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11232 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11234 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11235 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11236 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11237 Comment on variable precision.
11238 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11239 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11241 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11242 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11243 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11244 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11245 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11247 2013-10-04 Alan Modra <amodra@gmail.com>
11249 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11250 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11251 all uses of ieee854 long double macros and unions.
11252 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11254 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11256 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11260 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11261 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11262 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11263 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11264 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11265 Simplify sign and nan test too.
11266 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11267 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11268 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11269 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11271 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11272 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11274 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11275 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11276 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11277 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11278 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11281 2013-10-04 Alan Modra <amodra@gmail.com>
11283 * stdio-common/printf_size.c (__printf_size): Don't use
11284 union ieee854_long_double in fpnum union.
11285 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11286 signbit macro to retrieve sign from long double.
11287 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11288 retrieve sign from long double.
11289 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11290 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11291 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11292 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11293 * math/test-misc.c (main): Don't use union ieee854_long_double.
11295 2013-10-04 Alan Modra <amodra@gmail.com>
11298 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11299 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11300 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11301 calculation. Remove unnecessary test for denormal exponent.
11302 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11303 Correct handling of denormals. Avoid undefined shift behaviour.
11304 Correct normalisation of low mantissa when low double is denormal.
11305 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11306 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11307 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11308 Correct normalisation of low mantissa. Test for overflow of high
11309 mantissa and normalise.
11310 (ldbl_nearbyint): Use more readable constant for two52.
11311 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11312 (__mpn_construct_long_double): Fix test for overflow of high
11313 mantissa and correct normalisation. Avoid undefined shift.
11315 2013-10-04 Alan Modra <amodra@gmail.com>
11317 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11318 (union ibm_extended_long_double): Define as an array of ieee754_double.
11319 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11320 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11321 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11322 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11326 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11331 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11333 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11334 page size instead of calling getpagesize.
11336 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11337 (LOCFILE_ALIGN_MASK): Likewise.
11338 (LOCFILE_ALIGN_UP): Likewise.
11339 (LOCFILE_ALIGNED_P): Likewise.
11340 * locale/programs/ld-collate.c (collate_output): Use the new
11341 macros instead of __alignof__ (int32_t).
11342 * locale/weight.h (findidx): Likewise.
11344 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11347 * manual/string.texi: Fix strncat and wcsncat.
11349 2013-10-03 Brooks Moses <bmoses@google.com>
11352 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11353 * Makerules: ...here, and adjust associated comments.
11355 2013-10-02 Will Newton <will.newton@linaro.org>
11357 * malloc/Makefile: Add tst-pvalloc.
11358 * malloc/tst-pvalloc.c: New file.
11360 2013-10-02 Will Newton <will.newton@linaro.org>
11362 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11363 improve test coverage.
11365 2013-10-02 Will Newton <will.newton@linaro.org>
11367 * malloc/Makefile: Add tst-posix_memalign.
11368 * malloc/tst-posix_memalign.c: New file.
11370 2013-10-01 Eric Blake <eblake@redhat.com>
11372 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11373 Use __THROWNL rather than __THROW on static functions.
11375 2013-09-30 Petr Machata <pmachata@redhat.com>
11377 * elf/elf.h (R_AARCH64_ABS16): New macro.
11378 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11379 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11380 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11381 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11382 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11383 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11384 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11385 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11386 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11387 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11388 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11389 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11390 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11391 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11392 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11393 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11394 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11395 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11396 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11397 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11398 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11399 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11400 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11401 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11402 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11403 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11404 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11405 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11406 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11407 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11408 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11409 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11410 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11411 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11412 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11413 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11414 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11415 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11416 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11417 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11418 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11419 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11420 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11421 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11422 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11423 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11424 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11425 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11426 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11427 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11428 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11429 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11430 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11431 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11432 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11433 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11434 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11435 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11436 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11437 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11438 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11439 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11440 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11441 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11442 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11443 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11444 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11445 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11446 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11447 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11448 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11449 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11450 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11451 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11452 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11453 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11454 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11455 (R_AARCH64_TLSDESC_LDR): Likewise.
11456 (R_AARCH64_TLSDESC_ADD): Likewise.
11457 (R_AARCH64_TLSDESC_CALL): Likewise.
11459 2013-09-30 Andreas Schwab <schwab@suse.de>
11462 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11463 the nss database lookup.
11464 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11467 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11469 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11471 2013-09-28 P. J. McDermott <pj@pehjota.net>
11473 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11474 ${Bash-specific parameter/pattern/string} parameter expansion.
11475 * sysdeps/unix/make-syscalls.sh: Likewise.
11477 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11479 * sysdeps/sh/stackguard-macros.h: New file.
11481 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11484 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11485 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11486 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11487 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11488 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11490 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11492 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11493 Fix thread ID register.
11495 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11497 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11498 [POSIX || UNIX98]: Require rather than permitting all symbols from
11500 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11501 element of struct sched_param.
11502 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11503 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11504 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11505 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11508 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11510 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11511 argument calculation.
11513 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11515 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11517 [POSIX] (pthread_attr_t): Do not require type.
11518 [POSIX] (pthread_cond_t): Likewise.
11519 [POSIX] (pthread_condattr_t): Likewise.
11520 [POSIX] (pthread_key_t): Likewise.
11521 [POSIX] (pthread_mutex_t): Likewise.
11522 [POSIX] (pthread_mutexattr_t): Likewise.
11523 [POSIX] (pthread_once_t): Likewise.
11524 [POSIX] (pthread_t): Likewise.
11525 [POSIX-based standards] (pthread_atfork): Expect function.
11527 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11528 Richard Sandiford <richard@codesourcery.com>
11530 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11531 (swap_endianness_p): New extern variable.
11532 (set_big_endian): New inline function.
11533 (maybe_swap_uint32): Likewise.
11534 (maybe_swap_uint32_array): Likewise.
11535 (maybe_swap_uint32_obstack): Likewise.
11536 * locale/programs/locfile.c: Include <stdbool.h>.
11537 (swap_endianness_p): New variable.
11538 (add_locale_uint32): Call maybe_swap_uint32.
11539 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11540 (write_locale_data): Call maybe_swap_uint32_array.
11541 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11543 (obstack_int32_grow_fast): Likewise.
11544 (output_weightwc): Call maybe_swap_uint32_obstack.
11545 (collate_output): Likewise.
11546 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11547 (OPT_LITTLE_ENDIAN): Likewise.
11548 (options): Add --little-endian and --big-endian options.
11549 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11550 * locale/programs/locarchive.c: Include "locfile.h".
11554 (create_archive): Use the new macros to access fields of
11555 structures directly mapped from or written to locale archives.
11556 (oldlocrecentcmp): Likewise.
11557 (enlarge_archive): Likewise.
11558 (insert_name): Likewise.
11559 (add_alias): Likewise.
11560 (add_locale): Likewise.
11561 (delete_locales_from_archive): Likewise.
11562 (show_archive_content): Likewise.
11563 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11566 2013-09-24 Roland McGrath <roland@hack.frob.com>
11568 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11569 http://www.gnu.org/doc/freemanuals.texi.
11570 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11572 2013-09-24 Will Newton <will.newton@linaro.org>
11574 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11577 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11579 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11582 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11584 * manual/threads.texi (POSIX Threads): Fix a typo.
11586 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11589 * string/tst-strcoll-overflow.c: New test case.
11590 * string/Makefile (xtests): Add tst-strcoll-overflow.
11591 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11592 cache if string sizes may cause integer overflow.
11595 * string/strcoll_l.c (coll_seq): New members rule, idx,
11596 save_idx and back_us.
11597 (get_next_seq_nocache): New function.
11598 (do_compare_nocache): New function.
11599 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11602 2013-09-23 Carlos O'Donell <carlos@redhat.com>
11605 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11606 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11607 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11610 * elf/Makefile (tests): Add tst-ptrguard1.
11611 (tests-static): Add tst-ptrguard1-static.
11612 (tst-ptrguard1-ARGS): Define.
11613 (tst-ptrguard1-static-ARGS): Define.
11614 * elf/tst-ptrguard1.c: New file.
11615 * elf/tst-ptrguard1-static.c: New file.
11616 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11617 * sysdeps/i386/stackguard-macros.h: Likewise.
11618 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11619 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11620 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11621 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11622 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11623 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11625 2013-09-23 Hector Marco <hecmargi@upv.es>
11626 Ismael Ripoll <iripoll@disca.upv.es>
11627 Carlos O'Donell <carlos@redhat.com>
11630 * sysdeps/generic/stackguard-macros.h: Define
11631 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11632 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11633 Define __pointer_chk_guard_local.
11634 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11635 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11637 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11640 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11642 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11644 * include/string.h (__ffs): Declare as hidden.
11645 * string/ffs.c (__ffs): Define as hidden.
11646 * sysdeps/i386/ffs.c (__ffs): Likewise.
11647 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11648 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11649 * sysdeps/s390/ffs.c (__ffs): Likewise.
11650 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11652 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
11654 * NEWS: Mention malloc probes.
11656 * malloc/arena.c (new_heap): New memory_heap_new probe.
11657 (grow_heap): New memory_heap_more probe.
11658 (shrink_heap): New memory_heap_less probe.
11659 (heap_trim): New memory_heap_free probe.
11660 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11661 (systrim): New memory_sbrk_less probe.
11662 * manual/probes.texi: Document them.
11664 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11665 * manual/probes.texi: Document it.
11667 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11668 (__libc_realloc): Add memory_realloc_retry probe.
11669 (__libc_memalign): Add memory_memalign_retry probe.
11670 (__libc_valloc): Add memory_valloc_retry probe.
11671 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11672 (__libc_calloc): Add memory_calloc_retry probe.
11673 * manual/probes.texi: Document them.
11675 * malloc/arena.c (get_free_list): Add probe
11676 memory_arena_reuse_free_list.
11677 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11678 and memory_arena_reuse.
11679 (arena_get2) [!PER_THREAD]: Likewise.
11680 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11681 memory_arena_reuse_realloc.
11682 * manual/probes.texi: Document them.
11684 * malloc/malloc.c (__libc_free): Add
11685 memory_mallopt_free_dyn_thresholds probe.
11686 (__libc_mallopt): Add multiple memory_mallopt probes.
11687 * manual/probes.texi: Document them.
11689 * malloc/malloc.c: Include stap-probe.h.
11690 (__libc_mallopt): Add memory_mallopt probe.
11691 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11692 * manual/probes.texi: New.
11693 * manual/Makefile (chapters): Add probes.
11694 * manual/threads.texi: Set next node.
11696 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11698 [BZ #15963, #13985]
11699 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11700 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11701 Add `Chinese' to `nan' entry name.
11703 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11705 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11706 (POLYNOMIAL): Likewise.
11707 (TAYLOR_SINCOS): Likewise.
11708 (TAYLOR_SLOW): Likewise.
11709 (__sin): Use TAYLOR_SINCOS.
11711 (slow): Use TAYLOR_SLOW.
11713 (bsloww): Likewise.
11714 (csloww): Likewise.
11716 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11718 * stdlib/strtod_l.c: Fix buffer overrun.
11720 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11722 * benchtests/Makefile (bench): Add sincos.
11723 * benchtests/bench-sincos.c: New file.
11725 * math/libm-test.inc (cos_test_data): New test inputs.
11726 (sin_test_data): Likewise.
11728 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11734 (sloww1): Likewise.
11735 (sloww2): Likewise.
11736 (bsloww1): Likewise.
11737 (bsloww2): Likewise.
11738 (cslow2): Likewise.
11739 (csloww1): Likewise.
11740 (csloww2): Likewise.
11742 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11747 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11751 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11753 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11754 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11755 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11756 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11757 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11758 * elf/cache.c (print_entry): Handle the new cache flags.
11760 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11761 Aldy Hernandez <aldyh@redhat.com>
11763 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11764 Change condition to [_SOFT_FLOAT].
11765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11775 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11776 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11777 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11778 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11780 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11783 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11785 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11786 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11787 (__longjmp): Use LOAD_GP to load saved GPRs.
11788 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11789 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11790 (__sigsetjmp): Use SAVE_GP to save GPRs.
11792 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11793 Do not append -msoft-float.
11794 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11796 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11798 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11800 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11803 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11804 (_FPU_GETCW): Use initial "__" on variable and field names but not
11805 on macro parameter name.
11806 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11807 parentheses around reference to macro parameter.
11809 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11811 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11813 (ctype_startup): Use uint32_t in cast and sizeof for
11816 2013-09-11 Jia Liu <proljc@gmail.com>
11818 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11820 [__FreeBSD__]: Likewise.
11822 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
11824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11825 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11826 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11827 (strchr): Remove __strchr_sse42 ifunc selection.
11828 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11829 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11831 2013-09-11 Will Newton <will.newton@linaro.org>
11833 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11834 parameter to RES. Remove hardcoded 1000 value.
11835 * benchtests/bench-skeleton.c (main): Pass RES parameter
11836 to TIMING_INIT and multiply result by 1000.
11838 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11842 2013-09-11 Andreas Schwab <schwab@suse.de>
11844 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11846 (O_TMPFILE) [__USE_GNU]: Define.
11847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11850 2013-09-11 Will Newton <will.newton@linaro.org>
11853 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11856 2013-09-11 Will Newton <will.newton@linaro.org>
11859 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11862 2013-09-11 Will Newton <will.newton@linaro.org>
11865 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11868 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
11870 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11871 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11872 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11873 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11874 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11876 2013-09-10 Allan McRae <allan@archlinux.org>
11879 * manual/arith.texi (Parsing of Floats): Clarify
11883 * manual/install.texi (Running make install): Mention
11885 * INSTALL: Regenerated.
11887 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11889 * csu/init-first.c (_init): Remove the !SHARED condition around
11890 FPU control word initialization.
11891 * elf/dl-support.c (_dl_fpu_control): New variable.
11892 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11893 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11894 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11895 * math/test-fpucw-static.c: New file.
11896 * math/test-fpucw-ieee.c: New file.
11897 * math/test-fpucw-ieee-static.c: New file.
11898 * math/Makefile (tests): Add `test-fpucw-ieee' and
11900 (tests-static): New variable.
11901 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11903 [($(build-shared),yes)]
11904 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11906 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11909 2013-09-09 Allan McRae <allan@archlinux.org>
11912 * manual/string.texi (Collation Functions): Fix typo in
11914 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11917 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11920 * libio/memstream.c (open_memstream): Fix memory leak.
11921 * libio/wmemstream.c (open_wmemstream): Likewise.
11924 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11926 2013-09-09 Will Newton <will.newton@linaro.org>
11928 * malloc/Makefile: Add tst-realloc to tests.
11929 * malloc/tst-realloc.c: New file.
11931 2013-09-09 Allan McRae <allan@archlinux.org>
11934 * COPYING: Update from GNU website to fix FSF address.
11935 * COPYING.LIB: Likewise.
11937 2013-09-06 David S. Miller <davem@davemloft.net>
11939 * po/zh_TW.po: Update Chinese (traditional) translation from
11940 translation project.
11942 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11943 Joseph Myers <joseph@codesourcery.com>
11945 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11947 (obstack_chunk_alloc): New macro.
11948 (obstack_chunk_free): Likewise.
11949 (record_offset): New function.
11950 (init_locale_data): Likewise.
11951 (align_locale_data): Likewise.
11952 (add_locale_empty): Likewise.
11953 (add_locale_raw_data): Likewise.
11954 (add_locale_raw_obstack): Likewise.
11955 (add_locale_string): Likewise.
11956 (add_locale_wstring): Likewise.
11957 (add_locale_uint32): Likewise.
11958 (add_locale_uint32_array): Likewise.
11959 (add_locale_char): Likewise.
11960 (start_locale_structure): Likewise.
11961 (end_locale_structure): Likewise.
11962 (start_locale_prelude): Likewise.
11963 (end_locale_prelude): Likewise.
11964 (write_locale_data): Take locale_file structure rather than an
11966 * locale/programs/locfile.h: Include "obstack.h".
11967 (struct locale_file): Change to store locale file contents instead
11969 (init_locale_data): New prototype.
11970 (align_locale_data): Likewise.
11971 (add_locale_empty): Likewise.
11972 (add_locale_raw_data): Likewise.
11973 (add_locale_raw_obstack): Likewise.
11974 (add_locale_string): Likewise.
11975 (add_locale_wstring): Likewise.
11976 (add_locale_uint32): Likewise.
11977 (add_locale_uint32_array): Likewise.
11978 (add_locale_char): Likewise.
11979 (start_locale_structure): Likewise.
11980 (end_locale_structure): Likewise.
11981 (start_locale_prelude): Likewise.
11982 (end_locale_prelude): Likewise.
11983 (write_locale_data): Update prototype.
11984 * locale/programs/3level.h (struct TABLE): Remove result field.
11985 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11986 Use new locale_file interface.
11987 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11988 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11989 * locale/programs/ld-address.c (address_output): Use new
11990 locale_file interface.
11991 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11993 (collate_finish): Don't call collseq_table_finalize.
11994 (collate_output): Use new locale_file interface.
11995 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11997 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11998 (TABLE): Move defines earlier in file.
11999 (ELEMENT): Likewise.
12000 (DEFAULT): Likewise.
12001 (wctrans_table_add): Move macro and inline function earlier in
12003 (struct wctype_table): Move type earlier in file.
12004 (add_locale_wctype_table): New static prototype.
12005 (struct locale_ctype_t): Use logical types instead of struct iovec
12006 pointers for members.
12007 (ctype_output): Use new locale_file interface.
12008 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12009 new locale_file interface.
12010 (allocate_arrays): Update for use of new locale_file interface.
12011 * locale/programs/ld-identification.c (identification_output): Use
12012 new locale_file interface.
12013 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12014 * locale/programs/ld-messages.c (messages_output): Likewise.
12015 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12016 * locale/programs/ld-name.c (name_output): Likewise.
12017 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12018 * locale/programs/ld-paper.c (paper_output): Likewise.
12019 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12020 * locale/programs/ld-time.c (time_output): Likewise.
12022 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12024 * benchtests/Makefile: Add memrchr benchmark.
12025 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12026 benchmark as memrchr.
12027 * benchtests/bench-memrchr-ifunc.c: New file.
12028 * benchtests/bench-memrchr.c: New file.
12030 2013-09-06 Will Newton <will.newton@linaro.org>
12032 * benchtests/Makefile (string-bench): Add memcpy.
12034 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12035 Cong Wang <amwang@redhat.com>
12038 * sysdeps/unix/sysv/linux/bits/in.h
12039 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12040 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12041 before __USE_KERNEL_IPV6_DEFS uses.
12042 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12044 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12045 sockaddr_in6, or ipv6_mreq.
12047 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12049 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12050 memory access for final bytes in some large inputs.
12051 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12053 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12055 * string/test-memrchr.c: New file.
12056 * string/test-memrchr-ifunc.c: New file.
12057 * string/Makefile: Add new memrchr testcase.
12059 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12061 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12062 fanotify_init returns EPERM.
12064 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12066 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12068 (top level): Treat second token from macro or constant entries for
12069 allowed headers as allowed.
12070 * include/complex.h: Condition internal declarations on
12072 * include/fenv.h: Condition include of <stdbool.h> and internal
12073 declarations on [!_ISOMAC].
12075 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12078 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12080 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12082 * configure.in (--enable-versioning): Remove configure option.
12083 (libc_cv_asm_symver_directive): Remove configure test.
12084 (libc_cv_ld_version_script_option): Likewise.
12085 (VERSIONING): Remove variable and AC_SUBST.
12086 (DO_VERSIONING): Remove AC_DEFINE.
12087 * configure: Regenerated.
12088 * config.h.in (DO_VERSIONING): Remove macro.
12089 * Makerules [$(versioning) = yes]: Change conditionals to
12090 [$(build-shared) = yes].
12091 * config.make.in (versioning): Remove variable.
12092 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12093 [$(build-shared) = yes].
12094 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12095 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12096 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12097 [$(build-shared) = yes].
12098 * extra-lib.mk [$(versioning) = yes]: Likewise.
12099 * hurd/Makefile [$(versioning) = yes]: Likewise.
12100 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12102 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12104 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12105 [SHARED && !NO_HIDDEN].
12106 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12108 [SHARED && DO_VERSIONING]: Likewise..
12109 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12110 [$(build-shared) = yes].
12111 * manual/install.texi (--disable-versioning): Remove
12113 * INSTALL: Regenerated.
12114 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12116 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12117 [$(build-shared) = yes].
12118 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12119 * sysdeps/i386/i686/multiarch/strstr-c.c
12120 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12121 [SHARED && !NO_HIDDEN].
12122 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12123 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12124 * sysdeps/powerpc/powerpc32/dl-machine.c
12125 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12126 * sysdeps/powerpc/powerpc32/sysdep.h
12127 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12128 to [SHARED && PIC && !NO_HIDDEN].
12129 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12130 conditional to [SHARED].
12132 2013-09-04 Will Newton <will.newton@linaro.org>
12134 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12135 * benchtests/bench-string.h: Include bench-timing.h instead
12136 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12137 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12138 call to HP_TIMING_DIFF_INIT.
12139 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12140 instead of hp-timing.h macros.
12141 * benchtests/bench-memchr.c: Likewise.
12142 * benchtests/bench-memcmp.c: Likewise.
12143 * benchtests/bench-memcpy.c: Likewise.
12144 * benchtests/bench-memmem.c: Likewise.
12145 * benchtests/bench-memmove.c: Likewise.
12146 * benchtests/bench-memset.c: Likewise.
12147 * benchtests/bench-rawmemchr.c: Likewise.
12148 * benchtests/bench-strcasecmp.c: Likewise.
12149 * benchtests/bench-strcasestr.c: Likewise.
12150 * benchtests/bench-strcat.c: Likewise.
12151 * benchtests/bench-strchr.c: Likewise.
12152 * benchtests/bench-strcmp.c: Likewise.
12153 * benchtests/bench-strcpy.c: Likewise.
12154 * benchtests/bench-strcpy_chk.c: Likewise.
12155 * benchtests/bench-strlen.c: Likewise.
12156 * benchtests/bench-strncasecmp.c: Likewise.
12157 * benchtests/bench-strncat.c: Likewise.
12158 * benchtests/bench-strncmp.c: Likewise.
12159 * benchtests/bench-strncpy.c: Likewise.
12160 * benchtests/bench-strnlen.c: Likewise.
12161 * benchtests/bench-strpbrk.c: Likewise.
12162 * benchtests/bench-strrchr.c: Likewise.
12163 * benchtests/bench-strspn.c: Likewise.
12164 * benchtests/bench-strstr.c: Likewise.
12166 2013-09-04 Will Newton <will.newton@linaro.org>
12168 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12170 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12173 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12174 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12175 * math/libm-test.inc (lgamma_test_data): Add more tests.
12176 * sysdeps/i386/fpu/libm-test-ulps: Update.
12177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12179 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12181 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12182 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12185 Add strcmp-sse2-unaligned
12186 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12188 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12190 * Versions.def (libc): Add GLIBC_2.19.
12192 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12194 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12195 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12197 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12200 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12201 intermediate calculations in recurrence.
12202 (__ieee754_ynf): Likewise.
12203 * math/libm-test.inc (jn_test_data): Do not allow spurious
12204 underflow exception. Add more tests.
12205 (yn_test_data): Add more tests.
12206 * sysdeps/i386/fpu/libm-test-ulps: Update.
12207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12209 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12211 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12213 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12215 * csu/init-first.c: Fix then/than typos.
12216 * locale/programs/ld-collate.c: Likewise.
12217 * locale/programs/linereader.h: Likewise.
12218 * manual/charset.texi: Likewise.
12219 * manual/filesys.texi: Likewise.
12220 * manual/stdio.texi: Likewise.
12221 * manual/string.texi: Likewise.
12222 * stdlib/fmtmsg.c: Likewise.
12223 * sysdeps/i386/stpncpy.S: Likewise.
12224 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12225 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12226 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12227 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12229 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12231 * elf/dl-open.c: Fix typos.
12232 * iconvdata/gbbig5.c: Likewise.
12233 * iconvdata/iso-2022-jp.c: Likewise.
12234 * iconv/gconv_int.h: Likewise.
12235 * iconv/loop.c: Likewise.
12236 * nis/rpcsvc/nis.h: Likewise.
12237 * resolv/ns_name.c: Likewise.
12238 * stdio-common/vfscanf.c: Likewise.
12239 * streams/stropts.h: Likewise.
12240 * sunrpc/rpc_thread.c: Likewise.
12241 * sysdeps/i386/strpbrk.S: Likewise.
12242 * sysdeps/ieee754/k_standard.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12245 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12246 * sysdeps/mach/hurd/profil.c: Likewise.
12247 * sysdeps/s390/dl-procinfo.h: Likewise.
12248 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12249 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12250 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12251 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12252 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12254 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12256 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12257 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12259 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12261 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12262 aix specific files.
12263 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12264 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12265 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12266 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12267 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12268 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12269 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12270 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12272 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12273 Roland McGrath <roland@hack.frob.com>
12275 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12276 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12278 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12280 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12281 __executable_start symbol instead of _start.
12283 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12285 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12286 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12288 * sysdeps/gnu/ldsodefs.h: ... this new file.
12290 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12291 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12292 instead of ELFOSABI_LINUX.
12294 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12295 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12296 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12297 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12299 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12300 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12301 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12303 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12304 (ibm_extended_long_double): Add ieee_nan member.
12305 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12306 (do_test): New function.
12308 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12310 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12311 functions, renamed from truncdfsf_test, trunctfsf_test,
12313 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12315 (do_test): Run all these.
12317 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12319 * argp/argp-help.c: Fix typos.
12320 * argp/argp-parse.c: Likewise.
12321 * debug/backtracesyms.c: Likewise.
12322 * elf/elf.h: Likewise.
12323 * malloc/malloc.c: Likewise.
12324 * nis/nis_print.c: Likewise.
12325 * resolv/res_comp.c: Likewise.
12326 * stdlib/stdlib.h: Likewise.
12327 * sunrpc/clnt_tcp.c: Likewise.
12328 * sunrpc/clnt_udp.c: Likewise.
12329 * sunrpc/clnt_unix.c: Likewise.
12330 * sysdeps/unix/bsd/ptsname.c: Likewise.
12331 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12332 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12339 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12341 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12343 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12346 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12349 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12350 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12351 ($(objpfx)bug-dl-leaf): New rule.
12352 ($(objpfx)bug-dl-leaf.so): Likewise.
12353 ($(objpfx)bug-dl-leaf.out): Likewise.
12354 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12355 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12356 * dlfcn/bug-dl-leaf.c: New test.
12357 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12358 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12359 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12360 (dlclose): Likewise.
12361 (dlmopen): Likewise.
12363 2013-08-27 Roland McGrath <roland@hack.frob.com>
12365 * include/netdb.h [!_ISOMAC]:
12366 Don't include <tls.h>.
12367 (h_errno, __libc_h_errno): Move declaration and macros out of
12370 * include/resolv.h [_RESOLV_H_]:
12371 Don't include <tls.h>.
12372 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12373 * resolv/res_libc.c: Don't include <tls.h>.
12374 (_res): Use __attribute__ ((nocommon)) in place of
12375 __attribute__ ((section (".bss"))).
12377 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12378 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12380 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12382 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12383 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12385 * resolv/res_mkquery.c: Include <sys/time.h>.
12387 * inet/ifreq.c: Moved to ...
12388 * sysdeps/unix/ifreq.c: ... here.
12389 * inet/ifreq.c: New file, true stub version.
12391 * socket/sa_len.c: New file.
12392 * socket/Makefile (aux): Add it.
12393 * sysdeps/unix/sysv/linux/Makefile
12394 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12395 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12396 and #include <socket/sa_len.c>.
12397 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12398 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12400 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12401 * bits/socket.h: ... here.
12403 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12404 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12405 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12407 2013-08-27 Andreas Schwab <schwab@suse.de>
12410 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12411 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12412 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12413 * string/test-strcasecmp.c (test_main): Run tests in several
12415 * string/test-strncasecmp.c (test_main): Likewise.
12417 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12418 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12419 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12421 (__strncasecmp_ssse3) [PIC]: Likewise.
12423 2013-08-26 Roland McGrath <roland@hack.frob.com>
12425 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12427 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12428 instead of explicitly declaring xdecrypt.
12429 * nis/nss_nis/nis-publickey.c: Likewise.
12431 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12434 * nscd/aicache.c: Include res_hconf.h.
12435 (addhstaiX): Initialize res_hconf.
12437 2013-08-26 Andreas Schwab <schwab@suse.de>
12439 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12440 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12442 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12444 * nscd/aicache.c (addhstaiX): Fix indentation.
12446 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12448 * configure.ac: Quote $build_pt_chown test.
12449 * configure: Regenerated.
12451 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12454 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12455 * math/s_cexpf.c (__cexpf): Likewise.
12456 * math/s_cexpl.c (__cexpl): Likewise.
12457 * math/libm-test.inc (cexp_test_data): Correct expected return
12458 value for NaN + i0. Add another test.
12460 2013-08-22 David S. Miller <davem@davemloft.net>
12462 * po/ca.po: Update Catalan translation from translation project.
12463 * po/uk.po: Add Ukrainian translations from translation project.
12465 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12468 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12469 is infinite, not alongside NaN test.
12470 * math/s_fdimf.c (__fdimf): Likewise.
12471 * math/s_fdiml.c (__fdiml): Likewise.
12472 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12473 errno is unchanged.
12475 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12477 * argp/argp-help.c: Fix typos.
12478 * crypt/speeds.c: Likewise.
12479 * csu/check_fds.c: Likewise.
12480 * elf/dl-load.c: Likewise.
12481 * elf/dl-open.c: Likewise.
12482 * elf/reldep3.c: Likewise.
12483 * elf/reldep.c: Likewise.
12484 * elf/sprof.c: Likewise.
12485 * iconv/iconv_charmap.c: Likewise.
12486 * iconv/skeleton.c: Likewise.
12487 * iconv/strtab.c: Likewise.
12488 * io/lockf64.c: Likewise.
12489 * libio/libioP.h: Likewise.
12490 * resolv/gai_notify.c: Likewise.
12491 * resolv/ns_name.c: Likewise.
12492 * resolv/ns_samedomain.c: Likewise.
12493 * resolv/res_send.c: Likewise.
12494 * stdlib/random.c: Likewise.
12495 * sunrpc/rpc/xdr.h: Likewise.
12496 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12497 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12498 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12499 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12500 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12501 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12502 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12503 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12504 * sysdeps/mach/hurd/check_fds.c: Likewise.
12505 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12506 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12507 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12508 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12509 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12510 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12511 * sysdeps/pthread/aio_notify.c: Likewise.
12512 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12513 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12514 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12515 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12516 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12518 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12520 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12521 version if bit_Slow_SSE4_2 is set.
12522 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12523 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12525 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12528 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12529 trampoline stack frame information.
12530 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12531 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12532 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12533 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12534 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12535 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12536 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12537 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12539 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12540 interrupting a syscall and set with option SA_SIGINFO.
12542 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12545 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12546 argument is infinite.
12547 * math/s_cprojf.c (__cprojf): Likewise.
12548 * math/s_cprojl.c (__cprojl): Likewise.
12549 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12550 * math/libm-test.inc (cproj_test_data): Add more tests.
12552 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12554 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12555 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12556 size. Use __ffs to determine corresponding shift.
12558 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12559 Roland McGrath <roland@hack.frob.com>
12561 * Makefile (INSTALL): Remove trailing blank lines from output of
12564 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12566 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12567 Align 32 bit compat elf_greg to 8 bytes.
12569 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12571 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12573 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12575 * string/strcoll_l.c (coll_seq): New structure.
12576 (get_next_seq_cached): New function.
12577 (get_next_seq): New function.
12578 (do_compare): New function.
12579 (STRCOLL): Use GNU style definition. Simplify implementation
12580 by using get_next_seq, get_next_seq_cached and do_compare.
12582 2013-08-16 Florian Weimer <fweimer@redhat.com>
12586 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12588 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12590 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12591 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12592 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12594 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12595 GETDENTS_64BIT_ALIGNED.
12596 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12597 * manual/filesys.texi (Reading/Closing Directory): Document
12598 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12600 * manual/conf.texi (Limits for Files): Add portability note to
12601 NAME_MAX, PATH_MAX.
12602 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12604 2013-08-13 Andreas Schwab <schwab@suse.de>
12607 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12609 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12610 LDBL_MAX_EXP >= 16384]: Add tests for it.
12612 2013-08-12 David S. Miller <davem@davemloft.net>
12614 * version.h (RELEASE): Set to "development".
12615 (VERSION): Set to "2.18.90".
12616 * NEWS: Add 2.19 section.
12618 2013-08-03 David S. Miller <davem@davemloft.net>
12620 * po/ko.po: Update Korean translation from translation project.
12622 2013-08-01 David S. Miller <davem@davemloft.net>
12624 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12625 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12628 2013-07-30 David S. Miller <davem@davemloft.net>
12630 * po/fr.po: Update French translation from translation project.
12632 2013-07-28 David S. Miller <davem@davemloft.net>
12634 * po/cs.po: Update Czech translation from translation project.
12636 * po/sv.po: Update Swedish translation from translation project.
12638 2013-07-27 David S. Miller <davem@davemloft.net>
12640 * po/eo.po: Update Esperanto translation from translation project.
12642 * po/vi.po: Update Vietnamese translation from translation project.
12644 * po/de.po: Update German translation from translation project.
12646 2013-07-26 David S. Miller <davem@davemloft.net>
12648 * po/bg.po: Update Bulgarian translation from translation project.
12650 * po/nl.po: Update Dutch translation from translation project.
12651 * po/pl.po: Update Polish translation from translation project.
12652 * po/ru.po: Update Russian translation from translation project.
12654 2013-07-24 David S. Miller <davem@davemloft.net>
12656 * po/libc.pot: Update.
12658 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12660 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12661 variable page size.
12662 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12663 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12664 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12666 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12668 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12670 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12671 Andreas Schwab <schwab@suse.de>
12672 Roland McGrath <roland@hack.frob.com>
12673 Joseph Myers <joseph@codesourcery.com>
12674 Carlos O'Donell <carlos@redhat.com>
12677 * config.h.in: Define HAVE_PT_CHOWN.
12678 * config.make.in (build-pt-chown): New variable.
12679 * configure.in (--enable-pt_chown): New configure option.
12680 * configure: Regenerate.
12681 * login/Makefile: Include Makeconfig. Build pt_chown only if
12682 build-pt-chown is enabled.
12683 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12684 pt_chown to fix pty ownership.
12685 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12687 * manual/install.texi (Configuring and compiling): Mention
12688 --enable-pt_chown. Add @findex for grantpt.
12689 * INSTALL: Regenerate.
12691 2013-07-20 David S. Miller <davem@davemloft.net>
12693 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12694 difference between 32-bit and 64-bit.
12696 2013-07-15 Carlos O'Donell <carlos@redhat.com>
12699 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12700 Avoid system header dependency with -ffreestanding.
12701 ($(objpfx)bits/syscall%d): Likewise.
12703 2013-07-13 David S. Miller <davem@davemloft.net>
12705 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12706 underflows from atanl/atan2l due to bug 15319.
12707 (casinh_test_data): Likewise.
12709 2013-07-07 David S. Miller <davem@davemloft.net>
12711 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12713 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12715 * sysdeps/i386/fpu/libm-test-ulps: Update.
12716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12718 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12720 * configure.in (--enable-lock-elision): Fix message text.
12721 * INSTALL: Regenerate.
12722 * configure: Regenerate.
12724 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12728 2013-07-03 Andreas Jaeger <aj@suse.de>
12730 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12732 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12733 (ptrace_peeksiginfo_args): Add.
12734 (__ptrace_peeksiginfo_flags): Add.
12735 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12736 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12737 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12739 2013-07-03 Allan McRae <allan@archlinux.org>
12741 * sysdeps/i386/fpu/libm-test-ulps: Update.
12743 2013-07-02 David S. Miller <davem@davemloft.net>
12745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12747 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12751 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12753 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12756 2013-07-02 Andi Kleen <ak@linux.intel.com>
12758 * config.h.in (ENABLE_LOCK_ELISION): Add.
12759 * configure.in (--enable-lock-elision): Add option.
12760 * manual/install.texi: Document --enable lock elision.
12761 * configure: Regenerate
12762 * INSTALL: Regenerate.
12764 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12766 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12767 SSE4.2 strcasecmp for libc.a.
12768 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12770 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12773 * soft-fp/op-common.h (_FP_FMA): New macro.
12774 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12775 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12776 (_FP_MUL_MEAT_1_imm): ... here.
12777 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12778 (_FP_MUL_MEAT_1_wide): ... here.
12779 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12780 (_FP_MUL_MEAT_1_hard): ... here.
12781 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12782 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12783 (_FP_MUL_MEAT_2_wide): ... here.
12784 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12785 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12786 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12787 (_FP_MUL_MEAT_2_gmp): ... here.
12788 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12789 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12790 (_FP_MUL_MEAT_4_wide): ... here.
12791 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12792 (_FP_MUL_MEAT_4_gmp): ... here.
12793 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12794 (_FP_WFRACBITS_DW_S): Likewise.
12795 (_FP_WFRACXBITS_DW_S): Likewise.
12796 (_FP_HIGHBIT_DW_S): Likewise.
12797 (FP_FMA_S): Likewise.
12798 (_FP_FRAC_HIGH_DW_S): Likewise.
12799 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12800 (_FP_WFRACBITS_DW_D): Likewise.
12801 (_FP_WFRACXBITS_DW_D): Likewise.
12802 (_FP_HIGHBIT_DW_D): Likewise.
12803 (FP_FMA_D): Likewise.
12804 (_FP_FRAC_HIGH_DW_D): Likewise.
12805 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12806 (_FP_WFRACBITS_DW_E): Likewise.
12807 (_FP_WFRACXBITS_DW_E): Likewise.
12808 (_FP_HIGHBIT_DW_E): Likewise.
12809 (FP_FMA_E): Likewise.
12810 (_FP_FRAC_HIGH_DW_E): Likewise.
12811 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12812 (_FP_WFRACBITS_DW_Q): Likewise.
12813 (_FP_WFRACXBITS_DW_Q): Likewise.
12814 (_FP_HIGHBIT_DW_Q): Likewise.
12815 (FP_FMA_Q): Likewise.
12816 (_FP_FRAC_HIGH_DW_Q): Likewise.
12817 * soft-fp/fmasf4.c: New file.
12818 * soft-fp/fmadf4.c: Likewise.
12819 * soft-fp/fmatf4.c: Likewise.
12821 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12824 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12826 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12828 (index_Slow_SSE4_2): Likewise.
12829 (index_Prefer_PMINUB_for_stringop): Likewise.
12830 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12831 bit_Slow_SSE4_2 is set.
12832 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12833 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12835 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12837 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12838 rtld_global._dl_hwcap2.
12839 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12841 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12842 POWER8 feature descriptions defined in _dl_hwcap2.
12843 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12844 string handling for POWER8 feature bits.
12845 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12846 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12847 _dl_powerpc_cap_flags.
12848 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12849 * sysdeps/powerpc/rtld-global-offsets.sym
12850 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12851 _dl_hwcap2 in the rtld_global_ro structure.
12853 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12855 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12856 hardware capabilities in support of AT_HWCAP2.
12857 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12858 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12860 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12861 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12862 explicitly the unknown a_type display mechanism is used.
12863 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12864 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12866 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12867 to macro prototype for AT_HWCAP2 support.
12868 * sysdeps/i386/dl-procinfo.h: Likewise.
12869 * sysdeps/s390/dl-procinfo.h: Likewise.
12870 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12871 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12872 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12873 return -1 for unknown a_type display fallback.
12874 * sysdeps/sparc/dl-procinfo.h: Likewise.
12875 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12876 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12878 2013-06-28 Joseph Myers <joseph@codesourcery.com>
12880 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12881 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12883 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12886 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12887 mprotect making __stack_prot writable.
12889 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12890 Joseph Myers <joseph@codesourcery.com>
12892 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12893 as being properly aligned.
12895 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12897 * dlfcn/modstatic5.c: New file.
12898 * dlfcn/tststatic5.c: New file.
12899 * dlfcn/Makefile (tests): Add tststatic5.
12900 (tests-static): Likewise.
12901 (modules-names): Add modstatic5.
12902 (tststatic5-ENV): New variable.
12903 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12906 * elf/dl-support.c (_dl_main_map): New variable.
12907 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12908 (_dl_nns, _dl_load_adds): Set to 1.
12909 (_dl_initial_searchlist): Refer to _dl_main_map.
12910 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12911 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12912 call to _dl_get_origin.
12913 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12915 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12916 * dlfcn/modstatic3.c: New file.
12917 * dlfcn/tststatic3.c: New file.
12918 * dlfcn/tststatic4.c: New file.
12919 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12920 (tests-static): Likewise.
12921 (modules-names): Add modstatic3.
12922 (tststatic3-ENV, tststatic4-ENV): New variables.
12923 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12924 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12926 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12928 * configure.in (CC): Require GCC version 4.4 or later.
12929 * configure: Regenerated.
12930 * manual/install.texi (Tools for Compilation): Update GCC version
12932 * INSTALL: Regenerated.
12934 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12937 * string/test-memcmp.c (check2): New.
12938 (main): Call check2.
12940 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12942 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12945 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12947 (dl_open_worker) [!SHARED]: ... here.
12949 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12951 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12953 2013-06-25 Richard Henderson <rth@redhat.com>
12955 * locale/programs/locarchive.c: Include <libc-internal.h>
12957 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12959 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12960 trailing whitespace removed.
12962 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12965 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12966 * locale/programs/locarchive.c: Include libc-mmap.h.
12967 (prepare_address_space): Take two new outputs (the mmap base and len).
12968 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12970 (create_archive): Declare new mmap base and len values for
12971 prepare_address_space, and store the result in ah.
12972 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12973 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12974 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12975 Declare new mmap base and len values for
12976 prepare_address_space, and store the result in new_ah.
12977 (open_archive): Declare new mmap base and len values for
12978 prepare_address_space, and store the result in ah.
12979 (close_archive): If ah->mmap_base is not NULL, use that and
12980 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12981 * sysdeps/generic/libc-mmap.h: New file.
12983 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12985 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12986 (ALIGN_UP): Likewise.
12987 (PTR_ALIGN_DOWN): Likewise.
12988 (PTR_ALIGN_UP): Likewise.
12990 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12992 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12993 entry mapped to PPC_PLATFORM_POWER8.
12994 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12996 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12997 (_dl_string_platform): Add case for exporting platform position for
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13000 search path to sysdeps/powerpc/powerpc32/power8 directory.
13001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13002 search path to sysdeps/powerpc/powerpc64/power8 directory.
13003 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13004 power7 directories.
13005 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13006 power7 directories.
13008 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13010 * INSTALL: Regenerate.
13012 * nscd/connections.c (nscd_init): Fix comment.
13014 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13016 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13019 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13020 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13022 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13024 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13026 (DL_DST_REQ_STATIC): Remove macro.
13028 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13031 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13032 with a shift of 0 bits.
13034 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13036 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13039 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13042 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13044 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13046 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13047 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13048 accepts -fno-tree-loop-distribute-patterns.
13049 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13050 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13052 * string/memset.c (memset): Likewise.
13053 * string/test-memmove.c (simple_memmove): Disable loop transformation
13055 * string/test-memset.c (simple_memset): Likewise.
13056 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13057 * benchtests/bench-memset.c (simple_memset): Likewise.
13058 * configure: Regenerated.
13060 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13062 * math/test-misc.c (main): Ignore fesetround failure when failures
13063 of subsequent rounding tests would be ignored.
13066 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13067 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13068 * math/fegetenv.c (__fegetenv): Return 0.
13069 * math/fegetexcept.c (fegetexcept): Return 0.
13070 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13072 * math/feholdexcpt.c (feholdexcept): Return 0.
13073 * math/fesetenv.c (__fesetenv): Return 0.
13074 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13075 argument FE_TONEAREST.
13076 * math/feupdateenv.c (__feupdateenv): Return 0.
13077 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13079 2013-06-18 Roland McGrath <roland@hack.frob.com>
13081 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13082 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13083 ($(objpfx)rtld-%.os rules): Use them.
13085 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13087 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13090 2013-06-17 Roland McGrath <roland@hack.frob.com>
13092 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13093 length of target pattern, then descending length of dependency pattern.
13094 * configure.in (AWK): Require gawk 3.1.2 or newer.
13095 * manual/install.texi (Tools for Compilation): Say that we do.
13096 * configure: Regenerated.
13098 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13099 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13100 * scripts/sysd-rules.awk: ... this new script.
13101 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13102 than a glob-style pattern.
13104 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13106 * math/test-misc.c (main): Do not treat incorrectly rounded
13107 conversions as failure unless ROUNDING_TESTS passes.
13109 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13112 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13113 restore exception state around main square root computation, then
13114 check for inexactness explicitly.
13116 * math/libm-test.inc (fma_test_data): Add another test.
13118 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13120 * manual/threads.texi (Non-POSIX Extensions): New document
13121 node. Document pthread_getattr_default_np and
13122 pthread_setattr_default_np.
13124 * Versions.def (libpthread): Add GLIBC_2.18.
13125 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13134 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13145 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13148 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13150 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13151 H.J. Lu <hjl.tools@gmail.com>
13154 * sysdeps/x86_64/rtld-memset.c: Remove file.
13155 * sysdeps/x86_64/rtld-memset.S: New file.
13157 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13159 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13160 (test_in_one_mode): Take arguments for whether the rounding mode
13161 is supported for each floating-point type.
13162 (do_test): Pass new arguments to test_in_one_mode using
13165 2013-06-13 Roland McGrath <roland@hack.frob.com>
13167 * posix/tst-waitid.c (do_test): Distinguish different instances of
13168 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13169 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13170 before entering the kernel for waitpid.
13172 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13174 * NEWS: Fix note on clock function precision. Text by Roland
13177 2013-06-13 Roland McGrath <roland@hack.frob.com>
13179 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13180 it into place only when and if the sanity check passes.
13182 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13184 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13185 output for whether conversion result is exact. Take argument
13186 indicating whether type is IBM long double.
13187 (round_for_all): Change need_exact field to ibm_ld.
13188 * stdlib/tst-strtod-round.c (struct exactness): New type.
13189 (struct test): Change bool ld_ok field to struct exactness exact.
13190 (TEST): Update all definitions for change to field.
13191 (tests): Regenerate array contents.
13192 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13193 field value. Check for IBM long double here.
13194 (do_test): Update calls to test_in_one_mode.
13196 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13199 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13200 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13202 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13205 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13206 generated by the compiler on loop optimizations.
13207 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13208 general definitions.
13210 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13212 * math/bug-nextafter.c: Include <math-tests.h>.
13213 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13215 * math/bug-nexttoward.c: Include <math-tests.h>.
13216 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13218 * math/test-misc.c: Include <math-tests.h>.
13219 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13222 2013-06-12 Andreas Jaeger <aj@suse.de>
13224 * po/ia.po: Update Interlingua translation from translation
13227 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13229 * include/fenv.h: Include stdbool.h.
13230 (struct rm_ctx): New structure.
13231 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13233 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13234 (SET_RESTORE_ROUNDF): Likewise.
13235 (SET_RESTORE_ROUNDL): Likewise.
13236 (SET_RESTORE_ROUND_NOEX): Likewise.
13237 (SET_RESTORE_ROUND_NOEXF): Likewise.
13238 (SET_RESTORE_ROUND_NOEXL): Likewise.
13239 (SET_RESTORE_ROUND_53BIT): Likewise.
13240 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13241 (libc_feresetround_noexf_ctx): Likewise.
13242 (libc_feresetround_noexl_ctx): Likewise.
13243 (libc_feholdsetround_53bit_ctx): Likewise.
13244 (libc_feresetround_53bit_ctx): Likewise.
13245 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13246 (libc_feholdexcept_setround_sse_ctx): New function.
13247 (libc_fesetenv_sse_ctx): Likewise.
13248 (libc_feupdateenv_sse_ctx): Likewise.
13249 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13250 (libc_feholdexcept_setround_387_ctx): Likewise.
13251 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13252 (libc_feholdsetround_387_prec_ctx): Likewise.
13253 (libc_feholdsetround_387_ctx): Likewise.
13254 (libc_feholdsetround_387_53bit_ctx): Likewise.
13255 (libc_feholdsetround_sse_ctx): Likewise.
13256 (libc_feresetround_sse_ctx): Likewise.
13257 (libc_feresetround_387_ctx): Likewise.
13258 (libc_feupdateenv_387_ctx): Likewise.
13259 (libc_feholdexcept_setroundf_ctx): Define macro.
13260 (libc_fesetenvf_ctx): Likewise.
13261 (libc_feupdateenvf_ctx): Likewise.
13262 (libc_feholdsetroundf_ctx): Likewise.
13263 (libc_feresetroundf_ctx): Likewise.
13264 (libc_feholdexcept_setround_ctx): Likewise.
13265 (libc_fesetenv_ctx): Likewise.
13266 (libc_feupdateenv_ctx): Likewise.
13267 (libc_feholdsetround_ctx): Likewise.
13268 (libc_feresetround_ctx): Likewise.
13269 (libc_feholdexcept_setroundl_ctx): Likewise.
13270 (libc_feupdateenvl_ctx): Likewise.
13271 (libc_feholdsetroundl_ctx): Likewise.
13272 (libc_feresetroundl_ctx): Likewise.
13273 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13274 (libc_feresetround_53bit_ctx): Likewise.
13276 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13278 * locale/iso-639.def: Convert to UTF-8.
13280 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13282 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13283 (EXCEPTION_TESTS_double): Likewise.
13284 (EXCEPTION_TESTS_long_double): Likewise.
13285 (EXCEPTION_TESTS): Likewise.
13286 * math/libm-test.inc (test_exceptions): Only test exceptions if
13287 EXCEPTION_TESTS (FLOAT).
13289 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13291 * benchtests/Makefile (string-bench): Add strcpy_chk and
13293 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13294 * benchtests/bench-stpcpy_chk.c: New file.
13295 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13296 * benchtests/bench-strcpy_chk.c: New file.
13297 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13299 (do_test): Likewise.
13301 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13303 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13304 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13305 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13306 with tabs where appropriate.
13307 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13309 [PPC_PLATFORM_PPC440]: Likewise.
13310 [PPC_PLATFORM_PPC464]: Likewise.
13311 [PPC_PLATFORM_PPC476]: Likewise.
13312 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13313 ppc464, and ppc476 platform strings merging from ports/
13316 2013-06-11 Andreas Schwab <schwab@suse.de>
13319 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13320 (from_ucs4_idx): Regenerate.
13321 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13322 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13323 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13324 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13325 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13326 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13327 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13328 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13329 from FROM_LOOP and TO_LOOP specific macros.
13330 (BODY): Handle combining characters.
13331 * iconvdata/BIG5HKSCS.irreversible: Update.
13332 * iconvdata/BIG5HKSCS.precomposed: New file.
13333 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13335 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13337 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13339 * include/sys/time.h: Fix indentation and add copyright header.
13341 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13342 (do_test): Likewise.
13343 * string/test-memchr.c (do_one_test): Likewise.
13344 (do_test): Likewise.
13345 * string/test-memcmp.c (do_one_test): Likewise.
13346 (do_test): Likewise.
13347 * string/test-memcpy.c (do_one_test): Likewise.
13348 (do_test): Likewise.
13349 * string/test-memmem.c (do_one_test): Likewise.
13350 (do_test): Likewise.
13351 (do_random_tests): Likewise.
13352 * string/test-memmove.c (do_one_test): Likewise.
13353 (do_test): Likewise.
13354 * string/test-memset.c (do_one_test): Likewise.
13355 (do_test): Likewise.
13356 * string/test-rawmemchr.c (do_one_test): Likewise.
13357 (do_test): Likewise.
13358 * string/test-strcasecmp.c (do_one_test): Likewise.
13359 (do_test): Likewise.
13360 * string/test-strcasestr.c (do_one_test): Likewise.
13361 (do_test): Likewise.
13362 * string/test-strcat.c (do_one_test): Likewise.
13363 (do_test): Likewise.
13364 * string/test-strchr.c (do_one_test): Likewise.
13365 (do_test): Likewise.
13366 * string/test-strcmp.c (do_one_test): Likewise.
13367 (do_test): Likewise.
13368 * string/test-strcpy.c (do_one_test): Likewise.
13369 (do_test): Likewise.
13370 * string/test-string.h: Likewise.
13371 (test_init): Likewise.
13372 * string/test-strlen.c (do_one_test): Likewise.
13373 (do_test): Likewise.
13374 * string/test-strncasecmp.c (do_one_test): Likewise.
13375 (do_test): Likewise.
13376 * string/test-strncat.c (do_one_test): Likewise.
13377 (do_test): Likewise.
13378 * string/test-strncmp.c (do_one_test): Likewise.
13379 (do_test_limit): Likewise.
13380 (do_test): Likewise.
13381 * string/test-strncpy.c (do_one_test): Likewise.
13382 (do_test): Likewise.
13383 * string/test-strnlen.c (do_one_test): Likewise.
13384 (do_test): Likewise.
13385 * string/test-strpbrk.c (do_one_test): Likewise.
13386 (do_test): Likewise.
13387 * string/test-strrchr.c (do_one_test): Likewise.
13388 (do_test): Likewise.
13389 * string/test-strspn.c (do_one_test): Likewise.
13390 (do_test): Likewise.
13391 * string/test-strstr.c (do_one_test): Likewise.
13392 (do_test): Likewise.
13394 * benchtests/Makefile (string-bench): Add string benchmarks.
13395 * benchtests/bench-bcopy-ifunc.c: New file.
13396 * benchtests/bench-bcopy.c: New file.
13397 * benchtests/bench-bzero-ifunc.c: New file.
13398 * benchtests/bench-bzero.c: New file.
13399 * benchtests/bench-memccpy-ifunc.c: New file.
13400 * benchtests/bench-memccpy.c: New file.
13401 * benchtests/bench-memchr-ifunc.c: New file.
13402 * benchtests/bench-memchr.c: New file.
13403 * benchtests/bench-memcmp-ifunc.c: New file.
13404 * benchtests/bench-memcmp.c: New file.
13405 * benchtests/bench-memmem-ifunc.c: New file.
13406 * benchtests/bench-memmem.c: New file.
13407 * benchtests/bench-memmove-ifunc.c: New file.
13408 * benchtests/bench-memmove.c: New file.
13409 * benchtests/bench-mempcpy-ifunc.c: New file.
13410 * benchtests/bench-mempcpy.c: New file.
13411 * benchtests/bench-memset-ifunc.c: New file.
13412 * benchtests/bench-memset.c: New file.
13413 * benchtests/bench-rawmemchr-ifunc.c: New file.
13414 * benchtests/bench-rawmemchr.c: New file.
13415 * benchtests/bench-stpcpy-ifunc.c: New file.
13416 * benchtests/bench-stpcpy.c: New file.
13417 * benchtests/bench-stpncpy-ifunc.c: New file.
13418 * benchtests/bench-stpncpy.c: New file.
13419 * benchtests/bench-strcasecmp-ifunc.c: New file.
13420 * benchtests/bench-strcasecmp.c: New file.
13421 * benchtests/bench-strcasestr-ifunc.c: New file.
13422 * benchtests/bench-strcasestr.c: New file.
13423 * benchtests/bench-strcat-ifunc.c: New file.
13424 * benchtests/bench-strcat.c: New file.
13425 * benchtests/bench-strchr-ifunc.c: New file.
13426 * benchtests/bench-strchr.c: New file.
13427 * benchtests/bench-strchrnul-ifunc.c: New file.
13428 * benchtests/bench-strchrnul.c: New file.
13429 * benchtests/bench-strcmp-ifunc.c: New file.
13430 * benchtests/bench-strcmp.c: New file.
13431 * benchtests/bench-strcpy-ifunc.c: New file.
13432 * benchtests/bench-strcpy.c: New file.
13433 * benchtests/bench-strcspn-ifunc.c: New file.
13434 * benchtests/bench-strcspn.c: New file.
13435 * benchtests/bench-strlen-ifunc.c: New file.
13436 * benchtests/bench-strlen.c: New file.
13437 * benchtests/bench-strncasecmp-ifunc.c: New file.
13438 * benchtests/bench-strncasecmp.c: New file.
13439 * benchtests/bench-strncat-ifunc.c: New file.
13440 * benchtests/bench-strncat.c: New file.
13441 * benchtests/bench-strncmp-ifunc.c: New file.
13442 * benchtests/bench-strncmp.c: New file.
13443 * benchtests/bench-strncpy-ifunc.c: New file.
13444 * benchtests/bench-strncpy.c: New file.
13445 * benchtests/bench-strnlen-ifunc.c: New file.
13446 * benchtests/bench-strnlen.c: New file.
13447 * benchtests/bench-strpbrk-ifunc.c: New file.
13448 * benchtests/bench-strpbrk.c: New file.
13449 * benchtests/bench-strrchr-ifunc.c: New file.
13450 * benchtests/bench-strrchr.c: New file.
13451 * benchtests/bench-strspn-ifunc.c: New file.
13452 * benchtests/bench-strspn.c: New file.
13453 * benchtests/bench-strstr-ifunc.c: New file.
13454 * benchtests/bench-strstr.c: New file.
13456 * benchtests/Makefile: Disable parallel execution of targets.
13457 (string-bench): Add memcpy.
13458 (benchset): New variable to store a list of benchmark sets.
13459 (bench-func): Renamed from bench.
13460 (bench-set): New target.
13461 (bench): Depend on bench-func and bench-set.
13462 * benchtests/README: Add section on benchmark sets.
13463 * benchtests/bench-memcpy-ifunc.c: New file.
13464 * benchtests/bench-memcpy.c: New file.
13465 * benchtests/bench-string.h: New file.
13467 2013-06-11 Andreas Schwab <schwab@suse.de>
13470 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13471 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13472 values in the triple.
13473 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13474 terminator in the group key.
13476 2013-06-11 Andreas Jaeger <aj@suse.de>
13478 * po/zh_TW.po: Update Chinese (traditional) translation from
13479 translation project.
13481 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13483 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13484 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13485 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13486 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13487 (clock_getcpuclockid): Likewise.
13488 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13489 Add weak_alias and libc_hidden_def.
13490 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13491 * rt/clock_gettime.c (clock_gettime): Rename to
13492 __clock_gettime. Add weak_alias and libc_hidden_def.
13493 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13494 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13495 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13496 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13497 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13499 * rt/clock_settime.c (clock_settime): Rename to
13500 __clock_settime. Add weak_alias and libc_hidden_def.
13501 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13503 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13505 * mach/err_boot.sub: Remove trailing whitespace.
13506 * mach/err_ipc.sub: Likewise.
13507 * mach/err_mach.sub: Likewise.
13509 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13510 (ROUNDING_TESTS_double): Likewise.
13511 (ROUNDING_TESTS_long_double): Likewise.
13512 (ROUNDING_TESTS): Likewise.
13513 * math/libm-test.inc: Include <math-tests.h>.
13514 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13515 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13516 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13517 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13519 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13521 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13524 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13526 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13527 otherwise empty TRANS lines.
13528 * sysdeps/gnu/errlist.c: Regenerated.
13530 * catgets/gencat.c (error_print): Use (void) in function
13532 * crypt/crypt_util.c (__init_des): Likewise.
13533 * crypt/speeds.c (Stop): Likewise.
13535 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13536 * inet/ruserpass.c (token): Likewise.
13537 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13538 * intl/localealias.c (extend_alias_table): Likewise.
13539 * intl/plural-exp.c (init_germanic_plural): Likewise.
13540 * libio/fcloseall.c (__fcloseall): Likewise.
13541 * libio/genops.c (_IO_flush_all): Likewise.
13542 (_IO_flush_all_linebuffered): Likewise.
13543 (_IO_cleanup): Likewise.
13544 (_IO_iter_begin): Likewise.
13545 (_IO_iter_end): Likewise.
13546 (_IO_list_lock): Likewise.
13547 (_IO_list_unlock): Likewise.
13548 (_IO_list_resetlock): Likewise.
13549 * libio/getchar.c (getchar): Likewise.
13550 * libio/getchar_u.c (getchar_unlocked): Likewise.
13551 * libio/getwchar.c (getwchar): Likewise.
13552 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13553 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13554 * login/getpt.c (__getpt): Likewise.
13555 * login/tst-utmp.c (main): Likewise.
13556 * malloc/hooks.c (__malloc_check_init): Likewise.
13557 * malloc/malloc.c (__malloc_stats): Likewise.
13558 * malloc/mtrace.c (tr_break): Likewise.
13559 (mtrace): Likewise.
13560 (muntrace): Likewise.
13561 * misc/fstab.c (endfsent): Likewise.
13562 * misc/getclktck.c (__getclktck): Likewise.
13563 * misc/getdtsz.c (__getdtablesize): Likewise.
13564 * misc/gethostid.c (gethostid): Likewise.
13565 * misc/getpagesize.c (__getpagesize): Likewise.
13566 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13567 (__get_nprocs): Likewise.
13568 (__get_phys_pages): Likewise.
13569 (__get_avphys_pages): Likewise.
13570 * misc/getttyent.c (getttyent): Likewise.
13571 (setttyent): Likewise.
13572 (endttyent): Likewise.
13573 * misc/getusershell.c (getusershell): Likewise.
13574 (endusershell): Likewise.
13575 (setusershell): Likewise.
13576 (initshells): Likewise.
13577 * misc/hsearch.c (__hdestroy): Likewise.
13578 * misc/sync.c (sync): Likewise.
13579 * misc/syslog.c (closelog_internal): Likewise.
13580 (closelog): Likewise.
13581 * misc/ttyslot.c (ttyslot): Likewise.
13582 * misc/vhangup.c (vhangup): Likewise.
13583 * posix/fork.c (__fork): Likewise.
13584 * posix/getegid.c (__getegid): Likewise.
13585 * posix/geteuid.c (__geteuid): Likewise.
13586 * posix/getgid.c (__getgid): Likewise.
13587 * posix/getpid.c (__getpid): Likewise.
13588 * posix/getppid.c (__getppid): Likewise.
13589 * posix/getuid.c (__getuid): Likewise.
13590 * posix/pause.c (pause): Likewise.
13591 * posix/setpgrp.c (setpgrp): Likewise.
13592 * posix/setsid.c (__setsid): Likewise.
13593 * posix/test-vfork.c (noop): Likewise.
13594 * resolv/gethnamaddr.c (_endhtent): Likewise.
13595 (_gethtent): Likewise.
13596 (ht_endhostent): Likewise.
13597 (gethostent): Likewise.
13598 (dns_service): Likewise.
13599 * stdlib/drand48.c (drand48): Likewise.
13600 * stdlib/lrand48.c (lrand48): Likewise.
13601 * stdlib/mrand48.c (mrand48): Likewise.
13602 * stdlib/rand.c (rand): Likewise.
13603 * stdlib/random.c (__random): Likewise.
13604 * stdlib/setenv.c (clearenv): Likewise.
13605 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13606 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13607 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13608 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13609 (__get_nprocs): Likewise.
13610 (__get_phys_pages): Likewise.
13611 (__get_avphys_pages): Likewise.
13612 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13613 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13614 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13615 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13616 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13617 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13618 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13619 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13620 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13621 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13622 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13623 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13624 * sysdeps/posix/clock.c (clock): Likewise.
13625 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13626 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13627 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13628 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13629 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13630 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13631 (__get_nprocs_conf): Likewise.
13632 (__get_phys_pages): Likewise.
13633 (__get_avphys_pages): Likewise.
13634 * time/clock.c (clock): Likewise.
13635 * time/tzset.c (__tzname_max): Likewise.
13637 2013-06-07 Joseph Myers <joseph@codesourcery.com>
13639 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13640 (__bswap_32): Do not use "register".
13641 * crypt/crypt.c (_ufc_doit_r): Likewise.
13642 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13643 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13644 * gmon/gmon.c (__monstartup): Likewise.
13645 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13646 * hurd/hurdmalloc.c (more_memory): Likewise.
13647 (malloc): Likewise.
13649 (realloc): Likewise.
13650 (malloc_fork_prepare): Likewise.
13651 (malloc_fork_parent): Likewise.
13652 (malloc_fork_child): Likewise.
13653 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13654 (_svcauth_des): Likewise.
13655 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13656 * inet/inet_net.c (inet_network): Likewise.
13657 * inet/inet_netof.c (inet_netof): Likewise.
13658 * inet/rcmd.c (__validuser2_sa): Likewise.
13659 * io/fts.c (fts_open): Likewise.
13660 (fts_load): Likewise.
13661 (fts_close): Likewise.
13662 (fts_read): Likewise.
13663 (fts_children): Likewise.
13664 (fts_build): Likewise.
13665 (fts_stat): Likewise.
13666 (fts_sort): Likewise.
13667 (fts_alloc): Likewise.
13668 (fts_lfree): Likewise.
13669 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13670 (_IO_file_xsgetn): Likewise.
13671 (_IO_file_xsgetn_mmap): Likewise.
13672 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13673 (_IO_cookie_write): Likewise.
13674 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13675 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13676 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13677 * malloc/obstack.c (_obstack_begin): Likewise.
13678 (_obstack_begin_1): Likewise.
13679 (_obstack_newchunk): Likewise.
13680 (_obstack_allocated_p): Likewise.
13681 (obstack_free): Likewise.
13682 (_obstack_memory_used): Likewise.
13683 * misc/getttyent.c (getttynam): Likewise.
13684 (getttyent): Likewise.
13687 * misc/getusershell.c (initshells): Likewise.
13688 * misc/syslog.c (__vsyslog_chk): Likewise.
13689 * misc/ttyslot.c (ttyslot): Likewise.
13690 * nis/nis_hash.c (__nis_hash): Likewise.
13691 * posix/fnmatch_loop.c (FCT): Likewise.
13692 * posix/getconf.c (print_all): Likewise.
13694 * posix/getopt.c (exchange): Likewise.
13695 * posix/glob.c (globfree): Likewise.
13696 (prefix_array): Likewise.
13697 (__glob_pattern_type): Likewise.
13698 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13699 (NS_GET32): Likewise.
13700 (NS_PUT16): Likewise.
13701 (NS_PUT32): Likewise.
13702 * resolv/gethnamaddr.c (getanswer): Likewise.
13703 (gethostbyname2): Likewise.
13704 (gethostbyaddr): Likewise.
13705 (_gethtent): Likewise.
13706 (_gethtbyname2): Likewise.
13707 (_gethtbyaddr): Likewise.
13708 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13709 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13710 * resolv/res_init.c (__res_vinit): Likewise.
13711 (net_mask): Likewise.
13712 * resolv/res_mkquery.c (outchar): Likewise.
13714 * stdio-common/printf_fp.c (outchar): Likewise.
13716 * stdio-common/printf_fphex.c (outchar): Likewise.
13718 * stdio-common/printf_size.c (outchar): Likewise.
13720 * stdio-common/test_rdwr.c (main): Likewise.
13721 * stdio-common/tfformat.c (matches): Likewise.
13722 * stdio-common/vfprintf.c (outchar): Likewise.
13723 (printf_unknown): Likewise.
13724 (buffered_vfprintf): Likewise.
13725 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13726 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13727 (ReadFile): Likewise.
13728 * stdlib/qsort.c (SWAP): Likewise.
13729 (_quicksort): Likewise.
13730 * stdlib/setenv.c (__add_to_environ): Likewise.
13731 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13732 * stdlib/strtol_l.c (__strtol_l): Likewise.
13733 * stdlib/tst-strtod.c (main): Likewise.
13734 * stdlib/tst-strtol.c (main): Likewise.
13735 * stdlib/tst-strtoll.c (main): Likewise.
13736 * string/bits/string2.h (__strcmp_cc): Likewise.
13737 (__strcmp_cg): Likewise.
13738 (__strcspn_c1): Likewise.
13739 (__strcspn_c2): Likewise.
13740 (__strcspn_c3): Likewise.
13741 (__strspn_c1): Likewise.
13742 (__strspn_c2): Likewise.
13743 (__strspn_c3): Likewise.
13744 (__strsep_1c): Likewise.
13745 (__strsep_2c): Likewise.
13746 (__strsep_3c): Likewise.
13747 * string/memccpy.c (__memccpy): Likewise.
13748 * string/stpcpy.c (__stpcpy): Likewise.
13749 * string/strcmp.c (strcmp): Likewise.
13750 * string/strrchr.c (strrchr): Likewise.
13751 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13753 * sysdeps/mach/hurd/getcwd.c
13754 (_hurd_canonicalize_directory_name_internal): Likewise.
13755 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13756 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13757 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13758 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13759 Likewise, in both definitions.
13760 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13762 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13763 64] (__bswap_64): Likewise.
13764 * time/test_time.c (main): Likewise.
13765 * time/tzfile.c (__tzfile_read): Likewise.
13766 (__tzfile_compute): Likewise.
13767 * time/tzset.c (__tzset_parse_tz): Likewise.
13768 (tzset_internal): Likewise.
13769 (compute_change): Likewise.
13770 * wcsmbs/wcscat.c (__wcscat): Likewise.
13771 * wcsmbs/wcschr.c (wcschr): Likewise.
13772 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13773 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13774 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13775 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13776 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13777 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13778 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13779 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13780 * wcsmbs/wmemset.c (wmemset): Likewise.
13782 2013-06-06 Joseph Myers <joseph@codesourcery.com>
13784 * scripts/config.guess: Update to version 2013-05-16.
13785 * scripts/config.sub: Update to version 2013-04-24.
13786 * scripts/install-sh: Update to version 2011-11-20.07.
13787 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13788 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13790 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13792 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13793 * elf/sln.c: Likewise.
13794 * hurd/hurd/ioctl.h: Likewise.
13795 * hurd/hurdmalloc.c: Likewise.
13796 * hurd/xattr.c: Likewise.
13797 * include/shlib-compat.h: Likewise.
13798 * inet/ruserpass.c: Likewise.
13799 * libio/iofgets_u.c: Likewise.
13800 * libio/iofgetws_u.c: Likewise.
13801 * locale/programs/ld-identification.c: Likewise.
13802 * locale/programs/ld-time.c: Likewise.
13803 * mach/msg-destroy.c: Likewise.
13804 * nss/nss_files/files-netgrp.c: Likewise.
13805 * resolv/res_data.c: Likewise.
13806 * soft-fp/op-1.h: Likewise.
13807 * soft-fp/op-2.h: Likewise.
13808 * soft-fp/op-4.h: Likewise.
13809 * soft-fp/op-common.h: Likewise.
13810 * stdio-common/printf_fphex.c: Likewise.
13811 * stdlib/strtod_l.c: Likewise.
13812 * sunrpc/rpc/clnt.h: Likewise.
13813 * sysdeps/generic/framestate.c: Likewise.
13814 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13815 * sysdeps/i386/bsd-setjmp.S: Likewise.
13816 * sysdeps/i386/__longjmp.S: Likewise.
13817 * sysdeps/i386/setjmp.S: Likewise.
13818 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13819 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13820 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13836 * sysdeps/ieee754/support.c: Likewise.
13837 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13838 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13839 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13840 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13841 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13842 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13843 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13844 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13845 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13846 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13847 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13848 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13849 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13850 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13851 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13852 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13853 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13856 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
13858 * posix/transbug.c: Remove executable mode.
13860 2013-06-05 Joseph Myers <joseph@codesourcery.com>
13862 * crypt/speeds.c: Remove trailing whitespace.
13863 * dlfcn/default.c: Likewise.
13864 * elf/ifuncdep2.c: Likewise.
13865 * elf/ifuncmain1.c: Likewise.
13866 * elf/ifuncmain1vis.c: Likewise.
13867 * elf/testobj.h: Likewise.
13868 * elf/tst-stackguard1.c: Likewise.
13869 * gmon/sys/gmon.h: Likewise.
13870 * hurd/hurdmsg.c: Likewise.
13871 * hurd/new-fd.c: Likewise.
13872 * hurd/ports-get.c: Likewise.
13873 * iconvdata/ibm1008_420.c: Likewise.
13874 * inet/tst-getni1.c: Likewise.
13875 * inet/tst-getni2.c: Likewise.
13876 * libio/ioungetc.c: Likewise.
13877 * libio/wfiledoalloc.c: Likewise.
13878 * manual/libm-err-tab.pl: Likewise.
13879 * math/w_dremf.c: Likewise.
13880 * misc/ftruncate.c: Likewise.
13881 * posix/bug-glob2.c: Likewise.
13882 * posix/tst-pcre.c: Likewise.
13883 * posix/wait4.c: Likewise.
13884 * resolv/README: Likewise.
13885 * resolv/res_debug.h: Likewise.
13886 * resolv/tst-inet_ntop.c: Likewise.
13887 * setjmp/bug269-setjmp.c: Likewise.
13888 * soft-fp/extended.h: Likewise.
13889 * soft-fp/op-1.h: Likewise.
13890 * soft-fp/op-2.h: Likewise.
13891 * soft-fp/op-4.h: Likewise.
13892 * soft-fp/op-8.h: Likewise.
13893 * soft-fp/testit.c: Likewise.
13894 * stdio-common/bug16.c: Likewise.
13895 * stdlib/random.c: Likewise.
13896 * sunrpc/rpcsvc/rquota.x: Likewise.
13897 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13898 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13899 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13900 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13901 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13902 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13903 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13904 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13905 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13906 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13907 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13912 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13913 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13915 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13916 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13917 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13918 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13922 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13924 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13925 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13926 * sysdeps/ieee754/s_lib_version.c: Likewise.
13927 * sysdeps/mach/hurd/check_fds.c: Likewise.
13928 * sysdeps/mach/hurd/getsockname.c: Likewise.
13929 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13930 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13931 * sysdeps/powerpc/bits/link.h: Likewise.
13932 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13933 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13934 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13935 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13936 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13937 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13938 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13939 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13940 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13941 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13942 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13943 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13944 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13945 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13946 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13947 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13948 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13949 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13951 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13952 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13953 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13954 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13955 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13956 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13957 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13958 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13959 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13960 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13961 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13962 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13963 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13964 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13965 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13966 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13967 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13968 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13969 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13970 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13971 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13972 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13973 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13974 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13975 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13976 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13977 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13978 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13979 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13980 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13981 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13982 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13984 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13985 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13986 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13987 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13988 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13989 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13990 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13991 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13992 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13993 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13994 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13995 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13996 * sysdeps/powerpc/sysdep.h: Likewise.
13997 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13998 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13999 * sysdeps/sh/dl-trampoline.S: Likewise.
14000 * sysdeps/sh/memset.S: Likewise.
14001 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14002 * sysdeps/sh/strlen.S: Likewise.
14003 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14004 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14005 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14006 * sysdeps/sparc/sparc32/rem.S: Likewise.
14007 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14008 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14009 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14010 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14011 * sysdeps/sparc/sparc32/urem.S: Likewise.
14012 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14013 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14014 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14015 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14016 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14017 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14018 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14019 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14020 * sysdeps/unix/bsd/times.c: Likewise.
14021 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14022 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14026 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14027 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14028 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14029 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14030 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14031 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14032 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14033 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14034 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14035 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14036 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14037 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14038 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14039 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14040 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14041 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14042 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14043 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14044 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14045 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14046 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14047 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14048 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14049 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14050 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14051 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14052 * sysdeps/x86_64/strcspn.S: Likewise.
14054 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14056 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14057 generated file. Regenerate properly from gen-translit.pl.
14058 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14059 locale/C-translit.h.
14061 2013-06-05 Andreas Schwab <schwab@suse.de>
14064 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14065 week as 6 instead of -1.
14066 * time/tst-strptime.c (day_tests): Add test case.
14068 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14070 * sysdeps/generic/math_private.h
14071 (libc_feholdexcept_setround_53bit): Replace with
14072 libc_feholdsetround_53bit.
14073 (libc_feupdateenv_53bit): Replace with
14074 libc_feresetround_53bit.
14075 (SET_RESTORE_ROUND_53BIT): Adjust.
14077 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14079 * string/test-strchrnul.c: Add copyright header.
14081 * posix/tst-getaddrinfo4.c: Increase test timeout.
14083 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14086 * math/libm-test.inc (MAX_EXP): Remove
14088 (ulp): Use MIN_EXP - MANT_DIG.
14089 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14091 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14093 * po/be.po: Revert last change.
14094 * po/zh_CN.po: Likewise.
14095 * po/header.pot: Likewise.
14097 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14099 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14100 link-libc-deps to empty as target-specific variable.
14101 * Makerules (link-libc-args): New variable.
14102 (libc-for-link): Likewise.
14103 (link-libc-deps): Likewise.
14104 (lib%.so): Depend on $(link-libc-deps). Link with
14106 (build-module): Link with $(link-libc-args).
14107 (build-module-asneeded): Likewise.
14108 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14110 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14111 target-specific variable.
14112 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14113 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14114 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14116 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14118 ($(objpfx)libpcprofile.so): Likewise.
14119 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14121 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14122 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14123 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14125 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14126 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14127 * login/Makefile ($(objpfx)libutil.so): Likewise.
14128 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14129 * math/Makefile ($(objpfx)libm.so): Likewise.
14130 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14131 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14132 variable instead of depending directly on libc.
14133 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14134 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14136 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14138 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14139 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14140 ($(objpfx)libanl.so): Likewise.
14141 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14143 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14145 * sysdeps/i386/fpu/Makefile: Remove file.
14146 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14147 ($(objpfx)libm.so): Remove dependency on ld.so.
14149 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14152 * nis/yp_xdr.c (XDRMAXNAME): Define.
14153 (XDRMAXRECORD): Define.
14154 (xdr_domainname): Use XDRMAXNAME.
14155 (xdr_mapname): Likewise.
14156 (xdr_peername): Likewise.
14157 (xdr_keydat): Use XDRMAXRECORD.
14158 (xdr_valdat): Likewise.
14160 2013-05-30 Jeff Law <law@redhat.com>
14163 * manual/errno.texi (ESTALE): Update to account for more than
14164 just NFS file systems.
14165 * sysdeps/gnu/errlist.c: Regenerated.
14167 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14170 * elf/Makefile (tests): Add tst-null-argv.
14171 (modules-names): Add tst-null-argv-lib.
14172 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14173 (tst-null-argv-ENV): Set environment for tst-null-argv.
14174 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14175 (RTLD_PROGNAME): New macro.
14176 * elf/tst-null-argv.c: New test case.
14177 * elf/tst-null-argv-lib.c: Library for test case.
14178 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14179 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14180 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14181 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14182 * elf/dl-init.c (call_init): Likewise.
14183 (_dl_init): Likewise.
14184 * elf/dl-load.c (print_search_path): Likewise.
14185 (_dl_map_object): Likewise.
14186 * elf/dl-lookup.c (do_lookup_x): Likewise.
14187 (add_dependency): Likewise.
14188 (_dl_lookup_symbol_x): Likewise.
14189 (_dl_debug_bindings): Likewise.
14190 * elf/dl-open.c (_dl_show_scope): Likewise.
14191 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14192 * elf/dl-version.c (match_symbol): Likewise.
14193 (_dl_check_map_versions): Likewise.
14194 * elf/rtld.c (dl_main): Likewise.
14195 (print_unresolved): Use RTLD_PROGNAME.
14196 (print_missing_version): Likewise.
14197 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14198 (elf_machine_rela): Likewise.
14199 * sysdeps/powerpc/powerpc32/dl-machine.c
14200 (__process_machine_rela): Likewise.
14201 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14203 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14205 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14207 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14208 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14210 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14212 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14214 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14216 * po/be.po: Add descriptive title.
14217 * po/zh_CN.po: Likewise.
14218 * po/header.pot: Likewise.
14220 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14222 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14224 (enlarge_archive): Likewise.
14226 2013-05-28 Ben North <ben@redfrontdoor.org>
14228 * manual/arith.texi (frexp): It is the magnitude of the return
14229 value which lies in [0.5, 1), not the return value itself.
14231 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14235 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14237 * stdio-common/bug26.c (main): Correct fscanf template.
14239 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14240 declare _dl_skip_args.
14242 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14245 * manual/platform.texi: Add missing @end deftypefun.
14247 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14250 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14251 bit of mantissa of 2^16382.
14252 * math/libm-test.inc (hypot_test_data): Add more tests.
14254 * math/libm-test.inc: Add drem and pow10 to list of tested
14256 (pow10_test): New function.
14257 (drem_test): Likewise.
14258 (drem_test_tonearest): Likewise.
14259 (drem_test_towardzero): Likewise.
14260 (drem_test_downward): Likewise.
14261 (drem_test_upward): Likewise.
14262 (main): Call the new functions.
14264 * math/libm-test.inc (finite_test_data): Remove.
14265 (finite_test): Run tests from isfinite_test_data.
14266 (gamma_test_data): Remove.
14267 (gamma_test): Run tests from lgamma_test_data.
14268 * sysdeps/i386/fpu/libm-test-ulps: Update.
14269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14271 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14273 * manual/platform.texi: Add PowerPC PPR function set documentation.
14274 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14277 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14279 * math/libm-test.inc (MAX_EXP): Define.
14281 (ulp): New function.
14282 (check_float_internal): Use ULPDIFF.
14283 (cpow_test): Disable failing test.
14284 (check_ulp): Test ulp() implemetnation.
14285 (main): Call check_ulp before starting tests.
14287 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14289 * math/gen-libm-test.pl (generate_testfile): Do not handle
14290 START_DATA and END_DATA.
14291 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14293 (acos_tonearest_test_data): Likewise.
14294 (acos_towardzero_test_data): Likewise.
14295 (acos_downward_test_data): Likewise.
14296 (acos_upward_test_data): Likewise.
14297 (acosh_test_data): Likewise.
14298 (asin_test_data): Likewise.
14299 (asin_tonearest_test_data): Likewise.
14300 (asin_towardzero_test_data): Likewise.
14301 (asin_downward_test_data): Likewise.
14302 (asin_upward_test_data): Likewise.
14303 (asinh_test_data): Likewise.
14304 (atan_test_data): Likewise.
14305 (atanh_test_data): Likewise.
14306 (atan2_test_data): Likewise.
14307 (cabs_test_data): Likewise.
14308 (cacos_test_data): Likewise.
14309 (cacosh_test_data): Likewise.
14310 (carg_test_data): Likewise.
14311 (casin_test_data): Likewise.
14312 (casinh_test_data): Likewise.
14313 (catan_test_data): Likewise.
14314 (catanh_test_data): Likewise.
14315 (cbrt_test_data): Likewise.
14316 (ccos_test_data): Likewise.
14317 (ccosh_test_data): Likewise.
14318 (ceil_test_data): Likewise.
14319 (cexp_test_data): Likewise.
14320 (cimag_test_data): Likewise.
14321 (clog_test_data): Likewise.
14322 (clog10_test_data): Likewise.
14323 (conj_test_data): Likewise.
14324 (copysign_test_data): Likewise.
14325 (cos_test_data): Likewise.
14326 (cos_tonearest_test_data): Likewise.
14327 (cos_towardzero_test_data): Likewise.
14328 (cos_downward_test_data): Likewise.
14329 (cos_upward_test_data): Likewise.
14330 (cosh_test_data): Likewise.
14331 (cosh_tonearest_test_data): Likewise.
14332 (cosh_towardzero_test_data): Likewise.
14333 (cosh_downward_test_data): Likewise.
14334 (cosh_upward_test_data): Likewise.
14335 (cpow_test_data): Likewise.
14336 (cproj_test_data): Likewise.
14337 (creal_test_data): Likewise.
14338 (csin_test_data): Likewise.
14339 (csinh_test_data): Likewise.
14340 (csqrt_test_data): Likewise.
14341 (ctan_test_data): Likewise.
14342 (ctan_tonearest_test_data): Likewise.
14343 (ctan_towardzero_test_data): Likewise.
14344 (ctan_downward_test_data): Likewise.
14345 (ctan_upward_test_data): Likewise.
14346 (ctanh_test_data): Likewise.
14347 (ctanh_tonearest_test_data): Likewise.
14348 (ctanh_towardzero_test_data): Likewise.
14349 (ctanh_downward_test_data): Likewise.
14350 (ctanh_upward_test_data): Likewise.
14351 (erf_test_data): Likewise.
14352 (erfc_test_data): Likewise.
14353 (exp_test_data): Likewise.
14354 (exp_tonearest_test_data): Likewise.
14355 (exp_towardzero_test_data): Likewise.
14356 (exp_downward_test_data): Likewise.
14357 (exp_upward_test_data): Likewise.
14358 (exp10_test_data): Likewise.
14359 (exp2_test_data): Likewise.
14360 (expm1_test_data): Likewise.
14361 (fabs_test_data): Likewise.
14362 (fdim_test_data): Likewise.
14363 (finite_test_data): Likewise.
14364 (floor_test_data): Likewise.
14365 (fma_test_data): Likewise.
14366 (fma_towardzero_test_data): Likewise.
14367 (fma_downward_test_data): Likewise.
14368 (fma_upward_test_data): Likewise.
14369 (fmax_test_data): Likewise.
14370 (fmin_test_data): Likewise.
14371 (fmod_test_data): Likewise.
14372 (fpclassify_test_data): Likewise.
14373 (frexp_test_data): Likewise.
14374 (gamma_test_data): Likewise.
14375 (hypot_test_data): Likewise.
14376 (ilogb_test_data): Likewise.
14377 (isfinite_test_data): Likewise.
14378 (isgreater_test_data): Likewise.
14379 (isgreaterequal_test_data): Likewise.
14380 (isinf_test_data): Likewise.
14381 (isless_test_data): Likewise.
14382 (islessequal_test_data): Likewise.
14383 (islessgreater_test_data): Likewise.
14384 (isnan_test_data): Likewise.
14385 (isnormal_test_data): Likewise.
14386 (issignaling_test_data): Likewise.
14387 (isunordered_test_data): Likewise.
14388 (j0_test_data): Likewise.
14389 (j1_test_data): Likewise.
14390 (jn_test_data): Likewise.
14391 (ldexp_test_data): Likewise.
14392 (lgamma_test_data): Likewise.
14393 (lrint_test_data): Likewise.
14394 (lrint_tonearest_test_data): Likewise.
14395 (lrint_towardzero_test_data): Likewise.
14396 (lrint_downward_test_data): Likewise.
14397 (lrint_upward_test_data): Likewise.
14398 (llrint_test_data): Likewise.
14399 (llrint_tonearest_test_data): Likewise.
14400 (llrint_towardzero_test_data): Likewise.
14401 (llrint_downward_test_data): Likewise.
14402 (llrint_upward_test_data): Likewise.
14403 (log_test_data): Likewise.
14404 (log10_test_data): Likewise.
14405 (log1p_test_data): Likewise.
14406 (log2_test_data): Likewise.
14407 (logb_test_data): Likewise.
14408 (logb_downward_test_data): Likewise.
14409 (lround_test_data): Likewise.
14410 (llround_test_data): Likewise.
14411 (modf_test_data): Likewise.
14412 (nearbyint_test_data): Likewise.
14413 (nextafter_test_data): Likewise.
14414 (nexttoward_test_data): Likewise.
14415 (pow_test_data): Likewise.
14416 (pow_tonearest_test_data): Likewise.
14417 (pow_towardzero_test_data): Likewise.
14418 (pow_downward_test_data): Likewise.
14419 (pow_upward_test_data): Likewise.
14420 (remainder_test_data): Likewise.
14421 (remainder_tonearest_test_data): Likewise.
14422 (remainder_towardzero_test_data): Likewise.
14423 (remainder_downward_test_data): Likewise.
14424 (remainder_upward_test_data): Likewise.
14425 (remquo_test_data): Likewise.
14426 (rint_test_data): Likewise.
14427 (rint_tonearest_test_data): Likewise.
14428 (rint_towardzero_test_data): Likewise.
14429 (rint_downward_test_data): Likewise.
14430 (rint_upward_test_data): Likewise.
14431 (round_test_data): Likewise.
14432 (scalb_test_data): Likewise.
14433 (scalbn_test_data): Likewise.
14434 (scalbln_test_data): Likewise.
14435 (signbit_test_data): Likewise.
14436 (sin_test_data): Likewise.
14437 (sin_tonearest_test_data): Likewise.
14438 (sin_towardzero_test_data): Likewise.
14439 (sin_downward_test_data): Likewise.
14440 (sin_upward_test_data): Likewise.
14441 (sincos_test_data): Likewise.
14442 (sinh_test_data): Likewise.
14443 (sinh_tonearest_test_data): Likewise.
14444 (sinh_towardzero_test_data): Likewise.
14445 (sinh_downward_test_data): Likewise.
14446 (sinh_upward_test_data): Likewise.
14447 (sqrt_test_data): Likewise.
14448 (tan_test_data): Likewise.
14449 (tan_tonearest_test_data): Likewise.
14450 (tan_towardzero_test_data): Likewise.
14451 (tan_downward_test_data): Likewise.
14452 (tan_upward_test_data): Likewise.
14453 (tanh_test_data): Likewise.
14454 (tgamma_test_data): Likewise.
14455 (trunc_test_data): Likewise.
14456 (y0_test_data): Likewise.
14457 (y1_test_data): Likewise.
14458 (yn_test_data): Likewise.
14459 (significand_test_data): Likewise.
14461 * math/gen-libm-test.pl (@functions): Remove variable.
14462 (generate_testfile): Don't handle START and END lines.
14463 * math/libm-test.inc (START): New macro.
14465 (END_COMPLEX): Likewise.
14466 (acos_test): Use END macro without arguments.
14467 (acos_test_tonearest): Likewise.
14468 (acos_test_towardzero): Likewise.
14469 (acos_test_downward): Likewise.
14470 (acos_test_upward): Likewise.
14471 (acosh_test): Likewise.
14472 (asin_test): Likewise.
14473 (asin_test_tonearest): Likewise.
14474 (asin_test_towardzero): Likewise.
14475 (asin_test_downward): Likewise.
14476 (asin_test_upward): Likewise.
14477 (asinh_test): Likewise.
14478 (atan_test): Likewise.
14479 (atanh_test): Likewise.
14480 (atan2_test): Likewise.
14481 (cabs_test): Likewise.
14482 (cacos_test): Use END_COMPLEX macro without arguments.
14483 (cacosh_test): Likewise.
14484 (carg_test): Use END macro without arguments.
14485 (casin_test): Use END_COMPLEX macro without arguments.
14486 (casinh_test): Likewise.
14487 (catan_test): Likewise.
14488 (catanh_test): Likewise.
14489 (cbrt_test): Use END macro without arguments.
14490 (ccos_test): Use END_COMPLEX macro without arguments.
14491 (ccosh_test): Likewise.
14492 (ceil_test): Use END macro without arguments.
14493 (cexp_test): Use END_COMPLEX macro without arguments.
14494 (cimag_test): Use END macro without arguments.
14495 (clog_test): Use END_COMPLEX macro without arguments.
14496 (clog10_test): Likewise.
14497 (conj_test): Likewise.
14498 (copysign_test): Use END macro without arguments.
14499 (cos_test): Likewise.
14500 (cos_test_tonearest): Likewise.
14501 (cos_test_towardzero): Likewise.
14502 (cos_test_downward): Likewise.
14503 (cos_test_upward): Likewise.
14504 (cosh_test): Likewise.
14505 (cosh_test_tonearest): Likewise.
14506 (cosh_test_towardzero): Likewise.
14507 (cosh_test_downward): Likewise.
14508 (cosh_test_upward): Likewise.
14509 (cpow_test): Use END_COMPLEX macro without arguments.
14510 (cproj_test): Likewise.
14511 (creal_test): Use END macro without arguments.
14512 (csin_test): Use END_COMPLEX macro without arguments.
14513 (csinh_test): Likewise.
14514 (csqrt_test): Likewise.
14515 (ctan_test): Likewise.
14516 (ctan_test_tonearest): Likewise.
14517 (ctan_test_towardzero): Likewise.
14518 (ctan_test_downward): Likewise.
14519 (ctan_test_upward): Likewise.
14520 (ctanh_test): Likewise.
14521 (ctanh_test_tonearest): Likewise.
14522 (ctanh_test_towardzero): Likewise.
14523 (ctanh_test_downward): Likewise.
14524 (ctanh_test_upward): Likewise.
14525 (erf_test): Use END macro without arguments.
14526 (erfc_test): Likewise.
14527 (exp_test): Likewise.
14528 (exp_test_tonearest): Likewise.
14529 (exp_test_towardzero): Likewise.
14530 (exp_test_downward): Likewise.
14531 (exp_test_upward): Likewise.
14532 (exp10_test): Likewise.
14533 (exp2_test): Likewise.
14534 (expm1_test): Likewise.
14535 (fabs_test): Likewise.
14536 (fdim_test): Likewise.
14537 (finite_test): Likewise.
14538 (floor_test): Likewise.
14539 (fma_test): Likewise.
14540 (fma_test_towardzero): Likewise.
14541 (fma_test_downward): Likewise.
14542 (fma_test_upward): Likewise.
14543 (fmax_test): Likewise.
14544 (fmin_test): Likewise.
14545 (fmod_test): Likewise.
14546 (fpclassify_test): Likewise.
14547 (frexp_test): Likewise.
14548 (gamma_test): Likewise.
14549 (hypot_test): Likewise.
14550 (ilogb_test): Likewise.
14551 (isfinite_test): Likewise.
14552 (isgreater_test): Likewise.
14553 (isgreaterequal_test): Likewise.
14554 (isinf_test): Likewise.
14555 (isless_test): Likewise.
14556 (islessequal_test): Likewise.
14557 (islessgreater_test): Likewise.
14558 (isnan_test): Likewise.
14559 (isnormal_test): Likewise.
14560 (issignaling_test): Likewise.
14561 (isunordered_test): Likewise.
14562 (j0_test): Likewise.
14563 (j1_test): Likewise.
14564 (jn_test): Likewise.
14565 (ldexp_test): Likewise.
14566 (lgamma_test): Likewise.
14567 (lrint_test): Likewise.
14568 (lrint_test_tonearest): Likewise.
14569 (lrint_test_towardzero): Likewise.
14570 (lrint_test_downward): Likewise.
14571 (lrint_test_upward): Likewise.
14572 (llrint_test): Likewise.
14573 (llrint_test_tonearest): Likewise.
14574 (llrint_test_towardzero): Likewise.
14575 (llrint_test_downward): Likewise.
14576 (llrint_test_upward): Likewise.
14577 (log_test): Likewise.
14578 (log10_test): Likewise.
14579 (log1p_test): Likewise.
14580 (log2_test): Likewise.
14581 (logb_test): Likewise.
14582 (logb_test_downward): Likewise.
14583 (lround_test): Likewise.
14584 (llround_test): Likewise.
14585 (modf_test): Likewise.
14586 (nearbyint_test): Likewise.
14587 (nextafter_test): Likewise.
14588 (nexttoward_test): Likewise.
14589 (pow_test): Likewise.
14590 (pow_test_tonearest): Likewise.
14591 (pow_test_towardzero): Likewise.
14592 (pow_test_downward): Likewise.
14593 (pow_test_upward): Likewise.
14594 (remainder_test): Likewise.
14595 (remainder_test_tonearest): Likewise.
14596 (remainder_test_towardzero): Likewise.
14597 (remainder_test_downward): Likewise.
14598 (remainder_test_upward): Likewise.
14599 (remquo_test): Likewise.
14600 (rint_test): Likewise.
14601 (rint_test_tonearest): Likewise.
14602 (rint_test_towardzero): Likewise.
14603 (rint_test_downward): Likewise.
14604 (rint_test_upward): Likewise.
14605 (round_test): Likewise.
14606 (scalb_test): Likewise.
14607 (scalbn_test): Likewise.
14608 (scalbln_test): Likewise.
14609 (signbit_test): Likewise.
14610 (sin_test): Likewise.
14611 (sin_test_tonearest): Likewise.
14612 (sin_test_towardzero): Likewise.
14613 (sin_test_downward): Likewise.
14614 (sin_test_upward): Likewise.
14615 (sincos_test): Likewise.
14616 (sinh_test): Likewise.
14617 (sinh_test_tonearest): Likewise.
14618 (sinh_test_towardzero): Likewise.
14619 (sinh_test_downward): Likewise.
14620 (sinh_test_upward): Likewise.
14621 (sqrt_test): Likewise.
14622 (tan_test): Likewise.
14623 (tan_test_tonearest): Likewise.
14624 (tan_test_towardzero): Likewise.
14625 (tan_test_downward): Likewise.
14626 (tan_test_upward): Likewise.
14627 (tanh_test): Likewise.
14628 (tgamma_test): Likewise.
14629 (trunc_test): Likewise.
14630 (y0_test): Likewise.
14631 (y1_test): Likewise.
14632 (yn_test): Likewise.
14633 (significand_test): Likewise.
14635 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
14638 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14640 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14643 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14644 __ppc_mdoio and __ppc_mdoom.
14645 * manual/platform.texi: Document new functions __ppc_yield,
14646 __ppc_mdoio and __ppc_mdoom.
14648 2013-05-22 Carlos O'Donell <carlos@redhat.com>
14650 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14651 (main): Mention "tls" pseudo-hwcap is legacy.
14652 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14654 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14656 * math/gen-libm-test.pl (parse_args): Output only string of
14657 arguments as text for test name, not full call or descriptions of
14658 tests for extra outputs.
14659 (generate_testfile): Do not pass function name to parse_args.
14660 Generate this_func variable from START.
14661 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14663 (struct test_ff_f_data): Likewise.
14664 (test_ff_f_data_nexttoward): Likewise.
14665 (struct test_fi_f_data): Likewise.
14666 (struct test_fl_f_data): Likewise.
14667 (struct test_if_f_data): Likewise.
14668 (struct test_fff_f_data): Likewise.
14669 (struct test_c_f_data): Likewise.
14670 (struct test_f_f1_data): Likewise. Remove field extra_name.
14671 (struct test_fF_f1_data): Likewise.
14672 (struct test_ffI_f1_data): Likewise.
14673 (struct test_c_c_data): Rename test_name field to arg_str.
14674 (struct test_cc_c_data): Likewise.
14675 (struct test_f_i_data): Likewise.
14676 (struct test_ff_i_data): Likewise.
14677 (struct test_f_l_data): Likewise.
14678 (struct test_f_L_data): Likewise.
14679 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14681 (COMMON_TEST_SETUP): New macro.
14682 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14683 (COMMON_TEST_CLEANUP): Likewise.
14684 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14685 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14687 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14688 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14690 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14691 (RUN_TEST_fff_f): Take argument string. Call new setup and
14693 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14694 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14696 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14697 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14699 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14700 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14702 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14703 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14705 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14706 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14708 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14709 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14711 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14712 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14714 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14715 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14717 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14718 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14720 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14721 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14723 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14724 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14726 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14727 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14729 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14730 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14732 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14733 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14735 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14736 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14738 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14740 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14742 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14743 to _sifields.sigfault.
14744 (si_addr_lsb): Define new macro.
14745 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14746 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14747 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14749 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14752 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14754 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14756 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14757 loading the domain.
14759 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14761 * math/gen-libm-test.pl (parse_args): Do not include expected
14762 result in test name.
14763 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14765 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14766 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14767 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14770 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14772 * benchtests/Makefile: Sort function entries.
14774 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14775 tanh, asinh, acosh, atanh.
14776 * benchtests/acos-inputs: New file.
14777 * benchtests/acosh-inputs: New file.
14778 * benchtests/asin-inputs: New file.
14779 * benchtests/asinh-inputs: New file.
14780 * benchtests/atanh-inputs: New file.
14781 * benchtests/cosh-inputs: New file.
14782 * benchtests/log-inputs: New file.
14783 * benchtests/sinh-inputs: New file.
14784 * benchtests/tanh-inputs: New file.
14786 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14789 * posix/tst-getaddrinfo4.c: New test.
14790 * posix/Makefile (tests): Add it.
14792 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14795 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14796 when no services were used.
14797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14798 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14800 2013-05-21 Andreas Schwab <schwab@suse.de>
14803 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14804 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14806 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14807 redundant variable declarations and reallocation of buffer when
14808 parsing as IPv6 address. Always set NSS status when called from
14809 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14810 buffer too small. Correct computation of needed size.
14811 * nss/Makefile (tests): Add test-digits-dots.
14812 * nss/test-digits-dots.c: New test.
14814 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14816 * benchtests/Makefile: Remove instructions for adding
14818 * benchtests/README: New file to explain how to execute and
14819 enhance the benchmark tests.
14821 2013-05-21 Andreas Schwab <schwab@suse.de>
14824 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14825 * setjmp/tst-sigsetjmp.c: New test.
14827 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14829 * sysdeps/x86_64/memset.S (memset): New implementation.
14830 (__bzero): Likewise.
14831 (__memset_tail): New function.
14833 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14835 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14836 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14837 __memcpy_sse2_unaligned ifunc selection.
14838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14839 Add memcpy-sse2-unaligned.S.
14840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14841 Add: __memcpy_sse2_unaligned.
14843 2013-05-19 Joseph Myers <joseph@codesourcery.com>
14846 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14847 math_force_eval before restoring floating-point envrionment.
14848 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14849 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14851 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14853 (__nearbyintl): Use math_force_eval before restoring
14854 floating-point environment.
14855 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14857 * math/gen-libm-test.pl (special_functions): Remove.
14858 (parse_args): Don't handle TEST_extra. Handle functions with no
14860 * math/libm-test.inc (struct test_sincos_data): Replace with
14861 struct test_fFF_11_data.
14862 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14863 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14864 (sincos_test_data): Change element type to struct
14865 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14866 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14867 RUN_TEST_LOOP_sincos.
14868 * math/README.libm-test: Don't mention special handling of
14869 individual functions.
14870 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14871 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14872 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14873 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14874 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14877 * math/gen-libm-test.pl (get_variable): Remove function.
14878 (parse_args): Don't show pointer parameters to call in test
14879 names. Use "extra output N" in test names for extra outputs
14880 rather than naming variables.
14882 2013-05-18 Joseph Myers <joseph@codesourcery.com>
14885 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14886 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14887 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14889 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14891 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14894 * math/gen-libm-test.pl (@tests): Remove variable.
14895 ($count): Likewise.
14896 (new_test): Remove function.
14897 (show_exceptions): New function.
14898 (special_functions): Use show_exceptions instead of new_test.
14899 (parse_args): Likewise.
14900 (generate_testfile): Pass only function name in generated call to
14901 print_max_error or print_complex_max_error.
14902 (get_ulps): Do not handle complex tests specially.
14903 (output_test): Rename to ...
14904 (get_all_ulps_for_test): ... this. Return a string rather than
14905 printing to a file. Require ulps to be present.
14906 (output_ulps): Generate arrays rather than #defines.
14907 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14908 (struct ulp_data): New type.
14909 (BUILD_COMPLEX_ULP): Remove macro.
14910 (compare_ulp_data): New function.
14911 (find_ulps): Likewise.
14912 (find_test_ulps): Likewise.
14913 (find_function_ulps): Likewise.
14914 (find_complex_function_ulps): Likewise.
14915 (print_max_error): Determine allowed ulps using
14916 find_function_ulps.
14917 (print_complex_max_error): Determine allowed ulps using
14918 find_complex_function_ulps.
14919 (check_float_internal): Determine max ulps using find_test_ulps.
14920 (check_float): Do not take max_ulp parameter. Update call to
14921 check_float_internal.
14922 (check_complex): Likewise.
14923 (check_int): Do not take max_ulp parameter.
14924 (check_long): Likewise.
14925 (check_bool): Likewise.
14926 (check_longlong): Likewise.
14927 (struct test_f_f_data): Remove max_ulp field.
14928 (struct test_ff_f_data): Likewise.
14929 (struct test_ff_f_data_nexttoward): Likewise.
14930 (struct test_fi_f_data): Likewise.
14931 (struct test_fl_f_data): Likewise.
14932 (struct test_if_f_data): Likewise.
14933 (struct test_fff_f_data): Likewise.
14934 (struct test_c_f_data): Likewise.
14935 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14936 (struct test_fF_f1_data): Likewise.
14937 (struct test_ffI_f1_data): Likewise.
14938 (struct test_c_c_data): Remove max_ulp field.
14939 (struct test_cc_c_data): Likewise.
14940 (struct test_f_i_data): Likewise.
14941 (struct test_ff_i_data): Likewise.
14942 (struct test_f_l_data): Likewise.
14943 (struct test_f_L_data): Likewise.
14944 (struct test_sincos_data): Likewise.
14945 (RUN_TEST_f_f): Do not handle ulps.
14946 (RUN_TEST_LOOP_f_f): Likewise.
14947 (RUN_TEST_2_f): Likewise.
14948 (RUN_TEST_LOOP_2_f): Likewise.
14949 (RUN_TEST_fff_f): Likewise.
14950 (RUN_TEST_LOOP_fff_f): Likewise.
14951 (RUN_TEST_c_f): Likewise.
14952 (RUN_TEST_LOOP_c_f): Likewise.
14953 (RUN_TEST_f_f1): Likewise.
14954 (RUN_TEST_LOOP_f_f1): Likewise.
14955 (RUN_TEST_fF_f1): Likewise.
14956 (RUN_TEST_LOOP_fF_f1): Likewise.
14957 (RUN_TEST_fI_f1): Likewise.
14958 (RUN_TEST_LOOP_fI_f1): Likewise.
14959 (RUN_TEST_ffI_f1): Likewise.
14960 (RUN_TEST_LOOP_ffI_f1): Likewise.
14961 (RUN_TEST_c_c): Likewise.
14962 (RUN_TEST_LOOP_c_c): Likewise.
14963 (RUN_TEST_cc_c): Likewise.
14964 (RUN_TEST_LOOP_cc_c): Likewise.
14965 (RUN_TEST_f_i): Likewise.
14966 (RUN_TEST_LOOP_f_i): Likewise.
14967 (RUN_TEST_f_i_tg): Likewise.
14968 (RUN_TEST_LOOP_f_i_tg): Likewise.
14969 (RUN_TEST_ff_i_tg): Likewise.
14970 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14971 (RUN_TEST_f_b): Likewise.
14972 (RUN_TEST_LOOP_f_b): Likewise.
14973 (RUN_TEST_f_b_tg): Likewise.
14974 (RUN_TEST_LOOP_f_b_tg): Likewise.
14975 (RUN_TEST_f_l): Likewise.
14976 (RUN_TEST_LOOP_f_l): Likewise.
14977 (RUN_TEST_f_L): Likewise.
14978 (RUN_TEST_LOOP_f_L): Likewise.
14979 (RUN_TEST_sincos): Likewise.
14980 (RUN_TEST_LOOP_sincos): Likewise.
14982 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14986 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14987 main case of finite arguments, set rounding mode to FE_TONEAREST
14988 and discard exceptions.
14989 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14991 (remainder_tonearest_test_data): New variable.
14992 (remainder_test_tonearest): New function.
14993 (remainder_towardzero_test_data): New variable.
14994 (remainder_test_towardzero): New function.
14995 (remainder_downward_test_data): New variable.
14996 (remainder_test_downward): New function.
14997 (remainder_upward_test_data): New variable.
14998 (remainder_test_upward): New function.
14999 (main): Call the new test functions.
15001 * math/libm-test.inc (struct test_f_f1_data): Remove field
15003 (struct test_fF_f1_data): Likewise.
15004 (struct test_ffI_f1_data): Likewise.
15005 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15006 based on value of EXTRA_EXPECTED.
15007 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15008 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15009 EXTRA_VAR based on value of EXTRA_EXPECTED.
15010 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15011 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15012 EXTRA_VAR based on value of EXTRA_EXPECTED.
15013 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15014 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15015 EXTRA_VAR based on value of EXTRA_EXPECTED.
15016 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15017 * math/gen-libm-test.pl (parse_args): Don't output initializers
15018 for extra output values.
15020 * math/libm-test.inc (check_int): Expect result to be exactly
15021 equal to expected value and do not handle ulps.
15022 (check_long): Likewise.
15023 (check_longlong): Likewise.
15025 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15027 (cimag_test_data): Likewise.
15028 (conj_test_data): Likewise.
15029 (copysign_test_data): Likewise.
15030 (cproj_test_data): Likewise.
15031 (creal_test_data): Likewise.
15032 (fabs_test_data): Likewise.
15033 (fdim_test_data): Likewise.
15034 (finite_test_data): Likewise.
15035 (floor_test_data): Likewise.
15036 (fmax_test_data): Likewise.
15037 (fmin_test_data): Likewise.
15038 (fmod_test_data): Likewise.
15039 (fpclassify_test_data): Likewise.
15040 (frexp_test_data): Likewise.
15041 (ilogb_test_data): Likewise.
15042 (isfinite_test_data): Likewise.
15043 (isgreater_test_data): Likewise.
15044 (isgreaterequal_test_data): Likewise.
15045 (isinf_test_data): Likewise.
15046 (isless_test_data): Likewise.
15047 (islessequal_test_data): Likewise.
15048 (islessgreater_test_data): Likewise.
15049 (isnan_test_data): Likewise.
15050 (isnormal_test_data): Likewise.
15051 (issignaling_test_data): Likewise.
15052 (isunordered_test_data): Likewise.
15053 (ldexp_test_data): Likewise.
15054 (lrint_test_data): Likewise.
15055 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15056 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15057 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15058 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15059 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15060 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15062 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15063 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15064 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15065 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15067 (lrint_downward_test_data): Test for "inexact" exceptions.
15068 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15069 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15070 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15072 (lrint_upward_test_data): Test for "inexact" exceptions.
15073 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15075 (llrint_test_data): Test for "inexact" exceptions.
15076 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15077 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15078 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15079 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15080 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15081 (llrint_downward_test_data): Test for "inexact" exceptions.
15082 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15083 (llrint_upward_test_data): Test for "inexact" exceptions.
15084 (logb_test_data): Likewise.
15085 (logb_downward_test_data): Likewise.
15086 (nextafter_test_data): Likewise.
15087 (nexttoward_test_data): Likewise.
15088 (remainder_test_data): Likewise.
15089 (remquo_test_data): Likewise.
15090 (scalbn_test_data): Likewise.
15091 (scalbln_test_data): Likewise.
15092 (signbit_test_data): Likewise.
15093 (sqrt_test_data): Likewise.
15094 (significand_test_data): Likewise.
15096 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15099 * benchtests/bench-modf.c (struct args): Mark arg0 as
15101 * scripts/bench.pl: Mark members of struct args as volatile.
15103 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15106 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15107 negative infinity on POWER6 or lower.
15108 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15110 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15113 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15114 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15115 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15116 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15117 (_FP_SETQNAN): New macro.
15118 (_FP_SETQNAN_SEMIRAW): Likewise.
15119 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15120 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15121 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15122 (FP_EXTEND): Use _FP_FRAC_SNANP.
15123 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15124 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15126 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15128 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15131 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15133 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15134 with DIVIDE_BY_ZERO_EXCEPTION.
15135 (gamma_test_data): Likewise.
15136 (lgamma_test_data): Likewise.
15137 (log_test_data): Likewise.
15138 (log10_test_data): Likewise.
15139 (log2_test_data): Likewise.
15140 (tgamma_test_data): Likewise.
15142 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15143 (acos_test_tonearest): Likewise.
15144 (acos_test_towardzero): Likewise.
15145 (acos_test_downward): Likewise.
15146 (acos_test_upward): Likewise.
15147 (acosh_test): Likewise.
15148 (asin_test): Likewise.
15149 (asin_test_tonearest): Likewise.
15150 (asin_test_towardzero): Likewise.
15151 (asin_test_downward): Likewise.
15152 (asin_test_upward): Likewise.
15153 (asinh_test): Likewise.
15154 (atan_test): Likewise.
15155 (atanh_test): Likewise.
15156 (atan2_test): Likewise.
15157 (cabs_test): Likewise.
15158 (cacos_test): Likewise.
15159 (cacosh_test): Likewise.
15160 (casin_test): Likewise.
15161 (casinh_test): Likewise.
15162 (catan_test): Likewise.
15163 (catanh_test): Likewise.
15164 (cbrt_test): Likewise.
15165 (ccos_test): Likewise.
15166 (ccosh_test): Likewise.
15167 (cexp_test): Likewise.
15168 (clog_test): Likewise.
15169 (clog10_test): Likewise.
15170 (cos_test): Likewise.
15171 (cos_test_tonearest): Likewise.
15172 (cos_test_towardzero): Likewise.
15173 (cos_test_downward): Likewise.
15174 (cos_test_upward): Likewise.
15175 (cosh_test): Likewise.
15176 (cosh_test_tonearest): Likewise.
15177 (cosh_test_towardzero): Likewise.
15178 (cosh_test_downward): Likewise.
15179 (cosh_test_upward): Likewise.
15180 (cpow_test): Likewise.
15181 (csin_test): Likewise.
15182 (csinh_test): Likewise.
15183 (csqrt_test): Likewise.
15184 (ctan_test): Likewise.
15185 (ctan_test_tonearest): Likewise.
15186 (ctan_test_towardzero): Likewise.
15187 (ctan_test_downward): Likewise.
15188 (ctan_test_upward): Likewise.
15189 (ctanh_test): Likewise.
15190 (ctanh_test_tonearest): Likewise.
15191 (ctanh_test_towardzero): Likewise.
15192 (ctanh_test_downward): Likewise.
15193 (ctanh_test_upward): Likewise.
15194 (erf_test): Likewise.
15195 (erfc_test): Likewise.
15196 (exp_test): Likewise.
15197 (exp_test_tonearest): Likewise.
15198 (exp_test_towardzero): Likewise.
15199 (exp_test_downward): Likewise.
15200 (exp_test_upward): Likewise.
15201 (exp10_test): Likewise.
15202 (exp2_test): Likewise.
15203 (expm1_test): Likewise.
15204 (fmod_test): Likewise.
15205 (gamma_test): Likewise.
15206 (hypot_test): Likewise.
15207 (j0_test): Likewise.
15208 (j1_test): Likewise.
15209 (jn_test): Likewise.
15210 (lgamma_test): Likewise.
15211 (log_test): Likewise.
15212 (log10_test): Likewise.
15213 (log1p_test): Likewise.
15214 (log2_test): Likewise.
15215 (logb_test_downward): Likewise.
15216 (pow_test): Likewise.
15217 (pow_test_tonearest): Likewise.
15218 (pow_test_towardzero): Likewise.
15219 (pow_test_downward): Likewise.
15220 (pow_test_upward): Likewise.
15221 (remainder_test): Likewise.
15222 (remquo_test): Likewise.
15223 (sin_test): Likewise.
15224 (sin_test_tonearest): Likewise.
15225 (sin_test_towardzero): Likewise.
15226 (sin_test_downward): Likewise.
15227 (sin_test_upward): Likewise.
15228 (sincos_test): Likewise.
15229 (sinh_test): Likewise.
15230 (sinh_test_tonearest): Likewise.
15231 (sinh_test_towardzero): Likewise.
15232 (sinh_test_downward): Likewise.
15233 (sinh_test_upward): Likewise.
15234 (sqrt_test): Likewise.
15235 (tan_test): Likewise.
15236 (tan_test_tonearest): Likewise.
15237 (tan_test_towardzero): Likewise.
15238 (tan_test_downward): Likewise.
15239 (tan_test_upward): Likewise.
15240 (tanh_test): Likewise.
15241 (tgamma_test): Likewise.
15242 (y0_test): Likewise.
15243 (y1_test): Likewise.
15244 (yn_test): Likewise.
15246 * math/gen-libm-test.pl (adjust_arg): Remove function.
15247 (special_function): Remove argument $in_func. Only handle
15248 generating output for tables of tests, not inside functions.
15249 (parse_args): Likewise.
15250 (generate_testfile): Remove variable $in_func. Update call to
15252 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15253 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15254 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15255 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15256 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15257 (MAX_VALUE_INIT): Rename macro to max_value.
15258 (MIN_VALUE_INIT): Rename macro to min_value.
15259 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15260 (plus_zero): Remove variable.
15261 (minus_zero): Likewise.
15262 (plus_infty): Likewise.
15263 (minus_infty): Likewise.
15264 (qnan_value): Likewise.
15265 (max_value): Likewise.
15266 (min_value): Likewise.
15267 (min_subnorm_value): Likewise.
15269 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15271 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15272 uint64_t or uint32_t usage.
15273 * crypt/sha256-block.c: Likewise.
15274 * crypt/sha256-crypt.c: Likewise.
15275 * crypt/sha256.c: Likewise.
15276 * crypt/sha512-block.c: Likewise.
15277 * crypt/sha512-crypt.c: Likewise.
15278 * crypt/sha512.c: Likewise.
15279 * debug/backtrace-tst.c: Likewise.
15280 * debug/pcprofiledump.c: Likewise.
15281 * elf/cache.c: Likewise.
15282 * elf/dl-cache.c: Likewise.
15283 * elf/dl-misc.c: Likewise.
15284 * elf/dl-profile.c: Likewise.
15285 * elf/dl-support.c: Likewise.
15286 * elf/ldconfig.c: Likewise.
15287 * elf/sprof.c: Likewise.
15288 * iconv/dummy-repertoire.c: Likewise.
15289 * iconv/iconv_charmap.c: Likewise.
15290 * iconv/skeleton.c: Likewise.
15291 * iconvdata/8bit-generic.c: Likewise.
15292 * iconvdata/cp737.h: Likewise.
15293 * iconvdata/cp775.h: Likewise.
15294 * iconvdata/ibm1008.h: Likewise.
15295 * iconvdata/ibm1025.h: Likewise.
15296 * iconvdata/ibm1046.h: Likewise.
15297 * iconvdata/ibm1097.h: Likewise.
15298 * iconvdata/ibm1112.h: Likewise.
15299 * iconvdata/ibm1122.h: Likewise.
15300 * iconvdata/ibm1123.h: Likewise.
15301 * iconvdata/ibm1124.h: Likewise.
15302 * iconvdata/ibm1129.h: Likewise.
15303 * iconvdata/ibm1130.h: Likewise.
15304 * iconvdata/ibm1132.h: Likewise.
15305 * iconvdata/ibm1133.h: Likewise.
15306 * iconvdata/ibm1137.h: Likewise.
15307 * iconvdata/ibm1140.h: Likewise.
15308 * iconvdata/ibm1141.h: Likewise.
15309 * iconvdata/ibm1142.h: Likewise.
15310 * iconvdata/ibm1143.h: Likewise.
15311 * iconvdata/ibm1144.h: Likewise.
15312 * iconvdata/ibm1145.h: Likewise.
15313 * iconvdata/ibm1146.h: Likewise.
15314 * iconvdata/ibm1147.h: Likewise.
15315 * iconvdata/ibm1148.h: Likewise.
15316 * iconvdata/ibm1149.h: Likewise.
15317 * iconvdata/ibm1153.h: Likewise.
15318 * iconvdata/ibm1154.h: Likewise.
15319 * iconvdata/ibm1155.h: Likewise.
15320 * iconvdata/ibm1156.h: Likewise.
15321 * iconvdata/ibm1157.h: Likewise.
15322 * iconvdata/ibm1158.h: Likewise.
15323 * iconvdata/ibm1160.h: Likewise.
15324 * iconvdata/ibm1161.h: Likewise.
15325 * iconvdata/ibm1162.h: Likewise.
15326 * iconvdata/ibm1163.h: Likewise.
15327 * iconvdata/ibm1164.h: Likewise.
15328 * iconvdata/ibm1166.h: Likewise.
15329 * iconvdata/ibm1167.h: Likewise.
15330 * iconvdata/ibm12712.h: Likewise.
15331 * iconvdata/ibm1390.h: Likewise.
15332 * iconvdata/ibm1399.h: Likewise.
15333 * iconvdata/ibm16804.h: Likewise.
15334 * iconvdata/ibm4517.h: Likewise.
15335 * iconvdata/ibm4899.h: Likewise.
15336 * iconvdata/ibm4909.h: Likewise.
15337 * iconvdata/ibm4971.h: Likewise.
15338 * iconvdata/ibm5347.h: Likewise.
15339 * iconvdata/ibm803.h: Likewise.
15340 * iconvdata/ibm856.h: Likewise.
15341 * iconvdata/ibm901.h: Likewise.
15342 * iconvdata/ibm902.h: Likewise.
15343 * iconvdata/ibm9030.h: Likewise.
15344 * iconvdata/ibm9066.h: Likewise.
15345 * iconvdata/ibm921.h: Likewise.
15346 * iconvdata/ibm922.h: Likewise.
15347 * iconvdata/ibm9448.h: Likewise.
15348 * iconvdata/isiri-3342.h: Likewise.
15349 * iconvdata/jis0201.h: Likewise.
15350 * include/link.h: Likewise.
15351 * include/netdb.h: Likewise.
15352 * inet/check_native.c: Likewise.
15353 * inet/check_pf.c: Likewise.
15354 * inet/getipv4sourcefilter.c: Likewise.
15355 * inet/getnameinfo.c: Likewise.
15356 * inet/getsourcefilter.c: Likewise.
15357 * inet/htonl.c: Likewise.
15358 * inet/setipv4sourcefilter.c: Likewise.
15359 * inet/setsourcefilter.c: Likewise.
15360 * inet/test-inet6_opt.c: Likewise.
15361 * inet/tst-network.c: Likewise.
15362 * locale/C-collate.c: Likewise.
15363 * locale/C-ctype.c: Likewise.
15364 * locale/C-time.c: Likewise.
15365 * locale/C-translit.h: Likewise.
15366 * locale/loadarchive.c: Likewise.
15367 * locale/programs/3level.h: Likewise.
15368 * locale/programs/charmap.c: Likewise.
15369 * locale/programs/charmap.h: Likewise.
15370 * locale/programs/ld-address.c: Likewise.
15371 * locale/programs/ld-collate.c: Likewise.
15372 * locale/programs/ld-ctype.c: Likewise.
15373 * locale/programs/ld-identification.c: Likewise.
15374 * locale/programs/ld-measurement.c: Likewise.
15375 * locale/programs/ld-messages.c: Likewise.
15376 * locale/programs/ld-monetary.c: Likewise.
15377 * locale/programs/ld-name.c: Likewise.
15378 * locale/programs/ld-numeric.c: Likewise.
15379 * locale/programs/ld-paper.c: Likewise.
15380 * locale/programs/ld-telephone.c: Likewise.
15381 * locale/programs/ld-time.c: Likewise.
15382 * locale/programs/linereader.c: Likewise.
15383 * locale/programs/locale.c: Likewise.
15384 * locale/programs/locarchive.c: Likewise.
15385 * locale/programs/locfile.h: Likewise.
15386 * locale/programs/repertoire.c: Likewise.
15387 * locale/programs/simple-hash.c: Likewise.
15388 * locale/programs/simple-hash.h: Likewise.
15389 * malloc/memusage.c: Likewise.
15390 * malloc/memusagestat.c: Likewise.
15391 * nis/nis_defaults.c: Likewise.
15392 * nis/nis_hash.c: Likewise.
15393 * nis/nis_print.c: Likewise.
15394 * nis/nis_xdr.c: Likewise.
15395 * nscd/connections.c: Likewise.
15396 * nscd/hstcache.c: Likewise.
15397 * nscd/nscd_gethst_r.c: Likewise.
15398 * nscd/nscd_getserv_r.c: Likewise.
15399 * nscd/nscd_helper.c: Likewise.
15400 * nscd/servicescache.c: Likewise.
15401 * nss/makedb.c: Likewise.
15402 * nss/nss_db/db-XXX.c: Likewise.
15403 * nss/nss_db/db-initgroups.c: Likewise.
15404 * nss/nss_db/db-netgrp.c: Likewise.
15405 * nss/nss_files/files-network.c: Likewise.
15406 * nss/nss_files/files-parse.c: Likewise.
15407 * posix/bug-regex5.c: Likewise.
15408 * posix/fnmatch_loop.c: Likewise.
15409 * posix/regcomp.c: Likewise.
15410 * posix/regexec.c: Likewise.
15411 * posix/tst-rfc3484-2.c: Likewise.
15412 * posix/tst-rfc3484-3.c: Likewise.
15413 * posix/tst-rfc3484.c: Likewise.
15414 * resolv/nss_dns/dns-canon.c: Likewise.
15415 * resolv/nss_dns/dns-network.c: Likewise.
15416 * resolv/res_init.c: Likewise.
15417 * resolv/res_mkquery.c: Likewise.
15418 * resolv/tst-aton.c: Likewise.
15419 * stdlib/cxa_atexit.c: Likewise.
15420 * stdlib/cxa_finalize.c: Likewise.
15421 * stdlib/gen-fpioconst.c: Likewise.
15422 * stdlib/strtol_l.c: Likewise.
15423 * string/tst-endian.c: Likewise.
15424 * sunrpc/auth_des.c: Likewise.
15425 * sunrpc/clnt_udp.c: Likewise.
15426 * sunrpc/rtime.c: Likewise.
15427 * sunrpc/svcauth_des.c: Likewise.
15428 * sunrpc/xdr.c: Likewise.
15429 * sunrpc/xdr_intXX_t.c: Likewise.
15430 * sunrpc/xdr_rec.c: Likewise.
15431 * sysdeps/generic/ldconfig.h: Likewise.
15432 * sysdeps/generic/ldsodefs.h: Likewise.
15433 * sysdeps/generic/memusage.h: Likewise.
15434 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15435 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15436 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15437 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15438 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15439 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15440 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15441 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15442 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15443 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15444 * sysdeps/posix/getaddrinfo.c: Likewise.
15445 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15446 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15447 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15448 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15449 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15450 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15451 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15452 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15453 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15454 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15455 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15456 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15457 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15458 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15459 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15460 * sysdeps/x86_64/dl-tls.h: Likewise.
15461 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15462 * time/alt_digit.c: Likewise.
15463 * time/era.c: Likewise.
15464 * wcsmbs/tst-c16c32-1.c: Likewise.
15466 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15468 * math/libm-test.inc (struct test_sincos_data): New type.
15469 (RUN_TEST_LOOP_sincos): New macro.
15470 (sincos_test_data): New variable.
15471 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15473 2013-05-16 Richard Henderson <rth@redhat.com>
15475 * math/atest-exp2.c (LIMB64): New macro.
15476 (CONSTSZ): New macro.
15477 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15479 (print_mpn_fp): ... to function scope.
15480 (read_mpn_hex): Remove.
15481 (get_log2): Remove.
15482 (exp2_mpn): Use mp_log2.
15483 (main): Use mp_exp1.
15485 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15487 * math/libm-test.inc: Remove comment about not testing "inexact"
15489 (INEXACT_EXCEPTION): New macro.
15490 (NO_INEXACT_EXCEPTION): Likewise.
15491 (INVALID_EXCEPTION_OK): Update value.
15492 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15493 (OVERFLOW_EXCEPTION_OK): Likewise.
15494 (UNDERFLOW_EXCEPTION_OK): Likewise.
15495 (IGNORE_ZERO_INF_SIGN): Likewise.
15496 (ERRNO_UNCHANGED): Likewise.
15497 (ERRNO_EDOM): Likewise.
15498 (ERRNO_ERANGE): Likewise.
15499 (test_exceptions): Handle testing "inexact" exceptions.
15500 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15501 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15502 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15503 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15505 (rint_towardzero_test_data): Likewise.
15506 (rint_downward_test_data): Likewise.
15507 (rint_upward_test_data): Likewise.
15509 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15510 with OVERFLOW_EXCEPTION.
15511 (exp10_test_data): Likewise.
15512 (exp2_test_data): Likewise.
15513 (expm1_test_data): Likewise.
15514 (lgamma_test_data): Likewise.
15515 (pow_test_data): Likewise.
15516 (tgamma_test_data): Likewise.
15517 (yn_test_data): Remove duplicate test of overflow.
15519 * math/libm-test.inc (struct test_cc_c_data): New type.
15520 (RUN_TEST_LOOP_cc_c): New macro.
15521 (cpow_test_data): New variable.
15522 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15524 * math/libm-test.inc (struct test_f_L_data): New type.
15525 (RUN_TEST_LOOP_f_L): New macro.
15526 (llrint_test_data): New variable.
15527 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15528 (llrint_tonearest_test_data): New variable.
15529 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15530 (llrint_towardzero_test_data): New variable.
15531 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15532 (llrint_downward_test_data): New variable.
15533 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15534 (llrint_upward_test_data): New variable.
15535 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15536 (llround_test_data): New variable.
15537 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15539 2013-05-13 Peter Collingbourne <pcc@google.com>
15541 * math/atest-exp2.c (get_log2): Remove const attribute.
15543 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15545 * math/libm-test.inc (struct test_f_l_data): New type.
15546 (RUN_TEST_LOOP_f_l): New macro.
15547 (lrint_test_data): New variable.
15548 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15549 (lrint_tonearest_test_data): New variable.
15550 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15551 (lrint_towardzero_test_data): New variable.
15552 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15553 (lrint_downward_test_data): New variable.
15554 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15555 (lrint_upward_test_data): New variable.
15556 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15557 (lround_test_data): New variable.
15558 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15560 2013-05-15 Peter Collingbourne <pcc@google.com>
15562 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15563 (EXTRACT_WORDS64) Use where appropriate.
15564 (INSERT_WORDS64) Likewise.
15566 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15567 constraints with x constraints.
15568 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15570 * malloc/obstack.c (_obstack_compat): Add initializer.
15572 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15574 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15575 si_trapno and add si_addr_lsb to _sifields.sigfault.
15576 (si_trapno): Remove macro.
15577 (si_addr_lsb): Define new macro.
15578 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15580 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15582 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15583 instead of TEST_f_l.
15584 (llrint_test_tonearest): Likewise.
15585 (llrint_test_towardzero): Likewise.
15586 (llrint_test_downward): Likewise.
15587 (llrint_test_upward): Likewise.
15588 (llround_test): Likewise.
15590 * math/libm-test.inc (struct test_f_i_data): Add comment.
15591 (RUN_TEST_LOOP_f_b): New macro.
15592 (RUN_TEST_LOOP_f_b_tg): Likewise.
15593 (finite_test_data): New variable.
15594 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15595 (isfinite_test_data): New variable.
15596 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15597 (isinf_test_data): New variable.
15598 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15599 (isnan_test_data): New variable.
15600 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15601 (isnormal_test_data): New variable.
15602 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15603 (issignaling_test_data): New variable.
15604 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15605 (signbit_test_data): New variable.
15606 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15608 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15609 with INVALID_EXCEPTION.
15610 (acosh_test_data): Likewise.
15611 (asin_test_data): Likewise.
15612 (atanh_test_data): Likewise.
15613 (fmod_test_data): Likewise.
15614 (log_test_data): Likewise.
15615 (log10_test_data): Likewise.
15616 (log2_test_data): Likewise.
15617 (pow_test_data): Likewise.
15618 (sqrt_test_data): Likewise.
15619 (y0_test_data): Likewise.
15620 (y1_test_data): Likewise.
15621 (yn_test_data): Likewise.
15623 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15626 * math/libm-test.inc (struct test_ff_i_data): New type.
15627 (RUN_TEST_LOOP_ff_i_tg): New macro.
15628 (isgreater_test_data): New variable.
15629 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15630 (isgreaterequal_test_data): New variable.
15631 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15632 (isless_test_data): New variable.
15633 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15634 (islessequal_test_data): New variable.
15635 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15636 (islessgreater_test_data): New variable.
15637 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15638 (isunordered_test_data): New variable.
15639 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15641 2013-05-14 David S. Miller <davem@davemloft.net>
15643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15645 2013-05-14 Joseph Myers <joseph@codesourcery.com>
15647 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15649 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15651 (struct test_f_i_data): Change type of max_ulp to int.
15653 * math/libm-test.inc (test_ffI_f1_data): New type.
15654 (RUN_TEST_LOOP_ffI_f1): New macro.
15655 (remquo_test_data): New variable.
15656 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15658 * setjmp/tst-setjmp-fp.c: New file.
15659 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15660 (link-libm): New variable.
15661 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15663 * math/libm-test.inc (struct test_f_i_data): New type.
15664 (RUN_TEST_LOOP_f_i): New macro.
15665 (RUN_TEST_LOOP_f_i_tg): Likewise.
15666 (fpclassify_test_data): New variable.
15667 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15668 (ilogb_test_data): New variable.
15669 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15671 * math/libm-test.inc (scalbln_test): Correct function name in END
15674 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15675 (RUN_TEST_LOOP_fI_f1): New macro.
15676 (frexp_test_data): New variable.
15677 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15679 * math/libm-test.inc (struct test_fF_f1_data): New type.
15680 (RUN_TEST_LOOP_fF_f1): New macro.
15681 (modf_test_data): New variable.
15682 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15684 * math/libm-test.inc (struct test_f_f1_data): New type.
15685 (RUN_TEST_LOOP_f_f1): New macro.
15686 (gamma_test_data): New variable.
15687 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15688 (lgamma_test_data): New variable.
15689 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15691 2013-05-13 Carlos O'Donell <carlos@redhat.com>
15693 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15694 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15695 (main): Comment "tls" pseudo-hwcap.
15697 2013-05-13 Joseph Myers <joseph@codesourcery.com>
15699 * math/libm-test.inc (struct test_fl_f_data): New type.
15700 (RUN_TEST_LOOP_fl_f): New variable.
15701 (scalbln_test_data): New variable.
15702 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15704 * math/libm-test.inc (struct test_fi_f_data): New type.
15705 (RUN_TEST_LOOP_fi_f): New macro.
15706 (ldexp_test_data): New variable.
15707 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15708 (scalbn_test_data): New variable.
15709 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15711 * math/libm-test.inc (struct test_c_f_data): New type.
15712 (RUN_TEST_LOOP_c_f): New macro.
15713 (cabs_test_data): New variable.
15714 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15715 (carg_test_data): New variable.
15716 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15717 (cimag_test_data): New variable.
15718 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15719 (creal_test_data): New variable.
15720 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15722 * math/libm-test.inc (struct test_if_f_data): New type.
15723 (RUN_TEST_LOOP_if_f): New macro.
15724 (jn_test_data): New variable.
15725 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15726 (yn_test_data): New variable.
15727 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15729 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15731 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15733 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15734 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15736 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15738 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15739 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15740 (bench-deps): Add bench-timing.h.
15741 * benchtests-bench-skeleton.c: Include bench-timing.h.
15742 (main): Use TIMING_* macros instead of clock_gettime.
15743 * benchtests/bench-timing.h: New file.
15746 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15747 Renamed from _LIB_VERSION.
15748 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15750 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15752 * math/libm-test.inc (struct test_fff_f_data): New type.
15753 (RUN_TEST_LOOP_fff_f): New macro.
15754 (fma_test_data): New variable.
15755 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15756 (fma_towardzero_test_data): New variable.
15757 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15758 (fma_downward_test_data): New variable.
15759 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15760 (fma_upward_test_data): New variable.
15761 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15763 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15764 (struct test_c_c_data): New type.
15765 (RUN_TEST_LOOP_c_c): New macro.
15766 (cacos_test_data): New variable.
15767 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15768 (cacosh_test_data): New variable.
15769 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15770 (casin_test_data): New variable.
15771 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15772 (casinh_test_data): New variable.
15773 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15774 (catan_test_data): New variable.
15775 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15776 (catanh_test_data): New variable.
15777 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15778 (ccos_test_data): New variable.
15779 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15780 (ccosh_test_data): New variable.
15781 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15782 (cexp_test_data): New variable.
15783 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15784 (clog_test_data): New variable.
15785 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15786 (clog10_test_data): New variable.
15787 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15788 (conj_test_data): New variable.
15789 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15790 (cproj_test_data): New variable.
15791 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15792 (csin_test_data): New variable.
15793 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15794 (csinh_test_data): New variable.
15795 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15796 (csqrt_test_data): New variable.
15797 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15798 (ctan_test_data): New variable.
15799 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15800 (ctan_tonearest_test_data): New variable.
15801 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15802 (ctan_towardzero_test_data): New variable.
15803 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15804 (ctan_downward_test_data): New variable.
15805 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15806 (ctan_upward_test_data): New variable.
15807 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15808 (ctanh_test_data): New variable.
15809 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15810 (ctanh_tonearest_test_data): New variable.
15811 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15812 (ctanh_towardzero_test_data): New variable.
15813 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15814 (ctanh_downward_test_data): New variable.
15815 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15816 (ctanh_upward_test_data): New variable.
15817 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15818 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15821 * math/libm-test.inc (struct test_ff_f_data): New type.
15822 (struct test_ff_f_data_nexttoward): Likewise.
15823 (RUN_TEST_LOOP_2_f): New macro.
15824 (RUN_TEST_LOOP_ff_f): Likewise.
15825 (atan2_test_data): New variable.
15826 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15827 (copysign_test_data): New variable.
15828 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15829 (fdim_test_data): New variable.
15830 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15831 (fmax_test_data): New variable.
15832 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15833 (fmin_test_data): New variable.
15834 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15835 (fmod_test_data): New variable.
15836 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15837 (hypot_test_data): New variable.
15838 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15839 (nextafter_test_data): New variable.
15840 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15841 (nexttoward_test_data): New variable.
15842 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15843 (pow_test_data): New variable.
15844 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15845 (pow_tonearest_test_data): New variable.
15846 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15847 (pow_towardzero_test_data): New variable.
15848 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15849 (pow_downward_test_data): New variable.
15850 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15851 (pow_upward_test_data): New variable.
15852 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15853 (remainder_test_data): New variable.
15854 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15855 (scalb_test_data): New variable.
15856 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15857 * sysdeps/i386/fpu/libm-test-ulps: Update.
15859 2013-05-11 Joseph Myers <joseph@codesourcery.com>
15861 * math/libm-test.inc (fma_test): Use max_value instead of local
15863 (nextafter_test): Likewise.
15865 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15866 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15867 (acos_downward_test_data): New variable.
15868 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15869 (acos_upward_test_data): New variable.
15870 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15871 (acosh_test_data): New variable.
15872 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15873 (asin_test_data): New variable.
15874 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15875 (asin_tonearest_test_data): New variable.
15876 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15877 (asin_towardzero_test_data): New variable.
15878 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15879 (asin_downward_test_data): New variable.
15880 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15881 (asin_upward_test_data): New variable.
15882 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15883 (asinh_test_data): New variable.
15884 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15885 (atan_test_data): New variable.
15886 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15887 (atanh_test_data): New variable.
15888 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15889 (cbrt_test_data): New variable.
15890 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15891 (ceil_test_data): New variable.
15892 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15893 (cos_test_data): New variable.
15894 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15895 (cos_tonearest_test_data): New variable.
15896 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15897 (cos_towardzero_test_data): New variable.
15898 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15899 (cos_downward_test_data): New variable.
15900 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15901 (cos_upward_test_data): New variable.
15902 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15903 (cosh_test_data): New variable.
15904 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15905 (cosh_tonearest_test_data): New variable.
15906 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15907 (cosh_towardzero_test_data): New variable.
15908 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15909 (cosh_downward_test_data): New variable.
15910 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15911 (cosh_upward_test_data): New variable.
15912 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15913 (erf_test_data): New variable.
15914 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15915 (erfc_test_data): New variable.
15916 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15917 (exp_test_data): New variable.
15918 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15919 (exp_tonearest_test_data): New variable.
15920 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15921 (exp_towardzero_test_data): New variable.
15922 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15923 (exp_downward_test_data): New variable.
15924 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15925 (exp_upward_test_data): New variable.
15926 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15927 (exp10_test_data): New variable.
15928 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15929 (exp2_test_data): New variable.
15930 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15931 (expm1_test_data): New variable.
15932 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15933 (fabs_test_data): New variable.
15934 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15935 (floor_test_data): New variable.
15936 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15937 (j0_test_data): New variable.
15938 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15939 (j1_test_data): New variable.
15940 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15941 (log_test_data): New variable.
15942 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15943 (log10_test_data): New variable.
15944 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15945 (log1p_test_data): New variable.
15946 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15947 (log2_test_data): New variable.
15948 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15949 (logb_test_data): New variable.
15950 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15951 (logb_downward_test_data): New variable.
15952 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15953 (nearbyint_test_data): New variable.
15954 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15955 (rint_test_data): New variable.
15956 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15957 (rint_tonearest_test_data): New variable.
15958 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15959 (rint_towardzero_test_data): New variable.
15960 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15961 (rint_downward_test_data): New variable.
15962 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15963 (rint_upward_test_data): New variable.
15964 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15965 (round_test_data): New variable.
15966 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15967 (sin_test_data): New variable.
15968 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15969 (sin_tonearest_test_data): New variable.
15970 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15971 (sin_towardzero_test_data): New variable.
15972 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15973 (sin_downward_test_data): New variable.
15974 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15975 (sin_upward_test_data): New variable.
15976 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15977 (sinh_test_data): New variable.
15978 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15979 (sinh_tonearest_test_data): New variable.
15980 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15981 (sinh_towardzero_test_data): New variable.
15982 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15983 (sinh_downward_test_data): New variable.
15984 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15985 (sinh_upward_test_data): New variable.
15986 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15987 (sqrt_test_data): New variable.
15988 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15989 (tan_test_data): New variable.
15990 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15991 (tan_tonearest_test_data): New variable.
15992 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15993 (tan_towardzero_test_data): New variable.
15994 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15995 (tan_downward_test_data): New variable.
15996 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15997 (tan_upward_test_data): New variable.
15998 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15999 (tanh_test_data): New variable.
16000 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16001 (tgamma_test_data): New variable.
16002 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16003 (trunc_test_data): New variable.
16004 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16005 (y0_test_data): New variable.
16006 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16007 (y1_test_data): New variable.
16008 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16009 (significand_test_data): New variable.
16010 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16012 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16015 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16017 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16019 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16021 2013-05-10 Andreas Jaeger <aj@suse.de>
16024 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16025 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16027 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16029 * math/gen-libm-test.pl (adjust_arg): New function.
16030 (special_functions): Handle generating output in both functions
16032 (parse_args): Likewise.
16033 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16034 $in_func argument to parse_args.
16035 * math/libm-test.inc (struct test_f_f_data): New type.
16036 (IF_ROUND_INIT_): New macro.
16037 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16038 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16039 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16040 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16041 (ROUND_RESTORE_): Likewise.
16042 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16043 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16044 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16045 (ROUND_RESTORE_FE_UPWARD): Likewise.
16046 (RUN_TEST_LOOP_f_f): New macro.
16047 (acos_test_data): New variable.
16048 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16049 (acos_tonearest_test_data): New variable.
16050 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16052 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16054 * benchtests/bench-skeleton.c (startup): Fix coding style.
16056 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16059 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16060 negative infinity argument.
16061 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16062 negative infinity argument.
16063 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16064 negative infinity argument.
16065 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16068 2013-05-10 Florian Weimer <fweimer@redhat.com>
16070 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16071 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16072 * iconv/iconv_prog.c (main): Likewise.
16073 * locale/programs/charmap-dir.c (charmap_readdir)
16074 (fopen_uncompressed): Likewise.
16075 * locale/programs/locfile.c (siblings_uncached)
16076 (write_locale_data): Use lstat64 instead of lstat.
16077 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16080 2013-05-10 Andreas Jaeger <aj@suse.de>
16083 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16085 Include <locale.h>.
16087 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16089 * elf/dl-close.c (_dl_close_worker): Add comments.
16091 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16094 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16096 (__ieee754_rem_pio2l): Update comments.
16099 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16101 (__ieee754_rem_pio2l): Update comments.
16103 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16104 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16106 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16109 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16110 (M_PI_34_LOG10El): Likewise.
16111 (M_PI2_LOG10El): Likewise.
16112 (M_PI4_LOG10El): Likewise.
16113 (M_PI_LOG10El): Likewise.
16115 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16119 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16121 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16122 (MINUS_ZERO_INIT): Likewise.
16123 (PLUS_INFTY_INIT): Likewise.
16124 (MINUS_INFTY_INIT): Likewise.
16125 (QNAN_VALUE_INIT): Likewise.
16126 (MAX_VALUE_INIT): Likewise.
16127 (MIN_VALUE_INIT): Likewise.
16128 (MIN_SUBNORM_VALUE_INIT): Likewise.
16129 (plus_zero): Initialize with PLUS_ZERO_INIT.
16130 (minus_zero): Initialize with MINUS_ZERO_INIT.
16131 (plus_infty): Initialize with PLUS_INFTY_INIT.
16132 (minus_infty): Initialize with MINUS_INFTY_INIT.
16133 (qnan_value): Initialize with QNAN_VALUE_INIT.
16134 (max_value): Initialize with MAX_VALUE_INIT.
16135 (min_value): Initialize with MIN_VALUE_INIT.
16136 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16138 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16139 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16140 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16141 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16143 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16144 (RUN_TEST_2_f): Likewise.
16145 (RUN_TEST_ff_f): Likewise.
16146 (RUN_TEST_fi_f): Likewise.
16147 (RUN_TEST_fl_f): Likewise.
16148 (RUN_TEST_fff_f): Likewise.
16149 (RUN_TEST_c_f): Likewise.
16150 (RUN_TEST_f_f1): Likewise.
16151 (RUN_TEST_fF_f1): Likewise.
16152 (RUN_TEST_fI_f1): Likewise.
16153 (RUN_TEST_ffI_f1): Likewise.
16154 (RUN_TEST_c_c): Likewise.
16155 (RUN_TEST_cc_c): Likewise.
16156 (RUN_TEST_f_i): Likewise.
16157 (RUN_TEST_f_i_tg): Likewise.
16158 (RUN_TEST_ff_i_tg): Likewise.
16159 (RUN_TEST_f_b): Likewise.
16160 (RUN_TEST_f_b_tg): Likewise.
16161 (RUN_TEST_f_l): Likewise.
16162 (RUN_TEST_f_L): Likewise.
16163 (RUN_TEST_sincos): Likewise.
16164 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16165 whether to show exceptions. Do not include ");\n" in return
16167 (special_functions): Output call to RUN_TEST_sincos instead of
16168 check_float calls. Update calls to new_test.
16169 (parse_args): Output call to single RUN_TEST_* macro instead of
16170 check_* calls and other assignments. Update calls to new_test.
16176 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16177 input to result for tgamma overflow.
16178 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16179 (gamma_coeff): New variable.
16180 (NCOEFF): New macro.
16181 (gamma_positive): New function.
16182 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16183 underflow here. Use gamma_positive instead of exp (lgamma) for
16185 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16186 (gamma_coeff): New variable.
16187 (NCOEFF): New macro.
16188 (gammaf_positive): New function.
16189 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16190 underflow here. Use gamma_positive instead of exp (lgamma) for
16192 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16193 (gamma_coeff): New variable.
16194 (NCOEFF): New macro.
16195 (gammal_positive): New function.
16196 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16197 underflow here. Use gamma_positive instead of exp (lgamma) for
16199 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16200 (gamma_coeff): New variable.
16201 (NCOEFF): New macro.
16202 (gammal_positive): New function.
16203 (__ieee754_gammal_r): Handle positive infinity, overflow and
16204 underflow here. Handle NaN the same as positive infinity. Remove
16205 check x < 0xffffffff for negative integers. Use gamma_positive
16206 instead of exp (lgamma) for other arguments.
16207 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16208 (gamma_coeff): New variable.
16209 (NCOEFF): New macro.
16210 (gammal_positive): New function.
16211 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16212 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16213 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16214 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16215 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16216 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16217 * sysdeps/generic/math_private.h (__gamma_productf): New
16219 (__gamma_product): Likewise.
16220 (__gamma_productl): Likewise.
16221 * math/Makefile (libm-calls): Add gamma_product.
16222 * math/libm-test.inc (tgamma_test): Add more tests.
16223 * sysdeps/i386/fpu/libm-test-ulps: Update.
16224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16226 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16228 * benchtests/bench-skeleton.c (main): Preheat CPU.
16230 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16232 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16234 2013-05-07 Roland McGrath <roland@hack.frob.com>
16236 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16237 and _dl_skip_args_internal.
16239 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16241 * manual/message.texi (Message Translation): Talk about users.
16242 Message to key mapping impacts design.
16244 2013-05-06 Roland McGrath <roland@hack.frob.com>
16246 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16248 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16250 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16251 * sysdeps/wordsize-64/glob64.c: ... here.
16253 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16254 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16257 * debug/getlogin_r_chk.c: Moved to ...
16258 * login/getlogin_r_chk.c: ... here.
16259 * debug/Makefile (routines): Move getlogin_r_chk to ...
16260 * login/Makefile (routines): ... here.
16261 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16262 * login/Versions (libc: GLIBC_2.4): ... here.
16264 * io/poll.c (__poll): Renamed from poll.
16265 Add libc_hidden_def.
16266 (poll): Define as weak alias.
16268 * debug/ptsname_r_chk.c: Moved to ...
16269 * login/ptsname_r_chk.c: ... here.
16270 * debug/Makefile (routines): Move ptsname_r_chk to ...
16271 * login/Makefile (routines): ... here.
16272 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16273 * login/Versions (libc: GLIBC_2.4): ... here.
16275 * posix/getlogin.c: Moved to ...
16276 * login/getlogin.c: ... here.
16277 * posix/getlogin_r.c: Moved to ...
16278 * login/getlogin_r.c: ... here.
16279 * posix/getlogin_r.c: Moved to ...
16280 * login/getlogin_r.c: ... here.
16281 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16282 * login/Makefile (routines): ... here.
16283 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16284 * login/Versions (libc: GLIBC_2.0): ... here.
16286 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16287 (setrlimit): Define as weak alias.
16289 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16290 Call __ names for open, ftruncate, and close.
16291 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16292 (truncate): Define as weak alias.
16294 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16296 * math/gen-libm-test.pl (parse_args): Initialize x before each
16297 test of frexp, modf and remquo.
16299 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16300 test signgam value.
16302 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16306 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16308 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16310 2013-05-06 Roland McGrath <roland@hack.frob.com>
16312 * elf/dl-writev.h: New file.
16313 * elf/dl-misc.c: Include it.
16314 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16315 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16317 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16319 * math/libm-test.inc (noXFails): Remove variable.
16320 (noXPasses): Likewise.
16321 (BUILD_COMPLEX_INT): Remove macro.
16322 (print_screen): Remove xfail argument.
16323 (print_screen_max_error): Likewise.
16324 (update_stats): Likewise.
16325 (print_max_error): Likewise. Update calls to other affected
16327 (print_complex_max_error): Likewise.
16328 (test_single_exception): Update calls to print_screen.
16329 (test_single_errno): Likewise.
16330 (check_float_internal): Remove xfail argument. Update calls to
16331 other affected functions.
16332 (check_float): Likewise.
16333 (check_complex): Likewise.
16334 (check_int): Likewise.
16335 (check_long): Likewise.
16336 (check_bool): Likewise.
16337 (check_longlong): Likewise.
16338 (main): Don't print noXFails and noXPasses.
16339 * math/gen-libm-test.pl (top level): Don't mention expected
16340 failure handling in comment.
16341 (new_test): Don't handle expected failures.
16342 (parse_args): Don't mention expected failure handling in comment.
16343 (generate_testfile): Don't handle expected failures.
16344 (parse_ulps): Likewise.
16345 (print_ulps_file): Likewise.
16346 (get_failure): Remove function.
16347 (output_test): Don't handle expected failures.
16348 * make/README.libm-test: Don't mention expected failure handling.
16350 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16351 (minus_zero): Likewise.
16352 (plus_infty): Likewise.
16353 (minus_infty): Likewise.
16354 (qnan_value): Likewise.
16355 (max_value): Likewise.
16356 (min_value): Likewise.
16357 (min_subnorm_value): Likewise.
16358 (initialize): Do not initialize those variables dynamically.
16360 2013-05-03 Roland McGrath <roland@hack.frob.com>
16362 * io/open.c (__open_2): Moved to ...
16363 * io/open_2.c: ... this new file.
16364 * io/open64.c (__open64_2): Moved to ...
16365 * io/open64_2.c: ... this new file.
16366 * io/openat.c (__openat_2): Moved to ...
16367 * io/openat_2.c: ... this new file.
16368 * io/openat64.c (__openat64_2): Moved to ...
16369 * io/openat64_2.c: ... this new file.
16370 * io/Makefile (routines): Add them.
16371 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16372 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16373 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16374 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16375 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16376 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16377 (__openat64): Add hidden_ver.
16378 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16379 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16381 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16382 Separately conditionalize setting of GLRO(dl_sysinfo) so
16383 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16384 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16386 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16388 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16389 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16391 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16392 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16393 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16394 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16395 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16397 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16399 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16400 test signgam value.
16402 * math/libm-test.inc (hypot_test): Do not use
16403 IGNORE_ZERO_INF_SIGN.
16405 2013-05-03 Andreas Jaeger <aj@suse.de>
16407 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16409 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16410 (PF_MAX): Adjust for VSOCK change.
16412 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16416 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16419 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16420 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16421 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16423 2013-05-02 David S. Miller <davem@davemloft.net>
16425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16427 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16429 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16431 2013-05-01 Roland McGrath <roland@hack.frob.com>
16433 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16435 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16438 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16439 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16440 Use __attribute__ ((__gnu_inline__)).
16441 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16442 Don't use __attribute__ ((__gnu_inline__)).
16444 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16447 * math/s_catan.c (__catan): Handle small real or imaginary part of
16448 input specially to avoid spurious underflow.
16449 * math/s_catanf.c (__catanf): Likewise.
16450 * math/s_catanh.c (__catanh): Likewise.
16451 * math/s_catanhf.c (__catanhf): Likewise.
16452 * math/s_catanhl.c (__catanhl): Likewise.
16453 * math/s_catanl.c (__catanl): Likewise.
16454 * math/libm-test.inc (catan_test): Add more tests.
16455 (catanh_test): Likewise.
16456 * sysdeps/i386/fpu/libm-test-ulps: Update.
16457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16459 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16463 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16466 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16467 accurately for denominator in atan2.
16468 * math/s_catanf.c (__catanf): Likewise.
16469 * math/s_catanh.c (__catanh): Likewise.
16470 * math/s_catanhf.c (__catanhf): Likewise.
16471 * math/s_catanhl.c (__catanhl): Likewise.
16472 * math/s_catanl.c (__catanl): Likewise.
16473 * math/libm-test.inc (catan_test): Add more tests.
16474 (catanh_test): Likewise.
16475 * sysdeps/i386/fpu/libm-test-ulps: Update.
16476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16478 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16480 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16482 * benchtests/Makefile (bench): Remove slow benchmarks.
16483 * benchtests/atan-inputs: Add slow benchmark inputs.
16484 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16485 (BENCH_FUNC): Accept variant offset.
16487 * benchtests/bench-skeleton.c (main): Run benchmark for each
16489 * benchtests/cos-inputs: Add slow benchmark inputs.
16490 * benchtests/exp-inputs: Likewise.
16491 * benchtests/pow-inputs: Likewise.
16492 * benchtests/sin-inputs: Likewise.
16493 * benchtests/slowatan-inputs: Remove.
16494 * benchtests/slowatan.c: Remove.
16495 * benchtests/slowcos-inputs: Remove.
16496 * benchtests/slowcos.c: Remove.
16497 * benchtests/slowexp-inputs: Remove.
16498 * benchtests/slowexp.c: Remove.
16499 * benchtests/slowpow-inputs: Remove.
16500 * benchtests/slowpow.c: Remove.
16501 * benchtests/slowsin-inputs: Remove.
16502 * benchtests/slowsin.c: Remove.
16503 * benchtests/slowtan-inputs: Remove.
16504 * benchtests/slowtan.c: Remove.
16505 * benchtests/tan-inputs: Add slow benchmark inputs.
16506 * scripts/bench.pl: Parse comments and directives.
16508 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16510 ($(objpfx)bench-%.c): Remove *-ITER.
16511 * benchtests/bench-modf.c: Remove definition of ITER.
16512 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16513 (main): Loop for DURATION seconds instead of fixed number of
16515 * scripts/bench.pl: Don't expect iterations in parameters.
16517 2013-04-29 Roland McGrath <roland@hack.frob.com>
16519 * io/fchdir.c (__fchdir): Renamed from fchdir.
16520 (fchdir): Define as weak alias.
16522 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16524 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16525 (ERRNO_EDOM): Likewise.
16526 (ERRNO_ERANGE): Likewise.
16527 (noErrnoTests): New variable.
16528 (init_max_error): Set errno to 0.
16529 (test_single_errno): New function.
16530 (test_errno): Likewise.
16531 (check_float_internal): Call test_errno. Set errno to 0.
16532 (check_complex): Refer to errno tests in comment.
16533 (check_int): Call test_errno. Set errno to 0.
16534 (check_long): Likewise.
16535 (check_bool): Likewise.
16536 (check_longlong): Likewise.
16537 (cos_test): Use ERRNO_* flags for errno tests instead of
16539 (expm1_test): Likewise.
16540 (fmod_test): Likewise.
16541 (ilogb_test): Likewise.
16542 (lgamma_test): Likewise.
16543 (pow_test): Likewise.
16544 (remainder_test): Likewise.
16545 (sin_test): Likewise.
16546 (tan_test): Likewise.
16547 (yn_test): Likewise.
16548 (initialize): Set errno to 0.
16549 (main): Print number of errno tests.
16550 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16552 2013-04-29 Andreas Jaeger <aj@suse.de>
16555 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16559 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16560 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16564 * stdlib/random.c (__initstate): Return NULL if
16568 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16569 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16572 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16576 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16578 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16579 of individual tests.
16580 (casin_test): Likewise.
16581 (casinh_test): Likewise.
16583 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16586 * math/s_catan.c (__catan): Handle arguments with large real or
16587 imaginary part separately without squaring.
16588 * math/s_catanf.c (__catanf): Likewise.
16589 * math/s_catanh.c (__catanh): Likewise.
16590 * math/s_catanhf.c (__catanhf): Likewise.
16591 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16593 (__catanhl): Handle arguments with large real or imaginary part
16594 separately without squaring.
16595 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16597 (__catanl): Handle arguments with large real or imaginary part
16598 separately without squaring.
16599 * math/libm-test.inc (catan_test): Add more tests.
16600 (catanh_test): Likewise.
16601 * sysdeps/i386/fpu/libm-test-ulps: Update.
16602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16604 2013-04-27 Andreas Jaeger <aj@suse.de>
16607 * stdlib/stdlib.h: Update guards for qecvt.
16608 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16611 2013-04-27 Allan McRae <allan@archlinux.org>
16613 * sysdeps/i386/fpu/libm-test-ulps: Update.
16615 2013-04-26 Joseph Myers <joseph@codesourcery.com>
16618 * math/s_catan.c: Include <float.h>.
16619 (__catan): Ensure underflow exception occurs for underflowed
16621 * math/s_catanf.c: Include <float.h>.
16622 (__catanf): Ensure underflow exception occurs for underflowed
16624 * math/s_catanh.c: Include <float.h>.
16625 (__catanh): Ensure underflow exception occurs for underflowed
16627 * math/s_catanhf.c: Include <float.h>.
16628 (__catanhf): Ensure underflow exception occurs for underflowed
16630 * math/s_catanhl.c: Include <float.h>.
16631 (__catanhl): Ensure underflow exception occurs for underflowed
16633 * math/s_catanl.c: Include <float.h>.
16634 (__catanl): Ensure underflow exception occurs for underflowed
16636 * math/libm-test.inc (catan_test): Add more tests.
16637 (catanh_test): Likewise.
16640 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16641 underflowed result.
16642 * math/s_ccoshf.c (__ccoshf): Likewise.
16643 * math/s_ccoshl.c (__ccoshl): Likewise.
16644 * math/s_csin.c (__csin): Likewise.
16645 * math/s_csinf.c (__csinf): Likewise.
16646 * math/s_csinh.c (__csinh): Likewise.
16647 * math/s_csinhf.c (__csinhf): Likewise.
16648 * math/s_csinhl.c (__csinhl): Likewise.
16649 * math/s_csinl.c (__csinl): Likewise.
16650 * math/libm-test.inc (ccos_test): Add more tests.
16651 (ccosh_test): Likewise.
16652 (csin_test): Likewise.
16653 (csinh_test): Likewise.
16655 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16657 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16658 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16659 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16660 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16661 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16662 powerpc/power5+/fpu folders.
16663 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16666 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16670 2013-04-25 Joseph Myers <joseph@codesourcery.com>
16672 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16673 additions to variable.
16674 [$(config-machine) = x86_64] (modules-names): Likewise.
16675 ($(objpfx)tst-audit3): Remove dependency.
16676 ($(objpfx)tst-audit3.out): Likewise.
16677 ($(objpfx)tst-audit4): Likewise.
16678 ($(objpfx)tst-audit4.out): Likewise.
16679 ($(objpfx)tst-audit5): Likewise.
16680 ($(objpfx)tst-audit5.out): Likewise.
16681 ($(objpfx)tst-audit6): Likewise.
16682 ($(objpfx)tst-audit6.out): Likewise.
16683 ($(objpfx)tst-audit7): Likewise.
16684 ($(objpfx)tst-audit7.out): Likewise.
16685 (tst-audit3-ENV): Remove variable.
16686 (tst-audit4-ENV): Likewise.
16687 (tst-audit5-ENV): Likewise.
16688 (tst-audit6-ENV): Likewise.
16689 (tst-audit7-ENV): Likewise.
16690 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16691 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16692 addition to variable.
16693 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16694 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16695 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16696 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16697 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16698 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16699 tst-audit3, tst-audit4 and tst-audit5.
16700 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16701 tst-audit6 and tst-audit7.
16702 [$(subdir) = elf] (modules-names): Add audit modules for those
16704 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16705 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16706 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16707 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16708 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16709 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16710 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16711 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16712 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16713 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16714 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16715 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16716 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16717 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16718 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16719 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16721 [$(subdir) = elf && $(config-cflags-avx) = yes]
16722 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16723 [$(subdir) = elf && $(config-cflags-avx) = yes]
16724 (CFLAGS-tst-auditmod4a.c): Likewise.
16725 [$(subdir) = elf && $(config-cflags-avx) = yes]
16726 (CFLAGS-tst-auditmod4b.c): Likewise.
16727 [$(subdir) = elf && $(config-cflags-avx) = yes]
16728 (CFLAGS-tst-auditmod6b.c): Likewise.
16729 [$(subdir) = elf && $(config-cflags-avx) = yes]
16730 (CFLAGS-tst-auditmod6c.c): Likewise.
16731 [$(subdir) = elf && $(config-cflags-avx) = yes]
16732 (CFLAGS-tst-auditmod7b.c): Likewise.
16733 * elf/tst-audit3.c: Move to ...
16734 * sysdeps/x86_64/tst-audit3.c: ... here.
16735 * elf/tst-audit4.c: Move to ...
16736 * sysdeps/x86_64/tst-audit4.c: ... here.
16737 * elf/tst-audit5.c: Move to ...
16738 * sysdeps/x86_64/tst-audit5.c: ... here.
16739 * elf/tst-audit6.c: Move to ...
16740 * sysdeps/x86_64/tst-audit6.c: ... here.
16741 * elf/tst-audit7.c: Move to ...
16742 * sysdeps/x86_64/tst-audit7.c: ... here.
16743 * elf/tst-auditmod3a.c: Move to ...
16744 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16745 * elf/tst-auditmod3b.c: Move to ...
16746 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16747 * elf/tst-auditmod4a.c: Move to ...
16748 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16749 * elf/tst-auditmod4b.c: Move to ...
16750 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16751 * elf/tst-auditmod5a.c: Move to ...
16752 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16753 * elf/tst-auditmod5b.c: Move to ...
16754 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16755 * elf/tst-auditmod6a.c: Move to ...
16756 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16757 * elf/tst-auditmod6b.c: Move to ...
16758 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16759 * elf/tst-auditmod6c.c: Move to ...
16760 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16761 * elf/tst-auditmod7a.c: Move to ...
16762 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16763 * elf/tst-auditmod7b.c: Move to ...
16764 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16766 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16769 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16770 define unconditionally.
16771 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16772 define unconditionally.
16773 (INT8_C, INT16_C, etc.): Likewise.
16775 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16777 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16778 __ehdr_start with hidden visibility.
16780 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16782 2013-04-24 Carlos O'Donell <carlos@redhat.com>
16784 * math/libm-test.inc (cos_test): Use accurate hex constants.
16785 (sincost_test): Likewise.
16787 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16789 * math/libm-test.inc (catan_test): Add more tests.
16790 (catanh_test): Likewise.
16792 * math/s_catanf.c (__catanf): Use suffixed floating-point
16794 * math/s_catanhf.c (__catanhf): Likewise.
16795 * math/s_catanhl.c (__catanhl): Likewise.
16796 * math/s_catanl.c (__catanl): Likewise.
16799 * math/s_catan.c (__catan): Calculate imaginary part of result
16800 with log1p not log unless computing log of number close to 0.
16801 * math/s_catanf.c (__catanf): Likewise.
16802 * math/s_catanl.c (__catanl): Likewise.
16803 * math/s_catanh.c (__catanh): Calculate real part of result with
16804 log1p not log unless computing log of number close to 0.
16805 * math/s_catanhf.c (__catanhf): Likewise.
16806 * math/s_catanhl.c (__catanhl): Likewise.
16807 * math/libm-test.inc (catan_test): Add more tests.
16808 (catanh_test): Likewise.
16809 * sysdeps/i386/fpu/libm-test-ulps: Update.
16810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16812 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16814 * benchtests/Makefile: Mention files in which fast and slow
16815 paths of math functions are implemented.
16817 2013-04-23 Roland McGrath <roland@hack.frob.com>
16819 * sysdeps/posix/timespec_get.c: New file.
16821 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16823 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16825 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16827 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16828 powerpc/power5/fpu folders.
16829 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16830 * benchtests/Makefile: Add modf testcase.
16831 * benchtests/bench-modf.c: New file: Benchmark test for mo
16833 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16836 * time/Makefile (tests): Add tst-strptime-whitespace.
16837 * time/strptime_l.c (get_number): Use ISSPACE.
16838 (__strptime_internal): Likewise.
16839 * time/tst-strptime-whitespace.c: New test case.
16841 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16843 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16845 (_nss_files_init): Set it here.
16847 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16849 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16850 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16853 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16855 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16857 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16859 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16862 2013-04-21 David S. Miller <davem@davemloft.net>
16864 * po/ru.po: Update Russion translation from translation project.
16866 2013-04-17 Adam Conrad <adconrad@0c3.net>
16868 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16871 2013-04-17 Carlos O'Donell <carlos@redhat.com>
16873 * configure.in: Remove i386 configure warning. Remove i386 case.
16874 * configure: Regenerate.
16875 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16876 Add example to error message.
16877 * sysdeps/i386/configure: Regenerate.
16879 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16881 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16883 * benchtests/cos-inputs: New file.
16884 * benchtests/slowcos-inputs: New file.
16885 * benchtests/slowcos.c: New file.
16886 * benchtests/slowtan-inputs: New file.
16887 * benchtests/slowtan.c: New file.
16888 * benchtests/tan-inputs: New file.
16890 2013-04-16 Roland McGrath <roland@hack.frob.com>
16892 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16895 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16897 * benchtests/Makefile: Include cppflags-iterator.mk to add
16898 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16900 * Makefile.in (bench-clean): New target.
16901 * benchtests/Makefile (bench-clean): Likewise.
16903 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16905 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16907 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16909 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16911 2013-04-15 Andreas Schwab <schwab@suse.de>
16913 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16914 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16915 * nscd/pwdcache.c (cache_addpw): Likewise.
16916 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16919 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16921 * benchtests/Makefile (bench): Write all output to
16922 bench-out.tmp together.
16924 2013-04-15 Andreas Schwab <schwab@suse.de>
16926 * nscd/nscd.c (main): Don't fork again after closing files.
16928 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16930 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16932 * benchtests/Rules (bench-deps): Collect dependencies into a
16933 single variable. Add Makefile to dependencies.
16934 ($(objpfx)bench-%.c): Depend on bench-deps.
16936 2013-04-12 Roland McGrath <roland@hack.frob.com>
16937 Xavier Roche <roche+kml2@exalead.com>
16940 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16941 just that it's a file descriptor.
16942 * manual/llio.texi (Synchronizing AIO Operations): Update description
16943 for EBADF error from aio_fsync.
16945 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16947 * Rules (bench): Move target definition...
16948 * benchtests/Makefile: ... here.
16950 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16952 * math/libm-test.inc (cos_test): Fix PI/2 test.
16953 (sincos_test): Likewise.
16954 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16955 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16957 2013-04-11 Andreas Schwab <schwab@suse.de>
16960 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16961 accept exponent character only when digits were seen.
16962 * stdio-common/Makefile (tests): Add bug26.
16963 * stdio-common/bug26.c: New file.
16966 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16969 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16971 * Makeconfig (rtld-prefix): Define built linker prefix.
16972 * Rules (run-bench): Use it.
16973 * math/Makefile (run-regen-ulps): Likewise.
16975 * Rules (bench): Remove eval.
16977 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16978 Roland McGrath <roland@hack.frob.com>
16979 Ondrej Bilka <neleai@seznam.cz>
16982 * time/getdate.c: Include ctype.h and alloca.h.
16983 (__getdate_r): Trim leading and trailing spaces of input.
16984 * time/tst-getdate.c (tests): Add tests with leading and
16987 2013-04-08 Roland McGrath <roland@hack.frob.com>
16990 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16991 when computing value.
16993 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16995 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16996 Use testrun.sh to run libm tests.
16999 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17001 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17004 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17006 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17008 * Makefile.in (regen-ulps): New target.
17009 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17010 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17011 [ifneq (no,$(PERL)] (regen-ulps): New target.
17012 [ifeq (no,$(PERL)] (regen-ulps): New target.
17013 * math/libm-test.inc (ulps_file_name): Define.
17014 (output_dir): New variable.
17015 (options): Add "output-dir" option.
17016 (parse_opt): Handle 'o' case.
17017 (main): If output_dir is non-NULL use it as a prefix
17019 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17021 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17023 [BZ #10060, #10062]
17024 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17025 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17026 fail configure if __sync_val_compare_and_swap is not inlined.
17027 * sysdeps/i386/configure: Regenerate.
17028 * configure.in: Build for i686 when configured for i386.
17029 * configure: Regenerate.
17030 * README: Remove i386 reference.
17032 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17034 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17035 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17037 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17039 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17040 (lmsnanval): New variables.
17041 (F): Add conversion tests.
17042 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17043 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17045 * stdio-common/tstdiomisc.c (F): Properly collect individual
17048 [BZ #14686, #15336]
17049 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17050 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17051 Instead, use input NaN values or generate a qNaN by arithmetic
17052 operation. Also fix bugs to comply with the standard.
17053 * math/libm-test.inc (remainder_test): Add more tests.
17055 [BZ #15335, #15342]
17056 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17057 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17058 input NaN values or generate a qNaN by arithmetic operation.
17060 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17063 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17066 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17069 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17070 underflowed result.
17071 * math/s_cexpf.c (__cexpf): Likewise.
17072 * math/s_cexpl.c (__cexpl): Likewise.
17073 * math/libm-test.inc (cexp_test): Add more tests.
17075 2013-04-03 Andreas Schwab <schwab@suse.de>
17078 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17079 order arrays from heap if bigger than alloca cutoff.
17081 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17083 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17084 (SNAN_TESTS_double): Refer to GCC PR56831.
17085 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17088 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17090 * Rules (bench): Move bench.out after the run is complete.
17092 * Rules (bench): Echo currently running benchmark.
17094 * benchtests/Makefile (bench): Add atan and slowatan.
17095 * benchtests/atan-inputs: New file.
17096 * benchtests/slowatan-inputs: New file.
17097 * benchtests/slowatan.c: New file.
17099 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17100 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17104 * sysdeps/unix/sysv/linux/kernel-features.h
17105 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17106 __ASSUME_XFS_RESTRICTED_CHOWN.
17107 * sysdeps/unix/sysv/linux/pathconf.c
17108 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17109 Save and restore errno.
17111 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17114 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17115 arguments using __kernel_casinh.
17116 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17117 arguments using __kernel_casinhf.
17118 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17119 arguments using __kernel_casinhl.
17120 * math/libm-test.inc (cacosh_test): Add more tests.
17121 * sysdeps/i386/fpu/libm-test-ulps: Update.
17122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17124 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17126 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17129 * bench/Makefile (bench): Add sin and slowsin.
17130 * benchtests/sin-inputs: New file.
17131 * benchtests/slowsin-inputs: New file.
17132 * benchtests/slowsin.c: New file.
17134 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17135 (bench): Add slowexp and slowpow.
17136 (exp-ITER): Increase iterations.
17137 (pow-ITER): Likewise.
17138 * benchtests/exp-inputs: Change input.
17139 * benchtests/pow-inputs: Likewise.
17140 * benchtests/slowexp-inputs: New file.
17141 * benchtests/slowexp.c: New file.
17142 * benchtests/slowpow-inputs: New file.
17143 * benchtests/slowpow.c: New file.
17145 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17147 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17149 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17150 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17151 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17152 * benchtests/Makefile: Add rint benchtest.
17153 * benchtests/rint-inputs: Input for rint benchtest.
17155 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17157 * Versions.def (libm): Add GLIBC_2.18.
17158 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17159 hidden libm prototypes.
17160 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17161 * math/Makefile (libm-calls): Add s_issignaling.
17162 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17163 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17164 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17166 * math/math.h [__USE_GNU] (issignaling): New macro.
17167 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17168 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17169 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17170 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17171 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17172 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17173 * manual/arith.texi (issignaling): New section.
17174 * manual/libm-err-tab.pl (@all_functions): Update comment.
17175 * math/gen-libm-test.pl (parse_args): Apply special handling for
17177 * math/libm-test.inc (print_float, issignaling_test): New
17179 (check_float_internal): Add issignaling checks.
17180 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17181 default definition.
17182 * sysdeps/powerpc/math-tests.h: New file.
17183 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17185 * math/test-snan.c (TEST_FUNC): Likewise.
17187 2013-03-30 David S. Miller <davem@davemloft.net>
17189 * po/de.po: Update from translation team.
17191 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17194 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17195 imaginary part less than 1.0 and real part less than 0.5
17197 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17198 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17199 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17200 (cacos_test): Add more tests.
17201 (casin_test): Likewise.
17202 (casinh_test): Likewise.
17203 * sysdeps/i386/fpu/libm-test-ulps: Update.
17204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17206 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17208 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17209 ONE with its value.
17211 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17212 (__pow_mp): Replace ONE and MONE with their values.
17213 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17214 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17215 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17216 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17217 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17218 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17220 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17222 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17223 (__pow_mp): Replace ZERO and MZERO with their values.
17224 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17225 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17226 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17228 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17229 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17232 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17234 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17236 2013-03-28 Roland McGrath <roland@hack.frob.com>
17238 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17239 Declare with __attribute__ ((weak)).
17240 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17241 Call __call_tls_dtors only if it's not NULL.
17243 2013-03-28 Roland McGrath <roland@hack.frob.com>
17245 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17246 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17247 magic __ehdr_start linker symbol if it's defined.
17248 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17249 them up here if it was already done.
17251 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17252 (_dl_aux_init): Use const in cast when setting it.
17253 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17254 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17255 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17257 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17259 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17260 * csu/libc-tls.c: Nor here.
17261 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17263 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17264 (__libc_message): Never call vsyslog.
17266 2013-03-28 Alan Modra <amodra@gmail.com>
17268 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17270 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17273 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17276 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17280 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17283 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17284 Don't add gid passed as argument.
17286 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17288 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17291 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17292 imaginary part between 1.0 and 1.5 and real part less than 0.5
17294 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17295 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17296 * math/libm-test.inc (cacos_test): Add more tests.
17297 (casin_test): Likewise.
17298 (casinh_test): Likewise.
17299 * sysdeps/i386/fpu/libm-test-ulps: Update.
17300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17302 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17304 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17307 (denorm): Likewise.
17308 (__dbl_mp): Likewise.
17309 (add_magnitudes): Likewise.
17310 (sub_magnitudes): Likewise.
17318 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17320 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17321 (__dubcos): Likewise.
17322 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17323 (__ieee754_acos): Likewise.
17324 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17325 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17326 (__exp1): Likewise.
17327 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17328 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17330 (my_log2): Likewise.
17331 (checkint): Likewise.
17332 * sysdeps/ieee754/dbl-64/e_remainder.c
17333 (__ieee754_remainder): Likewise.
17334 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17335 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17336 (bsloww): Likewise.
17337 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17339 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17340 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17341 MANTISSA_STORE_T to store computations on mantissa. Use
17342 macros for rounding and division.
17343 (denorm): Likewise.
17344 (__dbl_mp): Likewise.
17345 (add_magnitudes): Likewise.
17346 (sub_magnitudes): Likewise.
17349 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17350 powers of two in terms of TWOPOW macro.
17351 (mp_no): Make type of mantissa as MANTISSA_T.
17352 [!RADIXI]: Define RADIXI.
17353 [!TWO52]: Define TWO52.
17354 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17356 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17358 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17359 llroundl symbol when building for PPC32.
17361 2013-03-24 Mark H Weaver <mhw@netris.org>
17363 * manual/arith.texi (Normalization Functions): Fix prototypes for
17364 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17366 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17370 high value to check if expl overflow.
17371 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17372 to check for underflow and overflow.
17373 * math/libm-test.inc: Add exp test.
17375 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17378 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17381 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17383 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17386 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17388 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17389 wrap blocks consisting of several statements.
17391 * sysdeps/generic/math-tests.h: New file.
17392 * sysdeps/i386/fpu/math-tests.h: Likewise.
17393 * math/test-snan.c: Include it.
17394 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17396 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17399 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17400 (__ieee754_j0l): Do not improve calculations using cos of twice
17401 input for inputs above LDBL_MAX / 2.0L.
17402 (__ieee754_y0l): Likewise.
17403 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17404 (__ieee754_j1l): Do not improve calculations using cos of twice
17405 input for inputs above LDBL_MAX / 2.0L.
17406 (__ieee754_y1l): Likewise.
17407 * math/libm-test.inc (j0_test): Add another test.
17408 (j1_test): Likewise.
17409 (y0_test): Likewise.
17410 (y1_test): Likewise.
17411 * sysdeps/i386/fpu/libm-test-ulps: Update.
17413 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17415 * Rules ($(objpfx)bench-%.c): Include code from a C source
17418 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17421 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17422 imaginary part 1.0 and real part less than 0.5 specially.
17423 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17424 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17425 * math/libm-test.inc (cacos_test): Add more tests.
17426 (casin_test): Likewise.
17427 (casinh_test): Likewise.
17428 * sysdeps/i386/fpu/libm-test-ulps: Update.
17429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17431 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17433 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17434 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17436 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17438 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17439 * config.make.in (config-cflags-sse4): Remove variable.
17440 (config-cflags-avx): Likewise.
17441 (config-cflags-sse2avx): Likewise.
17442 (config-cflags-novzeroupper): Likewise.
17443 (config-asflags-i686): Likewise.
17444 (have-mfma4): Likewise.
17445 (have-as-vis3): Likewise.
17447 * configure.in (MIG): Do not AC_SUBST.
17448 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17449 (libc_cv_cc_sse4): Do not AC_SUBST.
17450 (libc_cv_cc_avx): Likewise.
17451 (libc_cv_cc_sse2avx): Likewise.
17452 (libc_cv_cc_novzeroupper): Likewise.
17453 (libc_cv_cc_fma4): Likewise.
17454 (libc_cv_as_i686): Likewise.
17455 (libc_cv_sparc_as_vis3): Likewise.
17456 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17458 (config-asflags-i686): Likewise.
17459 (config-cflags-avx): Likewise.
17460 (config-cflags-sse2avx): Likewise.
17461 (have-mfma4): Likewise.
17462 (config-cflags-novzeroupper): Likewise.
17463 * sysdeps/mach/configure.in (MIG): Likewise.
17464 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17465 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17467 (config-cflags-avx): Likewise.
17468 (config-cflags-sse2avx): Likewise.
17469 (have-mfma4): Likewise.
17470 (config-cflags-novzeroupper): Likewise.
17471 * configure: Regenerated.
17472 * sysdeps/i386/configure: Likewise.
17473 * sysdeps/mach/configure: Likewise.
17474 * sysdeps/sparc/configure: Likewise.
17475 * sysdeps/x86_64/configure: Likewise.
17477 2013-03-20 Roland McGrath <roland@hack.frob.com>
17480 * locale/programs/localedef.c (options): Put N_ translation marker
17481 on argument names, not just descriptions.
17483 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17485 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17487 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17490 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17492 2013-03-19 Roland McGrath <roland@hack.frob.com>
17494 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17495 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17496 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17497 [!BEFORE_ABORT] (before_abort): New function.
17498 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17499 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17500 (writev_for_fatal): New function.
17501 (WRITEV_FOR_FATAL): New macro; call that.
17502 (backtrace_and_maps): New function.
17503 (BEFORE_ABORT): New macro; call that.
17504 (struct str_list): Type removed.
17505 (__libc_message, __libc_fatal): Functions removed.
17506 Include <sysdeps/posix/libc_fatal.c> instead.
17508 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17510 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17512 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17515 2013-03-19 Andreas Schwab <schwab@suse.de>
17517 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17518 * sysdeps/gnu/configure: Regenerate.
17520 * configure.in: Substitute libc_cv_rtlddir.
17521 * configure: Regenerate.
17522 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17523 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17524 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17525 * elf/Makefile (install-others, CFLAGS-interp.c)
17526 (ldso_install, common-ldd-rewrite): Likewise.
17527 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17528 $(inst_slibdir)/$(rtld-installed-name).
17529 * scripts/rellns-sh: Add -p option.
17530 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17533 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17535 * manual/nptl.texi: Renamed to ...
17536 * manual/threads.texi: ... this.
17537 * manual/Makefile (chapters): Update.
17539 2013-03-18 Roland McGrath <roland@hack.frob.com>
17542 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17543 on argument names, not just descriptions.
17544 * malloc/memusagestat.c (options): Likewise.
17545 * nss/getent.c (options): Likewise.
17547 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17550 * iconv/iconv_prog.c (options): Put N_ translation marker
17551 on argument names, not just descriptions.
17552 * iconv/iconvconfig.c (options): Likewise.
17554 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17556 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17557 implementation which is faster on all x86_64 architectures.
17558 Tested on AMD, Intel Nehalem, SNB, IVB.
17559 * sysdeps/x86_64/strnlen.S: Likewise.
17561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17562 Remove all multiarch strlen and strnlen versions.
17563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17564 Remove strlen and strnlen related parts.
17566 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17567 Inline strlen part.
17568 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17570 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17571 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17572 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17573 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17574 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17575 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17577 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17579 * manual/memory.texi (Malloc Tunable Parameters):
17580 Sort parameters alphabetically. Add comments for missing entries.
17582 2013-03-17 David S. Miller <davem@davemloft.net>
17584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17586 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17589 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17590 for arguments at most half maximum finite value.
17591 * math/libm-test.inc (j0_test): Add more tests.
17592 (j1_test): Likewise.
17593 (y0_test): Likewise.
17594 (y1_test): Likewise.
17595 * sysdeps/i386/fpu/libm-test-ulps: Update.
17596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17599 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17600 1 / x and functions P and Q for arguments above 0x1p256L.
17601 (__ieee754_y0l): Likewise.
17602 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17603 (__ieee754_y1l): Likewise.
17604 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17605 (j1_test): Likewise.
17606 (y0_test): Likewise.
17607 (y1_test): Likewise.
17609 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17611 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17614 2013-03-15 Roland McGrath <roland@hack.frob.com>
17616 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17617 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17618 zero since it's initialized to EXEC_PAGESIZE.
17620 * sysdeps/unix/sysv/linux/ldsodefs.h
17621 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17622 * sysdeps/generic/ldsodefs.h: ... here.
17624 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17626 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17628 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17630 * math/test-snan.c: Renamed from
17631 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17632 * math/Makefile (tests): Add test-snan.
17633 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17636 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17637 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17639 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17640 __builtin_nan family of functions.
17641 * math/libm-test.inc (initialize): Initialize qnan_value with
17642 __builtin_nan family of functions.
17643 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17645 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17647 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17648 storage class. Initialize qNaN_var and sNaN_var with
17649 __builtin_nan and __builtin_nans families of functions,
17652 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17653 (sqrt_test): Remove duplicate test with qNaN input.
17654 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17655 (round_test, signbit_test, significand_test): Note missing +/-Inf
17656 as well as qNaN tests.
17658 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17659 qNaN_var. Fix a few strings, too.
17660 * math/libm-test.inc (nan_value): Rename to qnan_value.
17661 * math/gen-libm-test.pl (%beautify): Adjust to that.
17662 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17663 * math/test-misc.c (main): Likewise.
17664 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17665 to __qnan_bytes, and __qnan_union, respectively.
17666 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17668 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17669 and lqnanval, respectively.
17670 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17671 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17672 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17673 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17675 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17676 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17679 * math/test-misc.c (main): Fix copy'n'pastos.
17680 * misc/tst-efgcvt.c (special): Likewise.
17682 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17683 Remove declarations.
17685 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17687 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17688 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17689 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17690 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17692 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17694 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17695 macro to return vdso values correctly in IFUNC implementations.
17696 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17697 Optimization by using IFUNC.
17699 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17700 Richard Henderson <rth@redhat.com>
17701 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17703 * Makefile.in (bench): New target.
17704 * NEWS: Mention the benchmark framework.
17705 * Rules (bench): Likewise.
17706 (binaries-bench): Generate binaries for functions to
17708 * benchtests/Makefile: New makefile for benchmark tests.
17709 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17711 * benchtests/exp-inputs: New input file for EXP function.
17712 * benchtests/pow-inputs: New input file for POW function.
17713 * scripts/bench.pl: New script to generate source files for
17714 benchmark programs.
17716 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17718 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17719 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17720 computations on mantissa. Use macros for rounding and
17722 (denorm): Likewise.
17723 (__dbl_mp): Likewise.
17724 (add_magnitudes): Likewise.
17725 (sub_magnitudes): Likewise.
17728 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17729 powers of two in terms of TWOPOW macro.
17730 (mp_no): Make type of mantissa as MANTISSA_T.
17731 [!RADIXI]: Define RADIXI.
17732 [!TWO52]: Define TWO52.
17733 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17735 * manual/nptl.texi (cindex): Modify threads to pthreads.
17737 2013-03-15 Joseph Myers <joseph@codesourcery.com>
17739 * sysdeps/x86_64/preconfigure: Regenerated.
17741 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17744 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17746 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17747 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17749 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17750 * math/libm-test.inc (j0_test): Do not allow one spurious
17751 underflow exception.
17752 (y1_test): Likewise.
17754 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17756 * manual/Makefile (chapters): Add nptl.
17757 * manual/debug.texi (Debugging Support): Add link to Threads
17759 * manual/nptl.texi: New file.
17761 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17763 2013-03-14 Petr Baudis <pasky@ucw.cz>
17765 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17766 for non-NULL pointer before the memory validity test. Pointed
17767 out by Holger Brunck <holger.brunck@keymile.com>.
17769 2013-03-13 Andreas Schwab <schwab@suse.de>
17771 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17774 2013-03-13 Joseph Myers <joseph@codesourcery.com>
17776 * timezone/zic.c: Update from tzcode 2013b.
17778 2013-03-12 Carlos O'Donell <carlos@redhat.com>
17780 * manual/install.texi (Configuring and compiling):
17781 Mention i686 and i586.
17782 * INSTALL: Regenerate.
17784 2013-03-12 Roland McGrath <roland@hack.frob.com>
17786 * sysdeps/init_array/elf-init.c: New file.
17788 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17789 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17791 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17792 __gmon_start__ as global, but as static with a .preinit_array pointer.
17793 * sysdeps/init_array/gmon-start.c: New file. Use that.
17794 * sysdeps/init_array/crti.S: New file, empty except for comments.
17795 * sysdeps/init_array/crtn.S: Likewise.
17797 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17799 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17802 Remove Prefer_SSE_for_memop.
17803 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17804 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17805 HAS_PREFER_SSE_FOR_MEMOP.
17806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17809 Remove bzero, memset ifunc support.
17810 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17811 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17812 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17813 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17815 2013-03-11 Andreas Schwab <schwab@suse.de>
17818 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17821 (GLIBC_2.16): Remove pthread_atfork.
17823 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17825 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17826 (ptestcases.h): Likewise.
17828 2013-03-08 Roland McGrath <roland@hack.frob.com>
17830 * Makeconfig ($(common-objpfx)config.status): Depend on
17831 sysdeps/*/preconfigure{,.in} too.
17833 2013-03-08 Joseph Myers <joseph@codesourcery.com>
17835 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17836 (__free_hook): Use void * instead of __malloc_ptr_t.
17837 (__malloc_hook): Likewise.
17838 (__realloc_hook): Likewise.
17839 (__memalign_hook): Likewise.
17840 (__after_morecore_hook): Likewise.
17841 * malloc/arena.c (save_malloc_hook): Likewise.
17842 (save_free_hook): Likewise.
17843 * malloc/hooks.c (malloc_hook_ini): Likewise.
17844 (realloc_hook_ini): Likewise.
17845 (memalign_hook_ini): Likewise.
17846 * malloc/malloc.c (malloc_hook_ini): Likewise.
17847 (realloc_hook_ini): Likewise.
17848 (memalign_hook_ini): Likewise.
17849 (__free_hook): Likewise.
17850 (__malloc_hook): Likewise.
17851 (__realloc_hook): Likewise.
17852 (__memalign_hook): Likewise.
17853 (__libc_malloc): Likewise.
17854 (__libc_free): Likewise.
17855 (__libc_realloc): Likewise.
17856 (__libc_memalign): Likewise.
17857 (__libc_valloc): Likewise.
17858 (__libc_pvalloc): Likewise.
17859 (__libc_calloc): Likewise.
17860 (__posix_memalign): Likewise.
17861 * malloc/morecore.c (__sbrk): Likewise.
17862 (__default_morecore): Likewise.
17864 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17866 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17867 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17868 __malloc_ptrdiff_t.
17870 * malloc/malloc.h (__malloc_size_t): Remove macro.
17871 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17873 (old_memalign_hook): Likewise.
17874 (old_realloc_hook): Likewise.
17875 (struct hdr): Likewise.
17877 (mallochook): Likewise.
17878 (memalignhook): Likewise.
17879 (reallochook): Likewise.
17880 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17881 (tr_old_realloc_hook): Likewise.
17882 (tr_old_memalign_hook): Likewise.
17883 (tr_mallochook): Likewise.
17884 (tr_reallochook): Likewise.
17885 (tr_memalignhook): Likewise.
17887 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17889 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17890 default_ldbl_pack and using as default implementation.
17891 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17893 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17894 redundant definition.
17895 (ldbl_insert_mantissa): Likewise.
17896 (ldbl_canonicalize): Likewise.
17897 (ldbl_nearbyint): Likewise.
17898 (ldbl_pack): Rename to ldbl_pack_ppc.
17899 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17900 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17901 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17903 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17906 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17907 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17908 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17910 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17911 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17912 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17914 2013-03-07 Andreas Jaeger <aj@suse.de>
17916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17919 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17921 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17922 Include mpa.h and declare __MPEXP.
17923 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17924 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17925 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17926 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17927 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17928 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17929 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17931 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17932 (__slowpow): Use long double EXPL and LOGL functions to
17934 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17935 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17936 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17937 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17938 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17939 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17942 intermediate variable to calculate exponent.
17944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17948 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17949 [!NO__SQR]: Define __sqr.
17950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17951 and NO__SQR. Remove all code except __mul and __sqr. Include
17952 sysdeps/ieee754/dbl-64/mpa.c.
17953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17956 * posix/Makefile (tests): Add tst-pathconf.
17957 * posix/tst-pathconf.c: New test case.
17958 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17960 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17962 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17964 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17966 2013-03-06 Andreas Jaeger <aj@suse.de>
17968 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17969 definition via __MAP_ANONYMOUS.
17971 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17972 it's not part of Linux headers.
17974 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17975 (MAP_HUGE_MASK): Define.
17977 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17979 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17980 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17982 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17983 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17985 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17986 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17988 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17990 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17991 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17992 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17993 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17994 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17995 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17997 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18000 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18001 Handle f2fs and efivarfs.
18003 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18006 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18007 (EFIVARFS_MAGIC): Add.
18008 (F2FS_LINK_MAX): Add.
18010 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18012 * stdio-common/vfprintf.c: Replace __builtin_expect with
18015 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18018 * sysdeps/generic/bp-sym.h: Remove file.
18019 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18020 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18021 <bp-sym.h> and <bp-asm.h>.
18022 (__longjmp): Don't use BP_SYM.
18023 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18025 (memcpy): Don't use BP_SYM.
18026 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18027 <bp-sym.h> and <bp-asm.h>.
18028 (memcpy): Don't use BP_SYM.
18029 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18031 (memcpy): Don't use BP_SYM.
18032 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18034 (memset): Don't use BP_SYM.
18035 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18036 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18037 (__bzero): Don't use BP_SYM.
18038 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18039 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18040 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18041 <bp-sym.h> and <bp-asm.h>.
18042 (memcmp): Don't use BP_SYM. Remove comment about bounded
18044 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18045 <bp-sym.h> and <bp-asm.h>.
18046 (memcpy): Don't use BP_SYM.
18047 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18048 <bp-sym.h> and <bp-asm.h>.
18049 (memset): Don't use BP_SYM.
18050 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18051 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18052 (__bzero): Don't use BP_SYM.
18053 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18054 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18055 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18056 <bp-sym.h> and <bp-asm.h>.
18057 (strncmp): Don't use BP_SYM. Remove comment about bounded
18059 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18060 <bp-sym.h> and <bp-asm.h>.
18061 (memcpy): Don't use BP_SYM.
18062 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18063 <bp-sym.h> and <bp-asm.h>.
18064 (memset): Don't use BP_SYM.
18065 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18066 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18067 (__bzero): Don't use BP_SYM.
18068 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18069 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18070 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18071 <bp-sym.h> and <bp-asm.h>.
18072 (__memchr): Don't use BP_SYM.
18073 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18074 <bp-sym.h> and <bp-asm.h>.
18075 (memcmp): Don't use BP_SYM. Remove comment about bounded
18077 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18078 <bp-sym.h> and <bp-asm.h>.
18079 (memcpy): Don't use BP_SYM.
18080 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18081 <bp-sym.h> and <bp-asm.h>.
18082 (__mempcpy): Don't use BP_SYM.
18083 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18084 <bp-sym.h> and <bp-asm.h>.
18085 (__memrchr): Don't use BP_SYM.
18086 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18087 <bp-sym.h> and <bp-asm.h>.
18088 (memset): Don't use BP_SYM.
18089 (__bzero): Likewise.
18090 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18091 <bp-sym.h> and <bp-asm.h>.
18092 (__rawmemchr): Don't use BP_SYM.
18093 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18094 <bp-sym.h> and <bp-asm.h>.
18095 (__STRCMP): Don't use BP_SYM.
18096 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18097 <bp-sym.h> and <bp-asm.h>.
18098 (strchr): Don't use BP_SYM.
18099 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18100 <bp-sym.h> and <bp-asm.h>.
18101 (__strchrnul): Don't use BP_SYM.
18102 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18103 <bp-sym.h> and <bp-asm.h>.
18104 (strlen): Don't use BP_SYM.
18105 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18106 <bp-sym.h> and <bp-asm.h>.
18107 (strncmp): Don't use BP_SYM. Remove comment about bounded
18109 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18110 <bp-sym.h> and <bp-asm.h>.
18111 (__strnlen): Don't use BP_SYM.
18112 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18113 <bp-sym.h> and <bp-asm.h>.
18114 (__GI__setjmp): Don't use BP_SYM.
18115 (_setjmp): Likewise.
18116 (__sigsetjmp): Likewise.
18117 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18118 (L(start_addresses)): Don't use BP_SYM.
18119 (_start): Likewise.
18120 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18122 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18123 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18124 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18125 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18126 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18128 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18129 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18130 about bounded pointers.
18131 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18132 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18133 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18135 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18136 about bounded pointers. Remove GKM FIXME comments.
18137 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18138 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18140 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18141 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18142 Remove GKM FIXME comments.
18143 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18144 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18145 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18147 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18148 about bounded pointers. Remove GKM FIXME comment.
18149 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18151 (strncmp): Don't use BP_SYM. Remove comment about bounded
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18154 <bp-sym.h> and <bp-asm.h>.
18155 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18157 <bp-sym.h> and <bp-asm.h>.
18158 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18161 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18163 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18166 2013-03-05 David S. Miller <davem@davemloft.net>
18168 * po/es.po: Update from translation team.
18170 2013-03-05 Andreas Jaeger <aj@suse.de>
18172 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18173 <bits/mman-linux.h>.
18174 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18176 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18177 <bits/mman-linux.h> to end of file.
18178 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18180 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18181 <bits/mman-linux.h> to end of file.
18182 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18184 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18185 <bits/mman-linux.h> to end of file.
18187 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18188 (MCL_CURRENT, MCL_FUTURE): Define here.
18190 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18193 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18195 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18197 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18199 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18200 fourth parameter needed for rt_sigprocmask syscall.
18201 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18202 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18203 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18204 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18205 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18206 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18208 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18211 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18212 comment about bounded pointers.
18213 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18214 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18216 2013-03-04 Andreas Jaeger <aj@suse.de>
18218 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18219 common definitions.
18221 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18222 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18223 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18224 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18225 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18226 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18228 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18231 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18232 __ieee754_sqrl instead of __sqrl.
18234 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18236 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18237 * sysdeps/powerpc/fpu_control.h: ... here.
18238 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18239 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18240 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18241 * sysdeps/powerpc/bits/mathinline.h: ... here.
18243 2013-03-01 Roland McGrath <roland@hack.frob.com>
18245 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18246 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18247 to just [NEED_DL_SYSINFO_DSO].
18248 * elf/dl-support.c: Likewise.
18249 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18250 * elf/rtld.c (dl_main): Likewise.
18251 * elf/setup-vdso.h (setup_vdso): Likewise.
18252 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18253 * sysdeps/unix/sysv/linux/dl-sysdep.c
18254 (_dl_discover_osversion): Likewise.
18256 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18258 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18259 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18261 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18263 * NEWS: Mention libm performance improvements and non-x86 PI
18266 * csu/libc-start.c (__pthread_initialize_minimal): Change
18267 function arguments.
18268 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18270 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18273 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18274 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18275 <bp-sym.h> and <bp-asm.h>.
18276 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18277 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18279 (memcpy): Don't use BP_SYM.
18280 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18282 (__mpn_add_n): Don't use BP_SYM.
18283 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18284 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18286 (__mpn_addmul_1): Don't use BP_SYM.
18287 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18288 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18290 (_setjmp): Don't use BP_SYM.
18291 (__novmx_setjmp): Likewise.
18292 (__GI__setjmp): Likewise.
18293 (__vmx_setjmp): Likewise.
18294 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18296 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18297 (__bzero): Don't use BP_SYM.
18298 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18299 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18300 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18301 <bp-sym.h> and <bp-asm.h>.
18302 (memcpy): Don't use BP_SYM.
18303 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18304 <bp-sym.h> and <bp-asm.h>.
18305 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18306 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18307 <bp-sym.h> and <bp-asm.h>.
18308 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18309 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18311 (__mpn_lshift): Don't use BP_SYM.
18312 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18313 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18315 (memset): Don't use BP_SYM.
18316 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18317 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18318 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18320 (__mpn_mul_1): Don't use BP_SYM.
18321 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18322 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18323 <bp-sym.h> and <bp-asm.h>.
18324 (memcmp): Don't use BP_SYM.
18325 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18326 <bp-sym.h> and <bp-asm.h>.
18327 (memcpy): Don't use BP_SYM.
18328 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18329 <bp-sym.h> and <bp-asm.h>.
18330 (memset): Don't use BP_SYM.
18331 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18332 <bp-sym.h> and <bp-asm.h>.
18333 (strncmp): Don't use BP_SYM.
18334 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18335 <bp-sym.h> and <bp-asm.h>.
18336 (memcpy): Don't use BP_SYM.
18337 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18338 <bp-sym.h> and <bp-asm.h>.
18339 (memset): Don't use BP_SYM.
18340 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18341 <bp-sym.h> and <bp-asm.h>.
18342 (__memchr): Don't use BP_SYM.
18343 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18344 <bp-sym.h> and <bp-asm.h>.
18345 (memcmp): Don't use BP_SYM.
18346 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18347 <bp-sym.h> and <bp-asm.h>.
18348 (memcpy): Don't use BP_SYM.
18349 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18350 <bp-sym.h> and <bp-asm.h>.
18351 (__mempcpy): Don't use BP_SYM.
18352 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18353 <bp-sym.h> and <bp-asm.h>.
18354 (__memrchr): Don't use BP_SYM.
18355 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18356 <bp-sym.h> and <bp-asm.h>.
18357 (memset): Don't use BP_SYM.
18358 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18359 <bp-sym.h> and <bp-asm.h>.
18360 (__rawmemchr): Don't use BP_SYM.
18361 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18362 <bp-sym.h> and <bp-asm.h>.
18363 (__STRCMP): Don't use BP_SYM.
18364 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18365 <bp-sym.h> and <bp-asm.h>.
18366 (strchr): Don't use BP_SYM.
18367 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18368 <bp-sym.h> and <bp-asm.h>.
18369 (__strchrnul): Don't use BP_SYM.
18370 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18371 <bp-sym.h> and <bp-asm.h>.
18372 (strlen): Don't use BP_SYM.
18373 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18374 <bp-sym.h> and <bp-asm.h>.
18375 (strncmp): Don't use BP_SYM.
18376 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18377 <bp-sym.h> and <bp-asm.h>.
18378 (__strnlen): Don't use BP_SYM.
18379 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18381 (__mpn_rshift): Don't use BP_SYM.
18382 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18383 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18384 <bp-sym.h> and <bp-asm.h>.
18385 (__sigsetjmp): Don't use BP_SYM.
18386 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18387 (L(start_addresses)): Don't use BP_SYM.
18388 (_start): Likewise.
18389 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18391 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18392 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18393 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18394 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18396 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18397 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18398 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18399 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18401 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18403 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18404 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18406 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18408 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18409 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18410 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18412 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18414 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18416 (strncmp): Don't use BP_SYM,
18417 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18419 (__mpn_sub_n): Don't use BP_SYM.
18420 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18421 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18423 (__mpn_submul_1): Don't use BP_SYM.
18424 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18426 <bp-sym.h> and <bp-asm.h>.
18427 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18429 <bp-sym.h> and <bp-asm.h>.
18430 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18433 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18436 Use ZK to minimize writes to Z.
18437 (sub_magnitudes): Simplify code a bit.
18438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18439 Use ZK to minimize writes to Z.
18440 (sub_magnitudes): Simplify code a bit.
18442 2013-02-27 Roland McGrath <roland@hack.frob.com>
18444 * csu/gmon-start.c: Add special exception to license text.
18446 2013-02-27 Richard Henderson <rth@redhat.com>
18448 * scripts/config.guess: Update from config.git.
18449 * scripts/config.sub: Likewise.
18451 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18453 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18455 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18457 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18459 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18461 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18463 2013-02-26 Roland McGrath <roland@hack.frob.com>
18465 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18466 [$(build-shared = yes].
18468 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18470 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18471 (__mul): Reduce iterations for calculating mantissa.
18473 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18475 (__mpranred): Likewise.
18478 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18479 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18481 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18483 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18484 Define __attribute__.
18486 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18488 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18490 * posix/regex_internal.h (__attribute): Remove.
18491 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18492 (re_string_context_at): Likewise.
18493 (bitset_not): Use __attribute__ and mark function as possibly
18495 (bitset_merge): Likewise.
18496 (bitset_mask): Likewise.
18497 (re_string_char_size_at): Likewise.
18498 (re_string_wchar_at): Likewise.
18499 (re_string_elem_size_at): Likewise.
18501 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18503 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18507 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18511 (denorm): Likewise.
18512 (__dbl_mp): Likewise.
18513 (add_magnitudes): Likewise.
18514 (sub_magnitudes): Likewise.
18518 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18521 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18524 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18528 up changes with default code.
18529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18532 2013-02-24 Allan McRae <allan@archlinux.org>
18534 * manual/socket.texi (The Internet Namespace): Order menu items
18535 to match that in the file.
18537 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18538 node listing of the info page menu.
18540 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18543 * sysdeps/i386/bp-asm.h: Remove file.
18544 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18545 (PARMS): Do not use macros from bp-asm.h.
18549 (__mpn_add_n): Do not use BP_SYM
18550 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18552 (PARMS): Do not use macros from bp-asm.h.
18555 (__mpn_addmul_1): Do not use BP_SYM
18556 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18558 (PARMS): Do not use macros from bp-asm.h.
18559 (SIGMSK): Likewise.
18560 (_setjmp): Likewise. Do not use BP_SYM.
18561 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18563 (PARMS): Do not use macros from bp-asm.h.
18564 (SIGMSK): Likewise.
18565 (setjmp): Likewise. Do not use BP_SYM.
18566 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18568 (PARMS): Do not use macros from bp-asm.h.
18569 (__frexp): Do not use BP_SYM.
18571 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18573 (PARMS): Do not use macros from bp-asm.h.
18574 (__frexpf): Do not use BP_SYM.
18575 (frexpf): Likewise.
18576 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18578 (PARMS): Do not use macros from bp-asm.h.
18579 (__frexpl): Do not use BP_SYM.
18580 (frexpl): Likewise.
18581 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18583 (PARMS): Do not use macros from bp-asm.h.
18584 (__remquo): Do not use BP_SYM.
18585 (remquo): Likewise.
18586 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18588 (PARMS): Do not use macros from bp-asm.h.
18589 (__remquof): Do not use BP_SYM.
18590 (remquof): Likewise.
18591 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18593 (PARMS): Do not use macros from bp-asm.h.
18594 (__remquol): Do not use BP_SYM.
18595 (remquol): Likewise.
18596 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18598 (PARMS): Do not use macros from bp-asm.h.
18601 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18602 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18604 (PARMS): Do not use macros from bp-asm.h.
18605 (strlen): Do not use BP_SYM.
18606 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18608 (PARMS): Do not use macros from bp-asm.h.
18612 (__mpn_add_n): Do not use BP_SYM.
18613 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18615 (PARMS): Do not use macros from bp-asm.h.
18618 (__mpn_addmul_1): Do not use BP_SYM.
18619 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18622 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18624 (PARMS): Do not use macros from bp-asm.h.
18627 (__mpn_lshift): Do not use BP_SYM.
18628 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18630 (PARMS): Do not use macros from bp-asm.h.
18634 (memcpy): Likewise. Do not use BP_SYM.
18635 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18636 libc_hidden_def and weak_alias.
18637 (mempcpy): Do not use BP_SYM in weak_alias.
18638 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18640 (PARMS): Do not use macros from bp-asm.h.
18643 [!BZERO_P] (CHR): Likewise.
18644 (memset): Likewise. Do not use BP_SYM.
18645 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18647 (PARMS): Do not use macros from bp-asm.h.
18650 (__mpn_mul_1): Do not use BP_SYM.
18651 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18653 (PARMS): Do not use macros from bp-asm.h.
18656 (__mpn_rshift): Do not use BP_SYM.
18657 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18659 (PARMS): Do not use macros from bp-asm.h.
18662 (strchr): Likewise. Do not use BP_SYM.
18663 (index): Do not use BP_SYM in weak_alias.
18664 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18666 (PARMS): Do not use macros from bp-asm.h.
18669 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18670 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18672 (PARMS): Do not use macros from bp-asm.h.
18673 (strlen): Do not use BP_SYM.
18674 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18676 (PARMS): Do not use macros from bp-asm.h.
18680 (__mpn_sub_n): Do not use BP_SYM.
18681 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18683 (PARMS): Do not use macros from bp-asm.h.
18686 (__mpn_submul_1): Do not use BP_SYM.
18687 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18689 (PARMS): Do not use macros from bp-asm.h.
18693 (__mpn_add_n): Do not use BP_SYM.
18694 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18697 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18699 (PARMS): Do not use macros from bp-asm.h.
18702 (memcmp): Do not use BP_SYM.
18703 (bcmp): Do not use BP_SYM in weak_alias.
18704 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18706 (PARMS): Do not use macros from bp-asm.h.
18710 (memcpy): Likewise. Do not use BP_SYM.
18711 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18713 (PARMS): Do not use macros from bp-asm.h.
18717 (memmove): Likewise. Do not use BP_SYM.
18718 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18720 (PARMS): Do not use macros from bp-asm.h.
18724 (__mempcpy): Likewise. Do not use BP_SYM.
18725 (mempcpy): Do not use BP_SYM in weak_alias.
18726 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18728 (PARMS): Do not use macros from bp-asm.h.
18731 [!BZERO_P] (CHR): Likewise.
18732 (memset): Likewise. Do not use BP_SYM.
18733 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18735 (PARMS): Do not use macros from bp-asm.h.
18737 (strcmp): Do not use BP_SYM.
18738 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18740 (PARMS): Do not use macros from bp-asm.h.
18743 [USE_AS_STRTOK_R] (SAVE): Likewise.
18744 (FUNCTION): Likewise. Do not use BP_SYM.
18745 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18747 (strtok_r): Likewise.
18748 (__GI___strtok_r): Likewise.
18749 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18750 (PARMS): Do not use macros from bp-asm.h.
18753 (__mpn_lshift): Do not use BP_SYM.
18754 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18755 (PARMS): Do not use macros from bp-asm.h.
18758 (__memchr): Do not use BP_SYM.
18759 (memchr): Do not use BP_SYM in weak_alias.
18760 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18761 (PARMS): Do not use macros from bp-asm.h.
18764 (memcmp): Do not use BP_SYM.
18765 (bcmp): Do not use BP_SYM in weak_alias.
18766 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18767 (PARMS): Do not use macros from bp-asm.h.
18770 (__mpn_mul_1): Do not use BP_SYM.
18771 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18773 (PARMS): Do not use macros from bp-asm.h.
18776 (__rawmemchr): Do not use BP_SYM.
18777 (rawmemchr): Do not use BP_SYM in weak_alias.
18778 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18779 (PARMS): Do not use macros from bp-asm.h.
18782 (__mpn_rshift): Do not use BP_SYM.
18783 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18784 (PARMS): Do not use macros from bp-asm.h.
18785 (SIGMSK): Likewise.
18786 (__sigsetjmp): Likewise. Do not use BP_SYM.
18787 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18788 (_start): Do not use BP_SYM.
18789 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18790 (PARMS): Do not use macros from bp-asm.h.
18793 (__stpcpy): Likewise. Do not use BP_SYM.
18794 (stpcpy): Do not use BP_SYM in weak_alias.
18795 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18797 (PARMS): Do not use macros from bp-asm.h.
18801 (__stpncpy): Likewise. Do not use BP_SYM.
18802 (stpncpy): Do not use BP_SYM in weak_alias.
18803 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18804 (PARMS): Do not use macros from bp-asm.h.
18807 (strchr): Likewise. Do not use BP_SYM.
18808 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18810 (PARMS): Do not use macros from bp-asm.h.
18813 (__strchrnul): Likewise. Do not use BP_SYM.
18814 (strchrnul): Do not use BP_SYM in weak_alias.
18815 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18817 (PARMS): Do not use macros from bp-asm.h.
18819 (strcspn): Do not use BP_SYM.
18820 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18822 (PARMS): Do not use macros from bp-asm.h.
18825 (strpbrk): Likewise. Do not use BP_SYM.
18826 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18828 (PARMS): Do not use macros from bp-asm.h.
18831 (strrchr): Likewise. Do not use BP_SYM.
18832 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18833 (PARMS): Do not use macros from bp-asm.h.
18835 (strspn): Do not use BP_SYM.
18836 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18837 (PARMS): Do not use macros from bp-asm.h.
18841 (FUNCTION): Likewise. Do not use BP_SYM.
18842 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18844 (strtok_r): Likewise.
18845 (__GI___strtok_r): Likewise.
18846 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18847 (PARMS): Do not use macros from bp-asm.h.
18851 (__mpn_sub_n): Do not use BP_SYM.
18852 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18854 (PARMS): Do not use macros from bp-asm.h.
18857 (__mpn_submul_1): Do not use BP_SYM.
18858 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18860 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18862 (PARMS): Do not use macros from bp-asm.h.
18867 (__clone): Do not use BP_SYM.
18868 (clone): Do not use BP_SYM in weak_alias.
18869 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18871 (PARMS): Do not use macros from bp-asm.h.
18873 (__mmap64): Do not use BP_SYM.
18874 (mmap64): Do not use BP_SYM in weak_alias.
18875 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18876 <bp-sym.h> and <bp-asm.h>.
18877 (PARMS): Do not use macros from bp-asm.h.
18878 (__posix_fadvise64_l64): Do not use BP_SYM.
18879 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18880 (PARMS): Do not use macros from bp-asm.h.
18882 (semtimedop): Do not use BP_SYM.
18883 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18886 2013-02-21 Allan McRae <allan@archlinux.org>
18888 * manual/message.texi (Charset conversion in gettext):
18889 Move @end statement to beginning of line.
18891 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18898 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18899 (denorm): Likewise.
18900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18903 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18905 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18906 tail-call to the resolved function if pltexit isn't needed.
18908 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18911 or Y being zero as being unlikely.
18912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18915 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18917 * manual/nss.texi (System Databases and Name Service Switch):
18918 Remove frobnicate @pxref.
18920 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18922 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18923 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18925 2013-02-20 Petr Machata <pmachata@redhat.com>
18927 * elf/elf.h (R_ARM_TARGET1): New macro.
18928 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18929 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18930 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18931 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18932 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18933 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18934 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18935 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18936 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18937 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18938 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18939 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18940 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18941 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18942 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18943 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18944 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18945 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18946 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18947 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18948 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18949 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18950 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18951 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18952 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18953 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18954 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18955 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18956 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18957 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18958 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18959 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18960 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18961 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18962 (R_ARM_THM_GOT_BREL12): Likewise.
18963 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18964 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18965 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18966 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18967 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18968 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18969 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18970 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18971 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18973 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18975 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18976 __attribute_used__ to __attribute__ ((unused)).
18978 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18980 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18983 comment formatting.
18984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18986 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18989 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18991 (ENTER): Remove both macro definitions.
18993 (CHECK_BOUNDS_LOW): Likewise.
18994 (CHECK_BOUNDS_HIGH): Likewise.
18995 (CHECK_BOUNDS_BOTH): Likewise.
18996 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18997 (RETURN_BOUNDED_POINTER): Likewise.
18998 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18999 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19000 (POP_ERRNO_LOCATION_RETURN): Likewise.
19001 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19002 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19003 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19005 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19006 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19007 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19008 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19009 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19010 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19011 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19012 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19013 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19014 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19015 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19016 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19017 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19018 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19020 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19021 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19023 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19024 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19025 * sysdeps/i386/i586/memset.S (memset): Likewise.
19026 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19027 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19028 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19030 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19031 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19032 Change uses of L(2) to L(out).
19033 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19034 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19035 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19036 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19037 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19039 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19040 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19042 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19043 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19044 (RETURN): Do not use macro LEAVE.
19045 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19046 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19047 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19048 * sysdeps/i386/i686/memset.S (memset): Likewise.
19049 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19050 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19051 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19052 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19054 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19055 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19056 L(1_2) and L(1_3) into L(1).
19057 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19058 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19059 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19060 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19061 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19062 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19063 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19064 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19065 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19067 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19068 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19069 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19070 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19071 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19072 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19073 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19074 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19075 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19076 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19077 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19078 * sysdeps/i386/strspn.S (strspn): Likewise.
19079 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19081 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19082 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19083 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19084 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19085 L(1_3) into L(1_1).
19086 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19087 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19088 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19090 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19092 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19094 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19097 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19099 * math/atest-exp.c (exp_mpn): Remove ROUND.
19100 * math/atest-exp2.c (exp_mpn): Likewise.
19101 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19103 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19104 * stdlib/tst-tls-atexit-lib.c: Likewise.
19105 * stdlib/tst-tls-atexit.c: Likewise.
19107 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19109 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19110 and __attribute_alloc_size__.
19112 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19114 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19115 __attribute_alloc_size__.
19116 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19117 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19119 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19121 * include/programs/xmalloc.h: New file.
19122 * catgets/gencat.c: Include it.
19123 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19124 * elf/pldd.c: Likewise.
19125 * iconv/iconv_charmap.c: Likewise.
19126 * iconv/iconvconfig.c: Likewise.
19127 * iconv/strtab.c: Likewise.
19128 * locale/programs/locale.c: Likewise.
19129 * locale/programs/localedef.h: Likewise.
19130 * locale/programs/simple-hash.c: Likewise.
19131 * nscd/nscd.h: Likewise.
19132 * nss/makedb.c: Likewise.
19133 * sysdeps/generic/ldconfig.h: Likewise.
19135 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19137 * Versions.def: Add GLIBC_2.18.
19138 * include/link.h (struct link_map): New member l_tls_dtor_count.
19139 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19140 (__call_tls_dtors): Likewise.
19141 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19142 __cxa_thread_atexit_impl.
19143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19159 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19160 (tests): Add test case tst-tls-atexit.
19161 (modules-names): Add shared library for tst-tls-atexit.
19162 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19163 (GLIBC_PRIVATE): Add __call_tls_dtors.
19164 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19166 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19167 * stdlib/tst-tls-atexit.c: New test case.
19168 * stdlib/tst-tls-atexit-lib.c: New test case.
19170 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19172 * elf/Versions (ld): Add _dl_find_dso_for_object.
19173 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19174 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19175 (dl_open_worker): Use _dl_find_dso_for_object.
19176 * elf/dl-sym.c (do_sym): Likewise.
19177 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19179 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19181 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19182 Syntactic changes only.
19183 (_dl_runtime_profile): Do a tail-call to the resolved function.
19185 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19188 * sysdeps/x86_64/bp-asm.h: Remove file.
19189 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19190 <bp-sym.h> and <bp-asm.h>.
19191 (__clone): Do not use BP_SYM.
19192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19193 <bp-sym.h> and <bp-asm.h>.
19194 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19195 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19197 (_setjmp): Do not use BP_SYM.
19198 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19200 (setjmp): Do not use BP_SYM.
19201 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19203 (mempcpy): Do not use BP_SYM in weak_alias.
19204 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19206 (strchr): Do not use BP_SYM.
19207 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19209 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19210 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19211 (_start): Do not use BP_SYM.
19212 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19214 (strcat): Do not use BP_SYM.
19215 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19217 (STRCMP): Do not use BP_SYM.
19218 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19220 (STRCPY): Do not use BP_SYM.
19221 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19223 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19225 (FUNCTION): Do not use BP_SYM.
19226 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19228 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19230 2013-02-17 Andreas Jaeger <aj@suse.de>
19232 * time/Versions: Sort entries.
19233 * string/Versions: Likewise.
19234 * resolv/Versions: Likewise.
19235 * posix/Versions: Likewise.
19236 * iconv/Versions: Likewise.
19237 * elf/Versions: Likewise.
19238 * wcsmbs/Versions: Likewise.
19240 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19242 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19243 loop termination condition.
19245 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19246 variable to calculate EZ.
19249 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19250 the lower precision input.
19252 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19255 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19256 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19257 (run-via-rtld-prefix): Do not handle %-bp tests.
19258 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19259 (all-object-suffixes): Remove .ob.
19260 (bppfx): Remove variable.
19261 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19262 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19263 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19264 [$(build-bounded) = yes] (libtype.ob): Likewise.
19265 * Makerules (elide-routines.ob): Remove variable.
19266 (do-tests-clean): Do not handle *-bp.out.
19267 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19268 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19269 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19270 (tests): Do not include $(tests-bp.out).
19271 (xtests): Do not include $(xtests-bp.out).
19272 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19273 [$(build-bounded) = yes] ($(addprefix
19274 $(objpfx),$(binaries-bounded))): Remove rule.
19275 ($(objpfx)%-bp.out): Remove rule.
19276 * config.make.in (build-bounded): Remove variable.
19277 * crypt/Makefile [$(build-bounded) = yes]
19278 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19279 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19280 append to variable.
19281 [$(build-bounded) = yes] (install-lib): Likewise.
19282 [$(build-bounded) = yes] (generated): Likewise.
19283 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19285 * intl/Makefile [$(build-bounded) = yes]
19286 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19287 * math/Makefile [$(build-bounded) = yes]
19288 ($(tests:%=$(objpfx)%-bp): Likewise.
19289 * misc/Makefile [$(build-bounded) = yes]
19290 ($(objpfx)tst-tsearch-bp): Likewise.
19291 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19292 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19294 * string/Makefile (o-objects.ob): Remove variable.
19295 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19296 (CFLAGS-.ob): Remove variable.
19297 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19298 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19299 both definitions of variable.
19300 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19301 (ASFLAGS-.ob): Remove variable.
19303 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19306 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19307 Remove __BOUNDED_POINTERS__ from condition.
19308 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19309 * string/bits/string2.h [!__NO_STRING_INLINES &&
19310 !__BOUNDED_POINTERS__]: Likewise.
19311 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19313 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19314 Remove conditional code.
19315 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19316 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19317 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19321 * csu/libc-start.c: Do not include <bp-sym.h>.
19322 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19323 * elf/dl-open.c: Do not include <bp-sym.h>.
19324 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19325 * math/fegetenv.c: Do not include <bp-sym.h>.
19326 (fegetenv): Do not use BP_SYM in versioned symbols.
19327 * nptl/sysdeps/pthread/bits/libc-lockP.h
19328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19331 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19333 (__pthread_mutex_destroy): Likewise.
19334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19335 (__pthread_mutex_lock): Likewise.
19336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19337 (__pthread_mutex_trylock): Likewise.
19338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19339 (__pthread_mutex_unlock): Likewise.
19340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19341 (__pthread_mutexattr_init): Likewise.
19342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19343 (__pthread_mutexattr_destroy): Likewise.
19344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19345 (__pthread_mutexattr_settype): Likewise.
19346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19347 (__pthread_rwlock_init): Likewise.
19348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19349 (__pthread_rwlock_destroy): Likewise.
19350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19351 (__pthread_rwlock_rdlock): Likewise.
19352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19353 (__pthread_rwlock_tryrdlock): Likewise.
19354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19355 (__pthread_rwlock_wrlock): Likewise.
19356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19357 (__pthread_rwlock_trywrlock): Likewise.
19358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19359 (__pthread_rwlock_unlock): Likewise.
19360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19361 (__pthread_key_create): Likewise.
19362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19363 (__pthread_setspecific): Likewise.
19364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19365 (__pthread_getspecific): Likewise.
19366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19369 (_pthread_cleanup_push_defer): Likewise.
19370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19371 (_pthread_cleanup_pop_restore): Likewise.
19372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19373 (pthread_setcancelstate): Likewise.
19374 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19376 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19377 (memchr): Do not use BP_SYM in weak_alias.
19378 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19379 (fegetenv): Do not use BP_SYM in versioned symbols.
19380 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19381 (fesetenv): Do not use BP_SYM in versioned symbols.
19382 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19383 (feupdateenv): Do not use BP_SYM in versioned symbols.
19384 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19385 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19386 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19387 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19388 (open64): Do not use BP_SYM in weak_alias.
19389 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19390 (fegetenv): Do not use BP_SYM in versioned symbols.
19391 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19392 (fesetenv): Do not use BP_SYM in versioned symbols.
19393 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19394 (feupdateenv): Do not use BP_SYM in versioned symbols.
19395 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19396 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19397 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19398 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19399 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19400 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19401 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19403 (__libc_start_main): Do not use BP_SYM.
19405 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19408 redundant return line.
19410 (denorm): Likewise.
19411 (dbl_mp): Likewise.
19412 (sub_magnitudes): Likewise.
19418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19420 (denorm): Likewise.
19421 (dbl_mp): Likewise.
19422 (sub_magnitudes): Likewise.
19429 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19431 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19432 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19435 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19436 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19437 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19438 of __mul for squares.
19439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19443 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19444 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19446 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19449 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19451 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19452 prototype or function definition. Rename ubp_* variables and
19453 parameters. Remove argv definitions conditional on
19454 [__BOUNDED_POINTERS__].
19455 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19456 * elf/dl-runtime.c (_dl_fixup): Likewise.
19457 * include/set-hooks.h (RUN_HOOK): Likewise.
19458 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19460 * string/strcpy.c (strcpy): Do not use __unbounded.
19461 * sysdeps/generic/frame.h (struct layout): Likewise.
19462 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19463 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19464 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19465 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19466 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19467 (__backtrace): Likewise.
19468 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19470 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19471 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19472 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19474 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19475 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19476 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19477 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19478 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19479 Do not use __unbounded.
19480 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19481 Rename __unboundedrlimits parameter to rlimits in prototype.
19482 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19483 Do not use __unbounded.
19484 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19485 not use __ptrvalue.
19486 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19487 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19488 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19489 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19490 __ptrvalue or __unbounded.
19491 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19492 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19494 (__new_msgctl): Do not use __ptrvalue.
19495 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19497 (__libc_msgrcv): Do not use __ptrvalue.
19498 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19499 startup_info): Do not use __unbounded.
19500 (__libc_start_main): Likewise. Rename ubp_* variables and
19501 parameters. Remove argv definitions conditional on
19502 [__BOUNDED_POINTERS__].
19503 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19505 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19507 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19509 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19511 (__new_shmctl): Do not use __ptrvalue.
19512 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19513 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19515 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19516 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19517 (__libc_sigaction): Likewise.
19518 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19519 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19521 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19523 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19525 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19527 * string/mempcpy.c: Implement by calling memcpy.
19529 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19531 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19533 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19536 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19537 values in the mantissa.
19539 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19540 minimize writes to Z.
19541 (sub_magnitudes): Simplify code a bit.
19543 2013-02-12 Roland McGrath <roland@hack.frob.com>
19545 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19546 from the message. The linker prefixes all warnings with that already.
19548 2013-02-12 Andreas Schwab <schwab@suse.de>
19551 * posix/regexec.c (extend_buffers): Add parameter min_len.
19552 (check_matching): Pass minimum needed length.
19553 (clean_state_log_if_needed): Likewise.
19554 (get_subexp): Likewise.
19555 * posix/Makefile (tests): Add bug-regex34.
19556 (bug-regex34-ENV): Define.
19557 * posix/bug-regex34.c: New file.
19560 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19561 elements compare against the byte sequence of it, not its name.
19562 * posix/Makefile (tests): Add bug-regex35.
19563 (bug-regex35-ENV): Define.
19564 * posix/bug-regex35.c: New file.
19566 2013-02-11 Tom de Vries <tom@codesourcery.com>
19568 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19570 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19571 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19572 (CHECK_EOL): Add undef.
19574 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19576 * bits/stdlib-bsearch.h: New file.
19577 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19578 * stdlib/stdlib.h: Likewise.
19580 2013-02-11 Roland McGrath <roland@hack.frob.com>
19582 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19583 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19585 * manual/search.texi (Array Search Function): Add missing const in
19587 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19588 declaration to use rlim_t.
19589 (Basic Scheduling Functions): Remove erroneous const from
19590 sched_getparam prototype. Remove erroneous * from
19591 sched_get_priority_max and sched_get_priority_min prototypes.
19592 (Resource Usage): Fix summary @comment on vtimes to refer to
19593 sys/vtimes.h rather than vtimes.h.
19594 Add missing *s in vtimes prototype.
19595 (Limits on Resources): Fix ulimit prototype to return long int.
19596 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19597 prototypes to use long int rather than double.
19598 (BSD Random): Fix initstate and setstate to use char *, not void *.
19599 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19600 prototype to make second argument 'struct aiocb64 *const[]'.
19601 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19602 (Status of AIO Operations): Remove erroneous const in aio_return and
19603 aio_return64 prototypes.
19604 (Synchronizing I/O): Fix sync prototype to return void.
19605 * manual/startup.texi (Suboptions): Remove an erroneous const in
19606 getsubopt prototype.
19607 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19608 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19609 use size_t rather than int.
19610 (Scanning All Users): Likewise for getpwent_r.
19611 (Setting Groups): Add missing const to setgroups prototype.
19612 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19613 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19614 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19615 'const void *' rather than 'const char *'.
19616 (Host Address Functions): Likewise for inet_ntop.
19617 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19618 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19619 ssize_t for return value.
19620 (Sending Data): Likewise for send, sendto, sendmsg.
19621 (Socket Option Functions): Add a missing const in setsockopt prototype.
19622 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19623 use wchar_t for the argument.
19624 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19625 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19627 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19628 double/float/long double for second argument.
19629 Fix return types of significand, significandf, significandl.
19630 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19631 argument in fchmod prototype.
19632 (File Owner): Use uid_t and gid_t in fchown prototype.
19633 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19634 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19635 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19636 use 'const struct dirent **' as argument types to CMP function pointer
19638 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19639 (File Times): Fix summary magic @comment for struct utimbuf and utime
19640 to refer to utime.h, not time.h.
19641 * manual/string.texi (Argz Functions): Add missing const in
19642 argz_extract and argz_next prototypes.
19643 (Finding Tokens in a String): Likewise for basename.
19644 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19645 (Copying and Concatenation): Fix typo in wmemmove prototype.
19646 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19647 (Signal Stack): Remove erroneous const in sigstack prototype.
19648 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19650 (Simple Calendar Time): Likewise for stime.
19651 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19653 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19654 say sys/sysctl.h instead.
19655 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19656 and vsyslog prototypes.
19658 2013-02-11 Tom de Vries <tom@codesourcery.com>
19660 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19663 2013-02-11 Roland McGrath <roland@hack.frob.com>
19665 * misc/sys/mman.h: Fix typo in mremap comment.
19667 2013-02-08 Roland McGrath <roland@hack.frob.com>
19669 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19670 the '\0' terminator.
19672 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19675 * debug/segfault.c: Don't include <bp-checks.h>.
19676 * sysdeps/generic/bp-checks.h: Remove file.
19677 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19678 (__GETDENTS): Don't use CHECK_N.
19679 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19680 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19681 (__getgroups): Don't use CHECK_N.
19682 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19683 (setgroups): Don't use CHECK_N.
19684 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19685 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19686 (__libc_msgrcv): Don't use CHECK_N.
19687 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19688 (__libc_msgsnd): Don't use CHECK_N.
19689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19691 (__libc_pread): Don't use CHECK_N.
19692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19693 include <bp-checks.h>.
19694 (__libc_pread64): Don't use CHECK_N.
19695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19696 include <bp-checks.h>.
19697 (__libc_pwrite): Don't use CHECK_N.
19698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19699 include <bp-checks.h>.
19700 (__libc_pwrite64): Don't use CHECK_N.
19701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19703 (__libc_pread): Don't use CHECK_N.
19704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19705 include <bp-checks.h>.
19706 (__libc_pread64): Don't use CHECK_N.
19707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19708 include <bp-checks.h>.
19709 (__libc_pwrite): Don't use CHECK_N.
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19711 include <bp-checks.h>.
19712 (__libc_pwrite64): Don't use CHECK_N.
19713 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19714 (do_pread): Don't use CHECK_N.
19715 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19716 (do_pread64): Don't use CHECK_N.
19717 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19718 (do_pwrite): Don't use CHECK_N.
19719 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19720 (do_pwrite64): Don't use CHECK_N.
19721 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19722 (__libc_readv): Don't use CHECK_N.
19723 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19724 (semop): Don't use CHECK_N.
19725 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19727 (semtimedop): Don't use CHECK_N.
19728 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19729 (__libc_pread): Don't use CHECK_N.
19730 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19732 (__libc_pread64): Don't use CHECK_N.
19733 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19735 (__libc_pwrite): Don't use CHECK_N.
19736 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19738 (__libc_pwrite64): Don't use CHECK_N.
19739 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19741 (__libc_msgrcv): Don't use CHECK_N.
19742 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19743 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19744 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19745 (__libc_writev): Don't use CHECK_N.
19747 2013-02-08 Roland McGrath <roland@hack.frob.com>
19749 * string/strcpy.c: Removed unused variable.
19751 * Makeconfig (+sysdep-includes): Define with := rather than =.
19752 Use an existing include/ subdir of each sysdeps dir before it.
19754 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19756 * nscd/connection.c (register_traced_file): Comment function.
19757 [HAVE_INOTIFY] (union __inev): Define.
19758 [HAVE_INOTIFY] (inotify_check_files): New function.
19759 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19760 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19762 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19764 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19766 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19767 loaded if not already and that a failure is permanent.
19769 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19772 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19773 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19775 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19778 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19779 (CHECK_1_NULL_OK): Likewise.
19780 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19781 (__fxstat): Do not use CHECK_1.
19782 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19784 (___fxstat64): Do not use CHECK_1.
19785 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19787 (__fxstatat): Do not use CHECK_1.
19788 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19790 (__fxstatat64): Do not use CHECK_1.
19791 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19793 (__fxstat): Do not use CHECK_1.
19794 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19796 (__fxstatat): Do not use CHECK_1.
19797 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19799 (__getresgid): Do not use CHECK_1.
19800 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19802 (__getresuid): Do not use CHECK_1.
19803 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19805 (__lxstat): Do not use CHECK_1.
19806 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19808 (__old_msgctl): Do not use CHECK_1.
19809 (__new_msgctl): Likewise.
19810 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19812 (__new_setrlimit): Do not use CHECK_1.
19813 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19815 (__old_shmctl): Do not use CHECK_1.
19816 (__new_shmctl): Likewise.
19817 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19819 (__xstat): Do not use CHECK_1.
19820 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19821 (__lxstat): Do not use CHECK_1.
19822 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19824 (___lxstat64): Do not use CHECK_1.
19825 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19826 (__old_msgctl): Do not use CHECK_1.
19827 (__new_msgctl): Likewise.
19828 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19830 (__gettimeofday): Do not use CHECK_1.
19831 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19832 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19833 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19835 (__gettimeofday): Do not use CHECK_1.
19836 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19837 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19838 (__new_shmctl): Do not use CHECK_1.
19839 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19841 (do_sigtimedwait): Do not use CHECK_1.
19842 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19844 (do_sigwaitinfo): Do not use CHECK_1.
19845 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19847 (msgctl): Do not use CHECK_1.
19848 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19850 (shmctl): Do not use CHECK_1.
19851 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19852 (ustat): Do not use CHECK_1.
19853 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19855 (__fxstat): Do not use CHECK_1.
19856 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19858 (__fxstatat): Do not use CHECK_1.
19859 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19861 (__lxstat): Do not use CHECK_1.
19862 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19864 (__xstat): Do not use CHECK_1.
19865 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19866 (__xstat): Do not use CHECK_1.
19867 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19868 (___xstat64): Do not use CHECK_1.
19871 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19873 (CHECK_BOUNDS_HIGH): Likewise.
19874 * string/strcpy.c: Do not include <bp-checks.h>.
19875 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19877 2013-02-07 Roland McGrath <roland@hack.frob.com>
19879 * nscd/nscd-client.h (__nscd_drop_map_ref):
19880 Add __attribute__ ((unused)).
19881 * nis/nss-nisplus.h (niserr2nss): Likewise.
19883 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19884 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19886 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19887 Remove inline keyword.
19888 * include/rounding-mode.h (round_away): Likewise.
19889 * libio/wfileops.c (adjust_wide_data): Likewise.
19890 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19891 (__m128i_strloadu_tolower): Likewise.
19892 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19893 (__m128i_strloadu_tolower): Likewise.
19894 * time/mktime.c (ydhms_diff): Likewise.
19895 * locale/elem-hash.h (elem_hash): Likewise.
19896 * locale/setlocale.c (setdata): Likewise.
19897 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19898 (re_string_wchar_at): Likewise.
19899 (bitset_not, bitset_merge, bitset_mask): Likewise.
19900 [!(__GNUC__ > 3)] (inline): Remove macro.
19901 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19902 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19903 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19904 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19905 * string/memcmp.c (memcmp_bytes): Likewise.
19906 * locale/programs/locarchive.c (compute_hashval): Likewise.
19907 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19908 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19909 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19910 * nss/getent.c (print_rpc, print_protocols): Likewise.
19911 (print_passwd, print_group, print_aliases): Likewise.
19912 * nis/nss-nisplus.h (niserr2nss): Likewise.
19913 * nscd/connections.c (restart_p): Likewise.
19914 Change return type to bool.
19916 2013-02-05 Roland McGrath <roland@hack.frob.com>
19918 * Makeconfig (all-Depend-files): Add existing
19919 $(sorted-subdirs:=/Depend) files.
19920 (all-subdirs): Remove nss.
19921 * sysdeps/unix/inet/Subdirs: Add it here instead.
19922 * hesiod/Depend: New file.
19924 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19925 instead of calling alloca.
19927 * io/lseek.c (__lseek): Rename to __libc_lseek.
19928 Define __lseek as an alias.
19930 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19932 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19934 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19935 else clause and remove check for non-standard endianness.
19937 2013-02-04 David S. Miller <davem@davemloft.net>
19939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19941 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19944 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19945 (__ubp_memchr): Remove prototype.
19946 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19947 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19948 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19949 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19950 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19952 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19953 (__ubp_memchr): Likewise.
19954 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19955 (__ubp_memchr): Likewise.
19956 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19957 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19958 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19959 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19961 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19962 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19963 (__getcwd): Do not use CHECK_STRING.
19964 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19966 (__real_chown): Do not use CHECK_STRING.
19967 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19969 (fchownat): Do not use CHECK_STRING.
19970 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19972 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19974 (__lchown): Do not use CHECK_STRING.
19975 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19976 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19977 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19978 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19980 include <bp-checks.h>.
19981 (truncate64): Do not use CHECK_STRING.
19982 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19984 (__real_chown): Do not use CHECK_STRING.
19985 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19987 (__lchown): Do not use CHECK_STRING.
19988 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19990 (__chown): Do not use CHECK_STRING.
19991 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19993 (truncate64): Do not use CHECK_STRING.
19994 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19996 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19997 (__xmknod): Do not use CHECK_STRING.
19998 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20000 (__xmknodat): Do not use CHECK_STRING.
20001 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20002 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20004 2013-02-04 Andreas Schwab <schwab@suse.de>
20007 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20008 * include/netdb.h: Likewise for h_errno.
20009 * elf/tst-stackguard1.c: Include <tls.h>.
20011 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20013 * elf/link.h (struct link_map): Extend the l_addr comment.
20014 * include/link.h (struct link_map): Likewise.
20016 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20019 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20020 (BOUNDED_1): Remove macro.
20021 * debug/backtrace.c: Don't include <bp-checks.h>.
20022 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20023 (__backtrace): Likewise.
20024 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20026 (__backtrace): Don't use BOUNDED_1.
20027 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20029 (__backtrace): Don't use BOUNDED_1.
20030 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20031 (__backtrace): Don't use BOUNDED_1.
20032 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20033 (shmat): Don't use BOUNDED_N.
20035 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20038 * sysdeps/generic/bp-start.h: Remove file.
20039 * csu/libc-start.c: Don't include <bp-start.h>.
20040 (LIBC_START_MAIN): Set up __environ directly instead of using
20041 INIT_ARGV_and_ENVIRON.
20042 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20046 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20048 (CHECK_FCNTL): Likewise.
20049 (CHECK_N_PAGES): Likewise.
20052 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20054 (CHECK_SIGSET_NULL_OK): Likewise.
20055 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20057 (sigpending): Don't use CHECK_SIGSET.
20058 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20060 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20061 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20063 (do_sigsuspend): Don't use CHECK_SIGSET.
20064 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20066 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20067 (do_sigwait): Don't use CHECK_SIGSET.
20068 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20070 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20071 include <bp-checks.h>.
20072 (sigpending): Don't use CHECK_SIGSET.
20073 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20074 include <bp-checks.h>.
20075 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20076 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20078 (sigpending): Don't use CHECK_SIGSET.
20079 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20081 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20084 * sysdeps/generic/bp-semctl.h: Remove file.
20085 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20086 <bp-checks.h> and <bp-semctl.h>.
20087 (__old_semctl): Don't use CHECK_SEMCTL.
20088 (__new_semctl): Likewise.
20089 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20091 (__old_semctl): Don't use CHECK_SEMCTL.
20092 (__new_semctl): Likewise.
20093 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20094 <bp-checks.h> and <bp-semctl.h>.
20095 (__old_semctl): Don't use CHECK_SEMCTL.
20096 (__new_semctl): Likewise.
20097 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20098 <bp-checks.h> and <bp-semctl.h>.
20099 (semctl): Don't use CHECK_SEMCTL.
20102 * Makerules (elide-bp-thunks): Remove variable.
20103 (elide-routines.oS): Don't use $(elide-bp-thunks).
20104 (elide-routines.os): Likewise.
20105 (elide-routines.o): Likewise.
20106 (elide-routines.op): Likewise.
20107 (elide-routines.og): Likewise.
20108 (objects): Don't use $(bp-thunks).
20109 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20111 (common-generated): Do not add s-proto-bp.d.
20112 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20115 Do not generate makefile rules for bounded-pointer thunks.
20116 * sysdeps/generic/bp-thunks.h: Remove file.
20117 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20118 * sysdeps/unix/s-proto-bp.S: Likewise.
20121 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20122 parts of result separately when argument is not close to line from
20123 -i to i and one part of argument is small.
20124 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20125 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20126 * math/libm-test.inc (cacos_test): Add more tests.
20127 (casin_test): Likewise.
20128 (casinh_test): Likewise.
20129 * sysdeps/i386/fpu/libm-test-ulps: Update.
20130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20132 2013-01-31 David S. Miller <davem@davemloft.net>
20134 * po/de.po: Update from translation team.
20136 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20138 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20140 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20142 * configure.in (_AC_PROG_CC_C89): New definition.
20143 * configure: Regenerate.
20145 * configure.in (AC_PROG_CPP): New definition.
20146 * configure: Regenerate.
20148 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20150 * debug/tst-backtrace.h: New file.
20151 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20152 (ret): Remove variable.
20154 (FAIL): Remove macro.
20155 (NO_INLINE): Likewise.
20156 (fn1): Use match function instead of strstr.
20157 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20158 (ret): Remove variable.
20160 (FAIL): Remove macro.
20161 (NO_INLINE): Likewise.
20162 (fn): Use match function instead of strstr.
20163 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20164 (ret): Remove variable.
20166 (FAIL): Remove macro.
20167 (NO_INLINE): Likewise.
20168 (handle_signal): Use match function instead of strstr.
20169 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20170 (ret): Remove variable.
20172 (FAIL): Remove macro.
20173 (NO_INLINE): Likewise.
20174 (handle_signal): Use match function instead of strstr.
20176 2013-01-23 Roland McGrath <roland@hack.frob.com>
20178 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20180 2013-01-23 David S. Miller <davem@davemloft.net>
20182 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20183 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20184 argument of CAS if possible.
20185 * sysdeps/sparc/sparc64/bits/atomic.h
20186 (__arch_compare_and_exchange_val_32_acq): Likewise.
20187 (__arch_compare_and_exchange_val_64_acq): Likewise.
20189 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20191 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20192 * sysdeps/posix/ulimit.c: ... this.
20193 Include <limits.h>.
20194 * sysdeps/unix/bsd/ulimit.c: Remove file.
20196 2013-01-23 Adam Conrad <adconrad@0c3.net>
20198 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20199 (LDFLAGS-tst-array5): Likewise.
20201 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20204 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20205 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20206 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20207 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20209 2013-01-21 David S. Miller <davem@davemloft.net>
20211 * sysdeps/sparc/backtrace.c: New file.
20212 * sysdeps/sparc/sparc32/backtrace.h: New file.
20213 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20214 * sysdeps/sparc/sparc64/backtrace.h: New file.
20215 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20216 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20219 2013-01-21 Andreas Schwab <schwab@suse.de>
20222 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20225 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20231 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20232 Mark Mitchell <mark@codesourcery.com>
20233 Tom de Vries <tom@codesourcery.com>
20234 Paul Pluzhnikov <ppluzhnikov@google.com>
20236 * debug/tst-backtrace2.c: New file.
20237 * debug/tst-backtrace3.c: Likewise.
20238 * debug/tst-backtrace4.c: Likewise.
20239 * debug/tst-backtrace5.c: Likewise.
20240 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20241 (CFLAGS-tst-backtrace3.c): Likewise.
20242 (CFLAGS-tst-backtrace4.c): Likewise.
20243 (CFLAGS-tst-backtrace5.c): Likewise.
20244 (LDFLAGS-tst-backtrace2): Likewise.
20245 (LDFLAGS-tst-backtrace3): Likewise.
20246 (LDFLAGS-tst-backtrace4): Likewise.
20247 (LDFLAGS-tst-backtrace5): Likewise.
20248 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20249 tst-backtrace4 and tst-backtrace5.
20251 2013-01-18 Anton Blanchard <anton@samba.org>
20252 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20254 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20255 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20256 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20257 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20259 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20260 "+r" and remove output regs list as redundant. Add explicit inline
20261 asm to specify register of return val to work around compiler codegen
20262 bug. Remove (int) cast on return value. Add return type parameter to
20263 use in macro so that this macro does not truncate return value for
20265 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20266 pass to INTERNAL_VSYSCALL_NCS.
20267 (INLINE_VSYSCALL): Add 'long int' as return type to
20268 INTERNAL_VSYSCALL_NCS macro invocation.
20269 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20270 INTERNAL_VSYSCALL_NCS macro invocation.
20271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20273 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20276 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20277 Fix application of SIMD FP exception mask.
20279 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20280 mp_no from a power of two.
20281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20282 __mpexp_twomm1. Use __pow_mp.
20284 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20287 2013-01-17 David S. Miller <davem@davemloft.net>
20289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20291 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20294 * include/complex.h: Condition contents on [!_COMPLEX_H].
20295 (__kernel_casinhf): New prototype.
20296 (__kernel_casinh): Likewise.
20297 (__kernel_casinhl): Likewise.
20298 * math/Makefile (libm_calls): Add k_casinh.
20299 * math/k_casinh.c: New file.
20300 * math/k_casinhf.c: Likewise.
20301 * math/k_casinhl.c: Likewise.
20302 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20303 finite nonzero arguments.
20304 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20305 finite nonzero arguments.
20306 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20307 finite nonzero arguments.
20308 * math/s_casinh.c: Do not include <float.h>.
20309 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20310 * math/s_casinhf.c: Do not include <float.h>.
20311 (__casinhf): Move code for finite nonzero arguments to
20313 * math/s_casinhl.c: Do not include <float.h>.
20314 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20316 (__casinhl): Move code for finite nonzero arguments to
20318 * math/libm-test.inc (cacos_test): Add more tests.
20319 * sysdeps/i386/fpu/libm-test-ulps: Update.
20320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20322 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20324 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20325 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20326 [!HAVE_MREMAP]: Remove [defined linux] case.
20327 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20329 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20331 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20333 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20335 * elf/elf.h (R_386_SIZE32): New relocation.
20336 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20338 (elf_machine_rela): Likewise.
20339 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20340 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20342 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20344 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20345 (FP_FAST_FMA): Do not define.
20346 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20347 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20348 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20349 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20350 !_SOFT_FLOAT]: Likewise.
20351 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20352 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20354 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20355 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20356 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20357 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20358 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20359 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20362 2013-01-16 Andreas Schwab <schwab@suse.de>
20365 * include/stdlib.h (__mktemp): Add declaration.
20366 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20367 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20369 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20371 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20373 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20374 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20375 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20377 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20378 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20380 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20382 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20383 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20384 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20386 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20387 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20389 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20391 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20393 2013-01-15 David S. Miller <davem@davemloft.net>
20395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20396 trunc{,f} to libm-sysdep_routes.
20397 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20407 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20408 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20409 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20410 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20411 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20412 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20415 nearbyint{,f} to libm-sysdep_routes.
20416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20427 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20429 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20430 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20432 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20433 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20434 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20436 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20437 libc_feholdexcept and libc_fesetenv.
20439 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20441 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20443 2013-01-14 David S. Miller <davem@davemloft.net>
20445 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20446 (SPARC_ASM_VIS2_IFUNC): Likewise.
20447 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20449 use of 'siam' instruction.
20450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20483 routines to libm-sysdep_routines.
20484 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20487 fdim/fdimf to libm-sysdep_routines.
20488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20496 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20497 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20498 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20499 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20501 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20503 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20504 to optimize copies.
20506 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20511 local variable MPTWO.
20512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20515 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20517 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20520 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20522 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20524 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20526 * manual/pattern.texi (glob_t): Document gl_flags.
20527 (glob64_t): Likewise.
20529 2013-01-11 David S. Miller <davem@davemloft.net>
20531 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20532 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20533 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20534 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20535 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20536 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20537 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20538 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20539 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20540 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20541 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20542 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20543 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20545 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20546 sparc V9 rather than using V8 code.
20547 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20548 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20550 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20552 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20555 2013-01-11 Roland McGrath <roland@hack.frob.com>
20557 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20558 not in the main loop.
20559 * configure: Regenerated.
20561 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20563 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20564 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20566 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20567 [!__GLIBC_HAVE_LONG_LONG] case.
20568 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20569 condition to just #else.
20570 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20571 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20572 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20573 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20575 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20576 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20577 #elif condition to just #else.
20578 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20579 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20580 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20581 #elif condition to just #else.
20583 2013-01-11 Steve Ellcey <sellcey@mips.com>
20585 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20586 (EF_MIPS_ARCH_64): Fix value.
20587 (EF_MIPS_ARCH_32R2): New.
20588 (EF_MIPS_ARCH_64R2): New.
20590 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20592 * Makeconfig (+link-pie-before-libc): New.
20593 (+link-pie-after-libc): Likewise.
20594 (+link-pie-tests): Likewise.
20595 (+link-pie): Rewritten.
20596 (link-before-libc): Remove $(config-LDFLAGS).
20597 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20598 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20599 (config-LDFLAGS): Renamed to ...
20600 (rtld-LDFLAGS): This.
20601 (rtld-tests-LDFLAGS): New macro.
20602 (link-libc-rpath-link): Likewise.
20603 (link-libc-tests-rpath-link): Likewise.
20604 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20605 (link-libc): Prepand $(link-libc-rpath-link).
20606 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20607 (test-program-prefix): New macro.
20608 (test-via-rtld-prefix): Likewise.
20609 (test-program-cmd): Likewise.
20610 (host-test-program-cmd): Likewise.
20611 * Makefile ($(common-objpfx)testrun.sh): Replace
20612 $(run-program-prefix) with $(test-program-prefix).
20613 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20615 ($(common-objpfx)shlib.lds): Likewise.
20616 (build-module-helper): Likewise.
20617 ($(common-objpfx)format.lds): Likewise.
20618 * Rules (binaries-pie-tests): New.
20619 (binaries-pie-notests): Likewise.
20620 (binaries-pie): Rewritten.
20621 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20622 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20623 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20624 (make-test-out): Replace $(host-built-program-cmd) with
20625 $(host-test-program-cmd).
20626 * config.make.in (build-hardcoded-path-in-tests): New variable.
20627 * configure.in (--enable-hardcoded-path-in-tests): New configure
20629 (hardcoded_path_in_tests): New AC_SUBST.
20630 * configure: Regenerated.
20631 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20632 $(built-program-cmd) with $(test-program-cmd).
20633 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20634 (test_program_cmd): This.
20635 * elf/Makefile ($(objpfx)order.out): Run test with
20636 $(test-program-prefix).
20637 ($(objpfx)order2.out): Likewise.
20638 ($(objpfx)tst-initorder.out): Likewise.
20639 ($(objpfx)tst-initorder2.out): Likewise.
20640 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20641 $(test-program-cmd).
20642 ($(objpfx)tst-array1-static.out): Likewise.
20643 ($(objpfx)tst-array2.out): Likewise.
20644 ($(objpfx)tst-array3.out): Likewise.
20645 ($(objpfx)tst-array4.out): Likewise.
20646 ($(objpfx)tst-array5.out): Likewise.
20647 ($(objpfx)tst-array5-static.out): Likewise.
20648 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20649 $(test-program-cmd).
20650 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20651 $(run-program-prefix) with $(test-program-prefix).
20652 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20653 (test_program_prefix): This.
20654 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20655 $(run-program-prefix) with $(test-program-prefix).
20656 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20657 (test_program_prefix): This.
20658 * iconvdata/tst-tables.sh: Likewise.
20659 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20660 $(run-program-prefix) with $(test-program-prefix).
20661 ($(objpfx)tst-translit.out): Likewise.
20662 ($(objpfx)tst-gettext2.out): Likewise.
20663 ($(objpfx)tst-gettext4.out): Likewise.
20664 ($(objpfx)tst-gettext6.out): Likewise.
20665 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20666 (test_program_prefix): This.
20667 * intl/tst-gettext2.sh: Likewise.
20668 * intl/tst-gettext4.sh Likewise.
20669 * intl/tst-gettext6.sh: Likewise.
20670 * intl/tst-translit.sh: Likewise.
20671 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20672 with $(test-program-cmd).
20673 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20674 $(run-program-prefix) with $(test-program-prefix).
20675 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20676 (test_program_prefix): This.
20677 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20678 $(run-program-prefix) with $(test-program-prefix).
20679 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20680 (test_program_prefix): This.
20681 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20682 * posix/Makefile ($(objpfx)globtest.out): Replace
20683 $(run-via-rtld-prefix) and $(test-wrapper) with
20684 $(test-program-prefix) and $(test-via-rtld-prefix).
20685 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20686 $(test-program-prefix).
20687 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20688 $(host-test-program-cmd).
20689 (tst-spawn-ARGS): Likewise.
20690 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20691 $(test-program-prefix).
20692 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20693 (test_via_rtld_prefix): This.
20694 (test_wrapper): Renamed to ...
20695 (test_program_prefix): This.
20696 (run_program_prefix): Replaced by test_program_prefix.
20697 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20698 (test_program_prefix): This.
20699 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20700 with $(host-test-program-cmd).
20701 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20702 $(run-program-prefix) with $(test-program-prefix).
20703 ($(objpfx)tst-printf.out): Likewise.
20704 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20705 $(test-program-cmd).
20706 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20707 (test_program_prefix): This.
20708 * stdio-common/tst-unbputc.sh: Likewise.
20709 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20710 $(run-program-prefix) with $(test-program-prefix).
20711 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20712 (test_program_prefix): This.
20713 * string/Makefile ($(objpfx)tst-svc.out): Replace
20714 $(built-program-cmd) with $(test-program-cmd).
20716 2013-01-11 Andreas Jaeger <aj@suse.de>
20719 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20720 value. Sync with Linux 3.7.
20722 2013-01-10 David S. Miller <davem@davemloft.net>
20724 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20725 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20726 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20728 2013-01-10 Roland McGrath <roland@hack.frob.com>
20730 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20732 * configure: Regenerated.
20734 2013-01-10 David S. Miller <davem@davemloft.net>
20736 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20737 sparc V9 rather than using V8 code.
20738 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20739 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20741 2013-01-10 Roland McGrath <roland@hack.frob.com>
20743 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20744 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20745 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20746 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20747 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20748 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20749 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20750 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20751 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20752 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20753 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20754 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20755 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20756 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20757 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20758 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20759 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20760 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20761 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20762 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20763 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20764 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20765 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20766 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20767 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20768 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20769 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20771 2013-01-10 David S. Miller <davem@davemloft.net>
20773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20775 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20777 * posix/Makefile (tests-static): New variable.
20778 (tests): Add $(tests-static).
20779 (tst-exec-static-ARGS): New variable.
20780 (tst-spawn-static-ARGS): Likewise.
20781 * posix/tst-exec-static.c: New file.
20782 * posix/tst-spawn-static.c: Likewise.
20783 * posix/tst-exec.c: Support run directly.
20784 * posix/tst-spawn.c: Likewise.
20786 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20788 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20790 * math/bits/mathcalls.h (llrint): Likewise.
20791 (llround): Likewise.
20792 * stdlib/stdlib.h (struct drand48_data): Likewise.
20793 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20794 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20795 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20797 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20799 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20800 (elf_greg_t): Likewise.
20801 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20802 (__jmp_buf): Likewise.
20803 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20805 (llrint): Likewise, for all definitions.
20806 (llrintl): Likewise.
20808 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20809 Remove [__GNUC__] condition.
20810 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20811 condition to just [__USE_ISOC99].
20812 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20814 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20817 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20818 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20820 (_POSIX_V6_ILP32_OFF32): Likewise.
20821 (_XBS5_ILP32_OFF32): Likewise.
20822 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20823 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20825 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20827 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20829 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20830 doubles __mpexp_twomm1. Adjust usage.
20831 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20834 2013-01-10 Andreas Schwab <schwab@suse.de>
20837 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20838 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20840 2013-01-09 David S. Miller <davem@davemloft.net>
20843 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20844 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20845 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20846 (TCP_FASTOPEN): Define.
20847 (tcp_repair_opt): New structure.
20848 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20850 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20851 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20852 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20853 (tcp_cookie_transactions): New structure.
20855 2013-01-09 Anton Blanchard <anton@samba.org>
20857 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20858 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20859 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20860 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20862 2013-01-09 Joseph Myers <joseph@codesourcery.com>
20864 * include/features.h (__USE_ANSI): Remove.
20866 2013-01-09 Roland McGrath <roland@hack.frob.com>
20868 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20870 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20872 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20874 * sysdeps/s390/fpu/libm-test-ulps: Update.
20876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20878 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20882 (denorm): Likewise.
20883 (__mp_dbl): Likewise.
20884 (__dbl_mp): Likewise.
20885 (add_magnitudes): Likewise.
20886 (sub_magnitudes): Likewise.
20892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20896 (denorm): Likewise.
20897 (__mp_dbl): Likewise.
20898 (__dbl_mp): Likewise.
20899 (add_magnitudes): Likewise.
20900 (sub_magnitudes): Likewise.
20906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20910 (denorm): Likewise.
20911 (__mp_dbl): Likewise.
20912 (__dbl_mp): Likewise.
20913 (add_magnitudes): Likewise.
20914 (sub_magnitudes): Likewise.
20921 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20923 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20924 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20925 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20926 2 && __USE_EXTERN_INLINES]: Likewise.
20928 2013-01-08 Andreas Jaeger <aj@suse.de>
20931 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20933 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20934 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20936 2013-01-07 Anton Blanchard <anton@samba.org>
20938 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20939 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20940 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20941 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20942 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20943 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20944 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20945 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20947 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20948 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20949 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20950 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20951 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20952 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20953 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20954 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20955 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20956 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20957 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20958 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20959 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20960 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20961 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20962 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20963 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20964 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20965 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20966 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20967 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20968 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20970 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20971 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20972 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20973 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20974 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20975 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20976 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20977 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20978 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20979 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20980 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20982 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20984 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20985 (__MALLOC_PMT): Likewise.
20986 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20987 [__GNUC__], only on [_LIBC].
20988 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20989 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20990 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20991 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20992 forward declaration.
20993 (realloc_hook_ini): Likewise.
20994 (memalign_hook_ini): Likewise.
20995 (__libc_memalign): Do not use __MALLOC_PMT in variable
20997 (__libc_valloc): Likewise.
20998 (__libc_pvalloc): Likewise.
20999 (__libc_calloc): Likewise.
21000 (__posix_memalign): Likewise.
21003 * math/s_casinh.c: Include <float.h>.
21004 (__casinh): Do not do computation with squaring and square root
21005 for large arguments.
21006 * math/s_casinhf.c: Include <float.h>.
21007 (__casinhf): Do not do computation with squaring and square root
21008 for large arguments.
21009 * math/s_casinhl.c: Include <float.h>.
21010 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21011 (__casinhl): Do not do computation with squaring and square root
21012 for large arguments.
21013 * math/libm-test.inc (casin_test): Add more tests.
21014 (casinh_test): Likewise.
21015 * sysdeps/i386/fpu/libm-test-ulps: Update.
21016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21018 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21020 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21021 (__x86_64_raw_data_cache_size): Likewise.
21022 (__x86_64_data_cache_size_half): Likewise.
21023 (__x86_64_raw_data_cache_size_half): Likewise.
21024 (__x86_64_shared_cache_size): Likewise.
21025 (__x86_64_raw_shared_cache_size): Likewise.
21026 (__x86_64_shared_cache_size_half): Likewise.
21027 (__x86_64_raw_shared_cache_size_half): Likewise.
21028 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21030 (__x86_data_cache_size): This.
21031 (__x86_64_raw_data_cache_size): Renamed to ...
21032 (__x86_raw_data_cache_size): This.
21033 (__x86_64_data_cache_size_half): Renamed to ...
21034 (__x86_data_cache_size_half): This.
21035 (__x86_64_raw_data_cache_size_half): Renamed to ...
21036 (__x86_raw_data_cache_size_half): This.
21037 (__x86_64_shared_cache_size): Renamed to ...
21038 (__x86_shared_cache_size): This.
21039 (__x86_64_raw_shared_cache_size): Renamed to ...
21040 (__x86_raw_shared_cache_size): This.
21041 (__x86_64_shared_cache_size_half): Renamed to ...
21042 (__x86_shared_cache_size_half): This.
21043 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21044 (__x86_raw_shared_cache_size_half): This.
21045 * sysdeps/x86_64/memcpy.S: Updated.
21046 * sysdeps/x86_64/memset.S: Likewise.
21047 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21048 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21049 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21051 2013-01-04 David S. Miller <davem@davemloft.net>
21053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21055 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21057 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21058 1 to avoid redefinition warning.
21059 (__USE_GNU): Don't define.
21060 (init_signaling_nan): Protoize.
21062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21064 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21066 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21068 (__cpymn): Likewise.
21069 (norm): Remove commented code.
21070 (denorm): Likewise.
21071 (__mp_dbl): Likewise.
21073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21074 (__cpymn): Likewise.
21075 (norm): Remove commented code.
21076 (denorm): Likewise.
21077 (__mp_dbl): Likewise.
21080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21081 mp_no value for 1.0 and 2.0.
21082 (norm): Use RADIXI instead of radixi.d.
21083 (denorm): Likewise.
21084 (__mul): Use 0.0 instead of zero.d.
21085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21086 mp_no value for 1.0 and 2.0.
21087 (norm): Use RADIXI instead of radixi.d.
21088 (denorm): Likewise.
21089 (__mul): Use 0.0 instead of zero.d.
21091 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21094 * math/s_casinh.c (__casinh): Reduce finite argument to first
21095 quadrant then set signs of results at the end.
21096 * math/s_casinhf.c (__casinhf): Likewise.
21097 * math/s_casinhl.c (__casinhl): Likewise.
21098 * math/libm-test.inc (casin_test): Add more tests.
21099 (casinh_test): Likewise.
21100 * sysdeps/i386/fpu/libm-test-ulps: Update.
21101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21103 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21105 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21107 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21109 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21111 (denorm): Likewise.
21112 (__mp_dbl): Likewise.
21115 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21116 and adjust the header comment.
21118 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21119 variable name from declaration.
21121 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21124 Initialize COMMON_CPUID_INDEX_7 element.
21125 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21126 (CPUID_RTM): Likewise.
21127 (HAS_RTM): Likewise.
21128 (COMMON_CPUID_INDEX_7): New enum.
21130 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21133 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21134 size is zero, record memory as freed.
21136 2013-01-03 Andreas Jaeger <aj@suse.de>
21138 * po/ia.po: Add new Interlingua translation.
21140 2012-01-03 Allan McRae <allan@archlinux.org>
21142 * locale/programs/localedef.c: Fix description of '--posix' flag.
21144 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21146 * NEWS: Update dates in second copyright notice.
21147 * README: Update copyright dates in example.
21148 * manual/libc.texinfo: Update copyright dates.
21149 * scripts/test-installation.pl: Update copyright date in --version
21152 * hurd/ctty-input.c: Fix copyright notice formatting.
21153 * hurd/ctty-output.c: Likewise.
21154 * hurd/dtable.c: Likewise.
21155 * hurd/hurd-raise.c: Likewise.
21156 * hurd/hurdprio.c: Likewise.
21157 * hurd/msgportdemux.c: Likewise.
21158 * misc/sys/file.h: Likewise.
21159 * misc/sys/ioctl.h: Likewise.
21160 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21161 * sysdeps/mach/hurd/chdir.c: Likewise.
21162 * sysdeps/mach/hurd/fchdir.c: Likewise.
21163 * sysdeps/mach/hurd/rename.c: Likewise.
21164 * sysdeps/mach/hurd/rmdir.c: Likewise.
21165 * sysdeps/mach/hurd/seekdir.c: Likewise.
21166 * sysdeps/mach/hurd/setsid.c: Likewise.
21167 * sysdeps/posix/wait3.c: Likewise.
21169 * All files with FSF copyright notices: Update copyright dates
21170 using scripts/update-copyrights.
21171 * intl/plural.c: Regenerated.
21172 * locale/programs/charmap-kw.h: Likewise.
21173 * locale/programs/locfile-kw.h: Likewise.
21175 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21177 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21180 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21181 calculation loop and add branch prediction.
21183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21184 check access beyond bounds of m1np.
21186 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21188 (__inv): Remove local variable MPTWO to use the global
21190 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21191 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21193 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21194 MP3HALFS static const.
21196 2013-01-01 David S. Miller <davem@davemloft.net>
21198 * po/ca.po: Update from translation team.
21200 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21202 * scripts/update-copyrights: New file.
21203 * Makeconfig: Reformat copyright notice.
21204 * ctype/ctype.h: Likewise.
21205 * debug/swprintf_chk.c: Likewise.
21206 * elf/dl-cache.c: Likewise.
21207 * elf/dl-debug.c: Likewise.
21208 * elf/dl-object.c: Likewise.
21209 * grp/initgroups.c: Likewise.
21210 * hurd/Makefile: Likewise.
21211 * hurd/hurd/signal.h: Likewise.
21212 * hurd/hurdfault.c: Likewise.
21213 * hurd/hurdioctl.c: Likewise.
21214 * hurd/hurdlookup.c: Likewise.
21215 * hurd/intr-msg.c: Likewise.
21216 * iconv/gconv_open.c: Likewise.
21217 * libio/swprintf.c: Likewise.
21218 * locale/lc-ctype.c: Likewise.
21219 * locale/nl_langinfo.c: Likewise.
21220 * mach/Machrules: Likewise.
21221 * mach/Makefile: Likewise.
21222 * malloc/obstack.h: Likewise.
21223 * manual/Makefile: Likewise.
21224 * manual/tsort.awk: Likewise.
21225 * misc/bits/stab.def: Likewise.
21226 * nis/nis_print_group_entry.c: Likewise.
21227 * nis/nis_table.c: Likewise.
21228 * nis/nss_compat/compat-pwd.c: Likewise.
21229 * nis/nss_compat/compat-spwd.c: Likewise.
21230 * po/Makefile: Likewise.
21231 * posix/fnmatch.c: Likewise.
21232 * posix/regex.h: Likewise.
21233 * resolv/Makefile: Likewise.
21234 * resolv/nss_dns/dns-network.c: Likewise.
21235 * resolv/res_hconf.c: Likewise.
21236 * scripts/gen-sorted.awk: Likewise.
21237 * soft-fp/soft-fp.h: Likewise.
21238 * stdio-common/printf.h: Likewise.
21239 * stdlib/monetary.h: Likewise.
21240 * stdlib/random.c: Likewise.
21241 * stdlib/random_r.c: Likewise.
21242 * sysdeps/generic/Makefile: Likewise.
21243 * sysdeps/gnu/Makefile: Likewise.
21244 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21245 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21246 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21247 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21248 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21251 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21252 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21253 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21254 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21255 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21256 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21257 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21258 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21259 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21260 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21262 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21263 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21264 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21265 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21266 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21267 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21268 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21269 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21270 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21271 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21272 * sysdeps/mach/hurd/errnos.awk: Likewise.
21273 * sysdeps/mach/hurd/fork.c: Likewise.
21274 * sysdeps/mach/hurd/getcwd.c: Likewise.
21275 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21276 * sysdeps/mach/hurd/mmap.c: Likewise.
21277 * sysdeps/mach/hurd/utimes.c: Likewise.
21278 * sysdeps/mach/hurd/xmknod.c: Likewise.
21279 * sysdeps/posix/profil.c: Likewise.
21280 * sysdeps/posix/readdir_r.c: Likewise.
21281 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21282 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21283 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21284 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21286 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21287 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21288 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21289 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21290 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21291 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21292 * sysdeps/pthread/lio_listio.c: Likewise.
21293 * sysdeps/sparc/dl-procinfo.h: Likewise.
21294 * sysdeps/unix/i386/sysdep.S: Likewise.
21295 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21296 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21297 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21298 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21300 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21301 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21302 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21303 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21304 * sysdeps/wordsize-32/divdi3.c: Likewise.
21305 * time/sys/time.h: Likewise.
21306 * wcsmbs/Makefile: Likewise.
21308 2013-01-01 David S. Miller <davem@davemloft.net>
21310 * po/fr.po: Update from translation team.
21312 * catgets/gencat.c: Update copyright year.
21313 * csu/version.c: Likewise.
21314 * debug/catchsegv.sh: Likewise.
21315 * debug/pcprofiledump.c: Likewise.
21316 * debug/xtrace.sh: Likewise.
21317 * elf/ldconfig.c: Likewise.
21318 * elf/ldd.bash.in: Likewise.
21319 * elf/pldd.c: Likewise.
21320 * elf/sotruss.ksh: Likewise.
21321 * elf/sprof.c: Likewise.
21322 * iconv/iconv_prog.c: Likewise.
21323 * iconv/iconvconfig.c: Likewise.
21324 * locale/programs/locale.c: Likewise.
21325 * locale/programs/localedef.c: Likewise.
21326 * login/programs/pt_chown.c: Likewise.
21327 * malloc/memusage.sh: Likewise.
21328 * malloc/memusagestat.c: Likewise.
21329 * malloc/mtrace.pl: Likewise.
21330 * nscd/nscd.c: Likewise.
21331 * nss/getent.c: Likewise.
21332 * nss/makedb.c: Likewise.
21333 * posix/getconf.c: Likewise.
21335 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21337 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21340 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21342 * math/bits/mathcalls.h (modf): Use __nonnull.
21344 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21346 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21347 (split): Use macro CN instead of the bare value.
21348 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21351 instead of the bare value.
21352 (power1): Likewise.
21354 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21356 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21358 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21360 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21362 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21363 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21364 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21365 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21367 2012-12-28 Andreas Jaeger <aj@suse.de>
21369 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21370 values are from Linux 3.7.
21372 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21373 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21375 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21377 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21380 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21382 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21383 variables with preprocessor constants.
21384 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21385 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21386 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21388 2012-12-27 Bruno Haible <bruno@clisp.org>
21391 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21394 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21396 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21397 and use variable directly.
21398 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21400 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21402 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21403 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21405 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21406 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21407 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21408 include directive. Remove local variable MPONE.
21409 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21410 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21411 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21413 2012-12-25 David S. Miller <davem@davemloft.net>
21415 * version.h (RELEASE): Set to "development".
21416 (VERSION): Set to "2.17.90".
21417 * NEWS: Add 2.18 section.
21419 2012-12-21 David S. Miller <davem@davemloft.net>
21421 * po/hr.po: Update from translation team.
21423 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21425 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21427 2012-12-19 Steve Ellcey <sellcey@mips.com>
21429 * NEWS: Mention new memcpy for MIPS.
21431 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21433 * manual/contrib.texi (Contributors): Spelling correction.
21435 2012-12-15 David S. Miller <davem@davemloft.net>
21437 * po/ru.po: Update from translation team.
21439 2012-12-13 David S. Miller <davem@davemloft.net>
21441 * NEWS: Mention IFUNC testsuite enhancements.
21443 * po/pl.po: Update from translation team.
21444 * po/bg.po: Likewise.
21446 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21447 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21449 2012-12-11 David S. Miller <davem@davemloft.net>
21451 * po/sv.po: Update from translation team.
21453 * po/vi.po: Update from translation team.
21455 * po/cs.po: Update from translation team.
21457 * po/de.po: Update from translation team.
21458 * po/eo.po: Likewise.
21459 * po/nl.po: Likewise.
21461 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21464 * manual/argp.texi (Argp Helper Functions): Move node to follow
21465 Argp Parsing State.
21468 * manual/conf.texi (Limits on File System Capacity): Mention if
21469 terminating null is included in the max size.
21471 2012-12-10 Andreas Jaeger <aj@suse.de>
21473 * po/cs.po: Update from translation team.
21475 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21477 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21478 void pointer and cast to uintptr_t.
21479 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21481 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21482 * sysdeps/s390/s390-64/memset.S: Likewise.
21484 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21487 * menual/message.texi (Message Translation): Fix typos.
21488 (Helper programs for gettext): Likewise.
21490 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21493 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21496 2012-12-07 David S. Miller <davem@davemloft.net>
21498 * po/libc.pot: Update.
21500 2012-12-07 Richard Henderson <rth@redhat.com>
21503 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21504 normal/normal case to before the switch.
21505 (_FP_DIV): Likewise.
21507 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21508 Mike Frysinger <vapier@gentoo.org>
21510 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21511 check for __NR_fadvise64_64.
21513 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21515 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21516 0, not just to plain "0" as a statement.
21517 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21520 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21522 * NEWS: Use sourceware.org in Bugzilla URL.
21524 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21527 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21529 * stdio-common/tst-put-error.c (do_test): Add newline to the
21530 padded test to ensure flush.
21532 2012-12-05 Jeff Law <law@redhat.com>
21534 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21536 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21538 * README: Don't refer to ports add-on as distributed separately.
21539 Mention AArch64 in list of systems supported in the ports add-on.
21541 * LICENSES: Add more non-FSF copyright and license notices.
21543 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21546 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21548 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21549 10000 as width of padded output.
21551 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21553 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21555 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21556 variable LX with __attribute__ ((unused)).
21557 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21559 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21560 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21561 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21562 with __attribute__ ((unused)).
21564 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21566 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21568 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21570 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21571 (CFLAGS-nldbl-acos.c): New variable.
21572 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21573 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21574 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21575 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21576 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21577 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21578 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21579 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21580 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21581 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21582 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21583 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21584 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21585 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21586 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21587 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21588 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21589 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21590 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21591 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21592 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21593 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21594 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21595 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21596 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21597 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21598 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21599 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21600 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21601 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21602 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21603 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21604 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21605 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21606 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21607 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21608 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21609 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21610 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21611 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21612 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21613 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21614 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21615 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21616 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21617 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21618 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21619 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21620 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21621 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21622 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21623 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21624 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21625 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21626 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21627 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21628 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21629 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21630 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21631 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21632 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21633 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21634 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21635 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21636 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21637 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21638 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21639 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21640 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21641 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21642 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21643 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21644 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21645 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21646 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21647 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21648 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21649 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21650 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21651 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21652 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21653 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21654 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21655 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21656 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21657 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21658 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21659 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21660 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21661 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21662 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21663 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21664 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21665 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21666 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21667 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21668 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21671 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21674 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21675 whole low double instead of just low 47 bits when splitting values
21678 2012-12-03 Allan McRae <allan@archlinux.org>
21680 * manual/stdio.texi (Predefined Printf Handlers): Remove
21681 @hsep and @vsep usage.
21683 2012-12-03 Mike Frysinger <vapier@gentoo.org>
21685 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21686 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21688 2012-12-03 Jeff Law <law@redhat.com>
21690 * time/sys/time.h (settimeofday): Do not mark TV argument
21693 2012-12-01 Mike Frysinger <vapier@gentoo.org>
21695 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21696 when currently writing and seek to current position when not.
21697 * libio/Makefile (tests): Remove bug-fclose1.
21698 * libio/bug-fclose1.c: Delete.
21700 2012-12-01 Joseph Myers <joseph@codesourcery.com>
21702 * manual/arith.texi (feenableexcept): Fix typo.
21703 (fedisableexcept): Likewise.
21705 2012-11-30 Roland McGrath <roland@hack.frob.com>
21707 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21708 second, differently-typed declaration, rather than a cast.
21710 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21712 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21713 * include/rpc/svc.h: ... here.
21715 2012-11-30 Aurelien Jarno <aurel32@debian.org>
21718 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21719 depending n and resplen2 to catch cases where answer
21722 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21724 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21725 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21727 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21729 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21731 2012-11-29 Roland McGrath <roland@hack.frob.com>
21733 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21735 2012-11-28 Jeff Law <law@redhat.com>
21738 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21739 dataset_temporary. Track alloca usage into alloca_used.
21740 If dataset is large allocate and release it via malloc/free.
21742 2012-06-04 Florian Weimer <fweimer@redhat.com>
21745 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21747 2012-11-28 David S. Miller <davem@davemloft.net>
21749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21751 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21754 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21755 of pi/2 rounded to nearest to 64 bits.
21756 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21757 nearest to 64 bits.
21758 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21761 2012-11-28 Jeff Law <law@redhat.com>
21762 Martin Osvald <mosvald@redhat.com>
21765 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21766 * sunrpc/svc.c: Include time.h.
21767 (__svc_accept_failed): New function.
21768 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21769 any reason other than EINTR, call __svc_accept_failed.
21770 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21771 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21773 2012-11-28 Andreas Schwab <schwab@suse.de>
21775 * scripts/abilist.awk: Also handle indirect functions in .opd
21778 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21781 * sysdeps/x86/fpu/powl_helper.c: New file.
21782 * sysdeps/x86/fpu/Makefile: Likewise.
21783 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21785 (__ieee754_powl): Use __powl_helper for finite arguments except
21786 integer exponents below 8.
21787 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21789 (__ieee754_powl): Use __powl_helper for finite arguments except
21790 integer exponents below 8.
21791 * math/libm-test.inc (pow_test): Add more tests and enable some
21792 previously disabled tests.
21793 * sysdeps/i386/fpu/libm-test-ulps: Update.
21794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21796 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21797 Carlos O'Donell <carlos_odonell@mentor.com>
21799 * nss/makedb.c (is_prime): Assert that input is odd and greater
21800 than 4. Note that fact in a comment too.
21801 (next_prime): Add 4 to input.
21803 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21806 * libio/Makefile (tests): Add test case tst-fwrite-error.
21807 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21808 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21809 * libio/tst-fwrite-error.c: New test case.
21811 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21813 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21814 before casting to void *.
21815 * include/libc-internal.h (__pointer_type): New macro.
21816 (__integer_if_pointer_type_sub): Likewise.
21817 (__integer_if_pointer_type): Likewise.
21818 (cast_to_integer): Likewise.
21819 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21820 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21821 before casting to atomic64_t.
21822 (atomic_exchange_acq): Likewise.
21823 (__arch_exchange_and_add_body): Likewise.
21824 (__arch_add_body): Likewise.
21825 (atomic_add_negative): Likewise.
21826 (atomic_add_zero): Likewise.
21828 2012-11-26 Joseph Myers <joseph@codesourcery.com>
21830 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21831 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21832 (add_fdes): Likewise.
21833 (linear_search_fdes): Likewise.
21834 (binary_search_unencoded_fdes): Likewise.
21836 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21838 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21840 2012-11-24 Adam Conrad <adconrad@0c3.net>
21842 * configure.in: Autodetect C++ header directories.
21843 * configure: Regenerated.
21845 2012-11-23 Mike Frysinger <vapier@gentoo.org>
21847 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21849 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21853 2012-11-22 Joseph Myers <joseph@codesourcery.com>
21855 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21856 LDBL_MANT_DIG == 106]: Disable some tests.
21857 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21859 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21863 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21864 input for small inputs. Return +/- pi/2 for large inputs.
21865 * math/libm-test.inc (atan_test): Add more tests.
21867 * sysdeps/generic/unwind-dw2-fde-glibc.c
21868 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21869 __attribute__ ((unused)).
21872 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21873 x * y if x and y are nonzero and z is zero.
21876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21877 nonzero exponents with absolute value below 0x1p-117 to +/-
21881 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21882 up arguments below 2**-450, not just those below 2**-500.
21883 * math/libm-test.inc (hypot_test): Add another test.
21886 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21887 Return a+b for ratio over 2**120, not 2**60.
21888 * math/libm-test.inc (hypot_test): Add another test.
21890 * math/libm-test.inc (clog_test): Use
21891 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21892 (clog10_test): Likewise.
21895 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21897 2012-11-22 Andreas Schwab <schwab@suse.de>
21899 * sysdeps/i386/fpu/libm-test-ulps: Update.
21901 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21903 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21904 printf output with newline.
21906 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21909 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21910 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21911 -z nodlopen, -z initfirst and -z execstack support.
21912 * configure: Regenerated.
21914 * elf/elf.h (DF_1_NODIRECT): New macro.
21915 (DF_1_IGNMULDEF): Likewise.
21916 (DF_1_NOKSYMS): Likewise.
21917 (DF_1_NOHDR): Likewise.
21918 (DF_1_EDITED): Likewise.
21919 (DF_1_NORELOC): Likewise.
21920 (DF_1_SYMINTPOSE): Likewise.
21921 (DF_1_GLOBAUDIT): Likewise.
21922 (DF_1_SINGLETON): Likewise.
21923 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21924 DT_1_SUPPORTED_MASK bits.
21925 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21927 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21929 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21931 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21933 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21936 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21937 (sendmmsg): Move declarations...
21938 * socket/sys/socket.h: ... here.
21939 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21940 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21942 * socket/recvmmsg.c: ... this new file.
21943 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21944 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21945 definition of __sendmmsg hidden.
21946 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21947 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21948 Move ENOSYS stub into and include it from...
21949 * socket/sendmmsg.c: ... this new file.
21950 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21951 (sysdep_routines): Move recvmmsg and sendmmsg...
21952 * socket/Makefile (routines): ... here.
21953 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21954 (GLIBC_PRIVATE): Add __sendmmsg.
21955 * include/sys/socket.h (__sendmmsg): Add declarations.
21956 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21959 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21961 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21962 variable I1 with __attribute__ ((unused)).
21963 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21965 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21967 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21968 DUMMY variables with __attribute__ ((unused)).
21970 * bits/byteswap.h: Include <bits/types.h>.
21971 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21973 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21975 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21976 string_t. Do not manually set errno.
21977 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21978 length with __strnlen. Make sure to both set errno and return it on
21981 2012-11-19 David S. Miller <davem@davemloft.net>
21983 With help from Joseph Myers.
21984 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21985 very large arguments properly.
21986 * math/libm-test.inc (atan_test): New tests.
21987 (atan2_test): New tests.
21988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21991 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21994 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21997 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21998 [POSIX] (EADDRNOTAVAIL): Likewise.
21999 [POSIX] (EAFNOSUPPORT): Likewise.
22000 [POSIX] (EALREADY): Likewise.
22001 [POSIX] (ECONNABORTED): Likewise.
22002 [POSIX] (ECONNREFUSED): Likewise.
22003 [POSIX] (ECONNRESET): Likewise.
22004 [POSIX] (EDESTADDRREQ): Likewise.
22005 [POSIX] (EDQUOT): Likewise.
22006 [POSIX] (EHOSTUNREACH): Likewise.
22007 [POSIX] (EIDRM): Likewise.
22008 [POSIX] (EISCONN): Likewise.
22009 [POSIX] (ELOOP): Likewise.
22010 [POSIX] (EMULTIHOP): Likewise.
22011 [POSIX] (ENETDOWN): Likewise.
22012 [POSIX] (ENETUNREACH): Likewise.
22013 [POSIX] (ENOBUFS): Likewise.
22014 [POSIX] (ENODATA): Likewise.
22015 [POSIX] (ENOLINK): Likewise.
22016 [POSIX] (ENOMSG): Likewise.
22017 [POSIX] (ENOPROTOOPT): Likewise.
22018 [POSIX] (ENOSR): Likewise.
22019 [POSIX] (ENOSTR): Likewise.
22020 [POSIX] (ENOTCONN): Likewise.
22021 [POSIX] (ENOTSOCK): Likewise.
22022 [POSIX] (EOPNOTSUPP): Likewise.
22023 [POSIX] (EOVERFLOW): Likewise.
22024 [POSIX] (EPROTO): Likewise.
22025 [POSIX] (EPROTONOSUPPORT): Likewise.
22026 [POSIX] (EPROTOTYPE): Likewise.
22027 [POSIX] (ESTALE): Likewise.
22028 [POSIX] (ETIME): Likewise.
22029 [POSIX] (ETXTBSY): Likewise.
22030 [POSIX] (EWOULDBLOCK): Likewise.
22031 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22032 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22033 [POSIX] (SEEK_CUR): Likewise.
22034 [POSIX] (SEEK_END): Likewise.
22035 [POSIX || UNIX98] (mode_t): Do not require.
22036 [POSIX] (off_t): Likewise.
22037 [POSIX] (pid_t): Likewise.
22038 [POSIX] (sys/stat.h): Do not allow header.
22039 [POSIX] (unistd.h): Likewise.
22040 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22041 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22042 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22043 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22045 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22046 sigevent): Specify elements.
22047 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22049 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22050 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22052 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22053 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22054 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22055 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22056 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22057 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22058 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22059 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22060 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22061 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22062 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22063 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22064 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22065 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22067 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22069 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22071 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22073 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22074 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22075 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22076 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22077 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22078 Specify lower bound on value.
22079 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22080 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22081 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22082 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22083 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22084 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22085 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22086 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22088 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22090 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22091 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22092 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22093 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22094 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22095 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22096 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22097 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22098 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22099 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22100 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22101 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22102 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22103 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22104 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22105 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22107 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22109 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22110 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22111 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22112 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22113 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22114 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22116 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22117 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22118 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22119 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22120 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22121 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22122 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22124 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22125 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22126 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22127 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22128 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22129 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22130 specify as optional.
22131 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22132 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22133 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22134 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22135 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22136 [XPG3] (NL_LANGMAX): Likewise.
22137 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22138 [POSIX || XPG3] (NL_NMAX): Likewise.
22139 [POSIX || XPG3] (NL_SETMAX): Likewise.
22140 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22141 [XPG3] (NZERO): Likewise.
22142 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22143 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22144 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22145 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22146 (REG_ERANGE): Expect.
22147 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22149 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22150 Use (void) in prototype.
22151 [POSIX] (*_t): Allow.
22152 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22153 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22154 (WRDE_BADVAL): Expect.
22156 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22158 [XPG3 || XPG4] (O_RSYNC): Likewise.
22159 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22161 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22162 [XPG3 || XPG4] (sigqueue): Likewise.
22163 [XPG3 || XPG4] (sigtimedwait): Likewise.
22164 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22165 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22166 [XPG3 || XPG4] (vsnprintf): Likewise.
22167 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22169 [XPG3 || XPG4] (blksize_t): Likewise.
22170 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22172 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22173 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22174 [XPG3 || XPG4] (struct itimerspec): Likewise.
22175 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22176 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22177 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22178 [XPG3 || XPG4] (clockid_t): Likewise.
22179 [XPG3 || XPG4] (timer_t): Likewise.
22180 [XPG3 || XPG4] (clock_getres): Likewise.
22181 [XPG3 || XPG4] (clock_gettime): Likewise.
22182 [XPG3 || XPG4] (clock_settime): Likewise.
22183 [XPG3 || XPG4] (nanosleep): Likewise.
22184 [XPG3 || XPG4] (timer_create): Likewise.
22185 [XPG3 || XPG4] (timer_delete): Likewise.
22186 [XPG3 || XPG4] (timer_gettime): Likewise.
22187 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22188 [XPG3 || XPG4] (timer_settime): Likewise.
22189 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22190 [XPG3 || XPG4] (getlogin_r): Likewise.
22191 [XPG3 || XPG4] (pread): Likewise.
22192 [XPG3 || XPG4] (pthread_atfork): Likewise.
22193 [XPG3 || XPG4] (pwrite): Likewise.
22196 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22199 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22201 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22202 finalizing MALLSTREAM.
22204 * sysdeps/mach/hurd/syncfs.c: New file.
22206 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22209 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22210 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22211 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22212 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22213 (_nss_dns_gethostbyname4_r): Likewise.
22214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22215 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22217 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22220 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22222 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22224 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22225 * elf/cache.c (print_entry): Print ",AArch64" for
22228 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22229 * elf/cache.c (print_entry): Print ",hard-float" for
22232 2012-11-18 David S. Miller <davem@davemloft.net>
22234 With help from Joseph Myers.
22235 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22237 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22239 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22240 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22242 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22243 * math/libm-test.inc (y0_test): New tests.
22244 (y1_test): New tests.
22245 * sysdeps/i386/fpu/libm-test-ulps: Update.
22246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22249 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22251 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22253 * configure: Regenerated.
22255 2012-11-17 David S. Miller <davem@davemloft.net>
22258 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22259 nonzero exponents with absolute value below 0x1p-128 to +/-
22262 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22264 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22266 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22268 * posix/getconf-speclist.c: New file.
22269 * posix/posix-envs.def: Likewise.
22270 * posix/confstr.c (START_ENV_GROUP): New macro.
22271 (END_ENV_GROUP): Likewise.
22272 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22273 (KNOWN_PRESENT_ENV_STRING): Likewise.
22274 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22275 (UNKNOWN_ENVIRONMENT): Likewise.
22276 (confstr): Include posix-envs.def instead of handling
22277 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22278 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22279 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22280 (END_ENV_GROUP): Likewise.
22281 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22282 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22283 (UNKNOWN_ENVIRONMENT): Likewise.
22284 (__sysconf): Include posix-envs.def instead of handling associated
22285 cases directly here.
22286 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22287 preprocessing getconf-speclist.c rather than running getconf or
22288 generating empty file.
22290 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22292 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22294 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22297 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22299 2012-11-16 David S. Miller <davem@davemloft.net>
22301 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22302 smaller than LDBL_EPSILON/2.0L, just return xm1.
22304 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22306 * elf/tst-array1.c (init): Set constructor priority to 1000.
22307 (fini): Set destructor priority to 1000.
22308 * elf/tst-array2dep.c: Likewise.
22310 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22313 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22314 (_IO_new_file_xsputn): Also return EOF if none of the input
22315 data was written when overflow failed.
22316 * libio/iopadn.c (_IO_padn): Likewise.
22317 * libio/iowpadn.c (_IO_wpadn): Likewise.
22318 * stdio-common/tst-put-error.c: Add copyright notice.
22319 (do_test): Add case for printing padded string.
22320 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22321 _IO_padn returned error.
22322 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22323 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22326 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22328 * libio/libioP.h: Add comment note that the references to C++
22329 bits are now obsolete.
22331 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22333 * math/libm-test.inc (check_complex): Use asprintf.
22335 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22337 * debug/pcprofiledump.c (print_version): Update copyright year.
22338 * malloc/memusagestat.c (print_version): Likewise.
22340 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22343 * elf/Makefile (tests): Add tst-audit8.
22344 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22345 ($(objpfx)tst-audit8.out): New target.
22346 (tst-audit8-ENV): New variable.
22347 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22348 audit if l_reloc_result is NULL.
22349 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22350 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22351 * elf/tst-audit8.c: New file.
22353 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22355 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22356 * misc/Makefile (CFLAGS-select.c): Define.
22357 * posix/Makefile (CFLAGS-pause.c): Define.
22359 2012-11-13 David S. Miller <davem@davemloft.net>
22361 * crypt/Makefile: Move test targets after toplevel Rules
22362 inclusion. Grab any necessary sysdep routines when linking.
22363 * crypt/md5.c (md5_process_block): Remove define, we will always
22364 name it __md5_process_block.
22365 (md5_finish_ctx): Update md5_process_block call.
22366 (md5_stream): Likewise.
22367 (md5_process_bytes): Likewise.
22368 (md5_process_block): Rename to __md5_process_block and move to ...
22369 * crypt/md5-block.c: ... here.
22370 * crypt/sha256.c (sha256_process_block): Move to ...
22371 * crypt/sha256-block.c: ... here.
22372 * crypt/sha512.c (sha512_process_block): Move to ...
22373 * crypt/sha512-block.c: ... here.
22374 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22376 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22377 * sysdeps/sparc/sparc64/multiarch/Makefile
22378 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22380 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22381 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22383 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22384 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22385 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22386 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22387 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22388 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22389 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22390 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22391 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22393 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22394 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22396 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22398 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22400 * timezone/tzselect.ksh: Update from tzcode git revision
22401 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22402 * timezone/zdump.c: Likewise.
22403 * timezone/zic.c: Likewise.
22404 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22405 in TZVERSION setting, not $(PKGVERSION).
22406 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22407 REPORT_BUGS_TO settings.
22410 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22413 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22415 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22416 detection to immediately after _FP_ROUND().
22417 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22420 2012-11-11 David S. Miller <davem@davemloft.net>
22422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22424 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22425 __close rather than their public counterparts.
22427 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22429 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22431 [UNIX98] (sem_timedwait): Do not expect.
22432 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22433 [XPG4 || UNIX98] (sockatmark): Do not expect.
22434 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22435 (clock_getcpuclockid): Do not expect.
22436 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22437 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22439 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22440 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22441 [UNIX98] (vwscanf): Likewise.
22442 [UNIX98] (vswscanf): Likewise.
22444 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22446 * timezone/version.h: Remove file.
22447 * timezone/README: Do not refer to version.h.
22448 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22449 $(objpfx)version.h.
22450 ($(objpfx)zdump.o): Likewise.
22451 ($(objpfx)version.h): New target.
22453 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22455 * timezone/README: Don't mention modification to tzselect.ksh.
22456 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22457 work on unmodified tzselect.ksh. Substitute version numbers in
22460 * Makefile (format-me): Remove.
22461 (INSTALL): Adjust indentation. Use commands directly instead of
22462 using $(format-me).
22464 * aclocal.m4 (ACX_PKGVERSION): New macro.
22465 (ACX_BUGURL): Likewise.
22466 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22467 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22468 (REPORT_BUGS_TO): Likewise.
22469 * configure: Regenerated.
22470 * config.h.in (PKGVERSION): New macro.
22471 (REPORT_BUGS_TO): Likewise.
22472 * config.make.in (PKGVERSION): New variable.
22473 (PKGVERSION_TEXI): Likewise.
22474 (REPORT_BUGS_TO): Likewise.
22475 (REPORT_BUGS_TEXI): Likewise.
22476 * Makefile (format-me): Use -I$(common-objpfx)manual.
22477 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22478 ($(common-objpfx)manual/%): New target.
22479 (manual/%): Remove target.
22480 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22481 (print_version): Use PKGVERSION.
22482 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22483 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22484 and REPORT_BUGS_TO.
22485 ($(objpfx)xtrace): Likewise.
22486 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22487 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22488 (print_version): Use PKGVERSION.
22489 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22490 (do_version): Use PKGVERSION.
22491 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22493 (common-ldd-rewrite): Likewise.
22494 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22495 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22496 (print_version): Use PKGVERSION.
22497 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22498 * elf/pldd.c (argp_program_bug_address): Remove variable.
22499 (more_help): New function.
22500 (argp): Use more_help.
22501 (print_version): Use PKGVERSION.
22502 * elf/sln.c (main): Use PKGVERSION.
22503 (usage): Use REPORT_BUGS_TO.
22504 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22505 (top level): Use PKGVERSION.
22506 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22507 (print_version): Use PKGVERSION.
22508 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22509 (print_version): Use PKGVERSION.
22510 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22511 (print_version): Use PKGVERSION.
22512 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22513 (print_version): Use PKGVERSION.
22514 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22515 (print_version): Use PKGVERSION.
22516 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22517 (print_version): Use PKGVERSION.
22518 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22520 ($(objpfx)memusage): Likewise.
22521 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22522 (do_version): Use PKGVERSION.
22523 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22524 (print_version): Use PKGVERSION.
22525 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22526 ($PKGVERSION): New variable.
22527 ($REPORT_BUGS_TO): Likewise.
22528 (usage): Use $REPORT_BUGS_TO.
22529 (top level): Use $PKGVERSION.
22530 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22531 ($(objpfx)pkgvers.texi): New rule.
22532 ($(objpfx)stamp-pkgvers): Likewise.
22533 * manual/install.texi: Include pkgvers.texi.
22534 (--with-pkgversion): Document new configure option.
22535 (--with-bugurl): Likewise.
22536 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22537 than necessarily for this particular distribution. Use
22538 REPORT_BUGS_TO for where to report bugs.
22539 * INSTALL: Regenerated.
22540 * manual/libc.texinfo: Include pkgvers.texi.
22541 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22542 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22543 (print_version): Use PKGVERSION.
22544 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22545 (print_version): Use PKGVERSION.
22546 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22547 (print_version): Use PKGVERSION.
22548 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22549 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22551 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22552 (print_version): Use PKGVERSION.
22553 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22554 (print_version): Use PKGVERSION.
22555 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22558 * timezone/checktab.awk: Update from tzcode 2012i.
22559 * timezone/ialloc.c: Likewise.
22560 * timezone/private.h: Likewise.
22561 * timezone/scheck.c: Likewise.
22562 * timezone/tzfile.h: Likewise.
22563 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22564 (TZVERSION): Hardcode tzcode version number.
22565 * timezone/zdump.c: Update from tzcode 2012i.
22566 * timezone/zic.c: Likewise.
22567 * timezone/version.h: New file.
22568 * timezone/README: Describe version.h. Update upstream location.
22571 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22572 (mktemp): Enable declaration.
22573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22576 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22578 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22580 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22582 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22584 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22586 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22590 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22591 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22592 for copies of such integer values.
22593 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22594 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22596 2012-11-09 Andreas Jaeger <aj@suse.de>
22598 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22599 definitions and declarations that are provided by
22600 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22602 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22604 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22605 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22606 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22609 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22611 * elf/elf.h: Update comment before AArch64 relocations.
22613 2012-11-07 David S. Miller <davem@davemloft.net>
22615 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22616 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22617 (__start_context): Declare.
22618 (__makecontext_ret): Delete.
22619 (__makecontext): Hook up __start_context instead of
22621 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22622 (sysdep_routines): Add __start_context when in stdlib.
22624 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22626 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22627 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22628 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22630 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22631 (READELF): New variable. Use it instead of hardcoded "readelf".
22633 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22635 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22636 * sysdeps/x86/Makefile: Here.
22637 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22638 * sysdeps/x86/tst-xmmymm.sh: This.
22640 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22642 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22644 [UNIX98] (pthread_barrier_t): Do not expect.
22645 [UNIX98] (pthread_barrierattr_t): Likewise.
22646 [UNIX98] (pthread_spinlock_t): Likewise.
22647 [UNIX98] (pthread_barrier_destroy): Likewise.
22648 [UNIX98] (pthread_barrier_init): Likewise.
22649 [UNIX98] (pthread_barrier_wait): Likewise.
22650 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22651 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22652 [UNIX98] (pthread_barrierattr_init): Likewise.
22653 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22654 [UNIX98] (pthread_getcpuclockid): Likewise.
22655 [UNIX98] (pthread_mutex_timedlock): Likewise.
22656 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22657 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22658 [UNIX98] (pthread_sigmask): Likewise.
22659 [UNIX98] (pthread_spin_destroy): Likewise.
22660 [UNIX98] (pthread_spin_init): Likewise.
22661 [UNIX98] (pthread_spin_lock): Likewise.
22662 [UNIX98] (pthread_spin_trylock): Likewise.
22663 [UNIX98] (pthread_spin_unlock): Likewise.
22664 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22666 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22667 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22668 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22669 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22670 [XPG3 || XPG4] (pthread_key_t): Likewise.
22671 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22672 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22673 [XPG3 || XPG4] (pthread_once_t): Likewise.
22674 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22675 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22676 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22677 [XPG3 || XPG4] (pthread_t): Likewise.
22679 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22681 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22683 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22684 Change function return type to int.
22686 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22687 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22688 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22689 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22690 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22691 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22692 [!POSIX] (posix_madvise): Likewise.
22693 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22695 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22696 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22697 (mode_t): Likewise.
22698 (posix_mem_offset): Likewise.
22699 (posix_typed_mem_get_info): Likewise.
22700 (posix_typed_mem_open): Likewise.
22702 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22703 Change condition to [XOPEN2K8].
22705 * conform/conformtest.pl: Preprocess allow-header data with -x c
22706 instead of from stdin.
22707 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22708 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22709 [C99-based standards] (cerfc): Likewise.
22710 [C99-based standards] (cexp2): Likewise.
22711 [C99-based standards] (cexpm1): Likewise.
22712 [C99-based standards] (clog10): Likewise.
22713 [C99-based standards] (clog1p): Likewise.
22714 [C99-based standards] (clog2): Likewise.
22715 [C99-based standards] (clgamma): Likewise.
22716 [C99-based standards] (ctgamma): Likewise.
22717 [C99-based standards] (cerff): Likewise.
22718 [C99-based standards] (cerfcf): Likewise.
22719 [C99-based standards] (cexp2f): Likewise.
22720 [C99-based standards] (cexpm1f): Likewise.
22721 [C99-based standards] (clog10f): Likewise.
22722 [C99-based standards] (clog1pf): Likewise.
22723 [C99-based standards] (clog2f): Likewise.
22724 [C99-based standards] (clgammaf): Likewise.
22725 [C99-based standards] (ctgammaf): Likewise.
22726 [C99-based standards] (cerfl): Likewise.
22727 [C99-based standards] (cerfcl): Likewise.
22728 [C99-based standards] (cexp2l): Likewise.
22729 [C99-based standards] (cexpm1l): Likewise.
22730 [C99-based standards] (clog10l): Likewise.
22731 [C99-based standards] (clog1pl): Likewise.
22732 [C99-based standards] (clog2l): Likewise.
22733 [C99-based standards] (clgammal): Likewise.
22734 [C99-based standards] (ctgammal): Likewise.
22735 * conform/data/inttypes.h-data [C99-based standards]: Include
22736 stdint.h-data. Remove all expectations for stdint.h contents.
22737 [C99-based standards] (PRI*): Do not allow.
22738 [C99-based standards] (SCN*): Likewise.
22739 [C99-based standards] (*_t): Likewise.
22740 [C99-based-standards] (PRId8): Expect macro.
22741 [C99-based-standards] (PRIi8): Likewise.
22742 [C99-based-standards] (PRIo8): Likewise.
22743 [C99-based-standards] (PRIu8): Likewise.
22744 [C99-based-standards] (PRIx8): Likewise.
22745 [C99-based-standards] (PRIX8): Likewise.
22746 [C99-based-standards] (SCNd8): Likewise.
22747 [C99-based-standards] (SCNi8): Likewise.
22748 [C99-based-standards] (SCNo8): Likewise.
22749 [C99-based-standards] (SCNu8): Likewise.
22750 [C99-based-standards] (SCNx8): Likewise.
22751 [C99-based-standards] (PRIdLEAST8): Likewise.
22752 [C99-based-standards] (PRIiLEAST8): Likewise.
22753 [C99-based-standards] (PRIoLEAST8): Likewise.
22754 [C99-based-standards] (PRIuLEAST8): Likewise.
22755 [C99-based-standards] (PRIxLEAST8): Likewise.
22756 [C99-based-standards] (PRIXLEAST8): Likewise.
22757 [C99-based-standards] (SCNdLEAST8): Likewise.
22758 [C99-based-standards] (SCNiLEAST8): Likewise.
22759 [C99-based-standards] (SCNoLEAST8): Likewise.
22760 [C99-based-standards] (SCNuLEAST8): Likewise.
22761 [C99-based-standards] (SCNxLEAST8): Likewise.
22762 [C99-based-standards] (PRIdFAST8): Likewise.
22763 [C99-based-standards] (PRIiFAST8): Likewise.
22764 [C99-based-standards] (PRIoFAST8): Likewise.
22765 [C99-based-standards] (PRIuFAST8): Likewise.
22766 [C99-based-standards] (PRIxFAST8): Likewise.
22767 [C99-based-standards] (PRIXFAST8): Likewise.
22768 [C99-based-standards] (SCNdFAST8): Likewise.
22769 [C99-based-standards] (SCNiFAST8): Likewise.
22770 [C99-based-standards] (SCNoFAST8): Likewise.
22771 [C99-based-standards] (SCNuFAST8): Likewise.
22772 [C99-based-standards] (SCNxFAST8): Likewise.
22773 [C99-based-standards] (PRId16): Likewise.
22774 [C99-based-standards] (PRIi16): Likewise.
22775 [C99-based-standards] (PRIo16): Likewise.
22776 [C99-based-standards] (PRIu16): Likewise.
22777 [C99-based-standards] (PRIx16): Likewise.
22778 [C99-based-standards] (PRIX16): Likewise.
22779 [C99-based-standards] (SCNd16): Likewise.
22780 [C99-based-standards] (SCNi16): Likewise.
22781 [C99-based-standards] (SCNo16): Likewise.
22782 [C99-based-standards] (SCNu16): Likewise.
22783 [C99-based-standards] (SCNx16): Likewise.
22784 [C99-based-standards] (PRIdLEAST16): Likewise.
22785 [C99-based-standards] (PRIiLEAST16): Likewise.
22786 [C99-based-standards] (PRIoLEAST16): Likewise.
22787 [C99-based-standards] (PRIuLEAST16): Likewise.
22788 [C99-based-standards] (PRIxLEAST16): Likewise.
22789 [C99-based-standards] (PRIXLEAST16): Likewise.
22790 [C99-based-standards] (SCNdLEAST16): Likewise.
22791 [C99-based-standards] (SCNiLEAST16): Likewise.
22792 [C99-based-standards] (SCNoLEAST16): Likewise.
22793 [C99-based-standards] (SCNuLEAST16): Likewise.
22794 [C99-based-standards] (SCNxLEAST16): Likewise.
22795 [C99-based-standards] (PRIdFAST16): Likewise.
22796 [C99-based-standards] (PRIiFAST16): Likewise.
22797 [C99-based-standards] (PRIoFAST16): Likewise.
22798 [C99-based-standards] (PRIuFAST16): Likewise.
22799 [C99-based-standards] (PRIxFAST16): Likewise.
22800 [C99-based-standards] (PRIXFAST16): Likewise.
22801 [C99-based-standards] (SCNdFAST16): Likewise.
22802 [C99-based-standards] (SCNiFAST16): Likewise.
22803 [C99-based-standards] (SCNoFAST16): Likewise.
22804 [C99-based-standards] (SCNuFAST16): Likewise.
22805 [C99-based-standards] (SCNxFAST16): Likewise.
22806 [C99-based-standards] (PRId32): Likewise.
22807 [C99-based-standards] (PRIi32): Likewise.
22808 [C99-based-standards] (PRIo32): Likewise.
22809 [C99-based-standards] (PRIu32): Likewise.
22810 [C99-based-standards] (PRIx32): Likewise.
22811 [C99-based-standards] (PRIX32): Likewise.
22812 [C99-based-standards] (SCNd32): Likewise.
22813 [C99-based-standards] (SCNi32): Likewise.
22814 [C99-based-standards] (SCNo32): Likewise.
22815 [C99-based-standards] (SCNu32): Likewise.
22816 [C99-based-standards] (SCNx32): Likewise.
22817 [C99-based-standards] (PRIdLEAST32): Likewise.
22818 [C99-based-standards] (PRIiLEAST32): Likewise.
22819 [C99-based-standards] (PRIoLEAST32): Likewise.
22820 [C99-based-standards] (PRIuLEAST32): Likewise.
22821 [C99-based-standards] (PRIxLEAST32): Likewise.
22822 [C99-based-standards] (PRIXLEAST32): Likewise.
22823 [C99-based-standards] (SCNdLEAST32): Likewise.
22824 [C99-based-standards] (SCNiLEAST32): Likewise.
22825 [C99-based-standards] (SCNoLEAST32): Likewise.
22826 [C99-based-standards] (SCNuLEAST32): Likewise.
22827 [C99-based-standards] (SCNxLEAST32): Likewise.
22828 [C99-based-standards] (PRIdFAST32): Likewise.
22829 [C99-based-standards] (PRIiFAST32): Likewise.
22830 [C99-based-standards] (PRIoFAST32): Likewise.
22831 [C99-based-standards] (PRIuFAST32): Likewise.
22832 [C99-based-standards] (PRIxFAST32): Likewise.
22833 [C99-based-standards] (PRIXFAST32): Likewise.
22834 [C99-based-standards] (SCNdFAST32): Likewise.
22835 [C99-based-standards] (SCNiFAST32): Likewise.
22836 [C99-based-standards] (SCNoFAST32): Likewise.
22837 [C99-based-standards] (SCNuFAST32): Likewise.
22838 [C99-based-standards] (SCNxFAST32): Likewise.
22839 [C99-based-standards] (PRId64): Likewise.
22840 [C99-based-standards] (PRIi64): Likewise.
22841 [C99-based-standards] (PRIo64): Likewise.
22842 [C99-based-standards] (PRIu64): Likewise.
22843 [C99-based-standards] (PRIx64): Likewise.
22844 [C99-based-standards] (PRIX64): Likewise.
22845 [C99-based-standards] (SCNd64): Likewise.
22846 [C99-based-standards] (SCNi64): Likewise.
22847 [C99-based-standards] (SCNo64): Likewise.
22848 [C99-based-standards] (SCNu64): Likewise.
22849 [C99-based-standards] (SCNx64): Likewise.
22850 [C99-based-standards] (PRIdLEAST64): Likewise.
22851 [C99-based-standards] (PRIiLEAST64): Likewise.
22852 [C99-based-standards] (PRIoLEAST64): Likewise.
22853 [C99-based-standards] (PRIuLEAST64): Likewise.
22854 [C99-based-standards] (PRIxLEAST64): Likewise.
22855 [C99-based-standards] (PRIXLEAST64): Likewise.
22856 [C99-based-standards] (SCNdLEAST64): Likewise.
22857 [C99-based-standards] (SCNiLEAST64): Likewise.
22858 [C99-based-standards] (SCNoLEAST64): Likewise.
22859 [C99-based-standards] (SCNuLEAST64): Likewise.
22860 [C99-based-standards] (SCNxLEAST64): Likewise.
22861 [C99-based-standards] (PRIdFAST64): Likewise.
22862 [C99-based-standards] (PRIiFAST64): Likewise.
22863 [C99-based-standards] (PRIoFAST64): Likewise.
22864 [C99-based-standards] (PRIuFAST64): Likewise.
22865 [C99-based-standards] (PRIxFAST64): Likewise.
22866 [C99-based-standards] (PRIXFAST64): Likewise.
22867 [C99-based-standards] (SCNdFAST64): Likewise.
22868 [C99-based-standards] (SCNiFAST64): Likewise.
22869 [C99-based-standards] (SCNoFAST64): Likewise.
22870 [C99-based-standards] (SCNuFAST64): Likewise.
22871 [C99-based-standards] (SCNxFAST64): Likewise.
22872 [C99-based-standards] (PRIdMAX): Likewise.
22873 [C99-based-standards] (PRIiMAX): Likewise.
22874 [C99-based-standards] (PRIoMAX): Likewise.
22875 [C99-based-standards] (PRIuMAX): Likewise.
22876 [C99-based-standards] (PRIxMAX): Likewise.
22877 [C99-based-standards] (PRIXMAX): Likewise.
22878 [C99-based-standards] (SCNdMAX): Likewise.
22879 [C99-based-standards] (SCNiMAX): Likewise.
22880 [C99-based-standards] (SCNoMAX): Likewise.
22881 [C99-based-standards] (SCNuMAX): Likewise.
22882 [C99-based-standards] (SCNxMAX): Likewise.
22883 [C99-based-standards] (PRIdPTR): Likewise.
22884 [C99-based-standards] (PRIiPTR): Likewise.
22885 [C99-based-standards] (PRIoPTR): Likewise.
22886 [C99-based-standards] (PRIuPTR): Likewise.
22887 [C99-based-standards] (PRIxPTR): Likewise.
22888 [C99-based-standards] (PRIXPTR): Likewise.
22889 [C99-based-standards] (SCNdPTR): Likewise.
22890 [C99-based-standards] (SCNiPTR): Likewise.
22891 [C99-based-standards] (SCNoPTR): Likewise.
22892 [C99-based-standards] (SCNuPTR): Likewise.
22893 [C99-based-standards] (SCNxPTR): Likewise.
22894 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22896 * conform/data/stdint.h-data: Update comments to clarify
22898 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22900 [C99-based standards] (INT8_MAX): Likewise.
22901 [C99-based standards] (INT16_MIN): Likewise.
22902 [C99-based standards] (INT16_MAX): Likewise.
22903 [C99-based standards] (INT32_MIN): Likewise.
22904 [C99-based standards] (INT32_MAX): Likewise.
22905 [C99-based standards] (INT64_MIN): Likewise.
22906 [C99-based standards] (INT64_MAX): Likewise.
22907 [C99-based standards] (UINT8_MAX): Likewise.
22908 [C99-based standards] (UINT16_MAX): Likewise.
22909 [C99-based standards] (UINT32_MAX): Likewise.
22910 [C99-based standards] (UINT64_MAX): Likewise.
22911 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22912 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22913 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22914 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22915 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22916 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22917 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22918 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22919 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22920 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22921 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22922 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22923 [C99-based standards] (INT_FAST8_MIN): Likewise.
22924 [C99-based standards] (INT_FAST8_MAX): Likewise.
22925 [C99-based standards] (INT_FAST16_MIN): Likewise.
22926 [C99-based standards] (INT_FAST16_MAX): Likewise.
22927 [C99-based standards] (INT_FAST32_MIN): Likewise.
22928 [C99-based standards] (INT_FAST32_MAX): Likewise.
22929 [C99-based standards] (INT_FAST64_MIN): Likewise.
22930 [C99-based standards] (INT_FAST64_MAX): Likewise.
22931 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22932 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22933 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22934 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22935 [C99-based standards] (INTPTR_MIN): Likewise.
22936 [C99-based standards] (INTPTR_MAX): Likewise.
22937 [C99-based standards] (UINTPTR_MAX): Likewise.
22938 [C99-based standards] (INTMAX_MIN): Likewise.
22939 [C99-based standards] (INTMAX_MAX): Likewise.
22940 [C99-based standards] (UINTMAX_MAX): Likewise.
22941 [C99-based standards] (PTRDIFF_MIN): Likewise.
22942 [C99-based standards] (PTRDIFF_MAX): Likewise.
22943 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22944 [C99-based standards] (SIZE_MAX): Likewise.
22945 [C99-based standards] (WCHAR_MAX): Likewise.
22946 [C99-based standards] (WINT_MAX): Likewise.
22947 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22948 constraint on value.
22949 [C99-based standards] (WCHAR_MIN): Likewise.
22950 [C99-based standards] (WINT_MIN): Likewise.
22951 [C99-based standards] (*_t): Allow.
22952 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22953 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22954 Include math.h-data and complex.h-data. Remove all expectations
22955 of math.h and complex.h contents.
22956 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22958 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22959 (struct tm): Expect tag.
22960 [C99-based-standards] (wcstof): Expect function.
22961 [C99-based-standards] (wcstold): Likewise.
22962 [C99-based-standards] (wcstoll): Likewise.
22963 [C99-based-standards] (wcstoull): Likewise.
22964 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22965 macro-int-constant. Specify type.
22966 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22967 constraint on value.
22968 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22970 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22972 [ISO C standards]: Do not allow headers.
22973 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22974 wcs[abcdefghijklmnopqrstuvwxyz]*.
22975 [ISO C standards] (*_t): Do not allow.
22976 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22978 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22979 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22981 [ISO C standards]: Do not allow headers.
22982 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22983 is[abcdefghijklmnopqrstuvwxyz]*.
22984 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22985 to[abcdefghijklmnopqrstuvwxyz]*.
22986 [ISO C standards] (*_t): Do not allow.
22987 * conform/data/stdalign.h-data: New file.
22988 * conform/data/stdbool.h-data: Likewise.
22989 * conform/data/stdnoreturn.h-data: Likewise.
22991 2012-11-07 Roland McGrath <roland@hack.frob.com>
22994 * manual/filesys.texi (Directory Entries): Typo fix.
22995 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22997 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22999 * elf/elf.h (EM_AARCH64): New macro.
23000 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23001 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23002 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23003 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23004 (R_AARCH64_TLSDESC): Likewise.
23005 (NT_ARM_TLS): Likewise.
23006 (NT_ARM_HW_BREAK): Likewise.
23007 (NT_ARM_HW_WATCH): Likewise.
23009 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23012 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23013 (__ieee754_powl): Saturate nonzero exponents with absolute value
23014 below 0x1p-79 to +/- 0x1p-79.
23015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23016 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23017 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23018 nonzero exponents with absolute value below 0x1p-32 to +/-
23020 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23021 (__ieee754_powl): Saturate nonzero exponents with absolute value
23022 below 0x1p-79 to +/- 0x1p-79.
23023 * math/libm-test.inc (pow_test): Add more tests.
23025 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23027 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23028 _dl_s390_cap_flags with kernel. Increase string length.
23029 (_dl_s390_platforms): Add z196 and zEC12.
23031 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23033 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23034 Change XOPEN21K to XOPEN2K.
23036 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23038 * string/memmove.c: Use memcpy when possible.
23040 2012-11-06 Andreas Jaeger <aj@suse.de>
23042 * po/eo.po: Update from translation team.
23044 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23047 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23048 exponent and small x and y exponents, scale x or y up. Increase
23049 by 2 the exponent used in scaling up.
23050 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23051 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23052 * math/libm-test.inc (fma_test): Add more tests.
23053 (fma_test_towardzero): Likewise.
23054 (fma_test_downward): Likewise.
23055 (fma_test_upward): Likewise.
23057 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23060 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23064 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23065 namespace for names of struct fields.
23066 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23068 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23069 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23071 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23074 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23076 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23078 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23082 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23085 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23089 definitely overflow as x * y not x * y + z.
23090 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23091 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23092 * math/libm-test.inc (fma_test): Add more tests.
23093 (fma_test_towardzero): Likewise.
23094 (fma_test_downward): Likewise.
23095 (fma_test_upward): Likewise.
23097 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23101 * include/stub-tag.h: Remove file.
23102 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23104 * manual/maint.texi (Porting): Don't reference it.
23105 * Makerules ($(objpfx)stubs): Likewise.
23106 * dirent/closedir.c: Don't include <stub-tag.h>.
23107 * dirent/dirfd.c: Likewise.
23108 * dirent/fdopendir.c: Likewise.
23109 * dirent/getdents.c: Likewise.
23110 * dirent/getdents64.c: Likewise.
23111 * dirent/opendir.c: Likewise.
23112 * dirent/readdir.c: Likewise.
23113 * dirent/readdir64.c: Likewise.
23114 * dirent/readdir64_r.c: Likewise.
23115 * dirent/readdir_r.c: Likewise.
23116 * dirent/rewinddir.c: Likewise.
23117 * dirent/seekdir.c: Likewise.
23118 * dirent/telldir.c: Likewise.
23119 * gmon/profil.c: Likewise.
23120 * grp/setgroups.c: Likewise.
23121 * inet/if_index.c: Likewise.
23122 * io/access.c: Likewise.
23123 * io/chdir.c: Likewise.
23124 * io/chmod.c: Likewise.
23125 * io/chown.c: Likewise.
23126 * io/close.c: Likewise.
23127 * io/dup.c: Likewise.
23128 * io/dup2.c: Likewise.
23129 * io/dup3.c: Likewise.
23130 * io/euidaccess.c: Likewise.
23131 * io/faccessat.c: Likewise.
23132 * io/fchdir.c: Likewise.
23133 * io/fchmod.c: Likewise.
23134 * io/fchmodat.c: Likewise.
23135 * io/fchown.c: Likewise.
23136 * io/fchownat.c: Likewise.
23137 * io/fcntl.c: Likewise.
23138 * io/flock.c: Likewise.
23139 * io/fstatfs.c: Likewise.
23140 * io/fstatfs64.c: Likewise.
23141 * io/fstatvfs.c: Likewise.
23142 * io/fstatvfs64.c: Likewise.
23143 * io/futimens.c: Likewise.
23144 * io/fxstat.c: Likewise.
23145 * io/fxstat64.c: Likewise.
23146 * io/fxstatat.c: Likewise.
23147 * io/fxstatat64.c: Likewise.
23148 * io/getcwd.c: Likewise.
23149 * io/isatty.c: Likewise.
23150 * io/lchmod.c: Likewise.
23151 * io/lchown.c: Likewise.
23152 * io/link.c: Likewise.
23153 * io/linkat.c: Likewise.
23154 * io/lseek.c: Likewise.
23155 * io/lseek64.c: Likewise.
23156 * io/lxstat64.c: Likewise.
23157 * io/mkdir.c: Likewise.
23158 * io/mkdirat.c: Likewise.
23159 * io/mkfifo.c: Likewise.
23160 * io/mkfifoat.c: Likewise.
23161 * io/open.c: Likewise.
23162 * io/open64.c: Likewise.
23163 * io/openat.c: Likewise.
23164 * io/openat64.c: Likewise.
23165 * io/pipe.c: Likewise.
23166 * io/pipe2.c: Likewise.
23167 * io/poll.c: Likewise.
23168 * io/posix_fadvise.c: Likewise.
23169 * io/posix_fadvise64.c: Likewise.
23170 * io/posix_fallocate.c: Likewise.
23171 * io/posix_fallocate64.c: Likewise.
23172 * io/read.c: Likewise.
23173 * io/readlink.c: Likewise.
23174 * io/readlinkat.c: Likewise.
23175 * io/rmdir.c: Likewise.
23176 * io/sendfile.c: Likewise.
23177 * io/sendfile64.c: Likewise.
23178 * io/statfs.c: Likewise.
23179 * io/statfs64.c: Likewise.
23180 * io/statvfs.c: Likewise.
23181 * io/statvfs64.c: Likewise.
23182 * io/symlink.c: Likewise.
23183 * io/symlinkat.c: Likewise.
23184 * io/ttyname.c: Likewise.
23185 * io/ttyname_r.c: Likewise.
23186 * io/umask.c: Likewise.
23187 * io/unlink.c: Likewise.
23188 * io/unlinkat.c: Likewise.
23189 * io/utime.c: Likewise.
23190 * io/utimensat.c: Likewise.
23191 * io/write.c: Likewise.
23192 * io/xmknod.c: Likewise.
23193 * io/xmknodat.c: Likewise.
23194 * io/xstat.c: Likewise.
23195 * io/xstat64.c: Likewise.
23196 * login/getpt.c: Likewise.
23197 * login/grantpt.c: Likewise.
23198 * login/unlockpt.c: Likewise.
23199 * math/e_acoshl.c: Likewise.
23200 * math/e_acosl.c: Likewise.
23201 * math/e_asinl.c: Likewise.
23202 * math/e_atan2l.c: Likewise.
23203 * math/e_atanhl.c: Likewise.
23204 * math/e_coshl.c: Likewise.
23205 * math/e_expl.c: Likewise.
23206 * math/e_fmodl.c: Likewise.
23207 * math/e_gammal_r.c: Likewise.
23208 * math/e_hypotl.c: Likewise.
23209 * math/e_j0l.c: Likewise.
23210 * math/e_j1l.c: Likewise.
23211 * math/e_jnl.c: Likewise.
23212 * math/e_lgammal_r.c: Likewise.
23213 * math/e_log10l.c: Likewise.
23214 * math/e_log2l.c: Likewise.
23215 * math/e_logl.c: Likewise.
23216 * math/e_powl.c: Likewise.
23217 * math/e_rem_pio2l.c: Likewise.
23218 * math/e_sinhl.c: Likewise.
23219 * math/e_sqrtl.c: Likewise.
23220 * math/fclrexcpt.c: Likewise.
23221 * math/fedisblxcpt.c: Likewise.
23222 * math/feenablxcpt.c: Likewise.
23223 * math/fegetenv.c: Likewise.
23224 * math/fegetexcept.c: Likewise.
23225 * math/fegetround.c: Likewise.
23226 * math/feholdexcpt.c: Likewise.
23227 * math/fesetenv.c: Likewise.
23228 * math/fesetround.c: Likewise.
23229 * math/feupdateenv.c: Likewise.
23230 * math/fgetexcptflg.c: Likewise.
23231 * math/fraiseexcpt.c: Likewise.
23232 * math/fsetexcptflg.c: Likewise.
23233 * math/ftestexcept.c: Likewise.
23234 * math/k_cosl.c: Likewise.
23235 * math/k_rem_pio2l.c: Likewise.
23236 * math/k_sinl.c: Likewise.
23237 * math/k_tanl.c: Likewise.
23238 * math/s_asinhl.c: Likewise.
23239 * math/s_atanl.c: Likewise.
23240 * math/s_cbrtl.c: Likewise.
23241 * math/s_erfl.c: Likewise.
23242 * math/s_expm1l.c: Likewise.
23243 * math/s_log1pl.c: Likewise.
23244 * math/s_tanhl.c: Likewise.
23245 * misc/acct.c: Likewise.
23246 * misc/brk.c: Likewise.
23247 * misc/chflags.c: Likewise.
23248 * misc/chroot.c: Likewise.
23249 * misc/fchflags.c: Likewise.
23250 * misc/fgetxattr.c: Likewise.
23251 * misc/flistxattr.c: Likewise.
23252 * misc/fremovexattr.c: Likewise.
23253 * misc/fsetxattr.c: Likewise.
23254 * misc/fsync.c: Likewise.
23255 * misc/ftruncate.c: Likewise.
23256 * misc/futimes.c: Likewise.
23257 * misc/futimesat.c: Likewise.
23258 * misc/getdomain.c: Likewise.
23259 * misc/getdtsz.c: Likewise.
23260 * misc/gethostid.c: Likewise.
23261 * misc/gethostname.c: Likewise.
23262 * misc/getloadavg.c: Likewise.
23263 * misc/getpagesize.c: Likewise.
23264 * misc/getsysstats.c: Likewise.
23265 * misc/getxattr.c: Likewise.
23266 * misc/gtty.c: Likewise.
23267 * misc/ioctl.c: Likewise.
23268 * misc/lgetxattr.c: Likewise.
23269 * misc/listxattr.c: Likewise.
23270 * misc/llistxattr.c: Likewise.
23271 * misc/lremovexattr.c: Likewise.
23272 * misc/lsetxattr.c: Likewise.
23273 * misc/lutimes.c: Likewise.
23274 * misc/madvise.c: Likewise.
23275 * misc/mincore.c: Likewise.
23276 * misc/mlock.c: Likewise.
23277 * misc/mlockall.c: Likewise.
23278 * misc/mmap.c: Likewise.
23279 * misc/mprotect.c: Likewise.
23280 * misc/msync.c: Likewise.
23281 * misc/munlock.c: Likewise.
23282 * misc/munlockall.c: Likewise.
23283 * misc/munmap.c: Likewise.
23284 * misc/preadv.c: Likewise.
23285 * misc/preadv64.c: Likewise.
23286 * misc/ptrace.c: Likewise.
23287 * misc/pwritev.c: Likewise.
23288 * misc/pwritev64.c: Likewise.
23289 * misc/readv.c: Likewise.
23290 * misc/reboot.c: Likewise.
23291 * misc/remap_file_pages.c: Likewise.
23292 * misc/removexattr.c: Likewise.
23293 * misc/revoke.c: Likewise.
23294 * misc/select.c: Likewise.
23295 * misc/setdomain.c: Likewise.
23296 * misc/setegid.c: Likewise.
23297 * misc/seteuid.c: Likewise.
23298 * misc/sethostid.c: Likewise.
23299 * misc/sethostname.c: Likewise.
23300 * misc/setregid.c: Likewise.
23301 * misc/setreuid.c: Likewise.
23302 * misc/setxattr.c: Likewise.
23303 * misc/sstk.c: Likewise.
23304 * misc/stty.c: Likewise.
23305 * misc/swapoff.c: Likewise.
23306 * misc/swapon.c: Likewise.
23307 * misc/sync.c: Likewise.
23308 * misc/syncfs.c: Likewise.
23309 * misc/syscall.c: Likewise.
23310 * misc/truncate.c: Likewise.
23311 * misc/ualarm.c: Likewise.
23312 * misc/usleep.c: Likewise.
23313 * misc/ustat.c: Likewise.
23314 * misc/utimes.c: Likewise.
23315 * misc/vhangup.c: Likewise.
23316 * misc/writev.c: Likewise.
23317 * posix/_exit.c: Likewise.
23318 * posix/alarm.c: Likewise.
23319 * posix/execve.c: Likewise.
23320 * posix/fexecve.c: Likewise.
23321 * posix/fork.c: Likewise.
23322 * posix/fpathconf.c: Likewise.
23323 * posix/getaddrinfo.c: Likewise.
23324 * posix/getegid.c: Likewise.
23325 * posix/geteuid.c: Likewise.
23326 * posix/getgid.c: Likewise.
23327 * posix/getgroups.c: Likewise.
23328 * posix/getlogin.c: Likewise.
23329 * posix/getlogin_r.c: Likewise.
23330 * posix/getpgid.c: Likewise.
23331 * posix/getpid.c: Likewise.
23332 * posix/getppid.c: Likewise.
23333 * posix/getresgid.c: Likewise.
23334 * posix/getresuid.c: Likewise.
23335 * posix/getsid.c: Likewise.
23336 * posix/getuid.c: Likewise.
23337 * posix/glob64.c: Likewise.
23338 * posix/nanosleep.c: Likewise.
23339 * posix/pathconf.c: Likewise.
23340 * posix/pause.c: Likewise.
23341 * posix/posix_madvise.c: Likewise.
23342 * posix/pread.c: Likewise.
23343 * posix/pread64.c: Likewise.
23344 * posix/pwrite.c: Likewise.
23345 * posix/pwrite64.c: Likewise.
23346 * posix/sched_getaffinity.c: Likewise.
23347 * posix/sched_getp.c: Likewise.
23348 * posix/sched_gets.c: Likewise.
23349 * posix/sched_primax.c: Likewise.
23350 * posix/sched_primin.c: Likewise.
23351 * posix/sched_rr_gi.c: Likewise.
23352 * posix/sched_setaffinity.c: Likewise.
23353 * posix/sched_setp.c: Likewise.
23354 * posix/sched_sets.c: Likewise.
23355 * posix/sched_yield.c: Likewise.
23356 * posix/setgid.c: Likewise.
23357 * posix/setlogin.c: Likewise.
23358 * posix/setpgid.c: Likewise.
23359 * posix/setresgid.c: Likewise.
23360 * posix/setresuid.c: Likewise.
23361 * posix/setsid.c: Likewise.
23362 * posix/setuid.c: Likewise.
23363 * posix/sleep.c: Likewise.
23364 * posix/spawni.c: Likewise.
23365 * posix/sysconf.c: Likewise.
23366 * posix/times.c: Likewise.
23367 * posix/wait.c: Likewise.
23368 * posix/wait3.c: Likewise.
23369 * posix/wait4.c: Likewise.
23370 * posix/waitpid.c: Likewise.
23371 * resolv/gai_sigqueue.c: Likewise.
23372 * resource/getpriority.c: Likewise.
23373 * resource/getrlimit.c: Likewise.
23374 * resource/getrusage.c: Likewise.
23375 * resource/nice.c: Likewise.
23376 * resource/setpriority.c: Likewise.
23377 * resource/setrlimit.c: Likewise.
23378 * resource/ulimit.c: Likewise.
23379 * rt/aio_cancel.c: Likewise.
23380 * rt/aio_fsync.c: Likewise.
23381 * rt/aio_read.c: Likewise.
23382 * rt/aio_sigqueue.c: Likewise.
23383 * rt/aio_suspend.c: Likewise.
23384 * rt/aio_write.c: Likewise.
23385 * rt/clock_getres.c: Likewise.
23386 * rt/clock_gettime.c: Likewise.
23387 * rt/clock_nanosleep.c: Likewise.
23388 * rt/clock_settime.c: Likewise.
23389 * rt/lio_listio.c: Likewise.
23390 * rt/mq_close.c: Likewise.
23391 * rt/mq_getattr.c: Likewise.
23392 * rt/mq_notify.c: Likewise.
23393 * rt/mq_open.c: Likewise.
23394 * rt/mq_receive.c: Likewise.
23395 * rt/mq_send.c: Likewise.
23396 * rt/mq_setattr.c: Likewise.
23397 * rt/mq_timedreceive.c: Likewise.
23398 * rt/mq_timedsend.c: Likewise.
23399 * rt/mq_unlink.c: Likewise.
23400 * rt/shm_open.c: Likewise.
23401 * rt/shm_unlink.c: Likewise.
23402 * rt/timer_create.c: Likewise.
23403 * rt/timer_delete.c: Likewise.
23404 * rt/timer_getoverr.c: Likewise.
23405 * rt/timer_gettime.c: Likewise.
23406 * rt/timer_settime.c: Likewise.
23407 * setjmp/__longjmp.c: Likewise.
23408 * setjmp/setjmp.c: Likewise.
23409 * signal/kill.c: Likewise.
23410 * signal/killpg.c: Likewise.
23411 * signal/raise.c: Likewise.
23412 * signal/sigaction.c: Likewise.
23413 * signal/sigaltstack.c: Likewise.
23414 * signal/sigblock.c: Likewise.
23415 * signal/sigignore.c: Likewise.
23416 * signal/sigintr.c: Likewise.
23417 * signal/signal.c: Likewise.
23418 * signal/sigpause.c: Likewise.
23419 * signal/sigpending.c: Likewise.
23420 * signal/sigqueue.c: Likewise.
23421 * signal/sigreturn.c: Likewise.
23422 * signal/sigset.c: Likewise.
23423 * signal/sigsetmask.c: Likewise.
23424 * signal/sigstack.c: Likewise.
23425 * signal/sigsuspend.c: Likewise.
23426 * signal/sigtimedwait.c: Likewise.
23427 * signal/sigvec.c: Likewise.
23428 * signal/sigwait.c: Likewise.
23429 * signal/sigwaitinfo.c: Likewise.
23430 * signal/sysv_signal.c: Likewise.
23431 * socket/accept.c: Likewise.
23432 * socket/accept4.c: Likewise.
23433 * socket/bind.c: Likewise.
23434 * socket/connect.c: Likewise.
23435 * socket/getpeername.c: Likewise.
23436 * socket/getsockname.c: Likewise.
23437 * socket/getsockopt.c: Likewise.
23438 * socket/isfdtype.c: Likewise.
23439 * socket/listen.c: Likewise.
23440 * socket/recv.c: Likewise.
23441 * socket/recvfrom.c: Likewise.
23442 * socket/recvmsg.c: Likewise.
23443 * socket/send.c: Likewise.
23444 * socket/sendmsg.c: Likewise.
23445 * socket/sendto.c: Likewise.
23446 * socket/setsockopt.c: Likewise.
23447 * socket/shutdown.c: Likewise.
23448 * socket/sockatmark.c: Likewise.
23449 * socket/socket.c: Likewise.
23450 * socket/socketpair.c: Likewise.
23451 * stdio-common/ctermid.c: Likewise.
23452 * stdio-common/cuserid.c: Likewise.
23453 * stdio-common/remove.c: Likewise.
23454 * stdio-common/rename.c: Likewise.
23455 * stdio-common/renameat.c: Likewise.
23456 * stdio-common/tempname.c: Likewise.
23457 * stdlib/getcontext.c: Likewise.
23458 * stdlib/makecontext.c: Likewise.
23459 * stdlib/setcontext.c: Likewise.
23460 * stdlib/swapcontext.c: Likewise.
23461 * stdlib/system.c: Likewise.
23462 * streams/fattach.c: Likewise.
23463 * streams/fdetach.c: Likewise.
23464 * streams/getmsg.c: Likewise.
23465 * streams/getpmsg.c: Likewise.
23466 * streams/putmsg.c: Likewise.
23467 * streams/putpmsg.c: Likewise.
23468 * sysdeps/unix/bsd/getpt.c: Likewise.
23469 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23470 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23471 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23474 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23475 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23476 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23477 * sysvipc/msgctl.c: Likewise.
23478 * sysvipc/msgget.c: Likewise.
23479 * sysvipc/msgrcv.c: Likewise.
23480 * sysvipc/msgsnd.c: Likewise.
23481 * sysvipc/semctl.c: Likewise.
23482 * sysvipc/semget.c: Likewise.
23483 * sysvipc/semop.c: Likewise.
23484 * sysvipc/semtimedop.c: Likewise.
23485 * sysvipc/shmat.c: Likewise.
23486 * sysvipc/shmctl.c: Likewise.
23487 * sysvipc/shmdt.c: Likewise.
23488 * sysvipc/shmget.c: Likewise.
23489 * termios/tcdrain.c: Likewise.
23490 * termios/tcflow.c: Likewise.
23491 * termios/tcflush.c: Likewise.
23492 * termios/tcgetattr.c: Likewise.
23493 * termios/tcgetpgrp.c: Likewise.
23494 * termios/tcsendbrk.c: Likewise.
23495 * termios/tcsetattr.c: Likewise.
23496 * termios/tcsetpgrp.c: Likewise.
23497 * time/adjtime.c: Likewise.
23498 * time/clock.c: Likewise.
23499 * time/getitimer.c: Likewise.
23500 * time/gettimeofday.c: Likewise.
23501 * time/setitimer.c: Likewise.
23502 * time/settimeofday.c: Likewise.
23503 * time/stime.c: Likewise.
23504 * time/time.c: Likewise.
23506 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23508 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23511 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23513 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23515 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23519 FE_TONEAREST before applying Dekker multiplication and Knuth
23520 addition. Clear inexact exceptions and check for exact zero
23521 results afterwards.
23522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23523 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23524 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23525 * math/libm-test.inc (fma_test): Add more tests.
23526 (fma_test_towardzero): Likewise.
23527 (fma_test_downward): Likewise.
23528 (fma_test_upward): Likewise.
23529 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23531 (libc_fesetround): New macro.
23532 (libc_fesetroundf): Likewise.
23533 (libc_fesetroundl): Likewise.
23534 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23536 (libc_fesetround_387): Likewise.
23537 (libc_fesetroundf): New macro.
23538 (libc_fesetround): Likewise.
23539 (libc_fesetroundl): Likewise.
23540 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23542 (libc_fesetroundf): New macro.
23543 (libc_fesetround): Likewise.
23544 (libc_fesetroundl): Likewise.
23545 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23546 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23547 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23549 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23550 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23552 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23553 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23555 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23559 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23560 integer constant usable in #if and use that to give value to enum
23562 (FE_DIVBYZERO): Likewise.
23563 (FE_UNDERFLOW): Likewise.
23564 (FE_OVERFLOW): Likewise.
23565 (FE_INVALID): Likewise.
23566 (FE_INVALID_SNAN): Likewise.
23567 (FE_INVALID_ISI): Likewise.
23568 (FE_INVALID_IDI): Likewise.
23569 (FE_INVALID_ZDZ): Likewise.
23570 (FE_INVALID_IMZ): Likewise.
23571 (FE_INVALID_COMPARE): Likewise.
23572 (FE_INVALID_SOFTWARE): Likewise.
23573 (FE_INVALID_SQRT): Likewise.
23574 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23575 (FE_TONEAREST): Likewise.
23576 (FE_TOWARDZERO): Likewise.
23577 (FE_UPWARD): Likewise.
23578 (FE_DOWNWARD): Likewise.
23579 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23580 (FE_DIVBYZERO): Likewise.
23581 (FE_OVERFLOW): Likewise.
23582 (FE_UNDERFLOW): Likewise.
23583 (FE_INEXACT): Likewise.
23584 (FE_TONEAREST): Likewise.
23585 (FE_DOWNWARD): Likewise.
23586 (FE_UPWARD): Likewise.
23587 (FE_TOWARDZERO): Likewise.
23588 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23589 (FE_UNDERFLOW): Likewise.
23590 (FE_OVERFLOW): Likewise.
23591 (FE_DIVBYZERO): Likewise.
23592 (FE_INVALID): Likewise.
23593 (FE_TONEAREST): Likewise.
23594 (FE_TOWARDZERO): Likewise.
23595 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23596 (FE_OVERFLOW): Likewise.
23597 (FE_UNDERFLOW): Likewise.
23598 (FE_DIVBYZERO): Likewise.
23599 (FE_INEXACT): Likewise.
23600 (FE_TONEAREST): Likewise.
23601 (FE_TOWARDZERO): Likewise.
23602 (FE_UPWARD): Likewise.
23603 (FE_DOWNWARD): Likewise.
23604 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23605 (FE_DIVBYZERO): Likewise.
23606 (FE_OVERFLOW): Likewise.
23607 (FE_UNDERFLOW): Likewise.
23608 (FE_INEXACT): Likewise.
23609 (FE_TONEAREST): Likewise.
23610 (FE_DOWNWARD): Likewise.
23611 (FE_UPWARD): Likewise.
23612 (FE_TOWARDZERO): Likewise.
23614 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23616 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23618 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23620 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23621 commands. Quote $PWD.
23622 (blacklist_exports): Don't use remove_newlines. Replace "declare
23624 (remove_newlines): Remove.
23626 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23628 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23629 * stdlib/stdlib.h (atof): Moved to ...
23630 * include/bits/stdlib-float.h: Here. New file.
23631 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23632 * stdlib/bits/stdlib-float.h: New file.
23633 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23635 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23638 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23640 * conform/conformtest.pl (@headers): Add fenv.h.
23641 * conform/data/fenv.h-data: New file.
23642 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23643 include of <math/fenv.h>.
23645 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23646 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23647 && !UNIX98]. Enables tests for XOPEN2K8.
23648 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23649 POSIX2008]: Likewise.
23651 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23652 (struct rusage): Do not expect type or its members.
23655 * math/math.h (FP_NAN): Define macro to integer constant usable in
23656 #if and use that to give value to enum constant.
23657 (FP_INFINITE): Likewise.
23658 (FP_ZERO): Likewise.
23659 (FP_SUBNORMAL): Likewise.
23660 (FP_NORMAL): Likewise.
23662 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23664 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23665 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23668 2012-11-02 Roland McGrath <roland@hack.frob.com>
23670 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23671 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23672 autoconf-time if not.
23673 * configure.in: Remove AC_PREREQ.
23675 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23677 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23678 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23679 of the internal implementation.
23681 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23683 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23684 except include of <misc/sys/syslog.h>.
23686 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23689 function returns with a NULL context exit with zero.
23691 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23693 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23695 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23697 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23698 (run_program_cmd): This.
23699 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23700 (tst_langinfo): New variable. Use it.
23702 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23704 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23705 floating point opcodes.
23707 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23709 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23712 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23714 * sysdeps/mach/hurd/powerpc: Remove directory.
23715 * sysdeps/mach/powerpc: Likewise.
23717 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23719 * scripts/check-local-headers.sh: Ignore c++ headers.
23721 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23723 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23724 __libc_cleanup_region_start argument.
23726 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23731 x * y using scaling, not as x * y + z.
23732 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23733 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23734 * math/libm-test.inc (fma_test): Add more tests.
23735 (fma_test_towardzero): Likewise.
23736 (fma_test_downward): Likewise.
23737 (fma_test_upward): Likewise.
23739 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23741 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23743 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23745 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23748 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23750 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23752 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23759 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23762 Fix the order of the list for glibc 2.17.
23763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23766 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23770 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23773 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23774 for low part of x being zero before using __atanl (y).
23775 * math/libm-test.inc (atan2_test): Add another test.
23777 * manual/install.texi (Configuring and compiling): Document
23778 general use of test-wrapper and test-wrapper-env.
23779 * INSTALL: Regenerated.
23781 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23782 (__fma): Do not extract and scale down low bits on after-rounding
23783 systems when result rounded to normal precision would have normal
23785 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23786 (__fmal): Do not extract and scale down low bits on after-rounding
23787 systems when result rounded to normal precision would have normal
23789 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23790 (__fmal): Do not extract and scale down low bits on after-rounding
23791 systems when result rounded to normal precision would have normal
23793 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23795 (fma_test): Add more tests.
23796 (fma_test_towardzero): Likewise.
23797 (fma_test_downward): Likewise.
23798 (fma_test_upward): Likewise.
23800 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23802 * sysdeps/i386/tininess.h: Renamed to ...
23803 * sysdeps/x86/tininess.h: This.
23804 * sysdeps/x86_64/tininess.h: Removed.
23806 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23808 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23809 input. Use $(build-program-cmd).
23810 ($(objpfx)tst-array1-static.out): Likewise.
23811 ($(objpfx)tst-array2.out): Likewise.
23812 ($(objpfx)tst-array3.out): Likewise.
23813 ($(objpfx)tst-array4.out): Likewise.
23814 ($(objpfx)tst-array5.out): Likewise.
23815 ($(objpfx)tst-array5-static.out): Likewise.
23817 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23819 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23822 * nss/nsswitch.h (nss_interface_function): Provide new
23823 macro for use with NSS functions.
23824 * grp/initgroups.c: Use new macro.
23825 * nss/getXXbyYY.c: Likewise.
23826 * nss/getXXbyYY_r.c: Likewise.
23827 * nss/getXXent.c: Likewise.
23828 * nss/getXXent_r.c: Likewise.
23829 * sysdeps/posix/getaddrinfo.c: Likewise.
23831 2012-10-30 Andreas Jaeger <aj@suse.de>
23833 * po/ru.po: Update Russion translation from translation project.
23835 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23840 result and shift together with sticky bit instead of replicating
23841 round-to-nearest rounding.
23842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23843 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23844 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23845 missing underflow exceptions.
23846 (fma_test_towardzero): Add more tests.
23847 (fma_test_downward): Likewise.
23848 (fma_test_upward): Likewise.
23851 * sysdeps/generic/tininess.h: New file.
23852 * sysdeps/i386/tininess.h: Likewise.
23853 * sysdeps/sh/tininess.h: Likewise.
23854 * sysdeps/x86_64/tininess.h: Likewise.
23855 * stdlib/tst-strtod-underflow.c: Likewise.
23856 * stdlib/tst-tininess.c: Likewise.
23857 * stdlib/strtod_l.c: Include <tininess.h>.
23858 (round_and_return): Do not set errno for exact underflow cases.
23859 Force an underflow exception when setting errno for underflow.
23860 Determine underflow based on rounding to normal precision if
23861 TININESS_AFTER_ROUNDING.
23862 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23863 ERANGE for exact underflow cases.
23864 * stdlib/Makefile (tests): Add tst-tininess and
23865 tst-strtod-underflow.
23866 ($(objpfx)tst-tininess): Use $(link-libm).
23867 ($(objpfx)tst-strtod-underflow): Likewise.
23869 2012-10-30 Andreas Jaeger <aj@suse.de>
23872 * elf/Makefile (tests): Remove conditional for have-initfini-array
23873 since this is now always required and the variable does not exist
23875 (tests-static): Likewise.
23876 (modules-names): Likewise.
23878 * po/eo.po: Add Esperanto translation from translation project.
23880 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23881 merged with constructor/destructor.
23882 (init_array): Likewise.
23883 * elf/tst-array2dep.c (fini_array): Likewise.
23884 (init_array): Likewise.
23886 2012-10-29 Mike Frysinger <vapier@gentoo.org>
23888 * manual/message.texi: Delete @cartouche tags.
23890 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23892 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23894 * sysdeps/mach/hurd/fsync.c: Likewise.
23896 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23897 [_POSIX_REALTIME_SIGNALS]: Change condition to
23898 [_POSIX_REALTIME_SIGNALS > 0].
23900 2012-10-27 Andreas Jaeger <aj@suse.de>
23902 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23903 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23905 [__WORDSIZE != 64]: Likewise.
23907 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23909 * iconvdata/tst-table.sh: Remove ${SHELL}.
23910 * iconvdata/tst-tables.sh: Likewise.
23912 2012-10-25 David S. Miller <davem@davemloft.net>
23914 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23915 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23918 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23920 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23921 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23922 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23925 2012-10-25 Roland McGrath <roland@hack.frob.com>
23927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23928 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23931 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23932 Jim Blandy <jimb@codesourcery.com>
23934 * scripts/cross-test-ssh.sh: New file.
23935 * manual/install.texi (Configuring and compiling): Document use of
23937 * INSTALL: Regenerated.
23939 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23941 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23944 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23946 * Makeconfig (run-program-prefix): Fix comment.
23948 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23949 Jim Blandy <jimb@codesourcery.com>
23951 * Makeconfig (test-wrapper): New variable,
23952 (test-wrapper-env): Likewise.
23953 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23954 (run-built-tests): Define to yes.
23955 (run-program-prefix): Use $(test-wrapper).
23956 (built-program-cmd): Likewise.
23957 * Rules (make-test-out): Use $(test-wrapper-env) and
23958 $(host-built-program-cmd).
23959 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23960 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23962 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23963 $(test-wrapper-env) to tst-rtld-load-self.sh.
23964 ($(objpfx)order2.out): Use $(test-wrapper).
23965 ($(objpfx)tst-initorder.out): Likewise.
23966 ($(objpfx)tst-initorder2.out): Likewise.
23967 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23968 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23969 (test_wrapper_env): New variable. Use it to run ld.so.
23970 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23971 Use it to run ld.so.
23972 (test_wrapper_env): Likewise.
23973 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23974 $(test-wrapper) to run-iconv-test.sh.
23975 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23976 (ICONV): Use $test_wrapper.
23977 * posix/Makefile ($(objpfx)globtest.out): Pass
23978 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23979 globtest.sh, not $(run-program-prefix).
23980 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23981 (test_wrapper): Likewise.
23982 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23983 set together with run_via_rtld_prefix.
23984 (run_program_prefix): Define in terms of test_wrapper and
23985 run_via_rtld_prefix.
23987 2012-10-24 Roland McGrath <roland@hack.frob.com>
23989 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23990 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23994 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23995 Declare __clock_getres, __clock_gettime, __clock_settime,
23996 __clock_nanosleep, and __clock_getcpuclockid.
23997 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23998 Remove librt_hidden_def (clock_gettime).
23999 * sysdeps/unix/clock_gettime.c: Likewise.
24000 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24001 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24002 * rt/clock_getres.c: Define __clock_getres as an alias.
24003 * sysdeps/posix/clock_getres.c: Likewise.
24004 * rt/clock_settime.c: Define __clock_settime as an alias.
24005 * sysdeps/unix/clock_settime.c: Likewise.
24006 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24007 * sysdeps/unix/clock_nanosleep.c: Likewise.
24008 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24009 * rt/clock-compat.c: New file.
24010 * rt/Makefile (librt-routines): Add clock-compat and move
24011 $(clock-routines) to ...
24012 (routines): ... here, new variable.
24013 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24014 Don't add get_clockfreq here.
24015 * rt/Versions (libc: GLIBC_2.17): New version set.
24016 Add clock_* symbols here.
24017 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24018 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24019 (GLIBC_2.17): Add clock_* symbols.
24020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24031 * NEWS: Mention the move.
24033 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24034 Use __open, __read, __close rather than their public counterparts.
24035 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24036 (__get_clockfreq_via_cpuinfo): Likewise.
24037 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24038 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24040 * config.h.in (HAVE_IFUNC): New #undef.
24041 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24043 * configure: Regenerated.
24045 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24047 * configure.in: Move READELF check to start of file.
24048 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24049 libc_cv_asm_gnu_indirect_function in the process.
24050 * configure: Regenerated.
24052 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24054 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24055 send the output to /dev/null.
24056 (libc_cv_cc_with_libunwind): Likewise.
24057 (libc_cv_as_noexecstack): Likewise.
24058 * configure: Regenerate.
24060 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24062 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24064 * posix/globtest.sh (TMPDIR): Do not set.
24065 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24066 (testout): Likewise.
24068 2012-10-24 Andreas Jaeger <aj@suse.de>
24070 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24071 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24072 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24073 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24074 posix_fadvise64, posix_fallocate64.
24076 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24077 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24078 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24080 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24082 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24085 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24086 <bits/fcntl-linux.h>.
24087 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24089 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24090 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24091 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24092 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24093 [__WORDSIZE != 64]: Likewise.
24095 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24097 * Makeconfig (run-built-tests): New variable.
24098 * Rules [$(cross-compiling) = yes]: Change condition to
24099 [$(run-built-tests) = no].
24100 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24101 to [$(run-built-tests) = yes].
24102 * elf/Makefile [$(cross-compiling) = no]: Likewise
24103 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24104 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24105 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24106 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24107 * io/Makefile [$(cross-compiling) = no]: Likewise.
24108 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24109 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24110 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24111 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24112 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24113 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24114 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24115 * string/Makefile [$(cross-compiling) = no]: Likewise.
24117 * posix/Makefile ($(objpfx)globtest.out): Pass
24118 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24119 $(rtld-installed-name).
24120 * posix/globtest.sh (elf_objpfx): Remove variable.
24121 (rtld_installed_name): Likewise.
24122 (library_path): Likewise.
24123 (run_program_prefix): New variable. Use for running globtest
24126 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24127 Joseph Myers <joseph@codesourcery.com>
24129 * Makeconfig (host-built-program-cmd): New variable.
24130 * elf/Makefile (tst-stackguard1-ARGS): Use
24131 $(host-built-program-cmd).
24132 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24133 (tst-spawn-ARGS): Likewise.
24134 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24136 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24137 Jim Blandy <jimb@codesourcery.com>
24139 * Makeconfig (run-via-rtld-prefix): New variable.
24140 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24141 (built-program-cmd): Likewise.
24143 2012-10-22 Andreas Jaeger <aj@suse.de>
24145 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24146 __O_RSYNC if it exists, otherwise to O_SYNC.
24148 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24149 Joseph Myers <joseph@codesourcery.com>
24151 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24153 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24155 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24158 2012-10-22 Andreas Jaeger <aj@suse.de>
24160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24165 bits/fcntl-linux.h.
24167 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24168 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24172 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24175 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24176 Joseph Myers <joseph@codesourcery.com>
24178 * config.make.in (NM): New variable.
24180 2012-10-21 Andreas Jaeger <aj@suse.de>
24182 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24183 definitions and declarations that are provided by
24184 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24186 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24189 * elf/Makefile (tests-static): Add tst-leaks1-static.
24190 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24191 ($(objpfx)tst-leaks1-static): New rule.
24192 ($(objpfx)tst-leaks1-static-mem): Likewise.
24193 (tst-leaks1-static-ENV): New macro.
24194 * elf/dl-open.c (dl_open_worker): Check the main application
24195 only if SHARED is defined.
24196 * elf/tst-leaks1-static.c: New file.
24198 2012-10-20 Andreas Jaeger <aj@suse.de>
24200 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24201 generic values for Linux.
24202 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24203 and declarations that are provided by <bits/fcntl-linux.h> and
24204 include <bits/fcntl-linux.h>.
24205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24206 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24208 2012-10-20 Roland McGrath <roland@hack.frob.com>
24210 * io/fcntl.h: Move include of <bits/types.h> to the top and
24211 include it unconditionally.
24213 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24215 * wcsmbs/Makefile (tests-ifunc): New variable.
24216 (tests): Add $(tests-ifunc).
24217 * wcsmbs/test-wcschr-ifunc.c: New file.
24218 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24219 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24220 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24221 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24222 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24224 * string/Makefile (tests-ifunc): New variable.
24225 (tests): Add $(tests-ifunc).
24226 * string/test-memccpy.c (TEST_NAME): New macro.
24227 * string/test-memchr.c (TEST_NAME): Likewise.
24228 * string/test-memcmp.c (TEST_NAME): Likewise.
24229 * string/test-memcpy.c (TEST_NAME): Likewise.
24230 * string/test-memmem.c (TEST_NAME): Likewise.
24231 * string/test-memmove.c (TEST_NAME): Likewise.
24232 * string/test-memset.c (TEST_NAME): Likewise.
24233 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24234 * string/test-stpcpy.c (TEST_NAME): Likewise.
24235 * string/test-stpncpy.c (TEST_NAME): Likewise.
24236 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24237 * string/test-strcasestr.c (TEST_NAME): Likewise.
24238 * string/test-strcat.c (TEST_NAME): Likewise.
24239 * string/test-strchr.c (TEST_NAME): Likewise.
24240 * string/test-strcmp.c(TEST_NAME): Likewise.
24241 * string/test-strcpy.c (TEST_NAME): Likewise.
24242 * string/test-strcspn.c (TEST_NAME): Likewise.
24243 * string/test-strlen.c (TEST_NAME): Likewise.
24244 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24245 * string/test-strncmp.c (TEST_NAME): Likewise.
24246 * string/test-strncpy.c (TEST_NAME): Likewise.
24247 * string/test-strnlen.c (TEST_NAME): Likewise.
24248 * string/test-strpbrk.c (TEST_NAME): Likewise.
24249 * string/test-strrchr.c (TEST_NAME): Likewise.
24250 * string/test-strspn.c (TEST_NAME): Likewise.
24251 * string/test-strstr.c (TEST_NAME): Likewise.
24252 * string/test-bcopy-ifunc.c: New file.
24253 * string/test-bzero-ifunc.c: Likewise.
24254 * string/test-memccpy-ifunc.c: Likewise.
24255 * string/test-memchr-ifunc.c: Likewise.
24256 * string/test-memcmp-ifunc.c: Likewise.
24257 * string/test-memcpy-ifunc.c: Likewise.
24258 * string/test-memmem-ifunc.c: Likewise.
24259 * string/test-memmove-ifunc.c: Likewise.
24260 * string/test-mempcpy-ifunc.c: Likewise.
24261 * string/test-memset-ifunc.c: Likewise.
24262 * string/test-rawmemchr-ifunc.c: Likewise.
24263 * string/test-stpcpy-ifunc.c: Likewise.
24264 * string/test-stpncpy-ifunc.c: Likewise.
24265 * string/test-strcasecmp-ifunc.c: Likewise.
24266 * string/test-strcasestr-ifunc.c: Likewise.
24267 * string/test-strcat-ifunc.c: Likewise.
24268 * string/test-strchr-ifunc.c: Likewise.
24269 * string/test-strchrnul-ifunc.c: Likewise.
24270 * string/test-strcmp-ifunc.c: Likewise.
24271 * string/test-strcpy-ifunc.c: Likewise.
24272 * string/test-strcspn-ifunc.c: Likewise.
24273 * string/test-strlen-ifunc.c: Likewise.
24274 * string/test-strncasecmp-ifunc.c: Likewise.
24275 * string/test-strncat-ifunc.c: Likewise.
24276 * string/test-strncmp-ifunc.c: Likewise.
24277 * string/test-strncpy-ifunc.c: Likewise.
24278 * string/test-strnlen-ifunc.c: Likewise.
24279 * string/test-strpbrk-ifunc.c: Likewise.
24280 * string/test-strrchr-ifunc.c: Likewise.
24281 * string/test-strspn-ifunc.c: Likewise.
24282 * string/test-strstr-ifunc.c: Likewise.
24284 * debug/Makefile (tests-ifunc): New variable.
24285 (tests): Add $(tests-ifunc).
24286 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24287 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24288 * debug/test-stpcpy_chk-ifunc.c: New file.
24289 * debug/test-strcpy_chk-ifunc.c: Likewise.
24291 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24294 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24295 header is not read in.
24297 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24299 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24300 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24301 directly. Pass built executable to script as
24302 $(built-program-cmd).
24303 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24304 $testprogram without using LD_LIBRARY_PATH and $ldso.
24306 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24307 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24308 $(rtld-installed-name).
24309 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24310 (rtld_installed_name): Likewise.
24311 (library_path): Likewise.
24312 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24313 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24314 $(run-program-prefix) to tst-tables.sh.
24315 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24316 it to run tst-table-from and tst-table-to.
24317 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24318 Pass it to tst-table.sh.
24319 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24320 $(run-program-prefix) to tst-gettext.sh.
24321 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24323 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24325 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24326 to run tst-gettext.
24327 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24328 to run tst-gettext2.
24329 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24330 to run tst-translit.
24331 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24332 $(run-program-prefix) to tst-mtrace.sh.
24333 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24335 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24336 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24337 $(rtld-installed-name).
24338 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24339 (rtld_installed_name): Likewise.
24340 (run_program_prefix): New variable. Use it to run wordexp-test.
24342 * Makeconfig (ARCH): Remove all definitions.
24343 (machine): Likewise.
24344 [ARCH]: Remove conditional code.
24345 [!objdir]: Give error.
24346 [!objdir] (objpfx): Remove.
24347 [!objdir] (common-objpfx): Likewise.
24348 [!objdir] (common-objdir): Likewise.
24349 * configure.in (config_makefile): Remove. Hardcode Makefile in
24350 AC_CONFIG_FILES call.
24351 * configure: Regenerated.
24354 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24356 (testout): Likewise.
24358 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24359 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24360 $(rtld-installed-name).
24361 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24362 (rtld_installed_name): Likwise.
24363 (runit): Remove function.
24364 (run_getconf): New variable, Use it for running getconf binary.
24366 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24369 * string/test-memmem.c (check_result): New function.
24370 (do_one_test): Use it.
24371 (check1): New function.
24372 (test_main): Use it.
24374 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24376 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24378 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24380 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24381 (_G_LSEEK64): Likewise.
24382 (_G_MMAP64): Likewise.
24383 (_G_FSTAT64): Likewise.
24384 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24385 (_G_LSEEK64): Likewise.
24386 (_G_MMAP64): Likewise.
24387 (_G_FSTAT64): Likewise.
24388 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24389 unconditional. Call __mmap64 directly.
24390 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24391 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24392 __lseek64 directly.
24393 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24394 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24396 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24397 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24398 __lseek64 directly.
24399 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24400 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24401 __lseek64 directly.
24402 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24403 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24404 __lseek64 directly.
24405 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24406 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24407 __fxstat64 directly.
24408 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24409 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24411 (freopen64) [!_G_OPEN64]: Remove conditional code.
24412 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24414 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24415 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24417 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24418 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24420 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24421 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24423 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24424 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24426 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24427 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24429 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24430 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24432 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24434 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24437 * manual/memory.texi (Malloc Tunable Parameters): Add note
24438 about free list pointers overwriting some perturb bytes.
24439 Wording suggested by Roland McGrath.
24441 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24443 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24444 (lgamma_test): Likewise.
24445 (tgamma_test): Likewise.
24447 2012-10-16 Florian Weimer <fweimer@redhat.com>
24450 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24451 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24453 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24455 * NEWS: Mention BZ #14716.
24456 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24457 when removing AVAILABLE1_USES_J macro.
24459 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24461 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24462 (__bswap_64): __uint64_t for unsigned 64-bit int.
24464 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24466 * include/string.h (memmem): Declare libc hidden alias.
24467 * string/memmem.c (memmem): Define libc hidden alias.
24468 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24469 __read, __close instead of open, read, close.
24471 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24473 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24474 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24476 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24477 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24478 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24480 (__rawmemchr_sse2): Likewise.
24481 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24482 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24483 (__strchr_sse2): Likewise.
24484 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24485 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24486 (__strcasecmp_sse2): Likewise.
24487 (__strncasecmp_sse2): Likewise.
24488 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24489 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24490 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24491 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24492 (__strrchr_sse2): Likewise.
24493 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24495 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24496 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24497 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24498 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24499 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24500 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24501 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24502 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24503 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24504 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24505 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24506 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24507 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24508 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24509 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24510 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24511 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24512 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24513 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24514 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24515 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24516 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24517 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24518 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24519 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24520 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24521 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24522 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24523 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24524 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24526 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24528 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24529 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24530 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24531 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24533 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24535 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24536 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24537 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24538 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24540 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24541 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24542 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24543 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24544 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24545 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24546 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24547 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24548 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24549 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24550 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24551 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24552 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24553 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24554 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24555 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24556 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24557 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24558 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24559 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24560 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24561 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24562 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24563 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24564 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24565 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24566 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24567 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24568 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24569 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24570 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24571 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24572 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24573 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24574 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24575 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24576 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24577 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24578 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24579 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24580 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24582 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24583 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24584 * include/ifunc-impl-list.h: New file.
24585 * misc/ifunc-impl-list.c: Likewise.
24586 * misc/Makefile (routines): Add ifunc-impl-list.
24587 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24588 * string/test-string.h: Include <ifunc-impl-list.h>.
24589 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24590 TEST_NAME]: New variables.
24591 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24593 (test_init): Call __libc_ifunc_impl_list to initialize
24594 func_list if TEST_IFUNC and TEST_NAME are defined.
24596 * string/Makefile (strop-tests): Add bcopy and bzero.
24597 * string/test-bcopy.c: New file.
24598 * string/test-bzero.c: Likewise.
24599 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24601 * string/test-memset.c: Support bzero test if TEST_BZERO is
24603 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24605 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24607 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24610 2012-10-10 Joseph Myers <joseph@codesourcery.com>
24612 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24613 * configure: Regenerated.
24615 * Makeconfig (+link-static-before-libc): Don't include
24616 $(link-static-libc).
24618 * libio/libio.h (_IO_pos_t): Remove.
24620 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24622 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24625 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24627 * crypt/crypt-entry.c: Include fips-private.h.
24628 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24629 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24630 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24631 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24633 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24635 * crypt/crypt-private.h: Include stdbool.h.
24636 (_ufc_setup_salt_r): Return bool.
24637 * crypt/crypt-entry.c: Include errno.h.
24638 (__crypt_r): Return NULL with EINVAL for bad salt.
24639 * crypt/crypt_util.c (bad_for_salt): New.
24640 (_ufc_setup_salt_r): Check that salt is long enough and within
24641 the specified alphabet.
24642 * crypt/badsalttest.c: New file.
24643 * crypt/Makefile (tests): Add it.
24644 ($(objpfx)badsalttest): New.
24646 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24648 * NEWS: Add entry for BZ #14602.
24650 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24652 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24654 * math/libm-test.inc: Update comment listing what functions and
24656 (isgreater_test): New function.
24657 (isgreaterequal_test): Likewise.
24658 (isless_test): Likewise.
24659 (islessequal_test): Likewise.
24660 (islessgreater_test): Likewise.
24661 (isunordered_test): Likewise.
24662 (main): Call the new functions.
24664 2012-10-09 Roland McGrath <roland@hack.frob.com>
24666 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24667 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24668 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24669 * sysdeps/i386/configure: Regenerated.
24670 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24671 * sysdeps/mach/configure: Regenerated.
24672 * sysdeps/mach/hurd/configure: Regenerated.
24673 * sysdeps/powerpc/configure: Regenerated.
24674 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24675 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24676 * sysdeps/s390/s390-32/configure: Regenerated.
24677 * sysdeps/s390/s390-64/configure: Regenerated.
24678 * sysdeps/sh/configure: Regenerated.
24679 * sysdeps/sparc/configure: Regenerated.
24680 * sysdeps/unix/sysv/linux/configure: Regenerated.
24681 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24682 * sysdeps/x86_64/configure: Regenerated.
24684 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24685 defined. Don't check if MAP is NULL.
24687 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24689 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24690 (_G_stat64): Likewise.
24691 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24692 (_G_stat64): Likewise.
24693 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24694 instead of struct _G_stat64.
24695 * libio/fileops.c (mmap_remap_check): Likewise.
24696 (decide_maybe_mmap): Likewise.
24697 (_IO_new_file_seekoff): Likewise.
24698 (_IO_file_stat): Likewise.
24699 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24701 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24702 instead of struct _G_stat64.
24703 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24705 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24708 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24710 (CHECK_EOL): New macro.
24711 (two_way_short_needle): Check beginning of haystack for EOL. Use
24713 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24714 Replace with CHECK_EOL.
24715 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24716 Replace with CHECK_EOL.
24718 2012-10-08 Joseph Myers <joseph@codesourcery.com>
24720 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24722 * math/libm-test.inc: Update comment listing what functions and
24724 (finite_test): New function.
24725 (isinf_test): Likewise.
24726 (isnan_test): Likewise.
24727 (fpclassify_test): Test subnormal input.
24728 (isfinite_test): Likewise.
24729 (isnormal_test): Likewise.
24730 (main): Call the new functions.
24732 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24735 * Makerules (%.dynsym): Force C locale when running
24736 $(OBJDUMP) --dynamic-syms.
24738 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24740 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24743 2012-10-06 David S. Miller <davem@davemloft.net>
24745 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24746 upper 32-bits of the length value in %o2 since we use branch-on-register
24747 tests which consider the entire 64-bit register.
24749 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24751 * string/test-strstr.c (check2): Add a test for page boundary.
24753 2012-10-05 David S. Miller <davem@davemloft.net>
24755 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24756 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24758 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24760 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24761 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24762 and bzero when HWCAP_SPARC_CRYPTO is present.
24764 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24767 * string/test-strstr.c (check2): New function.
24768 (test_main): Call check2.
24770 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24772 * string/bug-strcasestr1.c (do_test): Moved to ...
24773 * string/test-strcasestr.c (check1): Here. New function.
24774 (do_one_test): Break out result checking code into ...
24775 (check_result): This. New function.
24776 (do_one_test): Call check_result.
24777 (test_main): Call check1.
24778 * string/bug-strchr1.c (do_test): Moved to ...
24779 * string/test-strchr.c (check1): Here. New function.
24780 (do_one_test): Break out result checking code into ...
24781 (check_result): This. New function.
24782 (do_one_test): Call check_result.
24783 (test_main): Call check1.
24784 * string/bug-strstr1.c (main): Moved to ...
24785 * string/test-strstr.c (check1): Here. New function.
24786 (do_one_test): Break out result checking code into ...
24787 (check_result): This. New function.
24788 (do_one_test): Call check_result.
24789 (test_main): Call check1.
24790 * string/bug-strcasestr1.c: Removed.
24791 * string/bug-strchr1.c: Likewise.
24792 * string/bug-strstr1.c: Likewise.
24794 * elf/Makefile (dl-routines): Add hwcaps.
24795 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24796 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24797 (_dl_important_hwcaps): Moved to ...
24798 * elf/dl-hwcaps.c: Here. New file.
24799 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24802 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24803 if IS_IN_rtld isn't defined.
24805 * elf/dl-support.c (_dl_sysinfo_map): New.
24806 Include "get-dynamic-info.h" and "setup-vdso.h".
24807 (_dl_non_dynamic_init): Call setup_vdso.
24808 * elf/dynamic-link.h: Don't include <assert.h>.
24809 (elf_get_dynamic_info): Moved to ...
24810 * elf/get-dynamic-info.h: Here. New file.
24811 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24812 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24813 * elf/setup-vdso.h: Here. New file.
24814 * elf/rtld.c: Include "setup-vdso.h".
24815 (dl_main): Call setup_vdso.
24817 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24819 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24820 creal in comment listing functions tested. List finite, isinf,
24821 isnan, isless, islessequal, isgreater, isgreaterequal,
24822 islessgreater, isunordered, lgamma_r and pow10 as functions and
24823 macros not tested. Mention which functions not tested are aliases
24824 for other functions. Fix typo. Note that signs of NaNs are not
24827 * scripts/config.guess: Update from config.git.
24828 * scripts/config.sub: Likewise.
24830 2012-10-04 Roland McGrath <roland@hack.frob.com>
24832 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24833 * misc/madvise.c (madvise): Renamed to __madvise.
24834 Make madvise a weak alias.
24835 * include/sys/mman.h: Declare __madvise.
24836 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24837 * sysdeps/unix/syscalls.list
24838 (madvise): Make __madvise the strong name, and madvise a weak alias.
24839 * sysdeps/unix/sysv/linux/syscalls.list
24840 (madvise, mmap): Remove redundant entries.
24841 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24842 * malloc/malloc.c (mtrim): Likewise.
24843 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24845 2012-10-03 Roland McGrath <roland@hack.frob.com>
24847 * sysdeps/mach/hurd/dl-cache.c: File removed.
24848 * config.h.in (USE_LDCONFIG): New #undef.
24849 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24850 * configure: Regenerated.
24851 * elf/Makefile (dl-routines): Add dl-cache only under
24852 [$(use-ldconfig) = yes].
24853 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24854 cache on [USE_LDCONFIG].
24855 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24857 * elf/rtld.c (dl_main): Likewise.
24859 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24861 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24862 _SC_LEVEL4_CACHE_LINESIZE.
24864 2012-10-03 Roland McGrath <roland@hack.frob.com>
24866 * sysdeps/unix/bsd/confstr.h: File removed.
24868 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
24870 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24873 2012-10-02 Roland McGrath <roland@hack.frob.com>
24875 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24876 Make 'mapoff' field ElfW(Off) rather than off_t.
24878 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24880 * nscd/Makefile: Remove nscd-cflags and all its users.
24881 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24882 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24885 * malloc.c (malloc_printerr): Clarify error message.
24887 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24891 Set bit_FMA_Usable if FMA is supported.
24892 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24894 (bit_FMA4_Usable): Updated.
24895 (index_FMA_Usable): New macro.
24896 (CPUID_FMA): Likewise
24897 (HAS_FMA): Defined with bit_FMA_Usable.
24899 2012-10-01 Roland McGrath <roland@hack.frob.com>
24901 * bits/types.h (__swblk_t): Type removed.
24902 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24903 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24905 (__SWBLK_T_TYPE): Likewise.
24906 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24907 (__SWBLK_T_TYPE): Likewise.
24908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24909 (__SWBLK_T_TYPE): Likewise.
24910 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24911 (__SWBLK_T_TYPE): Likewise.
24913 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24914 Honza Horak <hhorak@redhat.com>
24916 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24917 (xdr_mapname): Use YPMAXMAP as maxsize.
24918 (xdr_peername): Use YPMAXPEER as maxsize.
24919 (xdr_keydat): Use YPAXRECORD as maxsize.
24920 (xdr_valdat): Use YPMAXRECORD as maxsize.
24922 2012-10-01 Roland McGrath <roland@hack.frob.com>
24924 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24926 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24927 * csu/init-first.c: ... here.
24928 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24929 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24930 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24931 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24932 * sysdeps/i386/init-first.c: File removed.
24933 * sysdeps/sh/init-first.c: File removed.
24935 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24938 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24939 if x * y might underflow to zero and z is zero.
24940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24941 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24942 * math/libm-test.inc (min_subnorm_value): New variable.
24943 (fma_test): Add more tests.
24944 (fma_test_towardzero): Likewise.
24945 (fma_test_downward): Likewise
24946 (fma_test_upward): Likewise.
24947 (initialize): Set min_subnorm_value.
24949 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24954 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24955 mode for addition resulting in exact zero.
24956 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24959 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24960 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24961 * math/libm-test.inc (fma_test): Add more tests.
24962 (fma_test_towardzero): New function.
24963 (fma_test_downward): Likewise.
24964 (fma_test_upward): Likewise.
24965 (main): Call the new functions.
24967 2012-09-28 David S. Miller <davem@davemloft.net>
24969 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24971 2012-09-28 Roland McGrath <roland@hack.frob.com>
24973 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24974 instead of SIGALRM.
24976 * sysdeps/gnu/_G_config.h: Moved to ...
24977 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24978 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24979 * sysdeps/generic/_G_config.h: ... here.
24981 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24983 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24985 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24986 Conditionalize target on [libnss_test1.so-version].
24988 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24990 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24991 (elfobjdir): Move out of conditionals.
24993 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24994 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24995 (__nss_lookup_function): Conditionalize label remove_from_tree on
24996 [!DO_STATIC_NSS || SHARED], matching its only use.
24998 2012-09-28 David S. Miller <davem@davemloft.net>
25000 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25001 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25003 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25005 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25006 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25007 when HWCAP_SPARC_CRYPTO is present.
25009 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25011 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25013 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25016 * stdio-common/vfprintf.c (process_string_arg): Revert
25019 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25021 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25023 * stdio-common/tst-sprintf.c: Include <locale.h>
25024 (main): Test sprintf's handling of incomplete multibyte
25027 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25029 * elf/dl-runtime.c (VERSYMIDX): Removed.
25030 * elf/dl-version.c (VERSYMIDX): Likewise.
25031 * elf/do-rel.h (VERSYMIDX): Likewise.
25032 (VALIDX): Likewise.
25033 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25034 * elf/rtld.c (VALIDX): Likewise.
25035 (ADDRIDX): Likewise.
25036 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25037 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25038 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25039 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25040 (VALIDX): Likewise.
25041 (ADDRIDX): Likewise.
25043 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25045 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25047 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25050 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25052 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25053 addresses are in the same scope as 192.0.2/24.
25054 * posix/gai.conf: Document new scope table defaults.
25056 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25059 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25060 for ftell. Compute offsets from write pointers instead.
25061 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25063 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25066 * libio/Makefile (tests): New test case tst-fseek.
25067 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25068 combination works in wide mode.
25069 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25070 state when the external buffer state changes.
25072 2012-09-27 David S. Miller <davem@davemloft.net>
25075 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25076 pass reloc->r_addend in as the 'high' argument to
25077 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25081 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25083 * rt/tst-aio2.c: Include <pthread.h>.
25084 * rt/tst-aio3.c: Likewise.
25086 2012-09-27 Steve Ellcey <sellcey@mips.com>
25088 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25090 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25092 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25093 contents on [SHARED].
25095 2012-09-26 Marek Polacek <polacek@redhat.com>
25099 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25100 for C++ and GCC <4.3 as well as for non GCC compilers.
25102 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25106 2012-09-25 Roland McGrath <roland@hack.frob.com>
25108 * Makefile.in (all, install): Declare with .PHONY.
25109 Reported by Michael Hope <michael.hope@linaro.org>.
25111 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25113 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25114 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25116 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25118 (sydep_routines): Add the new and the internal functions.
25119 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25120 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25122 (GLIBC_2.17): Add the new function.
25123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25124 (GLIBC_2.17): Likewise.
25125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25126 (GLIBC_2.17): Likewise.
25127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25128 (GLIBC_2.17): Likewise.
25129 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25131 2012-09-25 Alan Modra <amodra@gmail.com>
25133 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25134 Add release barrier before setting once_control to say
25135 initialisation is done. Add hints on lwarx. Use macro in
25137 (clear_once_control): Add release barrier.
25139 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25142 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25144 * math/s_clog10.c (__clog10): Likewise.
25145 * math/s_clog10f.c (__clog10f): Likewise.
25146 * math/s_clog10l.c (__clog10l): Likewise.
25147 * math/s_clogf.c (__clogf): Likewise.
25148 * math/s_clogl.c (__clogl): Likewise.
25149 * math/Makefile (libm-calls): Add x2y2m1.
25150 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25151 (__x2y2m1): Likewise.
25152 (__x2y2m1l): Likewise.
25153 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25154 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25155 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25156 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25157 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25158 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25159 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25160 * sysdeps/i386/fpu/libm-test-ulps: Update.
25161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25164 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25165 int as type of variable DEPTH.
25166 (glob): Use size_t instead of int as type of variables NEWCOUNT
25169 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25171 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25172 Add s_sincosf-sse2.
25173 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25174 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25175 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25176 macros for using routine as __sincosf_ia32.
25177 Use macro for function declaration and weak_alias.
25178 * sysdeps/i386/fpu/libm-test-ulps: Update.
25180 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25183 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25184 subnormal argument.
25185 * math/s_cexpf.c (__cexpf): Likewise.
25186 * math/s_csinf.c (__csinf): Likewise.
25187 * math/s_csinhf.c (__csinhf): Likewise.
25188 * math/s_ctanf.c (__ctanf): Likewise.
25189 * math/s_ctanhf.c (__ctanhf): Likewise.
25190 * math/s_ccosh.c (__ccoshf): Likewise.
25191 * math/s_cexp.c (__cexpl): Likewise.
25192 * math/s_csin.c (__csin): Likewise.
25193 * math/s_csinh.c (__csinh): Likewise.
25194 * math/s_ctan.c (__ctan): Likewise.
25195 * math/s_ctanh.c (ctanh): Likewise.
25196 * math/s_ccoshl.c (__ccoshl): Likewise.
25197 * math/s_cexpl.c (__cexpl): Likewise.
25198 * math/s_csinl.c (__csinl): Likewise.
25199 * math/s_csinhl.c (__csinhl): Likewise.
25200 * math/s_ctanl.c (__ctanl): Likewise.
25201 * math/s_ctanhl.c (__ctanhl): Likewise.
25203 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25205 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25206 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25207 (_IO_off_t): Define to __off_t, not _G_off_t.
25208 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25209 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25210 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25211 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25212 type of __dummy and __dummy2 fields.
25213 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25214 (_G_ssize_t): Likewise.
25215 (_G_off_t): Likewise.
25216 (_G_pid_t): Likewise.
25217 (_G_uid_t): Likewise.
25218 (_G_wchar_t): Likewise.
25219 (_G_wint_t): Likewise.
25220 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25221 (_G_ssize_t): Likewise.
25222 (_G_off_t): Likewise.
25223 (_G_pid_t): Likewise.
25224 (_G_uid_t): Likewise.
25225 (_G_wchar_t): Likewise.
25226 (_G_wint_t): Likewise.
25227 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25228 (_G_ssize_t): Likewise.
25229 (_G_off_t): Likewise.
25230 (_G_pid_t): Likewise.
25231 (_G_uid_t): Likewise.
25232 (_G_wchar_t): Likewise.
25233 (_G_wint_t): Likewise.
25235 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25237 * malloc/arena.c: Include malloc-sysdep.h.
25238 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25239 is sufficient to shrink the heap or an unmap is needed.
25240 * sysdeps/generic/malloc-sysdep.h: New file. Define
25241 new function check_may_shrink_heap.
25242 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25243 new function check_may_shrink_heap.
25245 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25247 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25250 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25252 * catgets/test-gencat.sh: Add "set -e".
25253 * elf/tst-pathopt.sh: Likewise.
25254 * grp/tst_fgetgrent.sh: Likewise.
25255 * iconvdata/run-iconv-test.sh: Likewise.
25256 * intl/tst-gettext.sh: Likewise.
25257 * intl/tst-gettext2.sh: Likewise.
25258 * intl/tst-gettext4.sh: Likewise.
25259 * intl/tst-gettext6.sh: Likewise.
25260 * intl/tst-translit.sh: Likewise.
25261 * io/ftwtest-sh: Likewise.
25262 * libio/test-freopen.sh: Likewise.
25263 * malloc/tst-mtrace.sh: Likewise.
25264 * posix/globtest.sh: Likewise.
25265 * posix/tst-getconf.sh: Likewise.
25266 * posix/wordexp-tst.sh: Likewise.
25267 * stdio-common/tst-printf.sh: Likewise.
25268 * stdio-common/tst-unbputc.sh: Likewise.
25269 * stdlib/tst-fmtmsg.sh: Likewise.
25270 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25271 * catgets/Makefile: Do not specify -e option when running
25272 testsuite shell scripts.
25273 * elf/Makefile: Likewise.
25274 * grp/Makefile: Likewise.
25275 * iconvdata/Makefile: Likewise.
25276 * intl/Makefile: Likewise.
25277 * io/Makefile: Likewise.
25278 * libio/Makefile: Likewise.
25279 * malloc/Makefile: Likewise.
25280 * posix/Makefile: Likewise.
25281 * stdio-common/Makefile: Likewise.
25282 * stdlib/Makefile: Likewise.
25283 * sysdeps/x86_64/Makefile: Likewise.
25285 * io/ftwtest-sh: Add copyright header.
25286 * posix/globtest.sh: Likewise.
25287 * posix/tst-getconf.sh: Likewise.
25288 * posix/wordexp-tst.sh: Likewise.
25289 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25291 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25294 * Makeconfig (+link): Defined as $(+link-static) if
25295 $(build-shared) isn't yes.
25296 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25298 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25300 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25303 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25304 new chunk size with MALLOC_ALIGN_MASK.
25306 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25309 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25311 (__printf_fphex): Determine rounding using get_rounding_mode and
25313 * stdio-common/tst-printf-round.c (struct hex_test): New
25315 (hex_tests): New variable.
25316 (test_hex_in_one_mode): New function.
25317 (do_test): Also run tests for hex float output.
25319 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25321 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25322 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25323 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25324 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25325 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25326 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25327 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25328 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25330 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25332 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25333 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25334 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25335 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25337 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25340 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25342 * elf/tst-rtld-load-self.sh: New test.
25343 * elf/Makefile: Run it.
25345 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25347 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25348 (tst-writev-ENV): Remove.
25349 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25351 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25353 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25355 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25357 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25359 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25361 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25362 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25363 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25366 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25369 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25370 * config.make.in (have-cpp-asm-debuginfo): Removed.
25371 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25372 * configure: Regenerated.
25374 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25377 * stdio-common/printf_fp.c: Include <stdbool.h> and
25379 (___printf_fp): Determine rounding using get_rounding_mode and
25381 * stdio-common/tst-printf-round.c: New file.
25382 * stdio-common/Makefile (tests): Add tst-printf-round.
25383 (link-libm): New variable.
25384 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25386 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25389 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25390 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25392 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25395 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25397 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25398 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25399 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25400 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25402 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25405 * include/rounding-mode.h: New file.
25406 * sysdeps/generic/get-rounding-mode.h: Likewise.
25407 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25408 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25409 (MAX_VALUE): New macro.
25410 (MIN_VALUE): Likewise.
25411 (overflow_value): New function.
25412 (underflow_value): Likewise.
25413 (round_and_return): Use overflow_value and underflow_value to
25414 determine return values in overflow and underflow cases. Use
25415 round_away to determine rounding depending on rounding mode.
25416 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25417 determine return values in overflow and underflow cases.
25418 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25419 (struct test_results): New structure.
25420 (struct test): Use struct test_results to store expected results
25421 for all rounding modes.
25422 (TEST): Include expected results for all rounding modes.
25423 (test_in_one_mode): New function.
25424 (do_test): Use test_in_one_mode to compute and check results.
25425 Check results for all rounding modes.
25426 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25429 2012-12-09 Allan McRae <allan@archlinux.org>
25431 * sysdeps/i386/fpu/libm-test-ulps: Update
25433 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25435 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25436 (_G_int32_t): Likewise.
25437 (_G_uint16_t): Likewise.
25438 (_G_uint32_t): Likewise.
25439 (_G_HAVE_BOOL): Likewise.
25440 (_G_HAVE_ATEXIT): Likewise.
25441 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25442 (_G_HAVE_IO_FILE_OPEN): Likewise.
25443 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25444 (_G_int32_t): Likewise.
25445 (_G_uint16_t): Likewise.
25446 (_G_uint32_t): Likewise.
25447 (_G_HAVE_BOOL): Likewise.
25448 (_G_HAVE_ATEXIT): Likewise.
25449 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25450 (_G_HAVE_IO_FILE_OPEN): Likewise.
25451 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25452 (_G_int32_t): Likewise.
25453 (_G_uint16_t): Likewise.
25454 (_G_uint32_t): Likewise.
25455 (_G_HAVE_BOOL): Likewise.
25456 (_G_HAVE_ATEXIT): Likewise.
25457 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25458 (_G_HAVE_IO_FILE_OPEN): Likewise.
25460 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25462 * csu/libc-tls.c: Update copyright years.
25464 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25466 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25467 [!_G_USING_THUNKS]: Remove conditional code.
25468 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25469 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25471 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25472 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25473 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25474 (_G_VTABLE_LABEL_PREFIX): Likewise.
25475 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25476 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25477 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25478 (_G_VTABLE_LABEL_PREFIX): Likewise.
25479 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25480 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25481 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25482 (_G_VTABLE_LABEL_PREFIX): Likewise.
25483 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25485 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25487 * libio/Makefile: Include ../Makeconfig before tests.
25488 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25489 only if $(build-shared) is yes.
25491 * iconv/gconv_db.c: Update copyright years.
25493 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25495 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25496 unwind info if defined PIC. Fix special cases description.
25497 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25499 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25501 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25503 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25505 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25507 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25510 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25511 (LDLIBS-tst-chk4): This.
25512 (LDFLAGS-tst-chk5): Renamed to ...
25513 (LDLIBS-tst-chk5): This.
25514 (LDFLAGS-tst-chk6): Renamed to ...
25515 (LDLIBS-tst-chk6): This.
25516 (LDFLAGS-tst-lfschk4): Renamed to ...
25517 (LDLIBS-tst-lfschk4): This.
25518 (LDFLAGS-tst-lfschk5): Renamed to ...
25519 (LDLIBS-tst-lfschk5): This.
25520 (LDFLAGS-tst-lfschk6): Renamed to ...
25521 (LDLIBS-tst-lfschk6): This.
25523 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25524 on $(common-objpfx)soversions.mk.
25526 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25529 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25532 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25534 * malloc/arena.c (arena_get_retry): New function that gets
25535 another arena for the caller to try its request on.
25536 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25537 current arena cannot fulfill the request.
25538 (__libc_memalign): Likewise.
25539 (__libc_memalign): Likewise.
25540 (__libc_pvalloc): Likewise.
25541 (__libc_calloc): Likewise.
25543 2012-09-05 John Tobey <john.tobey@gmail.com>
25546 * manual/arith.texi (Operations on Complex): Fix description
25547 of carg branch cut.
25549 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25552 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25556 * manual/memory.texi (Memory): Make order of menu items match
25559 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25561 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25562 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25563 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25565 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25567 * csu/libc-tls.c (static_dtv): Renamed to ...
25568 (_dl_static_dtv): This. Make it global.
25569 (_dl_initial_dtv): Removed.
25570 (__libc_setup_tls): Updated.
25571 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25572 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25575 2012-09-06 Petr Machata <pmachata@redhat.com>
25577 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25578 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25579 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25580 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25582 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25585 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25586 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25589 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25592 * Makeconfig (link-static-before-libc): Replace $(+prector)
25594 (link-static-after-libc): Replace $(+postctor) with
25596 (link-bounded): Replace $(+prector)/$(+postctor) with
25597 $(+prectorT)/$(+postctorT).
25598 (+prectorT): New macro.
25599 (+postctorT): Likewise.
25601 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25603 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25604 (round_str): Handle values above the maximum for IBM long double
25606 * stdlib/tst-strtod-round.c (tests): Regenerated.
25608 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25610 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25612 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25613 zarch_nohighgprs around the zarch optimized routines.
25614 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25615 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25616 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25619 2012-09-05 David S. Miller <davem@davemloft.net>
25621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25623 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25624 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25625 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25626 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25629 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25631 * malloc/arena.c: Fold copyright years.
25632 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25634 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25636 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25638 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25640 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25642 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25644 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25645 change internal state upon failure.
25647 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25649 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25650 * malloc/memusage.c (mmap): Likewise.
25651 (mmap64, mremap): Likewise. Adjust name in comment.
25653 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25655 * libio/fileops.c: Fix typos in comments.
25656 * libio/oldfileops.c: Likewise.
25657 * libio/wfileops.c: Likewise.
25659 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25662 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25663 (tst-malloc-usable-ENV): Set environment for test case.
25664 * malloc/hooks.c (malloc_check_get_size): New function to get
25666 * malloc/malloc.c (musable): Use malloc_check_get_size.
25667 * malloc/tst-malloc-usable.c: New test case.
25669 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25671 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25673 2012-09-05 Allan McRae <allan@archlinux.org>
25676 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25677 determine header location.
25678 * configure: Regenerated.
25680 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25682 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25684 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25685 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25687 (test): Regenerate.
25689 2012-09-04 David S. Miller <davem@davemloft.net>
25691 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25692 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25693 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25695 2012-09-04 Florian Weimer <fweimer@redhat.com>
25697 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25700 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25702 2012-09-04 Joseph Myers <joseph@codesourcery.com>
25705 * libio/iogetdelim.c: Include <limits.h>.
25706 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25707 + len + 1 would overflow.
25709 2012-09-03 Andreas Jaeger <aj@suse.de>
25711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25712 * sysdeps/i386/fpu/libm-test-ulps: Update.
25714 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25716 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25717 Add s_sinf-sse2, s_conf-sse2.
25719 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25720 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25721 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25722 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25724 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25725 for using routine as __sinf_ia32.
25726 Use macro for function declaration and weak_alias.
25727 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25728 for using routine as __cosf_ia32.
25729 Use macro for function declaration and weak_alias.
25731 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25732 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25734 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25735 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25738 * math/libm-test.inc (cos_test): Add more test cases.
25739 (sin_test): Likewise.
25740 (sincos_test): Likewise.
25742 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25744 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25745 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25747 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25749 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25752 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25753 first element of the GOT.
25754 (elf_machine_load_address): Return the difference between
25755 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25757 2012-09-01 Allan McRae <allan@archlinux.org>
25760 * configure.in (AWK): Require gawk version 3.0 or later.
25761 * configure: Regenerated.
25763 2012-09-01 Joseph Myers <joseph@codesourcery.com>
25765 * sysdeps/unix/sysv/linux/kernel-features.h
25766 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25767 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25768 [__NR_clock_getres]: Make code unconditional.
25769 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25770 (clock_getcpuclockid): Remove code left unreachable by removal of
25772 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25773 code unconditional.
25774 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25775 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25776 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25777 Make code unconditional.
25778 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25779 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25780 * sysdeps/unix/sysv/linux/clock_settime.c
25781 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25783 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25784 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25786 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25789 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25790 scripts/test-installation.pl.
25792 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25793 and $ld_so_version if it is set.
25795 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25798 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25799 failure if reading from procfs failed.
25800 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25802 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25804 * sysdeps/unix/sysv/linux/kernel-features.h
25805 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25806 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25807 Remove conditional code.
25808 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25809 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25810 Remove conditional code.
25811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25812 * sysdeps/unix/sysv/linux/i386/fxstat.c
25813 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25814 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25815 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25816 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25817 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25818 * sysdeps/unix/sysv/linux/i386/lxstat.c
25819 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25820 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25821 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25822 Remove conditional code.
25823 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25824 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25825 Remove conditional code.
25826 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25827 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25828 <kernel-features.h>.
25829 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25831 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25832 Remove conditional code.
25833 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25834 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25835 Remove conditional.
25837 2012-08-27 Mike Frysinger <vapier@gentoo.org>
25840 * NEWS: Add fixed bug number.
25842 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25845 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25846 underflowing exponent in case of negative sign.
25847 * stdlib/tst-strtod-round-data: Add more tests.
25848 * stdlib/tst-strtod-round.c (tests): Regenerated.
25851 * stdlib/strtod_l.c (NDIG): Remove.
25852 (HEXNDIG): Likewise.
25853 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25854 smallest representable value.
25855 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25856 lie within an exact representation of 1/2 ulp of the result.
25857 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25859 (TENS_P9_IDX): Define unconditionally.
25860 (TENS_P9_SIZE): Likewise.
25861 (TENS_P10_IDX): Likewise.
25862 (TENS_P10_SIZE): Likewise.
25863 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25864 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25865 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25866 entries for 10^2^13 and 10^2^14.
25867 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25868 (TENS_P13_IDX): Define.
25869 (TENS_P13_SIZE): Likewise.
25870 (TENS_P14_IDX): Likewise.
25871 (TENS_P14_SIZE): Likewise.
25872 (_fpioconst_pow10): Change array size to
25873 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25875 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25876 1024]: Add entries for 10^2^13 and 10^2^14.
25877 [LAST_POW10 > _LAST_POW10]: Remove #error.
25878 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25879 (_fpioconst_pow10): Change array size to
25880 FPIOCONST_POW10_ARRAY_SIZE.
25881 * stdlib/gen-fpioconst.c: New file.
25882 * stdlib/gen-tst-strtod-round.c: Likewise.
25883 * stdlib/tst-strtod-round-data: Likewise.
25884 * stdlib/tst-strtod-round.c: Likewise.
25885 * stdlib/Makefile (tests): Add tst-strtod-round.
25888 * stdlib/strtod_l.c: Include <stdint.h>.
25889 (NDEBUG): Do not define.
25890 (round_and_return): Change EXPONENT parameter to type intmax_t.
25891 Rearrange calculations to avoid internal overflow possibilities.
25892 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25893 Rearrange calculations to avoid internal overflow possibilities.
25894 Assert that number fits inside MPNSIZE limbs.
25895 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25896 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25897 calculations and add assertions to avoid internal overflow
25898 possibilities. Add casts to avoid signed/unsigned operations.
25899 * stdlib/tst-strtod-overflow.c: New file.
25900 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25902 2012-08-25 Marek Polacek <polacek@redhat.com>
25904 * time/time.h: Fix some typos in comments.
25906 2012-08-23 Roland McGrath <roland@hack.frob.com>
25908 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25909 * posix/tst-rfc3484-2.c: Likewise.
25910 * posix/tst-rfc3484-3.c: Likewise.
25912 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25914 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25915 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25917 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25919 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25920 #include of fxstatat64.c.
25922 2012-08-22 Roland McGrath <roland@hack.frob.com>
25924 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25925 * shadow/getspent_r.c: Likewise.
25926 * shadow/getspnam.c: Likewise.
25927 * shadow/getspnam_r.c: Likewise.
25928 * gshadow/getsgent.c: Likewise.
25929 * gshadow/getsgent_r.c: Likewise.
25930 * gshadow/getsgnam.c: Likewise.
25931 * gshadow/getsgnam_r.c: Likewise.
25932 * inet/getnetbyad.c: Likewise.
25933 * inet/getnetbyad_r.c: Likewise.
25934 * inet/getnetbynm.c: Likewise.
25935 * inet/getnetbynm_r.c: Likewise.
25936 * inet/getnetent.c: Likewise.
25937 * inet/getnetent_r.c: Likewise.
25938 * inet/getproto.c: Likewise.
25939 * inet/getproto_r.c: Likewise.
25940 * inet/getprtent.c: Likewise.
25941 * inet/getprtent_r.c: Likewise.
25942 * inet/getprtname.c: Likewise.
25943 * inet/getprtname_r.c: Likewise.
25944 * inet/getrpcbyname.c: Likewise.
25945 * inet/getrpcbyname_r.c: Likewise.
25946 * inet/getrpcbynumber.c: Likewise.
25947 * inet/getrpcbynumber_r.c: Likewise.
25948 * inet/getrpcent.c: Likewise.
25949 * inet/getrpcent_r.c: Likewise.
25950 * inet/getaliasent.c: Likewise.
25951 * inet/getaliasent_r.c: Likewise.
25952 * inet/getaliasname.c: Likewise.
25953 * inet/getaliasname_r.c: Likewise.
25954 * nscd/getgrgid_r.c: Likewise.
25955 * nscd/getgrnam_r.c: Likewise.
25956 * nscd/gethstbyad_r.c: Likewise.
25957 * nscd/gethstbynm3_r.c: Likewise.
25958 * nscd/getpwnam_r.c: Likewise.
25959 * nscd/getpwuid_r.c: Likewise.
25960 * nscd/getsrvbynm_r.c: Likewise.
25961 * nscd/getsrvbypt_r.c: Likewise.
25962 * nscd/gai.c: Likewise.
25964 * configure.in (build_nscd): New substituted variable, set
25965 by --disable-build-nscd and defaults to $use_nscd.
25966 * configure: Regenerated.
25967 * config.make.in (build-nscd): New substituted variable.
25968 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25969 Change conditional to require [$(build-nscd) = yes] as well.
25970 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25973 * configure.in (use_nscd): New substituted variable, set by
25974 --disable-nscd. If enabled, define USE_NSCD.
25975 * configure: Regenerated.
25976 * config.h.in: Add USE_NSCD.
25977 * config.make.in (use-nscd): New substituted variable.
25978 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25979 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25980 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25981 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25982 (CFLAGS-getgrnam_r.c): Likewise.
25983 (CFLAGS-initgroups.c): Likewise.
25984 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25985 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25987 * inet/getnetgrent_r.c
25988 (nscd_setnetgrent): New function, broken out of ...
25989 (setnetgrent): ... here. Call it.
25990 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25991 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25992 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25993 * nscd/Makefile (routines, aux): Move definitions after include of
25994 Makeconfig. Conditionalize on [$(use-nscd) != no].
25995 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25996 Conditionalize on [USE_NSCD].
25997 (is_nscd, nscd_init_cb): Likewise.
25998 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25999 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26000 * nss/nss_db/db-init.c: Likewise.
26001 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26003 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26004 (make_request): Use it.
26005 (cache_valid_p): New function.
26006 (__check_pf): Use it.
26007 * NEWS: Add item for --disable-nscd.
26009 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26011 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26012 to support sed >= 4.2.1-20-ga9bf076.
26013 * configure: Regenerated.
26015 2012-08-22 Roland McGrath <roland@hack.frob.com>
26017 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26018 Conditionalize whole body on [IREL].
26020 2012-08-22 Jeff Law <law@redhat.com>
26023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26024 if the family is PF_UNSPEC.
26026 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26028 * Makerules (lib-version): Rename from V.
26029 (install-lib-nosubdir): Change V to lib-version.
26031 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26034 * powerpc32/power6/wcschr.c: New file.
26035 * powerpc32/power6/wcscpy.c: New file.
26036 * powerpc32/power6/wcsrchr.c: New file.
26037 * powerpc64/power6/wcschr.c: New file.
26038 * powerpc64/power6/wcscpy.c: New file.
26039 * powerpc64/power6/wcsrchr.c: New file.
26041 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26043 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26044 (two_way_short_needle): Use it.
26045 * string/strstr.c (AVAILABLE1_USES_J): Define.
26046 * string/strcasestr.c: Likewise.
26048 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26050 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26053 * NEWS: Add an entry.
26054 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26055 define their defaults.
26056 (two_way_short_needle): Detect end-of-string on-the-fly.
26057 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26058 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26059 * string/bug-strcasestr1.c: New test.
26060 * string/Makefile: Run it.
26062 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26065 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26066 the first character.
26068 2012-08-21 Roland McGrath <roland@hack.frob.com>
26070 * csu/elf-init.c (__libc_csu_irel): Function removed.
26071 * csu/libc-start.c (apply_irel): New function.
26072 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26074 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26076 * sysdeps/unix/sysv/linux/kernel-features.h
26077 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26078 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26079 <kernel-features.h>.
26080 [__NR_fadvise64_64]: Make code unconditional.
26081 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26082 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26083 !__NR_fadvise64_64)]: Likewise.
26084 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26085 !__NR_fadvise64_64))]: Likewise.
26086 [__NR_fadvise64]: Make code unconditional.
26087 [!__NR_fadvise64]: Remove conditional code.
26088 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26089 <kernel-features.h>.
26090 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26092 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26095 not include <kernel-features.h>.
26096 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26098 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26100 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26101 include <kernel-features.h>.
26102 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26104 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26107 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26109 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26110 slight instruction rearrangements per scrollpipe analysis.
26111 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26113 2012-08-20 Roland McGrath <roland@hack.frob.com>
26115 * manual/syslog.texi (syslog; vsyslog, closelog):
26116 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26117 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26119 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26120 DSOCAPS to match condition on defining it.
26122 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26124 * sysdeps/unix/sysv/linux/kernel-features.h
26125 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26127 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26128 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26130 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26131 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26133 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26134 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26136 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26137 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26139 * sysdeps/unix/sysv/linux/kernel-features.h
26140 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26141 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26143 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26144 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26145 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26146 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26147 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26148 Make code unconditional.
26149 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26150 (__mmap64) [!__NR_mmap2]: Likewise.
26151 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26152 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26153 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26154 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26155 [__NR_mmap2]: Make code unconditional.
26156 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26157 (__mmap64) [!__NR_mmap2]: Likewise.
26159 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26161 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26163 2012-08-18 Andreas Jaeger <aj@suse.de>
26165 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26167 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26169 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26170 * include/unistd.h (__have_sock_cloexec): Likewise.
26171 (__have_pipe2): Likewise.
26172 (__have_dup3): Likewise.
26174 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26177 * include/unistd.h (__have_pipe2): Change define into an extern int.
26178 (__have_dup3): Likewise.
26179 * socket/have_sock_cloexec.c: Include fcntl.h.
26180 (__have_pipe2): New variable.
26181 (__have_dup3): Likewise.
26183 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26185 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26187 2012-08-17 Marek Polacek <polacek@redhat.com>
26189 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26190 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26192 2012-08-17 Roland McGrath <roland@hack.frob.com>
26194 * configure.in: Add AC_SUBST for sysheaders.
26195 * configure: Regenerated.
26196 * config.make.in (sysheaders): New substituted variable.
26198 * sysdeps/unix/mkfifo.c: Moved ...
26199 * sysdeps/posix/mkfifo.c: ... here.
26200 * sysdeps/unix/mkfifoat.c: Moved ...
26201 * sysdeps/posix/mkfifoat.c: ... here.
26203 * sysdeps/unix/utime.c: Moved ...
26204 * sysdeps/posix/utime.c: ... here.
26206 * sysdeps/unix/time.c: Moved ...
26207 * sysdeps/posix/time.c: ... here.
26208 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26209 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26211 * sysdeps/unix/nice.c: Moved ...
26212 * sysdeps/posix/nice.c: ... here.
26214 * sysdeps/unix/alarm.c: Moved ...
26215 * sysdeps/posix/alarm.c: ... here.
26217 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26219 2012-08-17 Jeff Law <law@redhat.com>
26221 * intl/Makefile (codeset_mo): New variable.
26222 ($(codeset_mo)): New target.
26223 (tst-codeset.out): Depend on that. Remove explicit rule.
26224 (tst-gettext3.out, tst-gettext5.out): Likewise.
26225 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26226 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26227 * intl/tst-codeset.sh: Remove.
26228 * intl/tst-gettext3.sh: Likewise.
26229 * intl/tst-gettext5.sh: Likewise.
26231 2012-08-17 Roland McGrath <roland@hack.frob.com>
26233 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26234 * sysdeps/unix/syscalls.list: ... here.
26236 * sysdeps/posix/getaddrinfo.c
26237 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26238 (gaiconf_init, gaiconf_reload): Use them.
26239 [!_STATBUF_ST_NSEC]
26240 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26241 Define using time_t rather than struct timespec.
26243 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26244 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26246 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26248 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26249 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26252 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26253 __libc_cleanup_push argument.
26255 * bits/param.h: New file.
26256 * misc/sys/param.h: New file.
26257 * include/sys/param.h: New file.
26258 * misc/Makefile (headers): Add bits/param.h.
26259 * sysdeps/generic/sys/param.h: File removed.
26260 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26261 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26262 * sysdeps/mach/hurd/bits/param.h: New file.
26263 * sysdeps/mach/hurd/sys/param.h: File removed.
26265 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26268 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26270 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26271 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26274 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26275 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26276 rather than -D_IO_MTSAFE_IO conditionally.
26277 * stdio-common/Makefile (CPPFLAGS): Likewise.
26278 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26279 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26280 Use $(libio-mtsafe).
26281 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26282 of -D_IO_MTSAFE_IO.
26283 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26284 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26285 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26286 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26287 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26288 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26289 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26290 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26291 (CFLAGS-fread_u_chk.c): Likewise.
26292 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26293 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26294 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26295 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26296 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26297 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26298 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26299 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26300 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26302 * libio/Makefile: Test [$(libc-reentrant) = yes]
26303 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26306 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26307 * sysdeps/pthread/configure: File removed.
26308 * sysdeps/pthread/Makeconfig: New file.
26309 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26310 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26312 2012-08-16 Gary Benson <gbenson@redhat.com>
26314 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26315 unmapping the first object in a namespace.
26317 2012-08-16 Roland McGrath <roland@hack.frob.com>
26319 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26320 (__internal_setnetgrent): ... this. Add internal_function to
26321 definition. Add libc_hidden_def.
26322 (setnetgrent): Update caller.
26323 (internal_endnetgrent): Renamed to ...
26324 (__internal_endnetgrent): ... this. Add internal_function to
26325 definition. Add libc_hidden_def.
26326 (endnetgrent): Update caller.
26327 (internal_getnetgrent_r): Renamed to ...
26328 (__internal_getnetgrent_r): ... this. Add internal_function to
26329 definition. Add libc_hidden_def.
26330 (__getnetgrent_r): Update caller.
26331 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26333 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26335 * stdlib/longlong.h: Update from GCC.
26337 2012-08-16 Roland McGrath <roland@hack.frob.com>
26339 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26340 on _QL, which is set by umul_ppmm but never used.
26341 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26342 variables, which are set by GMP macros but never used.
26343 * stdio-common/_itowa.c (_itowa): Likewise.
26344 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26345 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26347 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26349 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26350 struct La_sh_regs is not constant.
26351 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26352 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26353 and struct La_sparc64_regs are not constant.
26355 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26357 * sysdeps/unix/sysv/linux/kernel-features.h
26358 (__ASSUME_POSIX_TIMERS): Remove.
26359 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26360 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26361 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26362 Make code unconditional.
26363 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26364 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26365 Make code unconditional.
26366 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26367 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26368 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26369 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26370 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26371 Make code unconditional.
26372 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26373 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26374 (__libc_missing_posix_timers): Remove.
26376 2012-08-15 Roland McGrath <roland@hack.frob.com>
26378 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26379 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26381 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26383 * elf/dl-sym.c: Include <stdlib.h>.
26385 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26386 constants, which avoids warnings in 32-bit builds.
26388 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26389 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26391 * misc/lseek.c: File moved to ...
26392 * io/lseek.c: ... here.
26394 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26396 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26397 shifting LEN more than 31 bits at once.
26399 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26402 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26403 segmentation fault for a case of two empty input strings.
26404 * string/test-strncasecmp.c (check1): Renamed to...
26405 (bz12205): ...this.
26406 (bz14195): Add new testcase for two empty input strings and N > 0.
26407 (test_main): Call new testcase, adapt for renamed function.
26409 2012-08-15 Andreas Jaeger <aj@suse.de>
26412 * crypt/md5test2.c: New test, based on test supplied by Serge
26413 Belyshev <belyshev@depni.sinp.msu.ru>.
26414 * crypt/Makefile (xtests): Add md5test-giant..
26415 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26417 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26420 * crypt/md5.c (md5_process_block): Don't assume the buffer
26421 length is less than 2**32.
26422 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26423 length is less than 2**64.
26425 2012-08-15 Roland McGrath <roland@hack.frob.com>
26427 * string/str-two-way.h: Include <sys/param.h>.
26428 (MAX): Macro removed.
26430 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26431 Move #define and #undef of memmove to just before and after
26432 including <string.h>.
26434 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26435 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26436 and after including <string.h>. Move declarations of
26437 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26438 to before #include "string/memmove.c".
26440 * include/dirent.h: Declare __getdirentries.
26442 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26443 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26445 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26447 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26448 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26449 * sysdeps/i386/configure: Regenerated.
26450 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26451 STABS_CURRENT_FILE, and STABS_FUN.
26452 (END): Remove call to STABS_FUN_END.
26453 (STABS_CURRENT_FILE1): Delete.
26454 (STABS_CURRENT_FILE): Likewise.
26455 (STABS_FUN): Likewise.
26456 (STABS_FUN_END): Likewise.
26457 (STABS_FUN2): Likewise.
26458 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26459 * sysdeps/x86_64/configure: Regenerated.
26461 2012-08-14 Roland McGrath <roland@hack.frob.com>
26463 * elf/dl-open.c: Include <atomic.h>.
26464 * elf/dl-lookup.c: Likewise.
26466 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26468 * sysdeps/unix/sysv/linux/kernel-features.h
26469 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26470 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26472 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26474 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26475 condition on __ASSUME_CLONE_THREAD_FLAGS.
26477 2012-08-14 Andreas Jaeger <aj@suse.de>
26479 * sysdeps/i386/fpu/libm-test-ulps: Update.
26481 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26483 * include/atomic.h (atomic_exchange_and_add): Split into ...
26484 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26487 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26491 2012-08-13 Jeff Law <law@redhat.com>
26493 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26494 null byte in the output string.
26496 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26498 * sysdeps/unix/sysv/linux/kernel-features.h
26499 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26500 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26501 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26502 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26503 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26504 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26505 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26507 2012-08-09 Jeff Law <law@redhat.com>
26510 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26511 When avoid_arena is set, don't retry in the that arena. Pick the
26512 next one, whatever it might be.
26513 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26514 (arena_lock): Pass in new parameter to arena_get2.
26515 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26517 (__libc_malloc): Unify retrying after main arena failure with
26518 __libc_memalign version.
26519 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26521 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26524 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26525 to __redirect_strstr.
26526 (__strstr_sse42): Use typeof __redirect_strstr.
26527 (__strstr_ia32): Likewise.
26528 (__libc_strstr): New prototype.
26529 (strstr): Renamed to ...
26530 (__libc_strstr): This.
26531 (strstr): New strong alias of __libc_strstr.
26532 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26533 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26536 (__libc_time): New prototype.
26537 (time_ifunc): Replace time with __libc_time.
26538 (time): New strong alias and hidden definition of __libc_time.
26539 (__GI_time): Remove strong alias.
26540 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26541 Include <stddef.h>.
26542 (memmove): Redefined to __redirect_memmove.
26543 (__memmove_sse2): Use typeof __redirect_memmove.
26544 (__memmove_ssse3): Likewise.
26545 (__memmove_ssse3_back): Likewise.
26546 (__libc_memmove): New prototype.
26547 (memmove): Renamed to ...
26548 (__libc_memmove): This.
26549 (memmove): New strong alias of __libc_memmove.
26551 2012-08-08 Mark Salter <msalter@redhat.com>
26554 (R_MN10300_TLS_GD): Define.
26555 (R_MN10300_TLS_LD): Likewise.
26556 (R_MN10300_TLS_LDO): Likewise.
26557 (R_MN10300_TLS_GOTIE): Likewise.
26558 (R_MN10300_TLS_IE): Likewise.
26559 (R_MN10300_TLS_LE): Likewise.
26560 (R_MN10300_TLS_DTPMOD): Likewise.
26561 (R_MN10300_TLS_DTPOFF): Likewise.
26562 (R_MN10300_TLS_TPOFF): Likewise.
26563 (R_MN10300_SYM_DIFF): Likewise.
26564 (R_MN10300_ALIGN): Likewise.
26565 (R_MN10300_NUM): Update.
26567 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26569 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26572 2012-08-08 Roland McGrath <roland@hack.frob.com>
26574 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26576 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26577 sysdeps/unix -> sysdeps/posix move.
26578 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26580 2012-08-07 Allan McRae <allan@archlinux.org>
26583 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26584 (SUNOS_CPP): Likewise.
26585 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26587 (open_input): Call CPP using execvp.
26589 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26591 * sysdeps/unix/sysv/linux/kernel-features.h
26592 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26593 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26594 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26595 (__ASSUME_WAITID_SYSCALL): Likewise.
26596 * sysdeps/unix/sysv/linux/dl-execstack.c
26597 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26598 code unconditional.
26599 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26601 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26602 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26603 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26605 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26607 [__ASSUME_WAITID_SYSCALL]: Likewise.
26608 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26610 2012-08-07 Roland McGrath <roland@hack.frob.com>
26612 * sysdeps/unix/closedir.c: Renamed to ...
26613 * sysdeps/posix/closedir.c: ... here.
26614 * sysdeps/unix/dirfd.c: Renamed to ...
26615 * sysdeps/posix/dirfd.c: ... here.
26616 * sysdeps/unix/dirstream.h: Renamed to ...
26617 * sysdeps/posix/dirstream.h: ... here.
26618 * sysdeps/unix/fdopendir.c: Renamed to ...
26619 * sysdeps/posix/fdopendir.c: ... here.
26620 * sysdeps/unix/opendir.c: Renamed to ...
26621 * sysdeps/posix/opendir.c: ... here.
26622 * sysdeps/unix/readdir.c: Renamed to ...
26623 * sysdeps/posix/readdir.c: ... here.
26624 * sysdeps/unix/readdir_r.c: Renamed to ...
26625 * sysdeps/posix/readdir_r.c: ... here.
26626 * sysdeps/unix/rewinddir.c: Renamed to ...
26627 * sysdeps/posix/rewinddir.c: ... here.
26628 * sysdeps/unix/seekdir.c: Renamed to ...
26629 * sysdeps/posix/seekdir.c: ... here.
26630 * sysdeps/unix/telldir.c: Renamed to ...
26631 * sysdeps/posix/telldir.c: ... here.
26632 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26633 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26634 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26635 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26637 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26638 * bits/fcntl.h: ... here.
26640 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26642 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26643 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26644 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26645 (struct flock): Move l_start, l_len to the beginning.
26646 Use __pid_t for l_pid.
26647 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26648 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26649 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26650 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26651 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26652 [__USE_LARGEFILE64] (struct flock64): New type.
26653 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26655 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26656 * bits/dirent.h: ... here.
26658 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26659 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26661 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26663 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26664 Change from 2.6.0 to 2.6.16.
26665 * sysdeps/unix/sysv/linux/configure: Regenerated.
26666 * sysdeps/unix/sysv/linux/kernel-features.h
26667 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26668 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26670 (__ASSUME_UTIMES): Likewise.
26671 (__ASSUME_CLONE_STOPPED): Remove.
26672 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26673 architectures, not kernel version.
26674 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26675 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26676 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26677 (__ASSUME_WAITID_SYSCALL): Likewise.
26678 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26679 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26680 * README: State 2.6.16 as minimum Linux kernel version. Do not
26681 refer to older versions.
26683 2012-08-06 Roland McGrath <roland@hack.frob.com>
26685 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26686 Define alphasort64 as an alias.
26687 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26688 Define versionsort64 as an alias.
26689 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26690 Define scandir64 as an alias.
26691 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26692 Define scandirat64 as an alias.
26693 * dirent/alphasort64.c (alphasort64):
26694 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26695 * dirent/versionsort64.c: Likewise.
26696 * dirent/scandir64.c: Likewise.
26697 * dirent/scandirat64.c: Likewise.
26698 * sysdeps/wordsize-64/alphasort.c: File removed.
26699 * sysdeps/wordsize-64/alphasort64.c: File removed.
26700 * sysdeps/wordsize-64/scandir.c: File removed.
26701 * sysdeps/wordsize-64/scandir64.c: File removed.
26702 * sysdeps/wordsize-64/scandirat.c: File removed.
26703 * sysdeps/wordsize-64/scandirat64.c: File removed.
26704 * sysdeps/wordsize-64/versionsort.c: File removed.
26705 * sysdeps/wordsize-64/versionsort64.c: File removed.
26706 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26707 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26708 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26709 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26710 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26711 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26712 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26713 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26715 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26716 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26717 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26719 [defined __arch64__ || defined __sparcv9]
26720 (__INO_T_MATCHES_INO64_T): New macro.
26721 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26722 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26723 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26724 * sysdeps/unix/sysv/linux/bits/dirent.h
26725 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26726 (_DIRENT_MATCHES_DIRENT64): New macro.
26728 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26729 Define lockf64 as an alias.
26730 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26731 Define fseeko64 as an alias.
26732 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26733 Define ftello64 as an alias.
26734 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26735 Define _IO_fgetpos64 and fgetpos64 as aliases.
26736 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26737 Define _IO_fsetpos64 and fsetpos64 as aliases.
26738 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26739 Conditionalize body on this.
26740 * libio/fseeko64.c: Likewise.
26741 * libio/ftello64.c: Likewise.
26742 * libio/iofgetpos64.c: Likewise.
26743 * libio/iofsetpos64.c: Likewise.
26744 * sysdeps/wordsize-64/lockf.c: File removed.
26745 * sysdeps/wordsize-64/lockf64.c: File removed.
26746 * sysdeps/wordsize-64/fseeko.c: File removed.
26747 * sysdeps/wordsize-64/fseeko64.c: File removed.
26748 * sysdeps/wordsize-64/ftello.c: File removed.
26749 * sysdeps/wordsize-64/ftello64.c: File removed.
26750 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26751 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26752 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26753 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26754 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26755 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26756 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26757 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26758 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26759 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26761 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26762 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26763 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26765 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26767 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26769 [defined __arch64__ || defined __sparcv9]
26770 (__OFF_T_MATCHES_OFF64_T): New macro.
26771 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26772 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26773 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26774 (__OFF_T_MATCHES_OFF64_T): New macro.
26776 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26778 * stdlib/secure-getenv.c (__secure_getenv): Replace
26779 GLIBC_2_16 with GLIBC_2_17.
26781 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26783 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26784 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26786 2012-08-03 David S. Miller <davem@davemloft.net>
26788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26790 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26792 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26794 (__ASSUME_CORRECT_SI_PID): Likewise.
26795 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26796 (__ASSUME_TMPFS_NAME): Likewise.
26797 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26798 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26799 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26800 (HAVE_AUX_SECURE): Make definition unconditional.
26801 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26802 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26804 2012-08-03 Roland McGrath <roland@hack.frob.com>
26806 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26807 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26808 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26809 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26810 __eloop_threshold instead of SYMLOOP_MAX.
26812 * sysdeps/generic/eloop-threshold.h: New file.
26813 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26815 * elf/chroot_canon.c (chroot_canon): Likewise.
26817 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26820 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26821 Change to 2.6.0 everywhere.
26822 * sysdeps/unix/sysv/linux/configure: Regenerated.
26823 * sysdeps/unix/sysv/linux/kernel-features.h
26824 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26825 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26827 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26828 (__ASSUME_FUTEX_REQUEUE): Remove.
26829 (__ASSUME_STATFS64): Define unconditionally.
26830 (__ASSUME_AT_SECURE): Likewise.
26831 (__ASSUME_CORRECT_SI_PID): Likewise.
26832 (__ASSUME_TGKILL): Define without depending on kernel version for
26834 (__ASSUME_UTIMES): Likewise.
26835 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26837 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26838 (__ASSUME_TMPFS_NAME): Likewise.
26839 * README: Update reference to Linux kernel versions.
26841 2012-08-02 Marek Polacek <polacek@redhat.com>
26844 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26845 libc_cv_asm_type_prefix with %.
26846 * configure: Regenerated.
26847 * include/libc-symbols.h: Remove comment about
26848 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26849 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26850 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26851 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26852 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26853 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26854 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26855 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26856 * elf/tst-unique2mod1.c: Likewise.
26857 * elf/tst-unique1mod2.c: Likewise.
26858 * elf/tst-unique1mod1.c: Likewise.
26859 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26860 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26861 Replace ASM_TYPE_DIRECTIVE with .type.
26862 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26863 * sysdeps/i386/sysdep.h: Likewise.
26864 * sysdeps/x86_64/sysdep.h: Likewise.
26865 * sysdeps/sh/sysdep.h: Likewise.
26866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26867 Do not define ASM_TYPE_DIRECTIVE.
26868 * sysdeps/powerpc/sysdep.h: Likewise.
26869 * sysdeps/powerpc/powerpc32/sysdep.h:
26870 Replace ASM_TYPE_DIRECTIVE with .type.
26871 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26872 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26873 * sysdeps/i386/fpu/e_powf.S: Likewise.
26874 * sysdeps/i386/fpu/e_expl.S: Likewise.
26875 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26876 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26877 * sysdeps/i386/fpu/e_pow.S: Likewise.
26878 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26879 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26880 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26881 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26882 * sysdeps/i386/fpu/e_log2.S: Likewise.
26883 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26884 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26885 * sysdeps/i386/fpu/e_powl.S: Likewise.
26886 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26887 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26888 * sysdeps/i386/fpu/e_logl.S: Likewise.
26889 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26890 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26891 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26892 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26893 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26894 * sysdeps/i386/fpu/e_log.S: Likewise.
26895 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26896 * sysdeps/i386/fpu/e_logf.S: Likewise.
26897 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26898 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26899 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26900 * sysdeps/i386/fpu/e_log10.S: Likewise.
26901 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26902 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26903 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26904 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26905 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26906 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26907 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26908 * sysdeps/i386/i686/strtok.S: Likewise.
26909 * sysdeps/i386/i386-mcount.S: Likewise.
26910 * sysdeps/i386/strtok.S: Likewise.
26911 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26912 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26913 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26914 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26915 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26916 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26917 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26918 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26919 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26920 * sysdeps/x86_64/_mcount.S: Likewise.
26921 * sysdeps/x86_64/strtok.S: Likewise.
26922 * sysdeps/sh/_mcount.S: Likewise.
26924 2012-08-01 Roland McGrath <roland@hack.frob.com>
26926 * libio/iofopen.c: Include <fcntl.h>.
26927 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26928 (_IO_fopen64, fopen64): Define as aliases.
26929 * libio/iofopen64.c: Include <fcntl.h>.
26930 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26931 Conditionalize body on this.
26932 * sysdeps/wordsize-64/iofopen.c: File removed.
26933 * sysdeps/wordsize-64/iofopen64.c: File removed.
26935 2012-08-01 Marek Polacek <polacek@redhat.com>
26937 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26938 Use dlfcn directly instead of a variable.
26939 (binfmt-subdir): Do not define.
26942 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26944 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26945 Remove all definitions.
26946 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26947 <kernel-features.h>.
26948 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26949 (miss_F_GETOWN_EX): Remove all definitions.
26950 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26952 [!__ASSUME_FCNTL64]: Remove conditional code.
26953 [__ASSUME_FCNTL64]: Make code unconditional.
26954 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26955 <kernel-features.h>.
26956 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26957 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26958 (lockf64) [__NR_fcntl64]: Make code unconditional.
26959 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26961 * sysdeps/unix/sysv/linux/kernel-features.h
26962 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26963 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26964 Make code unconditional.
26965 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26966 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26968 [__NR_vfork]: Make code unconditional.
26969 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26970 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26972 [__NR_vfork]: Make code unconditional.
26973 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26974 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26976 2012-08-01 Roland McGrath <roland@hack.frob.com>
26978 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26979 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26981 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26982 Define mkstemp64 as an alias.
26983 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26984 Define mkstemps64 as an alias.
26985 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26986 Define mkostemp64 as an alias.
26987 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26988 Define mkostemps64 as an alias.
26989 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26990 Conditionalize body on this.
26991 * misc/mkostemp64.c: Likewise.
26992 * misc/mkostemps64.c: Likewise.
26993 * misc/mkstemps64.c: Likewise.
26994 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26995 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26996 * sysdeps/wordsize-64/mkostemp.c: File removed.
26997 * sysdeps/wordsize-64/mkstemp.c: File removed.
26998 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26999 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27000 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27001 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27004 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27005 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27006 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27007 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27009 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27010 compat_symbol macros from <shlib-compat.h> rather than the underlying
27011 default_symbol_version and symbol_version macros, so that DEFAULT
27012 lines in shlib-versions are respected.
27013 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27015 2012-08-01 Florian Weimer <fweimer@redhat.com>
27017 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27018 Declare with warn_unused_result.
27019 (setgid, setregid, setegid, setresgid): Likewise.
27020 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27022 * WUR-REPORT: Remove set*id functions.
27024 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27026 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27028 2012-07-31 Roland McGrath <roland@hack.frob.com>
27031 * include/sys/socket.h (__libc_accept, __libc_accept4):
27032 Add attribute_hidden.
27033 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27035 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27037 * inet/getnetgrent_r.c (setup): Likewise.
27039 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27041 2012-07-31 David S. Miller <davem@davemloft.net>
27043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27045 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27048 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27049 value between 1.0 and 2.0 and smaller part has absolute value less
27051 * math/s_clog10.c (__clog10): Likewise.
27052 * math/s_clog10f.c (__clog10f): Likewise.
27053 * math/s_clog10l.c (__clog10l): Likewise.
27054 * math/s_clogf.c (__clogf): Likewise.
27055 * math/s_clogl.c (__clogl): Likewise.
27056 * math/libm-test.inc (clog_test): Add more tests.
27057 (clog10_test): Likewise.
27058 * sysdeps/i386/fpu/libm-test-ulps: Update.
27059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27061 2012-07-31 Florian Weimer <fweimer@redhat.com>
27063 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27064 Exit with zero in case no suitable GID is found, and write a
27065 message to standard error.
27067 2012-07-30 Roland McGrath <roland@hack.frob.com>
27069 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27071 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27072 (MAXPATHLEN): Removed.
27073 (NOGROUP, NODEV): New macros.
27074 (setbit, clrbit, isset, isclr): New macros.
27075 (howmany, roundup, powerof2): New macros.
27076 (DEV_BSIZE): New macro.
27078 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27079 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27081 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27082 definition on [!__NO_LONG_DOUBLE_MATH].
27084 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27085 PTR_MANGLE and PTR_DEMANGLE.
27087 * socket/accept4.c (accept4): Rename to __libc_accept4.
27088 Define accept4 as a weak alias.
27090 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27091 on [_DIRENT_HAVE_D_TYPE].
27092 * io/ftw.c (ftw_dir): Likewise.
27094 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27096 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27098 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27099 Use the BSD numbers rather than the arbitrary ones we had.
27100 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27101 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27102 (SIGXCPU, SIGXFSZ): New macros.
27105 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27106 initializer on [_LIBC_REENTRANT].
27108 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27109 definitions inside [_POSIX_MAPPED_FILES].
27111 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27113 * dirent/opendir.c: Include <fcntl.h>.
27115 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27116 (__libc_getspecific): Likewise.
27117 (__libc_key_create): Likewise.
27119 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27120 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27121 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27122 (tmpfile64): Define as alias.
27123 * sysdeps/wordsize-64/tmpfile.c: File removed.
27124 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27125 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27126 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27128 * stdio-common/vfscanf.c: Include <stdbool.h>.
27129 * nss/makedb.c: Likewise.
27130 * stdio-common/_i18n_number.h: Likewise.
27131 * argp/argp-help.c: Likewise.
27132 * posix/wordexp.c: Likewise.
27133 * sysdeps/posix/spawni.c: Likewise.
27134 * nss/nss_files/files-initgroups.c: Likewise.
27135 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27136 * nss/nss_files/files-initgroups.c: Likewise.
27137 * nss/nss_db/db-netgrp.c: Likewise.
27138 * nss/nss_db/db-initgroups.c: Likewise.
27139 * io/fchmodat.c: Include <sys/stat.h>.
27141 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27142 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27144 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27147 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27148 Add multiple inclusion protection.
27150 2012-07-27 David S. Miller <davem@davemloft.net>
27152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27154 2012-07-27 Gary Benson <gbenson@redhat.com>
27157 * elf/rtld.c: Include <stap-probe.h>.
27158 (dl_main): Added static probes "init_start" and "init_complete".
27159 * elf/dl-load.c: Include <stap-probe.h>.
27160 (lose): Take new parameter "nsid".
27161 Added static probe "map_failed".
27162 (_dl_map_object_from_fd): Pass namespace id to lose.
27163 Added static probe "map_start".
27164 (open_verify): Pass namespace id to lose.
27165 * elf/dl-open.c: Include <stap-probe.h>.
27166 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27167 and "reloc_complete".
27168 * elf/dl-close.c: Include <stap-probe.h>.
27169 (_dl_close_worker): Added static probes "unmap_start" and
27171 * elf/rtld-debugger-interface.txt: New file documenting the above.
27173 2012-07-26 Roland McGrath <roland@hack.frob.com>
27175 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27176 rather than a string variable.
27177 * sunrpc/rpc_main.c (h_output): Likewise.
27178 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27180 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27182 * inet/check_native.c: New file.
27184 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27187 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27188 if larger part has absolute value 1.0.
27189 * math/s_clog10.c (__clog10): Likewise.
27190 * math/s_clog10f.c (__clog10f): Likewise.
27191 * math/s_clog10l.c (__clog10l): Likewise.
27192 * math/s_clogf.c (__clogf): Likewise.
27193 * math/s_clogl.c (__clogl): Likewise.
27194 * math/libm-test.inc (clog_test): Add more tests.
27195 (clog10_test): Likewise.
27196 * sysdeps/i386/fpu/libm-test-ulps: Update.
27197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27199 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27200 (pltexit): Likewise.
27201 (La_regs): Likewise.
27202 (La_retval): Likewise.
27203 (int_retval): Likewise.
27204 Update #error for removed macros to refer only to definitions in
27206 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27208 (pltexit): Likewise.
27209 (La_regs): Likewise.
27210 (La_retval): Likewise.
27211 (int_retval): Likewise.
27212 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27214 (pltexit): Likewise.
27215 (La_regs): Likewise.
27216 (La_retval): Likewise.
27217 (int_retval): Likewise.
27218 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27220 (pltexit): Likewise.
27221 (La_regs): Likewise.
27222 (La_retval): Likewise.
27223 (int_retval): Likewise.
27224 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27226 (pltexit): Likewise.
27227 (La_regs): Likewise.
27228 (La_retval): Likewise.
27229 (int_retval): Likewise.
27230 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27232 (pltexit): Likewise.
27233 (La_regs): Likewise.
27234 (La_retval): Likewise.
27235 (int_retval): Likewise.
27236 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27238 (pltexit): Likewise.
27239 (La_regs): Likewise.
27240 (La_retval): Likewise.
27241 (int_retval): Likewise.
27242 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27243 macro definitions in tst-audit.h.
27244 * sysdeps/i386/tst-audit.h: New file.
27245 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27246 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27247 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27248 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27249 * sysdeps/sh/tst-audit.h: Likewise.
27250 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27251 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27252 * sysdeps/x86_64/tst-audit.h: Likewise.
27254 2012-07-26 Andreas Jaeger <aj@suse.de>
27256 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27259 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27260 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27261 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27263 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27264 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27265 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27267 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27270 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27272 (si_call_addr, si_syscall, si_arch): Define new macro.
27273 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27275 (si_call_addr, si_syscall, si_arch): Define new marcro.
27276 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27278 (si_call_addr, si_syscall, si_arch): Define new macro.
27279 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27281 (si_call_addr, si_syscall, si_arch): Define new macro.
27283 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27286 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27287 Change to 2.4.21 where previously 2.4.1.
27288 * sysdeps/unix/sysv/linux/configure: Regenerated.
27289 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27290 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27291 Linux kernel version.
27292 (__ASSUME_STD_AUXV): Remove.
27293 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27295 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27296 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27297 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27298 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27299 (__ASSUME_NETLINK_SUPPORT): Likewise.
27300 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27301 (__no_netlink_support): Remove conditional definition.
27302 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27304 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27305 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27306 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27307 (if_nameindex_ioctl): Remove.
27308 (if_nameindex_netlink): Do not handle __no_netlink_support.
27309 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27311 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27312 Remove conditional code.
27313 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27315 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27317 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27318 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27319 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27321 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27322 [!__ASSUME_STD_AUXV]: Remove conditional code.
27323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27324 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27325 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27327 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27328 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27330 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27332 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27333 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27335 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27337 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27340 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27343 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27344 code unconditional.
27345 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27347 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27349 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27352 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27354 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27357 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27358 code unconditional.
27359 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27361 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27363 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27366 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27367 code unconditional.
27368 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27370 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27372 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27375 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27377 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27378 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27379 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27380 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27381 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27382 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27383 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27384 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27385 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27386 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27387 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27388 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27389 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27390 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27391 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27392 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27393 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27394 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27395 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27397 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27398 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27399 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27401 2012-07-25 Florian Weimer <fweimer@redhat.com>
27403 * Versions.def: Add GLIBC_2.17.
27404 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27405 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27406 Introduce __libc_secure_getenv.
27407 * stdlib/Versions (2.17): Add secure_getenv
27408 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27409 * stdlib/secure-getenv.c: Rename __secure_getenv to
27410 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27411 symbol __secure_getenv for GLIBC_2.0.
27412 * stdlib/tst-secure-getenv.c: New.
27413 * stdlib/Makefile (tests): Add testcase.
27414 * manual/startup.texi (Environment Access): Document
27416 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27417 __libc_secure_getenv.
27418 * inet/ruserpass.c (ruserpass): Likewise.
27419 * malloc/mtrace.c (mtrace): Likewise.
27420 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27421 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27422 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27423 * sysdeps/posix/tempname.c: Likewise. Evaluate
27424 HAVE_SECURE_GETENV.
27425 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27426 __secure_getenv to __libc_secure_getenv.
27427 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27434 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27440 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27442 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27443 (struct La_i86_retval): Likewise.
27444 (struct La_x86_64_regs): Likewise.
27445 (struct La_x86_64_retval): Likewise.
27446 (struct La_x32_regs): Likewise.
27447 (struct La_x32_retval): Likewise.
27448 (struct La_ppc32_regs): Likewise.
27449 (struct La_ppc32_retval): Likewise.
27450 (struct La_ppc64_regs): Likewise.
27451 (struct La_ppc64_retval): Likewise.
27452 (struct La_sh_regs): Likewise.
27453 (struct La_sh_retval): Likewise.
27454 (struct La_s390_32_regs): Likewise.
27455 (struct La_s390_32_retval): Likewise.
27456 (struct La_s390_64_regs): Likewise.
27457 (struct La_s390_64_retval): Likewise.
27458 (struct La_sparc32_regs): Likewise.
27459 (struct La_sparc32_retval): Likewise.
27460 (struct La_sparc64_regs): Likewise.
27461 (struct La_sparc64_retval): Likewise.
27462 (struct audit_ifaces): Remove architecture-specific pltenter and
27464 * sysdeps/i386/ldsodefs.h: New file.
27465 * sysdeps/powerpc/ldsodefs.h: Likewise.
27466 * sysdeps/s390/ldsodefs.h: Likewise.
27467 * sysdeps/sh/ldsodefs.h: Likewise.
27468 * sysdeps/sparc/ldsodefs.h: Likewise.
27469 * sysdeps/x86_64/ldsodefs.h: Likewise.
27471 2012-07-25 Marek Polacek <polacek@redhat.com>
27474 * math/libm-test.inc (yn_test): Add another test.
27475 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27476 to ERANGE when the result is +-Inf.
27477 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27478 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27479 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27480 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27482 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27484 * conform/data/time.h-data (NULL): Use macro-constant. Require
27486 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27488 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27490 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27492 * configure.in <sysdeps resolving>: Correct printing
27494 * configure: Regenerate.
27496 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27498 * math/w_ilogb.c: Include <limits.h>.
27499 * math/w_ilogbl.c: Likewise.
27501 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27503 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27504 va_copy. Document allowing for unavailable va_copy only as
27505 pre-C99 compatibility.
27506 * manual/string.texi (Copying and Concatenation): Use va_copy
27507 instead of __va_copy in concat example.
27509 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27511 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27512 (__sendto): Use create_address_port. Initialize APORT and deallocate
27515 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27516 with O_NOLINK passed to __file_name_lookup.
27518 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27519 with O_NOLINK passed to __file_name_lookup.
27521 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27522 negative N or less than NGIDS.
27524 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27525 type to string_t. Set ERANGE as errno and return it if NAME is not big
27526 enough. Use memcpy instead of strncpy.
27528 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27530 * elf/Makefile (check-data): Remove.
27531 (localplt.data): New vpath directive.
27532 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27533 instead of $(check-data).
27534 * scripts/data/localplt-generic.data: Move to ...
27535 * sysdeps/generic/localplt.data: ... here.
27536 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27537 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27538 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27541 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27544 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27547 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27550 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27553 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27557 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27559 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27560 PPC32 and PPC64 files.
27561 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27562 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27564 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27566 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27567 __makecontext_ret to ...
27568 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27569 ... here and call exit if uc_link is NULL. New file.
27570 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27571 __makecontext_ret.S.
27572 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27573 __makecontext_ret to ...
27574 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27575 ... here and call exit if uc_link is NULL. New file.
27576 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27577 __makecontext_ret.S.
27579 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27581 * elf/elf.h (R_390_IRELATIVE): New definition.
27582 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27583 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27584 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27585 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27586 (elf_machine_lazy_rel): Likewise.
27587 * sysdeps/s390/dl-irel.h: New file.
27588 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27589 * sysdeps/s390/s390-64/memset.S: New asm code.
27590 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27591 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27592 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27593 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27594 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27595 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27596 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27597 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27598 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27599 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27600 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27601 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27602 * sysdeps/s390/s390-32/memset.S: New asm code.
27603 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27605 2012-07-17 Marek Polacek <polacek@redhat.com>
27608 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27609 * sysdeps/s390/s390-64/configure.in: Likewise.
27610 * sysdeps/sparc/configure.in: Likewise.
27611 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27612 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27613 * sysdeps/i386/configure.in: Likewise.
27614 * sysdeps/x86_64/configure.in: Likewise.
27615 * sysdeps/sh/configure.in: Likewise.
27616 * sysdeps/s390/s390-32/configure: Regenerated.
27617 * sysdeps/s390/s390-64/configure: Likewise.
27618 * sysdeps/x86_64/configure: Likewise.
27619 * sysdeps/sh/configure: Likewise.
27620 * sysdeps/powerpc/powerpc64/configure: Likewise.
27621 * sysdeps/powerpc/powerpc32/configure: Likewise.
27622 * sysdeps/sparc/configure: Likwise.
27623 * sysdeps/i386/configure: Likewise.
27625 * elf/dl-open.c: Comment fixes.
27627 2012-07-17 Joseph Myers <joseph@codesourcery.com>
27629 * Makefile [CXX] (check-data): Remove.
27630 [CXX] (c++-types.data): New vpath directive.
27631 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27632 vpath. Do not allow for C++ type data being missing.
27633 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27634 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27635 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27636 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27637 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27638 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27639 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27642 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27645 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27648 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27651 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27654 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27657 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27660 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27663 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27664 definitions to architecture-specific files.
27665 (TLS_IE): Likewise.
27666 (TLS_LD): Likewise.
27667 (TLS_GD): Likewise.
27668 * sysdeps/i386/tls-macros.h: New file.
27669 * sysdeps/powerpc/tls-macros.h: Likewise.
27670 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27671 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27672 * sysdeps/sh/tls-macros.h: Likewise.
27673 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27674 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27675 * sysdeps/x86_64/tls-macros.h: Likewise.
27677 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27679 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27680 zero value for regular exit case.
27682 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27683 (__start_context): Preserve zero value for regular exit case.
27685 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27686 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27688 * manual/setjmp.texi (setcontext): Clarify normal process
27689 termination when uc_link is the null pointer.
27690 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27693 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27695 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27696 preprocessor. Test for each exception mask separately.
27698 2012-07-16 Andreas Jaeger <aj@suse.de>
27700 * po/ru.po: Update from translation team.
27702 2012-07-15 Joseph Myers <joseph@codesourcery.com>
27704 * conform/data/string.h-data (NULL): Use macro-constant. Require
27706 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27707 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27708 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27709 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27712 2012-07-13 Andreas Jaeger <aj@suse.de>
27714 * po/fr.po: Update from translation team.
27716 2012-07-12 Marek Polacek <polacek@redhat.com>
27719 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27720 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27723 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27726 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27727 Change to 2.4.1 where previously 2.4.0.
27728 * sysdeps/unix/sysv/linux/configure: Regenerated.
27729 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27730 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27732 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27733 (__ASSUME_AT_CLKTCK): Remove.
27734 (__ASSUME_AT_PAGESIZE): Likewise.
27735 (__ASSUME_AT_XID): Likewise.
27736 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27737 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27738 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27740 (HAVE_AUX_PAGESIZE): Likewise.
27741 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27742 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27743 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27745 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27749 the temporary buffer used to invoke __gethostbyname2_r,
27750 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27751 host_data / struct gaih_addrtuple.
27752 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27753 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27754 header file nss/nsswitch.h.
27755 * nss/nsswitch.h (global scope): Add definition of implementation
27756 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27757 resolv/nss_dns/dns-host.c).
27759 2012-07-11 Andreas Jaeger <aj@suse.de>
27761 * po/fr.po: Update from translation team.
27763 * po/sv.po: Update from translation team
27764 * po/fr.po: Another update from translation team.
27766 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27768 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27769 for subnormals or multiply small sinh result by itself.
27770 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27773 2012-07-11 David S. Miller <davem@davemloft.net>
27775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27777 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27780 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27781 (INTERNAL_MARK): Shift it here.
27783 2012-07-10 Marek Polacek <polacek@redhat.com>
27786 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27787 libc_cv_asm_global_directive with .globl.
27788 * configure: Regenerated.
27789 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27791 * sysdeps/i386/configure: Regenerated.
27792 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27794 * sysdeps/x86_64/configure: Regenerated.
27795 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27796 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27797 * elf/tst-unique2mod2.c: Likewise.
27798 * elf/tst-unique2mod1.c: Likewise.
27799 * elf/tst-unique1mod2.c: Likewise.
27800 * elf/tst-unique1mod1.c: Likewise.
27801 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27802 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27803 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27804 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27805 * sysdeps/mach/sysdep.h: Likewise.
27806 * sysdeps/i386/sysdep.h: Likewise.
27807 * sysdeps/i386/i386-mcount.S: Likewise.
27808 * sysdeps/x86_64/_mcount.S: Likewise.
27809 * sysdeps/x86_64/sysdep.h: Likewise.
27810 * sysdeps/sh/_mcount.S: Likewise.
27811 * sysdeps/sh/sysdep.h: Likewise.
27812 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27813 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27814 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27815 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27816 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27817 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27818 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27819 * locale/localeinfo.h: Likewise.
27820 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27821 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27823 2012-07-09 Roland McGrath <roland@hack.frob.com>
27826 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27828 * manual/message.texi (The Uniforum approach): Likewise.
27829 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27830 (glibc iconv Implementation): Likewise.
27832 2012-07-09 Joseph Myers <joseph@codesourcery.com>
27835 * math/s_clog.c (__clog): Avoid scaling a value down where that
27836 could result in underflow.
27837 * math/s_clog10.c (__clog10): Likewise.
27838 * math/s_clog10f.c (__clog10f): Likewise.
27839 * math/s_clog10l.c (__clog10l): Likewise.
27840 * math/s_clogf.c (__clogf): Likewise.
27841 * math/s_clogl.c (__clogl): Likewise.
27842 * math/libm-test.inc (clog_test): Add more tests.
27843 (clog10_test): Likewise.
27844 * sysdeps/i386/fpu/libm-test-ulps: Update.
27845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27847 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27850 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27851 by 7 not 8 to examine high bit of fractional part.
27854 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27855 for call to __mcount_internal.
27856 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27857 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27858 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27860 2012-07-06 Joseph Myers <joseph@codesourcery.com>
27863 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27864 approximation for values within 0x1p-13f of an odd multiple of
27866 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27867 exception. Add more tests.
27868 * sysdeps/i386/fpu/libm-test-ulps: Update.
27871 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27872 inputs and return -1 for them. Do not check for +Inf in case not
27873 reachable for +Inf.
27874 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27875 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27876 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27877 and return -1 for them. Do not check for +Inf in case not
27878 reachable for +Inf.
27879 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27881 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27882 and return -1 for them. Do not check for +Inf in case not
27883 reachable for +Inf.
27884 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27885 spurious underflow.
27886 * sysdeps/i386/fpu/libm-test-ulps: Update.
27887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27889 2012-07-06 Mike Frysinger <vapier@gentoo.org>
27891 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27893 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27897 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27898 could result in spurious underflow. Scale down values above
27899 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27900 * math/s_csqrtf.c (__csqrtf): Likewise.
27901 * math/s_csqrtl.c (__csqrtl): Likewise.
27902 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27903 spurious underflow.
27904 * sysdeps/i386/fpu/libm-test-ulps: Update.
27905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27907 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27909 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27911 * catgets/xopen-msg.awk: New file.
27912 * catgets/xopen-msg.sed: Removed.
27914 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27916 * intl/po2test.awk: New file.
27917 * intl/po2test.sed: Removed.
27919 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27922 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27923 or multiply small sinh result by itself.
27924 * math/s_ctanf.c (__ctanf): Likewise.
27925 * math/s_ctanh.c (__ctanh): Likewise.
27926 * math/s_ctanhf.c (__ctanhf): Likewise.
27927 * math/s_ctanhl.c (__ctanhl): Likewise.
27928 * math/s_ctanl.c (__ctanl): Likewise.
27929 * math/libm-test.inc (ctan_test_tonearest): New function.
27930 (ctan_test_towardzero): Likewise.
27931 (ctan_test_downward): Likewise.
27932 (ctan_test_upward): Likewise.
27933 (ctanh_test_tonearest): Likewise.
27934 (ctanh_test_towardzero): Likewise.
27935 (ctanh_test_downward): Likewise.
27936 (ctanh_test_upward): Likewise.
27937 (main): Call these new functions.
27938 * sysdeps/i386/fpu/libm-test-ulps: Update.
27939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27941 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27943 * .gitignore: Delete /ports entry.
27945 2012-07-03 Andreas Jaeger <aj@suse.de>
27947 * po/bg.po: Update from translation team.
27948 * po/cs.po: Likewise.
27949 * po/de.po: Likewise.
27950 * po/hr.po: Likewise.
27951 * po/nl.pl: Likewise.
27952 * po/pl.po: Likewise.
27953 * po/vi.po: Likewise.
27955 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27957 * Makeconfig [!+link] (+link-before-libc): New variable.
27958 [!+link] (+link-after-libc): Likewise.
27959 [!+link] (+link-tests): Likewise.
27960 [!+link] (+link): Define in terms of $(+link-before-libc) and
27961 $(+link-after-libc).
27962 [!+link-static] (+link-static-before-libc): New variable.
27963 [!+link-static] (+link-static-after-libc): Likewise.
27964 [!+link-static] (+link-static-tests): Likewise.
27965 [!+link-static] (+link-static): Define in terms of
27966 $(+link-static-before-libc) and $(+link-static-after-libc).
27967 [build-shared] (link-libc-before-gnulib): New variable.
27968 [build-shared] (link-libc-tests): Likewise.
27969 [build-shared] (link-libc): Define in terms of
27970 $(link-libc-before-gnulib).
27971 [!build-shared] (link-libc-tests): New variable.
27972 (link-libc-static-tests): New variable.
27973 [!gnulib] (gnulib-arch): New variable.
27974 [!gnulib] (gnulib-tests): Likewise.
27975 [!gnulib] (static-gnulib-arch): Likewise.
27976 [!gnulib] (static-gnulib-tests): Likewise.
27977 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27978 Define with "=" instead of ":=".
27979 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27980 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27981 * Rules (binaries-all-notests): New variable.
27982 (binaries-all-tests): Likewise.
27983 (binaries-static-notests): Likewise.
27984 (binaries-static-tests): Likewise.
27985 (binaries-all): Define using $(binaries-all-notests) and
27986 $(binaries-all-tests).
27987 (binaries-static): Define using $(binaries-static-notests) and
27988 $(binaries-static-tests).
27989 (binaries-shared-tests): New variable.
27990 (binaries-shared-notests): Likewise.
27991 (binaries-shared): Remove variable.
27992 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27993 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27994 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27995 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27996 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27997 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27998 * elf/Makefile (sln-modules): New variable.
27999 (extra-objs): Add $(sln-modules:=.o).
28000 (ldconfig-modules): Add static-stubs.
28001 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28002 * elf/static-stubs.c: New file.
28005 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28006 by 7 not 8 to examine high bit of fractional part. Use volatile
28007 variables when splitting into final array of floats if
28008 __FLT_EVAL_METHOD__ != 0.
28009 * math/libm-test.inc (cos_test): Add another test.
28010 (sin_test): Likewise.
28011 * sysdeps/i386/fpu/libm-test-ulps: Update.
28014 * math/libm-test.inc (cosh_test): Add more tests.
28016 * version.h (RELEASE): Set to "development".
28017 (VERSION): Set to "2.16.90".
28019 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28021 * NEWS: Update copyright. Remove last-updated date.
28022 Mention math library bug fixes and timezone data changes.
28023 * README: Mention GNU/Hurd, x32, and HPPA support status.
28025 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28027 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28029 2012-06-27 Andreas Jaeger <aj@suse.de>
28031 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28033 2012-06-25 Andreas Jaeger <aj@suse.de>
28035 * sysdeps/s390/fpu/libm-test-ulps: Update.
28037 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28038 Thomas Schwinge <thomas@codesourcery.com>
28040 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28041 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28042 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28045 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28047 * sysdeps/mach/start.c: Remove file.
28048 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28049 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28050 * sysdeps/sh/init-first.c: Likewise.
28052 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28053 registers for frame unwinding purposes, add CFI directives.
28054 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28055 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28056 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28059 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28060 __fortify_fail returning.
28061 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28063 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28064 sysdeps/sh/____longjmp_chk.S.
28065 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28066 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28067 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28068 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28070 * sysdeps/sh/abort-instr.h: New file.
28071 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28072 process in case exit returns.
28074 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28075 initialize the GOT register before use.
28077 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28078 calculation of ARGC > 4.
28080 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28081 meaningful names to some local labels.
28083 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28084 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28086 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28087 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28088 (__arch_compare_and_exchange_val_16_acq): Likewise.
28089 (__arch_compare_and_exchange_val_32_acq): Likewise.
28090 (atomic_exchange_and_add): Fix gUSA sequence.
28091 (atomic_add): Likewise.
28092 (atomic_add_negative): Likewise.
28093 (atomic_add_zero): Likewise.
28094 (atomic_bit_test_set): Likewise.
28096 2012-06-22 Andreas Schwab <schwab@redhat.com>
28099 * include/link.h (struct link_map): Add l_free_initfini.
28100 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28102 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28103 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28104 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28107 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28109 * configure.in: Use AC_LANG_SOURCE.
28110 * configure: Regenerate.
28112 2012-06-22 Roland McGrath <roland@hack.frob.com>
28114 * configure.in (libc_cv_localstatedir): New substituted variable.
28115 * configure: Regenerated.
28116 * config.make.in (localstatedir): New variable, substituted from
28117 libc_cv_localstatedir.
28118 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28119 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28120 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28121 * sysdeps/gnu/configure: Regenerated.
28123 2012-06-21 Jeff Law <law@redhat.com>
28126 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28127 free. Simplify list management for _LIBC case.
28129 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28132 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28133 Clear sign bit of 64-bit integer value before comparing against
28136 * sysdeps/mach/configure: Regenerated.
28138 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28141 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28143 2012-06-21 Jeff Law <law@redhat.com>
28146 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28147 uint16_t for elements in the "seen" array to avoid char overflows.
28148 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28149 * elf/dl-open.c (dl_open_worker): Likewise.
28151 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28153 * scripts/list-sources.sh: Scan PORTS for translations.
28154 * po/libc.pot: Regenerated.
28156 2012-06-21 Andreas Jaeger <aj@suse.de>
28159 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28161 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28162 * bits/byteswap-16.h (__bswap_16): Likewise.
28163 * bits/byteswap.h (__bswap_constant_16): Likewise.
28165 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28168 * sysdeps/i386/fpu_control.h: Removed.
28169 * sysdeps/x86_64/fpu_control.h: Moved to ...
28170 * sysdeps/x86/fpu_control.h: Here.
28172 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28173 (_FPU_SETCW): Likewise.
28175 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28178 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28179 * sysdeps/x86/fpu/bits/mathinline.h: This.
28180 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28184 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28185 functions if __x86_64__ is defined.
28187 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28189 * string/endian.h: Add !__ASSEMBLER__ condition for including
28190 conversion interfaces.
28192 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28196 of ABS(x) in calculating zero to negative powers other than odd
28198 * math/libm-test.inc (pow_test): Add more tests.
28200 2012-06-15 Andreas Jaeger <aj@suse.de>
28202 * manual/contrib.texi (Contributors): Update entry of Liubov
28203 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28206 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28208 * string/string.h: Add __wur to GNU version of strerror_r.
28210 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28213 * string/Makefile (tests): Add tst-strtok_r.
28214 * string/tst-strtok_r.c: New file.
28215 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28216 RAX_LP/RDX_LP on SAVE_PTR.
28218 2012-06-14 Roland McGrath <roland@hack.frob.com>
28220 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28222 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28224 * libm_test.inc (csqrt_test): Allow more spurious underflow
28226 (j0_test): Likewise.
28227 (j1_test): Likewise.
28228 (y0_test): Likewise.
28229 (y1_test): Likewise.
28231 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28233 * po/Makefile (libc.pot): Use UTF-8 charset.
28235 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28238 Suppress sign-conversion warning from FD_SET.
28239 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28240 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28241 not unsigned long int.
28242 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28244 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28248 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28249 __extern_always_inline instead of __extern_inline.
28250 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28251 (__signbit): Likewise.
28252 (__signbitl): Support C++ namespace.
28253 (lrintf): New inline function.
28255 (llrintf): Likewise.
28256 (llrint): Likewise.
28266 (floorf): Likewise.
28267 (nearbyint): Likewise.
28268 (nearbyintf): Likewise.
28270 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28272 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28273 non-default versions.
28275 2012-06-11 Roland McGrath <roland@hack.frob.com>
28278 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28280 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28282 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28283 (FE_UPWARD, FE_DOWNWARD): Don't define.
28284 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28285 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28287 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28289 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28290 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28292 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28294 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28295 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28296 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28297 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28299 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28302 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28303 * sysdeps/i386/fpu/Implies: New file.
28304 * sysdeps/x86_64/fpu/Implies: Likewise.
28305 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28306 * sysdeps/x86/fpu/bits/fenv.h: This.
28308 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28311 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28314 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28315 character 0xffff that matches the last element of the
28318 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28320 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28323 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28325 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28326 values higher than 25.6283.
28328 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28330 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28331 subnormal exponent extraction and add some __builtin_expect.
28332 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28333 Fix for subnormal mantissa calculation.
28335 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28337 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28338 cpu2 is -1 and errno is not ENOSYS.
28340 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28343 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28344 * sysdeps/x86/bits/string.h: This.
28345 * sysdeps/x86_64/bits/string.h: Removed.
28347 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28348 if not compiling for x86-64, but compiling for >= i486.
28350 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28351 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28353 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28354 New macro from Linux kernel 3.4.0.
28355 (FP_XSTATE_MAGIC2): Likewise.
28356 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28357 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28358 (struct _fpx_sw_bytes): New struct.
28359 (struct _xsave_hdr): Likewise.
28360 (struct _ymmh_state): Likewise.
28361 (struct _xstate): Likewise.
28363 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28364 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28365 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28366 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28367 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28368 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28370 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28371 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28372 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28373 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28374 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28375 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28377 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28380 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28381 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28382 (sysdep_headers): Include sys/platform/ppc.h.
28383 * sysdeps/powerpc/test-gettimebase.c: Test for
28384 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28385 * manual/Makefile (appendices): Include platform.texi.
28386 * manual/contrib.texi (Contributors): Update @node pointers.
28387 * manual/maint.texi (Maintenance): Likewise.
28388 (Platform): New node.
28389 * manual/platform.texi: New file. Document the new features.
28391 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28392 Jakub Jelinek <jakub@redhat.com>
28395 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28396 where __builtin_expect is unavailable.
28398 2012-06-03 David S. Miller <davem@davemloft.net>
28400 * stdlib/longlong.h: Updated from GCC.
28402 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28405 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28406 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28409 (GLIBC_2.16): Likewise.
28411 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28413 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28415 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28418 (default-abi): New variable.
28419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28420 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28422 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28424 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28426 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28429 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28430 definition. Document in comment.
28432 2012-06-01 David S. Miller <davem@davemloft.net>
28434 * stdlib/longlong.h: Updated from GCC.
28436 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28439 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28440 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28441 sys/debugreg.h sys/io.h here.
28442 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28443 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28445 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28446 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28447 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28448 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28449 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28450 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28452 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28453 Define only if __x86_64__ is defined.
28455 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28458 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28459 Use int64_t for variable i.
28460 * math/libm-test.inc (fmod_test): Add more tests.
28462 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28463 z computation is not scheduled after fetestexcept.
28464 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28465 Use math_force_eval instead of asm to ensure calculation scheduled
28466 before exception test.
28467 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28468 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28470 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28473 computation is not scheduled after fetestexcept.
28475 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28478 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28479 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28481 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28483 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28484 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28486 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28489 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28491 (__WCHAR_MIN): Support __WORDSIZE == 64.
28492 (__WCHAR_MAX): Likewise.
28494 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28495 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28498 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28499 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28502 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28503 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28505 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28506 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28508 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28509 Defined to 1 if __x86_64__ isn't defined.
28510 (_STAT_VER_LINUX_OLD): New.
28511 (st_atime): Remove duplicate.
28512 (st_mtime): Likewise.
28513 (st_ctime): Likewise.
28515 2012-05-31 David S. Miller <davem@davemloft.net>
28517 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28520 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28522 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28526 * elf/dl-reloc.c: Include <_itoa.h>.
28527 (_dl_reloc_bad_type): Remove use of INTUSE.
28528 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28529 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28530 * stdio-common/psiginfo.c (psiginfo): Likewise.
28531 * stdio-common/psignal.c (psignal): Likewise.
28532 * string/strsignal.c (strsignal): Likewise.
28533 * include/signal.h (_sys_siglist): Declare hidden proto.
28534 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28535 INTVARDEF with libc_hidden_data_def.
28536 * stdio-common/itoa-udigits.c: Likewise.
28537 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28538 (_itoa_lower_digits_internal): Remove declaration.
28539 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28540 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28541 (_sys_sigabbrev_internal): Remove aliases.
28542 (_sys_siglist): Define hidden alias.
28544 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28549 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28552 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28553 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28555 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28556 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28557 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28558 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28559 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28560 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28562 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28563 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28564 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28566 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28574 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28575 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28576 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28578 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28579 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28580 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28581 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28582 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28583 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28585 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28586 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28588 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28589 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28591 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28592 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28593 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28595 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28596 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28598 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28600 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28601 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28602 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28604 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28606 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28608 2012-05-31 Joseph Myers <joseph@codesourcery.com>
28610 * math/math.h (M_El): Use two more decimal places.
28611 (M_LOG2El): Likewise.
28612 (M_LOG10El): Likewise.
28613 (M_LN2l): Likewise.
28614 (M_LN10l): Likewise.
28616 (M_PI_2l): Likewise.
28617 (M_PI_4l): Likewise.
28618 (M_1_PIl): Likewise.
28619 (M_2_PIl): Likewise.
28620 (M_2_SQRTPIl): Likewise.
28621 (M_SQRT2l): Likewise.
28622 (M_SQRT1_2l): Likewise.
28624 2012-05-31 David S. Miller <davem@davemloft.net>
28626 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28627 values between float registers.
28628 * sysdeps/sparc/sparc64/memset.S: Likewise.
28629 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28631 2012-05-31 Mike Frysinger <vapier@gentoo.org>
28633 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28634 -D_FORTIFY_SOURCE=1.
28635 (CPPFLAGS-tst-longjmp_chk.c): Define.
28636 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28637 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28638 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28639 CFLAGS-tst-wchar-h.c.
28641 2012-05-31 Marek Polacek <polacek@redhat.com>
28644 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28645 __endmntent_internal): Remove declaration.
28646 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28647 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28648 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28650 2012-05-30 David S. Miller <davem@davemloft.net>
28652 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28653 (___Q_simulate_exceptions): Use real FP ops rather than writing
28655 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28658 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28661 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28662 * sysdeps/x86/bits/xtitypes.h: This.
28664 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28665 * sysdeps/x86/bits/wordsize.h: This.
28667 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28668 * sysdeps/x86/bits/huge_vall.h: This.
28670 * sysdeps/i386/bits/select.h: Removed.
28671 * sysdeps/x86_64/bits/select.h: Renamed to ...
28672 * sysdeps/x86/bits/select.h: This.
28674 * sysdeps/i386/bits/setjmp.h: Removed.
28675 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28676 * sysdeps/x86/bits/setjmp.h: This.
28678 * sysdeps/i386/bits/mathdef.h: Removed.
28679 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28680 * sysdeps/x86/bits/mathdef.h: This.
28682 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28685 * include/sys/socket.h (__connect_internal)
28686 (__libc_sa_len_internal): Remove declaration.
28687 (__connect, __libc_sa_len): Declare hidden_proto.
28688 (SA_LEN): Remove use of INTUSE.
28689 * socket/connect.c: Add libc_hidden_def.
28690 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28691 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28692 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28694 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28695 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28696 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28697 of adding _internal alias.
28699 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28702 * sysdeps/i386/bits/link.h: Removed.
28703 * sysdeps/i386/bits/linkmap.h: Likewise.
28704 * sysdeps/x86_64/bits/link.h: Renamed to ...
28705 * sysdeps/x86/bits/link.h: This.
28706 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28707 * sysdeps/x86/bits/linkmap.h: This.
28709 * sysdeps/i386/bits/endian.h: Removed.
28710 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28711 * sysdeps/x86/bits/endian.h: This.
28713 * sysdeps/i386/bits/byteswap.h: Removed.
28714 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28715 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28716 * sysdeps/x86/bits/byteswap.h: This.
28717 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28718 * sysdeps/x86/bits/byteswap-16.h: This.
28719 * sysdeps/i386/Implies: Add x86.
28720 * sysdeps/x86_64/Implies: Likewise.
28722 2012-05-30 David S. Miller <davem@davemloft.net>
28724 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28725 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28726 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28727 (FP_TRAPPING_EXCEPTIONS): Define.
28728 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28729 (FP_TRAPPING_EXCEPTIONS): Define.
28730 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28731 subnormals only when inexact has been signalled or underflow
28732 exceptions are enabled.
28733 (_FP_PACK_CANONICAL): Likewise.
28735 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28738 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28739 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28741 2012-05-30 Richard Henderson <rth@twiddle.net>
28743 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28744 with #ifndef NOT_IN_libc.
28746 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28747 marked to avoid plt entry.
28749 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28752 * Makeconfig (default-abi): New macro.
28753 (abi-includes): Likewise.
28754 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28755 $(abi-$(default-abi)-lib-soname) for soname if defined.
28756 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28758 * Makefile (installed-stubs): Likewise.
28759 * include/stubs-biarch.h: Removed.
28760 * scripts/lib-names.awk: Only handle one library at a time.
28761 * scripts/soversions.awk: Remove WORDSIZE support.
28762 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28764 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28766 (syscall-list-default-condition): Likewise.
28767 (syscall-list-default-condition): Likewise.
28768 (syscall-list-includes): Likewise.
28769 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28770 syscall-list-* with abi-*. Handle undefined abi-variants.
28771 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28772 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28773 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28774 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28775 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28776 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28778 (syscall-list-32-options): Likewise.
28779 (syscall-list-32-condition): Likewise.
28780 (syscall-list-64-options): Likewise.
28781 (syscall-list-64-condition): Likewise.
28782 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28784 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28787 (abi-64-ld-soname): New macro.
28788 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28789 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28792 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28793 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28795 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28797 * sysdeps/unix/sysv/linux/kernel-features.h
28798 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28799 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28800 include <kernel-features.h>.
28801 [!__NR_ftruncate64]: Remove conditional code.
28802 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28803 [__NR_ftruncate64]: Make code unconditional.
28804 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28805 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28806 include <kernel-features.h>.
28807 [!__NR_ftruncate64]: Remove conditional code.
28808 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28809 [__NR_ftruncate64]: Make code unconditional.
28810 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28812 include <kernel-features.h>.
28813 [!__NR_ftruncate64]: Remove conditional code.
28814 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28815 [__NR_ftruncate64]: Make code unconditional.
28816 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28818 include <kernel-features.h>.
28819 [!__NR_ftruncate64]: Remove conditional code.
28820 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28821 [__NR_ftruncate64]: Make code unconditional.
28822 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28824 * configure.in (libc_cv_fpie): Weaken to a compile test using
28825 LIBC_TRY_CC_OPTION.
28826 * configure: Regenerated.
28828 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28843 2012-05-27 David S. Miller <davem@davemloft.net>
28845 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28847 (__Q_simulate_exceptions): Return void. Change to simulate
28848 exceptions by writing into the %fsr.
28849 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28850 (__Qp_handle_exceptions): Likewise.
28852 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28853 __Qp_handle_exceptions.
28854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28855 __Qp_handle_exceptions.
28856 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28857 as unused and give dummy FP_RND_NEAREST initializer.
28858 (FP_INHIBIT_RESULTS): Define.
28859 (___Q_simulate_exceptions): Update declaration.
28860 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28862 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28863 as unused and give dummy FP_RND_NEAREST initializer.
28864 (__Qp_handle_exceptions): Update declaration.
28865 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28868 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28870 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28871 the temporary FPU control word.
28872 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28873 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28874 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28875 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28876 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28877 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28878 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28879 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28880 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28881 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28882 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28884 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28886 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28889 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28891 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28892 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28893 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28894 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28896 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28897 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28900 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28902 * po/h.po: Update from translation team.
28904 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28906 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28908 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28909 handling of denormals.
28910 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28911 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28912 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28913 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28914 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28919 2012-05-26 Marek Polacek <polacek@redhat.com>
28922 * math/libm-test.inc (fma_test): Don't always expect underflow
28925 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28928 * elf/tst-execstack.c: Include stackinfo.h.
28929 (do_test): Adjust test case to ensure that pthread_getattr_np
28930 behaviour remains the same after marking stack executable.
28932 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28934 * sysdeps/unix/sysv/linux/kernel-features.h
28935 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28936 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28938 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28939 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28940 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28942 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28943 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28945 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28947 * configure.in: Define the default includes to being none.
28948 * configure: Regenerated.
28950 2012-05-25 Roland McGrath <roland@hack.frob.com>
28952 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28953 * sysdeps/x86_64/setjmp.S: Likewise.
28954 * sysdeps/i386/bsd-setjmp.S: Likewise.
28955 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28956 * sysdeps/i386/setjmp.S: Likewise.
28957 * sysdeps/i386/__longjmp.S: Likewise.
28958 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28959 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28961 * include/stap-probe.h: New file.
28962 * configure.in: Handle --enable-systemtap.
28963 * configure: Regenerated.
28964 * config.h.in (USE_STAP_PROBE): New #undef.
28965 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28966 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28967 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28969 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28972 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28973 to 2.4.0 where earlier.
28974 * sysdeps/unix/sysv/linux/configure: Regenerated.
28975 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28976 <kernel-features.h>.
28977 [__ASSUME_32BITUIDS]: Make code unconditional.
28978 [!__ASSUME_32BITUIDS]: Remove conditional code.
28979 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28980 <kernel-features.h>.
28981 [__ASSUME_32BITUIDS]: Make code unconditional.
28982 [!__ASSUME_32BITUIDS]: Remove conditional code.
28983 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28984 [__ASSUME_32BITUIDS]: Make code unconditional.
28985 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28986 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28987 <kernel-features.h>.
28988 [__ASSUME_32BITUIDS]: Make code unconditional.
28989 [!__ASSUME_32BITUIDS]: Remove conditional code.
28990 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28991 <kernel-features.h>.
28992 [__ASSUME_32BITUIDS]: Make code unconditional.
28993 [!__ASSUME_32BITUIDS]: Remove conditional code.
28994 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28995 <kernel-features.h>.
28996 [__ASSUME_32BITUIDS]: Make code unconditional.
28997 [!__ASSUME_32BITUIDS]: Remove conditional code.
28998 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28999 <kernel-features.h>.
29000 [__ASSUME_32BITUIDS]: Make code unconditional.
29001 [!__ASSUME_32BITUIDS]: Remove conditional code.
29002 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29003 <kernel-features.h>.
29004 [__ASSUME_32BITUIDS]: Make code unconditional.
29005 [!__ASSUME_32BITUIDS]: Remove conditional code.
29006 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29007 <kernel-features.h>.
29008 [__ASSUME_32BITUIDS]: Make code unconditional.
29009 [!__ASSUME_32BITUIDS]: Remove conditional code.
29010 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29011 <kernel-features.h>.
29012 [__ASSUME_32BITUIDS]: Make code unconditional.
29013 [!__ASSUME_32BITUIDS]: Remove conditional code.
29014 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29015 <kernel-features.h>.
29016 [__ASSUME_32BITUIDS]: Make code unconditional.
29017 [!__ASSUME_32BITUIDS]: Remove conditional code.
29018 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29019 <kernel-features.h>.
29020 [__ASSUME_32BITUIDS]: Make code unconditional.
29021 [!__ASSUME_32BITUIDS]: Remove conditional code.
29022 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29023 <kernel-features.h>.
29024 [__ASSUME_32BITUIDS]: Make code unconditional.
29025 [!__ASSUME_32BITUIDS]: Remove conditional code.
29026 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29027 <kernel-features.h>.
29028 [__NR_setresgid] (__setresgid): Do not declare.
29029 [__ASSUME_32BITUIDS]: Make code unconditional.
29030 [!__ASSUME_32BITUIDS]: Remove conditional code.
29031 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29032 <kernel-features.h>.
29033 [__NR_setresuid] (__setresuid): Do not declare.
29034 [__ASSUME_32BITUIDS]: Make code unconditional.
29035 [!__ASSUME_32BITUIDS]: Remove conditional code.
29036 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29037 <kernel-features.h>.
29038 [__ASSUME_32BITUIDS]: Make code unconditional.
29039 [!__ASSUME_32BITUIDS]: Remove conditional code.
29040 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29041 <kernel-features.h>.
29042 [__ASSUME_32BITUIDS]: Make code unconditional.
29043 [!__ASSUME_32BITUIDS]: Remove conditional code.
29044 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29045 <kernel-features.h>.
29046 [__ASSUME_32BITUIDS]: Make code unconditional.
29047 [!__ASSUME_32BITUIDS]: Remove conditional code.
29048 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29049 <kernel-features.h>.
29050 [__ASSUME_32BITUIDS]: Make code unconditional.
29051 [!__ASSUME_32BITUIDS]: Remove conditional code.
29052 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29053 <kernel-features.h>.
29054 [__ASSUME_32BITUIDS]: Make code unconditional.
29055 [!__ASSUME_32BITUIDS]: Remove conditional code.
29056 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29057 <kernel-features.h>.
29058 [__ASSUME_32BITUIDS]: Make code unconditional.
29059 [!__ASSUME_32BITUIDS]: Remove conditional code.
29060 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29061 <kernel-features.h>.
29062 [__ASSUME_32BITUIDS]: Make code unconditional.
29063 [!__ASSUME_32BITUIDS]: Remove conditional code.
29064 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29065 <kernel-features.h>.
29066 [__ASSUME_32BITUIDS]: Make code unconditional.
29067 [!__ASSUME_32BITUIDS]: Remove conditional code.
29068 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29069 <kernel-features.h>.
29070 [__ASSUME_32BITUIDS]: Make code unconditional.
29071 [!__ASSUME_32BITUIDS]: Remove conditional code.
29072 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29073 <kernel-features.h>.
29074 [__ASSUME_32BITUIDS]: Make code unconditional.
29075 [!__ASSUME_32BITUIDS]: Remove conditional code.
29076 * sysdeps/unix/sysv/linux/kernel-features.h
29077 (__ASSUME_SETRESUID_SYSCALL): Remove.
29078 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29079 (__ASSUME_32BITUIDS): Likewise.
29080 (__ASSUME_LDT_WORKS): Likewise.
29081 (__ASSUME_O_DIRECTORY): Likewise.
29082 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29083 architecture but not kernel version.
29084 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29085 (__ASSUME_MMAP2_SYSCALL): Likewise.
29086 (__ASSUME_STAT64_SYSCALL): Likewise.
29087 (__ASSUME_IPC64): Likewise.
29088 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29089 <kernel-features.h>.
29090 [__ASSUME_32BITUIDS]: Make code unconditional.
29091 [!__ASSUME_32BITUIDS]: Remove conditional code.
29092 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29093 <kernel-features.h>.
29094 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29095 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29096 132096]: Remove conditional code.
29097 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29098 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29099 <kernel-features.h>.
29100 [__ASSUME_32BITUIDS]: Make code unconditional.
29101 [!__ASSUME_32BITUIDS]: Remove conditional code.
29102 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29103 <kernel-features.h>.
29104 [__ASSUME_32BITUIDS]: Make code unconditional.
29105 [!__ASSUME_32BITUIDS]: Remove conditional code.
29106 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29107 <kernel-features.h>.
29108 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29110 (__setresgid): Do not declare.
29111 [__ASSUME_32BITUIDS]: Make code unconditional.
29112 [!__ASSUME_32BITUIDS]: Remove conditional code.
29113 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29114 <kernel-features.h>.
29115 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29117 (__setresuid): Do not declare.
29118 [__ASSUME_32BITUIDS]: Make code unconditional.
29119 [!__ASSUME_32BITUIDS]: Remove conditional code.
29120 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29121 <kernel-features.h>.
29122 [__ASSUME_32BITUIDS]: Make code unconditional.
29123 [!__ASSUME_32BITUIDS]: Remove conditional code.
29124 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29125 <kernel-features.h>.
29126 [__ASSUME_32BITUIDS]: Make code unconditional.
29127 [!__ASSUME_32BITUIDS]: Remove conditional code.
29129 2012-05-25 Richard Henderson <rth@twiddle.net>
29131 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29132 dl_hwcap to ifunc resolver.
29133 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29135 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29136 dl_hwcap to ifunc resolver.
29137 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29139 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29142 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29143 for |x| <= 2**-26, not 2**-57.
29144 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29147 2012-05-24 Jeff Law <law@redhat.com>
29149 * stdio-common/Makefile (tests): Add bug25.
29150 * stdio-common/bug25.c: New test.
29152 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29155 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29156 multiple of MALLOC_ALIGNMENT in size.
29157 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29159 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29161 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29163 (FILENAME_MAX): Use macro-int-constant.
29164 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29165 (_IOFBF): Use macro-int-constant.
29166 (_IOLBF): Likewise.
29167 (_IONBF): Likewise.
29168 (SEEK_CUR): Likewise.
29169 (SEEK_END): Likewise.
29170 (SEEK_SET): Likewise.
29171 (TMP_MAX): Likewise.
29172 (EOF): Use macro-int-constant. Require < 0.
29173 (NULL): Use macro-constant. Require == 0.
29174 (stdin): Require type to be FILE *.
29175 (stdout): Likewise.
29176 (stderr): Likewise.
29177 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29178 macro-int-constant.
29179 (EXIT_SUCCESS): Likewise.
29180 (NULL): Use macro-constant. Require == 0.
29181 (RAND_MAX): Use macro-int-constant.
29182 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29183 [C99-based standards] (strtof): Require function.
29184 [C99-based standards] (strtold): Likewise.
29185 [C99-based standards] (strtoll): Likewise.
29186 [C99-based standards] (strtoull): Likewise.
29187 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29188 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29189 [ISO || ISO99 || ISO11] (math.h): Likewise.
29190 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29191 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29194 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29197 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29198 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29199 * intl/dgettext.c (DCGETTEXT): Likewise.
29200 * intl/gettext.c (DCGETTEXT): Likewise.
29201 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29202 * posix/regex_internal.h (gettext): Likewise.
29203 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29204 Remove declaration.
29205 * include/argz.h (__argz_count_internal)
29206 (__argz_stringify_internal): Remove declaration.
29207 (__argz_count, __argz_stringify): Declare hidden proto.
29208 * intl/dcgettext.c: Remove use of INTDEF.
29209 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29210 * string/argz-stringify.c: Likewise.
29211 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29212 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29213 Declare hidden proto.
29214 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29215 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29216 Declare hidden proto.
29217 * include/stdio.h (__asprintf_internal): Don't declare.
29218 (__asprintf): Don't define as macro. Declare hidden proto.
29219 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29220 (__fsetlocking): Declare hidden proto.
29221 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29222 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29224 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29225 (_IO_setlinebuf): Remove use of INTUSE.
29226 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29227 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29228 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29229 Remove declaration.
29230 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29231 (_IO_do_flush): Remove use of INTUSE.
29232 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29233 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29234 (_IO_adjust_column, _IO_least_wmarker)
29235 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29236 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29237 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29238 (_IO_default_doallocate, _IO_wdefault_doallocate)
29239 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29240 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29241 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29242 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29243 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29244 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29245 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29246 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29247 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29248 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29249 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29250 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29251 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29253 (_IO_flush_all_internal, _IO_adjust_column_internal)
29254 (_IO_default_uflow_internal, _IO_default_finish_internal)
29255 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29256 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29257 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29258 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29259 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29260 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29261 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29262 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29263 (_IO_file_close_internal, _IO_file_close_it_internal)
29264 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29265 (_IO_file_init_internal, _IO_file_attach_internal)
29266 (_IO_file_fopen_internal, _IO_file_read_internal)
29267 (_IO_file_sync_internal, _IO_file_seek_internal)
29268 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29269 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29270 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29271 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29272 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29273 (_IO_list_all_internal, _IO_link_in_internal)
29274 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29275 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29276 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29277 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29278 (_IO_do_write_internal, _IO_padn_internal)
29279 (_IO_getline_info_internal, _IO_getline_internal)
29280 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29281 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29282 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29283 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29284 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29285 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29286 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29287 with libc_hidden_ver, remove use of INTUSE.
29288 * libio/genops.c: Likewise.
29289 * libio/freopen.c: Likewise.
29290 * libio/freopen64.c: Likewise.
29291 * libio/iofclose.c: Likewise.
29292 * libio/iofdopen.c: Likewise.
29293 * libio/iofflush.c: Likewise.
29294 * libio/iofflush_u.c: Likewise.
29295 * libio/iofgets.c: Likewise.
29296 * libio/iofgets_u.c: Likewise.
29297 * libio/iofopen.c: Likewise.
29298 * libio/iofopncook.c: Likewise.
29299 * libio/iofread.c: Likewise.
29300 * libio/iofread_u.c: Likewise.
29301 * libio/ioftell.c: Likewise.
29302 * libio/iofwrite.c: Likewise.
29303 * libio/iogetline.c: Likewise.
29304 * libio/iogets.c: Likewise.
29305 * libio/iogetwline.c: Likewise.
29306 * libio/iopadn.c: Likewise.
29307 * libio/iopopen.c: Likewise.
29308 * libio/ioseekoff.c: Likewise.
29309 * libio/ioseekpos.c: Likewise.
29310 * libio/iosetbuffer.c: Likewise.
29311 * libio/iosetvbuf.c: Likewise.
29312 * libio/ioungetc.c: Likewise.
29313 * libio/ioungetwc.c: Likewise.
29314 * libio/iovdprintf.c: Likewise.
29315 * libio/iovsprintf.c: Likewise.
29316 * libio/iovsscanf.c: Likewise.
29317 * libio/memstream.c: Likewise.
29318 * libio/obprintf.c: Likewise.
29319 * libio/oldfileops.c: Likewise.
29320 * libio/oldiofclose.c: Likewise.
29321 * libio/oldiofdopen.c: Likewise.
29322 * libio/oldiofopen.c: Likewise.
29323 * libio/oldiopopen.c: Likewise.
29324 * libio/oldstdfiles.c: Likewise.
29325 * libio/putc.c: Likewise.
29326 * libio/setbuf.c: Likewise.
29327 * libio/setlinebuf.c: Likewise.
29328 * libio/stdfiles.c: Likewise.
29329 * libio/strops.c: Likewise.
29330 * libio/vasprintf.c: Likewise.
29331 * libio/vscanf.c: Likewise.
29332 * libio/vsnprintf.c: Likewise.
29333 * libio/vswprintf.c: Likewise.
29334 * libio/wfiledoalloc.c: Likewise.
29335 * libio/wfileops.c: Likewise.
29336 * libio/wgenops.c: Likewise.
29337 * libio/wmemstream.c: Likewise.
29338 * libio/wstrops.c: Likewise.
29339 * libio/__fpurge.c: Likewise.
29340 * libio/__fsetlocking.c: Likewise.
29341 * assert/assert.c: Likewise.
29342 * debug/fgets_chk.c: Likewise.
29343 * debug/fgets_u_chk.c: Likewise.
29344 * debug/fread_chk.c: Likewise.
29345 * debug/fread_u_chk.c: Likewise.
29346 * debug/gets_chk.c: Likewise.
29347 * debug/obprintf_chk.c: Likewise.
29348 * debug/vasprintf_chk.c: Likewise.
29349 * debug/vdprintf_chk.c: Likewise.
29350 * debug/vsnprintf_chk.c: Likewise.
29351 * debug/vsprintf_chk.c: Likewise.
29352 * malloc/mtrace.c: Likewise.
29353 * misc/error.c: Likewise.
29354 * misc/syslog.c: Likewise.
29355 * stdio-common/asprintf.c: Likewise.
29356 * stdio-common/fxprintf.c: Likewise.
29357 * stdio-common/getw.c: Likewise.
29358 * stdio-common/isoc99_fscanf.c: Likewise.
29359 * stdio-common/isoc99_scanf.c: Likewise.
29360 * stdio-common/isoc99_vfscanf.c: Likewise.
29361 * stdio-common/isoc99_vscanf.c: Likewise.
29362 * stdio-common/isoc99_vsscanf.c: Likewise.
29363 * stdio-common/printf-prs.c: Likewise.
29364 * stdio-common/printf_fp.c: Likewise.
29365 * stdio-common/printf_fphex.c: Likewise.
29366 * stdio-common/printf_size.c: Likewise.
29367 * stdio-common/putw.c: Likewise.
29368 * stdio-common/scanf.c: Likewise.
29369 * stdio-common/sprintf.c: Likewise.
29370 * stdio-common/tmpfile.c: Likewise.
29371 * stdio-common/vfprintf.c: Likewise.
29372 * stdio-common/vfscanf.c: Likewise.
29373 * stdlib/strfmon_l.c: Likewise.
29374 * sunrpc/openchild.c: Likewise.
29375 * sunrpc/xdr_stdio.c: Likewise.
29376 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29377 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29379 2012-05-24 Roland McGrath <roland@hack.frob.com>
29381 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29383 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29384 in the third column, to generate for the shared library an IFUNC
29385 that uses _dl_vdso_vsym.
29386 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29387 * Makeconfig (object-suffixes-noshared): New variable.
29389 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29390 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29391 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29392 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29395 * include/sys/time.h (__gettimeofday): Remove macro.
29396 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29397 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29399 (__gettimeofday): Add libc_hidden_def.
29400 (gettimeofday): Add libc_hidden_weak.
29401 * sysdeps/mach/gettimeofday.c: Likewise.
29402 * sysdeps/posix/gettimeofday.c: Likewise.
29403 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29404 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29405 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29406 (__gettimeofday_internal): Remove strong_alias.
29407 (__gettimeofday): Add libc_hidden_def.
29408 (gettimeofday): Add libc_hidden_weak.
29409 * sysdeps/unix/syscalls.list (gettimeofday):
29410 Remove __gettimeofday_internal alias.
29412 2012-05-24 Daniel Jacobowitz <drow@false.org>
29413 H.J. Lu <hongjiu.lu@intel.com>
29416 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29417 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29418 (largebin_index_32_big): New.
29419 (largebin_index): Use it for 16-byte alignment.
29420 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29421 correction with front_misalign.
29423 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29451 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29452 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29454 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29458 * math/libm-test.inc (exp_test): Add test from bug 14036.
29459 (pow_test): Add test from bug 10846.
29461 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29463 (special_function): Do not include flags in test name.
29464 (parse_args): Likewise.
29465 * sysdeps/i386/fpu/libm-test-ulps: Update.
29466 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29467 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29468 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29471 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29473 * math/libm-test.inc ("Philosophy"): Update comment about
29475 (UNDERFLOW_EXCEPTION): New macro.
29476 (UNDERFLOW_EXCEPTION_OK): Likewise.
29477 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29478 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29479 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29480 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29481 (INVALID_EXCEPTION_OK): Update value.
29482 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29483 (OVERFLOW_EXCEPTION_OK): Likewise.
29484 (IGNORE_ZERO_INF_SIGN): Likewise.
29485 (test_exceptions): Handle underflow exceptions.
29486 (acos_test): Update for underflow exception expectations.
29487 (cexp_test): Likewise.
29488 (clog_test): Likewise.
29489 (clog10_test): Likewise.
29490 (csqrt_test): Likewise.
29491 (ctan_test): Likewise.
29492 (ctanh_test): Likewise.
29493 (exp_test): Likewise.
29494 (exp10_test): Likewise.
29495 (exp2_test): Likewise.
29496 (expm1_test): Likewise.
29497 (fma_test): Likewise.
29498 (j0_test): Likewise.
29499 (jn_test): Likewise.
29500 (nexttoward_test): Likewise.
29501 (pow_test): Likewise.
29502 (scalbn_test): Likewise.
29503 (scalbln_test): Likewise.
29504 (tan_test): Likewise.
29505 (y1_test): Likewise.
29506 * sysdeps/i386/fpu/libm-test-ulps: Update.
29507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29509 2012-05-23 David S. Miller <davem@davemloft.net>
29511 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29512 (__libc_sigaction): Remove unused local variables.
29514 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29516 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29518 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29520 mktime: avoid signed integer overflow
29521 * time/mktime.c (__mktime_internal): Do not mishandle the case
29522 where diff == INT_MIN.
29524 mktime: simplify computation of average
29525 * time/mktime.c (ranged_convert): Use new time_t_avg function
29526 instead of rolling our own (probably-slower) code.
29528 mktime: do not assume signed right shift propagates sign bit
29529 * time/mktime.c (isdst_differ): New static function.
29530 (__mktime_internal): No need to normalize tm_isdst now.
29531 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29534 mktime: merge another wrapv change from gnulib
29535 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29536 from some compilers.
29538 mktime: remove incorrect attempt at unusual arithmetics
29539 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29540 The code didn't really work on such machines anyway.
29541 (TYPE_MINIMUM): Assume two's complement.
29542 (twos_complement_arithmetic): Verify that long_int and time_t
29543 are two's complement (or unsigned, in the latter case).
29545 mktime: check signed shifts on long_int and time_t, too
29546 * time/mktime.c (SHR): Check that shifts work as desired
29547 on the types long_int and time_t too, as SHR is used on
29550 mktime: do not assume 'long' is wide enough
29551 * time/mktime.c (verify): Move decl up.
29552 (long_int): New type.
29553 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29554 to remove assumption in the code that 'long' is wide enough to
29555 store year values. This assumption is not true on x32 and on
29556 some non-glibc platforms.
29558 mktime: merge wrapv change from gnulib
29559 * time/mktime.c (WRAPV): New macro.
29560 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29561 (guess_time_tm, __mktime_internal): Do not assume that signed
29562 integer overflow wraps around; modern compilers generate code
29563 where this assumption is no longer valid.
29565 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29567 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29568 Replace "jmp L(pseudo_end)" with "ret".
29569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29572 2012-05-23 Andreas Jaeger <aj@suse.de>
29574 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29575 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29577 2012-05-23 Andreas Jaeger <aj@suse.de>
29578 Maximilian Attems <max@stro.at>
29580 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29583 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29585 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29586 code so that pseudo_end is just ret and the stack pointer is
29587 correct also for static library in error case.
29589 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29591 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29592 move to syscalls.list.
29593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29598 * manual/install.texi (Running make install): Do not mention Linux
29599 kernel version for which pt_chown is not needed.
29600 (Linux): Do not mention problems with nscd with 2.0 kernels.
29601 * INSTALL: Regenerated.
29603 2012-05-23 Andreas Jaeger <aj@suse.de>
29605 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29606 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29608 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29609 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29610 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29611 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29612 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29613 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29614 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29615 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29616 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29617 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29618 * sysdeps/unix/sysv/linux/bits/in.h
29619 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29621 2012-05-22 Roland McGrath <roland@hack.frob.com>
29623 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29624 (PREPARE_VERSION): Just use assert instead, it will be elided
29625 under [NDEBUG] anyway.
29627 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29629 * sysdeps/unix/sysv/linux/Makefile: Include
29630 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29631 (sysdep_routines): Remove sysctl.
29632 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29633 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29634 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29635 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29636 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29638 2012-05-22 Andreas Jaeger <aj@suse.de>
29640 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29641 that pseudo_end is just ret and the stack pointer is correct also
29642 for static library in error case.
29644 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29647 * nss/nsswitch.c (defconfig_entries): New variable.
29648 (__nss_database_lookup): Don't leak defconfig entries.
29649 (nss_parse_service_list): Don't leak on error paths.
29650 (free_database_entries): New function.
29651 (free_defconfig): New function.
29652 (free_mem): Move common code to free_database_entries.
29654 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29656 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29658 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29660 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29661 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29664 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29665 (INTERNAL_SYSCALL_TYPES): Likewise.
29666 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29667 (LOAD_REGS_TYPES_[1-6]): Likewise.
29668 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29669 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29671 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29673 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29674 copysignl for GLIBC_2_0.
29675 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29676 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29677 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29678 logbl for GLIBC_2_0.
29679 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29680 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29682 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29684 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29685 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29687 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29690 * time/mktime.c: Update copyright years.
29692 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29694 mktime: merge comment-quoting-style change from gnulib
29695 * time/mktime.c: Quote 'like this' in comments.
29696 The GNU coding standards suggest that we no longer quote `like this',
29697 as "`" and "'" are typically rendered asymmetrically nowadays.
29698 The typical gnulib style is to quote 'like this' when quoting
29699 code, and "like this" when quoting English.
29701 * time/mktime.c (compile-command): Add "-I.".
29703 mktime: merge mktime-internal.h change from gnulib
29704 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29706 mktime: merge time_r change from gnulib
29707 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29709 mktime: merge DEBUG change from gnulib
29710 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29711 case system <time.h> has a #define.
29713 mktime: merge <sys/types.h> change from gnulib
29714 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29715 since <time.t> is now guaranteed to define time_t.
29717 mktime: merge HAVE_CONFIG_H change from gnulib
29718 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29720 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29725 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29727 (struct rusage): Use anonymous union to pad each field to
29730 2012-05-21 David S. Miller <davem@davemloft.net>
29732 * Makefules (o-iterator): Remove .s cases.
29733 (compile-command.s): Delete.
29734 (COMPILE.s): Delete.
29735 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29737 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29739 * configure.in (libc_cv_predef_stack_protector): Only consider
29740 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29741 * configure: Regenerated.
29743 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29746 New macro. Use R*LP on int and pointer.
29747 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29748 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29749 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29750 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29752 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29753 [__WORDSIZE_TIME64_COMPAT32] instead of
29754 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29755 (struct utmp): Likewise.
29756 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29757 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29759 (__WORDSIZE_TIME64_COMPAT32): This.
29760 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29761 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29762 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29763 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29764 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29765 (__WORDSIZE_TIME64_COMPAT32): New macro.
29767 2012-05-21 Andreas Jaeger <aj@suse.de>
29769 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29770 only if [SHARED]. Add prototype for __wcschr_ia32.
29772 2012-05-21 Roland McGrath <roland@hack.frob.com>
29774 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29775 of %rbp unmolested in the jmp_buf while mangling the low bits.
29776 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29777 unmolested high bits of %rbp while demangling the low bits.
29778 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29780 2012-05-21 Andreas Jaeger <aj@suse.de>
29782 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29783 * sunrpc/svc_simple.c: Use it for registerrpc.
29784 * sunrpc/xcrypt.c: Use it for passwd2des.
29786 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29788 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29790 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29791 Don't define if [__SYSCALL_WORDSIZE != 32].
29792 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29795 2012-05-21 Bruno Haible <bruno@clisp.org>
29796 Andreas Jaeger <aj@suse.de>
29798 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29799 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29800 inptr and inend for must_buffer_ch.
29801 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29802 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29803 * stdio-common/Makefile (tests): Remove bug15.
29804 (bug15-ENV): Remove macro.
29805 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29808 2012-05-19 Andreas Jaeger <aj@suse.de>
29809 Roland McGrath <roland@hack.frob.com>
29811 * manual/contrib.texi: Completely rewritten. It contains now an
29812 alphabetical list of contributors and their contributions.
29814 2012-05-21 Richard Henderson <rth@twiddle.net>
29816 * misc/getauxval.c (__getauxval): Use unsigned long int.
29817 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29818 (getauxval): Use unsigned long int.
29820 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29822 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29824 2012-05-21 Roland McGrath <roland@hack.frob.com>
29826 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29827 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29828 __alignof__ (long double).
29830 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29834 2012-05-20 Richard Henderson <rth@twiddle.net>
29836 * misc/getauxval.c: New file.
29837 * misc/sys/auxv.h: New file.
29838 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29839 (routines): Add getauxval.
29840 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29841 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29842 * elf/dl-sysdep.c (_dl_auxv): Remove.
29843 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29844 * elf/dl-support.c (_dl_auxv): New variable.
29845 (_dl_aux_init): Initialize it.
29846 * manual/startup.texi (Auxiliary Vector): New node.
29847 * sysdeps/generic/bits/hwcap.h: New file.
29848 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29849 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29850 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29851 * sysdeps/sparc/sysdep.h: ... here. Include it.
29852 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29853 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29859 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29865 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29869 2012-05-19 David S. Miller <davem@davemloft.net>
29871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29873 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29876 * math/s_ccosh.c: Include <float.h>
29877 (__ccosh): Avoid internal overflow calculating sinh and cosh
29878 values before multiplying by sin and cos values.
29879 * math/s_ccoshf.c: Likewise.
29880 * math/s_ccoshl.c: Likewise.
29881 * math/s_csin.c: Likewise.
29882 * math/s_csinf.c: Likewise.
29883 * math/s_csinl.c: Likewise.
29884 * math/s_csinh.c: Likewise.
29885 * math/s_csinhf.c: Likewise.
29886 * math/s_csinhl.c: Likewise.
29887 * math/libm-test.inc (ccos_test): Add more tests.
29888 (ccosh_test): Likewise.
29889 (csin_test): Likewise.
29890 (csinh_test): Likewise.
29891 * sysdeps/i386/fpu/libm-test-ulps: Update.
29892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29894 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29896 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29897 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29899 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29901 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29903 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29904 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29905 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29906 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29907 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29908 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29909 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29910 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29911 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29912 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29913 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29914 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29915 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29916 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29917 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29918 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29919 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29920 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29921 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29922 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29923 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29924 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29925 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29926 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29927 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29928 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29929 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29930 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29931 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29932 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29933 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29935 2012-05-18 Andreas Jaeger <aj@suse.de>
29937 * csu/.gitignore: Delete.
29939 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29941 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29942 (timex): Use __syscall_slong_t.
29944 2012-05-18 Andreas Jaeger <aj@suse.de>
29945 Carlos O'Donell <carlos_odonell@mentor.com>
29947 * manual/install.texi (Configuring and compiling): Update
29948 description about files modified in the source directory.
29949 * INSTALL: Regenerated.
29951 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29953 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29954 value. Use "or" to set return value to -1.
29955 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29956 negate return value.
29958 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29960 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29961 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29962 failure if the compiler has Graphite support disabled.
29963 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29965 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29966 (CFLAGS-memmove.c): Likewise.
29967 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29970 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29972 * sysdeps/x86_64/x32/_itoa.h: New file.
29974 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29975 getdents system call only if kernel and user dirents have the
29976 same d_ino and d_off.
29978 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29979 LLONG_MAX != LONG_MAX.
29980 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29981 (_fitoa_word): Likewise.
29983 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29985 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29986 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29987 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29989 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29990 include <bits/wordsize.h>. Check __x86_64__ instead of
29992 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29993 if __x86_64__ is defined. Use anonymous union on fpstate.
29995 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29998 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30000 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30001 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30002 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30003 Refer to _rtld_local_ro instead of _rtld_global_ro.
30004 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30006 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30008 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30010 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30011 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30012 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30014 * sysdeps/powerpc/powerpc32/dl-machine.c
30015 (__elf_machine_runtime_setup) [PROF]: Don't reference
30018 2012-05-18 Andreas Jaeger <aj@suse.de>
30020 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30021 function only available for GCCs before 3.4 since GCC 3.4
30022 introduced a builtin.
30024 (llrintf): Likewise.
30025 (llrint): Likewise.
30032 (nearbyint): Likewise.
30033 (nearbyintf): Likewise.
30037 (floorf): Likewise.
30039 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30041 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30042 on both fields and cast pointer to __syscall_ulong_t.
30044 * bits/types.h (__fsword_t): New type.
30045 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30046 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30047 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30048 (__FSWORD_T_TYPE): Likewise.
30049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30050 (__FSWORD_T_TYPE): Likewise.
30051 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30052 (__FSWORD_T_TYPE): Likewise.
30053 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30054 (__FSWORD_T_TYPE): Likewise.
30055 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30056 __SWORD_TYPE with __fsword_t.
30057 (statfs64): Likewise.
30059 2012-05-17 David S. Miller <davem@davemloft.net>
30061 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30063 2012-05-17 Andreas Jaeger <aj@suse.de>
30065 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30068 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30070 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30072 2012-05-17 Andreas Jaeger <aj@suse.de>
30074 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30077 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30079 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30081 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30083 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30084 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30086 2012-05-17 Andreas Jaeger <aj@suse.de>
30087 Carlos O'Donell <carlos_odonell@mentor.com>
30090 * sysdeps/x86_64/multiarch/init-arch.h
30091 (bit_YMM_Usable): Rename to...
30092 (bit_AVX_Usable): ... this.
30093 (bit_FMA4_Usable): New macro.
30094 (bit_XMM_state): New macro.
30095 (bit_YMM_state): New macro.
30096 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30097 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30098 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30099 (CPUID_OSXSAVE): New macro.
30100 (CPUID_AVX): New macro.
30101 (CPUID_FMA4): New macro.
30102 (index_YMM_Usable): Rename to...
30103 (index_AVX_Usable): ... this.
30104 (HAS_AVX): Use HAS_ARCH_FEATURE.
30105 (HAS_FMA4): Likewise.
30106 (HAS_YMM_USABLE): Remove.
30107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30108 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30110 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30111 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30112 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30113 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30114 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30116 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30118 * math/libm-test.c: Support platforms without multiple rounding modes.
30119 * math/bug-nextafter.c: Support platforms without FP exceptions.
30120 * math/bug-nexttoward.c: Likewise.
30121 * math/test-fenv.c: Likewise.
30122 * math/test-misc.c: Likewise.
30123 * stdlib/bug-getcontext.c: Likewise.
30125 2012-05-17 Andreas Jaeger <aj@suse.de>
30127 * manual/examples/search.c (critter_cmp): Change signature to
30129 * manual/string.texi (Collation Functions): Likewise.
30131 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30133 * bits/types.h: Fold copyright years.
30134 * bits/typesizes.h: Likewise.
30135 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30136 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30138 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30139 * time/time.h: Likewise.
30141 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30144 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30145 in instead of returning them. Return void.
30146 (__libc_mallinfo): Accumulate over all arenas.
30147 (__malloc_stats): Adjust for change in int_mallinfo interface.
30149 2012-05-16 Roland McGrath <roland@hack.frob.com>
30152 * configure.in (NM): Add AC_CHECK_TOOL for it.
30153 (libc_extra_cflags): New substituted variable.
30154 Check for -fstack-protector being used implicitly.
30155 * configure: Regenerated.
30156 * config.make.in (config-extra-cflags): New variable,
30157 gets @libc_extra_cflags@.
30158 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30161 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30162 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30163 * configure: Regenerated.
30164 * config.make.in (CPPUNDEFS): New substituted variable.
30165 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30166 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30167 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30169 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30171 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30172 (mq_attr): Use __syscall_slong_t.
30174 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30176 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30177 Check __x86_64__ instead of __WORDSIZE.
30178 (_STAT_VER_LINUX): Likewise.
30179 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30180 __syscall_ulong_t and __syscall_slong_t.
30181 (stat64): Likewise.
30183 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30185 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30187 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30189 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30191 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30193 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30196 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30197 include <bits/wordsize.h>. Check __x86_64__ instead of
30199 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30201 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30203 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30204 include <bits/wordsize.h>. Check __x86_64__ instead of
30206 (user_regs_struct): Use "__extension__ unsigned long long"
30207 instead of "unsigned long" if __x86_64__ is defined.
30208 (user): Likewise. Pad after pointer field if __ILP32__ is
30211 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30213 * configure.in (makeinfo): Require version 4.5 or later. Allow
30215 * configure: Regenerated.
30216 * manual/install.texi (texinfo): Increase version requirement to
30218 * INSTALL: Regenerated.
30220 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30222 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30224 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30226 * sysdeps/x86_64/x32/ffs.c: New file.
30228 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30230 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30231 defined. Use __syscall_ulong_t.
30232 (shminfo): Use __syscall_ulong_t.
30233 (shm_info): Likewise.
30235 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30238 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30240 (msgqnum_t): Use __syscall_ulong_t.
30241 (msglen_t): Likewise.
30242 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30245 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30246 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30248 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30250 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30251 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30253 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30256 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30257 include <bits/wordsize.h>. Check __x86_64__ instead of
30260 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30261 "unsigned long long int" if __x86_64__ is defined.
30262 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30264 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30265 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30266 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30268 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30270 (GET_PC): Cast to uintptr_t first.
30271 (GET_FRAME): Likewise.
30272 (GET_STACK): Likewise.
30274 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30275 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30276 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30277 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30278 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30279 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30280 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30281 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30282 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30283 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30284 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30285 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30286 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30287 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30288 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30289 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30290 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30291 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30292 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30293 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30294 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30295 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30296 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30297 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30298 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30299 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30300 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30301 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30302 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30304 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30306 * Makerules (+depfiles): Also collect depfiles from .oS in
30308 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30309 .oS, $(libnldbl-routines)).
30311 * Makerules (native-compile-mkdep-flags): Define.
30312 * sunrpc/Makefile (extra-objs): Add $(addprefix
30313 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30314 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30315 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30316 calling $(make-target-directory).
30318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30320 * bits/types.h (__snseconds_t): Removed.
30321 * time/time.h (struct timespec): Replace __snseconds_t with
30323 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30324 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30326 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30327 (__SNSECONDS_T_TYPE): Likewise.
30328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30329 (__SNSECONDS_T_TYPE): Likewise.
30330 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30331 (__SNSECONDS_T_TYPE): Likewise.
30333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30335 * sysdeps/mach/hurd/bits/typesizes.h
30336 (__SYSCALL_SLONG_TYPE): New macro.
30337 (__SYSCALL_ULONG_TYPE): Likewise.
30339 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30341 * bits/types.h (__syscall_slong_t): New type.
30342 (__syscall_ulong_t): Likewise.
30344 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30345 (__SYSCALL_ULONG_TYPE): Likewise.
30346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30347 (__SYSCALL_SLONG_TYPE): Likewise.
30348 (__SYSCALL_ULONG_TYPE): Likewise.
30349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30350 (__SYSCALL_SLONG_TYPE): Likewise.
30351 (__SYSCALL_ULONG_TYPE): Likewise.
30352 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30353 (__SYSCALL_SLONG_TYPE): Likewise.
30354 (__SYSCALL_ULONG_TYPE): Likewise.
30356 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30358 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30359 Add sigaltstack-offsets.sym.
30360 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30361 <sigaltstack-offsets.h>.
30362 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30363 longjmp_msg pointer.
30364 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30365 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30367 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30369 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30371 * elf/stackguard-macros.h: Remove file.
30372 * sysdeps/generic/stackguard-macros.h: New file.
30373 * sysdeps/i386/stackguard-macros.h: Likewise.
30374 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30375 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30376 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30377 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30378 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30379 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30380 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30381 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30382 <elf/stackguard-macros.h>.
30385 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30386 __aligned__ in attribute.
30387 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30388 (gregset_t): Likewise.
30390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30392 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30393 * sysdeps/x86_64/64/Implies-after: Here. New file.
30394 * sysdeps/x86_64/x32/Implies-after: New file.
30396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30398 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30399 and access return value for _dl_profile_fixup. Use R10_LP to
30402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30404 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30408 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30409 * sysdeps/x86_64/x32/sysdep.h: New file.
30411 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30413 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30414 * sysdeps/x86_64/setjmp.S: Likewise.
30416 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30419 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30420 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30421 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30422 remove unused global constant.
30424 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30426 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30427 include of <not-cancel.h>.
30429 2012-05-15 Roland McGrath <roland@hack.frob.com>
30431 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30433 2012-05-15 Jeff Law <law@redhat.com>
30434 Andreas Jaeger <aj@suse.de>
30437 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30439 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30440 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30441 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30442 code changing __hst_map_handle.map.
30444 2012-05-15 Roland McGrath <roland@hack.frob.com>
30446 * configure.in (sysnames): Look for Implies-before and Implies-after
30448 * configure: Regenerated.
30450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30452 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30453 8-byte data alignment with LP_SIZE alignment.
30455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30457 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30462 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30466 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30467 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30468 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30470 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30474 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30475 (stackinfo_sub_sp): Likewise.
30477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30479 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30484 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30489 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30494 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30498 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30499 into R11_LP and load __x86_64_shared_cache_size_half into
30502 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30504 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30507 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30509 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30511 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30513 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30515 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30516 powerpc32/power7/fpu/s_logb.c via #include.
30517 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30518 powerpc32/power7/fpu/s_logbf.c via #include.
30519 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30520 powerpc32/power7/fpu/s_logbl.c via #include.
30522 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30524 * README.libm: Remove file.
30526 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30528 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30529 count for x32. Use R*_LP and omit operand-size suffix.
30531 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30533 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30534 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30535 * sysdeps/x86_64/x32/shlib-versions: New file.
30537 2012-05-14 Roland McGrath <roland@hack.frob.com>
30539 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30540 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30541 Use _dl_fatal_printf instead.
30543 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30545 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30546 set if not set by the user. Do not allow for being unset.
30547 * sysdeps/unix/sysv/linux/configure: Regenerated.
30549 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30551 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30552 the `q' suffix from lea and replace .quad with ASM_ADDR.
30554 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30557 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30559 (PTR_DEMANGLE): Likewise.
30561 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30563 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30565 (ASM_ADDR): Likewise.
30566 (RAX_LP): Likewise.
30567 (RBP_LP): Likewise.
30568 (RBX_LP): Likewise.
30569 (RCX_LP): Likewise.
30570 (RDI_LP): Likewise.
30571 (RSI_LP): Likewise.
30572 (RSP_LP): Likewise.
30575 (R10_LP): Likewise.
30576 (R10_LP): Likewise.
30577 (R11_LP): Likewise.
30578 (R12_LP): Likewise.
30579 (R13_LP): Likewise.
30580 (R14_LP): Likewise.
30581 (R15_LP): Likewise.
30583 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30585 * sysdeps/x86_64/x32/dl-machine.h: New file.
30587 2012-05-14 Andreas Jaeger <aj@suse.de>
30589 * manual/Makefile (subdir): Remove export of subdir.
30590 (all): Remove target.
30591 (.PHONY): Remove all from list.
30592 (mkinstalldirs): Remove.
30593 (.PHONY): Remove installdirs from list.
30594 ($(inst_infodir)/libc.info): Use make-target-directory.
30595 (installdirs): Remove.
30596 (subdir_%): Remove.
30597 (glibc-targets): Remove.
30600 ($(objpfx)stubs ../po/manual.pot): Remove.
30601 ($(objpfx)stamp%): Remove.
30602 (make-target-directory): Remove.
30603 (subdir_install): Remove.
30604 (routines): Remove.
30611 * manual/.gitignore: Remove, it's not needed anymore.
30612 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30614 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30616 (texis): Renamed to $(objpfx)texis.
30617 (texis-path): New, contains path to generated files.
30618 (chapters.%): Use texis-path for complete path, add extra argument
30620 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30621 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30622 (summary,texi, stamp-summary): Use complete path of
30623 files. Generate files in build dir.
30624 (dir-add.texi): Build in build dir.
30625 (libm-err.texi,stamp-libm-err): Likewise.
30626 (version.texi, stamp-version): Likewise.
30627 (.%c.texi): Likewise.
30628 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30629 (mostlyclean): Remove target.
30630 (realclean): Remove target.
30631 (generated): Add new variable with contents from mostlyclean and
30632 realclean, remove entries duplicated in common-mostlyclean, add
30633 stamp-libm-err and stamp-version.
30634 (generated-dirs): Add libc directory.
30635 ($(inst_infodir)/libc.info): Install files from build dir.
30637 * manual/install.texi (Configuring and compiling): Adjust since
30638 the info files are not part of the tar ball anymore.
30640 2012-05-14 Andreas Jaeger <aj@suse.de>
30642 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30645 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30648 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30649 to 2.2.0 where earlier.
30650 * sysdeps/unix/sysv/linux/configure: Regenerated.
30651 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30652 Remove conditional code.
30653 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30654 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30655 Remove conditional code.
30656 [!__NR_lchown]: Likewise.
30657 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30658 [__NR_lchown]: Likewise.
30659 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30660 comment referencing __ASSUME_LCHOWN_SYSCALL.
30661 * sysdeps/unix/sysv/linux/i386/sigaction.c
30662 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30663 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30664 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30665 Remove conditional code.
30666 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30667 (__protocol_available): Remove #if 0 code.
30668 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30670 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30671 * sysdeps/unix/sysv/linux/kernel-features.h
30672 (__ASSUME_GETCWD_SYSCALL): Don't define.
30673 (__ASSUME_REALTIME_SIGNALS): Likewise.
30674 (__ASSUME_PREAD_SYSCALL): Likewise.
30675 (__ASSUME_PWRITE_SYSCALL): Likewise.
30676 (__ASSUME_POLL_SYSCALL): Likewise.
30677 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30678 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30680 (__ASSUME_SIOCGIFNAME): Don't define.
30681 (__ASSUME_MSG_NOSIGNAL): Likewise.
30682 (__ASSUME_SENDFILE): Define unconditionally.
30683 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30684 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30686 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30687 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30688 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30689 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30690 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30691 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30692 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30694 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30697 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30700 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30701 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30703 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30704 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30706 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30709 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30712 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30713 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30715 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30716 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30717 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30718 Remove conditional code.
30719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30720 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30721 Remove conditional code.
30722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30723 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30724 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30725 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30726 Remove conditional code.
30727 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30728 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30729 Remove conditional code.
30730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30731 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30732 Remove conditional code.
30733 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30734 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30735 Remove conditional code.
30736 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30737 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30738 Remove conditional code.
30739 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30740 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30741 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30742 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30743 * sysdeps/unix/sysv/linux/sigaction.c
30744 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30745 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30746 * sysdeps/unix/sysv/linux/sigpending.c
30747 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30748 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30749 * sysdeps/unix/sysv/linux/sigprocmask.c
30750 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30751 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30752 * sysdeps/unix/sysv/linux/sigsuspend.c
30753 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30754 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30755 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30756 (__libc_missing_rt_sigs): Remove.
30757 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30758 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30759 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30760 Remove conditional code.
30761 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30762 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30764 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30765 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30766 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30767 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30769 2012-05-14 Andreas Jaeger <aj@suse.de>
30771 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30772 it's not used in glibc.
30773 (__coshm1): Likewise.
30774 (__acosh1p): Likewise.
30777 * manual/string.texi (Copying and Concatenation): Add missing
30778 variable in concat example.
30779 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30781 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30784 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30785 __builtin_clzl with __builtin_clzll.
30787 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30790 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30793 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30795 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30796 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30797 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30798 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30800 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30802 * NEWS: Update ia64 info.
30804 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30806 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30809 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30811 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30812 * sysdeps/unix/syscalls.list (dup3): Likewise.
30813 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30814 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30816 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30818 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30819 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30821 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30823 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30825 (TLS_IE): Use mov/add instead of movq/addq to load thread
30827 (TLS_GD_PREFIX): New.
30830 2012-05-11 David S. Miller <davem@davemloft.net>
30832 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30833 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30834 (_FPU_SETCW): Likewise.
30836 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30838 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30839 is 32-byte aligned.
30841 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30844 * iconvdata/gb18030.c: Update tables.
30845 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30846 characters specially.
30847 (BODY for TO_LOOP): Add encoding of missing ranges.
30849 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30852 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30853 * sysdeps/mach/hurd/dup3.c: Likewise.
30854 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30855 * sysdeps/powerpc/memmove.c:: Likewise.
30857 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30859 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30860 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30862 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30864 * elf/elf.h (R_X86_64_RELATIVE64): New.
30865 (R_X86_64_NUM): Updated.
30866 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30867 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30868 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30869 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30870 tst-quad1pie tst-quad2pie
30871 (modules-names): Add tst-quadmod1 tst-quadmod2.
30872 ($(objpfx)tst-quad1): New dependency.
30873 ($(objpfx)tst-quad2): Likewise.
30874 ($(objpfx)tst-quad1pie): Likewise.
30875 ($(objpfx)tst-quad2pie): Likewise.
30876 * sysdeps/x86_64/tst-quad1.c: New file.
30877 * sysdeps/x86_64/tst-quad1pie.c: New file.
30878 * sysdeps/x86_64/tst-quad2.c: Likewise.
30879 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30880 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30881 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30882 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30883 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30885 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30887 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30888 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30889 * streams/stropts.h (t_scalar_t): Define type.
30891 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30892 (_PATH_PRESERVE): Set to "/var/lib".
30893 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30895 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30898 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30899 if __dir_mkfile succeeded.
30901 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30902 checking for _hurd_dtablesize. Unlock it right after having
30903 finished _hurd_dtable allocation.
30905 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30907 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30908 * sysdeps/mach/hurd/configure: Regenerated.
30909 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30910 special-casing to...
30911 * sysdeps/gnu/configure.in: ... this new file.
30912 * sysdeps/unix/sysv/linux/configure: Regenerated.
30913 * sysdeps/gnu/configure: New generated file.
30915 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30916 for Linux: use nsec instead of usec, as well as:
30917 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30918 members of type struct timespec.
30919 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30921 (struct stat64): Likewise.
30922 (_STATBUF_ST_NSEC): New macro.
30923 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30925 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30926 __strtoul_internal rather than strtoul.
30928 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30930 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30933 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30935 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30936 which preserves existing values.
30937 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30939 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30941 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30942 TIMEOUT values. Return EINVAL for NFDS values either negative or
30943 greater than FD_SETSIZE.
30945 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30947 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30948 allocated, call __vm_protect to finish enabling the existing space, and
30949 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30950 allocate the remainder.
30952 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30954 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30955 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30957 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30959 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30960 sysdeps/mach/hurd/readlink.c.
30962 * posix/tst-sysconf.c (posix_options): Only use
30963 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30964 _POSIX_SYNCHRONIZED_IO when they are defined
30965 * sysdeps/mach/hurd/bits/posix_opt.h:
30966 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30967 (_XOPEN_REALTIME): Undefine macro.
30968 (_XOPEN_REALTIME_THREADS): Undefine macro.
30969 (_XOPEN_SHM): Undefine macro.
30970 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30972 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30974 (_POSIX_ASYNC_IO): Undefine macro.
30975 (_POSIX_PRIORITIZED_IO): Undefine macro.
30976 (_POSIX_SPIN_LOCKS): Define macro to -1.
30978 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30979 SA_NODEFER, SA_RESETHAND.
30980 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30981 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30986 * elf/Makefile (pldd-modules): Define unconditionally.
30988 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30990 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30992 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30994 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30995 Return ENOENT when name is empty.
30996 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30998 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31000 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31002 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31004 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31006 Fix mlock in all cases except non-readable pages.
31007 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31008 instead of VM_PROT_ALL as parameter to __vm_wire function.
31010 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31011 (__mkdir): When path is `/', just fail with EEXIST.
31012 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31014 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31016 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31017 <sys/uio.h> (for writev).
31018 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31019 and <sys/param.h> (for MIN).
31021 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31023 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31024 REQUESTED_TIME. Properly set the remaining time and return EINTR
31027 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31029 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31030 Depend on against $(link-rpcuserlibs).
31032 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31034 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31035 (__libc_stack_end): Do not use attribute_relro.
31036 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31037 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31038 to libthread-provided value.
31039 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31042 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31045 * bits/libc-lock.h (__libc_once_get): New macro.
31046 * sysdeps/mach/bits/libc-lock.h: Likewise.
31047 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31048 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31049 instead of using implementation details.
31051 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31052 * libio/freopen.c: Likewise.
31053 * libio/freopen64.c: Likewise.
31054 * misc/syslog.c: Likewise.
31055 * nscd/connections.c: Likewise.
31056 * nscd/netgroupcache.c: Likewise.
31057 * sysdeps/posix/getcwd.c: Likewise.
31059 2012-05-10 Roland McGrath <roland@hack.frob.com>
31061 * math/w_ilogbf.c: Add #include <limits.h>.
31063 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31065 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31066 path instead of returning without unlocking.
31068 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31069 immediate-write ioctls.
31070 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31072 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31074 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31075 __builtin_frame_address instead of making assumptions about the
31076 location of the return address relative to DATA. Force early load of
31077 the return address.
31078 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31079 __builtin_frame_address.
31082 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31083 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31084 implement dup3 and do some further code clean-ups.
31085 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31086 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31088 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31090 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31092 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31093 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31094 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31095 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31096 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31099 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31100 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31101 when handler == SIG_ERR, not when handler != SIG_ERR.
31103 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31105 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31106 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31109 accept4 for GNU Hurd.
31110 * include/sys/socket.h (__libc_accept4): New prototype.
31111 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31112 to implement __libc_accept4.
31113 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31115 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31117 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31118 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31119 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31120 signal-defines.sym.
31122 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31124 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31126 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31128 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31129 assertion on O_CLOEXEC flag.
31130 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31131 * hurd/intern-fd.c: Likewise.
31132 * hurd/port2fd.c: Likewise.
31134 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31137 * bits/in.h (IPV6_PKTINFO): Define new macro.
31138 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31140 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31145 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31146 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31147 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31148 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31149 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31150 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31151 * math/libm-test.inc (logb_test) : Additional logb tests.
31153 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31154 Andreas Jaeger <aj@suse.de>
31156 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31157 * configure: Regenerated.
31158 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31159 * config.make.in (link-obsolete-rpc): New substituted variable.
31160 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31161 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31162 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31163 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31164 so that libc.a contains the symbols.
31165 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31166 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31167 * sunrpc/auth_none.c: Likewise.
31168 * sunrpc/auth_unix.c: Likewise.
31169 * sunrpc/authdes_prot.c: Likewise.
31170 * sunrpc/authuxprot.c: Likewise.
31171 * sunrpc/clnt_gen.c: Likewise.
31172 * sunrpc/clnt_perr.c: Likewise.
31173 * sunrpc/clnt_raw.c: Likewise.
31174 * sunrpc/clnt_simp.c: Likewise.
31175 * sunrpc/clnt_tcp.c: Likewise.
31176 * sunrpc/clnt_udp.c: Likewise.
31177 * sunrpc/clnt_unix.c: Likewise.
31178 * sunrpc/des_crypt.c: Likewise.
31179 * sunrpc/des_soft.c: Likewise.
31180 * sunrpc/get_myaddr.c: Likewise.
31181 * sunrpc/key_call.c: Likewise.
31182 * sunrpc/key_prot.c: Likewise.
31183 * sunrpc/netname.c: Likewise.
31184 * sunrpc/pm_getmaps.c: Likewise.
31185 * sunrpc/pm_getport.c: Likewise.
31186 * sunrpc/pmap_clnt.c: Likewise.
31187 * sunrpc/pmap_prot.c: Likewise.
31188 * sunrpc/pmap_prot2.c: Likewise.
31189 * sunrpc/pmap_rmt.c: Likewise.
31190 * sunrpc/publickey.c: Likewise.
31191 * sunrpc/rpc_cmsg.c: Likewise.
31192 * sunrpc/rpc_common.c: Likewise.
31193 * sunrpc/rpc_dtable.c: Likewise.
31194 * sunrpc/rpc_prot.c: Likewise.
31195 * sunrpc/rpc_thread.c: Likewise.
31196 * sunrpc/rtime.c: Likewise.
31197 * sunrpc/svc.c: Likewise.
31198 * sunrpc/svc_auth.c: Likewise.
31199 * sunrpc/svc_raw.c: Likewise.
31200 * sunrpc/svc_run.c: Likewise.
31201 * sunrpc/svc_tcp.c: Likewise.
31202 * sunrpc/svc_udp.c: Likewise.
31203 * sunrpc/svc_unix.c: Likewise.
31204 * sunrpc/svcauth_des.c: Likewise.
31205 * sunrpc/xcrypt.c: Likewise.
31206 * sunrpc/xdr.c: Likewise.
31207 * sunrpc/xdr_array.c: Likewise.
31208 * sunrpc/xdr_float.c: Likewise.
31209 * sunrpc/xdr_intXX_t.c: Likewise.
31210 * sunrpc/xdr_mem.c: Likewise.
31211 * sunrpc/xdr_rec.c: Likewise.
31212 * sunrpc/xdr_ref.c: Likewise.
31213 * sunrpc/xdr_sizeof.c: Likewise.
31214 * sunrpc/xdr_stdio.c: Likewise.
31216 2012-05-10 Roland McGrath <roland@hack.frob.com>
31218 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31219 change. Update copyright years.
31221 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31223 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31225 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31226 Joseph Myers <joseph@codesourcery.com>
31227 Paul Pluzhnikov <ppluzhnikov@google.com>
31230 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31232 [cross-compiling] (extra-libs): Likewise.
31233 [cross-compiling] (extra-libs-others): Likewise.
31234 [cross-compiling] (librpcsvc-routines): Likewise.
31235 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31236 [cross-compiling] (omit-deps): Likewise.
31237 (sunrpc-CPPFLAGS): New variable.
31238 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31239 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31240 (cross-rpcgen-objs): New variable.
31241 (extra-objs): Append $(cross-rpcgen-objs).
31242 ($(cross-rpcgen-objs)): New rule.
31243 ($(objpfx)cross-rpcgen): Likewise.
31244 (rpcgen-cmd): Define to use $(built-program-file). Expand
31246 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31247 ($(objpfx)x%.stmp): Likewise.
31248 * sunrpc/proto.h [IS_IN_build] (_): Define.
31249 [IS_IN_build] (_libc_intl_domainname): Likewise.
31251 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31253 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31254 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31255 and R_X86_64_TPOFF64.
31257 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31259 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31260 sysdeps/unix/sysv/syscalls.list.
31263 * sysdeps/unix/sysv/syscalls.list: Remove file.
31265 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31268 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31269 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31270 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31271 (__LC_IDENTIFICATION): Make these macros useful in #if
31272 expressions, as required by C99.
31274 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31276 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31277 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31280 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31282 * stdlib/longlong.h: Updated from GCC.
31284 2012-05-09 Andreas Jaeger <aj@suse.de>
31286 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31287 default is first entry.
31288 (run_mode): Set type.
31289 (main): Remove informal message about syslog.
31290 (options): Fix typo.
31293 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31296 (llrintf): Likewise.
31297 (llrint): Likewise.
31300 (nearbyint): Likewise.
31301 (nearbyintf): Likewise.
31303 2012-05-09 Andreas Jaeger <aj@suse.de>
31304 Pedro Alves <palves@redhat.com>
31306 * nscd/nscd.c (run_mode): Use enum.
31307 (main): Cleanup coding style issue.
31309 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31310 Andreas Jaeger <aj@suse.de>
31312 * nscd/nscd.c (go_background): Replaced with...
31313 (run_mode): ... this.
31314 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31315 (options): Add -F --foreground.
31316 (main): Implement it.
31317 (parse_opt): Parse it.
31319 2012-05-09 Andreas Jaeger <aj@suse.de>
31322 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31323 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31324 -Wconversion warning.
31325 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31328 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31330 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31332 (LC_ALL): Use macro-int-constant.
31333 (LC_COLLATE): Likewise.
31334 (LC_CTYPE): Likewise.
31335 (LC_MESSAGES): Likewise.
31336 (LC_MONETARY): Likewise.
31337 (LC_NUMERIC): Likewise.
31338 (LC_TIME): Likewise.
31339 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31340 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31341 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31342 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31344 [C99-based standards] (float_t): Expect type.
31345 [C99-based standards] (double_t): Expect type.
31346 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31348 [C99-based standards] (HUGE_VALL): Likewise.
31349 [C99-based standards] (INFINITY): Likewise.
31350 [C99-based standards] (NAN): Likewise.
31351 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31352 [C99-based standards] (FP_NAN): Likewise.
31353 [C99-based standards] (FP_NORMAL): Likewise.
31354 [C99-based standards] (FP_SUBNORMAL): Likewise.
31355 [C99-based standards] (FP_ZERO): Likewise.
31356 [C99-based standards] (FP_FAST_FMA): Use
31357 optional-macro-int-constant. Specify type. Require == 1.
31358 [C99-based standards] (FP_FAST_FMAF): Likewise.
31359 [C99-based standards] (FP_FAST_FMAL): Likewise.
31360 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31361 [C99-based standards] (FP_ILOGBNAN): Likewise.
31362 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31364 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31365 [C99-based standards] (math_errhandling): Specify type.
31366 [ISO99 || ISO11] (signgam): Do not allow.
31367 [non-C99-based standards] (copysignf): Do not allow.
31368 [non-C99-based standards] (exp2f): Likewise.
31369 [non-C99-based standards] (log2f): Likewise.
31370 [non-C99-based standards] (modff): Allow.
31371 [non-C99-based standards] (erff): Do not allow.
31372 [non-C99-based standards] (erfcf): Likewise.
31373 [non-C99-based standards] (gammaf): Likewise.
31374 [non-C99-based standards] (hypotf): Likewise.
31375 [non-C99-based standards] (j0f): Likewise.
31376 [non-C99-based standards] (j1f): Likewise.
31377 [non-C99-based standards] (jnf): Likewise.
31378 [non-C99-based standards] (lgammaf): Likewise.
31379 [non-C99-based standards] (tgammaf): Likewise.
31380 [non-C99-based standards] (y0f): Likewise.
31381 [non-C99-based standards] (y1f): Likewise.
31382 [non-C99-based standards] (ynf): Likewise.
31383 [non-C99-based standards] (isnanf): Likewise.
31384 [non-C99-based standards] (acoshf): Likewise.
31385 [non-C99-based standards] (asinhf): Likewise.
31386 [non-C99-based standards] (atanhf): Likewise.
31387 [non-C99-based standards] (cbrtf): Likewise.
31388 [non-C99-based standards] (expm1f): Likewise.
31389 [non-C99-based standards] (ilogbf): Likewise.
31390 [non-C99-based standards] (log1pf): Likewise.
31391 [non-C99-based standards] (logbf): Likewise.
31392 [non-C99-based standards] (nextafterf): Likewise.
31393 [non-C99-based standards] (remainderf): Likewise.
31394 [non-C99-based standards] (rintf): Likewise.
31395 [non-C99-based standards] (scalbf): Likewise.
31396 [non-C99-based standards] (copysignl): Likewise.
31397 [non-C99-based standards] (exp2l): Likewise.
31398 [non-C99-based standards] (log2l): Likewise.
31399 [non-C99-based standards] (modfl): Allow.
31400 [non-C99-based standards] (erfl): Do not allow.
31401 [non-C99-based standards] (erfcl): Likewise.
31402 [non-C99-based standards] (gammal): Likewise.
31403 [non-C99-based standards] (hypotl): Likewise.
31404 [non-C99-based standards] (j0l): Likewise.
31405 [non-C99-based standards] (j1l): Likewise.
31406 [non-C99-based standards] (jnl): Likewise.
31407 [non-C99-based standards] (lgammal): Likewise.
31408 [non-C99-based standards] (tgammal): Likewise.
31409 [non-C99-based standards] (y0l): Likewise.
31410 [non-C99-based standards] (y1l): Likewise.
31411 [non-C99-based standards] (ynl): Likewise.
31412 [non-C99-based standards] (isnanl): Likewise.
31413 [non-C99-based standards] (acoshl): Likewise.
31414 [non-C99-based standards] (asinhl): Likewise.
31415 [non-C99-based standards] (atanhl): Likewise.
31416 [non-C99-based standards] (cbrtl): Likewise.
31417 [non-C99-based standards] (expm1l): Likewise.
31418 [non-C99-based standards] (ilogbl): Likewise.
31419 [non-C99-based standards] (log1pl): Likewise.
31420 [non-C99-based standards] (logbl): Likewise.
31421 [non-C99-based standards] (nextafterl): Likewise.
31422 [non-C99-based standards] (remainderl): Likewise.
31423 [non-C99-based standards] (rintl): Likewise.
31424 [non-C99-based standards] (scalbl): Likewise.
31425 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31426 [non-C99-based standards] (FP_*): Do not allow.
31427 [C99-based standards] (FP_*): Change to
31428 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31429 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31431 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31432 (SIG_ERR): Likewise.
31433 [X/Open-based standards] (SIG_HOLD): Likewise.
31434 (SIG_IGN): Likewise.
31435 (SIGABRT): Use macro-int-constant. Specify type. Require
31437 (SIGFPE): Likewise.
31438 (SIGILL): Likewise.
31439 (SIGINT): Likewise.
31440 (SIGSEGV): Likewise.
31441 (SIGTER): Likewise.
31442 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31443 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31444 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31445 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31446 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31447 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31448 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31449 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31450 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31451 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31452 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31453 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31454 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31455 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31456 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31457 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31458 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31459 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31460 [X/Open-based standards] (SIGTRAP): Likewise.
31461 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31462 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31463 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31464 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31465 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31468 2012-05-08 Ian Wienand <ianw@vmware.com>
31471 * time/tzset.c (__tzset_parse_tz): Update default rules for
31472 daylight time changes in the Energy Policy Act of 2005.
31474 2012-05-09 Andreas Jaeger <aj@suse.de>
31477 * elf/ldconfig.c (parse_conf): Change string to make clear that
31478 ldconfig only issued a warning if ld.so.conf does not exist.
31480 2012-05-08 David S. Miller <davem@davemloft.net>
31482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31483 movxtod instead of popping the value on the stack.
31485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31487 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31489 * config.h.in: Add HAVE_ARM_PCS_VFP.
31491 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31494 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31495 checking but the checks are disabled for any reason.
31497 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31499 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31500 and ELF64_R_TYPE with ELFW(R_TYPE).
31502 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31504 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31505 (ulimit): Likewise.
31507 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31508 (settimeofday): Likewise.
31510 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31512 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31513 a struct th_u2 inside the union, and move tu_block/tu_code into
31514 a new th_u3 union of tu_block/tu_code inside of that. Move
31515 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31516 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31517 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31518 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31519 (th_stuff): Change to th_u1.tu_stuff.
31521 (th_msg): Change to th_u1.th_u2.tu_data.
31523 2012-05-07 David S. Miller <davem@davemloft.net>
31525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31528 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31529 (SETUP_PIC_REG): Use it.
31530 (SETUP_PIC_REG_LEAF): Use it.
31532 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31536 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31538 (EXPL_FINITE): Likewise.
31539 (FLDLOG): Likewise.
31540 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31541 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31543 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31545 (EXPL_FINITE): Likewise.
31546 (FLDLOG): Likewise.
31547 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31548 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31550 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31551 test of -max_value argument for long double.
31552 * sysdeps/i386/fpu/libm-test-ulps: Update.
31553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31555 2012-05-06 David S. Miller <davem@davemloft.net>
31557 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31558 quad soft-float symbols whose references which are compiler
31560 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31562 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31566 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31568 (EXPL_FINITE): Likewise.
31569 (FLDLOG): Likewise.
31572 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31573 Adjust comments for base varying.
31574 (__expl_finite): Change alias to EXPL_FINITE.
31575 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31577 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31578 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31579 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31580 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31581 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31583 (EXPL_FINITE): Likewise.
31584 (FLDLOG): Likewise.
31587 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31588 Adjust comments for base varying.
31589 (__expl_finite): Change alias to EXPL_FINITE.
31590 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31595 * math/libm-test.inc (check_float_internal): Correct ulp
31596 calculation for subnormal expected results.
31598 2012-05-06 Andreas Jaeger <aj@suse.de>
31600 * Makeconfig (+math-flags): New, set to -frounding-math.
31601 (+cflags): Add +math-flags so that all of glibc gets compiled with
31604 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31606 2012-05-05 Joseph Myers <joseph@codesourcery.com>
31608 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31614 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31615 (__ieee754_expl): Allow for and saturate large arguments.
31616 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31617 (u_threshold): Likewise.
31618 (__exp): Call __ieee754_exp before checking for overflow and
31620 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31621 (u_threshold): Likewise.
31622 (__expf): Call __ieee754_expf before checking for overflow and
31624 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31625 (u_threshold): Likewise.
31626 (__expl): Call __ieee754_expl before checking for overflow and
31628 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31629 (__ieee754_expl): Allow for and saturate large arguments.
31630 * math/libm-test.inc (exp_test): Add another test. Do not allow
31631 missing overflow exception on overflow.
31632 (expm1_test): Do not allow missing overflow exception on overflow.
31634 * sysdeps/i386/fpu/e_expl.c: Move to ...
31635 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31636 rather than using inline asm.
31637 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31638 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31639 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31641 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31644 (signal): Likewise.
31648 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31650 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31651 sysdeps/unix/common/syscalls.list.
31652 (fchmod): Likewise.
31653 (fchown): Likewise.
31654 (ftruncate): Likewise.
31655 (getrusage): Likewise.
31656 (gettimeofday): Likewise.
31657 (setpgid): Likewise.
31658 (setregid): Likewise.
31659 (setreuid): Likewise.
31660 (sigaction): Likewise.
31661 (truncate): Likewise.
31662 (vhangup): Likewise.
31663 * sysdeps/unix/common/syscalls.list: Remove file.
31664 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31665 * sysdeps/unix/sysv/linux/Implies: Likewise.
31667 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31669 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31671 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31675 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31678 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31681 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31684 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31687 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31690 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31693 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31697 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31701 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31704 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31708 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31712 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31714 * sysdeps/unix/common/bits/dirent.h: Remove file.
31715 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31717 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31718 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31719 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31720 * sysdeps/unix/bsd/isatty.c: Likewise.
31721 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31722 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31723 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31725 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31728 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31729 long double comparison inaccuracies.
31730 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31733 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31735 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31736 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31738 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31741 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31742 nonzero digits before rounding a hex value.
31743 * stdlib/tst-strtod.c (tests): Add another test.
31745 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31747 * sysdeps/s390/fpu/libm-test-ulps: Update.
31749 2012-05-03 Andreas Jaeger <aj@suse.de>
31751 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31752 does not get optimized out.
31753 (malloc_opt_barrier): New.
31755 2012-05-03 Andreas Jaeger <aj@suse.de>
31756 Roland McGrath <roland@hack.frob.com>
31758 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31759 intermediate file deletion.
31760 (generated): Add .symlist files.
31762 2012-05-03 Joseph Myers <joseph@codesourcery.com>
31765 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31766 Redirect under this condition.
31767 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31768 [__USE_GNU] (__dprintf_chk): Not under this condition.
31769 [__USE_GNU] (__vdprintf_chk): Likewise.
31770 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31771 under this condition.
31772 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31773 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31774 [__USE_XOPEN2K8] (vdprintf): Likewise.
31775 [__USE_GNU] (__dprintf_chk): Not under this condition.
31776 [__USE_GNU] (__vdprintf_chk): Likewise.
31777 [__USE_GNU] (dprintf): Likewise.
31778 [__USE_GNU] (vdprintf): Likewise.
31780 2012-05-03 Roland McGrath <roland@hack.frob.com>
31782 * elf/Makefile (common-generated): Set this instead of generated for
31783 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31784 $(all-built-dso)-derived lists.
31786 2012-05-03 Andreas Jaeger <aj@suse.de>
31788 * sysdeps/i386/fpu/libm-test-ulps: Update.
31791 * FAQ.in: Likewise.
31792 * scripts/gen-FAQ.pl: Likewise.
31793 * manual/install.texi (Installation): Point to online location of
31795 * Makefile (files-for-dist): Remove FAQ.
31798 2012-05-02 Allan McRae <allan@archlinux.org>
31800 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31801 (LDFLAGS-reldepmod5.so): Likewise.
31802 (LDFLAGS-reldep6mod1.so): Likewise.
31803 (LDFLAGS-reldep6mod4.so): Likewise.
31804 (LDFLAGS-reldep8mod3.so): Likewise.
31805 (LDFLAGS-unload4mod1.so): Likewise.
31806 (LDFLAGS-unload4mod2.so): Likewise.
31807 (LDFLAGS-tst-initorder): Likewise.
31808 (LDFLAGS-tst-initordera2.so): Likewise.
31809 (LDFLAGS-tst-initordera3.so): Likewise.
31810 (LDFLAGS-tst-initordera4.so): Likewise.
31811 (LDFLAGS-tst-initorderb2.so): Likewise.
31812 (LDFLAGS-noload): Likewise.
31813 (LDFLAGS-next): Likewise.
31814 (LDFLAGS-order2mod1.so): Likewise.
31815 (LDFLAGS-order2mod2.so): Likewise.
31816 (LDFLAGS-tst-initorder2): Likewise.
31817 (LDFLAGS-tst-initorder2a.so): Likewise.
31818 (LDFLAGS-tst-initorder2b.so): Likewise.
31819 (LDFLAGS-tst-initorder2c.so): Likewise.
31820 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31822 2012-05-02 David S. Miller <davem@davemloft.net>
31824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31826 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31829 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31831 2012-05-02 Andreas Jaeger <aj@suse.de>
31833 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31834 since we manipulate rounding mode.
31835 (CPPFLAGS-test-idouble.c): Likewise.
31836 (CPPFLAGS-test-ifloat.c): Likewise.
31837 (CFLAGS-test-ldouble.c): Likewise.
31838 (CFLAGS-test-double.c): Likewise.
31839 (CFLAGS-test-float.c): Likewise.
31840 (CFLAGS-test-misc.c): Likewise.
31841 (CFLAGS-test-test-fenv.c): Likewise.
31843 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31847 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31848 comparisons to determine direction to adjust input.
31850 2012-05-01 Roland McGrath <roland@hack.frob.com>
31852 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31853 output to the target.
31855 * scripts/localplt.awk: New file.
31856 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31857 (check-localplt-CFLAGS): Variable removed.
31858 ($(all-built-dso:=.jmprel)): New static pattern rule.
31859 (generated): Add those targets.
31860 (localplt-built-dso): New variable.
31861 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31863 * elf/check-localplt.c: File removed.
31865 * scripts/check-execstack.awk: New file.
31866 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31867 (check-execstack-CFLAGS): Variable removed.
31868 ($(objpfx)check-execstack.h): Target removed.
31869 ($(objpfx)execstack-default): New target.
31870 (generated): Add that instead of check-execstack.h.
31871 ($(all-built-dso:=.phdr)): New static pattern rule.
31872 (generated): Add those targets.
31873 * elf/check-execstack.c: File removed.
31875 * scripts/check-textrel.awk: New file.
31876 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31877 (check-textrel-CFLAGS): Variable removed.
31878 (all-built-dso): Use := to define.o
31879 ($(all-built-dso:=.dyn)): New static pattern rule.
31880 (generated): Add those targets.
31881 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31882 * config.make.in (READELF): New substituted variable.
31883 * elf/check-textrel.c: File removed.
31885 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31887 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31889 * conform/data/ctype.h-data [C99-based standards] (isblank):
31891 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31892 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31893 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31894 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31895 Specify type. Require positive value.
31896 (EILSEQ): Likewise.
31897 (ERANGE): Likewise.
31898 [ISO || POSIX] (EILSEQ): Do not expect.
31899 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31900 Specify type. Require positive value.
31901 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31902 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31903 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31904 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31905 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31906 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31907 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31908 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31909 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31910 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31911 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31912 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31913 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31914 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31915 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31916 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31917 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31918 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31919 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31920 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31921 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31922 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31923 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31924 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31925 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31926 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31927 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31928 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31929 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31930 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31931 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31932 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31933 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31934 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31935 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31936 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31937 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31938 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31939 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31940 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31941 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31942 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31943 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31944 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31945 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31946 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31947 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31948 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31949 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31950 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31951 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31952 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31953 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31954 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31955 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31956 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31957 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31958 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31959 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31960 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31961 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31962 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31963 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31964 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31965 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31966 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31967 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31968 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31969 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31970 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31971 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31972 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31973 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31974 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31975 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31976 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31977 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31979 (FLT_ROUNDS): Expect as macro, not constant.
31980 (FLT_MANT_DIG): Use macro-int-constant.
31981 (DBL_MANT_DIG): Likewise.
31982 (LDBL_MANT_DIG): Likewise.
31983 (FLT_DIG): Likewise.
31984 (DBL_DIG): Likewise.
31985 (LDBL_DIG): Likewise.
31986 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31987 (DBL_MIN_EXP): Likewise.
31988 (LDBL_MIN_EXP): Likewise.
31989 (FLT_MAX_EXP): Use macro-int-constant.
31990 (DBL_MAX_EXP): Likewise.
31991 (LDBL_MAX_EXP): Likewise.
31992 (FLT_MAX_10_EXP): Likewise.
31993 (DBL_MAX_10_EXP): Likewise.
31994 (LDBL_MAX_10_EXP): Likewise.
31995 (FLT_MAX): Use macro-constant.
31996 (DBL_MAX): Likewise.
31997 (LDBL_MAX): Likewise.
31998 (FLT_EPSILON): Use macro-constant. Give upper bound.
31999 (DBL_EPSILON): Likewise.
32000 (LDBL_EPSILON): Likewise.
32001 (FLT_MIN): Likewise.
32002 (DBL_MIN): Likewise.
32003 (LDBL_MIN): Likewise.
32004 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32005 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32006 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32007 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32008 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32009 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32010 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32011 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32012 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32013 [ISO11] (FLT_TRUE_MIN): Likewise.
32014 [ISO11] (LDBL_TRUE_MIN): Likewise.
32015 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32016 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32017 (SCHAR_MIN): Use macro-int-constant. Specify type.
32018 (SCHAR_MAX): Likewise.
32019 (UCHAR_MAX): Likewise.
32020 (CHAR_MIN): Likewise.
32021 (CHAR_MAX): Likewise.
32022 (MB_LEN_MAX): Use macro-int-constant.
32023 (SHRT_MIN): Use macro-int-constant. Specify type.
32024 (SHRT_MAX): Likewise.
32025 (USHRT_MAX): Likewise.
32026 (INT_MAX): Likewise.
32027 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32029 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32031 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32033 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32034 bound negative. Suffix upper bound with "L".
32035 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32037 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32039 [C99-based standards] (LLONG_MAX): Likewise.
32040 [C99-based standards] (ULLONG_MAX): Likewise.
32041 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32043 [ISO11] (max_align_t): Require type.
32044 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32046 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32047 from $CFLAGS, without defining away __attribute__ calls.
32048 (checknamespace): Use $CFLAGS_namespace.
32050 * conform/conformtest.pl (@keywords): Only include C99 keywords
32051 for standards based on C99 or C11.
32053 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32055 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32058 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32059 usability of symbols in #if.
32061 * conform/conformtest.pl: If macro or constant types start
32062 "promoted:", expect the symbol to be of the following type
32063 promoted by the integer promotions.
32065 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32066 in one place. Also handle "macro-constant".
32068 * conform/conformtest.pl: Only accept expected macro values with
32069 "==". Parse all "macro" lines in one place.
32070 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32072 * conform/conformtest.pl: Handle braced types on "constant" lines
32073 instead of handling "typed-constant".
32074 * conform/data/signal.h-data: Use "constant" instead of
32077 * conform/conformtest.pl: Handle "optional-" at start of lines in
32078 one place rather than duplicating several cases. Handle each
32079 format of "macro" line with initial "optional-".
32081 * conform/conformtest.pl: Only accept expected constant or
32082 optional-constant values with "==". Parse all "constant" lines in
32083 one place. Parse all "optional-constant" lines in one place.
32084 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32085 * conform/data/fmtmsg.h-data: Likewise.
32086 * conform/data/netinet/in.h-data: Likewise.
32087 * conform/data/tar.h-data: Likewise.
32088 * conform/data/limits.h-data: Use "==" form on "constant" and
32089 "optional-constant" lines.
32091 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32092 Use -std=c99 for XOPEN2K.
32093 (@knownproblems): Remove.
32094 (newtoken): Don't check %isknown.
32096 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32097 Do not expect macro.
32098 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32099 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32100 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32101 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32102 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32103 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32104 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32105 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32106 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32107 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32108 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32109 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32110 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32111 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32112 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32113 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32114 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32115 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32116 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32117 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32118 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32119 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32120 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32121 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32122 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32123 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32124 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32125 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32126 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32127 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32128 [XPG3] (acosh): Likewise.
32129 [XPG3] (asinh): Likewise.
32130 [XPG3] (atanh): Likewise.
32131 [XPG3] (cbrt): Likewise.
32132 [XPG3] (expm1): Likewise.
32133 [XPG3] (ilogb): Likewise.
32134 [XPG3] (log1p): Likewise.
32135 [XPG3] (logb): Likewise.
32136 [XPG3] (nextafter): Likewise.
32137 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32138 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32139 [XPG3] (remainder): Likewise.
32140 [XPG3] (rint): Likewise.
32141 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32142 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32143 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32144 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32145 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32146 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32147 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32148 [UNIX98 || XOPEN2K] (scalb): Expect.
32149 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32150 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32151 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32152 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32153 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32154 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32155 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32156 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32157 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32158 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32159 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32160 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32161 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32162 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32163 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32164 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32165 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32166 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32167 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32168 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32169 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32170 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32171 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32172 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32173 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32174 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32175 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32176 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32177 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32178 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32179 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32180 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32181 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32182 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32183 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32184 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32185 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32186 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32187 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32188 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32189 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32190 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32191 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32192 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32193 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32194 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32195 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32196 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32197 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32198 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32199 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32200 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32201 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32202 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32203 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32204 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32205 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32206 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32207 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32208 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32209 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32210 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32211 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32212 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32213 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32214 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32215 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32216 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32217 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32218 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32219 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32220 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32221 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32222 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32223 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32224 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32225 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32226 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32227 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32228 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32229 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32230 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32231 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32232 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32233 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32234 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32235 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32236 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32237 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32238 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32239 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32240 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32241 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32242 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32243 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32244 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32245 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32246 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32247 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32248 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32249 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32250 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32251 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32252 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32253 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32254 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32255 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32256 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32257 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32258 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32259 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32260 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32261 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32262 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32263 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32264 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32265 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32266 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32267 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32268 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32269 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32270 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32271 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32272 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32273 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32274 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32275 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32276 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32277 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32278 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32279 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32280 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32281 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32282 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32283 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32284 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32285 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32287 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32288 _XOPEN_SOURCE_EXTENDED for XPG4.
32290 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32292 * Makeconfig (localtime): Remove variable.
32293 (inst_localtime-file): Likewise.
32295 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32316 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32320 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32321 comparisons to determine direction to adjust input.
32322 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32323 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32324 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32326 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32328 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32330 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32331 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32333 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32335 * math/libm-test.inc (nexttoward_test): Add more tests.
32337 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32340 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32341 in version GLIBC_2.1, not GLIBC_2.0.
32342 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32345 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32348 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32350 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32351 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32352 * math/libm-test.inc (acos_test): Add more tests.
32353 (asin_test): Likewise.
32354 * sysdeps/i386/fpu/libm-test-ulps: Update.
32355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32358 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32360 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32361 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32362 * math/libm-test.inc (acos_test_tonearest): New function.
32363 (acos_test_towardzero): Likewise.
32364 (acos_test_downward): Likewise.
32365 (acos_test_upward): Likewise.
32366 (asin_test_tonearest): Likewise.
32367 (asin_test_towardzero): Likewise.
32368 (asin_test_downward): Likewise.
32369 (asin_test_upward): Likewise.
32370 (main): Call the new functions.
32371 * sysdeps/i386/fpu/libm-test-ulps: Update.
32372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32376 * math/e_exp10.c: Include <float.h>.
32377 (__ieee754_exp10): Handle underflow here rather than multiplying
32378 large negative argument by M_LN10.
32379 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32381 * math/e_exp10l.c: Include <float.h>.
32382 (__ieee754_exp10l): Handle underflow here rather than multiplying
32383 large negative argument by M_LN10l.
32384 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32385 spurious overflow exception on underflow.
32387 2012-04-29 Marek Polacek <polacek@redhat.com>
32389 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32390 (__fortify_function): New macro.
32391 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32392 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32393 __extern_always_inline.
32394 * libio/bits/stdio2.h: Likewise.
32395 * libio/bits/stdio.h: Likewise.
32396 * string/string.h: Likewise.
32397 * string/bits/string3.h: Likewise.
32398 * include/stdio.h: Likewise.
32399 * stdlib/bits/stdlib.h: Likewise.
32400 * stdlib/stdlib.h: Likewise.
32401 * rt/bits/mqueue2.h: Likewise.
32402 * rt/mqueue.h: Likewise.
32403 * posix/bits/unistd.h: Likewise.
32404 * posix/unistd.h: Likewise.
32405 * io/bits/poll2.h: Likewise.
32406 * io/bits/fcntl2.h: Likewise.
32407 * io/fcntl.h: Likewise.
32408 * io/sys/poll.h: Likewise.
32409 * misc/bits/syslog.h: Likewise.
32410 * misc/bits/syslog-ldbl.h: Likewise.
32411 * misc/sys/syslog.h: Likewise.
32412 * socket/bits/socket2.h: Likewise.
32413 * socket/sys/socket.h: Likewise.
32414 * debug/tst-chk1.c: Likewise.
32415 * wcsmbs/bits/wchar2.h: Likewise.
32416 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32417 * wcsmbs/wchar.h: Likewise.
32419 2012-04-29 Andreas Jaeger <aj@suse.de>
32421 * Makerules (tests): Remove enable-check-abi protection.
32422 (check-abi-warn): Remove.
32423 (check-abi-%): Remove check-abi-warn usage.
32425 * configure.in: Remove check-abi configure option.
32426 * configure: Regenerated.
32427 * config.make.in (enable-check-abi): Remove.
32429 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32432 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32433 double functions to double *_finite functions.
32436 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32437 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32439 * stdio-common/Makefile (tests): Add tst-sprintf3.
32440 * stdio-common/tst-sprintf3.c: New file.
32442 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32443 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32445 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32447 * conform/conformtest.pl: Remove duplicate typed-constant
32450 2012-04-28 David S. Miller <davem@davemloft.net>
32452 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32453 (check-abi-%): Remove AWK script prerequisite and explicit
32455 (check-abi): Rewrite to just diff the symlist with the abilist.
32456 (config-tls, config-abi-config): Delete, no longer used.
32457 (update-abi-%): Remove AWK script and explicit abilist directory.
32458 (update-abi): Rewrite to simply compare and conditionally copy the
32459 symlist and the sysdep abilist file. Remove update-abi-config
32461 * abilist/ld.abilist: Remove.
32462 * abilist/libBrokenLocale.abilist: Remove.
32463 * abilist/libanl.abilist: Remove.
32464 * abilist/libcrypt.abilist: Remove.
32465 * abilist/libdl.abilist: Remove.
32466 * abilist/librt.abilist: Remove.
32467 * abilist/libthread_db.abilist: Remove.
32468 * abilist/libutil.abilist: Remove.
32469 * scripts/extract-abilist.awk: Remove.
32470 * scripts/merge-abilist.awk: Remove.
32471 * sysdeps/generic/libcidn.abilist: New file.
32472 * sysdeps/generic/libnss_compat.abilist: New file.
32473 * sysdeps/generic/libnss_db.abilist: New file.
32474 * sysdeps/generic/libnss_dns.abilist: New file.
32475 * sysdeps/generic/libnss_files.abilist: New file.
32476 * sysdeps/generic/libnss_hesiod.abilist: New file.
32477 * sysdeps/generic/libnss_nis.abilist: New file.
32478 * sysdeps/generic/libnss_nisplus.abilist: New file.
32479 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32480 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32481 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32483 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32484 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32485 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32486 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32487 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32488 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32489 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32490 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32491 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32493 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32494 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32495 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32496 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32498 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32499 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32500 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32501 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32502 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32503 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32505 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32506 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32507 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32509 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32526 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32528 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32530 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32532 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32534 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32612 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32613 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32614 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32616 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32617 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32618 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32619 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32620 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32621 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32622 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32623 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32624 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32625 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32677 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32679 * conform/conformtest.pl: Fix typo in handling typed-constant from
32682 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32684 * README: Cut down references to pre-2.6 Linux kernels and
32685 Linuxthreads. Update lists of configurations in libc and ports
32686 and sort alphabetically. Say "or newer" with Linux kernel version
32689 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32691 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32694 * math/libm-test.inc (logb_test_downward): New test to expose
32695 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32698 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32701 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32703 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32704 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32706 2012-04-26 Joseph Myers <joseph@codesourcery.com>
32708 * sysdeps/unix/i386/brk.S: Remove file.
32709 * sysdeps/unix/i386/dl-brk.S: Likewise.
32710 * sysdeps/unix/i386/pipe.S: Likewise.
32711 * sysdeps/unix/i386/sigreturn.S: Likewise.
32712 * sysdeps/unix/i386/syscall.S: Likewise.
32713 * sysdeps/unix/i386/vfork.S: Likewise.
32714 * sysdeps/unix/i386/wait.S: Likewise.
32716 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32717 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32719 * configure.in (arm*-none*): Do not allow without
32720 --enable-hacker-mode.
32721 (netbsd*): Remove case setting base_os.
32722 (386bsd*): Likewise.
32723 (freebsd*): Likewise.
32726 (sunos*): Likewise.
32727 (ultrix*): Likewise.
32728 (newsos*): Likewise.
32729 (dynix*): Likewise.
32735 (minix*): Likewise.
32736 (irix4*): Likewise.
32737 (irix6*): Likewise.
32738 (solaris[2-9]*): Likewise.
32740 * configure: Regenerated.
32742 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32745 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32746 overflow or cancellation in calculating denominator.
32747 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32748 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32749 down expression to avoid unexpected rounding in newer GCCs.
32750 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32752 2012-04-26 David S. Miller <davem@davemloft.net>
32754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32755 long-double compat symbols.
32756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32770 2012-04-25 David S. Miller <davem@davemloft.net>
32772 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32773 HWCAP_* values only after the memory barriers have been defined.
32774 (atomic_full_barrier): Define.
32775 (atomic_read_barrier): Define.
32776 (atomic_write_barrier): Define.
32778 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32780 * shlib-versions: Add libgcc_s version information.
32781 * sysdeps/generic/libgcc_s.h: Remove.
32782 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32784 * sysdeps/gnu/unwind-resume.c: Likewise.
32785 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32787 2012-04-25 David S. Miller <davem@davemloft.net>
32789 * sysdeps/unix/sparc/brk.S: Delete.
32790 * sysdeps/unix/sparc/dl-brk.S: Delete.
32791 * sysdeps/unix/sparc/pipe.S: Delete.
32792 * sysdeps/unix/sparc/sysdep.S: Delete.
32793 * sysdeps/unix/sparc/sysdep.h: Delete.
32794 * sysdeps/unix/sparc/vfork.S: Delete.
32795 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32796 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32797 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32798 (ret_ERRVAL, r0, r1, MOVE): Define.
32799 (JUMPTARGET): Remove.
32800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32801 sysdeps/unix/sparc/sysdep.h
32802 (ENTRY, END): Remove.
32803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32805 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32807 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32808 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32811 * timezone/README: Update upstream location and email address for
32813 * timezone/zdump.c: Update from tzcode 2012b.
32814 * timezone/zic.c: Likewise.
32816 * configure.in (libc_cv_as_needed): Remove test.
32817 * configure: Regenerated.
32818 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32819 conditional definition.
32820 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32821 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32822 * config.make.in (have-as-needed): Remove variable.
32824 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32825 Paul Pluzhnikov <ppluzhnikov@google.com>
32827 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32830 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32832 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32833 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32834 * sysdeps/sh/strlen.S: Likewise.
32836 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32838 * sysdeps/unix/fork.S: Remove file.
32839 * sysdeps/unix/i386/fork.S: Likewise.
32840 * sysdeps/unix/sparc/fork.S: Likewise.
32842 * sysdeps/unix/system.c: Remove file.
32843 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32845 * sysdeps/unix/getegid.S: Remove file.
32846 * sysdeps/unix/geteuid.S: Likewise.
32848 2012-04-24 Roland McGrath <roland@hack.frob.com>
32850 * scripts/check-localplt.awk: New file.
32851 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32853 * scripts/data/localplt-generic.data: Add a comment.
32855 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32856 NODE when __dir_mkfile failed.
32857 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32858 Reported by Ludovic Courtès <ludo@gnu.org>.
32860 2012-04-24 Andreas Jaeger <aj@suse.de>
32862 * Makerules (common-clean): Also remove gen-as-const-headers
32865 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32867 * Makerules (native-compile): Do not change working directory for
32868 build. Use $(OUTPUT_OPTION) in command.
32869 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32871 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32874 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32875 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32876 * math/libm-test.inc (floor_test): Add more tests.
32877 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32879 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32881 * sysdeps/unix/getdents.c: Remove file.
32882 * sysdeps/unix/sysv/getdents.c: Likewise.
32883 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32885 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32886 sysdeps/unix/mman/syscalls.list.
32888 (mprotect): Likewise.
32890 (munmap): Likewise.
32891 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32892 * sysdeps/unix/mman/syscalls.list: Remove.
32893 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32895 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32896 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32897 * configure: Regenerated.
32898 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32899 $(libgcc_s_suffix).
32900 * config.make.in (libgcc_s_suffix): Remove variable.
32902 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32904 * sysdeps/unix/sysv/gethostname.c: Move to ...
32905 * sysdeps/posix/gethostname.c: ... here.
32907 * sysdeps/unix/execve.S: Remove file.
32909 * sysdeps/unix/_exit.S: Remove file.
32911 2012-04-23 Andreas Jaeger <aj@suse.de>
32914 * manual/Makefile: Remove make dist support, there's no
32915 need for a stand-alone documentation tar ball.
32916 (TEXI2DVI): Define always, it's not in Makeconfig.
32919 (edition): Removed.
32920 (glibc-doc-$(edition).tar): Removed
32924 (ETAGS): Remove, it's in Makeconfig.
32925 (move-if-change): Remove, it's in Makeconfig.
32927 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32930 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32931 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32932 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32933 (strtod_l, strtof_l, strtold_l): Remove __wur.
32934 It is not necessarily an error to ignore strtol's return value.
32935 One can reliably look at the stored endptr to decide whether
32936 the number had valid syntax.
32938 2012-04-21 Andreas Jaeger <aj@suse.de>
32941 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32943 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32945 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32946 * sysdeps/unix/sysv/Versions: Remove file.
32948 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32953 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32956 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32957 version from __vm86.
32959 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32961 * sysdeps/unix/common/lxstat.c: Remove file.
32962 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32964 * sysdeps/unix/sysv/Makefile: Remove file.
32966 * sysdeps/unix/sysv/direct.h: Remove file.
32968 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32969 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32970 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32971 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32972 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32973 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32974 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32976 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32978 * sysdeps/unix/xmknod.c: Remove file.
32979 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32981 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32983 * sysdeps/unix/sysv/i386/time.S: Remove file.
32985 * sysdeps/unix/fxstat.c: Remove file.
32986 * sysdeps/unix/xstat.c: Likewise.
32987 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32989 * sysdeps/unix/sysv/sigaction.c: Remove file.
32991 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32992 (sysdep_headers): Remove variable.
32993 [termio.h not in sysdep_headers] (generated): Likewise.
32994 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32995 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32996 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32997 * sysdeps/unix/sysv/tcflow.c: Likewise.
32998 * sysdeps/unix/sysv/tcflush.c: Likewise.
32999 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33000 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33001 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33002 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33003 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33005 * sysdeps/unix/siglist.c: Remove file.
33007 * sysdeps/unix/getppid.S: Remove file.
33009 * sysdeps/unix/mkdir.c: Remove file.
33010 * sysdeps/unix/rmdir.c: Likewise.
33012 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33014 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33016 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33017 errlist-compat value.
33019 2012-04-18 David S. Miller <davem@davemloft.net>
33021 * sysdeps/generic/memcopy.h (reg_char): Delete.
33022 * debug/strcat_chk.c: Use char, not reg_char.
33023 * debug/strcpy_chk.c: Likewise.
33024 * debug/strncat_chk.c: Likewise.
33025 * debug/strncpy_chk.c: Likewise.
33026 * string/memchr.c: Likewise.
33027 * string/memrchr.c: Likewise.
33028 * string/rawmemchr.c: Likewise.
33029 * string/strcat.c: Likewise.
33030 * string/strchr.c: Likewise.
33031 * string/strchrnul.c: Likewise.
33032 * string/strcmp.c: Likewise.
33033 * string/strcpy.c: Likewise.
33034 * string/strncat.c: Likewise.
33035 * string/strncmp.c: Likewise.
33036 * string/strncpy.c: Likewise.
33038 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33040 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33041 __builtin_memcopy is called when src and dest ranges are known to not
33044 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33046 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33047 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33048 fwd_align_merge macro call.
33049 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33050 bwd_align_merge macro call.
33051 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33053 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33055 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33056 bwd_align_merge macros.
33057 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33058 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33059 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33061 2012-04-18 David S. Miller <davem@davemloft.net>
33063 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33065 2012-04-18 Andreas Jaeger <aj@suse.de>
33068 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33069 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33070 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33072 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33073 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33074 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33076 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33077 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33078 Adjust for changed ldbl-128 files.
33080 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33081 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33082 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33084 2012-04-17 David S. Miller <davem@davemloft.net>
33086 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33088 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33090 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33091 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33092 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33093 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33094 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33095 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33097 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33100 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33101 * math/libm-test.inc: Add ilogb errno and exception tests.
33102 * math/w_ilogb.c: New file: ilogb wrapper.
33103 * math/w_ilogbf.c: New file: ilogbf wrapper.
33104 * math/w_ilogbl.c: New file: ilogbl wrapper.
33105 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33106 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33107 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33108 exception being thrown with 0.0 as argument.
33109 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33110 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33111 exception being thrown with 0.0 as argument.
33112 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33113 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33114 exception being thrown with 0.0 as argument.
33115 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33116 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33117 exception being thrown with 0.0 as argument.
33118 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33119 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33120 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33121 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33122 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33123 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33124 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33125 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33126 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33128 2012-04-17 Petr Baudis <pasky@ucw.cz>
33130 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33133 2012-04-16 Marek Polacek <polacek@redhat.com>
33135 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33137 2012-04-16 Marek Polacek <polacek@redhat.com>
33139 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33140 operands of fdivp instruction.
33142 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33144 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33145 * elf/tst-auditmod3b.c: Likewise.
33146 * elf/tst-auditmod4b.c: Likewise.
33147 * elf/tst-auditmod5b.c: Likewise.
33148 * elf/tst-auditmod6b.c: Likewise.
33149 * elf/tst-auditmod6c.c: Likewise.
33150 * elf/tst-auditmod7b.c: Likewise.
33151 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33152 * sysdeps/x86_64/preconfigure.in: Likewise.
33153 * sysdeps/x86_64/preconfigure: Regenerated.
33155 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33157 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33160 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33162 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33163 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33165 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33168 * locale/iso-639.def: Fix gl language name. Spotted by
33171 2012-04-12 Roland McGrath <roland@hack.frob.com>
33174 * libio/libio.h (__io_write_fn): Update comment.
33176 2012-04-12 Petr Baudis <pasky@ucw.cz>
33179 * stdio.texi (Hook Functions): The user provided writer function
33180 is not allowed to return -1.
33182 2012-04-11 David S. Miller <davem@davemloft.net>
33184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33186 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33188 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33189 Add a leading slash to rtkaio.
33191 2012-04-11 Jim Meyering <meyering@redhat.com>
33194 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33195 It is not necessarily an error to ignore fwrite's return
33196 value. One can reliably use ferror to test for errors after
33199 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33201 * bits/types.h (__snseconds_t): New type.
33202 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33204 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33206 (__SNSECONDS_T_TYPE): Likewise.
33207 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33208 (__SNSECONDS_T_TYPE): Likewise.
33209 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33210 (__SNSECONDS_T_TYPE): Likewise.
33212 2012-04-10 Andreas Jaeger <aj@suse.de>
33215 * manual/time.texi (Processor Time): Return type of times is
33216 elapsed real time since an arbitrary point in the past.
33217 (CPU Time): Move CLK_TCK from here...
33218 (Processor Time): ...to here. Correct description.
33219 * manual/conf.texi (Constants for Sysconf): Correct description of
33222 2012-04-10 David S. Miller <davem@davemloft.net>
33225 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33226 where the is a gap between DT_REL(A) and DT_JMPREL.
33228 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33230 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33231 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33232 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33234 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33236 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33237 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33238 (dl_main): Handle --inhibit-cache.
33239 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33241 * elf/dl-load.c (_dl_map_object): Use it.
33242 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33244 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33247 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33248 (__ieee754_powl): Saturate large exponents rather than testing for
33249 overflow of y*log2(x).
33250 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33251 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33255 * math/s_ctan.c: Include <float.h>.
33256 (__ctan): Avoid internal overflow or cancellation in calculating
33258 * math/s_ctanf.c: Likewise.
33259 * math/s_ctanl.c: Likewise.
33260 * math/s_ctanh.c: Likewise.
33261 * math/s_ctanhf.c: Likewise.
33262 * math/s_ctanhl.c: Likewise.
33263 * math/libm-test.inc (ctan_test): Add more tests.
33264 (ctanh_test): Likewise.
33265 * sysdeps/i386/fpu/libm-test-ulps: Update.
33266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33268 2012-04-09 Andreas Jaeger <aj@suse.de>
33271 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33272 is an optional BSD extension.
33275 * manual/stdio.texi (Opening Streams): Document additional fopen
33278 2012-04-09 Roland McGrath <roland@hack.frob.com>
33280 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33281 %eax without telling the compiler.
33283 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33286 * manual/install.texi: Use sourceware.org.
33288 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33291 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33292 (__ieee754_pow): Generate overflow and underflow using huge*huge
33293 and tiny*tiny rather than just returning constant infinity or zero
33294 for large exponents.
33295 * math/libm-test.inc (pow_test): Require overflow exceptions for
33296 applicable cases of large exponents.
33299 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33300 (__ieee754_pow): Use iterative multiplication algorithm only for
33301 integer exponents with absolute value below 1024. Check for odd
33302 integer exponents when using algorithm for real exponents.
33303 * math/libm-test.inc (pow_test): Add more tests.
33304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33306 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33309 * math/libm-test.inc (exp_test): Do not allow overflow exception
33312 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33315 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33316 instead of __kernel_standard_f.
33318 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33320 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33321 * sysdeps/x86_64/memset_chk.S: Likewise.
33323 2012-04-08 Andreas Jaeger <aj@suse.de>
33326 * manual/startup.texi (Environment Access): Describe return value
33327 for putenv and setenv.
33330 * manual/filesys.texi (Directory Entries): Add description for
33334 * manual/filesys.texi (Directory Entries): Clarify that it's file
33335 system not operating system in the description of DT_UNKNOWN.
33338 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33340 2012-04-08 Stephen Compall <s11@member.fsf.org>
33343 * manual/llio.texi (Opening and Closing Files): Add cross
33344 reference to explain mode argument.
33346 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33348 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33349 * sysdeps/x86_64/memset_chk.S: Likewise.
33351 2012-04-07 David S. Miller <davem@davemloft.net>
33353 * elf/elf.h (R_SPARC_WDISP10): Define.
33354 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33356 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33357 R_SPARC_SIZE64 and R_SPARC_H34.
33359 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33361 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33362 conditions and remove no longer applicable assertion.
33364 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33366 * bits/byteswap.h: Include <features.h>.
33367 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33368 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33370 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33372 * bits/byteswap.h (__bswap_16): Removed.
33373 Include <bits/byteswap-16.h> to get __bswap_16.
33374 * sysdeps/i386/bits/byteswap.h: Likewise.
33375 * sysdeps/s390/bits/byteswap.h: Likewise.
33376 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33377 * bits/byteswap-16.h: New file.
33378 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33379 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33380 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33381 * string/Makefile (headers): Add bits/byteswap-16.h.
33383 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33386 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33388 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33389 * nss/tst-nss-static.c: New.
33391 2012-04-06 Robert Millan <rmh@gnu.org>
33394 * manual/llio.texi (File Position Primitive): lseek
33395 refers to WHENCE when it really means OFFSET.
33397 2012-04-06 Andreas Jaeger <aj@suse.de>
33399 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33400 strncmp declarations.
33402 * abilist/libc.abilist: Add __poll and __ppoll.
33404 2012-04-05 David S. Miller <davem@davemloft.net>
33406 * scripts/check-local-headers.sh: Accept a host triplet in the
33407 path matched by the exclude regexp.
33409 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33411 * sysdeps/powerpc/powerpc32/dl-machine.h
33412 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33413 * sysdeps/s390/s390-32/dl-machine.h
33414 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33415 * sysdeps/sparc/sparc32/dl-machine.h
33416 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33417 * sysdeps/sparc/sparc64/dl-machine.h
33418 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33420 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33422 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33423 undefined symbol errors.
33425 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33428 2012-04-05 Michael Matz <matz@suse.de>
33431 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33433 2012-04-05 Andreas Jaeger <aj@suse.de>
33436 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33439 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33441 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33442 which ROUND is no valid rounding mode.
33444 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33446 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33448 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33450 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33452 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33453 an exception using FPU order intentionally.
33455 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33457 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33458 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33459 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33460 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33462 2012-04-05 Simon Josefsson <simon@josefsson.org>
33465 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33466 EINVAL when BUFLEN is too smal.
33468 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33471 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33472 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33474 2012-04-03 Andreas Jaeger <aj@suse.de>
33477 * manual/setjmp.texi (System V contexts): Fix sentence.
33480 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33481 New macro for this case.
33482 [!__GNUC__] (__bswap_64): New inline function for this case.
33483 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33484 * bits/byteswap.h: Likewise.
33485 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33486 ull, guard with __GLIBC_HAVE_LONG_LONG.
33488 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33489 __GLIBC_HAVE_LONG_LONG.
33491 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33492 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33494 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33497 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33498 inptr and inend, rather than using last_ch.
33500 2012-04-02 David S. Miller <davem@davemloft.net>
33502 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33503 * stdio-common/printf-parse.h (read_int): Change return type to
33504 'int', return -1 on INT_MAX overflow.
33505 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33506 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33507 overflows INT_MAX. Check for overflow of in-format-string precision
33508 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33509 SIZE_MAX not INT_MAX for integer overflow test.
33510 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33511 skip the construct in the format string but do not record anything.
33512 * stdio-common/bug22.c: Adjust to test both width/prevision
33513 INT_MAX overflow as well as total length INT_MAX overflow. Check
33514 explicitly for proper errno values.
33516 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33518 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33520 * string/test-strcmp.c [! WIDE]: Likewise.
33521 * time/tst-mktime2.c: Likewise for INT_MAX.
33522 * string/test-string.h: #include <sys/param.h> for MIN.
33524 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33525 * sysdeps/i386/init-first.c (init): Likewise.
33526 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33527 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33528 * sysdeps/sh/init-first.c (init): Likewise.
33530 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33532 * po/ru.po: Update from translation team.
33533 * po/vi.po: Likewise.
33535 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33537 * resolv/nss_dns/dns-host.c: Merge copyright years.
33539 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33541 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33542 Optimize memcpy with prefetch if
33543 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33544 src, dst pointers have unequal 16 byte alignments.
33546 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33549 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33550 from a CNAME entry and return the minimum ttl for the query.
33551 (gaih_getanswer_slice): Likewise.
33553 2012-03-30 Jeff Law <law@redhat.com>
33555 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33557 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33558 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33560 * resolv/nss_dns/dns-host.c: Update copyright year.
33562 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33564 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33565 requests to save a system call. Fix check that all bytes are sent.
33567 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33568 comments for sendmmsg.
33570 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33573 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33574 with only 1 character between 0x0041 and 0x01b0.
33575 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33576 * wcsmbs/tst-mbsnrtowcs.c: New file.
33578 2012-03-29 David S. Miller <davem@davemloft.net>
33580 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33581 small copies by hand.
33583 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33586 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33587 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33590 2012-03-28 David S. Miller <davem@davemloft.net>
33592 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33593 that branches into memcpy.
33594 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33595 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33596 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33597 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33600 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33601 implementation too.
33602 * sysdeps/sparc/mempcpy.S: New file.
33604 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33605 the IFUNC routine in the libc case.
33606 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33608 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33609 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33610 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33611 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33612 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33613 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33614 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33615 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33617 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33618 loop to 256 bytes instead of 64 bytes and fix test signedness.
33620 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33621 * sysdeps/sparc/sparc32/Makefile: rather than here...
33622 * sysdeps/sparc/sparc64/Makefile: and here.
33624 2012-03-28 Ulrich Drepper <drepper@gmail.com>
33626 * malloc/mallocbug.c: Avoid warnings about unused variables.
33628 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33631 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33632 in the right place. Discard and retry query if response is
33633 larger than input buffer size.
33635 2012-03-28 Joseph Myers <joseph@codesourcery.com>
33640 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33641 x for large integer exponent.
33642 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33643 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33644 sign of result as needed afterwards.
33645 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33646 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33647 result for underflowing pow the same as for overflow.
33648 (__kernel_standard_l): Handle powl overflow and underflow here
33649 rather than calling __kernel_standard.
33650 * math/libm-test.inc (pow_test): Add more tests.
33665 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33666 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33667 (__kernel_standard_l): New function.
33668 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33670 * math/w_acosl.c (__acosl): Likewise.
33671 * math/w_asinl.c (__asinl): Likewise.
33672 * math/w_atan2l.c (__atan2l): Likewise.
33673 * math/w_atanhl.c (__atanhl): Likewise.
33674 * math/w_coshl.c (__coshl): Likewise.
33675 * math/w_exp10l.c (__exp10l): Likewise.
33676 * math/w_exp2l.c (__exp2l): Likewise.
33677 * math/w_fmodl.c (__fmodl): Likewise.
33678 * math/w_hypotl.c (__hypotl): Likewise.
33679 * math/w_j0l.c (__j0l, __y0l): Likewise.
33680 * math/w_j1l.c (__j1l, __y1l): Likewise.
33681 * math/w_jnl.c (__jnl, __ynl): Likewise.
33682 * math/w_lgammal.c (__lgammal): Likewise.
33683 * math/w_log10l.c (__log10l): Likewise.
33684 * math/w_log2l.c (__log2l): Likewise.
33685 * math/w_logl.c (__logl): Likewise.
33686 * math/w_powl.c (__powl): Likewise.
33687 * math/w_remainderl.c (__remainderl): Likewise.
33688 * math/w_scalbl.c (sysv_scalbl): Likewise.
33689 * math/w_sinhl.c (__sinhl): Likewise.
33690 * math/w_sqrtl.c (__sqrtl): Likewise.
33691 * math/w_tgammal.c (__tgammal): Likewise.
33692 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33693 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33694 * math/libm-test.inc (acos_test): Add more tests.
33695 (acosh_test): Likewise.
33696 (asin_test): Likewise.
33697 (atanh_test): Likewise.
33698 (exp_test): Likewise.
33699 (exp10_test): Likewise.
33700 (exp2_test): Likewise.
33701 (expm1_test): Likewise.
33702 (lgamma_test): Likewise.
33703 (log_test): Likewise.
33704 (log10_test): Likewise.
33705 (log1p_test): Likewise.
33706 (log2_test): Likewise.
33707 (pow_test): Do not allow some spurious overflow exceptions.
33708 (sqrt_test): Add more tests.
33709 (tgamma_test): Likewise.
33710 (y0_test): Likewise.
33711 (y1_test): Likewise.
33712 (yn_test): Likewise.
33714 2012-03-27 Anton Blanchard <anton@samba.org>
33716 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33718 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33719 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33720 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33722 2012-03-27 David S. Miller <davem@davemloft.net>
33724 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33726 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33727 have-as-vis3 check.
33729 2012-03-27 Andreas Jaeger <aj@suse.de>
33731 * sysdeps/x86_64/elf/configure.in: Moved to ...
33732 * sysdeps/x86_64/configure.in: ... here.
33733 * sysdeps/x86_64/elf/start.S: Moved to ...
33734 * sysdeps/x86_64/start.S: ... here.
33735 * sysdeps/x86_64/elf/configure: Delete.
33737 * sysdeps/x86_64/configure.in: Merge contents from
33738 sysdeps/i386/configure.in (without i686 check).
33740 * sysdeps/i386/elf/Versions: Merge into ...
33741 * sysdeps/i386/Versions: ... this.
33742 * sysdeps/i386/elf/Versions: Delete file.
33743 * sysdeps/i386/elf/start.S: Moved to ...
33744 * sysdeps/i386/start.S: ...here.
33745 * sysdeps/i386/elf/configure.in: Merge into...
33746 * sysdeps/i386/configure.in: ...here.
33747 * sysdeps/i386/elf/configure.in: Delete file.
33748 * sysdeps/i386/elf/configure: Delete file.
33750 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33751 * debug/backtracesyms.c: ... here.
33752 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33753 * debug/backtracesymsfd.c: ... here.
33754 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33755 * sysdeps/generic/ifunc-sel.h: ... here.
33757 * sysdeps/unix/i386/start.c: Delete file.
33758 * sysdeps/unix/sparc/start.c: Delete file.
33759 * sysdeps/unix/start.c: Delete file.
33761 * sysdeps/sh/elf/configure.in: Moved to ...
33762 * sysdeps/sh/configure.in: ... here.
33763 * sysdeps/sh/elf/start.S: Moved to ...
33764 * sysdeps/sh/start.S: ... here.
33765 * sysdeps/sh/elf/configure: Delete file.
33767 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33768 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33769 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33770 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33771 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33772 * sysdeps/powerpc/powerpc64/start.S: here.
33773 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33774 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33775 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33776 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33777 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33779 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33780 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33781 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33782 * sysdeps/powerpc/powerpc32/start.S: ... here.
33783 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33784 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33785 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33787 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33788 * sysdeps/powerpc/ifunc-sel.h: ... here.
33789 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33790 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33792 * sysdeps/sparc/elf/configure.in: Moved to ...
33793 * sysdeps/sparc/configure.in: ... here.
33794 * sysdeps/sparc/elf/configure: Delete file.
33795 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33796 * sysdeps/sparc/sparc32/start.S: ... here.
33797 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33798 * sysdeps/sparc/sparc64/start.S: ... here.
33799 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33800 * sysdeps/sparc/sparc32/Makefile: ... this.
33801 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33802 * sysdeps/sparc/sparc64/Makefile: ... this.
33804 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33805 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33806 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33807 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33808 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33809 * sysdeps/s390/s390-32/setjmp.S: ... here.
33810 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33811 * sysdeps/s390/s390-32/configure.in: ... here.
33812 * sysdeps/s390/s390-32/elf/configure: Delete file.
33813 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33814 * sysdeps/s390/s390-32/start.S: ... here.
33816 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33817 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33818 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33819 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33820 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33821 * sysdeps/s390/s390-64/setjmp.S: ... here.
33822 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33823 * sysdeps/s390/s390-64/configure.in: ... here
33824 * sysdeps/s390/s390-64/elf/configure: Delete file.
33825 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33826 * sysdeps/s390/s390-64/start.S: ... here.
33827 * sysdeps/s390/s390-64/elf/configure: Delete.
33829 * configure.in: Remove support for elf directories in sysdeps.
33831 * configure: Regenerated.
33832 * sysdeps/i386/configure: Regenerated.
33833 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33834 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33835 * sysdeps/s390/s390-32/configure: Regenerated.
33836 * sysdeps/s390/s390-64/configure: Regenerated.
33837 * sysdeps/sh/configure: Regenerated.
33838 * sysdeps/sparc/configure: Regenerated.
33839 * sysdeps/x86_64/configure: Regenerated.
33841 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33846 denormal result into account.
33848 2012-03-25 Roland McGrath <roland@hack.frob.com>
33850 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33851 Reported by Allan McRae <allan@archlinux.org>.
33853 2012-03-23 Jeff Law <law@redhat.com>
33855 * nss/getnssent.c (__nss_getent): Fix typo.
33857 2012-03-23 David S. Miller <davem@davemloft.net>
33859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33861 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33863 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33864 to pad to uint64_t for each field.
33865 (dl_tls_index): Replace unsigned long with uint64_t.
33867 2012-03-23 Daniel Jacobowitz <dmj@google.com>
33868 Paul Pluzhnikov <ppluzhnikov@google.com>
33871 * grp/Makefile (otherlibs): Don't set it.
33872 * inet/Makefile (otherlibs): Likewise.
33873 * login/Makefile (otherlibs): Likewise.
33874 * nscd/Makefile (otherlibs): Likewise.
33875 * posix/Makefile (otherlibs): Likewise.
33876 * pwd/Makefile (otherlibs): Likewise.
33877 * rt/Makefile (otherlibs): Likewise.
33878 * sunrpc/Makefile (otherlibs): Likewise.
33879 * nss/Makefile (otherlibs): Likewise.
33880 Add libnss_files to routines and static-only-routines.
33881 ($(objpfx)getent): Remove rule.
33882 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33883 static-only-routines.
33885 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33888 * math/s_cexp.c: Include <float.h>.
33889 (__cexp): Handle exp result overflowing not necessarily
33890 overflowing both real and imaginary parts of result.
33891 * math/s_cexpf.c: Likewise.
33892 * math/s_cexpl.c: Likewise.
33893 * math/libm-test.inc (cexp_test): Add more tests.
33894 * sysdeps/i386/fpu/libm-test-ulps: Update.
33895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33897 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33899 * include/link.h (ELFW): New macro.
33900 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33901 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33903 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33905 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33908 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33910 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33912 (struct La_x32_retval): Likewise.
33914 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33916 * sysdeps/x86_64/preconfigure.in: New file.
33917 * sysdeps/x86_64/preconfigure: New generated file.
33919 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33922 * math/e_exp2l.c: Include <float.h>.
33923 (__ieee754_exp2l): Handle overflow and underflow cases
33924 separately. Only pass fractional part of argument to
33926 * math/libm-test.inc (exp2_test): Add more tests.
33928 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33929 negating x to take absolute value.
33930 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33932 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33933 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33935 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33936 computing low part if x was negated.
33937 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33939 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33941 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33942 la_x32_gnu_pltexit.
33943 (pltexit): Cast int_retval to ptrdiff_t.
33944 * elf/tst-auditmod3b.c: Likewise.
33945 * elf/tst-auditmod4b.c: Likewise.
33946 * elf/tst-auditmod5b.c: Likewise.
33947 * elf/tst-auditmod6b.c: Likewise.
33948 * elf/tst-auditmod6c.c: Likewise.
33949 * elf/tst-auditmod7b.c: Likewise.
33951 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33952 and x32_gnu_pltexit.
33954 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33955 __ELF_NATIVE_CLASS.
33956 (La_x32_regs): New macro.
33957 (La_x32_retval): Likewise.
33958 (la_x32_gnu_pltenter): New function prototype.
33959 (la_x32_gnu_pltexit): Likewise.
33961 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33963 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33968 * configure.in (libc_cv_cc_nofma): Check for option to disable
33969 generation of FMA instructions.
33970 * configure: Regenerate.
33971 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33972 * sysdeps/ieee754/dbl-64/Makefile: New file.
33973 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33974 Remove brandred-fma4.
33975 (CFLAGS-brandred-fma4.c): Remove.
33976 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33977 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33979 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33982 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33984 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33985 LLONG_MAX != LONG_MAX.
33986 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33987 (_fitoa_word): Likewise.
33988 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33989 LLONG_MAX != LONG_MAX.
33990 * stdio-common/_itowa.h: Include <_itoa.h>.
33991 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33992 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33993 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33994 only if not defined.
33995 (_ITOA_WORD_TYPE): Likewise.
33996 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33997 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33999 2012-03-21 David S. Miller <davem@davemloft.net>
34001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34003 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34005 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34006 of x86_64 when setting libc_cv_slibdir, libdir and
34008 * sysdeps/unix/sysv/linux/configure: Regenerated.
34010 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34012 * manual/lang.texi (Old Varargs): Remove section.
34013 (How Variadic): Update menu.
34014 (va_start): Do not mention varargs.h.
34016 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34017 Joseph Myers <joseph@codesourcery.com>
34019 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34021 * configure: Regenerated.
34023 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34025 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34026 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34029 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34032 * Makefile (files-for-dist): Remove NOTES.
34033 (NOTES): Remove rule.
34034 * README: Don't refer to NOTES.
34035 * manual/creature.texi: Don't include macros.texi.
34036 * manual/intro.texi (creature.texi): Remove comment referring to
34039 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34040 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34041 * configure: Regenerated.
34042 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34043 LIBC_TRY_CC_OPTION.
34044 (libc_cv_as_i686): Likewise.
34045 (libc_cv_cc_avx): Likewise.
34046 (libc_cv_cc_sse2avx): Likewise.
34047 (libc_cv_cc_fma4): Likewise.
34048 (libc_cv_cc_novzeroupper): Likewise.
34049 * sysdeps/i386/configure: Regenerated.
34052 * sysdeps/i386/fpu/s_cexp.S: Remove.
34053 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34054 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34055 * math/libm-test.inc (cexp_test): Add more tests.
34056 * sysdeps/i386/fpu/libm-test-ulps: Update.
34057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34059 2012-03-21 Allan McRae <allan@archlinux.org>
34061 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34063 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34066 * math/w_exp2.c: Do not include <float.h>.
34067 (o_threshold, u_threshold): Remove.
34068 (__exp2): Calculate result before checking finiteness and calling
34070 * math/w_exp2f.c: Likewise.
34071 * math/w_exp2l.c: Likewise.
34072 * math/libm-test.inc (exp2_test): Require overflow exception for
34076 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34077 range of signed 64-bit integers before using fistpll. Remove
34078 checks for whether integers fit in mantissa bits.
34079 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34080 the range of signed 32-bit integers before using fistpl. Remove
34081 checks for whether integers fit in mantissa bits.
34082 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34083 (__ieee754_powl): Test for y outside the range of signed 64-bit
34084 integers before using fistpll. Reduce 64-bit values to 63-bit
34086 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34087 divide-by-zero is raised for zero to large negative powers.
34088 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34089 (__ieee754_powl): Test for y outside the range of signed 64-bit
34090 integers before using fistpll. Reduce 64-bit values to 63-bit
34092 * math/libm-test.inc (pow_test): Add more tests.
34094 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34096 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34097 <stdio-common/_itoa.h>.
34098 * debug/segfault.c: Likewise.
34099 * elf/dl-cache.c: Likewise.
34100 * elf/dl-minimal.c: Likewise.
34101 * elf/dl-misc.c: Likewise.
34102 * elf/dl-sysdep.c: Likewise.
34103 * elf/dl-version.c: Likewise.
34104 * elf/rtld.c: Likewise.
34105 * hurd/hurdsock.c: Likewise.
34106 * hurd/lookup-retry.c: Likewise.
34107 * malloc/malloc.c: Likewise.
34108 * malloc/mtrace.c: Likewise.
34109 * nscd/nscd_getgr_r.c: Likewise.
34110 * nscd/nscd_getpw_r.c: Likewise.
34111 * nscd/nscd_getserv_r.c: Likewise.
34112 * posix/getopt_init.c: Likewise.
34113 * posix/wordexp.c: Likewise.
34114 * stdio-common/_itoa.c: Likewise.
34115 * stdio-common/printf_fphex.c: Likewise.
34116 * stdio-common/vfprintf.c: Likewise.
34117 * string/_strerror.c: Likewise.
34118 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34119 * sysdeps/i386/i686/hp-timing.h: Likewise.
34120 * sysdeps/mach/_strerror.c: Likewise.
34121 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34122 * sysdeps/mach/hurd/sethostid.c: Likewise.
34123 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34124 * sysdeps/mach/xpg-strerror.c: Likewise.
34125 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34126 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34127 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34128 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34129 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34130 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34131 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34132 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34133 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34134 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34135 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34136 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34137 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34138 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34139 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34140 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34141 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34142 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34143 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34144 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34145 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34147 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34149 * stdio-common/_itoa.h: Moved to ...
34150 * sysdeps/generic/_itoa.h: Here.
34152 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34154 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34155 instead of "_itoa.h" and "_itowa.h".
34156 * stdio-common/vfprintf.: Likewise.
34158 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34160 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34162 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34163 (__signbit): Likwise.
34164 (llrintf): Likwise.
34167 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34169 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34172 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34174 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34175 OVERFLOW_EXCEPTION_OK.
34176 * math/libm-test.inc ("Philosophy"): Update comment about
34178 (OVERFLOW_EXCEPTION): Define.
34179 (OVERFLOW_EXCEPTION_OK): Likewise.
34180 (INVALID_EXCEPTION_OK): Renumber.
34181 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34182 (IGNORE_ZERO_INF_SIGN): Likewise.
34183 (test_exceptions): Handle FE_OVERFLOW.
34184 (exp10_test): Expect overflow exceptions.
34185 (exp2_test): Likewise.
34186 (expm1_test): Likewise.
34187 (nextafter_test): Likewise.
34188 (pow_test): Likewise.
34189 (scalbn_test): Likewise.
34190 (scalbln_test): Likewise.
34192 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34194 * sysdeps/x86_64/bits/atomic.h
34195 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34197 (atomic_exchange_acq): Likewise.
34198 (__arch_exchange_and_add_body): Likewise.
34199 (__arch_add_body): Likewise.
34200 (atomic_add_negative): Likewise.
34201 (atomic_add_zero): Likewise.
34203 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34205 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34206 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34208 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34210 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34211 Check __x86_64__ instead of __WORDSIZE.
34213 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34215 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34217 2012-03-19 David S. Miller <davem@davemloft.net>
34219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34221 * sysdeps/sparc/fpu/fenv_private.h: New file.
34222 * sysdeps/sparc/fpu/math_private.h: Use it.
34223 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34225 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34226 (libc_feholdexcept_setroundl): Remove.
34227 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34229 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34230 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34232 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34234 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34235 int64_t instead of long int.
34236 (INSERT_WORDS64): Likwise.
34238 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34240 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34241 _Unwind_GetCFA return to _Unwind_Ptr first.
34243 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34246 * math/s_clog.c: Include <float.h>.
34247 (__clog): Scale large or subnormal inputs.
34248 * math/s_clogf.c: Likewise.
34249 * math/s_clogl.c: Likewise.
34250 * math/s_clog10.c: Include <float.h>.
34251 (M_LOG10_2): Define.
34252 (__clog10): Scale large or subnormal inputs.
34253 * math/s_clog10f.c: Likewise.
34254 * math/s_clog10l.c: Likewise.
34255 * math/libm-test.inc (clog_test): Add more tests.
34256 (clog10_test): Likewise.
34257 * sysdeps/i386/fpu/libm-test-ulps: Update.
34258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34261 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34263 * math/libm-test.inc (atan2_test): Add another test.
34265 * Makerules (common-objdir-compile): Remove.
34266 * sysdeps/unix/Makefile (config-generated): Do not add
34267 $(unix-generated) to variable.
34268 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34269 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34271 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34273 [generic bits/local_lim.h] (before-compile): Do not append to
34275 [generic bits/local_lim.h] (common-generated): Likewise.
34276 [generic sys/param.h] (before-compile): Do not append to variable.
34277 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34278 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34279 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34280 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34282 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34283 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34284 [generic sys/param.h] ($(addprefix
34285 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34286 [generic sys/param.h] (common-generated): Do not append to
34288 [generic sys/param.h] (sysdep_headers): Likewise.
34289 [generic bits/errno.h] (before-compile): Do not append to
34291 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34293 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34294 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34295 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34296 [generic bits/errno.h] (common-generated): Do not append to
34298 [generic bits/ioctls.h] (before-compile): Do not append to
34300 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34302 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34303 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34304 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34306 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34307 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34308 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34309 [generic bits/ioctls.h] (common-generated): Do not append to
34311 [generic sys/syscall.h] (syscall.h): Remove variable.
34312 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34314 [generic sys/syscall.h] (before-compile): Do not append to
34316 [generic sys/syscall.h] (common-generated): Likewise.
34317 * sysdeps/unix/errnos-tmpl.c: Remove file.
34318 * sysdeps/unix/errnos.awk: Likewise.
34319 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34320 * sysdeps/unix/ioctls.awk: Likewise.
34321 * sysdeps/unix/mk-local_lim.c: Likewise.
34322 * sysdeps/unix/snarf-ioctls: Likewise.
34324 2012-03-19 Richard Henderson <rth@twiddle.net>
34326 * sysdeps/i386/fpu/fenv_private.h: New file.
34327 * sysdeps/i386/fpu/math_private.h: Use it.
34328 (math_opt_barrier, math_force_eval): Remove.
34329 (libc_feholdexcept_setround_53bit): Remove.
34330 (libc_feupdateenv_53bit): Remove.
34331 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34332 (math_opt_barrier, math_force_eval): Remove.
34333 (libc_feholdexcept): Remove.
34334 (libc_feholdexcept_setround): Remove.
34335 (libc_fetestexcept, libc_fesetenv): Remove.
34336 (libc_feupdateenv_test): Remove.
34337 (libc_feupdateenv, libc_feholdsetround): Remove.
34338 (libc_feresetround): Remove.
34340 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34341 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34343 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34344 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34345 (libc_feupdateenv_testl): New.
34346 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34347 (libc_feupdateenv_testf): New.
34348 (libc_feupdateenv): Use libc_feupdateenv_test.
34349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34350 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34352 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34353 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34354 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34355 (libc_feresetround_noex): New.
34356 (libc_feresetround_noexf): New.
34357 (libc_feresetround_noexl): New.
34358 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34359 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34360 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34361 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34363 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34364 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34366 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34367 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34368 SET_RESTORE_ROUND_NOEX.
34369 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34370 SET_RESTORE_ROUND_NOEXF.
34371 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34372 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34373 (libc_feholdsetroundf): New.
34374 (libc_feresetround, libc_feresetroundf): New.
34376 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34377 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34378 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34380 * sysdeps/generic/math_private.h: Include <fenv.h>.
34381 (default_libc_feholdexcept): New.
34382 (default_libc_feholdexcept_setround): New.
34383 (default_libc_fesetenv, default_libc_feupdateenv): New.
34384 (libc_feholdexcept): Only define if undefined.
34385 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34386 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34387 (libc_feholdexcept_setroundl): Likewise.
34388 (libc_feholdexcept_setround_53bit): Likewise.
34389 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34390 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34391 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34392 (libc_feupdateenv_53bit): Likewise.
34393 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34394 (libc_feholdexcept): Convert from macro to inline function.
34395 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34396 (libc_fesetenv, libc_feupdateenv): Likewise.
34398 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34399 not previously defined.
34400 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34401 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34402 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34403 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34404 * sysdeps/ieee754/flt-32/math_private.h: New file.
34405 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34406 math_private.h below SET_FLOAT_WORD.
34407 (__isnan, __isinf_ns, __finite): Remove.
34408 (__isnanf, __isinf_nsf, __finitef): Remove.
34410 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34414 2012-03-17 David S. Miller <davem@davemloft.net>
34417 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34420 2012-03-16 David S. Miller <davem@davemloft.net>
34422 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34426 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34428 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34429 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34430 sysdep_routines when subdir is sysvipc.
34431 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34432 __getshmlba helper.
34434 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34436 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34438 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34441 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34443 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34444 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34445 (__lround): Renamed to ...
34446 (__llround): This. Replace long int with long long int.
34447 Define lround functions as aliases of llround functions.
34448 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34450 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34452 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34453 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34454 adresses to uintptr_t. Replace "long int" and "unsigned long
34455 int" with "greg_t" on va_arg.
34457 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34459 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34460 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34462 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34463 Move e_machine check before EI_CLASS check. Handle x32
34464 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34465 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34466 SKIP_EM_IA_64 and include
34467 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34469 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34470 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34471 (add_system_dir): New macro.
34473 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34474 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34476 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34487 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34489 * math/w_j0f.c (j0f): Likewise.
34491 * math/w_j0l.c (__j0l): Likewise.
34493 * math/w_j1.c (j1): Likewise.
34495 * math/w_j1f.c (j1f): Likewise.
34497 * math/w_j1l.c (__j1l): Likewise.
34499 * math/w_jn.c (jn): Likewise.
34501 * math/w_jnf.c (jnf): Likewise.
34503 * math/w_jnl.c (__jnl): Likewise.
34505 * math/libm-test.inc (j0_test): Add more tests.
34506 (j1_test): Likewise.
34507 (jn_test): Likewise. Add trailing semicolon to existing test.
34508 (y0_test): Likewise.
34509 (y1_test): Likewise.
34510 * sysdeps/i386/fpu/libm-test-ulps: Update.
34511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34515 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34516 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34517 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34518 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34519 (__tanl): Set errno for infinite argument.
34520 * sysdeps/i386/fpu/mptan.c: Remove.
34521 * sysdeps/i386/fpu/s_tan.S: Likewise.
34522 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34523 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34524 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34525 * math/libm-test.inc (tan_test): Add more tests and enable more
34526 tests for double and long double.
34527 * sysdeps/i386/fpu/libm-test-ulps: Update.
34528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34530 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34532 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34533 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34535 2012-03-16 Roland McGrath <roland@hack.frob.com>
34537 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34538 * configure.in: Use it for both main tree and add-ons.
34539 * configure: Regenerated.
34541 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34543 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34545 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34547 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34551 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34552 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34553 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34554 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34555 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34557 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34558 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34559 != 0 for prec == 2.
34560 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34561 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34562 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34563 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34564 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34565 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34566 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34567 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34568 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34569 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34570 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34571 * math/libm-test.inc (cos_test): Add more tests and enable more
34572 tests for long double.
34573 (sin_test): Likewise.
34574 (sincos_test): Likewise.
34575 * sysdeps/i386/fpu/libm-test-ulps: Update.
34576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34578 2012-03-16 David S. Miller <davem@davemloft.net>
34580 * sysdeps/sparc/fpu/math_private.h: New file.
34582 2012-03-15 David S. Miller <davem@davemloft.net>
34584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34594 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34598 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34599 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34601 * sysdeps/sparc/sparc-ifunc.h: New file.
34602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34629 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34645 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34647 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34649 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34653 2012-03-15 Andreas Jaeger <aj@suse.de>
34656 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34657 ieee754/flt-32 implementation for sin, cos and sincos.
34658 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34659 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34660 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34661 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34662 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34663 ieee754/flt-32 implementation for tan.
34665 * math/libm-test.inc (cos_test): Enable some large input tests for
34667 (sin_test): Likewise.
34668 (sincos_test): Likewise.
34669 (tan_test): Add tests for large input.
34671 * sysdeps/i386/fpu/libm-test-ulps: Update.
34673 2012-03-15 Andreas Jaeger <aj@suse.de>
34676 * math/libm-test.inc (cos_test): Add more test cases.
34677 (sin_test): Likewise.
34678 (sincos_test): Likewise.
34680 2012-03-15 Andreas Jaeger <aj@suse.de>
34683 * math/libm-test.inc (cos_test): Add a test case for large input
34685 (sin_test): Likewise.
34686 (sincos_test): Likewise.
34688 2012-03-15 Andreas Jaeger <aj@suse.de>
34689 Joseph Myers <joseph@codesourcery.com>
34692 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34693 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34694 * sysdeps/i386/fpu/branred.c: Likewise.
34695 * sysdeps/i386/fpu/dosincos.c: Likewise.
34696 * sysdeps/i386/fpu/mpa.c: Likewise.
34697 * sysdeps/i386/fpu/s_cos.S: Likewise.
34698 * sysdeps/i386/fpu/s_sin.S: Likewise.
34699 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34700 * sysdeps/i386/fpu/sincos32.c: Likewise.
34702 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34704 (libc_feupdateenv_53bit): Define.
34705 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34707 (libc_feupdateenv_53bit): Define.
34709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34710 53 bit (without extend i386 double precision).
34712 * math/libm-test.inc (sincos_test): Add tests for large input.
34716 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34718 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34722 2012-03-15 David S. Miller <davem@davemloft.net>
34724 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34725 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34726 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34727 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34751 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34752 fmin/fmax sysdep routines.
34753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34755 2012-03-14 David S. Miller <davem@davemloft.net>
34757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34764 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34783 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34785 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34829 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34834 * sysdeps/sparc/configure.in: New file.
34835 * sysdeps/sparc/configure: Generate.
34836 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34837 * configure: Regenerate.
34838 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34839 * config.make.in (have-as-vis3): New.
34840 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34841 available use -Av9d instead of -Av9a.
34842 * sysdeps/sparc/sparc64/Makefile: Likewise.
34843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34852 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34853 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34854 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34856 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34858 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34859 fzeros/fnegs to load 0x80000000 into a float register instead of
34861 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34863 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34867 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34868 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34869 ($(inst_includedir)/bits/syscall.h): Remove rule.
34870 ($(objpfx)bits/syscall.d): Include instead of
34871 $(objpfx)syscall-list.d.
34872 (generated): Change syscall-list.h and syscall-list.d to
34873 bits/syscall.h and bits/syscall.d.
34875 2012-03-14 Roland McGrath <roland@hack.frob.com>
34878 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34880 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34883 * math/s_csqrt.c: Include <float.h>.
34884 (__csqrt): Scale large or subnormal inputs.
34885 * math/s_csqrtf.c: Likewise.
34886 * math/s_csqrtl.c: Likewise.
34887 * math/libm-test.inc (csqrt_test): Add more tests.
34888 * sysdeps/i386/fpu/libm-test-ulps: Update.
34889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34892 * math/libm-test.inc (hypot_test): Add more tests.
34894 2012-03-13 David S. Miller <davem@davemloft.net>
34897 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34898 double-precision for the calculation instead of scaling.
34900 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34902 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34903 manipulate bits before adding and subtracting TWO52[sx].
34904 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34905 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34907 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34909 2012-03-13 David S. Miller <davem@davemloft.net>
34911 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34912 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34914 rtld-global-offsets.h
34915 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34917 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34920 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34922 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34923 'err' in the ifdef scope in which it is actually used.
34925 * nss/nss_db/db-init.c: Include string.h
34927 2012-03-12 David S. Miller <davem@davemloft.net>
34929 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34930 masking out of the most significant byte of random value used.
34931 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34932 Fix coding style in previous change.
34934 * sysdeps/unix/sysv/linux/kernel-features.h
34935 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34936 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34938 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34941 2012-03-11 David S. Miller <davem@davemloft.net>
34943 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34944 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34945 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34946 for 'resultvar' otherwise things get truncated on 64-bit.
34948 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34949 Fix masking out of the most significant byte of random value used.
34951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34953 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34957 2012-03-09 David S. Miller <davem@davemloft.net>
34959 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34960 variables with appropriate CPP guards.
34961 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34962 from the frame pointer, not the stack pointer. Correct layout
34963 comments. Fix test on resulting framesize and the management of
34964 the outregs buffer for pltexit. Preserve floating point return
34965 values across _dl_call_pltexit call.
34966 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34967 framesize and the management of the outregs buffer for pltexit.
34968 Preserve floating point return values across _dl_call_pltexit
34970 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34971 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34972 (la_sparc64_gnu_pltexit): New functions.
34973 (print_exit): Fix format string for return register value.
34975 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34977 * sunrpc/Makefile (others): Add rpcgen.
34978 ($(objpfx)rpcgen): Remove special build rule and dependency on
34980 * sunrpc/rpcgen.c: New file.
34982 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34985 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34986 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34987 * sysdeps/i386/crti.S: Likewise.
34988 * sysdeps/i386/crtn.S: Likewise.
34989 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34990 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34991 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34992 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34993 * sysdeps/sh/crti.S: Likewise.
34994 * sysdeps/sh/crtn.S: Likewise.
34995 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34998 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35000 * locale/programs/locfile-kw.gperf: Likewise.
35001 * locale/programs/charmap-kw.h: Regenerated.
35002 * locale/programs/locfile-kw.h: Likewise.
35005 * intl/plural.y: Replace FSF snail mail address with URL.
35006 * intl/plural.c: Regenerated.
35008 2012-03-09 Richard Henderson <rth@twiddle.net>
35010 * include/math_private.h: Remove file.
35011 * math/math_private.h: Move file ...
35012 * sysdeps/generic/math_private.h: ... here.
35014 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35015 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35016 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35018 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35019 and <math_private.h>.
35020 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35021 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35022 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35023 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35024 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35025 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35026 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35027 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35028 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35029 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35031 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35032 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35034 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35035 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35036 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35037 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35038 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35039 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35041 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35042 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35044 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35045 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35046 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35047 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35049 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35050 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35052 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35053 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35054 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35055 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35056 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35057 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35058 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35059 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35060 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35061 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35062 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35063 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35064 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35065 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35066 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35067 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35068 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35069 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35070 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35071 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35072 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35073 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35074 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35075 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35076 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35077 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35078 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35079 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35080 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35081 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35082 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35083 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35084 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35085 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35086 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35087 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35088 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35089 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35090 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35091 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35092 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35094 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35095 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35098 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35099 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35100 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35101 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35102 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35103 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35104 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35105 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35107 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35108 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35109 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35110 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35111 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35112 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35113 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35114 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35115 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35116 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35117 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35118 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35119 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35120 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35121 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35122 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35123 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35124 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35125 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35126 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35127 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35128 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35130 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35131 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35132 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35133 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35134 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35135 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35136 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35137 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35138 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35139 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35140 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35141 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35142 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35143 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35144 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35145 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35146 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35147 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35148 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35149 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35150 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35151 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35152 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35153 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35154 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35155 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35156 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35157 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35158 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35159 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35160 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35161 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35162 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35163 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35164 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35165 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35166 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35167 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35168 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35169 * sysdeps/ieee754/k_standard.c: Likewise.
35170 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35174 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35179 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35180 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35182 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35220 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35221 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35222 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35227 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35229 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35231 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35232 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35237 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35239 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35240 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35242 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35243 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35244 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35245 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35246 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35247 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35248 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35249 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35250 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35251 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35252 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35253 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35254 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35255 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35256 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35257 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35258 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35259 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35260 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35261 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35262 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35263 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35264 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35265 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35266 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35267 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35268 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35269 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35270 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35271 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35272 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35273 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35274 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35277 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35278 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35279 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35280 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35281 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35282 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35283 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35284 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35285 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35286 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35287 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35288 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35289 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35290 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35291 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35292 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35293 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35294 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35295 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35296 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35297 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35298 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35299 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35300 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35301 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35302 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35303 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35304 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35305 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35306 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35307 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35308 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35309 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35310 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35311 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35312 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35313 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35314 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35315 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35316 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35317 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35318 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35319 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35320 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35321 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35322 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35323 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35324 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35325 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35326 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35327 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35328 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35329 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35330 * sysdeps/ieee754/s_lib_version.c: Likewise.
35331 * sysdeps/ieee754/s_matherr.c: Likewise.
35332 * sysdeps/ieee754/s_signgam.c: Likewise.
35333 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35334 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35335 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35336 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35337 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35338 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35339 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35340 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35341 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35342 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35343 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35344 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35345 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35346 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35347 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35348 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35349 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35350 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35351 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35352 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35353 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35355 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35357 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35358 * sunrpc/rpc_main.c: Likewise.
35359 * sunrpc/rpc_svcout.c: Likewise.
35361 2012-03-09 David S. Miller <davem@davemloft.net>
35363 * include/math_private.h: New file.
35365 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35367 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35368 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35369 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35370 from <bits/socket_type.h>.
35371 (enum __socket_type): Don't define here.
35372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35374 bits/socket_type.h.
35377 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35378 checking __USE_GNU.
35380 * Makerules ($(inst_includedir)/%.h): New rule.
35381 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35382 (install-others): Remove variable setting.
35383 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35385 2012-03-08 Richard Henderson <rth@twiddle.net>
35387 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35388 from macro to inline function; merge with the
35389 !__LIBC_INTERNAL_MATH_INLINES version.
35390 (__ieee754_sqrtf): Likewise.
35392 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35393 to inline function.
35394 (__rintf, __floor, __floorf): Likewise.
35396 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35397 macro to inline function.
35398 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35400 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35401 not <math/math_private.h>.
35403 2012-03-08 David S. Miller <davem@davemloft.net>
35405 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35407 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35409 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35411 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35413 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35414 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35416 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35418 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35419 be defined individually, they must be defined as a block. Define
35420 S for printing a string instead of hidint the different by using a
35421 macro for adding the 'l'.
35422 * stdio-common/tst-fphex-wide.c: Adjust.
35424 2012-03-07 Marek Polacek <polacek@redhat.com>
35426 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35428 2012-03-08 Marek Polacek <polacek@redhat.com>
35431 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35432 * stdio-common/tst-fphex.c: Define a few macros to make the
35433 test reusable. Use them.
35434 * stdio-common/tst-fphex-wide.c: New file.
35436 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35439 * manual/macros.texi (gnusystems): New macro.
35440 (nongnusystems): Likewise.
35441 (gnulinuxhurdsystems): Likewise.
35442 (gnuhurdsystems): Likewise..
35443 (gnulinuxsystems): Likewise.
35444 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35445 variants of the GNU system, not "GNU system".
35446 * manual/conf.texi: Likewise.
35447 * manual/errno.texi: Likewise. Update example of errno macro
35449 * manual/filesys.texi: Likewise.
35450 (getumask): Document as specific to GNU/Hurd.
35451 * manual/install.texi: Likewise. Reword some references to
35453 * manual/intro.texi: Likewise.
35454 * manual/io.texi: Likewise.
35455 (File Name Portability): Detail which constraints are inapplicable
35456 to all GNU systems and which are only inapplicable to GNU/Hurd.
35457 * manual/job.texi: Likewise.
35458 * manual/llio.texi: Likewise.
35459 (O_NOCTTY): Document as present on GNU/Linux.
35460 * manual/maint.texi: Likewise.
35461 * manual/memory.texi: Likewise.
35462 * manual/pattern.texi: Likewise.
35463 * manual/pipe.texi: Likewise.
35464 * manual/process.texi: Likewise.
35465 * manual/resource.texi: Likewise.
35466 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35468 * manual/setjmp.texi: Likewise.
35469 * manual/signal.texi: Likewise.
35470 * manual/startup.texi: Likewise.
35471 * manual/stdio.texi: Likewise.
35472 * manual/terminal.texi: Likewise.
35473 (ONLCR): Document as POSIX.
35474 (OXTABS): Document availability on GNU/Linux as XTABS.
35475 (ONOEOT): Document availability separately from other bits.
35476 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35477 * manual/time.texi: Likewise.
35478 * manual/users.texi: Likewise.
35479 * INSTALL: Regenerated.
35480 * sysdeps/gnu/errlist.c: Regenerated.
35482 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35483 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35484 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35486 * configure: Regenerated.
35488 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35490 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35491 default includes instead of AC_HEADER_CHECK.
35492 * sysdeps/i386/configure: Regenerated.
35495 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35496 * math/s_cacoshf.c (__cacoshf): Likewise.
35497 * math/s_cacoshl.c (__cacoshl): Likewise.
35498 * math/s_casinh.c (__casinh): Set signs of result from argument.
35499 * math/s_casinhf.c (__casinhf): Likewise.
35500 * math/s_casinhl.c (__casinhl): Likewise.
35501 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35502 (casinh_test): Add more tests.
35503 * sysdeps/i386/fpu/libm-test-ulps: Update.
35504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35506 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35508 * po/zh_TW.po: Update from translation team.
35510 * login/Makefile (distribute): Remove variable.
35511 * catgets/Makefile: Likewise.
35512 * mach/Makefile: Likewise.
35513 * malloc/Makefile: Likewise.
35514 * misc/Makefile: Likewise.
35515 * iconv/Makefile: Likewise.
35516 * nscd/Makefile: Likewise.
35517 * hurd/Makefile: Likewise.
35518 * manual/Makefile: Likewise.
35519 * locale/Makefile: Likewise.
35520 * intl/Makefile: Likewise.
35521 * conform/Makefile: Likewise.
35522 * nss/Makefile: Likewise.
35523 * time/Makefile: Likewise.
35524 * soft-fp/Makefile: Likewise.
35525 * dirent/Makefile: Likewise.
35526 * gmon/Makefile: Likewise.
35527 * po/Makefile: Likewise.
35528 * rt/Makefile: Likewise.
35529 * socket/Makefile: Likewise.
35530 * math/Makefile: Likewise.
35531 * signal/Makefile: Likewise.
35532 * debug/Makefile: Likewise.
35533 * elf/Makefile: Likewise.
35534 * timezone/Makefile: Likewise.
35535 * stdlib/Makefile: Likewise.
35536 * iconvdata/Makefile: Likewise.
35537 * sunrpc/Makefile: Likewise.
35538 * io/Makefile: Likewise.
35539 * argp/Makefile: Likewise.
35540 * inet/Makefile: Likewise.
35541 * hesiod/Makefile: Likewise.
35542 * grp/Makefile: Likewise.
35543 * csu/Makefile: Likewise.
35544 * wctype/Makefile: Likewise.
35545 * crypt/Makefile: Likewise.
35546 * libio/Makefile: Likewise.
35547 * string/Makefile: Likewise.
35548 * nis/Makefile: Likewise.
35549 * resolv/Makefile: Likewise.
35550 * stdio-common/Makefile: Likewise.
35551 * wcsmbs/Makefile: Likewise.
35552 * dlfcn/Makefile: Likewise.
35553 * posix/Makefile: Likewise.
35556 * timezone/Makefile: Don't install timezone files, just the programs
35559 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35561 * nss/databases.def: Add missing gshadow entry.
35563 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35565 2012-03-06 Marek Polacek <polacek@redhat.com>
35568 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35569 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35570 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35571 * stdio-common/tst-long-dbl-fphex.c: New file.
35573 2012-03-06 David S. Miller <davem@davemloft.net>
35575 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35576 (set_obp_int): New function.
35577 (get_obp_int): New function.
35578 (__get_clockfreq_via_dev_openprom): Likewise.
35579 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35580 Avoid unused variable warnings on 'val' and use builtin_expect.
35581 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35583 (INLINE_CLONE_SYSCALL): Likewise.
35585 2012-03-05 David S. Miller <davem@davemloft.net>
35587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35589 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35593 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35594 only for |x| >= 40.
35595 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35597 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35599 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35600 Replace gettimeofday with __vdso_gettimeofday.
35602 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35603 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35604 __vdso_clock_gettime and __vdso_getcpu.
35606 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35607 time with __vdso_time.
35609 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35611 * manual/lang.texi (size_t): Note types to which size_t may be
35612 equivalent with the GNU C Library, but do not describe when
35613 differences between them are significant.
35615 2012-03-05 Andreas Jaeger <aj@suse.de>
35617 * sysdeps/i386/fpu/libm-test-ulps: Update.
35619 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35622 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35623 (__ieee754_pow): Save and restore rounding mode and use
35624 round-to-nearest for main computations.
35625 * math/libm-test.inc (pow_test_tonearest): New function.
35626 (pow_test_towardzero): Likewise.
35627 (pow_test_downward): Likewise.
35628 (pow_test_upward): Likewise.
35629 (main): Call the new functions.
35630 * sysdeps/i386/fpu/libm-test-ulps: Update.
35631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35634 * math/libm-test.inc (cosh_test_tonearest): New function.
35635 (cosh_test_towardzero): Likewise.
35636 (cosh_test_downward): Likewise.
35637 (cosh_test_upward): Likewise.
35638 (sinh_test_tonearest): Likewise.
35639 (sinh_test_towardzero): Likewise.
35640 (sinh_test_downward): Likewise.
35641 (sinh_test_upward): Likewise.
35642 (main): Call the new functions.
35643 * sysdeps/i386/fpu/libm-test-ulps: Update.
35644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35646 2012-03-05 Tom de Vries <tom@codesourcery.com>
35648 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35649 default stack guard is set in last bytes.
35650 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35652 2012-03-05 Kees Cook <keescook@chromium.org>
35654 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35657 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35658 possibly allocate from heap instead of stack.
35659 * stdio-common/bug-vfprintf-nargs.c: New file.
35660 * stdio-common/Makefile (tests): Add nargs overflow test.
35662 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35666 2012-03-03 Marek Polacek <polacek@redhat.com>
35668 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35669 * math/math_private.h: Likewise.
35670 * stdlib/tst-strtod.c: Likewise.
35671 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35672 * sysdeps/x86_64/bits/atomic.h: Likewise.
35674 2012-03-02 David S. Miller <davem@davemloft.net>
35676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35680 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35681 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35682 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35683 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35685 2012-03-02 Roland McGrath <roland@hack.frob.com>
35688 * manual/examples/README: New file, says the example source files
35689 can be used under GPL>=2.
35690 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35691 line containing just "*/".
35692 * manual/examples/add.c: Add copyright header (GPL>=2).
35693 * manual/examples/argp-ex1.c: Likewise.
35694 * manual/examples/argp-ex2.c: Likewise.
35695 * manual/examples/argp-ex3.c: Likewise.
35696 * manual/examples/argp-ex4.c: Likewise.
35697 * manual/examples/atexit.c: Likewise.
35698 * manual/examples/db.c: Likewise.
35699 * manual/examples/dir.c: Likewise.
35700 * manual/examples/dir2.c: Likewise.
35701 * manual/examples/execinfo.c: Likewise.
35702 * manual/examples/filecli.c: Likewise.
35703 * manual/examples/filesrv.c: Likewise.
35704 * manual/examples/fmtmsgexpl.c: Likewise.
35705 * manual/examples/genpass.c: Likewise.
35706 * manual/examples/inetcli.c: Likewise.
35707 * manual/examples/inetsrv.c: Likewise.
35708 * manual/examples/isockad.c: Likewise.
35709 * manual/examples/longopt.c: Likewise.
35710 * manual/examples/memopen.c: Likewise.
35711 * manual/examples/memstrm.c: Likewise.
35712 * manual/examples/mkfsock.c: Likewise.
35713 * manual/examples/mkisock.c: Likewise.
35714 * manual/examples/mygetpass.c: Likewise.
35715 * manual/examples/pipe.c: Likewise.
35716 * manual/examples/popen.c: Likewise.
35717 * manual/examples/rprintf.c: Likewise.
35718 * manual/examples/search.c: Likewise.
35719 * manual/examples/select.c: Likewise.
35720 * manual/examples/setjmp.c: Likewise.
35721 * manual/examples/sigh1.c: Likewise.
35722 * manual/examples/sigusr.c: Likewise.
35723 * manual/examples/stpcpy.c: Likewise.
35724 * manual/examples/strdupa.c: Likewise.
35725 * manual/examples/strftim.c: Likewise.
35726 * manual/examples/strncat.c: Likewise.
35727 * manual/examples/subopt.c: Likewise.
35728 * manual/examples/swapcontext.c: Likewise.
35729 * manual/examples/termios.c: Likewise.
35730 * manual/examples/testopt.c: Likewise.
35731 * manual/examples/testpass.c: Likewise.
35732 * manual/examples/timeval_subtract.c: Likewise.
35735 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35737 * manual/timeval_subtract.c.texi: ... here, new file.
35739 2012-03-02 David S. Miller <davem@davemloft.net>
35741 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35743 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35746 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35747 (__sin): Save and restore rounding mode and use round-to-nearest
35748 for all computations.
35749 (__cos): Save and restore rounding mode and use round-to-nearest
35750 for all computations.
35751 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35753 (tan): Save and restore rounding mode and use round-to-nearest for
35755 * math/libm-test.inc (cos_test_tonearest): New function.
35756 (cos_test_towardzero): Likewise.
35757 (cos_test_downward): Likewise.
35758 (cos_test_upward): Likewise.
35759 (sin_test_tonearest): Likewise.
35760 (sin_test_towardzero): Likewise.
35761 (sin_test_downward): Likewise.
35762 (sin_test_upward): Likewise.
35763 (tan_test_tonearest): Likewise.
35764 (tan_test_towardzero): Likewise.
35765 (tan_test_downward): Likewise.
35766 (tan_test_upward): Likewise.
35767 (main): Call the new functions.
35768 * sysdeps/i386/fpu/libm-test-ulps: Update.
35769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35772 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35773 small n, then large n, before computing and testing k+n.
35774 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35775 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35777 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35779 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35780 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35781 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35782 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35783 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35784 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35785 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35786 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35787 * math/libm-test.inc (scalbn_test): Add more tests.
35788 (scalbln_test): Likewise.
35790 * manual/filesys.texi (mode_t): Describe constraints on size and
35791 signedness, not exact equivalence to a particular type.
35793 (ino64_t): Likewise.
35795 (nlink_t): Likewise.
35796 (blkcnt_t): Likewise.
35797 (blkcnt64_t): Likewise.
35798 * manual/llio.texi (off_t): Likewise.
35801 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35802 (__ieee754_exp): Save and restore rounding mode and use
35803 round-to-nearest for all computations.
35804 * math/libm-test.inc (exp_test_tonearest): New function.
35805 (exp_test_towardzero): Likewise.
35806 (exp_test_downward): Likewise.
35807 (exp_test_upward): Likewise.
35808 (main): Call the new functions.
35809 * sysdeps/i386/fpu/libm-test-ulps: Update.
35810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35812 2012-03-01 Chris Demetriou <cgd@google.com>
35814 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35815 have predictable order.
35817 2012-03-01 David S. Miller <davem@davemloft.net>
35819 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35821 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35822 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35823 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35824 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35826 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35827 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35828 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35830 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35831 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35832 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35833 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35834 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35838 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35839 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35840 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35842 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35843 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35844 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35845 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35846 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35847 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35848 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35849 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35850 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35851 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35852 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35853 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35854 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35855 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35856 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35857 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35858 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35859 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35860 * sysdeps/sparc/elf/configure: Regenerated.
35862 2012-03-01 Joseph Myers <joseph@codesourcery.com>
35864 * configure.in (AS, LD): Require binutils 2.20 or later.
35865 * configure: Regenerated.
35866 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35867 as required minimum version.
35868 * INSTALL: Regenerated.
35872 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35873 before squaring exponent.
35874 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35875 bottom long double and 27 bits of top long double before squaring
35877 * math/libm-test.inc (erfc_test): Add more tests.
35878 * sysdeps/i386/fpu/libm-test-ulps: Update.
35879 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35882 2012-03-01 Kai Tietz <ktietz@redhat.com>
35884 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35885 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35886 containing bit-fields.
35887 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35888 * soft-fp/single.h (_FP_UNION_S): Likewise.
35889 * soft-fp/double.h (_FP_UNION_D): Likewise.
35891 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35894 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35895 not include ../strcmp.S.
35896 [USE_AS_STRNCASECMP_L]: Likewise.
35897 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35898 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35899 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35900 (__strncasecmp_l_ia32): Define as alias to
35901 __strncasecmp_l_nonascii.
35904 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35905 * sysdeps/i386/fpu/libm-test-ulps: Update.
35906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35908 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35911 2012-02-29 Jeff Law <law@redhat.com>
35913 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35914 out of bounds read.
35916 2012-02-29 Marek Polacek <polacek@redhat.com>
35919 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35920 * elf/Makefile: Add rules to run tst-unused-dep.out.
35922 2012-02-28 David S. Miller <davem@davemloft.net>
35924 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35925 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35926 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35928 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35929 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35931 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35933 * math/libm-test.inc (llround_test): Move one test from
35934 lround_test. Use TEST_f_L in moved test.
35935 (lround_test): Move misplaced test to llround_test. Add testcase
35938 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35940 * sysdeps/x86_64/fpu/e_expf.S: New file.
35941 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35943 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35946 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35947 of remain_len that may cause incomplete multi-byte character and
35949 * posix/bug-regex33.c: New file.
35950 * posix/Makefile (tests): Add bug-regex33.
35952 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35954 * manual/macros.texi: New file.
35955 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35956 * manual/libc.texinfo: Include macros.texi.
35957 * manual/creatute.texi: Likewise.
35958 * manual/install.texi: Likewise.
35959 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35960 @glibcadj{} in references to the GNU C Library.
35961 * manual/charset.texi: Likewise.
35962 * manual/conf.texi: Likewise.
35963 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35964 when not using those macros.
35965 * manual/creature.texi: Likewise.
35966 * manual/crypt.texi: Likewise.
35967 * manual/errno.texi: Likewise.
35968 * manual/filesys.texi: Likewise.
35969 * manual/header.texi: Likewise.
35970 * manual/install.texi: Likewise.
35971 * manual/intro.texi: Likewise.
35972 * manual/io.texi: Likewise.
35973 * manual/job.texi: Likewise.
35974 * manual/lang.texi: Likewise.
35975 * manual/libc.texiinfo: Likewise.
35976 * manual/llio.texi: Likewise.
35977 * manual/locale.texi: Likewise.
35978 * manual/maint.texi: Likewise.
35979 * manual/math.texi: Likewise.
35980 * manual/memory.texi: Likewise.
35981 * manual/message.texi: Likewise.
35982 * manual/nss.texi: Likewise.
35983 * manual/pattern.texi: Likewise.
35984 * manual/process.texi: Likewise.
35985 * manual/resource.texi: Likewise.
35986 * manual/search.texi: Likewise.
35987 * manual/setjmp.texi: Likewise.
35988 * manual/signal.texi: Likewise.
35989 * manual/socket.texi: Likewise.
35990 * manual/startup.texi: Likewise.
35991 * manual/stdio.texi: Likewise.
35992 * manual/string.texi: Likewise.
35993 * manual/sysinfo.texi: Likewise.
35994 * manual/syslog.texi: Likewise.
35995 * manual/terminal.texi: Likewise.
35996 * manual/time.texi: Likewise.
35997 * manual/users.texi: Likewise.
35998 * INSTALL: Regenerated.
35999 * NOTES: Regenerated.
36000 * sysdeps/gnu/errlist.c: Regenerated.
36002 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36004 * include/dirent.h: Include <dirstream.h> before
36007 2012-02-28 David S. Miller <davem@davemloft.net>
36009 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36010 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36011 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36012 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36014 2012-02-27 David S. Miller <davem@davemloft.net>
36016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36018 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36019 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36022 frame pointer instead of stack pointer relative arg slot.
36023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36024 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36025 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36027 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36030 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36032 2012-02-27 David S. Miller <davem@davemloft.net>
36034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36038 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36039 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36040 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36041 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36043 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36045 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36046 later. Allow versions 5-9.
36047 * configure: Regenerated.
36048 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36049 required minimum version and 4.6 as recommended version. Do not
36050 mention bugs in GCC 2.7 and 2.8.
36051 * INSTALL: Regenerated.
36053 2012-02-27 David S. Miller <davem@davemloft.net>
36055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36059 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36060 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36061 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36062 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36064 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36065 manipulate bits before adding and subtracting TWO112[sx].
36066 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36068 2012-02-27 Roland McGrath <roland@hack.frob.com>
36071 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36072 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36073 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36074 being in POSIX, because they are in 1003.1-2008.
36076 * rt/tst-aio.c: Include <fcntl.h>.
36077 * rt/tst-aio7.c: Likewise.
36078 * rt/tst-aio64.c: Likewise.
36080 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36082 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36084 * manual/install.texi (--with-headers): Describe headers as
36085 interface headers, not private headers.
36086 (Specific advice for GNU/Linux systems): Describe use of headers
36087 from "make headers_install", not private headers from older
36089 * INSTALL: Regenerated.
36090 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36092 * sysdeps/unix/sysv/linux/configure: Regenerated.
36094 * manual/llio.texi (fclean): Remove documentation.
36096 * manual/Makefile (libc-texi-generated): New variable. Include
36098 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36099 $(libc-texi-generated), not duplicated list of files.
36100 (version.texi, stamp-version): New rules.
36101 (realclean): Remove $(libc-texi-generated), not individual files
36102 from that list. Do not remove dir-add.texinfo.
36103 * manual/libc.texinfo: Comment out uses of edition numbers and
36104 references to printed manual. Remove last-updated dates.
36105 (EDITION): Comment out.
36107 (VERSION, UPDATED): Remove.
36108 (version.texi): Include.
36110 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36112 * sysdeps/posix/spawni.c: Include <signal.h>.
36113 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36114 * sysdeps/pthread/aio_fsync.c: Likewise.
36116 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36118 * conform/Makefile (tests): Run only when not cross-compiling and
36119 when fast-check is not defined.
36121 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36122 * conform/data/limits.h-data: Fixes for POSIX2008.
36123 * conform/run-conformtest.sh: Run all tests.
36124 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36126 * include/bits/dlfcn.h: Likewise.
36127 * include/langinfo.h: Likewise.
36128 * include/monetary.h: Likewise.
36129 * include/sys/poll.h: Likewise.
36131 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36133 * posix/spawn.h: Define __need_sigset_t.
36134 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36135 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36136 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36137 to get sigevent_t only.
36138 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36139 only for __USE_GNU.
36140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36141 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36142 process_vm_writev only for __USE_GNU.
36143 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36145 * conform/Makefile: For now ignore errors from run-conformtest.
36146 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36147 POSIX to avoid namespace pollution. Don't prepend headers.
36148 * conform/data/aio.h-data: Fixes for POSIX testing.
36149 * conform/data/fcntl.h-data: Likewise.
36150 * conform/data/glob.h-data: Likewise.
36151 * conform/data/grp.h-data: Likewise.
36152 * conform/data/pthread.h-data: Likewise.
36153 * conform/data/pwd.h-data: Likewise.
36154 * conform/data/signal.h-data: Likewise.
36155 * conform/data/spawn.h-data: Likewise.
36156 * conform/data/stdio.h-data: Likewise.
36157 * conform/data/stdlib.h-data: Likewise.
36158 * conform/data/stropts.h-data: Likewise.
36159 * conform/data/sys/mman.h-data: Likewise.
36160 * conform/data/sys/stat.h-data: Likewise.
36161 * conform/data/sys/types.h-data: Likewise.
36162 * conform/data/sys/wait.h-data: Likewise.
36163 * conform/data/time.h-data: Likewise.
36164 * conform/data/unistd.h-data: Likewise.
36165 * conform/data/utime.h-data: Likewise.
36167 * io/sys/stat.h: fchmod was always in POSIX.
36168 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36169 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36170 * rt/aio.h: Define __need_timespec before including <time.h>.
36171 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36172 struct. Add forward declaration of pthread_attr_t and use it in
36174 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36175 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36176 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36177 always remove CLK_TCK definition.
36179 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36181 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36183 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36185 * conform/run-conformtest.sh: New file.
36186 * conform/Makefile: Run run-conformtest for tests.
36187 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36190 * conform/data/uchar.h-data: New file.
36191 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36192 * conform/data/arpa/inet.h-data: Likewise.
36193 * conform/data/assert.h-data: Likewise.
36194 * conform/data/complex.h-data: Likewise.
36195 * conform/data/cpio.h-data: Likewise.
36196 * conform/data/ctype.h-data: Likewise.
36197 * conform/data/dirent.h-data: Likewise.
36198 * conform/data/dlfcn.h-data: Likewise.
36199 * conform/data/errno.h-data: Likewise.
36200 * conform/data/fcntl.h-data: Likewise.
36201 * conform/data/float.h-data: Likewise.
36202 * conform/data/fmtmsg.h-data: Likewise.
36203 * conform/data/fnmatch.h-data: Likewise.
36204 * conform/data/ftw.h-data: Likewise.
36205 * conform/data/glob.h-data: Likewise.
36206 * conform/data/grp.h-data: Likewise.
36207 * conform/data/iconv.h-data: Likewise.
36208 * conform/data/inttypes.h-data: Likewise.
36209 * conform/data/langinfo.h-data: Likewise.
36210 * conform/data/libgen.h-data: Likewise.
36211 * conform/data/limits.h-data: Likewise.
36212 * conform/data/locale.h-data: Likewise.
36213 * conform/data/math.h-data: Likewise.
36214 * conform/data/monetary.h-data: Likewise.
36215 * conform/data/mqueue.h-data: Likewise.
36216 * conform/data/ndbm.h-data: Likewise.
36217 * conform/data/net/if.h-data: Likewise.
36218 * conform/data/netdb.h-data: Likewise.
36219 * conform/data/netinet/in.h-data: Likewise.
36220 * conform/data/nl_types.h-data: Likewise.
36221 * conform/data/poll.h-data: Likewise.
36222 * conform/data/pthread.h-data: Likewise.
36223 * conform/data/pwd.h-data: Likewise.
36224 * conform/data/regex.h-data: Likewise.
36225 * conform/data/sched.h-data: Likewise.
36226 * conform/data/search.h-data: Likewise.
36227 * conform/data/semaphore.h-data: Likewise.
36228 * conform/data/setjmp.h-data: Likewise.
36229 * conform/data/signal.h-data: Likewise.
36230 * conform/data/spawn.h-data: Likewise.
36231 * conform/data/stdarg.h-data: Likewise.
36232 * conform/data/stdio.h-data: Likewise.
36233 * conform/data/stdlib.h-data: Likewise.
36234 * conform/data/string.h-data: Likewise.
36235 * conform/data/strings.h-data: Likewise.
36236 * conform/data/stropts.h-data: Likewise.
36237 * conform/data/sys/ipc.h-data: Likewise.
36238 * conform/data/sys/mman.h-data: Likewise.
36239 * conform/data/sys/msg.h-data: Likewise.
36240 * conform/data/sys/resource.h-data: Likewise.
36241 * conform/data/sys/select.h-data: Likewise.
36242 * conform/data/sys/sem.h-data: Likewise.
36243 * conform/data/sys/shm.h-data: Likewise.
36244 * conform/data/sys/socket.h-data: Likewise.
36245 * conform/data/sys/stat.h-data: Likewise.
36246 * conform/data/sys/statvfs.h-data: Likewise.
36247 * conform/data/sys/time.h-data: Likewise.
36248 * conform/data/sys/timeb.h-data: Likewise.
36249 * conform/data/sys/times.h-data: Likewise.
36250 * conform/data/sys/types.h-data: Likewise.
36251 * conform/data/sys/uio.h-data: Likewise.
36252 * conform/data/sys/un.h-data: Likewise.
36253 * conform/data/sys/utsname.h-data: Likewise.
36254 * conform/data/sys/wait.h-data: Likewise.
36255 * conform/data/syslog.h-data: Likewise.
36256 * conform/data/tar.h-data: Likewise.
36257 * conform/data/termios.h-data: Likewise.
36258 * conform/data/utime.h-data: Likewise.
36259 * conform/data/utmpx.h-data: Likewise.
36260 * conform/data/varargs.h-data: Likewise.
36261 * conform/data/wchar.h-data: Likewise.
36262 * conform/data/wctype.h-data: Likewise.
36263 * conform/data/wordexp.h-data: Likewise.
36265 * include/stropts.h: New file.
36266 * include/uchar.h: New file.
36267 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36268 * include/assert.h: Likewise.
36269 * include/ctype.h: Likewise.
36270 * include/dirent.h: Likewise.
36271 * include/dlfcn.h: Likewise.
36272 * include/fcntl.h: Likewise.
36273 * include/fnmatch.h: Likewise.
36274 * include/glob.h: Likewise.
36275 * include/grp.h: Likewise.
36276 * include/libio.h: Likewise.
36277 * include/locale.h: Likewise.
36278 * include/math.h: Likewise.
36279 * include/net/if.h: Likewise.
36280 * include/netdb.h: Likewise.
36281 * include/netinet/in.h: Likewise.
36282 * include/pthread.h: Likewise.
36283 * include/pwd.h: Likewise.
36284 * include/regex.h: Likewise.
36285 * include/sched.h: Likewise.
36286 * include/search.h: Likewise.
36287 * include/setjmp.h: Likewise.
36288 * include/signal.h: Likewise.
36289 * include/stdio.h: Likewise.
36290 * include/stdlib.h: Likewise.
36291 * include/string.h: Likewise.
36292 * include/sys/cdefs.h: Likewise.
36293 * include/sys/mman.h: Likewise.
36294 * include/sys/msg.h: Likewise.
36295 * include/sys/resource.h: Likewise.
36296 * include/sys/select.h: Likewise.
36297 * include/sys/socket.h: Likewise.
36298 * include/sys/stat.h: Likewise.
36299 * include/sys/statvfs.h: Likewise.
36300 * include/sys/time.h: Likewise.
36301 * include/sys/times.h: Likewise.
36302 * include/sys/uio.h: Likewise.
36303 * include/sys/utsname.h: Likewise.
36304 * include/sys/wait.h: Likewise.
36305 * include/termios.h: Likewise.
36306 * include/time.h: Likewise.
36307 * include/ulimit.h: Likewise.
36308 * include/unistd.h: Likewise.
36309 * include/utime.h: Likewise.
36310 * include/wchar.h: Likewise.
36311 * include/wctype.h: Likewise.
36312 * include/wordexp.h: Likewise.
36314 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36316 * time/time.h: TIME_UTC must be a macro.
36317 Make timespec_get available for ISO C11 only as well.
36319 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36321 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36322 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36324 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36326 * configure.in: Use -o not -a in test for unsupported multi-arch.
36328 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36330 * manual/texinfo.tex: Update to version 2012-01-19.16.
36332 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36334 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36336 2012-02-24 Roland McGrath <roland@hack.frob.com>
36339 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36340 * manual/fdl-1.3.texi: New file.
36341 * manual/fdl-1.1.texi: File removed.
36344 * manual/libc.texinfo (FDL_VERSION): New @set.
36345 Use it for mention of FDL in cover text.
36346 (Documentation License): Use it in @include file name.
36348 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36349 Roland McGrath <roland@hack.frob.com>
36352 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36353 (not LONG_LONG_MAX and LONG_LONG_MIN.
36354 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36355 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36357 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36359 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36363 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36364 manipulate bits before adding and subtracting TWO23[sx].
36365 * math/libm-test.inc (nearbyint_test): Add more tests.
36367 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36370 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36371 bits before adding and subtracting TWO23[sx].
36372 * math/libm-test.inc (rint_test): Add more tests.
36373 (rint_test_tonearest): Likewise.
36374 (rint_test_towardzero): Likewise.
36375 (rint_test_downward): Likewise.
36376 (rint_test_upward: Likewise.
36378 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36381 * include/stdc-predef.h: New file. Extracted from features.h.
36382 * include/features.h: Include stdc-predef.h.
36383 * Makefile (headers): Add stdc-predef.h.
36384 * CONFORMANCE (Compiler limitations): Update.
36386 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36388 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36390 2012-02-21 David S. Miller <davem@davemloft.net>
36392 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36393 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36395 2012-02-20 David S. Miller <davem@davemloft.net>
36397 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36398 using a normal save/restore sequence, rather than allocating a
36399 dummy stack frame just to store a frame pointer and restore.
36400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36402 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36404 * manual/install.texi: Fix stray word in line-wrapped comment.
36406 2012-02-20 David S. Miller <davem@davemloft.net>
36408 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36409 both binutils and gcc support GOTDATA.
36411 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36412 "rd %pc" in the PIC register setup sequences.
36414 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36415 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36416 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36417 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36418 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36420 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36421 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36422 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36423 (SYSCALL_ERROR_HANDLER): Likewise.
36424 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36425 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36426 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36427 (SYSCALL_ERROR_HANDLER): Likewise.
36429 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36430 (HAVE_GCC_GOTDATA): New.
36431 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36432 relocation support in both binutils and gcc.
36433 * sysdeps/sparc/elf/configure: Regenerate.
36435 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36436 * sysdeps/sparc/sparc32/elf/configure: Delete.
36437 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36438 * sysdeps/sparc/sparc64/elf/configure: Delete.
36439 * sysdeps/sparc/elf/configure.in: New file.
36440 * sysdeps/sparc/elf/configure: Generate.
36442 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36443 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36444 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36445 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36446 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36448 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36450 * manual/install.texi: Do not mention specific glibc version
36452 * manual/libc.texinfo (VERSION, UPDATED): Update.
36453 (@copying): Use @copyright{} and range of years.
36455 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36458 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36459 [crti.S not in sysdirs] (generated): Do not append.
36460 [crti.S not in sysdirs] (omit-deps): Likewise.
36461 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36462 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36463 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36464 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36465 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36467 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36468 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36469 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36470 * csu/defs.awk: Remove file.
36471 * sysdeps/generic/initfini.c: Likewise.
36472 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36474 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36477 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36479 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36480 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36481 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36482 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36483 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36484 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36486 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36487 (__EPOLL_PACKED): Define to empty if not defined by
36489 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36493 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36495 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36496 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36497 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36498 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36500 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36504 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36506 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36508 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36509 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36510 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36513 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36515 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36516 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36518 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36520 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36521 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36523 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36525 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36528 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36530 * math/w_acos.c: Use non-signaling floating-point comparisons.
36531 * math/w_acosf.c: Likewise.
36532 * math/w_acosh.c: Likewise.
36533 * math/w_acoshf.c: Likewise.
36534 * math/w_acoshl.c: Likewise.
36535 * math/w_acosl.c: Likewise.
36536 * math/w_asin.c: Likewise.
36537 * math/w_asinf.c: Likewise.
36538 * math/w_asinl.c: Likewise.
36539 * math/w_atanh.c: Likewise.
36540 * math/w_atanhf.c: Likewise.
36541 * math/w_atanhl.c: Likewise.
36542 * math/w_exp2.c: Likewise.
36543 * math/w_exp2f.c: Likewise.
36544 * math/w_exp2l.c: Likewise.
36545 * math/w_j0.c: Likewise.
36546 * math/w_j0f.c: Likewise.
36547 * math/w_j0l.c: Likewise.
36548 * math/w_j1.c: Likewise.
36549 * math/w_j1f.c: Likewise.
36550 * math/w_j1l.c: Likewise.
36551 * math/w_jn.c: Likewise.
36552 * math/w_jnf.c: Likewise.
36553 * math/w_log.c: Likewise.
36554 * math/w_log10.c: Likewise.
36555 * math/w_log10f.c: Likewise.
36556 * math/w_log10l.c: Likewise.
36557 * math/w_log2.c: Likewise.
36558 * math/w_log2f.c: Likewise.
36559 * math/w_log2l.c: Likewise.
36560 * math/w_logf.c: Likewise.
36561 * math/w_logl.c: Likewise.
36562 * math/w_sqrt.c: Likewise.
36563 * math/w_sqrtf.c: Likewise.
36564 * math/w_sqrtl.c: Likewise.
36565 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36566 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36567 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36568 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36569 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36571 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36574 * manual/string.texi (strnlen): Use correct parameter name in
36575 equivalent expression.
36577 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36580 * manual/users.texi (seteuid): Consistently use neweuid for
36583 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36586 * manual/nss.texi (Services in the NSS configuration): Correct
36587 list of services in example configuration file.
36589 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36592 * manual/arith.texi: Remove statements about negative zero
36593 behaving identically to zero.
36595 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36598 * manual/install.texi: Do not document upgrading from libc5.
36600 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36603 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36605 2012-02-18 David S. Miller <davem@davemloft.net>
36607 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36608 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36609 %o7 across the call.
36610 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36613 SETUP_PIC_REG_LEAF.
36614 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36615 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36616 * sysdeps/sparc/crtn.S: Likewise.
36618 2012-02-17 Ulrich Drepper <drepper@gmail.com>
36620 * aout/Makefile: Remove.
36622 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36625 * manual/examples/argp-ex1.c (main): Format definition in GNU
36627 * manual/examples/argp-ex2.c (main): Likewise.
36628 * manual/examples/argp-ex3.c (main): Likewise.
36629 * manual/examples/argp-ex4.c (main): Likewise.
36630 * manual/examples/longopt.c (main): Use new-style prototype
36632 * manual/examples/strncat.c (main): Specify return type and use
36633 (void) for arguments.
36634 * manual/examples/subopt.c (main): Use char **argv argument.
36636 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36639 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36642 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36645 * manual/string.texi (strchr): Change when strchrnul is
36648 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36651 * manual/locale.texi (setlocale): Document LOCPATH.
36653 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36656 * manual/process.texi (execle): Move @dots{} before last argument.
36658 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
36661 * manual/charset.texi (Generic Charset Conversion): Fix typo
36662 (LC_TYPE -> LC_CTYPE).
36664 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36667 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36668 (scalbnf): Likewise.
36669 (scalbnl): Likewise.
36670 (scalbln): Likewise.
36671 (scalblnf): Likewise.
36672 (scalblnl): Likewise.
36673 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36674 (vwarnx): Likewise.
36677 * manual/filesys.texi (telldir): Use braces around return type.
36678 * manual/llio.texi (mmap): Add space after comma.
36679 (mmap64): Likewise.
36680 * manual/math.texi (jn): Use @var{} on parameter names.
36686 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36688 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36690 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36691 (sched_get_priority_max): Likewise.
36692 * manual/signal.texi (sigvec): Add space after comma.
36693 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36695 (if_indextoname): Likewise.
36696 (if_freenameindex): Likewise.
36697 (sendto): Use ',' instead of '.' in prototype.
36698 * manual/startup.texi (syscall): Use @dots{} instead of literal
36700 * manual/stdio.texi (__fpending): Separate initial words of
36701 paragraph from @deftypefun line.
36702 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36704 (vsyslog): Use @var{} on parameter names.
36705 * manual/terminal.texi (stty): Use @var{} on parameter names.
36706 * manual/users.texi (getutmp): Use @var{} on parameter names.
36707 (getutmpx): Likewise.
36709 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36712 * manual/stdio.texi (fopen): Fix typos in description of
36715 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36718 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36719 get clock_id definition.
36721 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36724 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36725 (madvise): Cast every argument to void on its own.
36727 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36730 * manual/startup.texi (Exit Status): Fix typo.
36732 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36735 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36736 * manual/examples/argp-ex2.c: Likewise.
36737 * manual/examples/argp-ex3.c: Likewise.
36739 2012-02-16 Richard Henderson <rth@redhat.com>
36741 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36742 * sysdeps/s390/s390-32/initfini.c: Remove.
36743 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36744 * sysdeps/s390/s390-64/initfini.c: Remove.
36746 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36748 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36749 compiler output for sysdeps/generic/initfini.c.
36750 * sysdeps/sh/elf/initfini.c: Remove file.
36752 2012-02-16 David S. Miller <davem@davemloft.net>
36755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36757 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36758 * sysdeps/sparc/crti.S: New file.
36759 * sysdeps/sparc/crtn.S: New file.
36760 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36761 * sysdeps/sparc/sparc64/Makefile: Likewise.
36763 2012-02-15 Mike Frysinger <vapier@gentoo.org>
36766 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36768 2012-02-15 Roland McGrath <roland@hack.frob.com>
36771 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36773 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36774 (write, read, close): Likewise.
36775 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36777 2012-02-15 Joseph Myers <joseph@codesourcery.com>
36779 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36780 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36781 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36782 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36784 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36788 2012-02-14 Marek Polacek <polacek@redhat.com>
36790 * sysdeps/x86_64/crti.S: New file.
36791 * sysdeps/x86_64/crtn.S: New file.
36792 * sysdeps/x86_64/elf/initfini.c: Remove file.
36794 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36796 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36797 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36798 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36799 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36801 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36805 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36807 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36808 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36809 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36810 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36812 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36816 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36818 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36819 __feraiseexcept instead of feraiseexcept.
36821 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36822 nanosleep invocations.
36823 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36824 strings, and add error checking for a nanosleep invocations.
36826 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36828 Replace FSF snail mail address with URLs, as per GNU coding standards.
36829 Most of the snail mail addresses were wrong anyway, and omitting
36830 them makes the source code easier to maintain. Almost all of the
36831 changes are to license notices and to locale LC_IDENTIFICATION
36832 addresses, except for this one:
36833 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36834 not its snail mail address.
36836 2012-02-09 Richard Henderson <rth@twiddle.net>
36838 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36839 of kernel-features.h.
36841 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36843 2012-02-08 Marek Polacek <polacek@redhat.com>
36845 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36846 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36847 * sysdeps/gnu/_G_config.h: Likewise.
36848 * sysdeps/generic/_G_config.h: Likewise.
36850 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36852 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36856 * sysdeps/powerpc/powerpc32/crti.S: New file.
36857 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36858 * sysdeps/powerpc/powerpc64/crti.S: New file.
36859 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36861 * Makeconfig (have-initfini): Don't set.
36862 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36863 * configure.in (nopic_initfini): Don't substitute.
36864 * config.h.in (HAVE_INITFINI): Don't #undef.
36865 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36866 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36868 2012-02-08 Joseph Myers <joseph@codesourcery.com>
36870 Support crti.S and crtn.S provided directly by architectures.
36871 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36872 [crti.S in sysdirs] (omit-deps): Likewise.
36873 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36874 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36875 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36876 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36877 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36878 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36879 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36880 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36881 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36882 compiler output for sysdeps/generic/initfini.c.
36883 * sysdeps/i386/elf/Makefile: Remove file.
36884 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36886 2012-02-07 Marek Polacek <polacek@redhat.com>
36888 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36889 * sysdeps/gnu/_G_config.h: Likewise.
36890 * sysdeps/mach/hurd/_G_config.h: Likewise.
36892 2012-02-07 Marek Polacek <polacek@redhat.com>
36894 * math/Makefile (tests): Add tst-CMPLX2.
36895 * math/tst-CMPLX2.c: New file.
36897 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36899 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36901 * math/libm-test.inc (jn_test): Add missing L suffix.
36903 2012-02-06 Marek Polacek <polacek@redhat.com>
36905 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36906 * sysdeps/i386/fpu/e_powf.S: Likewise.
36907 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36908 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36909 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36910 * sysdeps/i386/fpu/e_pow.S: Likewise.
36911 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36912 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36913 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36914 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36915 * sysdeps/i386/fpu/e_log2.S: Likewise.
36916 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36917 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36918 * sysdeps/i386/fpu/e_powl.S: Likewise.
36919 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36920 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36921 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36922 * sysdeps/i386/fpu/e_logl.S: Likewise.
36923 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36924 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36925 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36926 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36927 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36928 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36929 * sysdeps/i386/fpu/e_log.S: Likewise.
36930 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36931 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36932 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36933 * sysdeps/i386/fpu/e_logf.S: Likewise.
36934 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36935 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36936 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36937 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36938 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36939 * sysdeps/i386/fpu/e_log10.S: Likewise.
36940 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36941 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36942 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36943 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36944 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36945 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36946 * sysdeps/i386/asm-syntax.h: Likewise.
36947 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36948 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36949 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36950 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36951 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36952 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36953 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36954 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36955 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36956 * sysdeps/powerpc/sysdep.h: Likewise.
36957 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36958 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36960 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36963 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36965 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36967 * sysdeps/i386/sysdep.h: Include <features.h>.
36968 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36971 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36973 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36975 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36978 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36980 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36981 (SETUP_PIC_REG): Use GET_PC_THUNK.
36982 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36985 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36987 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36988 for non-PIC compilation.
36989 (SETUP_PIC_REG): Add .p2align directive.
36990 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36991 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36992 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36993 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36994 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36995 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36996 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36997 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36998 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36999 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37000 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37001 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37002 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37003 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37004 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37005 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37006 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37007 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37008 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37009 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37010 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37011 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37012 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37013 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37014 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37015 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37016 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37017 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37018 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37019 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37020 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37021 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37022 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37023 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37024 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37025 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37026 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37027 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37028 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37029 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37030 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37032 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37034 * math/tst-CMPLX.c: Include <stdio.h>.
37036 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37038 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37040 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37041 * sysdeps/sparc/bits/mathdef.h: Likewise.
37043 2012-01-31 Marek Polacek <polacek@redhat.com>
37045 * libio/libio.h: Don't define _PARAMS.
37046 * locale/programs/config.h: Don't define PARAMS.
37047 * stdlib/strtol_l.c: Likewise.
37048 (__strtol_l): Remove PARAMS from the prototype.
37050 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37052 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37053 names. Just use the correct names. Remove unnecessary wrapper
37055 * malloc/arena.c: Likewise.
37056 * malloc/hooks.c: Likewise.
37058 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37059 ARENA_TEST says not to. Simplify test for creation of a new arena.
37060 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37062 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37064 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37066 (update_get_addr): New function.
37067 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37068 GET_ADDR_MODULE parameter.
37070 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37072 * crypt/cert.c: Remove __STDC__ conditionals.
37073 * crypt/crypt-entry.c: Likewise.
37074 * crypt/crypt_util.c: Likewise.
37075 * libio/filedoalloc.c: Likewise.
37076 * libio/fileops.c: Likewise.
37077 * libio/genops.c: Likewise.
37078 * libio/iofclose.c: Likewise.
37079 * libio/iofdopen.c: Likewise.
37080 * libio/iofopen.c: Likewise.
37081 * libio/iofopen64.c: Likewise.
37082 * libio/iogetdelim.c: Likewise.
37083 * libio/iopopen.c: Likewise.
37084 * libio/obprintf.c: Likewise.
37085 * libio/oldfileops.c: Likewise.
37086 * libio/oldiofclose.c: Likewise.
37087 * libio/oldiofdopen.c: Likewise.
37088 * libio/oldiofopen.c: Likewise.
37089 * libio/oldiopopen.c: Likewise.
37090 * libio/wfiledoalloc.c: Likewise.
37091 * libio/wgenops.c: Likewise.
37092 * locale/programs/xmalloc.c: Likewise.
37093 * misc/syslog.c: Likewise.
37094 * stdio-common/xbug.c: Likewise.
37095 * string/memchr.c: Likewise.
37096 * string/memcmp.c: Likewise.
37097 * string/memrchr.c: Likewise.
37098 * string/rawmemchr.c: Likewise.
37099 * sysdeps/posix/getcwd.c: Likewise.
37100 * time/strftime_l.c: Likewise.
37102 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37104 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37105 * config.make.in (config-cflags-sse2avx): Define.
37106 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37109 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37111 * scripts/config.guess: Update from upstream config git repository.
37112 * scripts/config.sub: Likewise.
37114 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37116 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37118 (R_TILEPRO_*, R_TILEGX_*): New macros.
37120 * scripts/firstversions.awk: Fix bug in version range handling.
37122 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37124 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37126 * include/sys/epoll.h: New file.
37127 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37130 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37132 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37133 Avoid unnecessary __WORDSIZE == 64 test.
37134 (fmaxf): Use VEX format if possible.
37139 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37140 * math/math_private.h: Remove libc_fegetround* and
37142 * sysdeps/i386/configure.in: Check for -msse2avx.
37143 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37144 also if SSE2AVX is defined.
37145 Remove libc_fegetround* and libc_fesetround*.
37146 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37147 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37148 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37150 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37151 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37152 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37153 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37154 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37156 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37158 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37160 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37162 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37164 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37167 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37169 * Makeconfig (libm): Define.
37170 * elf/Makefile: Add rules to build and run tst-relsort1.
37171 * elf/tst-relsort1.c: New file.
37172 * elf/tst-relsort1mod1.c: New file.
37173 * elf/tst-relsort1mod2.c: New file.
37175 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37177 * math/s_ldexp.c: Remove __STDC__ conditionals.
37178 * math/s_ldexpf.c: Likewise.
37179 * math/s_ldexpl.c: Likewise.
37180 * math/s_nextafter.c: Likewise.
37181 * math/s_nexttowardf.c: Likewise.
37182 * math/s_significand.c: Likewise.
37183 * math/s_significandf.c: Likewise.
37184 * math/s_significandl.c: Likewise.
37185 * math/w_jnl.c: Likewise.
37186 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37187 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37188 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37189 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37190 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37191 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37192 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37193 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37194 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37195 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37196 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37197 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37198 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37199 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37200 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37201 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37202 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37203 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37204 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37205 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37206 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37207 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37208 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37209 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37210 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37211 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37212 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37214 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37215 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37216 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37217 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37218 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37219 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37220 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37221 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37222 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37223 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37224 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37225 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37226 * sysdeps/ieee754/k_standard.c: Likewise.
37227 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37229 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37230 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37231 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37232 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37235 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37288 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37293 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37299 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37301 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37302 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37306 * sysdeps/ieee754/s_matherr.c: Likewise.
37307 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37308 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37309 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37310 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37312 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37314 * crypt/md5.h: Remove __STDC__ conditionals.
37315 * libio/libioP.h: Likewise.
37316 * locale/programs/config.h: Likewise.
37317 * sysdeps/generic/sysdep.h: Likewise.
37318 * sysdeps/i386/asm-syntax.h: Likewise.
37319 * sysdeps/s390/asm-syntax.h: Likewise.
37320 * sysdeps/unix/sysdep.h: Likewise.
37321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37324 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37326 * libio/libio.h: Remove __STDC__ conditionals.
37327 * malloc/obstack.h: Likewise.
37328 * math/complex.h: Likewise.
37329 * math/math.h: Likewise.
37330 * sysdeps/generic/_G_config.h: Likewise.
37331 * sysdeps/gnu/_G_config.h: Likewise.
37332 * sysdeps/mach/hurd/_G_config.h: Likewise.
37333 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37334 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37335 * sysdeps/sparc/bits/mathdef.h: Likewise.
37337 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37340 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37341 Clean up HAS_* macros.
37342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37343 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37345 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37347 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37348 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37349 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37350 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37351 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37353 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37355 * elf/tst-unique3.cc (gets): Remove declaration.
37356 * elf/tst-unique3lib.cc (gets): Likewise.
37357 * elf/tst-unique3lib2.cc (gets): Likewise.
37358 * elf/tst-unique4.cc (gets): Likewise.
37360 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37362 * include/stdio.h: Add C++ protection. Add gets declarations and
37364 * debug/tst-chk1.c: Don't declare gets here.
37365 * stdio-common/tst-gets.c: Likewise.
37367 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37369 * posix/glob: Remove directory.
37371 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37373 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37375 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37377 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37378 of the non-standard EPFNOSUPPORT.
37380 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37382 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37383 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37384 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37386 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37388 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37390 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37392 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37394 * nscd/grpcache.c (cache_addgr): Likewise.
37395 * nscd/hstcache.c (cache_addhst): Likewise.
37396 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37397 * nscd/pwdcache.c (cache_addpw): Likewise.
37398 * nscd/servicescache.c (cache_addserv): Likewise.
37400 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37402 * malloc/malloc.c: Various cleanups.
37403 * malloc/hooks.c: Likewise.
37405 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37406 * stdlib/bug-fmtmsg1.c: New file.
37408 * stdlib/fmtmsg.c (init): Add missing unlock.
37409 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37411 2012-01-12 Marek Polacek <polacek@redhat.com>
37413 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37416 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37418 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37419 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37420 macro to ensure uniqueness of label name.
37421 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37422 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37424 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37426 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37428 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37429 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37430 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37431 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37433 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37435 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37437 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37438 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37439 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37441 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37443 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37444 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37445 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37446 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37448 * math/bits/math-finite.h: Add ldexp support.
37450 2012-01-10 Marek Polacek <polacek@redhat.com>
37452 * locale/programs/localedef.h (show_archive_content): Add noreturn
37455 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37457 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37459 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37461 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37463 * io/Makefile (headers): Add bits/poll2.h.
37465 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37468 typo #include statement.
37470 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37472 * include/sys/cdefs.h: Define __attribute_alloc_size.
37473 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37474 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37475 * elf/pldd.c: Likewise.
37476 * iconv/iconv_charmap.c: Likewise.
37477 * iconv/iconvconfig.c: Likewise.
37478 * iconv/strtab.c: Likewise.
37479 * locale/programs/locale.c: Likewise.
37480 * locale/programs/localedef.h: Likewise.
37481 * locale/programs/simple-hash.c: Likewise.
37482 * nscd/nscd.h: Likewise.
37483 * nss/makedb.c: Likewise.
37484 * sysdeps/generic/ldconfig.h: Likewise.
37485 * locale/programs/localedef.c: Remove xmalloc prototype.
37486 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37488 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37490 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37493 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37495 * math/Makefile (tests): Add tst-CMPLX.
37496 * math/tst-CMPLX.c: New file.
37498 * math/complex.h (CMPLXL): Fix typo.
37500 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37501 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37503 * debug/tst-chk1.c: Add poll and ppoll tests.
37504 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37505 * include/sys/poll.h: Add hidden proto for ppoll.
37506 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37507 * sysdeps/mach/hurd/ppoll.c: Likewise.
37508 * io/ppoll.c: Likewise.
37509 * debug/poll_chk.c: New file.
37510 * debug/ppoll_chk.c: New file.
37511 * include/bits/poll2.h: New file.
37512 * io/bits/poll2.h: New file.
37515 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37517 * configure.in: static is always set to yes. Remove.
37518 * config.make.in: Don't set build-static.
37519 * Makeconfig: Remove use of build-static.
37520 * dlfcn/Makefile: Likewise.
37521 * elf/Makefile: Likewise.
37522 * math/Makefile: Likewise.
37523 * misc/Makefile: Likewise.
37524 * nptl/Makefile: Likewise.
37525 * sysdeps/mach/hurd/Makefile: Likewise.
37527 * configure.in: PWD_P is not used anymore.
37528 * config.make.in: Remove PWD_P entry.
37530 * configure.in: Remove last remnants of RANLIB.
37531 No need to check for signed size_t anymore.
37532 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37534 Remove __builtin_expect test because we require at least gcc 3.4.
37535 * aclocal.m4: Likewise.
37537 * wcsmbs/mbrtoc16.c: Implement using towc function.
37538 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37539 * wcsmbs/wcsmbsload.c: Likewise.
37540 * iconv/gconv_simple.c: Likewise.
37541 * iconv/gconv_int.h: Likewise.
37542 * iconv/gconv_builtin.h: Likewise.
37543 * iconv/iconv_prog.c: Remove CHAR16 handling.
37545 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37547 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37549 * configure.in: Remove --with-elf and --enable-bounded options.
37550 Dont set base_machine for ia64. More non-ELF conditions removed.
37551 Remove testing and setting of leading underscore information.
37552 * config.make.in (build-bounded): Set to no.
37553 * config.h.in: Remove NO_UNDERSCORES entry.
37554 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37556 * csu/start.c: Remove !NO_UNDERSCORE code.
37557 * locale/localeinfo.h: Likewise.
37558 * sysdeps/generic/machine-gmon.h: Likewise.
37559 * sysdeps/generic/sysdep.h: Likewise.
37560 * sysdeps/i386/sysdep.h: Likewise.
37561 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37562 * sysdeps/mach/sysdep.h: Likewise.
37563 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37564 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37565 * sysdeps/sh/sysdep.h: Likewise.
37566 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37567 * sysdeps/unix/i386/sysdep.S: Likewise.
37568 * sysdeps/unix/sparc/start.c: Likewise.
37569 * sysdeps/unix/sparc/sysdep.S: Likewise.
37570 * sysdeps/unix/sparc/sysdep.h: Likewise.
37571 * sysdeps/unix/start.c: Likewise.
37572 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37573 * sysdeps/x86_64/sysdep.h: Likewise.
37575 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37578 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37580 * argp/argp-fmtstream.h: Use const instead __const.
37581 * argp/argp.h: Likewise.
37582 * assert/assert.h: Likewise.
37583 * bits/fenv.h: Likewise.
37584 * bits/sched.h: Likewise.
37585 * bits/sigset.h: Likewise.
37586 * bits/sigthread.h: Likewise.
37587 * catgets/nl_types.h: Likewise.
37588 * conform/data/pthread.h-data: Likewise.
37589 * crypt/crypt-private.h: Likewise.
37590 * crypt/crypt.h: Likewise.
37591 * crypt/crypt_util.c: Likewise.
37592 * ctype/ctype.h: Likewise.
37593 * debug/execinfo.h: Likewise.
37594 * debug/mbsnrtowcs_chk.c: Likewise.
37595 * debug/mbsrtowcs_chk.c: Likewise.
37596 * debug/wcsnrtombs_chk.c: Likewise.
37597 * debug/wcsrtombs_chk.c: Likewise.
37598 * debug/wcstombs_chk.c: Likewise.
37599 * dirent/dirent.h: Likewise.
37600 * dlfcn/dlfcn.h: Likewise.
37601 * elf/neededtest4.c: Likewise.
37602 * grp/grp.h: Likewise.
37603 * gshadow/gshadow.h: Likewise.
37604 * iconv/gconv.h: Likewise.
37605 * iconv/gconv_int.h: Likewise.
37606 * iconv/gconv_simple.c: Likewise.
37607 * iconv/iconv.h: Likewise.
37608 * iconv/loop.c: Likewise.
37609 * iconv/skeleton.c: Likewise.
37610 * include/aio.h: Likewise.
37611 * include/aliases.h: Likewise.
37612 * include/argz.h: Likewise.
37613 * include/arpa/inet.h: Likewise.
37614 * include/assert.h: Likewise.
37615 * include/dirent.h: Likewise.
37616 * include/dlfcn.h: Likewise.
37617 * include/execinfo.h: Likewise.
37618 * include/fcntl.h: Likewise.
37619 * include/fenv.h: Likewise.
37620 * include/glob.h: Likewise.
37621 * include/grp.h: Likewise.
37622 * include/libintl.h: Likewise.
37623 * include/mntent.h: Likewise.
37624 * include/netdb.h: Likewise.
37625 * include/pwd.h: Likewise.
37626 * include/rpc/netdb.h: Likewise.
37627 * include/sched.h: Likewise.
37628 * include/search.h: Likewise.
37629 * include/shadow.h: Likewise.
37630 * include/signal.h: Likewise.
37631 * include/stdio.h: Likewise.
37632 * include/stdlib.h: Likewise.
37633 * include/string.h: Likewise.
37634 * include/sys/socket.h: Likewise.
37635 * include/sys/stat.h: Likewise.
37636 * include/sys/statfs.h: Likewise.
37637 * include/sys/statvfs.h: Likewise.
37638 * include/sys/syslog.h: Likewise.
37639 * include/sys/time.h: Likewise.
37640 * include/sys/uio.h: Likewise.
37641 * include/time.h: Likewise.
37642 * include/unistd.h: Likewise.
37643 * include/utmp.h: Likewise.
37644 * include/wchar.h: Likewise.
37645 * include/wctype.h: Likewise.
37646 * inet/aliases.h: Likewise.
37647 * inet/arpa/inet.h: Likewise.
37648 * inet/netinet/ether.h: Likewise.
37649 * inet/netinet/in.h: Likewise.
37650 * intl/libintl.h: Likewise.
37651 * io/bits/fcntl2.h: Likewise.
37652 * io/fcntl.h: Likewise.
37653 * io/ftw.h: Likewise.
37654 * io/sys/poll.h: Likewise.
37655 * io/sys/stat.h: Likewise.
37656 * io/sys/statfs.h: Likewise.
37657 * io/sys/statvfs.h: Likewise.
37658 * io/utime.h: Likewise.
37659 * libio/bits/stdio.h: Likewise.
37660 * libio/bits/stdio2.h: Likewise.
37661 * libio/libio.h: Likewise.
37662 * libio/libioP.h: Likewise.
37663 * libio/stdio.h: Likewise.
37664 * locale/lc-ctype.c: Likewise.
37665 * locale/locale.h: Likewise.
37666 * login/utmp.h: Likewise.
37667 * malloc/arena.c: Likewise.
37668 * malloc/malloc.c: Likewise.
37669 * malloc/malloc.h: Likewise.
37670 * malloc/mcheck.c: Likewise.
37671 * malloc/mtrace.c: Likewise.
37672 * math/bits/mathcalls.h: Likewise.
37673 * math/fenv.h: Likewise.
37674 * math/math_private.h: Likewise.
37675 * misc/bits/error.h: Likewise.
37676 * misc/bits/syslog.h: Likewise.
37677 * misc/err.h: Likewise.
37678 * misc/error.h: Likewise.
37679 * misc/fstab.h: Likewise.
37680 * misc/mntent.h: Likewise.
37681 * misc/regexp.h: Likewise.
37682 * misc/search.h: Likewise.
37683 * misc/sgtty.h: Likewise.
37684 * misc/sys/mman.h: Likewise.
37685 * misc/sys/syslog.h: Likewise.
37686 * misc/sys/uio.h: Likewise.
37687 * misc/sys/xattr.h: Likewise.
37688 * misc/ttyent.h: Likewise.
37689 * nis/rpcsvc/ypclnt.h: Likewise.
37690 * nss/nss.h: Likewise.
37691 * posix/bits/unistd.h: Likewise.
37692 * posix/fnmatch.h: Likewise.
37693 * posix/glob.h: Likewise.
37694 * posix/sched.h: Likewise.
37695 * posix/spawn.h: Likewise.
37696 * posix/sys/wait.h: Likewise.
37697 * posix/unistd.h: Likewise.
37698 * posix/wordexp.h: Likewise.
37699 * pwd/pwd.h: Likewise.
37700 * resolv/netdb.h: Likewise.
37701 * resource/sys/resource.h: Likewise.
37702 * rt/aio.h: Likewise.
37703 * rt/bits/mqueue2.h: Likewise.
37704 * rt/mqueue.h: Likewise.
37705 * shadow/shadow.h: Likewise.
37706 * signal/signal.h: Likewise.
37707 * socket/send.c: Likewise.
37708 * socket/sendto.c: Likewise.
37709 * socket/sys/socket.h: Likewise.
37710 * stdio-common/printf.h: Likewise.
37711 * stdlib/bits/stdlib.h: Likewise.
37712 * stdlib/fmtmsg.h: Likewise.
37713 * stdlib/monetary.h: Likewise.
37714 * stdlib/stdlib.h: Likewise.
37715 * stdlib/ucontext.h: Likewise.
37716 * streams/stropts.h: Likewise.
37717 * string/argz.h: Likewise.
37718 * string/bits/string2.h: Likewise.
37719 * string/string.h: Likewise.
37720 * string/strings.h: Likewise.
37721 * sunrpc/rpc/auth.h: Likewise.
37722 * sunrpc/rpc/auth_des.h: Likewise.
37723 * sunrpc/rpc/clnt.h: Likewise.
37724 * sunrpc/rpc/netdb.h: Likewise.
37725 * sunrpc/rpc/pmap_clnt.h: Likewise.
37726 * sunrpc/rpc/xdr.h: Likewise.
37727 * sysdeps/generic/inttypes.h: Likewise.
37728 * sysdeps/generic/net/if.h: Likewise.
37729 * sysdeps/generic/sys/swap.h: Likewise.
37730 * sysdeps/gnu/net/if.h: Likewise.
37731 * sysdeps/gnu/utmpx.h: Likewise.
37732 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37733 * sysdeps/i386/i486/bits/string.h: Likewise.
37734 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37735 * sysdeps/s390/bits/string.h: Likewise.
37736 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37737 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37738 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37739 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37740 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37741 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37742 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37743 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37744 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37745 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37746 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37747 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37748 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37749 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37750 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37751 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37752 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37753 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37754 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37755 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37756 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37757 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37758 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37759 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37760 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37761 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37762 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37763 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37764 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37765 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37766 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37767 * sysvipc/sys/ipc.h: Likewise.
37768 * sysvipc/sys/msg.h: Likewise.
37769 * sysvipc/sys/sem.h: Likewise.
37770 * sysvipc/sys/shm.h: Likewise.
37771 * termios/termios.h: Likewise.
37772 * time/sys/time.h: Likewise.
37773 * time/time.h: Likewise.
37774 * wcsmbs/bits/wchar2.h: Likewise.
37775 * wcsmbs/uchar.h: Likewise.
37776 * wcsmbs/wchar.h: Likewise.
37777 * wctype/wctype.h: Likewise.
37780 * Makeconfig: Remove all but ELF support including AIX support.
37781 * Makerules: Likewise.
37782 * config.h.in: Likewise.
37783 * config.make.in: Likewise.
37784 * configure: Likewise.
37785 * configure.in: Likewise.
37786 * csu/Makefile: Likewise.
37787 * csu/version.c: Likewise.
37788 * debug/Makefile: Likewise.
37789 * dlfcn/Makefile: Likewise.
37790 * elf/Makefile: Likewise.
37791 * extra-lib.mk: Likewise.
37792 * iconv/Makefile: Likewise.
37793 * include/libc-symbols.h: Likewise.
37794 * include/shlib-compat.h: Likewise.
37795 * resolv/Makefile: Likewise.
37796 * resolv/res_libc.c: Likewise.
37797 * rt/Makefile: Likewise.
37798 * sysdeps/i386/asm-syntax.h: Likewise.
37799 * sysdeps/i386/sysdep.h: Likewise.
37800 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37801 * sysdeps/mach/sysdep.h: Likewise.
37802 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37803 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37804 * sysdeps/s390/asm-syntax.h: Likewise.
37805 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37806 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37807 * sysdeps/sh/sysdep.h: Likewise.
37808 * sysdeps/unix/sparc/sysdep.h: Likewise.
37809 * sysdeps/wordsize-32/divdi3.c: Likewise.
37810 * sysdeps/x86_64/sysdep.h: Likewise.
37812 * argp/Versions: Remove _argp_unlock_xxx.
37815 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37816 * abilist/libBrokenLocale.abilist: Likewise.
37817 * abilist/libanl.abilist: Likewise.
37818 * abilist/libc.abilist: Likewise.
37819 * abilist/libcrypt.abilist: Likewise.
37820 * abilist/libdl.abilist: Likewise.
37821 * abilist/libm.abilist: Likewise.
37822 * abilist/libnsl.abilist: Likewise.
37823 * abilist/libpthread.abilist: Likewise.
37824 * abilist/libresolv.abilist: Likewise.
37825 * abilist/librt.abilist: Likewise.
37826 * abilist/libthread_db.abilist: Likewise.
37827 * abilist/libutil.abilist: Likewise.
37828 * abilist/libnss_db.abilist: New file.
37830 * scripts/abilist.awk: Add support for indirect functions.
37832 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37834 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37836 * shlib-versions: Remove entries for ports architectures.
37838 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37840 * elf/stackguard-macros.h: Remove support for IA-64.
37841 * elf/tst-auditmod1.c: Likewise.
37842 * sysdeps/generic/ldsodefs.h: Likewise.
37844 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37845 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37849 * configure.in: Remove --enable-omitfp support.
37851 * config.make.in: Likewise.
37852 * Makeconfig: Likewise.
37853 * manual/install.texi: Likewise.
37855 In case anyone cares, the IA-64 architecture could move to ports.
37856 * sysdeps/ia64/*: Removed.
37857 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37858 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37861 * configure.in: Remove entries for unsupported architectures.
37864 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37865 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37867 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37868 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37869 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37870 fall back to using wcrtomb.
37871 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37872 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37874 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37875 * wcsmbs/tst-c16c32-1.c: New file.
37877 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37880 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37882 * elf/tst-unique3.cc: Add explicit declaration of gets.
37883 * elf/tst-unique3lib.cc: Likewise.
37884 * elf/tst-unique3lib2.cc: Likewise.
37885 * elf/tst-unique4.cc: Likewise.
37887 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37889 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37892 * assert/assert.h (static_assert): Don't define for C++.
37893 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37894 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37896 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37898 * iconv/loop.c (single loop): Fix assertion in storing of
37901 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37903 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37905 * posix/getconf.c: Update copyright year.
37906 * nss/getent.c: Likewise.
37907 * nss/makedb.c: Likewise.
37908 * iconv/iconvconfig.c: Likewise.
37909 * iconv/iconv_prog.c: Likewise.
37910 * elf/ldconfig.c: Likewise.
37911 * elf/pldd.c: Likewise.
37912 * elf/sotruss.ksh: Likewise.
37913 * catgets/gencat.c: Likewise.
37914 * csu/version.c: Likewise.
37915 * elf/ldd.bash.in: Likewise.
37916 * elf/sprof.c (print_version): Likewise.
37917 * locale/programs/locale.c: Likewise.
37918 * locale/programs/localedef.c: Likewise.
37919 * login/programs/pt_chown.c: Likewise.
37920 * nscd/nscd.c (print_version): Likewise.
37921 * debug/xtrace.sh: Likewise.
37922 * malloc/memusage.sh: Likewise.
37923 * malloc/mtrace.pl: Likewise.
37924 * debug/catchsegv.sh: Likewise.
37926 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37928 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37931 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37934 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37935 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37937 * iconv/gconv_int.h: Likewise.
37938 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37939 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37940 from libc for GLIBC_2.16.
37941 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37942 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37943 * wcsmbs/uchar.h: Really define mbstate_t.
37944 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37945 * wcsmbs/c16rtomb.c: New file.
37946 * wcsmbs/mbrtoc16.c: New file.
37947 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37948 for C/POSIX locale.
37949 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37950 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37952 * wcsmbs/wchar.h: Add missing __restrict.
37954 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37957 * time/Makefile (routines): Add timespec_get.
37958 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37959 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37960 timespec for ISO C11.
37961 * time/timespec_get.c: New file.
37962 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37963 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37966 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37967 * stdlib/stdlib.h: Declare aligned_alloc.
37968 * Versions.def: Add GLIBC_2.16 for libc.
37969 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37972 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37975 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37979 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37982 * assert/assert.h (static_assert): Define.
37984 * version.h: Update for 2.16 development version.
37987 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37990 * version.h (RELEASE): Bump for 2.15 release.
37991 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37993 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37994 Patch by Marek Polacek <mpolacek@redhat.com>.
37996 * bits/byteswap.h: Protect long long constants with __extension__.
37997 * sysdeps/i386/bits/byteswap.h: Likewise.
37998 * sysdeps/ia64/bits/byteswap.h: Likewise.
37999 * sysdeps/s390/bits/byteswap.h: Likewise.
38000 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38002 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38005 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38006 destination buffer.
38007 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38009 2011-12-23 Marek Polacek <polacek@redhat.com>
38011 * elf/dl-addr.c (determine_info): Add inline keyword.
38012 * elf/tst-auditmod4b.c (check_avx): Likewise.
38013 * elf/tst-auditmod6b.c (check_avx): Likewise.
38014 * elf/tst-auditmod6c.c (check_avx): Likewise.
38015 * elf/tst-auditmod7b.c (check_avx): Likewise.
38017 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38019 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38022 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38025 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38026 processing for last bytes.
38028 2011-08-06 Bruno Haible <bruno@clisp.org>
38031 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38032 U+0385, not to U+1FEE.
38035 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38036 entry for U+00A5 U+0301.
38038 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38041 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38042 buffer for the output is too small.
38044 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38048 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38049 SSE flags if possible.
38051 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38055 processing for last bytes.
38057 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38059 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38060 (syscall-list-default-options, syscall-list-default-condition)
38061 (syscall-list-includes): Define.
38062 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38063 list of ABIs and options and #if conditions for each ABI. Do not
38064 handle common syscalls between ABIs specially.
38065 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38067 (syscall-list-variants, syscall-list-32bit-options)
38068 (syscall-list-32bit-condition, syscall-list-64bit-options)
38069 (syscall-list-64bit-condition): Define.
38070 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38071 (syscall-list-variants, syscall-list-32bit-options)
38072 (syscall-list-32bit-condition, syscall-list-64bit-options)
38073 (syscall-list-64bit-condition): Define.
38074 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38076 (syscall-list-variants, syscall-list-32bit-options)
38077 (syscall-list-32bit-condition, syscall-list-64bit-options)
38078 (syscall-list-64bit-condition): Define.
38079 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38081 (syscall-list-variants, syscall-list-32bit-options)
38082 (syscall-list-32bit-condition, syscall-list-64bit-options)
38083 (syscall-list-64bit-condition): Define.
38085 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38087 * locale/iso-639.def: Add brx entry.
38090 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38091 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38093 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38094 __feraiseexcept_renamed.
38096 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38099 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38100 EPOLLET with unsigned values.
38101 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38102 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38104 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38105 to large cancellation.
38106 * math/s_cacoshf.c: Likewise.
38107 * math/s_cacoshl.c: Likewise.
38109 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38113 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38114 * math/s_cacoshf.c: Likewise.
38115 * math/s_cacoshl.c: Likewise.
38117 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38120 * iconv/gconv.h: Define __GCONV_SWAP.
38121 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38122 * iconvdata/utf-16.c: Likewise.
38123 * iconvdata/utf-32.c: Likewise.
38125 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38128 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38129 numerator after shifting it by one limb.
38131 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38133 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38134 under [__USE_EXTERN_INLINES].
38136 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38139 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38141 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38143 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38144 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38146 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38147 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38148 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38149 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38150 for strncasecmp/strncasecmp_l compilation.
38151 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38152 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38154 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38157 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38160 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38163 * time/tzfile.c (__tzfile_read): Check values from file header.
38165 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38167 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38168 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38169 * powerpc/powerpc32/dl-start.S: Likewise.
38170 * powerpc/powerpc32/elf/start.S: Likewise.
38171 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38172 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38173 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38174 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38175 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38176 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38177 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38178 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38179 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38180 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38181 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38182 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38183 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38184 * powerpc/powerpc32/memset.S: Likewise.
38185 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38186 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38187 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38188 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38189 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38190 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38191 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38192 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38193 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38194 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38195 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38196 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38197 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38199 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38201 * math/libm-test.inc: Added more nearbyint tests.
38202 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38204 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38205 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38207 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38209 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38212 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38214 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38215 Add wcscpy-ssse3 wcscpy-c.
38216 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38217 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38218 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38219 * sysdeps/x86_64/wcschr.S: New file.
38220 * sysdeps/x86_64/wcsrchr.S: New file.
38221 * string/test-strcmp.c: Remove checking of wcscmp function for
38223 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38224 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38225 wcsrchr-sse2 wcsrchr-c.
38226 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38227 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38228 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38229 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38230 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38231 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38232 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38233 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38234 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38235 * wcsmbc/wcschr.c (WCSCHR): New macro.
38237 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38239 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38240 * wcsmbs/test-wcsrchr.c: New file.
38241 * string/test-strrchr.c: Add wcsrchr support.
38243 * wcsmbs/test-wcscpy.c: New file.
38244 * string/test-strcpy.c: Add wcscpy support.
38247 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38249 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38252 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38255 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38257 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38259 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38260 Minor optimizations.
38262 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38263 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38264 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38266 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38268 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38269 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38270 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38271 for gcc to avoid warnings.
38272 * inet/Makefile (tests): Add tst-checks.
38273 * inet/tst-checks.c: New file.
38275 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38278 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38281 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38282 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38284 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38286 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38288 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38291 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38293 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38295 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38296 conditional on GCC version.
38297 (__arch_compare_and_exchange_val_8_acq)
38298 (__arch_compare_and_exchange_val_16_acq)
38299 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38300 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38301 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38303 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38305 * sysdeps/sh/backtrace.c: New file.
38307 2011-12-02 Andreas Schwab <schwab@redhat.com>
38309 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38312 2011-12-01 Andreas Schwab <schwab@redhat.com>
38314 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38315 falling back to utime.
38317 2011-11-30 Andreas Schwab <schwab@redhat.com>
38319 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38320 expectations for float.
38322 2011-11-29 Andreas Schwab <schwab@redhat.com>
38324 * locale/weight.h (findidx): Add parameter len.
38325 * locale/weightwc.h (findidx): Likewise.
38326 * posix/fnmatch_loop.c (FCT): Adjust caller.
38327 * posix/regcomp.c (build_equiv_class): Likewise.
38328 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38329 * posix/regexec.c (check_node_accept_bytes): Likewise.
38330 * string/strcoll_l.c (STRCOLL): Likewise.
38331 * string/strxfrm_l.c (STRXFRM): Likewise.
38333 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38335 * Makefile.in: Remove CVSOPT handling.
38336 * configure.in: Remove use of AC_REVISION.
38337 * iconvdata/Makefile (distribute): No need to filter out CVS.
38338 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38341 2011-11-16 Andreas Schwab <schwab@redhat.com>
38343 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38344 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38345 [USE_AS_STRNCASECMP_L]: Likewise.
38346 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38347 NO_TLS_DIRECT_SEG_REFS.
38348 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38349 Fix argument offsets for non-PIC.
38350 [USE_AS_STRNCASECMP_L]: Likewise.
38351 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38352 NO_TLS_DIRECT_SEG_REFS.
38354 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38356 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38358 * locale/loadlocale.c (_nl_load_locale): Likewise.
38360 2011-11-15 Andreas Schwab <schwab@redhat.com>
38362 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38363 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38364 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38365 (SYSCALL_GETTIME): Set errno on error.
38367 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38368 count references to noai6ai_cached.
38370 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38372 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38374 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38375 FD_CLOEXEC for /proc/self/maps.
38377 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38378 FD_CLOEXEC for /proc/meminfo.
38380 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38383 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38384 FD_CLOEXEC for given file.
38386 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38388 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38389 FD_CLOEXEC for /etc/hosts.
38390 (_gethtent): Likewise.
38392 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38394 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38395 cancellation and set FD_CLOEXEC for /etc/netgroup.
38397 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38398 reading /etc/publickey.
38400 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38401 allow cancellation when reading /etc/group.
38403 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38405 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38407 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38408 when using data file.
38410 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38412 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38413 (write_nis_obj): Use "c" and "e" in fopen.
38415 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38417 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38419 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38421 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38423 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38426 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38428 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38430 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38432 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38433 file parsing and set FD_CLOEXEC.
38435 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38437 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38439 2011-11-14 Andreas Schwab <schwab@redhat.com>
38441 * malloc/arena.c (arena_get2): Don't call reused_arena when
38442 _int_new_arena failed.
38444 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38446 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38447 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38448 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38449 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38450 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38451 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38452 to compile strcasecmp and strncasecmp.
38453 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38454 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38456 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38458 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38460 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38461 locale-defines.sym to gen-as-const-headers.
38462 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38463 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38464 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38465 to compile strcasecmp and strncasecmp.
38466 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38467 strcasecmp_l and strncasecmp_l.
38468 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38469 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38470 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38471 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38472 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38473 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38474 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38475 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38476 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38477 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38478 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38480 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38482 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38483 result of SYSDEP_GETTIME_CPU to retval.
38484 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38485 parameter list to macro. Remove trailing semicolon. Adjust users.
38487 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38490 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38492 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38494 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38495 from unused variable.
38497 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38499 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38502 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38505 * sunrpc/rpc_prot.c (rejected): Fix case value.
38507 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38508 unsigned long long int to avoid warnings in shift.
38510 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38512 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38515 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38516 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38517 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38519 * nis/nis_table.c (nis_list): Use variable of correct type for
38520 result of __follow_path call.
38522 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38524 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38525 of math functions ceil, trunc, floor, round, and sqrt, when
38526 avaliable on the platform.
38527 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38529 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38530 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38531 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38533 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38535 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38536 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38538 2011-11-11 Roland McGrath <roland@hack.frob.com>
38540 * include/unistd.h: Fix __readlink return type.
38541 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38543 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38545 * stdlib/ucontext.h: Undo last change for makecontext.
38547 2011-11-11 Andreas Schwab <schwab@redhat.com>
38549 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38551 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38552 * setjmp/setjmp.h: Mark functions as non-leaf.
38553 * setjmp/bits/setjmp2.h: Likewise.
38554 * stdlib/ucontext.h: Likewise.
38556 2011-11-10 Andreas Schwab <schwab@redhat.com>
38558 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38559 (reused_arena): Don't check arena limit.
38560 (arena_get2): Atomically check arena limit.
38562 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38564 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38565 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38567 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38570 2011-11-07 Andreas Schwab <schwab@redhat.com>
38572 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38573 handler when locking.
38575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38576 Fix size of allocated buffer.
38578 2011-11-04 Andreas Schwab <schwab@redhat.com>
38581 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38582 declarations for long double functions.
38583 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38585 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38587 2011-11-03 Andreas Schwab <schwab@redhat.com>
38589 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38592 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38595 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38597 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38599 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38601 * include/alloca.h (stackinfo_alloca_round): Define.
38602 (extend_alloca): Use it.
38603 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38604 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38607 * scripts/check-local-headers.sh: Ignore libaudit.h.
38609 * nscd/Makefile (extra-objs): Make recursively expanded.
38611 2011-11-01 Ulrich Drepper <drepper@gmail.com>
38613 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38614 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38616 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38617 * posix/tst-rfc3484-2.c: Likewise.
38618 * posix/tst-rfc3484-3.c: Likewise.
38620 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38622 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38624 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38625 process_vm_writev from libc using GLIBC_2.15 version.
38627 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38629 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38631 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38634 2011-10-31 Ulrich Drepper <drepper@gmail.com>
38637 * nss/getent.c (initgroups_keys): Show error message in case no group
38640 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38641 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38642 __bump_nl_timestamp.
38643 * nscd/connections (nscd_init): When host database is served open
38644 netlink socket and request notification about configuration changes.
38645 (main_loop_poll): Track netlink file descriptor and bump timestamp
38646 in case data becomes available.
38647 (main_loop_epoll): Likewise.
38648 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38649 (database_pers_head): Add extra_data fileds.
38650 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38651 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38652 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38654 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38655 in6ai data, call __free_in6ai.
38656 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38657 Add -DHAVE_NETLINK.
38658 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38659 interface information. Reuse previous data if netlink timestamp
38661 (__bump_nl_timestamp): New function.
38662 (__free_in6ai): New function.
38664 2011-10-30 Ulrich Drepper <drepper@gmail.com>
38666 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38667 close_not_cancel_no_status here.
38668 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38670 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38673 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38676 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38677 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38678 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38680 2011-07-03 Andreas Jaeger <aj@suse.de>
38683 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38684 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38685 * math/libm-test.inc (sin_test): Add test case.
38687 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38690 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38691 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38693 * elf/chroot_canon.c (chroot_canon): Cleanups.
38695 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38698 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38699 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38701 * string/test-strchr.c: Make usable for strchrnul testing.
38702 * string/test-strchrnul.c: New file.
38703 * string/Makefile (strop-tests): Add strchrnul.
38705 * po/it.po: Update from translation team.
38706 * po/es.po: Likewise.
38708 2011-10-28 Ulrich Drepper <drepper@gmail.com>
38710 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38711 the three constants needed as parameters. Drop the others.
38712 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38713 __m128i_strloadu_tolower.
38714 Create and initialize variable zero and use it in all the places
38715 where _mm_setzero_si128 was used.
38717 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38718 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38719 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38720 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38722 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38723 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38724 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38725 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38726 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38727 __mpranred, __mptan.
38728 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38729 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38730 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38731 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38732 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38733 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38734 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38735 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38736 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38738 2011-10-28 Andreas Schwab <schwab@redhat.com>
38740 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38741 redefine if SHARED.
38742 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38744 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38745 wide char related routines to wcsmbs subdir.
38747 2011-10-27 Andreas Schwab <schwab@redhat.com>
38750 * misc/sys/cdefs.h (__THROWNL): Define.
38751 * posix/unistd.h: Use __THREADNL instead of __THREAD
38752 for memory synchronization functions.
38754 2011-10-26 Roland McGrath <roland@hack.frob.com>
38757 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38759 * manual/stdio.texi (Obstack Streams): Node removed.
38761 2011-10-26 Andreas Schwab <schwab@redhat.com>
38763 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38764 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38765 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38767 * math/math_private.h (math_force_eval): Allow non-addressable
38769 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38771 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38773 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38774 file is not needed.
38776 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38777 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38778 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38779 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38780 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38781 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38782 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38783 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38785 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38786 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38787 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38788 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38789 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38790 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38791 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38792 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38793 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38794 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38795 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38796 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38797 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38798 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38799 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38800 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38801 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38802 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38803 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38805 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38806 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38808 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38809 place. Use VEX encoding when compiling for AVX.
38811 2011-10-25 Andreas Schwab <schwab@redhat.com>
38813 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38814 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38816 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38818 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38820 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38821 useless if() expression.
38822 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38823 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38824 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38825 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38826 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38827 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38828 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38829 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38830 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38831 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38832 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38833 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38834 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38835 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38836 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38837 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38838 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38839 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38840 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38842 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38844 2011-10-25 Andreas Schwab <schwab@redhat.com>
38846 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38848 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38850 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38852 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38853 .text section. Avoid duplicate constants.
38854 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38855 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38856 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38858 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38861 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38862 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38863 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38864 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38866 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38869 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38871 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38872 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38874 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38875 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38876 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38877 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38878 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38879 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38880 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38881 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38882 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38883 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38884 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38885 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38886 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38887 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38888 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38889 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38890 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38891 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38892 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38893 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38894 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38895 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38896 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38897 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38898 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38900 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38902 * sysdeps/x86_64/dla.h: Move to ...
38903 * sysdeps/x86_64/fpu/dla.h: ...here.
38904 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38905 situations. Use __builtin_fma only for gcc 4.6 and up.
38907 * config.make.in: Add have-mfma4 entry.
38908 * configure.in: Substitute libc_cv_cc_fma4.
38909 * math/Makefile (dbl-only-routines): Add sincostab.
38910 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38911 Use __sincostab not sincos.
38912 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38914 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38919 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38920 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38921 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38922 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38924 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38925 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38927 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38928 define aliases when function name is a macro.
38929 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38930 sysdeps/ieee754/dbl-64/sincos.tbl.
38931 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38932 fma4-enabled routines.
38933 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38934 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38935 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38936 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38937 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38938 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38939 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38940 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38941 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38942 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38943 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38944 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38945 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38946 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38947 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38948 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38949 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38950 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38951 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38952 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38953 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38954 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38955 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38956 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38957 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38958 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38959 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38960 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38961 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38962 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38964 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38971 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38972 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38973 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38975 2011-10-24 Andreas Schwab <schwab@redhat.com>
38977 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38979 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38981 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38983 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38985 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38987 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38988 Remove unused variable magic_bits.
38989 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38991 * string/strnlen.c: Define and use STRNLEN macro.
38992 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38993 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38994 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38995 * wcsmbs/wcslen.c: Define and use WCSLEN.
38996 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38997 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38998 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38999 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39000 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39001 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39002 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39004 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39007 strnlen-sse2-no-bsf.
39008 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39009 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39010 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39011 Add strnlen support.
39012 (USE_AS_STRNLEN): New macro.
39013 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39014 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39015 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39016 * sysdeps/x86_64/wcslen.S: New file.
39018 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39020 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39021 XMM-moves are used for copying on small sizes.
39023 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39025 * wcsmbs/Makefile (strop-tests): Add wcschr.
39026 * wcsmbs/test-wcschr.c: New file.
39027 * string/test-strchr.c: Update.
39028 Add wcschr support.
39031 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39033 * wcsmbs/Makefile (strop-tests): Add wcslen.
39034 * wcsmbs/test-wcslen.c: New file.
39035 * string/test-strlen.c: Update.
39036 Add wcslen support.
39039 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39041 * po/it.po: Update from translation team.
39043 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39045 * sysdeps/x86_64/wcscmp.S: Update.
39046 Fix wrong comparison semantics.
39047 wcscmp shall use signed comparison not unsigned.
39048 Don't use substraction to avoid overflow bug.
39049 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39050 * wcsmbc/wcscmp.c: Likewise.
39051 * string/test-strcmp.c: Likewise.
39052 Add new tests to check cases with negative values.
39054 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39056 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39057 * sysdeps/x86_64/dla.h: ...here. New file.
39058 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39059 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39060 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39062 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39063 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39065 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39066 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39068 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39070 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39071 __ynl_finite aliases.
39073 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39077 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39079 [DLA_FMA] (EMULV): Use DLA_FMA.
39080 [DLA_FMA] (MUL12): Use EMULV.
39081 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39082 that are not needed.
39083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39084 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39085 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39086 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39087 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39088 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39089 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39091 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39093 * math/s_nan.c: Undef __nan.
39094 * math/s_nanf.c: Undef __nanf.
39095 * math/s_nanl.c: Undef __nanl.
39096 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39099 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39101 * math/s_catan.c: Add branch predictions.
39102 * math/s_catanf.c: Likewise.
39103 * math/s_catanh.c: Likewise.
39104 * math/s_catanhf.c: Likewise.
39105 * math/s_catanhl.c: Likewise.
39106 * math/s_catanl.c: Likewise.
39107 * math/s_cexp.c: Likewise.
39108 * math/s_cexpf.c: Likewise.
39109 * math/s_cexpl.c: Likewise.
39110 * math/s_clog.c: Likewise.
39111 * math/s_clog10.c: Likewise.
39112 * math/s_clog10f.c: Likewise.
39113 * math/s_clog10l.c: Likewise.
39114 * math/s_clogf.c: Likewise.
39115 * math/s_clogl.c: Likewise.
39116 * math/s_csqrt.c: Likewise.
39117 * math/s_csqrtf.c: Likewise.
39118 * math/s_csqrtl.c: Likewise.
39119 * math/s_ctanf.c: Likewise.
39120 * math/s_ctanh.c: Likewise.
39121 * math/s_ctanhf.c: Likewise.
39122 * math/s_ctanhl.c: Likewise.
39123 * math/s_ctanl.c: Likewise.
39125 * math/math_private.h: Define __nan, __nanf, __nanl.
39126 * math/s_cacosh.c: Include <math_private.h>.
39127 * math/s_cacoshl.c: Likewise.
39128 * math/s_casinh.c: Likewise.
39129 * math/s_casinhf.c: Likewise.
39130 * math/s_casinhl.c: Likewise.
39131 * math/s_ccos.c: Rely entire on ccosh.
39132 * math/s_ccosf.c: Rely entire on ccoshf.
39133 * math/s_ccosl.c: Rely entirely on ccoshl.
39134 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39135 Remove tests for FE_INVALID.
39136 * math/s_ccoshf.c: Likewise.
39137 * math/s_ccoshl.c: Likewise.
39138 * math/s_csin.c: Likewise.
39139 * math/s_csinf.c: Likewise.
39140 * math/s_csinh.c Likewise.
39141 * math/s_csinhf.c: Likewise.
39142 * math/s_csinhl.c: Likewise.
39143 * math/s_csinl.c: Likewise.
39144 * math/s_ctan.c: Likewise.
39145 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39146 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39147 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39149 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39152 compilation problems.
39154 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39157 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39159 * sysdeps/i386/configure.in: Test for -mfma4 option.
39160 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39161 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39162 COMMON_CPUID_INDEX_80000001.
39163 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39164 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39165 use it if FMA3 is not supported.
39166 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39168 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39169 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39171 2011-10-20 Andreas Schwab <schwab@redhat.com>
39174 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39175 it would create a cycle with a link time dependency.
39177 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39179 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39181 * string/Makefile (strop-tests): Add rawmemchr.
39182 * string/test-rawmemchr.c: New file.
39184 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39185 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39186 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39187 when compiling str{,n}casecmp and when AVX is available. Hook up
39188 new optimized code in initializers.
39190 2011-10-19 Andreas Schwab <schwab@redhat.com>
39192 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39193 __feraiseexcept instead of feraiseexcept.
39195 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39197 * math/math_private.h: Define defaults for libc_fetestexcept and
39199 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39200 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39201 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39202 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39203 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39204 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39205 libc_fetestexcept and libc_feupdateenv.
39207 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39208 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39209 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39210 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39211 libc_feholdexcept_setround.
39213 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39214 Add s_nearbyint-c and s_nearbyintf-c.
39215 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39216 nearbyintf inlines.
39217 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39218 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39219 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39220 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39222 * math/math_private.h: Define defaults for libc_fegetround,
39223 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39224 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39225 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39226 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39227 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39228 standard functions.
39229 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39230 Remove comments and hacks for old compiler versions.
39231 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39232 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39233 libc_feholdexceptl.
39235 2011-10-18 Andreas Schwab <schwab@redhat.com>
39237 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39238 (__feraiseexcept_renamed): Add __NTH.
39239 (feraiseexcept): Add __NTH. Rename local variables to fix
39240 namespace violations.
39242 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39244 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39246 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39248 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39249 recently added interfaces.
39250 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39252 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39253 about macro parameter expansion.
39255 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39256 __NO_MATH_INLINES is defined. Cleanups.
39258 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39259 and __floorf is target has SSE4.1.
39260 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39261 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39262 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39263 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39265 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39267 (floorf): Likewise.
39269 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39271 2011-10-17 Andreas Schwab <schwab@redhat.com>
39273 * misc/sys/cdefs.h: Fix last change.
39275 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39278 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39280 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39282 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39283 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39284 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39285 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39286 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39287 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39288 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39289 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39290 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39291 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39292 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39293 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39294 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39295 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39296 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39297 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39298 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39299 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39300 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39301 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39302 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39303 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39305 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39306 ceil, ceilf, floor, floorf.
39308 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39309 Perform IRELATIVE relocations last.
39311 * elf/do-rel.h: Add another parameter nrelative, replacing the
39312 local variable with the same name. Change name of the function
39313 to end in Rel or Rela (uppercase).
39314 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39315 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39316 elf_dynamic_do_##reloc function.
39318 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39320 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39321 is sufficient, at least on modern CPUs.
39323 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39325 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39326 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39328 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39330 * math/bits/math-finite.h: Add entries for exp.
39331 * math/e_expl.c: Add __*_finite alias.
39332 * sysdeps/i386/fpu/e_exp.S: Likewise.
39333 * sysdeps/i386/fpu/e_expf.S: Likewise.
39334 * sysdeps/i386/fpu/e_expl.c: Likewise.
39335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39336 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39338 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39339 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39340 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39341 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39343 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39344 is sufficient, at least on modern CPUs.
39346 * ctype/ctype-info.c (__ctype_init): Define.
39347 * include/ctype.h (__ctype_init): Declare.
39348 (__ctype_b_loc): The variable is always initialized.
39349 (__ctype_toupper_loc): Likewise.
39350 (__ctype_tolower_loc): Likewise.
39351 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39352 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39354 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39356 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39358 * configure.in: Also look in $cxxmachine/include for C++ system
39361 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39363 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39364 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39365 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39366 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39367 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39368 (USE_AS_WMEMCMP): New macro.
39370 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39371 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39372 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39373 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39375 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39376 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39377 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39378 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39379 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39380 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39381 (USE_AS_WMEMCMP): New macro.
39382 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39383 * sysdeps/string/test-memcmp.c: Update.
39384 Fix simple_wmemcmp.
39386 * wcsmbs/wmemcmp.c: Update.
39387 (WMEMCMP): New macro.
39390 2011-10-12 Andreas Jaeger <aj@suse.de>
39393 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39395 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39397 * libio/iofwide.c (do_length): Avoid warning.
39399 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39401 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39403 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39405 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39406 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39407 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39408 * sysdeps/i386/i686/fpu/e_log.S: New file.
39409 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39410 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39412 * ctype/ctype.h: Add support for inlined isXXX functions when
39413 compiling C++ code.
39415 2011-10-14 Andreas Schwab <schwab@redhat.com>
39417 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39419 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39421 2011-10-13 Roland McGrath <roland@hack.frob.com>
39424 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39426 2011-10-13 Andreas Schwab <schwab@redhat.com>
39428 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39429 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39432 * sysdeps/x86_64/memrchr.S: Check for zero size.
39434 * string/stratcliff.c: Add memrchr tests.
39436 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39439 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39440 rawmemchr-sse2 rawmemchr-sse2-bsf.
39441 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39442 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39443 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39444 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39445 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39446 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39447 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39448 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39449 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39450 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39451 * string/memrchr.c (MEMRCHR): New macro.
39453 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39455 Add integration with gcc's -ffinite-math-only and optimize wrapper
39457 * Versions.def: Define GLIBC_2.15 version for libm.
39458 * math/Makefile (headers): Add bits/math-finite.h.
39459 * math/bits/math-finite.h: New file.
39460 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39461 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39462 * math/e_acoshl.c: Add __*_finite alias.
39463 * math/e_acosl.c: Likewise.
39464 * math/e_asinl.c: Likewise.
39465 * math/e_atan2l.c: Likewise.
39466 * math/e_atanhl.c: Likewise.
39467 * math/e_coshl.c: Likewise.
39468 * math/e_exp10.c: Likewise.
39469 * math/e_exp10f.c: Likewise.
39470 * math/e_exp10l.c: Likewise.
39471 * math/e_exp2l.c: Likewise.
39472 * math/e_fmodl.c: Likewise.
39473 * math/e_gammal_r.c: Likewise.
39474 * math/e_hypotl.c: Likewise.
39475 * math/e_j0l.c: Likewise.
39476 * math/e_j1l.c: Likewise.
39477 * math/e_jnl.c: Likewise.
39478 * math/e_lgammal_r.c: Likewise.
39479 * math/e_log10l.c: Likewise.
39480 * math/e_log2l.c: Likewise.
39481 * math/e_logl.c: Likewise.
39482 * math/e_powl.c: Likewise.
39483 * math/e_sinhl.c: Likewise.
39484 * math/e_sqrtl.c: Likewise.
39485 * math/e_scalb.c: Completely rewritten and optimized.
39486 * math/e_scalbf.c: Likewise.
39487 * math/e_scalbl.c: Likewise.
39488 * math/w_acos.c: Likewise.
39489 * math/w_acosf.c: Likewise.
39490 * math/w_acosl.c: Likewise.
39491 * math/w_acosh.c: Likewise.
39492 * math/w_acoshf.c: Likewise.
39493 * math/w_acoshl.c: Likewise.
39494 * math/w_asin.c: Likewise.
39495 * math/w_asinf.c: Likewise.
39496 * math/w_asinl.c: Likewise.
39497 * math/w_atan2.c: Likewise.
39498 * math/w_atan2f.c: Likewise.
39499 * math/w_atan2l.c: Likewise.
39500 * math/w_atanh.c: Likewise.
39501 * math/w_atanhf.c: Likewise.
39502 * math/w_atanhl.c: Likewise.
39503 * math/w_exp10.c: Likewise.
39504 * math/w_exp10f.c: Likewise.
39505 * math/w_exp10l.c: Likewise.
39506 * math/w_fmod.c: Likewise.
39507 * math/w_fmodf.c: Likewise.
39508 * math/w_fmodl.c: Likewise.
39509 * math/w_j0.c: Likewise.
39510 * math/w_j0f.c: Likewise.
39511 * math/w_j0l.c: Likewise.
39512 * math/w_j1.c: Likewise.
39513 * math/w_j1f.c: Likewise.
39514 * math/w_j1l.c: Likewise.
39515 * math/w_jn.c: Likewise.
39516 * math/w_jnf.c: Likewise.
39517 * math/w_log.c: Likewise.
39518 * math/w_logf.c: Likewise.
39519 * math/w_logl.c: Likewise.
39520 * math/w_log10.c: Likewise.
39521 * math/w_log10f.c: Likewise.
39522 * math/w_log10l.c: Likewise.
39523 * math/w_log2.c: Likewise.
39524 * math/w_log2f.c: Likewise.
39525 * math/w_log2l.c: Likewise.
39526 * math/w_pow.c: Likewise.
39527 * math/w_powf.c: Likewise.
39528 * math/w_powl.c: Likewise.
39529 * math/w_remainder.c: Likewise.
39530 * math/w_remainderf.c: Likewise.
39531 * math/w_remainderl.c: Likewise.
39532 * math/w_scalb.c: Likewise.
39533 * math/w_scalbf.c: Likewise.
39534 * math/w_scalbl.c: Likewise.
39535 * math/w_sqrt.c: Likewise.
39536 * math/w_sqrtf.c: Likewise.
39537 * math/w_sqrtl.c: Likewise.
39538 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39539 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39541 * math/math_private.h: Declare __kernel_standard_f.
39542 * math/w_cosh.c: Remove cruft and optimize a bit.
39543 * math/w_coshf.c: Likewise.
39544 * math/w_coshl.c: Likewise.
39545 * math/w_exp2.c: Likewise.
39546 * math/w_exp2f.c: Likewise.
39547 * math/w_exp2l.c: Likewise.
39548 * math/w_hypot.c: Likewise.
39549 * math/w_hypotf.c: Likewise.
39550 * math/w_hypotl.c: Likewise.
39551 * math/w_lgamma.c: Likewise.
39552 * math/w_lgamma_r.c: Likewise.
39553 * math/w_lgammaf.c: Likewise.
39554 * math/w_lgammaf_r.c: Likewise.
39555 * math/w_lgammal.c: Likewise.
39556 * math/w_lgammal_r.c: Likewise.
39557 * math/w_sinh.c: Likewise.
39558 * math/w_sinhf.c: Likewise.
39559 * math/w_sinhl.c: Likewise.
39560 * math/w_tgamma.c: Likewise.
39561 * math/w_tgammaf.c: Likewise.
39562 * math/w_tgammal.c: Likewise.
39563 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39564 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39565 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39566 Minor optimizations. Pretty printing. Remove cruft.
39567 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39568 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39569 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39570 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39571 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39572 * sysdeps/i386/fpu/e_asin.S: Likewise.
39573 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39574 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39575 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39576 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39577 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39578 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39579 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39580 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39581 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39582 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39583 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39584 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39585 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39586 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39587 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39588 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39589 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39590 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39591 * sysdeps/i386/fpu/e_log.S: Likewise.
39592 * sysdeps/i386/fpu/e_log10.S: Likewise.
39593 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39594 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39595 * sysdeps/i386/fpu/e_log2.S: Likewise.
39596 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39597 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39598 * sysdeps/i386/fpu/e_logf.S: Likewise.
39599 * sysdeps/i386/fpu/e_logl.S: Likewise.
39600 * sysdeps/i386/fpu/e_pow.S: Likewise.
39601 * sysdeps/i386/fpu/e_powf.S: Likewise.
39602 * sysdeps/i386/fpu/e_powl.S: Likewise.
39603 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39604 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39605 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39606 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39607 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39608 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39609 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39610 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39611 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39612 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39613 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39614 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39615 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39616 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39617 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39618 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39619 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39620 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39621 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39622 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39623 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39625 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39626 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39628 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39629 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39630 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39631 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39632 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39633 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39634 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39635 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39636 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39637 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39638 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39639 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39640 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39641 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39642 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39643 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39644 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39645 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39646 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39647 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39648 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39649 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39650 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39651 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39652 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39653 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39654 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39655 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39656 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39657 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39658 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39659 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39660 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39661 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39662 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39663 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39664 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39665 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39667 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39668 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39669 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39670 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39671 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39672 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39674 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39675 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39676 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39677 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39679 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39680 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39681 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39682 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39683 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39684 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39685 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39686 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39687 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39688 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39689 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39690 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39691 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39692 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39693 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39694 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39695 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39696 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39697 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39698 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39699 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39700 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39701 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39702 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39703 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39704 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39705 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39706 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39707 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39708 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39709 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39710 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39711 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39712 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39713 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39714 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39715 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39716 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39717 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39718 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39719 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39720 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39721 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39722 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39723 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39724 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39725 (__isnanf): Likewise.
39726 (__isinf_ns): Likewise.
39727 (__isinf_nsf): Likewise.
39728 (__finite): Likewise.
39729 (__finitef): Likewise.
39730 (__ieee754_sqrt): Define as macro.
39731 (__ieee754_sqrtf): Define as macro.
39732 (__ieee754_sqrtl): Define as macro.
39733 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39735 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39736 __FINITE_MATH_ONLY__ consistent.
39737 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39739 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39741 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39744 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39746 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39748 * po/ja.po: Update from translation team.
39750 2011-10-08 Roland McGrath <roland@hack.frob.com>
39752 * locale/programs/locarchive.c (prepare_address_space): New function.
39753 (create_archive, enlarge_archive, open_archive): Use it.
39755 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39756 inside [SHARED], where it is used.
39758 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39760 * nss/getent.c (netgroup_keys): Remove unused variable.
39761 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39763 2011-10-08 Ulrich Drepper <drepper@gmail.com>
39765 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39766 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39767 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39768 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39769 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39770 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39771 * math/Makefile (libm-calls): Add s_isinf_ns.
39772 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39773 * math/multc3.c: Likewise.
39774 * math/s_casin.c: Likewise.
39775 * math/s_casinf.c: Likewise.
39776 * math/s_casinl.c: Likewise.
39777 * math/s_ccos.c: Likewise.
39778 * math/s_ccosf.c: Likewise.
39779 * math/s_ccosl.c: Likewise.
39780 * math/s_ctan.c: Likewise.
39781 * math/s_ctanf.c: Likewise.
39782 * math/s_ctanh.c: Likewise.
39783 * math/s_ctanhf.c: Likewise.
39784 * math/s_ctanhl.c: Likewise.
39785 * math/s_ctanl.c: Likewise.
39786 * math/w_fmod.c: Likewise.
39787 * math/w_fmodf.c: Likewise.
39788 * math/w_fmodl.c: Likewise.
39789 * math/w_remainder.c: Likewise.
39790 * math/w_remainderf.c: Likewise.
39791 * math/w_remainderl.c: Likewise.
39792 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39793 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39794 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39795 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39796 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39797 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39798 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39799 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39801 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39803 * stdio-common/printf_fphex.c: Likewise.
39804 * stdio-common/printf_size.c: Likewise.
39806 * math/e_exp10.c: Include math_private.h using <...> not "...".
39807 * math/e_exp10f.c: Likewise.
39808 * math/e_exp10l.c: Likewise.
39809 * math/e_exp2l.c: Likewise.
39810 * math/e_j0l.c: Likewise.
39811 * math/e_j1l.c: Likewise.
39812 * math/e_jnl.c: Likewise.
39813 * math/e_lgammal_r.c: Likewise.
39814 * math/e_rem_pio2l.c: Likewise.
39815 * math/e_scalb.c: Likewise.
39816 * math/e_scalbf.c: Likewise.
39817 * math/e_scalbl.c: Likewise.
39818 * math/k_cosl.c: Likewise.
39819 * math/k_sinl.c: Likewise.
39820 * math/k_tanl.c: Likewise.
39821 * math/s_cacoshf.c: Likewise.
39822 * math/s_catan.c: Likewise.
39823 * math/s_catanf.c: Likewise.
39824 * math/s_catanh.c: Likewise.
39825 * math/s_catanhf.c: Likewise.
39826 * math/s_catanhl.c: Likewise.
39827 * math/s_catanl.c: Likewise.
39828 * math/s_ccosh.c: Likewise.
39829 * math/s_ccoshf.c: Likewise.
39830 * math/s_ccoshl.c: Likewise.
39831 * math/s_cexp.c: Likewise.
39832 * math/s_cexpf.c: Likewise.
39833 * math/s_cexpl.c: Likewise.
39834 * math/s_clog.c: Likewise.
39835 * math/s_clog10.c: Likewise.
39836 * math/s_clog10f.c: Likewise.
39837 * math/s_clog10l.c: Likewise.
39838 * math/s_clogf.c: Likewise.
39839 * math/s_clogl.c: Likewise.
39840 * math/s_csin.c: Likewise.
39841 * math/s_csinf.c: Likewise.
39842 * math/s_csinh.c: Likewise.
39843 * math/s_csinhf.c: Likewise.
39844 * math/s_csinhl.c: Likewise.
39845 * math/s_csinl.c: Likewise.
39846 * math/s_csqrt.c: Likewise.
39847 * math/s_csqrtf.c: Likewise.
39848 * math/s_csqrtl.c: Likewise.
39849 * math/s_ctan.c: Likewise.
39850 * math/s_ctanf.c: Likewise.
39851 * math/s_ctanh.c: Likewise.
39852 * math/s_ctanhf.c: Likewise.
39853 * math/s_ctanhl.c: Likewise.
39854 * math/s_ctanl.c: Likewise.
39855 * math/s_ldexp.c: Likewise.
39856 * math/s_ldexpf.c: Likewise.
39857 * math/s_ldexpl.c: Likewise.
39858 * math/s_significand.c: Likewise.
39859 * math/s_significandf.c: Likewise.
39860 * math/s_significandl.c: Likewise.
39861 * math/w_acos.c: Likewise.
39862 * math/w_acosf.c: Likewise.
39863 * math/w_acosh.c: Likewise.
39864 * math/w_acoshf.c: Likewise.
39865 * math/w_acoshl.c: Likewise.
39866 * math/w_acosl.c: Likewise.
39867 * math/w_asin.c: Likewise.
39868 * math/w_asinf.c: Likewise.
39869 * math/w_asinl.c: Likewise.
39870 * math/w_atan2.c: Likewise.
39871 * math/w_atan2f.c: Likewise.
39872 * math/w_atan2l.c: Likewise.
39873 * math/w_atanh.c: Likewise.
39874 * math/w_atanhf.c: Likewise.
39875 * math/w_atanhl.c: Likewise.
39876 * math/w_cosh.c: Likewise.
39877 * math/w_coshf.c: Likewise.
39878 * math/w_coshl.c: Likewise.
39879 * math/w_dremf.c: Likewise.
39880 * math/w_exp10.c: Likewise.
39881 * math/w_exp10f.c: Likewise.
39882 * math/w_exp10l.c: Likewise.
39883 * math/w_exp2.c: Likewise.
39884 * math/w_exp2f.c: Likewise.
39885 * math/w_fmod.c: Likewise.
39886 * math/w_fmodf.c: Likewise.
39887 * math/w_fmodl.c: Likewise.
39888 * math/w_hypot.c: Likewise.
39889 * math/w_hypotf.c: Likewise.
39890 * math/w_hypotl.c: Likewise.
39891 * math/w_j0.c: Likewise.
39892 * math/w_j0f.c: Likewise.
39893 * math/w_j0l.c: Likewise.
39894 * math/w_j1.c: Likewise.
39895 * math/w_j1f.c: Likewise.
39896 * math/w_j1l.c: Likewise.
39897 * math/w_jn.c: Likewise.
39898 * math/w_jnf.c: Likewise.
39899 * math/w_jnl.c: Likewise.
39900 * math/w_lgamma.c: Likewise.
39901 * math/w_lgamma_r.c: Likewise.
39902 * math/w_lgammaf.c: Likewise.
39903 * math/w_lgammaf_r.c: Likewise.
39904 * math/w_lgammal.c: Likewise.
39905 * math/w_lgammal_r.c: Likewise.
39906 * math/w_log.c: Likewise.
39907 * math/w_log10.c: Likewise.
39908 * math/w_log10f.c: Likewise.
39909 * math/w_log10l.c: Likewise.
39910 * math/w_log2.c: Likewise.
39911 * math/w_log2f.c: Likewise.
39912 * math/w_log2l.c: Likewise.
39913 * math/w_logf.c: Likewise.
39914 * math/w_logl.c: Likewise.
39915 * math/w_pow.c: Likewise.
39916 * math/w_powf.c: Likewise.
39917 * math/w_powl.c: Likewise.
39918 * math/w_remainder.c: Likewise.
39919 * math/w_remainderf.c: Likewise.
39920 * math/w_remainderl.c: Likewise.
39921 * math/w_scalb.c: Likewise.
39922 * math/w_scalbf.c: Likewise.
39923 * math/w_scalbl.c: Likewise.
39924 * math/w_sinh.c: Likewise.
39925 * math/w_sinhf.c: Likewise.
39926 * math/w_sinhl.c: Likewise.
39927 * math/w_sqrt.c: Likewise.
39928 * math/w_sqrtf.c: Likewise.
39929 * math/w_sqrtl.c: Likewise.
39930 * math/w_tgamma.c: Likewise.
39931 * math/w_tgammaf.c: Likewise.
39932 * math/w_tgammal.c: Likewise.
39934 * po/ja.po: Update from translation team.
39936 2011-09-29 Andreas Jaeger <aj@suse.de>
39939 * sunrpc/netname.c (netname2host): Fix logic.
39943 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39945 * math/w_remainder.c (__remainder): Likewise.
39946 * math/w_remainderf.c (__remainderf): Likewise.
39947 * math/libm-test.inc (remainder_test): Add test cases.
39949 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39951 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39954 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39956 * string/test-memcmp.c: Avoid unncessary #defines.
39957 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39959 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39961 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39962 Use new sse2 version for core i3 - i7 as it's faster
39963 than sse42 version.
39964 (bit_Prefer_PMINUB_for_stringop): New.
39965 * sysdeps/x86_64/rawmemchr.S: Update.
39966 Replace with faster SSE2 version.
39967 * sysdeps/x86_64/memrchr.S: New file.
39968 * sysdeps/x86_64/memchr.S: Update.
39969 Replace with faster SSE2 version.
39971 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39973 * elf/dl-load.c (lose): Add cast to avoid warning.
39975 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39977 * po/ca.po: Update from translation team.
39979 * inet/getnetgrent_r.c: Hook up nscd.
39980 * nscd/Makefile (routines): Add nscd_netgroup.
39981 (nscd-modules): Add netgroupcache.
39982 (CFLAGS-netgroupcache.c): Define.
39983 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39984 (cache_search): Add const to second parameter.
39985 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39987 (dbs): Add netgrdb entry.
39988 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39989 (verify_persistent_db): Handle netgrdb.
39990 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39991 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39993 (netgroup_response_header): Define.
39994 (innetgroup_response_header): Define.
39995 (datahead): Add netgroup_response_header and innetgroup_response_header
39997 * nscd/nscd.conf: Add entries for netgroup cache.
39998 * nscd/nscd.h (dbtype): Add netgrdb.
39999 (_PATH_NSCD_NETGROUP_DB): Define.
40000 (netgroup_iov_disabled): Declare.
40001 (xmalloc, xcalloc, xrealloc): Move declarations here.
40002 (cache_search): Adjust prototype.
40003 Add netgroup-related prototypes.
40004 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40005 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40006 (__nscd_innetgr): Declare.
40007 * nscd/selinux.c (perms): Use access_vector_t as element type and
40008 add netgroup-related initializers.
40009 * nscd/netgroupcache.c: New file.
40010 * nscd/nscd_netgroup.c: New file.
40011 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40012 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40013 For four parameters use innetgr.
40014 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40015 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40016 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40017 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40019 * nscd/connections.c (register_traced_file): Don't register file
40020 for disabled databases.
40022 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40024 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40026 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40027 from tree and freeing node.
40029 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40031 * nss/nsswitch.c (__nss_database_lookup): Handle
40032 nss_parse_service_list out of memory case.
40034 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40036 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40037 out of memory case.
40039 2011-10-04 Andreas Schwab <schwab@redhat.com>
40041 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40042 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40044 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40045 elf_machine_rela, elf_machine_lazy_rel.
40046 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40047 (ELF_DYNAMIC_DO_REL): Likewise.
40048 (ELF_DYNAMIC_DO_RELA): Likewise.
40049 (ELF_DYNAMIC_RELOCATE): Likewise.
40050 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40051 to ELF_DYNAMIC_DO_REL.
40052 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40053 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40054 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40056 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40057 skip_ifunc, don't call ifunc function if non-zero.
40058 (elf_machine_rela): Likewise.
40059 (elf_machine_lazy_rel): Likewise.
40060 (elf_machine_lazy_rela): Likewise.
40061 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40062 (elf_machine_lazy_rel): Likewise.
40063 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40065 (elf_machine_lazy_rel): Likewise.
40066 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40068 (elf_machine_lazy_rel): Likewise.
40069 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40070 (elf_machine_lazy_rel): Likewise.
40071 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40072 (elf_machine_lazy_rel): Likewise.
40073 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40074 (elf_machine_lazy_rel): Likewise.
40075 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40076 (elf_machine_lazy_rel): Likewise.
40077 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40078 (elf_machine_lazy_rel): Likewise.
40079 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40080 (elf_machine_lazy_rel): Likewise.
40082 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40084 * nss/nss_files/files-init.c (_nss_files_init): Use static
40085 initialization for all the *_traced_file variables.
40087 2011-09-28 Andreas Schwab <schwab@redhat.com>
40089 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40091 2011-09-27 Roland McGrath <roland@hack.frob.com>
40094 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40096 2011-09-27 Andreas Schwab <schwab@redhat.com>
40098 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40099 Reread the line before reparsing it.
40101 2011-09-26 Andreas Schwab <schwab@redhat.com>
40103 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40105 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40106 Maxim Kuvyrkov <maxim@codesourcery.com>
40107 Joseph Myers <joseph@codesourcery.com>
40109 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40110 if needed for __stack_chk_guard.
40112 2011-09-19 Roland McGrath <roland@hack.frob.com>
40114 * sysdeps/posix/spawni.c (script_execute): Always define it.
40115 It will be optimized away if unused.
40116 (maybe_script_execute): New function.
40117 (__spawni): Call it.
40119 * Makerules: Don't include tls.make.
40120 (config-tls): Always set to thread.
40121 * tls.make.c: File removed.
40123 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40125 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40126 * config.make.in (CPPFLAGS-config): New substituted variable.
40128 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40130 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40133 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40134 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40136 2011-09-15 Roland McGrath <roland@hack.frob.com>
40138 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40139 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40140 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40141 (CALL_FAIL): Likewise.
40142 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40143 (CALL_FAIL): Macro removed.
40144 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40146 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40148 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40149 for __FINITE_MATH_ONLY__ == 1.
40151 2011-09-15 Andreas Schwab <schwab@redhat.com>
40153 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40154 __ieee754_sqrt instead of sqrt.
40155 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40156 __ieee754_sqrtf instead of sqrtf.
40157 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40158 __floorf instead of floorf.
40159 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40160 __floorf, __truncf instead of floorf, truncf.
40162 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40164 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40166 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40167 __extern_always_inline.
40168 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40171 2011-09-14 Andreas Schwab <schwab@redhat.com>
40173 * elf/rtld.c (dl_main): Also relocate in dependency order when
40174 doing symbol dependency testing.
40176 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40179 Always define `refsym'.
40181 2011-09-13 Andreas Schwab <schwab@redhat.com>
40183 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40184 (__FD_ELT): Renamed from __FDELT.
40185 * misc/bits/select2.h (__FD_ELT): Likewise.
40186 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40187 __FD_MASK instead of __FDELT, __FDMASK.
40188 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40190 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40193 * elf/Makefile (gen-ldd): Fix pattern.
40195 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40196 (init_tls): Likewise.
40198 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40200 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40202 2011-09-12 Andreas Schwab <schwab@redhat.com>
40204 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40205 `struct cmsghdr *' instead of `void *'.
40206 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40209 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40211 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40213 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40214 ldd_rewrite_script.
40216 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40218 * configure.in: Remove --with-tls option.
40219 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40220 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40221 out in case it is missing.
40222 * sysdeps/ia64/elf/configure.in: Likewise.
40223 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40224 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40225 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40226 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40227 * sysdeps/sh/elf/configure.in: Likewise.
40228 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40229 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40230 * sysdeps/x86_64/elf/configure.in: Likewise.
40231 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40232 * sysdeps/mach/hurd/tls.h: Likewise.
40235 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40238 * configure.in: Fix use of AC_INIT.
40240 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40242 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40244 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40246 * malloc/hooks.c: Likewise.
40249 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40250 variables statically.
40251 (narenas): Initialize.
40252 (list_lock): Initialize.
40253 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40254 initializtion of main_arena and list_lock. Small cleanups.
40255 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40256 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40257 Add initializers to main_arena and mp_.
40258 (malloc_state): Remove pagesize member. Change all users to use
40261 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40262 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40263 is always initialized.
40265 * malloc/malloc.c: Removed unused configurations and dead code.
40266 * malloc/arena.c: Likewise.
40267 * malloc/hooks.c: Likewise.
40268 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40270 * include/tls.h: Removed. USE___THREAD must always be defined.
40271 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40272 * elf/dl-libc.c: Likewise.
40273 * elf/dl-tsd.c: Likewise.
40274 * include/errno.h: Likewise.
40275 * include/netdb.h: Likewise.
40276 * include/resolv.h: Likewise.
40277 * inet/herrno-loc.c: Likewise.
40278 * inet/herrno.c: Likewise.
40279 * malloc/arena.c: Likewise.
40280 * malloc/hooks.c: Likewise.
40281 * malloc/malloc.c: Likewise.
40282 * resolv/res-state.c: Likewise.
40283 * resolv/res_libc.c: Likewise.
40284 * sysdeps/i386/dl-machine.h: Likewise.
40285 * sysdeps/ia64/dl-machine.h: Likewise.
40286 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40287 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40288 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40289 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40290 * sysdeps/sh/dl-machine.h: Likewise.
40291 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40292 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40293 * sysdeps/unix/i386/sysdep.S: Likewise.
40294 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40295 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40296 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40297 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40298 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40299 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40300 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40301 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40304 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40305 * sysdeps/x86_64/dl-machine.h: Likewise.
40306 * tls.make.c: Likewise.
40308 * configure.in: Remove --with-__thread option. Make tests for
40309 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40310 tls_model attribute fail if no support is available. Remove
40312 * Makeconfig: Adjust for dropped configure option. All features are
40314 * Makerules: Likewise.
40315 * Versions.def: Likewise.
40316 * argp/argp-fmtstream.c: Likewise.
40317 * argp/argp-fmtstream.h: Likewise.
40318 * argp/argp-help.c: Likewise.
40319 * assert/assert.c: Likewise.
40320 * config.h.in: Likewise.
40321 * config.make.in: Likewise.
40322 * configure: Likewise.
40323 * configure.in: Likewise.
40324 * csu/Versions: Likewise.
40325 * csu/init.c: Likewise.
40326 * elf/tst-audit2.c: Likewise.
40327 * elf/tst-tls10.c: Likewise.
40328 * elf/tst-tls10.h: Likewise.
40329 * elf/tst-tls11.c: Likewise.
40330 * elf/tst-tls12.c: Likewise.
40331 * elf/tst-tls14.c: Likewise.
40332 * elf/tst-tlsmod11.c: Likewise.
40333 * elf/tst-tlsmod12.c: Likewise.
40334 * elf/tst-tlsmod13.c: Likewise.
40335 * elf/tst-tlsmod13a.c: Likewise.
40336 * elf/tst-tlsmod14a.c: Likewise.
40337 * elf/tst-tlsmod15b.c: Likewise.
40338 * elf/tst-tlsmod16a.c: Likewise.
40339 * elf/tst-tlsmod16b.c: Likewise.
40340 * elf/tst-tlsmod7.c: Likewise.
40341 * elf/tst-tlsmod8.c: Likewise.
40342 * elf/tst-tlsmod9.c: Likewise.
40343 * gmon/gmon.c: Likewise.
40344 * grp/fgetgrent_r.c: Likewise.
40345 * grp/putgrent.c: Likewise.
40346 * hurd/fopenport.c: Likewise.
40347 * include/libc-symbols.h: Likewise.
40348 * include/tls.h: Likewise.
40349 * intl/gettextP.h: Likewise.
40350 * intl/loadinfo.h: Likewise.
40351 * locale/global-locale.c: Likewise.
40352 * locale/localeinfo.h: Likewise.
40353 * mach/devstream.c: Likewise.
40354 * malloc/arena.c: Likewise.
40355 * malloc/set-freeres.c: Likewise.
40356 * misc/err.c: Likewise.
40357 * misc/getttyent.c: Likewise.
40358 * misc/mntent_r.c: Likewise.
40359 * posix/getopt.c: Likewise.
40360 * posix/wordexp.c: Likewise.
40361 * pwd/fgetpwent_r.c: Likewise.
40362 * resolv/Versions: Likewise.
40363 * resolv/res_hconf.c: Likewise.
40364 * shadow/fgetspent_r.c: Likewise.
40365 * shadow/putspent.c: Likewise.
40366 * stdio-common/printf_fphex.c: Likewise.
40367 * stdio-common/tmpfile.c: Likewise.
40368 * stdlib/abort.c: Likewise.
40369 * stdlib/fmtmsg.c: Likewise.
40370 * sunrpc/auth_unix.c: Likewise.
40371 * sunrpc/clnt_perr.c: Likewise.
40372 * sunrpc/clnt_tcp.c: Likewise.
40373 * sunrpc/clnt_udp.c: Likewise.
40374 * sunrpc/clnt_unix.c: Likewise.
40375 * sunrpc/openchild.c: Likewise.
40376 * sunrpc/svc_simple.c: Likewise.
40377 * sunrpc/svc_tcp.c: Likewise.
40378 * sunrpc/svc_udp.c: Likewise.
40379 * sunrpc/svc_unix.c: Likewise.
40380 * sunrpc/xdr.c: Likewise.
40381 * sunrpc/xdr_array.c: Likewise.
40382 * sunrpc/xdr_rec.c: Likewise.
40383 * sunrpc/xdr_ref.c: Likewise.
40384 * sunrpc/xdr_stdio.c: Likewise.
40386 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40388 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40390 2011-07-03 Andreas Jaeger <aj@suse.de>
40392 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40393 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40394 regenerate with gen-libm-tests.pl.
40396 2010-05-12 Petr Baudis <pasky@suse.cz>
40399 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40400 around j0() zero points by switching to j1().
40401 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40402 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40403 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40404 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40406 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40408 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40410 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40412 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40413 Patch in part by Pavel Roskin <proski@gnu.org>.
40416 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40418 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40419 Free memory block if necessary.
40422 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40423 be NULL. Don't lock in this case.
40425 2011-09-09 Roland McGrath <roland@hack.frob.com>
40427 * elf/elf.h (ELFOSABI_GNU): New macro.
40428 (ELFOSABI_LINUX): Define to that.
40430 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40432 * string/strncat.c (strncat): Undef the symbol in case it has been
40433 defined in bits/string.h.
40435 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40437 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40439 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40442 2011-08-17 Andreas Jaeger <aj@suse.de>
40444 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40446 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40447 Ian Lance Taylor <iant@google.com>
40449 * math/libm-test.inc (lround_test): New testcase.
40450 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40452 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40454 * Makefile: Remove support for automatic cvs check-ins.
40455 * Makerules: Likewise.
40456 * config.make.in: Likewise.
40457 * configure.in: Likewise.
40458 * intl/Makefile: Likewise.
40459 * locale/Makefile: Likewise.
40460 * po/Makefile: Likewise.
40461 * posix/Makefile: Likewise.
40462 * sysdeps/gnu/Makefile: Likewise.
40463 * sysdeps/mach/hurd/Makefile: Likewise.
40464 * sysdeps/sparc/sparc32/Makefile: Likewise.
40467 * posix/Makefile (bug-regex32-ENV): Define.
40468 Patch by John Stanley <jpsinthemix@verizon.net>.
40470 * misc/Makefile (headers): Add bits/select2.h.
40471 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40472 * misc/bits/select2.h: New file.
40473 * include/bits/select2.h: New file.
40474 * debug/Makefile (routines): Add fdelt_chk.
40475 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40476 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40478 * debug/fdelt_chk.c: New file.
40480 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40481 * wcsmbs/test-wmemcmp.c: Likewise.
40482 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40483 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40485 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40487 * string/Makefile (strop-tests): Add memcmp.
40488 * string/test-wmemcmp.c: New file.
40489 * string/test-memcmp.c: Add wmemcmp support.
40491 2011-09-08 Roland McGrath <roland@hack.frob.com>
40494 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40497 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40498 garbage value in a __mach_port_mod_refs call in the cases of the
40499 task-self and thread-self ports.
40501 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40503 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40505 2011-09-08 Andreas Schwab <schwab@redhat.com>
40507 * elf/dl-load.c (lose): Check for non-null L.
40509 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40511 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40513 * elf/dl-libc.c (dlerror_run): Pass back error code from
40517 * elf/dl-load.c (lose): Free l_origin if it is valid.
40519 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40521 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40522 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40523 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40524 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40525 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40526 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40528 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40530 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40531 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40532 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40533 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40534 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40535 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40536 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40537 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40538 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40539 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40541 2011-08-15 Alan Modra <amodra@gmail.com>
40544 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40545 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40546 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40547 ppc_mcount to static-only-routines.
40548 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40550 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40551 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40553 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40555 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40556 for finite and infinity parameters.
40558 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40560 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40561 and add nop instructions for throughput optimization.
40562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40564 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40566 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40567 aligned copy for power7 with vector-scalar instructions.
40568 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40570 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40575 2011-09-07 Andreas Schwab <schwab@redhat.com>
40578 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40581 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40583 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40584 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40585 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40586 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40589 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40591 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40592 Forgot to demangle the pointer.
40594 * sysdeps/i386/sysdep.h: Define atom_text_section.
40595 * sysdeps/x86_64/sysdep.h: Likewise.
40596 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40597 section with atom_text_section.
40598 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40599 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40600 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40601 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40602 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40604 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40605 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40606 already be defined. Change to take two parameters and don't assign
40607 result to variable. Adjust all users.
40608 Define INTERNAL_GETTIME if not already defined.
40609 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40612 HAVE_CLOCK_GETTIME_VSYSCALL.
40613 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40616 gettimeofday vsyscall, just use time.
40618 2011-09-06 Andreas Schwab <schwab@redhat.com>
40620 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40623 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40625 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40627 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40629 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40630 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40631 syscall if possible.
40633 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40635 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40636 e_ident. Don't pass to find_mapsXX.
40637 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40639 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40642 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40643 * sysdeps/x86_64/multiarch/strchr.S: Update.
40644 Check bit_slow_BSF bit.
40645 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40646 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40647 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40649 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40652 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40654 (tryshell): Define.
40655 (__spawni): Change last parameter to be flag. Test
40656 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40657 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40658 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40659 * posix/spawni.c: Likewise.
40660 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40661 * posix/spawnp.c: Likewise. Change normal version to use
40662 SPAWN_XFLAGS_USE_PATH.
40663 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40664 SPAWN_XFLAGS_TRY_SHELL.
40667 * posix/glob.h: Remove gcc 1.x support.
40670 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40672 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40674 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40675 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40677 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40678 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40679 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40680 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40681 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40682 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40684 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40686 * sysdeps/x86_64/wcscmp.S: New file.
40688 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40689 wcscmp-c wcscmp-sse2
40690 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40691 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40692 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40693 * wcsmbs/wcscmp.c: Allow renaming.
40695 2011-09-05 David S. Miller <davem@davemloft.net>
40697 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40698 stack slot, rather than the struct return pointer slot.
40699 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40700 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40702 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40704 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40706 * po/ja.po: Update from translation team.
40709 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40710 kernel in 64-bit binaries.
40712 2011-09-01 David S. Miller <davem@davemloft.net>
40714 * elf/elf.h (HWCAP_SPARC_*): Move to..
40715 * sysdeps/sparc/sysdep.h: this new file and add new values.
40716 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40717 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40718 _DL_HWCAP_COUNT to 24.
40719 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40721 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40722 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40723 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40724 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40725 instead of magic constants.
40726 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40728 2011-08-31 David S. Miller <davem@davemloft.net>
40730 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40732 Reimplement to do errno handling inline.
40733 (SYSCALL_ERROR_HANDLER): New macro.
40734 (__SYSCALL_STRING): Do not do errno handling in asm.
40735 (__CLONE_SYSCALL_STRING): Delete.
40736 (__INTERNAL_SYSCALL_STRING): Delete.
40737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40738 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40739 (PSEUDO): Reimplement to do errno handling inline.
40740 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40741 (SYSCALL_ERROR_HANDLER): New macro.
40742 (__SYSCALL_STRING): Do not do errno handling in asm.
40743 (__CLONE_SYSCALL_STRING): Delete.
40744 (__INTERNAL_SYSCALL_STRING): Delete.
40745 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40746 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40748 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40749 (inline_syscall*): Add 'err' argument.
40750 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40751 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40752 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40753 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40755 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40756 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40758 2011-08-30 Andreas Schwab <schwab@redhat.com>
40760 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40762 2011-08-29 Jiri Olsa <jolsa@redhat.com>
40764 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40767 2011-08-24 David S. Miller <davem@davemloft.net>
40769 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40771 2011-08-24 Andreas Schwab <schwab@redhat.com>
40773 * elf/Makefile: Add rules to build and run unload8 test.
40774 * elf/unload8.c: New file.
40775 * elf/unload8mod1.c: New file.
40776 * elf/unload8mod1x.c: New file.
40777 * elf/unload8mod2.c: New file.
40778 * elf/unload8mod3.c: New file.
40780 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40783 2011-08-23 David S. Miller <davem@davemloft.net>
40785 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40786 subtract stack bias.
40787 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40788 %sp not %fp in calculations.
40789 (_JMPBUF_UNWINDS_ADJ): Likewise.
40791 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40792 (aio_suspend): Call it to force an exception region around the
40793 AIO_MISC_WAIT() invocation.
40795 2011-08-23 Andreas Schwab <schwab@redhat.com>
40797 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40800 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40802 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40804 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40805 and <dl-machine.h>.
40806 (Elf64_FuncDesc): Remove.
40808 2011-08-22 David S. Miller <davem@davemloft.net>
40810 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40811 sigaltstack check, add missing cfi directives.
40812 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40813 missing cfi directives, and sigaltstack handling.
40815 2011-08-16 Andreas Schwab <schwab@redhat.com>
40818 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40819 object is seen twice.
40820 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40822 * elf/Makefile (distribute): Add tst-initorder2.c.
40823 (tests): Add tst-initorder2.
40824 (modules-names): Add tst-initorder2a tst-initorder2b
40825 tst-initorder2c tst-initorder2d. Add rules to build them.
40826 ($(objpfx)tst-initorder2.out): New rule.
40827 * elf/tst-initorder2.c: New file.
40828 * elf/tst-initorder2.exp: New file.
40830 2011-08-22 Andreas Schwab <schwab@redhat.com>
40832 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40834 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40835 dependencies back to end of function.
40837 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40838 $(elfobjdir)/ld.so.
40840 2011-08-21 Ulrich Drepper <drepper@gmail.com>
40842 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40843 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40844 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40845 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40846 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40847 of __vdso_gettimeofday.
40848 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40849 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40851 (_libc_vdso_platform_setup): Remove initialization of
40852 __vdso_gettimeofday and __vdso_time.
40854 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40856 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40857 and fgetc_unlocked.
40858 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40861 * elf/dl-open.c (add_to_global): Report additions to the global scope
40862 for LD_DEBUG=scopes.
40863 (dl_open_worker): Also print scope of newly loaded dependencies.
40864 (_dl_show_scope): Indicate if there is no scope.
40867 * stdio-common/Makefile (tests): Add bug24.
40868 * stdio-common/bug24.c: New file.
40870 2011-08-19 Andreas Jaeger <aj@suse.de>
40873 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40874 non-existant file when using close-on-exec mode.
40876 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40879 the very first instruction.
40881 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40882 the CFI state in the end.
40883 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40884 inclusion of dl-trampoline.h.
40885 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40887 2011-08-19 Andreas Schwab <schwab@redhat.com>
40889 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40890 expectations for long double.
40892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40893 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40895 2011-08-14 David S. Miller <davem@davemloft.net>
40897 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40898 artificual limit depends upon the system page size.
40900 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40902 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40903 * resolv/Makefile: Define CFLAGS-libresolv.
40905 2011-08-17 Andreas Schwab <schwab@redhat.com>
40907 * nss/makedb.c (compute_tables): Make variables used in nested
40910 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40912 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40913 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40914 if buffer was too small.
40916 * elf/pldd.c (main): Attach to all threads in the process.
40917 Rewrite /proc handling to use *at functions.
40919 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40921 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40922 specifies first scope to show.
40923 (dl_open_worker): Update callers. Move printing scope of new
40924 object to before the relocation.
40925 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40926 * sysdeps/generic/ldsodefs.h: Update declaration.
40928 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40929 string for the scope number.
40931 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40933 * nscd/servicescache.c (cache_addserv): Make sure written is always
40936 2011-08-14 Roland McGrath <roland@hack.frob.com>
40938 * sysdeps/i386/i486/bits/atomic.h
40939 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40940 statement expression, so as to suppress "set but not used" warning.
40941 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40943 * string/strncat.c (STRNCAT): Use prototype definition.
40945 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40946 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40948 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40949 (localedef-modules): Add localedef.
40950 (locale-modules): Add locale.
40952 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40953 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40954 to avoid a warning.
40956 2011-08-14 David S. Miller <davem@davemloft.net>
40958 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40959 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40961 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40963 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40964 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40965 * elf/rtld.c (dl_main): Set l_name of vDSO.
40966 Call _dl_show_scope when DL_DEBUG_SCOPES.
40967 (process_dl_debug): Recognize scopes flag and also set it for all.
40968 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40969 Declare _dl_show_scope.
40971 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40972 (do_dlopen): Pass caller_dlopen to dl_open.
40973 (__libc_dlopen_mode): Initialize caller_dlopen.
40975 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40976 of libc. Make tolower call locale-independent. Optimize a bit by
40977 using isdigit instead of isalnum.
40978 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40980 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40982 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40983 was a dependency or dynamically loaded.
40985 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40987 * intl/l10nflist.c: Allow architecture-specific pop function.
40988 * sysdeps/x86_64/l10nflist.c: New file.
40990 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40993 2011-08-10 Andreas Schwab <schwab@redhat.com>
40995 * include/dirent.h: Add libc_hidden_proto for scandirat and
40996 scandirat64. Don't declare __scandirat64.
40997 * dirent/scandirat.c: Add libc_hidden_def.
40998 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40999 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41001 2011-08-10 David S. Miller <davem@davemloft.net>
41003 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41005 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41006 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41007 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41009 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41011 * Versions.def [libc]: Add GLIBC_2.15.
41012 * dirent/Makefile (routines): Add scandirat and scandirat64.
41013 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41015 * dirent/dirent.h: Declare scandirat and scandirat64.
41016 * dirent/scandirat.c: New file.
41017 * dirent/scandirat64.c: New file.
41018 * sysdeps/wordsize-64/scandirat.c: New file.
41019 * sysdeps/wordsize-64/scandirat64.c: New file.
41020 * dirent/opendir.c: Define opendirat.
41021 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41023 * dirent/scandir64.c: Adjust for scandir.c change.
41024 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41025 __scandirat64, and __scandir_cancel_handler.
41026 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41027 additional parameter and use openat instead of open (outside of ld.so).
41028 Add new __opendir as wrapper around __opendirat.
41029 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41030 here without requiring old scandirat implementation.
41032 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41034 * dirent/scandir.c (cancel_handler): Renamed to
41035 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41036 defined. Adjust users.
41037 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41038 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41040 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41042 * string/test-string.h (IMPL): Use __STRING to expand name and then
41045 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41048 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41050 * string/Makefile: Update.
41051 (strop-tests): Append strncat.
41052 * string/test-wcscmp.c: New file.
41053 New comprehensive test for wcscmp.
41054 * string/test-strcmp.c: Update.
41055 (WIDE): New define.
41057 2011-07-22 Andreas Schwab <schwab@redhat.com>
41059 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41062 2011-07-26 Andreas Schwab <schwab@redhat.com>
41064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41065 encoding to ACE if AI_IDN.
41067 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41069 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41070 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41072 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41074 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41075 Fix overflow bug in strncat.
41076 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41078 * string/test-strncat.c: Update.
41079 Add new tests for checking overflow bugs.
41081 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41084 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41085 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41086 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41088 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41089 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41090 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41091 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41094 (USE_AS_STRCAT): Define.
41095 Add strcat and strncat support.
41096 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41098 2011-07-25 Andreas Schwab <schwab@redhat.com>
41100 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41101 __n bigger than INT_MAX+1.
41102 (__strncmp_g): Likewise.
41104 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41106 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41107 * libio/stido.h: Likewise.
41109 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41111 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41114 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41115 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41117 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41118 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41121 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41124 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41126 (_dl_x86_64_save_sse): Likewise.
41128 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41130 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41132 (_dl_x86_64_save_sse): Likewise.
41134 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41136 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41138 2011-07-21 Andreas Schwab <schwab@redhat.com>
41140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41142 (_dl_x86_64_save_sse): Use correct AVX check.
41144 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41146 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41147 bug in strncpy/strncat.
41148 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41150 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41152 * string/tester.c (test_strcat): Add tests for different alignments
41153 of source and destination.
41154 (test_strncat): Likewise.
41156 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41159 * posix/glob.c (glob): Check passed in values before using them in
41160 expressions to avoid some overflows.
41161 (glob_in_dir): Likewise.
41164 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41165 check for AVX enablement so that we don't crash with old kernels and
41167 * elf/tst-audit4.c: Add same checks here.
41168 * elf/tst-audit6.c: Likewise.
41170 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41172 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41174 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41176 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41178 * po/cs.po: Update from translation team.
41179 * po/bg.po: Likewise.
41181 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41183 * misc/sys/cdefs.h: Add support for const attribute.
41184 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41185 to gnu_dev_{major,minor,makedev} functions.
41187 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41189 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41191 2011-07-20 Andreas Schwab <schwab@redhat.com>
41193 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41196 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41199 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41200 register in order to avoid conflicts with the soft frame pointer
41201 being held in r11 when necessary.
41202 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41203 (INTERNAL_VSYSCALL_NCS): Likewise.
41205 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41207 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41208 * elf/dl-fini.c (_dl_fini): Adjust caller.
41209 * elf/dl-close.c (_dl_close_worker): Likewise.
41210 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41212 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41214 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41215 "aux_cache->nlibs < 0".
41217 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41218 in the reload-count case.
41220 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41223 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41224 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41225 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41226 * sysdeps/x86_64/multiarch/strcat.S: New file.
41227 * sysdeps/x86_64/multiarch/strncat.S: New file.
41228 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41229 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41230 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41231 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41232 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41233 (USE_AS_STRCAT): Define.
41234 Add strcat and strncat support.
41235 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41236 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41237 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41238 * string/strncat.c: Update.
41239 (USE_AS_STRNCAT): Define.
41240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41241 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41243 * sysdeps/x86_64/multiarch/init-arch.h
41244 (bit_Prefer_PMINUB_for_stringop): New.
41245 (index_Prefer_PMINUB_for_stringop): Likewise.
41246 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41247 bit_Prefer_PMINUB_for_stringop.
41249 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41251 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41253 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41254 of casting of buffer.
41255 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41256 buffer32 and buffer64.
41257 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41258 writes instead of casting of buffer.
41259 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41261 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41264 2011-07-19 Andreas Schwab <schwab@redhat.com>
41266 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41268 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41270 * nscd/nscd.c (termination_handler): Don't do anything for a database
41271 if it has not yet been initialized.
41273 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41275 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41277 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41279 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41281 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41283 * po/nl.po: Update from translation team.
41284 * po/sv.po: Likewise.
41286 2011-07-16 Roland McGrath <roland@hack.frob.com>
41288 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41289 now disallowed by GCC.
41291 * configure.in (use-default-link): Default to yes if a test -shared
41292 link meets our qualifications.
41293 * configure: Regenerated.
41295 * config.make.in (output-format): New variable.
41296 * configure.in: Check for ld --print-output-format support.
41297 * configure: Regenerated.
41298 * Makerules ($(common-objpfx)format.lds)
41299 [$(output-format) != unknown]: Just use $(output-format),
41300 instead of the linker-script munging.
41302 2011-07-14 Roland McGrath <roland@hack.frob.com>
41304 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41305 of $(common-objpfx)shlib.lds.
41306 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41308 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41309 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41311 * configure.in (-z relro check): Adjust test code to add a large
41312 writable data section after it.
41313 * configure: Regenerated.
41315 2011-07-11 Roland McGrath <roland@hack.frob.com>
41317 * configure.in (-z relro check): Fix test code to make the variable
41319 * configure: Regenerated.
41321 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41323 * nscd/nscd.h (struct traced_file): Define.
41324 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41325 elements. Add traced_files.
41326 (inotify_fd): Declare.
41327 (register_traced_file): Declare.
41328 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41329 (inotify_fd): Export.
41330 (resolv_conf_descr): Remove.
41331 (nscd_init): Move inotify descriptor creation to main.
41332 Don't register files for notification here.
41333 (register_traced_file): New function.
41334 (invalidate_cache): Don't use reset_res to determine whether to call
41335 res_init, go through the list of registered files.
41336 (main_loop_poll): The inotify descriptors are now stored in the
41337 structures for the traced files.
41338 (main_loop_epoll): Likewise
41339 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41340 to __nss_disable_nscd.
41341 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41342 for a database anymore. Check the records for all the registered
41344 * nss/Makefile (libnss_files-routines): Add files-init.
41345 (libnss_db-routines): Add db-init.
41346 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41347 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41348 * nss/nss_db/db-init.c: New file.
41349 * nss/nss_files/files-init.c: New file.
41350 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41351 __nss_lookup_function.
41352 (__nss_lookup_function): Call nss_load_library.
41353 (nss_load_all_libraries): New function.
41354 (__nss_disable_nscd): Take parameter with callback function for files
41355 to register. Set is_nscd. Load all the DSOs for the NSS modules
41356 used for the cached services.
41357 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41358 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41359 options for features to all the files in nscd.
41361 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41363 2011-07-10 Roland McGrath <roland@hack.frob.com>
41365 * csu/elf-init.c (__libc_csu_init): Comment typo.
41367 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41369 * po/pl.po: Update from translation team.
41370 * po/ja.po: Likewise.
41371 * po/ru.po: Likewise.
41372 * po/ko.po: Likewise.
41373 * po/fr.po: Likewise.
41375 2011-07-09 Roland McGrath <roland@hack.frob.com>
41377 * configure.in (.ctors/.dtors header and trailer check):
41378 Use an empirical test on a built program.
41379 * configure: Regenerated.
41381 * configure.in (-z relro check): Use an empirical test on a built DSO.
41382 Detect, but do not require, on ia64.
41383 * configure: Regenerated.
41385 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41386 Update tests that use readelf to use $READELF instead.
41387 * configure: Regenerated.
41389 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41391 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41392 if the result is not used.
41394 2011-07-05 Andreas Jaeger <aj@suse.de>
41397 * stdlib/tst-strtod.c: Add testcase.
41399 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41401 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41402 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41403 The latter has a higher limit. Take additional parameter to pass to
41405 (__pathconf): Pass file to __statfs_link_max.
41406 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41408 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41412 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41413 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41415 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41416 (__statfs_filesize_max): Likewise.
41417 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41419 2011-07-05 Andreas Jaeger <aj@suse.de>
41421 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41423 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41425 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41427 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41430 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41432 * Makefile (strop-tests): Add strncat.
41433 * string/test-strncat.c: New file.
41435 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41437 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41439 2011-06-21 Andreas Jaeger <aj@suse.de>
41441 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41442 Copy rule from iconvdata/Makefile.
41444 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41447 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41448 but no long options are defined, just return 'W'.
41450 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41453 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41455 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41457 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41459 (innetgr): Likewise.
41461 2011-07-05 Roland McGrath <roland@hack.frob.com>
41463 * config.make.in (install_root): Default to $(DESTDIR).
41465 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41467 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41469 2011-07-02 Roland McGrath <roland@hack.frob.com>
41471 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41473 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41474 containing directory rather than embedding absolute directory names.
41476 * scripts/check-local-headers.sh: Rewritten using awk.
41477 Match by word, not by line. Print error messages for matches.
41478 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41480 * Makerules [shlib-lds-flags empty]:
41481 ($(common-objpfx)libc_pic.opts): New target.
41482 ($(common-objpfx)libc_pic.os.clean): New target.
41483 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41485 * config.make.in (OBJCOPY): New variable.
41486 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41487 * configure: Regenerated.
41489 * config.make.in (use-default-link): New variable.
41490 * configure.in (use_default_link): Grok --with-default-link to set it.
41491 * configure: Regenerated.
41492 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41493 (shlib-lds, shlib-lds-flags): Define to empty.
41495 * Makerules (shlib-lds): New variable.
41496 (shlib-lds-flags): New variable.
41497 (build-shlib, build-moduile, build-module-asneeded): Use it.
41498 ($(common-objpfx)libc.so): Use $(shlib-lds).
41499 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41500 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41502 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41503 DT_FLAGS/DT_FLAGS_1 with zero flags.
41505 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41506 linker script munging.
41508 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41510 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41512 * crypt/sha512.c (sha512_process_block): Perform total addition using
41513 128-bit if possible.
41514 (__sha512_finish_ctx): Likewise.
41515 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41517 * crypt/sha256.c (SWAP64): Define.
41518 (sha256_process_block): Perform total addition using 64-bit if
41520 (__sha256_finish_ctx): Likewise.
41522 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41524 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41525 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41526 * nscd/hstcache.c (cache_addhst): Likewise.
41527 * nscd/grpcache.c (cache_addgr): Likewise.
41528 * nscd/aicache.c (addhstaiX): Likewise
41529 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41531 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41533 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41534 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41535 * nscd/hstcache.c (cache_addhst): Likewise.
41536 * nscd/grpcache.c (cache_addgr): Likewise.
41537 * nscd/aicache.c (addhstaiX): Likewise
41539 2011-07-01 Andreas Schwab <schwab@redhat.com>
41541 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41542 domain only when needed.
41544 2011-06-30 Andreas Schwab <schwab@redhat.com>
41546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41547 is always restored.
41549 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41551 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41552 are re-adding the entry.
41553 * nscd/servicescache.c (cache_addserv): Likewise.
41555 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41557 * sysdeps/generic/dl-irel.h: fix protection against multiple
41559 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41561 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41564 * malloc/memusage.sh: Fix quoting in message.
41565 * debug/xtrace.sh: Likewise.
41567 * configure.in: Remove support for --experimental-malloc option, make
41569 * config.make.in: Likewise.
41570 * malloc/Makefile: Likewise.
41572 2011-06-27 Andreas Schwab <schwab@redhat.com>
41574 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41575 two-byte characters.
41577 2011-06-27 Roland McGrath <roland@hack.frob.com>
41579 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41580 AC_CACHE_CHECK invocation.
41581 * configure: Regenerated.
41583 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41585 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41588 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41589 bit from old_res_options.
41591 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41593 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41594 value type for setfct.
41596 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41599 __gettimeofday instead of gettimeofday.
41601 2011-06-26 Ulrich Drepper <drepper@gmail.com>
41603 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41605 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41607 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41609 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41612 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41615 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41616 strcpy-sse2-unaligned strncpy-sse2-unaligned
41617 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41618 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41619 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41620 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41621 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41622 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41623 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41624 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41625 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41626 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41627 (STRCPY): Support SSE2 and SSSE3 versions.
41629 2011-06-24 Ulrich Drepper <drepper@gmail.com>
41632 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41633 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41634 kernels which artificially limit size of requests.
41636 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41639 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41640 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41641 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41642 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41643 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41644 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41645 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41646 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41647 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41648 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41649 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41650 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41651 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41652 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41654 Enable unaligned load optimization for Intel Core i3, i5 and i7
41656 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41658 (index_Fast_Unaligned_Load): Define.
41659 (HAS_FAST_UNALIGNED_LOAD): Define.
41661 2011-06-23 Marek Polacek <mpolacek@redhat.com>
41663 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41665 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41668 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41669 until it is clear that the information is realy needed.
41670 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41672 2011-06-22 Andreas Schwab <schwab@redhat.com>
41674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41676 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41679 /sys/devices/system/cpu/online if it is usable.
41681 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41682 reading the information from the /proc filesystem to once a second.
41684 2011-06-21 Andreas Jaeger <aj@suse.de>
41686 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41687 NULL after inclusion of kernel headers.
41689 2011-06-21 Ulrich Drepper <drepper@gmail.com>
41691 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41692 calls to internal_setent.
41695 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41696 addresses using gethostbyname4_r ignore IPv4 addresses.
41698 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41699 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41701 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41703 2011-06-20 David S. Miller <davem@davemloft.net>
41705 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41707 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41709 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41710 (elf_irel): Use it.
41711 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41712 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41713 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41714 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41715 * sysdeps/x86_64/dl-irel.h: Likewise.
41717 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41718 * elf/dl-sym.c: Likewise.
41720 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41722 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41723 need to dereference resplen2.
41725 2011-06-14 Andreas Schwab <schwab@redhat.com>
41727 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41729 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41731 * Makeconfig: Define vardbdir and inst_vardbdir.
41732 * nss/Makefile: Add rules to install db-Makefile.
41734 * nss/nss_db/db-XXX.c: Cleanup.
41736 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41737 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41739 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41740 * nss/makedb.c: Implement -g option to specify that value strings
41741 are generated and should not be added to table iterated over for
41743 * nss/nss_db/db-initgroups.c: New file.
41745 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41748 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41749 (internal_getgrouplist): Adjust to name change.
41750 Update use_initgroups_entry if this is not the first call.
41751 * nss/databases.def: Add initgroups entry.
41753 * nss/makedb.c (compute_tables): Check result of multiple hash table
41754 sizes to minimize maximum chain length.
41756 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41758 * Versions.def: Add entry for libnss_db.
41759 * shlib-versions: Likewise.
41760 * nss/Makefile: Add rules to build libnss_db.
41761 * nss/Versions: Add libnss_db information. Organize libnss_files
41763 * nss/db-Makefile: Add gshadow support. Change rules for the new
41764 makedb progra. Some minor improvements to generate smaller files.
41765 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41767 * nss/makedb.c: ...here.
41768 Improve database format to be smaller and require less memory at
41770 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41772 * nss/nss_db/db-netgrp.c: Likewise.
41773 * nss/nss_db/db-open.c: Likewise.
41774 * nss/nss_files/flies-XXX.x: Adjust comments.
41775 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41776 * nss/nss_files/files-grp.c: Likewise.
41777 * nss/nss_files/files-hosts.c: Likewise.
41778 * nss/nss_files/files-network.c: Likewise.
41779 * nss/nss_files/files-proto.c: Likewise.
41780 * nss/nss_files/files-pwd.c: Likewise.
41781 * nss/nss_files/files-rpc.c: Likewise.
41782 * nss/nss_files/files-service.c: Likewise.
41783 * nss/nss_files/files-sgrp.c: Likewise.
41784 * nss/nss_files/files-spwd.c: Likewise.
41785 * nss/nss_db/db-alias.c: Removed.
41786 * nss/nss_db/dummy-db.h: Removed.
41788 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41790 * nss/makedb.c: Rewritten to not use database library.
41791 * nss/Makefile: Update to build new makedb program.
41793 2011-06-14 Andreas Jaeger <aj@suse.de>
41795 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41796 memset declaration.
41798 2011-06-10 Andreas Schwab <schwab@redhat.com>
41800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41803 2011-06-10 Roland McGrath <roland@hack.frob.com>
41805 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41806 * elf/Makefile ($(objpfx)ld.so): Likewise.
41808 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41809 Don't list ld.so twice in dependencies.
41811 * posix/bug-regex31.c: Include <stdlib.h>.
41813 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41815 * nis/nss_compat/compat-spwd.c
41816 (getspent_next_nss_netgr): Remove unused variable.
41817 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41819 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41820 nonmembers" output to use the right array.
41822 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41824 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41826 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41827 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41828 * catgets/gencat.c (read_input_file): Likewise.
41829 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41831 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41832 variable definition inside #if's controlling its use.
41834 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41836 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41838 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41840 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41843 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41845 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41846 * configure: Regenerated.
41848 * Makerules: Revert last change.
41849 * elf/Makefile: Likewise.
41851 2011-06-09 Roland McGrath <roland@hack.frob.com>
41853 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41854 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41855 (reloc-link): Likewise.
41857 2011-06-09 Ulrich Drepper <drepper@gmail.com>
41859 * elf/Makefile: Add rules to build pldd.
41860 * elf/pldd.c: New file.
41861 * elf/pldd-xx.c: New file.
41863 2011-06-07 Ulrich Drepper <drepper@gmail.com>
41865 * version.h: Update for 2.15 development version.
41867 2011-06-07 David S. Miller <davem@davemloft.net>
41869 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41871 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41872 elf_machine_lazy_rel): Likewise.
41873 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41874 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41875 elf_machine_lazy_rel): Likewise.
41876 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41877 dl_hwcap via passed in argument.
41878 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41881 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41883 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41885 2011-06-06 Roland McGrath <roland@hack.frob.com>
41888 * manual/fdl-1.1.texi: New file, verbatim from:
41889 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41890 * manual/lgpl-2.1.texi: New file, verbatim from:
41891 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41892 * manual/Makefile (licenses): New variable, list those new file names.
41894 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41896 * manual/fdl.texi: File removed.
41897 * manual/lesser.texi: File removed.
41898 * manual/libc.texinfo (Copying, Documentation License):
41899 Use new @include file names, put @appendix directive before @include.
41901 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41904 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41905 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41906 (mq_open): Add __NTH.
41908 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41911 Assume Intel Core i3/i5/i7 processor if AVX is available.
41913 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41915 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41918 2011-05-31 Andreas Schwab <schwab@redhat.com>
41920 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41921 memory. Use alloca_account. Fix memory leak when retrying.
41923 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41925 * version.h (RELEASE): Bump for 2.14 release.
41926 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41928 * config.make.in (RANLIB): Remove entry.
41930 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41932 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41933 (libc.pot): Work around missing support for .ksh extension in xgettext.
41936 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41937 if both request failed.
41938 (send_dg): In case of server errors clear resplen or *resplen2.
41941 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41942 when there are multiple maps.
41943 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41944 (_dl_fini): Remove test here.
41946 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41948 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41951 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41952 bit from old_res_options.
41953 (gaih_inet): Likewise.
41956 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41959 * resolv/res_init.c (res_setoptions): Make the code more compact.
41962 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41966 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41968 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41971 * malloc/malloc.h: Declare malloc hook variables as volatile.
41973 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41977 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41978 raise in the comment.
41979 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41980 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41981 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41983 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41986 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41987 grow the buffers more if it already has to be sufficient.
41988 (build_wcs_upper_buffer): Likewise.
41989 * posix/regexec.c (check_matching): Likewise.
41990 (clean_state_log_if_needed): Likewise.
41991 (extend_buffers): Don't enlarge buffers beyond size of the input
41993 Patches mostly by Emil Wojak <emil@wojak.eu>.
41994 * posix/bug-regex32.c: New file.
41995 * posix/Makefile (tests): Add bug-regex32.
41997 * locale/findlocale.c (_nl_find_locale): Return right away if
41998 _nl_explode_name failed.
41999 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42001 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42003 * debug/xtrace.sh: Unify messages.
42004 * malloc/memusage.sh: Likewise.
42007 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42008 time symbol from vDSO. Substitute with vsyscall if not available.
42009 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42012 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42013 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42014 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42015 Add sendmmsg and internal_sendmmsg.
42016 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42017 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42018 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42020 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42021 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42022 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42024 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42027 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42028 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42030 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42034 * iconvdata/Makefile (tests): Add bug-iconv9.
42035 * iconvdata/bug-iconv9.c: New file.
42037 2011-05-27 Andreas Schwab <schwab@redhat.com>
42040 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42042 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42044 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42045 (struct user_regs_struct): Change intcs field back to cs.
42047 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42049 * po/ja.po: Update from translation team.
42051 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42054 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42055 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42057 2011-05-20 Andreas Schwab <schwab@redhat.com>
42059 * stdlib/longlong.h: Update from GCC.
42061 2011-05-23 Andreas Schwab <schwab@redhat.com>
42063 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42065 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42066 Add parameter name.
42067 (__sysconf): Pass it down.
42069 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42072 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42074 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42075 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42076 add in in __libc_use_alloca calls. Adjust callers.
42077 (glob): Use malloc in some situations.
42079 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42080 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42083 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42085 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42086 and CLOCK_BOOTTIME_ALARM.
42089 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42092 * string/_strerror.c (__strerror_r): Print negative errors as signed
42096 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42097 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42098 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42100 * configure.in: Fix typo in redirection and correct removal of test
42101 files in two cases.
42104 * locale/setlocale.c (new_composite_name): Fix test to check for
42105 identical name of all categories.
42108 * libio/filedoalloc.c (local_isatty): New function.
42109 (_IO_file_doallocate): Use local_isatty.
42110 * stdio-common/perror.c (perror): In case a new stream is used
42111 forward the stream error.
42112 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42115 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42120 * include/alloca.h (extend_alloca_account): Define.
42123 * posix/regex.h: Fix comments with documentation of user-accessible
42124 fields after compilation and describe correct free'ing of pattern
42125 after re_compile_pattern.
42126 Patch by Reuben Thomas <rrt@sc3d.org>.
42128 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42130 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42131 and -mno-altivec to prevent the compiler from using Altivec and/or
42132 VSX instructions when the corresponding registers are not available.
42134 2011-05-19 Andreas Schwab <schwab@redhat.com>
42136 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42138 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42140 * libio/freopen.c (freopen): Use __dup2, not dup2.
42141 * libio/freopen64.c (freopen64): Likewise.
42143 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42146 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42147 * math/Makefile (tests): Add test-powl.
42148 (CFLAGS-test-powl.c): Define.
42149 * math/test-powl.c: New file.
42151 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42153 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42155 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42158 * iconvdata/gb18030.c: Update to GB18020-2005.
42160 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42162 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42163 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42164 Patch by Aharon Robbins <arnold@skeeve.com>.
42167 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42171 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42172 through underflows.
42175 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42176 point to strings before performing equality test for error_one_per_line
42180 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42183 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42184 (struct user_fpregs_struct): Avoid __uint*_t types.
42187 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42188 symbol info. Use it instead of calling _dl_addr locally.
42189 (lock_and_info): New function.
42190 (tr_freehook): Call lock_and_info and pass symbol info as additional
42191 parameter to tr_where.
42192 (tr_mallochook): Likewise.
42193 (tr_reallochook): Likewise.
42194 (tr_memalignhook): Likewise.
42196 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42197 used and couldn't be at all thread-safe.
42199 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42201 * libio/freopen.c (freopen): Don't close old file descriptor
42202 before the new one is opened. Instead dup the new file descriptor
42203 to the old one after the new stream is created.
42204 * libio/freopen64.c (freopen64): Likewise.
42205 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42206 * libio/fileops.c (_IO_new_file_close_it): Handle new
42207 _IO_FLAGS2_NOCLOSE flag.
42208 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42209 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42210 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42211 _IO_FLAGS2_NOCLOSE flag.
42212 * include/unistd.h: Add hidden_proto for dup3.
42213 Define __have_dup3.
42214 * io/dup3.c: Define hidden symbol.
42215 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42218 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42219 when an incomplete long option is used.
42220 * posix/tst-getopt_long1.c: New file.
42221 * posix/Makefile (tests): Add tst-getopt_long1.
42224 * scripts/config.guess: Update from autoconf-2.68.
42225 * scripts/config.sub: Likewise.
42228 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42230 (has_cpuclock): ...this. New function.
42231 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42232 macro here based on has_cpuclock code.
42235 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42236 First byte (not low byte) is now always NUL.
42237 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42239 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42240 Use non-cancelable interfaces.
42243 * locale/iso-639.def: Add entry for Sorani.
42246 * include/stdlib.h: Move include protection to the right place.
42247 Define abort_msg_s. Declare __abort_msg with it.
42248 * stdlib/abort.c (__abort_msg): Adjust type.
42249 * assert/assert.c (__assert_fail_base): New function. Majority
42250 of code from __assert_fail. Allocate memory for __abort_msg with
42252 (__assert_fail): Now call __assert_fail_base.
42253 * assert/assert-perr.c: Remove bulk of implementation. Use
42254 __assert_fail_base.
42255 * include/assert.hL Declare __assert_fail_base.
42256 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42258 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42260 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42264 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42265 until all modules are registered in the DTV.
42266 * elf/Makefile: Add rules to build and run tst-tls19.
42267 * elf/tst-tls19.c: New file.
42268 * elf/tst-tls19mod1.c: New file.
42269 * elf/tst-tls19mod2.c: New file.
42270 * elf/tst-tls19mod3.c: New file.
42271 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42274 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42278 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42279 two-byte sequence errors.
42280 * iconvdata/Makefile (tests): Add bug-iconv8.
42281 * iconvdata/bug-iconv8.c: New file.
42284 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42287 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42290 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42291 (dummy_getcfa): New function.
42292 (init): Get _Unwind_GetCFA address, use dummy if not found.
42293 (backtrace_helper): In recursion check, also check whether CFA changes.
42294 (__backtrace): Completely initialize arg.
42296 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42297 storing incomplete byte sequence in state object. Avoid testing for
42298 guaranteed too small input if we know there is enough data available.
42300 2011-05-11 Andreas Schwab <schwab@redhat.com>
42302 * Makeconfig (+link-pie): Indent.
42303 * Rules (binaries-pie): Define if $(have-fpie) and
42305 (binaries-shared): Also filter out $(binaries-pie).
42306 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42307 * nscd/Makefile (others-pie): Add nscd.
42308 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42309 ($(objpfx)nscd): Remove command override.
42310 * login/Makefile (others-pie): Add pt_chown.
42311 ($(objpfx)pt_chown): Remove command override.
42312 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42313 remove command overrides.
42315 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42317 * libio/tst_putwc.c: Fix error messages.
42320 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42321 currently writing and seek to current position when not.
42322 * libio/Makefile (tests): Add bug-fclose1.
42323 * libio/bug-fclose1.c: New file.
42325 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42328 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42329 don't set DF_1_NODELETE here.
42330 (do_lookup_x): When entering new entry test for copy relocation
42331 and if necessary set DF_1_NODELETE flag.
42332 * elf/tst-unique4.cc: New file.
42333 * elf/tst-unique4.h: New file.
42334 * elf/tst-unique4lib.cc: New file.
42335 * elf/Makefile: Add rules to build and run tst-unique4.
42336 Patch by Piotr Bury <pbury@goahead.com>.
42338 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42341 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42344 * misc/mntent_r.c (addmntent): Flush the stream after the output
42347 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42348 (is_trusted_path_normalize): Skip initial colon. Append slash
42349 to empty buffer. Duplicate is_trusted_path code but allow
42350 constructed patch to be prefix.
42351 (is_dst): Allow $ORIGIN followed by /.
42352 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42353 Correct testing of result of is_trusted_path_normalize
42354 (decompose_rpath): Fix warning.
42356 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42359 * grp/initgroups.c (internal_getgrouplist): When we found the service
42360 list through the initgroups entry in nsswitch.conf do not always
42361 continue on a successful lookup. Don't always use the
42362 __nss_group_database value if it is set.
42363 * nss/nsswitch.conf (initgroups): Change action for successful db
42364 lookup to continue for compatibility.
42366 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42369 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42371 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42373 * iconvdata/tst-tables.sh: Likewise.
42374 * iconvdata/cp770.c: New file.
42375 * iconvdata/cp771.c: New file.
42376 * iconvdata/cp772.c: New file.
42377 * iconvdata/cp773.c: New file.
42378 * iconvdata/cp774.c: New file.
42379 * iconvdata/testdata/CP770: New file.
42380 * iconvdata/testdata/CP770..UTF8: New file.
42381 * iconvdata/testdata/CP771: New file.
42382 * iconvdata/testdata/CP771..UTF8: New file.
42383 * iconvdata/testdata/CP772: New file.
42384 * iconvdata/testdata/CP772..UTF8: New file.
42385 * iconvdata/testdata/CP773: New file.
42386 * iconvdata/testdata/CP773..UTF8: New file.
42387 * iconvdata/testdata/CP774: New file.
42388 * iconvdata/testdata/CP774..UTF8: New file.
42390 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42392 * iconvdata/gen-8bit-gap.sh: Likewise.
42393 * iconvdata/gen-8bit.sh: Likewise.
42395 * locale/iso-639.def: Add ary entry.
42398 * locale/C-translit.h.in: Add U20A1 transliteration.
42401 * locale/iso-639.def: Add wae entry.
42402 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42405 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42409 * locale/C-translit.h.in: Add entry for U20B9.
42410 Patch by pravin.d.s@gmail.com.
42412 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42415 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42416 ENAMETOOLONG use generic getcwd.
42417 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42418 in rtld. Use *stat64.
42419 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42420 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42421 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42422 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42423 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42424 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42425 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42426 __fstatat64 macros.
42427 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42428 * dirent/rewinddir.c: Add libc_hidden_def.
42429 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42430 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42432 * include/dirent.h (__alloc_dir): Add flags parameter.
42433 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42434 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42436 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42437 from fdopendir if O_CLOEXEC is already set.
42439 2011-03-15 Alan Modra <amodra@gmail.com>
42441 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42442 l_tls_firstbyte_offset non-zero. Save padding offset in
42443 l_tls_firstbyte_offset for later use.
42444 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42445 freeing static tls block.
42447 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42449 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42450 where #ifdef was intended. The intent is to prevent ARG_MAX from
42451 being defined by the kernel headers.
42453 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42456 * resolv/resolv.h: Define RES_NOTLDQUERY.
42457 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42458 no-tld-query and set RES_NOTLDQUERY.
42459 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42460 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42461 modern BIND to search name as TLD unless forbidden.
42463 2011-05-07 Petr Baudis <pasky@suse.cz>
42464 Ulrich Drepper <drepper@gmail.com>
42467 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42468 (is_trusted_path): ...to here.
42469 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42470 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42471 using is_trusted_path_normalize() in setuid scripts.
42473 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42475 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42476 __BEGIN/__END_DECLS.
42478 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42480 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42481 NSS_STATUS_NOTFOUND if no record was found.
42483 2011-05-05 Andreas Schwab <schwab@redhat.com>
42485 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42486 (headers-not-in-tirpc): Remove rpc/netdb.h
42487 * resolv/netdb.h: Revert last change.
42489 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42491 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42492 circular dependency between libgcc.a and libc.a.
42494 2011-05-05 Andreas Schwab <schwab@redhat.com>
42496 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42497 * nis/Makefile: Don't install rpcsvc/*.
42498 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42499 instead of <rpc/types.h>.
42500 (MAXHOSTNAMELEN): Define.
42502 2011-05-03 Andreas Schwab <schwab@redhat.com>
42504 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42506 2011-04-28 Maciej Babinski <mbabinski@google.com>
42509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42510 gethostbyname4_r when IPv6 results are possible.
42512 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42515 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42516 _PC_PIPE_BUF handling.
42518 2011-04-30 Bruno Haible <bruno@clisp.org>
42521 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42522 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42524 * inet/getnameinfo.c (getnameinfo): Likewise.
42526 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42528 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42529 to groups setting in database lookup.
42530 * nss/nsswitch.conf: Add initgroups entry.
42532 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42535 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42537 Patch by Eric Blake <eblake@redhat.com>.
42539 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42541 * sunrpc/Makefile (need-export-routines): Add svc_run.
42542 (routines): Remove svc_run.
42543 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42544 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42545 * sunrpc/svc_run.c (svc_run): Likewise.
42546 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42548 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42550 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42551 problem in reallocation in last patch.
42553 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42555 * sunrpc/Makefile: Move inclusion of Rules.
42557 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42559 * nss/nss_files/files-initgroups.c: New file.
42560 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42561 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42562 _nss_files_initgroups_dyn.
42564 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42566 * elf/elf.h (R_ARM_IRELATIVE): Define.
42568 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42570 * po/ru.po: Update from translation team.
42572 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42574 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42577 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42580 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42581 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42582 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42583 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42584 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42586 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42588 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42590 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42591 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42592 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42594 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42597 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42599 * stdlib/bug-getcontext.c: New file.
42600 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42602 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42604 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42605 instructions into .machine "z9-109".
42606 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42607 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42609 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42611 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42612 between environment variables and auxiliary vector.
42614 2011-04-16 Ulrich Drepper <drepper@gmail.com>
42616 * Makefile: Add rules to build linkobj/libc.so.
42617 * include/libc-symbols.h: Define libc_hidden_nolink.
42618 * include/rpc/auth.h: Mark functions which are to be hidden.
42619 * include/rpc/auth_des.h: Likewise.
42620 * include/rpc/auth_unix.h: Likewise.
42621 * include/rpc/clnt.h: Likewise.
42622 * include/rpc/des_crypt.h: Likewise.
42623 * include/rpc/key_prot.h: Likewise.
42624 * include/rpc/pmap_clnt.h: Likewise.
42625 * include/rpc/pmap_prot.h: Likewise.
42626 * include/rpc/pmap_rmt.h: Likewise.
42627 * include/rpc/rpc_msg.h: Likewise.
42628 * include/rpc/svc.h: Likewise.
42629 * include/rpc/svc_auth.h: Likewise.
42630 * include/rpc/xdr.h: Likewise.
42631 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42632 * nss/Makefile: Likewise.
42633 * sunrpc/Makefile: Don't install headers. Build library with normal
42634 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42635 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42636 for the compat linking library. Remove use of INTDEF/INTUSE.
42637 * sunrpc/auth_none.c: Likewise.
42638 * sunrpc/auth_unix.c: Likewise.
42639 * sunrpc/authdes_prot.c: Likewise.
42640 * sunrpc/authuxprot.c: Likewise.
42641 * sunrpc/clnt_gen.c: Likewise.
42642 * sunrpc/clnt_perr.c: Likewise.
42643 * sunrpc/clnt_raw.c: Likewise.
42644 * sunrpc/clnt_simp.c: Likewise.
42645 * sunrpc/clnt_tcp.c: Likewise.
42646 * sunrpc/clnt_udp.c: Likewise.
42647 * sunrpc/clnt_unix.c: Likewise.
42648 * sunrpc/des_crypt.c: Likewise.
42649 * sunrpc/des_soft.c: Likewise.
42650 * sunrpc/get_myaddr.c: Likewise.
42651 * sunrpc/key_call.c: Likewise.
42652 * sunrpc/key_prot.c: Likewise.
42653 * sunrpc/netname.c: Likewise.
42654 * sunrpc/pm_getmaps.c: Likewise.
42655 * sunrpc/pm_getport.c: Likewise.
42656 * sunrpc/pmap_clnt.c: Likewise.
42657 * sunrpc/pmap_prot.c: Likewise.
42658 * sunrpc/pmap_prot2.c: Likewise.
42659 * sunrpc/pmap_rmt.c: Likewise.
42660 * sunrpc/publickey.c: Likewise.
42661 * sunrpc/rpc_cmsg.c: Likewise.
42662 * sunrpc/rpc_common.c: Likewise.
42663 * sunrpc/rpc_dtable.c: Likewise.
42664 * sunrpc/rpc_prot.c: Likewise.
42665 * sunrpc/rpc_thread.c: Likewise.
42666 * sunrpc/rtime.c: Likewise.
42667 * sunrpc/svc.c: Likewise.
42668 * sunrpc/svc_auth.c: Likewise.
42669 * sunrpc/svc_authux.c: Likewise.
42670 * sunrpc/svc_raw.c: Likewise.
42671 * sunrpc/svc_run.c: Likewise.
42672 * sunrpc/svc_simple.c: Likewise.
42673 * sunrpc/svc_tcp.c: Likewise.
42674 * sunrpc/svc_udp.c: Likewise.
42675 * sunrpc/svc_unix.c: Likewise.
42676 * sunrpc/svcauth_des.c: Likewise.
42677 * sunrpc/xcrypt.c: Likewise.
42678 * sunrpc/xdr.c: Likewise.
42679 * sunrpc/xdr_array.c: Likewise.
42680 * sunrpc/xdr_float.c: Likewise.
42681 * sunrpc/xdr_intXX_t.c: Likewise.
42682 * sunrpc/xdr_mem.c: Likewise.
42683 * sunrpc/xdr_rec.c: Likewise.
42684 * sunrpc/xdr_ref.c: Likewise.
42685 * sunrpc/xdr_sizeof.c: Likewise.
42686 * sunrpc/xdr_stdio.c: Likewise.
42688 2011-04-10 Ulrich Drepper <drepper@gmail.com>
42691 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42692 * sysdeps/ia64/dl-tls.h: Likewise.
42693 * sysdeps/powerpc/dl-tls.h: Likewise.
42694 * sysdeps/s390/dl-tls.h: Likewise.
42695 * sysdeps/sh/dl-tls.h: Likewise.
42696 * sysdeps/sparc/dl-tls.h: Likewise.
42697 * sysdeps/x86_64/dl-tls.h: Likewise.
42698 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42700 2011-03-14 Andreas Schwab <schwab@redhat.com>
42702 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42703 rpath element also skip the following colon.
42704 (expand_dynamic_string_token): Add is_path parameter and pass
42705 down to DL_DST_REQUIRED and _dl_dst_substitute.
42706 (decompose_rpath): Call expand_dynamic_string_token with
42707 non-zero is_path. Ignore empty rpaths.
42708 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42711 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42716 2011-04-09 Ulrich Drepper <drepper@gmail.com>
42719 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42720 Patch by Filipe David Manana <fdmanana@apache.org>.
42722 2011-04-07 Andreas Schwab <schwab@redhat.com>
42724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42725 Maintain aligned stack.
42726 (CHECK_RSP): Remove unused macro.
42728 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42730 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42731 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42733 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42735 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42737 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42739 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42742 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42743 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42744 * sysdeps/x86_64/memmove.c: New file.
42745 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42746 (memcpy): Renamed to ...
42747 (__new_memcpy): This.
42748 (memcpy): Provide GLIBC_2_14 memcpy.
42749 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42750 (memcpy): Provide GLIBC_2_2_5 memcpy.
42752 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42755 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42757 2011-03-30 Andreas Schwab <schwab@redhat.com>
42759 * misc/syncfs.c: New file.
42760 * misc/Makefile (routines): Add syncfs.
42761 * posix/unistd.h: Declare syncfs.
42762 * sysdeps/unix/syscalls.list: Add syncfs.
42764 2011-04-01 Andreas Schwab <schwab@redhat.com>
42766 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42769 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42771 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42773 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42774 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42776 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42778 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42779 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42780 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42786 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42787 sync_file_range.c with -fexceptions.
42788 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42789 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42790 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42791 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42792 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42793 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42794 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42795 sync_file_range as cancellation point
42796 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42797 now a wrapper around __call_sync_file_range with cancellation handling.
42798 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42799 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42800 function name to __call_sync_file_range.
42801 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42802 Add call_sync_file_range.
42804 2011-04-01 Andreas Schwab <schwab@redhat.com>
42806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42809 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42811 * iconv/iconv.h: Fix typo in comment.
42812 * io/fcntl.h: Likewise.
42813 * libio/stdio.h: Likewise.
42814 * posix/spawn.h: Likewise.
42815 * posix/unistd.h: Likewise.
42816 * stdlib/stdlib.h: Likewise.
42817 * time/time.h: Likewise.
42818 * wcsmbs/wchar.h: Likewise.
42820 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42821 open_by_handle): Add.
42822 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42823 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42824 Augment a few comments.
42825 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42827 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42829 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42830 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42833 * io/fcntl.h (AT_EMPTY_PATH): Define.
42835 2011-03-30 Ulrich Drepper <drepper@gmail.com>
42837 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42838 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42839 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42841 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42842 * Versions.def: Add GLIBC_2.14.
42843 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42846 2011-03-22 Ulrich Drepper <drepper@gmail.com>
42848 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42850 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42852 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42855 * string/test-strncmp.c (do_page_test): New function.
42856 (check2): Likewise.
42857 (test_main): Call check2.
42858 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42860 2011-03-20 Ulrich Drepper <drepper@gmail.com>
42863 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42864 Handle cache information in CPU leaf 4.
42865 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42867 2011-03-18 Ulrich Drepper <drepper@gmail.com>
42870 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42871 character representation.
42872 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42874 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42876 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42877 END(__isnan) to END(__isnanf) to match function entry point/label
42878 EALIGN(__isnanf,...).
42880 2011-03-10 Jakub Jelinek <jakub@redhat.com>
42882 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42884 2011-03-10 Ulrich Drepper <drepper@gmail.com>
42887 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42888 copy from the symbol referenced in the relocation to initialize the
42890 Patch by Piotr Bury <pbury@goahead.com>.
42891 * elf/Makefile: Add rules to build and tst-unique3.
42892 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42893 * elf/tst-unique3.cc: New file.
42894 * elf/tst-unique3.h: New file.
42895 * elf/tst-unique3lib.cc: New file.
42896 * elf/tst-unique3lib2.cc: New file.
42898 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42900 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42902 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42903 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42906 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42908 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42909 to-be-loaded object along a path to loader is ld.so.
42911 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42912 Ulrich Drepper <drepper@gmail.com>
42914 * sysdeps/x86_64/memset.S: After aligning destination, code
42915 branches to different locations depending on the value of
42916 misalignment, when multiarch is enabled. Fix this.
42918 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42920 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42921 Set _x86_64_preferred_memory_instruction for AMD processsors.
42922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42923 Set bit_Prefer_SSE_for_memop for AMD processors.
42925 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42927 * libio/fmemopen.c (fmemopen): Optimize a bit.
42929 2011-03-03 Andreas Schwab <schwab@redhat.com>
42931 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42933 2011-03-03 Roland McGrath <roland@redhat.com>
42935 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42937 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42939 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42940 __bzero_ultra1 instead of __memset_ultra1.
42942 2011-02-23 Andreas Schwab <schwab@redhat.com>
42943 Ulrich Drepper <drepper@gmail.com>
42946 * include/link.h (struct link_map): Add l_orig_initfini.
42947 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42948 returning unsuccessfully.
42949 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42950 close of a file loaded at startup, restore the original l_initfini
42952 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42953 list, store the pointer.
42954 * elf/Makefile ($(objpfx)noload-mem): New rule.
42955 (noload-ENV): Define.
42956 (tests): Add $(objpfx)noload-mem.
42957 * elf/noload.c: Include <memcheck.h>.
42958 (main): Call mtrace. Close all opened handles.
42960 2011-02-17 Andreas Schwab <schwab@redhat.com>
42963 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42964 dependencies are missing.
42966 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42968 Fix __if_freereq crash: Unlike the generic version which uses free,
42970 * sysdeps/mach/hurd/ifreq.h: New file.
42972 2011-01-27 Petr Baudis <pasky@suse.cz>
42973 Ulrich Drepper <drepper@gmail.com>
42976 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42977 to extend_alloca().
42978 * stdio-common/bug23.c: New file.
42979 * stdio-common/Makefile (tests): Add bug23.
42981 2010-09-28 Andreas Schwab <schwab@redhat.com>
42982 Ulrich Drepper <drepper@gmail.com>
42985 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42986 before performing relro protection. At old place add assertion
42987 to make sure nothing changed.
42989 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42990 Glauber de Oliveira Costa <glommer@gmail.com>
42992 * elf/elf.h: Add new ARM TLS relocs.
42994 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42997 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42999 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43001 * sysdeps/wordsize-64/tst-writev.c: New file.
43003 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43005 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43006 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43007 insns in _dl_start to prevent a TOC reference before relocs are
43010 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43013 * Makeconfig: Remove RANLIB definition.
43014 * Makerules: Don't use RANLIB.
43015 * aclocal.m4: Remove ranlib test.
43016 * configure.in: No need to check for ranlib.
43017 * elf/rtld-Rules: Don't use RANLIB.
43019 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43021 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43023 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43024 inclusion protection macro.
43026 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43027 SIGRTMIN and SIGRTMAX and print information in that case only when
43028 SIGRTMIN is defined.
43030 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43032 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43033 arginfo fn returning -1.
43035 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43036 and thousands string is zero terminated.
43038 2011-02-03 Andreas Schwab <schwab@redhat.com>
43040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43041 sysdeps/unix/sysv/linux/bits/socket.h.
43043 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43045 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43046 (__CPU_COUNT): Remove old macros.
43047 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43048 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43049 (__CPU_ALLOC, __CPU_FREE): Add macros.
43050 (__sched_cpualloc, __sched_cpufree): Add declarations.
43052 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43054 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43055 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43056 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43057 (readdhstai): Return value of addhstaiX call.
43058 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43059 (addgrbyX): Return value returned by cache_addgr.
43060 (readdgrbyname): Return value returned by addgrbyX.
43061 (readdgrbygid): Likewise.
43062 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43063 (addpwbyX): Return value returned by cache_addpw.
43064 (readdpwbyname): Return value returned by addhstbyX.
43065 (readdpwbyuid): Likewise.
43066 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43067 (addservbyX): Return value returned by cache_addserv.
43068 (readdservbyname): Return value returned by addservbyX:
43069 (readdservbyport): Likewise.
43070 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43071 (addhstbyX): Return value returned by cache_addhst.
43072 (readdhstbyname): Return value returned by addhstbyX.
43073 (readdhstbyaddr): Likewise.
43074 (readdhstbynamev6): Likewise.
43075 (readdhstbyaddrv6): Likewise.
43076 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43077 (readdinitgroups): Return value returned by addinitgroupsX.
43078 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43079 (prune_cache): Keep track of timeout value of re-added entries.
43080 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43081 * nscd/nscd.h: Adjust prototypes of readd* functions.
43083 2011-02-04 Roland McGrath <roland@redhat.com>
43085 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43086 (nis_stats): Likewise.
43087 * nis/nis_modify.c (nis_modify): Likewise.
43088 * nis/nis_remove.c (nis_remove): Likewise.
43089 * nis/nis_add.c (nis_add): Likewise.
43091 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43093 * posix/fnmatch_loop.c: Add some consts.
43095 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43097 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43100 * config.make.in (config-cflags-novzeroupper): Define.
43101 * configure.in: Substitute libc_cv_cc_novzeroupper.
43102 * elf/Makefile (AVX-CFLAGS): Define.
43103 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43104 (CFLAGS-tst-auditmod4a.c): Likewise.
43105 (CFLAGS-tst-auditmod4b.c): Likewise.
43106 (CFLAGS-tst-auditmod6b.c): Likewise.
43107 (CFLAGS-tst-auditmod6c.c): Likewise.
43108 (CFLAGS-tst-auditmod7b.c): Likewise.
43109 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43111 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43113 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43114 function to the callback.
43115 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43117 2011-02-02 Andreas Schwab <schwab@redhat.com>
43119 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43122 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43125 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43127 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43129 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43132 * elf/Makefile: Add rules to build and run new test.
43133 * elf/tst-initorder.c: New file.
43134 * elf/tst-initorder.exp: New file.
43135 * elf/tst-initordera1.c: New file.
43136 * elf/tst-initordera2.c: New file.
43137 * elf/tst-initordera3.c: New file.
43138 * elf/tst-initordera4.c: New file.
43139 * elf/tst-initorderb1.c: New file.
43140 * elf/tst-initorderb2.c: New file.
43141 * elf/tst-order-a1.c: New file.
43142 * elf/tst-order-a2.c: New file.
43143 * elf/tst-order-a3.c: New file.
43144 * elf/tst-order-a4.c: New file.
43145 * elf/tst-order-b1.c: New file.
43146 * elf/tst-order-b2.c: New file.
43147 * elf/tst-order-main.c: New file.
43148 New test case by George Gensure <werkt0@gmail.com>.
43150 2010-10-01 Andreas Schwab <schwab@redhat.com>
43152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43153 decoding ACE if AI_CANONIDN.
43155 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43157 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43159 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43161 * version.h (RELEASE): Bump for 2.13 release.
43162 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43164 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43166 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43168 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43169 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43170 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43171 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43173 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43175 * posix/getconf.c: Update copyright year.
43176 * catgets/gencat.c: Likewise.
43177 * csu/version.c: Likewise.
43178 * debug/catchsegv.sh: Likewise.
43179 * debug/xtrace.sh: Likewise.
43180 * elf/ldconfig.c: Likewise.
43181 * elf/ldd.bash.in: Likewise.
43182 * elf/sprof.c (print_version): Likewise.
43183 * iconv/iconv_prog.c: Likewise.
43184 * iconv/iconvconfig.c: Likewise.
43185 * locale/programs/locale.c: Likewise.
43186 * locale/programs/localedef.c: Likewise.
43187 * malloc/memusage.sh: Likewise.
43188 * malloc/mtrace.pl: Likewise.
43189 * nscd/nscd.c (print_version): Likewise.
43190 * nss/getent.c: Likewise.
43192 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43193 PF_CAIF, and PF_ALG.
43194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43196 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43198 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43199 (modules-names): Use them.
43200 (ifunc-test-modules, ifunc-pie-tests): Define.
43201 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43202 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43203 (test-extras): Likewise.
43204 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43205 $(compile-command.c).
43206 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43207 (all-built-dso): Define.
43208 (check-textrel.out, check-execstack.out): Depend on it.
43210 * configure.in: Don't override --enable-multi-arch.
43212 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43215 * nscd/hstcache.c (tryagain): Define.
43216 (cache_addhst): Return tryagain not notfound for temporary errors.
43217 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43220 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43223 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43224 to make the syscall.
43225 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43228 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43229 and fall back to matching as normal character if the string ends before
43230 the matching ']' is found. This is what POSIX requires.
43231 * posix/testfnm.c: Adjust test result.
43232 * posix/globtest.sh: Adjust test result. Add new test.
43233 * posix/tst-fnmatch.input: Likewise.
43234 * posix/tst-fnmatch2.c: Add new test.
43236 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43238 * elf/Makefile (check-execstack): Revert last change. Depend on
43240 (check-execstack.h): New target.
43241 (generated): Add check-execstack.h.
43242 * elf/check-execstack.c: Include "check-execstack.h".
43243 (main): Revert last change.
43244 (handle_file): Return zero if GNU_STACK is absent and
43245 DEFAULT_STACK_PERMS doesn't include PF_X.
43247 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43249 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43250 in child fails because the descriptor is already closed.
43251 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43252 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43253 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43256 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43260 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43261 temporary buffer used to handle multi lookups locally.
43262 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43264 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43266 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43269 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43271 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43272 alignment for SSE2.
43274 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43277 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43278 characters. When rounding increased number of integer digits recompute
43280 * stdio-common/tst-grouping.c: New file.
43281 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43283 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43285 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43286 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43288 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43290 * bits/select.h: Likewise.
43292 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43294 * po/ja.po: Update from translation team.
43296 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43299 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43300 implementation just like for lxstat, fxstatat, et al.
43302 2010-12-27 Jim Meyering <meyering@redhat.com>
43305 * posix/regexec.c (build_trtable): Return failure indication upon
43306 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43308 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43311 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43312 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43313 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43314 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43317 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43320 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43321 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43323 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43325 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43326 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43327 script has SORT_BY_INIT_PRIORITY.
43328 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43329 NO_CTORS_DTORS_SECTIONS is defined.
43330 * elf/soinit.c: Likewise.
43331 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43332 NO_CTORS_DTORS_SECTIONS is defined.
43333 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43334 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43335 * sysdeps/sh/init-first.c: Likewise.
43336 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43338 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43340 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43341 always use the slow path.
43343 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43345 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43346 similar rule which adds the sysdep directories to the header search in
43347 order to pick up the correct platform stackinfo.h.
43348 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43349 perform test if it is, otherwise return successfully without testing.
43350 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43351 DEFAULT_STACK_PERMS define in stackinfo.h.
43352 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43353 defined in stackinfo.h.
43354 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43355 DEFAULT_STACK_PERMS defined in stackinfo.h.
43356 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43357 * sysdeps/ia64/stackinfo.h: Likewise.
43358 * sysdeps/s390/stackinfo.h: Likewise.
43359 * sysdeps/sh/stackinfo.h: Likewise.
43360 * sysdeps/sparc/stackinfo.h: Likewise.
43361 * sysdeps/x86_64/stackinfo.h: Likewise.
43362 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43363 PF_X for powerpc64. Retain PF_X for powerpc32.
43365 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43367 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43369 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43370 GETDENTS_64BIT_ALIGNED.
43372 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43374 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43376 2010-12-10 Andreas Schwab <schwab@redhat.com>
43378 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43381 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43382 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43384 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43385 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43387 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43390 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43393 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43395 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43397 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43399 * po/it.po: Update from translation team.
43401 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43406 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43408 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43410 2010-11-24 Andreas Schwab <schwab@redhat.com>
43412 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43414 (gaih_getanswer_slice): Likewise.
43416 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43420 2010-05-31 Petr Baudis <pasky@suse.cz>
43423 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43424 silently even in the chroot mode.
43426 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43428 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43429 last patch a bit. Pretty printing
43431 2010-05-31 Petr Baudis <pasky@suse.cz>
43434 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43435 initialization of skip_initgroups_dyn.
43437 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43439 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43440 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43442 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43444 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43446 2010-11-11 Andreas Schwab <schwab@redhat.com>
43448 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43449 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43450 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43451 ($(objpfx)tst-fnmatch-mem): New rule.
43452 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43453 * posix/tst-fnmatch.c (main): Call mtrace.
43455 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43458 Support Intel processor model 6 and model 0x2c.
43460 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43462 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43465 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43468 * string/test-strncasecmp.c (check_result): New function.
43469 (do_one_test): Use it.
43470 (check1): New function.
43471 (test_main): Use it.
43472 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43473 Support strcasecmp and strncasecmp.
43475 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43478 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43479 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43481 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43483 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43487 * sysdeps/x86_64/multiarch/bzero.S: New file.
43488 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43489 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43490 * sysdeps/x86_64/multiarch/memset.S: New file.
43491 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43493 Set bit_Prefer_SSE_for_memop for Intel processors.
43494 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43496 (index_Prefer_SSE_for_memop): Define.
43497 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43499 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43501 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43502 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43504 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43507 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43508 (__x86_64_raw_data_cache_size_half): Likewise.
43509 (__x86_64_raw_shared_cache_size): Likewise.
43510 (__x86_64_raw_shared_cache_size_half): Likewise.
43512 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43513 (__x86_64_raw_data_cache_size_half): Likewise.
43514 (__x86_64_raw_shared_cache_size): Likewise.
43515 (__x86_64_raw_shared_cache_size_half): Likewise.
43516 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43517 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43518 and __x86_64_raw_shared_cache_size_half. Round
43519 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43520 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43521 to multiple of 256 bytes.
43523 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43526 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43527 of inacessible symlinks. Verify result of symlink before returning it.
43528 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43529 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43531 2010-10-28 Erich Ritz <erichritz@gmail.com>
43533 * math/math.h (isinf): Fix typo in comment.
43535 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43537 * po/da.po: Update from translation team.
43539 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43541 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43542 is added to the list.
43544 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43545 Ulrich Drepper <drepper@gmail.com>
43547 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43548 the global list here. Move code to...
43549 (_dl_add_to_namespace_list): ...here. New function.
43550 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43551 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43552 * elf/dl-load.c (lose): Don't remove the element from the list.
43553 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43554 (_dl_map_object): Likewise.
43556 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43559 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43560 into all bytes of SSE register.
43561 Patch by Richard Li <richardpku@gmail.com>.
43563 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43566 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43569 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43571 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43572 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43573 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43574 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43579 2010-10-22 Andreas Schwab <schwab@redhat.com>
43581 * include/dlfcn.h (__RTLD_SECURE): Define.
43582 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43583 mode & __RTLD_SECURE instead.
43584 (open_path): Rename preloaded parameter to secure.
43585 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43586 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43587 * elf/dl-deps.c (openaux): Likewise.
43588 * elf/rtld.c (struct map_args): Remove is_preloaded.
43589 (map_doit): Don't use it.
43590 (dl_main): Likewise.
43591 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43592 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43594 2010-09-09 Andreas Schwab <schwab@redhat.com>
43596 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43597 (sysd-rules-targets): Remove duplicates.
43598 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43599 rtld-%.$o dependency.
43601 2010-10-18 Andreas Schwab <schwab@redhat.com>
43603 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43604 _dl_map_object do it.
43606 2010-10-19 Ulrich Drepper <drepper@gmail.com>
43608 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43609 fast fma builtins, define the macros in the C99 standard.
43610 (FP_FAST_FMAF): Likewise.
43611 (FP_FAST_FMAL): Likewise.
43612 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43614 * bits/mathdef.h: Update copyright year.
43615 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43617 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43619 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43620 builtins, define the macros in the C99 standard.
43621 (FP_FAST_FMAF): Likewise.
43622 (FP_FAST_FMAL): Likewise.
43623 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43625 (FP_FAST_FMAF): Likewise.
43627 2010-10-15 Jakub Jelinek <jakub@redhat.com>
43630 * math/libm-test.inc (fma_test): Some new testcases.
43631 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43632 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43633 y and infinite z. Do multiplication by C already in long double.
43634 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43636 y and infinite z. Do bitwise or of inexact bit into u.d.
43637 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43638 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43639 * sysdeps/i386/fpu/s_fma.S: Removed.
43640 * sysdeps/i386/fpu/s_fmal.S: Removed.
43642 2010-10-16 Jakub Jelinek <jakub@redhat.com>
43645 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43647 computation is not scheduled after fetestexcept. Fix value
43648 of minimum denormal long double.
43650 2010-10-14 Jakub Jelinek <jakub@redhat.com>
43653 * math/libm-test.inc (fma_test): Add some more tests.
43654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43657 2010-10-15 Andreas Schwab <schwab@redhat.com>
43659 * scripts/data/localplt-s390-linux-gnu.data: New file.
43660 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43662 2010-10-13 Jakub Jelinek <jakub@redhat.com>
43665 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43666 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43668 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43670 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43672 if one of x and y is very large and the other is subnormal.
43673 * sysdeps/s390/fpu/s_fmaf.c: New file.
43674 * sysdeps/s390/fpu/s_fma.c: New file.
43675 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43676 * sysdeps/powerpc/fpu/s_fma.S: New file.
43677 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43678 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43679 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43681 2010-10-12 Jakub Jelinek <jakub@redhat.com>
43684 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43686 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43687 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43688 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43689 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43690 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43691 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43692 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43694 2010-10-12 Ulrich Drepper <drepper@redhat.com>
43697 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43698 * posix/bug-regex31.input: Add test case.
43700 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43702 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43703 * posix/bug-regex31.input: New file.
43706 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43707 (parse_sub_exp): Fix last change, use postorder.
43709 * posix/bug-regex31.c: New file.
43710 * posix/Makefile: Add rules to build and run bug-regex31.
43712 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43715 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43718 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43719 to have entries in sys_siglist.
43722 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43725 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43728 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43729 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43730 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43731 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43732 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43733 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43734 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43735 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43736 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43737 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43738 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43739 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43740 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43741 * math/ftestexcept.c (fetestexcept): Likewise.
43742 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43743 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43744 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43745 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43746 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43747 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43748 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43750 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43753 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43756 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43758 * string/bug-strstr1.c: New file.
43759 * string/Makefile: Add rules to build and run bug-strstr1.
43761 2010-10-05 Eric Blake <eblake@redhat.com>
43764 * string/str-two-way.h (two_way_long_needle): Always clear memory
43765 when skipping input due to the shift table.
43767 2010-10-03 Ulrich Drepper <drepper@gmail.com>
43770 * malloc/mcheck.c: Handle large requests.
43773 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43774 for strncmp and strncasecmp.
43775 * string/stratcliff.c: Add tests for strcmp and strncmp.
43776 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43778 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43780 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43783 2010-09-30 Andreas Jaeger <aj@suse.de>
43785 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43786 (CGROUP_SUPER_MAGIC): Define.
43787 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43788 Handle btrfs and cgroup file systems.
43789 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43792 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43794 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43795 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43797 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43800 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43801 trying to locate the ELF header.
43803 2010-09-27 Andreas Schwab <schwab@redhat.com>
43806 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43807 Mask out sign-bit copies when constructing f_fsid.
43809 2010-09-24 Petr Baudis <pasky@suse.cz>
43811 * debug/stack_chk_fail_local.c: Add missing licence exception.
43812 * debug/warning-nop.c: Likewise.
43814 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43816 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43817 implementing getdents64 using getdents syscall, set d_type if
43818 __ASSUME_GETDENTS32_D_TYPE.
43820 2010-09-16 Andreas Schwab <schwab@redhat.com>
43822 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43823 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43825 2010-09-21 Ulrich Drepper <drepper@redhat.com>
43828 * posix/unistd.h: Undo change of feature selection for ftruncate from
43831 2010-09-20 Ulrich Drepper <drepper@redhat.com>
43833 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43836 2010-09-20 Andreas Schwab <schwab@redhat.com>
43838 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43840 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43842 2010-09-14 Andreas Schwab <schwab@redhat.com>
43844 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43845 variables after CHECK_SP call.
43846 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43848 2010-09-13 Andreas Schwab <schwab@redhat.com>
43849 Ulrich Drepper <drepper@redhat.com>
43851 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43852 re-relocationg ld.so.
43853 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43854 _dl_init_paths call.
43855 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43858 2010-09-14 Ulrich Drepper <drepper@redhat.com>
43860 * resolv/res_init.c (__res_vinit): Count the default server we added.
43862 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43863 Ulrich Drepper <drepper@redhat.com>
43866 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43867 (____longjmp_chk): Use %ebx for saving value across system call.
43870 2010-09-06 Andreas Schwab <schwab@redhat.com>
43872 * manual/Makefile: Don't mix pattern rules with normal rules.
43874 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43876 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43878 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43879 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43880 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43881 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43882 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43885 2010-09-04 Ulrich Drepper <drepper@redhat.com>
43888 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43889 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43891 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43893 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43894 * sysdeps/x86_64/addmul_1.S: Likewise.
43895 * sysdeps/x86_64/lshift.S: Likewise.
43896 * sysdeps/x86_64/mul_1.S: Likewise.
43897 * sysdeps/x86_64/rshift.S: Likewise.
43898 * sysdeps/x86_64/sub_n.S: Likewise.
43899 * sysdeps/x86_64/submul_1.S: Likewise.
43901 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43903 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43904 Define __sched_param instead of SCHED_* and sched_param when
43905 <bits/sched.h> is included with __need_schedparam defined.
43906 * bits/sched.h [__need_schedparam]
43907 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43908 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43909 (__defined_schedparam): Define to 1.
43910 (__sched_param): New structure, identical to sched_param.
43911 (__need_schedparam): Undefine.
43913 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43915 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43916 (epoll_create1): Declare.
43918 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43920 2010-08-31 Andreas Schwab <schwab@redhat.com>
43923 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43924 shifting retval into place.
43926 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43928 * nis/rpcsvc/nis.h: Update copyright notice.
43929 * nis/rpcsvc/nis.x: Likewise.
43930 * nis/rpcsvc/nis_callback.h: Likewise.
43931 * nis/rpcsvc/nis_callback.x: Likewise.
43932 * nis/rpcsvc/nis_object.x: Likewise.
43933 * nis/rpcsvc/nis_tags.h: Likewise.
43934 * nis/rpcsvc/yp.h: Likewise.
43935 * nis/rpcsvc/yp.x: Likewise.
43936 * nis/rpcsvc/ypupd.h: Likewise.
43937 * nis/yp_xdr.c: Likewise.
43938 * nis/ypupdate_xdr.c: Likewise.
43940 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43941 mainly the body of pmap_getport. Add parameters to specify timeouts.
43942 (pmap_getport): Use __libc_rpc_getport.
43943 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43944 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43945 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43947 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43952 2010-08-27 Roland McGrath <roland@redhat.com>
43954 * sysdeps/i386/i686/multiarch/Makefile
43955 (CFLAGS-varshift.c): New variable.
43957 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43959 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43960 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43962 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43964 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43966 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43968 * sysdeps/x86_64/strlen.S: Unroll the loop.
43969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43970 strlen-sse2 strlen-sse2-bsf.
43971 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43972 __strlen_no_bsf if bit_Slow_BSF is set.
43973 (__strlen_sse42): Removed.
43974 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43975 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43977 2010-08-25 Roland McGrath <roland@redhat.com>
43979 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43980 * sysdeps/x86_64/multiarch/varshift.c: New file.
43981 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43982 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43983 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43984 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43986 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43989 strlen-sse2 strlen-sse2-bsf.
43990 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43991 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43992 (__strlen_sse2): Removed.
43993 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43994 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43996 bit_Slow_BSF for Atom.
43997 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43998 (index_Slow_BSF): Define.
43999 (HAS_SLOW_BSF): Define.
44001 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44004 * resolv/res_init.c (__res_vinit): When no server address at all
44005 is given default to loopback.
44007 2010-08-24 Roland McGrath <roland@redhat.com>
44009 * configure.in: Remove config-name.h generation.
44010 * configure: Regenerated.
44011 * config-name.in: File removed.
44012 * scripts/config-uname.sh: New file.
44013 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44014 ($(objdir)config-name.h): New target.
44016 * sunrpc/rpc_parse.h: Avoid nested comment.
44018 2010-08-24 Richard Henderson <rth@redhat.com>
44019 Ulrich Drepper <drepper@redhat.com>
44020 H.J. Lu <hongjiu.lu@intel.com>
44022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44024 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44025 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44026 _mm_alignr_epi8 with _mm_loadu_si128.
44027 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44028 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44029 (__m128i_shift_right): Removed.
44030 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44031 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44032 * sysdeps/x86_64/multiarch/varshift.h: New file.
44033 * sysdeps/x86_64/multiarch/varshift.S: New file.
44035 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44037 * configure.in: Move assembler checks to before sysdep dir checking.
44039 2010-08-20 Petr Baudis <pasky@suse.cz>
44041 * LICENSES: Sync the sunrpc license.
44043 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44045 * sunrpc/auth_des.c: Update copyright notice once again.
44046 * sunrpc/auth_none.c: Likewise.
44047 * sunrpc/auth_unix.c: Likewise.
44048 * sunrpc/authdes_prot.c: Likewise.
44049 * sunrpc/authuxprot.c: Likewise.
44050 * sunrpc/bindrsvprt.c: Likewise.
44051 * sunrpc/clnt_gen.c: Likewise.
44052 * sunrpc/clnt_perr.c: Likewise.
44053 * sunrpc/clnt_raw.c: Likewise.
44054 * sunrpc/clnt_simp.c: Likewise.
44055 * sunrpc/clnt_tcp.c: Likewise.
44056 * sunrpc/clnt_udp.c: Likewise.
44057 * sunrpc/clnt_unix.c: Likewise.
44058 * sunrpc/des_crypt.c: Likewise.
44059 * sunrpc/des_soft.c: Likewise.
44060 * sunrpc/get_myaddr.c: Likewise.
44061 * sunrpc/getrpcport.c: Likewise.
44062 * sunrpc/key_call.c: Likewise.
44063 * sunrpc/key_prot.c: Likewise.
44064 * sunrpc/openchild.c: Likewise.
44065 * sunrpc/pm_getmaps.c: Likewise.
44066 * sunrpc/pm_getport.c: Likewise.
44067 * sunrpc/pmap_clnt.c: Likewise.
44068 * sunrpc/pmap_prot.c: Likewise.
44069 * sunrpc/pmap_prot2.c: Likewise.
44070 * sunrpc/pmap_rmt.c: Likewise.
44071 * sunrpc/rpc/auth.h: Likewise.
44072 * sunrpc/rpc/auth_unix.h: Likewise.
44073 * sunrpc/rpc/clnt.h: Likewise.
44074 * sunrpc/rpc/des_crypt.h: Likewise.
44075 * sunrpc/rpc/key_prot.h: Likewise.
44076 * sunrpc/rpc/netdb.h: Likewise.
44077 * sunrpc/rpc/pmap_clnt.h: Likewise.
44078 * sunrpc/rpc/pmap_prot.h: Likewise.
44079 * sunrpc/rpc/pmap_rmt.h: Likewise.
44080 * sunrpc/rpc/rpc.h: Likewise.
44081 * sunrpc/rpc/rpc_des.h: Likewise.
44082 * sunrpc/rpc/rpc_msg.h: Likewise.
44083 * sunrpc/rpc/svc.h: Likewise.
44084 * sunrpc/rpc/svc_auth.h: Likewise.
44085 * sunrpc/rpc/types.h: Likewise.
44086 * sunrpc/rpc/xdr.h: Likewise.
44087 * sunrpc/rpc_clntout.c: Likewise.
44088 * sunrpc/rpc_cmsg.c: Likewise.
44089 * sunrpc/rpc_common.c: Likewise.
44090 * sunrpc/rpc_cout.c: Likewise.
44091 * sunrpc/rpc_dtable.c: Likewise.
44092 * sunrpc/rpc_hout.c: Likewise.
44093 * sunrpc/rpc_main.c: Likewise.
44094 * sunrpc/rpc_parse.c: Likewise.
44095 * sunrpc/rpc_parse.h: Likewise.
44096 * sunrpc/rpc_prot.c: Likewise.
44097 * sunrpc/rpc_sample.c: Likewise.
44098 * sunrpc/rpc_scan.c: Likewise.
44099 * sunrpc/rpc_scan.h: Likewise.
44100 * sunrpc/rpc_svcout.c: Likewise.
44101 * sunrpc/rpc_tblout.c: Likewise.
44102 * sunrpc/rpc_util.c: Likewise.
44103 * sunrpc/rpc_util.h: Likewise.
44104 * sunrpc/rpcinfo.c: Likewise.
44105 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44106 * sunrpc/rpcsvc/key_prot.x: Likewise.
44107 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44108 * sunrpc/rpcsvc/mount.x: Likewise.
44109 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44110 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44111 * sunrpc/rpcsvc/rex.x: Likewise.
44112 * sunrpc/rpcsvc/rstat.x: Likewise.
44113 * sunrpc/rpcsvc/rusers.x: Likewise.
44114 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44115 * sunrpc/rpcsvc/spray.x: Likewise.
44116 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44117 * sunrpc/rtime.c: Likewise.
44118 * sunrpc/svc.c: Likewise.
44119 * sunrpc/svc_auth.c: Likewise.
44120 * sunrpc/svc_authux.c: Likewise.
44121 * sunrpc/svc_raw.c: Likewise.
44122 * sunrpc/svc_run.c: Likewise.
44123 * sunrpc/svc_simple.c: Likewise.
44124 * sunrpc/svc_tcp.c: Likewise.
44125 * sunrpc/svc_udp.c: Likewise.
44126 * sunrpc/svc_unix.c: Likewise.
44127 * sunrpc/svcauth_des.c: Likewise.
44128 * sunrpc/xcrypt.c: Likewise.
44129 * sunrpc/xdr.c: Likewise.
44130 * sunrpc/xdr_array.c: Likewise.
44131 * sunrpc/xdr_float.c: Likewise.
44132 * sunrpc/xdr_mem.c: Likewise.
44133 * sunrpc/xdr_rec.c: Likewise.
44134 * sunrpc/xdr_ref.c: Likewise.
44135 * sunrpc/xdr_sizeof.c: Likewise.
44136 * sunrpc/xdr_stdio.c: Likewise.
44138 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44141 2010-08-19 Andreas Schwab <schwab@redhat.com>
44143 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44145 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44147 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44148 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44149 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44150 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44151 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44152 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44153 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44154 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44155 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44156 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44157 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44158 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44159 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44160 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44162 2010-07-26 Anton Blanchard <anton@samba.org>
44164 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44165 * malloc/arena.c (heap_trim): Likewise.
44167 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44169 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44171 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44172 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44174 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44176 * sysdeps/i386/elf/Makefile: New file.
44178 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44180 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44181 from fanotify_init.
44182 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44183 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44185 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44187 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44189 * sysdeps/multiarch/strcmp.S: Likewise.
44191 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44193 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44194 strncase_l-nonascii.
44195 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44196 Add strncase_l-ssse3.
44197 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44198 * sysdeps/x86_64/strcmp.S: Likewise.
44199 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44200 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44201 * sysdeps/x86_64/strncase.S: New file.
44202 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44203 * sysdeps/x86_64/strncase_l.S: New file.
44204 * string/Makefile (strop-tests): Add strncasecmp.
44205 * string/test-strncasecmp.c: New file.
44207 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44210 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44211 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44213 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44215 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44217 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44219 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44220 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44221 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44223 2010-05-01 Alan Modra <amodra@gmail.com>
44225 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44226 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44227 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44228 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44229 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44230 tidying. Don't tail-call __sigjmp_save for static lib.
44231 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44233 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44234 (CALL_MCOUNT): Add eh info, and nop after bl.
44235 (TAIL_CALL_SYSCALL_ERROR): New macro.
44236 (PSEUDO_RET): Use it.
44237 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44238 Correct save location of integer regs and cr.
44239 (_dl_profile_resolve): Correct cr save location. Delete nops
44240 after bl when SHARED. Reduce cfi size a little by better
44241 placement of cfi directives.
44242 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44243 make a stack frame. Instead use parm save area as a temp.
44244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44245 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44247 Don't make a stack frame for parent, use parm save area.
44248 Increase child stack frame to 112 bytes. Don't save unused reg,
44249 and adjust reg usage. Set up cfi on error recovery and
44250 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44252 (__makecontext): Add dummy nop after jump to exit.
44253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44254 Use correct parm save area and cr save, reduce stack frame.
44255 Correct cfi for possible PSEUDO_RET frame setup.
44256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44257 Branch to local label emitted by PSEUDO_RET rather than
44260 2010-08-12 Andreas Schwab <schwab@redhat.com>
44263 * locale/programs/locale.c (print_assignment): New function.
44264 (show_locale_vars): Use it.
44266 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44268 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44270 (struct statfs64): Likewise.
44271 (_STATFS_F_FLAGS): Define.
44272 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44273 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44274 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44275 (ST_VALID): Define locally.
44276 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44277 __statvfs_getflags, use the provided value.
44278 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44279 __ASSUME_STATFS_F_FLAGS.
44281 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44283 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44284 Add sys/fanotify.h.
44285 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44286 fanotify_mask for GLIBC_2.13.
44287 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44288 fanotify_init and fanotify_mark.
44289 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44290 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44292 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44294 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44295 prlimit64 for GLIBC_2.13.
44296 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44298 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44301 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44302 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44303 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44304 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44306 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44309 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44310 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44312 * nss/Makefile: Add rules to build and run tst-nss-test1.
44313 * shlib-versions: Add entry for libnss_test1.
44314 * nss/nss_test1.c: New file.
44315 * nss/tst-nss-test1.c: New file.
44317 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44318 (__nss_configure_lookup): Set appropriate entry in
44319 __nss_configure_lookup to true.
44320 * nss/nsswitch.h: Define enum with indeces of databases in
44321 databases and __nss_database_custom arrays. Declare
44322 __nss_database_custom.
44323 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44324 to avoid using nscd when custom rules are installed.
44325 * nss/getXXbyYY_r.c: Likewise.
44326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44328 * nss/nss_files/files-parse.c: Whitespace fixes.
44330 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44333 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44334 * posix/fnmatch_loop.c: Likewise.
44336 2010-07-17 Andi Kleen <ak@linux.intel.com>
44338 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44339 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44340 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44341 * Versions.def [GLIBC_2.13]: Add.
44343 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44345 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44346 Also fail if tpwd after pwuid call is NULL.
44348 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44350 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44351 when converting to ms.
44353 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44355 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44356 EOPNOTSUPP errors with ENOTTY.
44357 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44358 EOPNOTSUPP errors with ENOTTY.
44360 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44362 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44363 Add strcasecmp_l-ssse3.
44364 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44366 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44367 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44368 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44370 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44372 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44374 * string/Makefile (strop-tests): Add strcasecmp.
44375 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44376 strcasecmp_l-nonascii.
44377 (gen-as-const-headers): Add locale-defines.sym.
44378 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44379 * sysdeps/x86_64/strcasecmp.S: New file.
44380 * sysdeps/x86_64/strcasecmp_l.S: New file.
44381 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44382 * sysdeps/x86_64/locale-defines.sym: New file.
44383 * string/test-strcasecmp.c: New file.
44385 * string/test-strcasestr.c: Test both ends of the range of characters.
44386 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44388 2010-07-29 Roland McGrath <roland@redhat.com>
44391 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44393 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44395 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44398 2010-07-27 Andreas Schwab <schwab@redhat.com>
44400 * manual/memory.texi (Malloc Tunable Parameters): Document
44403 2010-07-26 Roland McGrath <roland@redhat.com>
44406 * configure.in (-fgnu89-inline check): Set and substitute
44407 gnu89_inline, not libc_cv_gnu89_inline.
44408 * configure: Regenerated.
44409 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44411 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44413 * string/test-strnlen.c: New file.
44414 * string/Makefile (strop-tests): Add strnlen.
44415 * string/tester.c (test_strnlen): Add a few more test cases.
44416 * string/tst-strlen.c: Better error reporting.
44418 * sysdeps/x86_64/strnlen.S: New file.
44420 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44422 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44423 lower-latency instructions.
44425 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44427 * string/test-strcasestr.c: New file.
44428 * string/test-strstr.c: New file.
44429 * string/Makefile (strop-tests): Add strstr and strcasestr.
44430 * string/str-two-way.h: Don't undefine MAX.
44431 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44433 2010-07-21 Andreas Schwab <schwab@redhat.com>
44435 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44436 strcasestr-nonascii.
44437 (CFLAGS-strcasestr-nonascii.c): Define.
44438 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44439 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44440 Remove unused attribute.
44442 2010-07-20 Roland McGrath <roland@redhat.com>
44444 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44445 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44446 ld.so.cache was broken. With it, there is no way to disable dsocaps
44447 like LD_HWCAP_MASK can disable hwcaps.
44449 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44451 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44453 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44455 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44456 call in strcasestr.
44457 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44458 __strcasestr_sse42_nonascii.
44459 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44460 strcasestr-nonascii.c.
44461 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44463 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44465 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44466 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44467 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44468 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44470 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44472 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44475 2010-07-06 Andreas Schwab <schwab@redhat.com>
44478 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44481 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44483 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44484 _PC_PIPE_BUF using F_GETPIPE_SZ.
44486 2010-07-05 Roland McGrath <roland@redhat.com>
44488 * manual/arith.texi (Rounding Functions): Fix rint description
44489 implicit in round description.
44491 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44493 * elf/Makefile: Fix linking for a few tests to make recent linker
44496 2010-06-30 Andreas Schwab <schwab@redhat.com>
44498 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44499 $(common-objpfx)libc_nonshared.a.
44501 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44503 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44504 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44505 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44506 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44507 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44508 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44509 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44510 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44525 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44526 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44527 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44528 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44529 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44530 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44531 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44532 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44533 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44534 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44535 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44536 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44552 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44554 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44555 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44556 * string/memmove.c (memmove): Renamed to ...
44557 (MEMMOVE): ...this. Default to memmove.
44558 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44559 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44562 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44563 mempcpy-ssse3-back memmove-ssse3-back.
44564 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44565 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44567 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44568 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44569 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44570 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44571 * sysdeps/x86_64/multiarch/memmove.c: New file.
44572 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44573 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44574 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44575 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44576 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44577 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44579 (index_Fast_Copy_Backward): Define.
44580 (HAS_ARCH_FEATURE): Define.
44581 (HAS_FAST_REP_STRING): Define.
44582 (HAS_FAST_COPY_BACKWARD): Define.
44584 2010-06-21 Andreas Schwab <schwab@redhat.com>
44586 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44587 Restore proper fallback handling.
44589 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44592 * posix/group_member.c (__group_member): Correct checking loop.
44594 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44595 OOM in getpwuid_r correctly. Return error number when the caller
44596 should return, otherwise -1.
44597 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44598 call returning > 0 value.
44599 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44601 2010-06-07 Andreas Schwab <schwab@redhat.com>
44603 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44604 libc_nonshared.a from targets in modules-names.
44606 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44608 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44611 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
44613 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44614 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44615 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44616 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44618 2010-06-02 Andreas Schwab <schwab@redhat.com>
44620 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44622 2010-06-14 Ulrich Drepper <drepper@redhat.com>
44624 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44626 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44627 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44630 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44631 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44633 2010-06-14 Roland McGrath <roland@redhat.com>
44635 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44637 2010-06-07 Jakub Jelinek <jakub@redhat.com>
44639 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44640 __REDIRECT followed by __THROW.
44641 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44642 * posix/getopt.h (getopt): Likewise.
44644 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44646 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44647 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44648 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44650 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44651 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44653 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
44655 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44657 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44661 Properly check family and model.
44663 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44665 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44667 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
44669 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44671 2010-05-21 Ulrich Drepper <drepper@redhat.com>
44673 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44676 2010-05-19 Andreas Schwab <schwab@redhat.com>
44678 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44681 2010-05-21 Andreas Schwab <schwab@redhat.com>
44683 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44684 and internal_recvmmsg.
44685 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44686 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44687 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44688 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44690 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44691 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44692 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44694 2010-05-20 Andreas Schwab <schwab@redhat.com>
44696 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44698 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
44700 POWER7 optimizations.
44701 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44702 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44704 2010-05-19 Ulrich Drepper <drepper@redhat.com>
44706 * version.h: Update for 2.13 development version.
44708 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
44710 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44711 exceptions. Return 0.
44713 2010-05-07 Roland McGrath <roland@redhat.com>
44715 * elf/ldconfig.c (main): Add a const.
44717 2010-05-06 Ulrich Drepper <drepper@redhat.com>
44719 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44720 (args_options): Add no-idn option.
44721 (ahosts_keys_int): Add idn_flags to ai_flags.
44722 (parse_option): Handle 'i' option to clear idn_flags.
44724 * malloc/malloc.c (_int_free): Possible race in the most recently
44725 added check. Only act on the data if no current modification
44728 See ChangeLog.17 for earlier changes.